push 73336d9f381967eae40f391d78198b916ed9848d
[wine/hacks.git] / configure
blobc534211513a36c8cc43979705d250d455376d7f5
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 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 ARFLAGS
693 RANLIB
694 STRIP
695 WINDRES
696 LN_S
698 GREP
699 EGREP
700 LDCONFIG
701 INSTALL_PROGRAM
702 INSTALL_SCRIPT
703 INSTALL_DATA
704 LINT
705 LINTFLAGS
706 FONTFORGE
707 PKG_CONFIG
708 PRELINK
709 LIBPTHREAD
710 XLIB
711 XFILES
712 OPENGLFILES
713 GLU32FILES
714 OPENGL_LIBS
715 QUARTZFILES
716 DLLEXT
717 DLLFLAGS
718 LDSHARED
719 LDDLLFLAGS
720 LIBEXT
721 IMPLIBEXT
722 LDRPATH_INSTALL
723 LDRPATH_LOCAL
725 DLLTOOL
726 DLLWRAP
727 MINGWAR
728 SECURITYLIB
729 COREFOUNDATIONLIB
730 IOKITLIB
731 LDEXECFLAGS
732 DISKARBITRATIONLIB
733 COREAUDIO
734 CARBONLIB
735 CROSSTEST
736 CROSSCC
737 CROSSWINDRES
738 NASLIBS
739 XML2LIBS
740 XML2INCL
741 XSLTLIBS
742 XSLTINCL
743 HALINCL
744 sane_devel
745 SANEINCL
746 gphoto2_devel
747 gphoto2port_devel
748 GPHOTO2LIBS
749 GPHOTO2INCL
750 RESOLVLIBS
751 LCMSLIBS
752 LDAPLIBS
753 ft_devel
754 FREETYPELIBS
755 FREETYPEINCL
756 FONTSSUBDIRS
757 ESDCONFIG
758 ESDLIBS
759 ESDINCL
760 ALSALIBS
761 AUDIOIOLIBS
762 FONTCONFIGINCL
763 EXTRACFLAGS
764 BUILTINFLAG
765 LDPATH
766 CRTLIBS
767 SOCKETLIBS
768 MAIN_BINARY
769 EXTRA_BINARIES
770 LIBDL
771 LIBPOLL
772 DEPENDENCIES
773 LIBOBJS
774 LTLIBOBJS'
775 ac_subst_files='MAKE_RULES
776 MAKE_DLL_RULES
777 MAKE_IMPLIB_RULES
778 MAKE_TEST_RULES
779 MAKE_PROG_RULES'
780 ac_precious_vars='build_alias
781 host_alias
782 target_alias
784 CFLAGS
785 LDFLAGS
786 LIBS
787 CPPFLAGS
789 CXXFLAGS
791 XMKMF
792 CPP'
795 # Initialize some variables set by options.
796 ac_init_help=
797 ac_init_version=false
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
800 cache_file=/dev/null
801 exec_prefix=NONE
802 no_create=
803 no_recursion=
804 prefix=NONE
805 program_prefix=NONE
806 program_suffix=NONE
807 program_transform_name=s,x,x,
808 silent=
809 site=
810 srcdir=
811 verbose=
812 x_includes=NONE
813 x_libraries=NONE
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir='${exec_prefix}/bin'
822 sbindir='${exec_prefix}/sbin'
823 libexecdir='${exec_prefix}/libexec'
824 datarootdir='${prefix}/share'
825 datadir='${datarootdir}'
826 sysconfdir='${prefix}/etc'
827 sharedstatedir='${prefix}/com'
828 localstatedir='${prefix}/var'
829 includedir='${prefix}/include'
830 oldincludedir='/usr/include'
831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir='${datarootdir}/info'
833 htmldir='${docdir}'
834 dvidir='${docdir}'
835 pdfdir='${docdir}'
836 psdir='${docdir}'
837 libdir='${exec_prefix}/lib'
838 localedir='${datarootdir}/locale'
839 mandir='${datarootdir}/man'
841 ac_prev=
842 ac_dashdash=
843 for ac_option
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\$ac_option
848 ac_prev=
849 continue
852 case $ac_option in
853 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 *) ac_optarg=yes ;;
855 esac
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
861 ac_dashdash=yes ;;
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
868 -build | --build | --buil | --bui | --bu)
869 ac_prev=build_alias ;;
870 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871 build_alias=$ac_optarg ;;
873 -cache-file | --cache-file | --cache-fil | --cache-fi \
874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875 ac_prev=cache_file ;;
876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878 cache_file=$ac_optarg ;;
880 --config-cache | -C)
881 cache_file=config.cache ;;
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
885 -datadir=* | --datadir=* | --datadi=* | --datad=*)
886 datadir=$ac_optarg ;;
888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889 | --dataroo | --dataro | --datar)
890 ac_prev=datarootdir ;;
891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893 datarootdir=$ac_optarg ;;
895 -disable-* | --disable-*)
896 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
899 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
900 { (exit 1); exit 1; }; }
901 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
902 eval enable_$ac_feature=no ;;
904 -docdir | --docdir | --docdi | --doc | --do)
905 ac_prev=docdir ;;
906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 docdir=$ac_optarg ;;
909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 ac_prev=dvidir ;;
911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 dvidir=$ac_optarg ;;
914 -enable-* | --enable-*)
915 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
918 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
919 { (exit 1); exit 1; }; }
920 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
921 eval enable_$ac_feature=\$ac_optarg ;;
923 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925 | --exec | --exe | --ex)
926 ac_prev=exec_prefix ;;
927 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929 | --exec=* | --exe=* | --ex=*)
930 exec_prefix=$ac_optarg ;;
932 -gas | --gas | --ga | --g)
933 # Obsolete; use --with-gas.
934 with_gas=yes ;;
936 -help | --help | --hel | --he | -h)
937 ac_init_help=long ;;
938 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939 ac_init_help=recursive ;;
940 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941 ac_init_help=short ;;
943 -host | --host | --hos | --ho)
944 ac_prev=host_alias ;;
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
948 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 ac_prev=htmldir ;;
950 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 | --ht=*)
952 htmldir=$ac_optarg ;;
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958 | --includ=* | --inclu=* | --incl=* | --inc=*)
959 includedir=$ac_optarg ;;
961 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 ac_prev=infodir ;;
963 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964 infodir=$ac_optarg ;;
966 -libdir | --libdir | --libdi | --libd)
967 ac_prev=libdir ;;
968 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 libdir=$ac_optarg ;;
971 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972 | --libexe | --libex | --libe)
973 ac_prev=libexecdir ;;
974 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975 | --libexe=* | --libex=* | --libe=*)
976 libexecdir=$ac_optarg ;;
978 -localedir | --localedir | --localedi | --localed | --locale)
979 ac_prev=localedir ;;
980 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981 localedir=$ac_optarg ;;
983 -localstatedir | --localstatedir | --localstatedi | --localstated \
984 | --localstate | --localstat | --localsta | --localst | --locals)
985 ac_prev=localstatedir ;;
986 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988 localstatedir=$ac_optarg ;;
990 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 ac_prev=mandir ;;
992 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993 mandir=$ac_optarg ;;
995 -nfp | --nfp | --nf)
996 # Obsolete; use --without-fp.
997 with_fp=no ;;
999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000 | --no-cr | --no-c | -n)
1001 no_create=yes ;;
1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 no_recursion=yes ;;
1007 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009 | --oldin | --oldi | --old | --ol | --o)
1010 ac_prev=oldincludedir ;;
1011 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014 oldincludedir=$ac_optarg ;;
1016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 ac_prev=prefix ;;
1018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019 prefix=$ac_optarg ;;
1021 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022 | --program-pre | --program-pr | --program-p)
1023 ac_prev=program_prefix ;;
1024 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026 program_prefix=$ac_optarg ;;
1028 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029 | --program-suf | --program-su | --program-s)
1030 ac_prev=program_suffix ;;
1031 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033 program_suffix=$ac_optarg ;;
1035 -program-transform-name | --program-transform-name \
1036 | --program-transform-nam | --program-transform-na \
1037 | --program-transform-n | --program-transform- \
1038 | --program-transform | --program-transfor \
1039 | --program-transfo | --program-transf \
1040 | --program-trans | --program-tran \
1041 | --progr-tra | --program-tr | --program-t)
1042 ac_prev=program_transform_name ;;
1043 -program-transform-name=* | --program-transform-name=* \
1044 | --program-transform-nam=* | --program-transform-na=* \
1045 | --program-transform-n=* | --program-transform-=* \
1046 | --program-transform=* | --program-transfor=* \
1047 | --program-transfo=* | --program-transf=* \
1048 | --program-trans=* | --program-tran=* \
1049 | --progr-tra=* | --program-tr=* | --program-t=*)
1050 program_transform_name=$ac_optarg ;;
1052 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 ac_prev=pdfdir ;;
1054 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055 pdfdir=$ac_optarg ;;
1057 -psdir | --psdir | --psdi | --psd | --ps)
1058 ac_prev=psdir ;;
1059 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 psdir=$ac_optarg ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1064 silent=yes ;;
1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 ac_prev=sbindir ;;
1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 | --sbi=* | --sb=*)
1070 sbindir=$ac_optarg ;;
1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074 | --sharedst | --shareds | --shared | --share | --shar \
1075 | --sha | --sh)
1076 ac_prev=sharedstatedir ;;
1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 | --sha=* | --sh=*)
1081 sharedstatedir=$ac_optarg ;;
1083 -site | --site | --sit)
1084 ac_prev=site ;;
1085 -site=* | --site=* | --sit=*)
1086 site=$ac_optarg ;;
1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 ac_prev=srcdir ;;
1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091 srcdir=$ac_optarg ;;
1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094 | --syscon | --sysco | --sysc | --sys | --sy)
1095 ac_prev=sysconfdir ;;
1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098 sysconfdir=$ac_optarg ;;
1100 -target | --target | --targe | --targ | --tar | --ta | --t)
1101 ac_prev=target_alias ;;
1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103 target_alias=$ac_optarg ;;
1105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 verbose=yes ;;
1108 -version | --version | --versio | --versi | --vers | -V)
1109 ac_init_version=: ;;
1111 -with-* | --with-*)
1112 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115 { echo "$as_me: error: invalid package name: $ac_package" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1118 eval with_$ac_package=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 { echo "$as_me: error: invalid package name: $ac_package" >&2
1125 { (exit 1); exit 1; }; }
1126 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1127 eval with_$ac_package=no ;;
1129 --x)
1130 # Obsolete; use --with-x.
1131 with_x=yes ;;
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1147 -*) { echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1152 *=*)
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1156 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 esac
1170 done
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 { echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 # Be sure to have absolute directory names.
1179 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val=\$$ac_var
1185 case $ac_val in
1186 [\\/$]* | ?:[\\/]* ) continue;;
1187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 esac
1189 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1191 done
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1196 build=$build_alias
1197 host=$host_alias
1198 target=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x; then
1202 if test "x$build_alias" = x; then
1203 cross_compiling=maybe
1204 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1207 cross_compiling=yes
1211 ac_tool_prefix=
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214 test "$silent" = yes && exec 6>/dev/null
1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di=`ls -di .` &&
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220 { echo "$as_me: error: Working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir=`$as_dirname -- "$0" ||
1232 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$0" : 'X\(//\)[^/]' \| \
1234 X"$0" : 'X\(//\)$' \| \
1235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 echo X"$0" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238 s//\1/
1241 /^X\(\/\/\)[^/].*/{
1242 s//\1/
1245 /^X\(\/\/\)$/{
1246 s//\1/
1249 /^X\(\/\).*/{
1250 s//\1/
1253 s/.*/./; q'`
1254 srcdir=$ac_confdir
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 srcdir=..
1258 else
1259 ac_srcdir_defaulted=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 ac_abs_confdir=`(
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1270 pwd)`
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 srcdir=.
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1278 case $srcdir in
1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 esac
1281 for ac_var in $ac_precious_vars; do
1282 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_${ac_var}_value=\$${ac_var}
1284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 done
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1294 cat <<_ACEOF
1295 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1304 Configuration:
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 [PREFIX]
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1348 _ACEOF
1350 cat <<\_ACEOF
1352 X features:
1353 --x-includes=DIR X include files are in DIR
1354 --x-libraries=DIR X library files are in DIR
1356 System types:
1357 --build=BUILD configure for building on BUILD [guessed]
1358 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1359 _ACEOF
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1365 esac
1366 cat <<\_ACEOF
1368 Optional Features:
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --disable-win16 do not include Win16 support
1372 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1373 binaries)
1374 --disable-tests do not build the testsuites
1376 Optional Packages:
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-alsa do not use the Alsa sound support
1380 --without-audioio do not use the AudioIO sound support
1381 --without-capi do not use CAPI (ISDN support)
1382 --without-cms do not use CMS (color management support)
1383 --without-coreaudio do not use the CoreAudio sound support
1384 --without-cups do not use CUPS
1385 --without-curses do not use (n)curses
1386 --without-esd do not use the EsounD sound support
1387 --without-fontconfig do not use fontconfig
1388 --without-gphoto do not use gphoto (Digital Camera support)
1389 --without-hal do not use HAL (dynamic device support)
1390 --without-jack do not use the Jack sound support
1391 --without-jpeg do not use JPEG
1392 --without-ldap do not use LDAP
1393 --without-nas do not use the NAS sound support
1394 --without-opengl do not use OpenGL
1395 --without-openssl do not use OpenSSL
1396 --without-oss do not use the OSS sound support
1397 --without-png do not use PNG
1398 --without-sane do not use SANE (scanner support)
1399 --without-xcomposite do not use the Xcomposite extension
1400 --without-xcursor do not use the Xcursor extension
1401 --without-xinerama do not use Xinerama (multi-monitor support)
1402 --without-xinput do not use the Xinput extension
1403 --without-xml do not use XML
1404 --without-xrandr do not use Xrandr (resolution changes)
1405 --without-xrender do not use the Xrender extension
1406 --without-xshape do not use the Xshape extension
1407 --without-xshm do not use XShm (shared memory extension)
1408 --without-xslt do not use XSLT
1409 --without-xvidmode do not use XFree video mode extension
1410 --with-wine-tools=DIR use Wine tools from directory DIR
1411 --with-x use the X Window System
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1421 CXX C++ compiler command
1422 CXXFLAGS C++ compiler flags
1423 XMKMF Path to xmkmf, Makefile generator for X Window System
1424 CPP C preprocessor
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to <wine-devel@winehq.org>.
1430 _ACEOF
1431 ac_status=$?
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" || continue
1438 ac_builddir=.
1440 case "$ac_dir" in
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449 esac ;;
1450 esac
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1456 case $srcdir in
1457 .) # We are building in place.
1458 ac_srcdir=.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1465 *) # Relative name.
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1469 esac
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1480 else
1481 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 fi || ac_status=$?
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1484 done
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1489 cat <<\_ACEOF
1490 Wine configure 0.9.57
1491 generated by GNU Autoconf 2.61
1493 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1494 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1497 _ACEOF
1498 exit
1500 cat >config.log <<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by Wine $as_me 0.9.57, which was
1505 generated by GNU Autoconf 2.61. Invocation command line was
1507 $ $0 $@
1509 _ACEOF
1510 exec 5>>config.log
1512 cat <<_ASUNAME
1513 ## --------- ##
1514 ## Platform. ##
1515 ## --------- ##
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1534 _ASUNAME
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 for as_dir in $PATH
1539 IFS=$as_save_IFS
1540 test -z "$as_dir" && as_dir=.
1541 echo "PATH: $as_dir"
1542 done
1543 IFS=$as_save_IFS
1545 } >&5
1547 cat >&5 <<_ACEOF
1550 ## ----------- ##
1551 ## Core tests. ##
1552 ## ----------- ##
1554 _ACEOF
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1562 ac_configure_args=
1563 ac_configure_args0=
1564 ac_configure_args1=
1565 ac_must_keep_next=false
1566 for ac_pass in 1 2
1568 for ac_arg
1570 case $ac_arg in
1571 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1573 | -silent | --silent | --silen | --sile | --sil)
1574 continue ;;
1575 *\'*)
1576 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1577 esac
1578 case $ac_pass in
1579 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true; then
1583 ac_must_keep_next=false # Got value, back to normal.
1584 else
1585 case $ac_arg in
1586 *=* | --config-cache | -C | -disable-* | --disable-* \
1587 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1588 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1589 | -with-* | --with-* | -without-* | --without-* | --x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1592 esac
1594 -* ) ac_must_keep_next=true ;;
1595 esac
1597 ac_configure_args="$ac_configure_args '$ac_arg'"
1599 esac
1600 done
1601 done
1602 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1603 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1613 echo
1615 cat <<\_ASBOX
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1619 _ASBOX
1620 echo
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1624 eval ac_val=\$$ac_var
1625 case $ac_val in #(
1626 *${as_nl}*)
1627 case $ac_var in #(
1628 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1629 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1630 esac
1631 case $ac_var in #(
1632 _ | IFS | as_nl) ;; #(
1633 *) $as_unset $ac_var ;;
1634 esac ;;
1635 esac
1636 done
1637 (set) 2>&1 |
1638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639 *${as_nl}ac_space=\ *)
1640 sed -n \
1641 "s/'\''/'\''\\\\'\'''\''/g;
1642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1643 ;; #(
1645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1647 esac |
1648 sort
1650 echo
1652 cat <<\_ASBOX
1653 ## ----------------- ##
1654 ## Output variables. ##
1655 ## ----------------- ##
1656 _ASBOX
1657 echo
1658 for ac_var in $ac_subst_vars
1660 eval ac_val=\$$ac_var
1661 case $ac_val in
1662 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 esac
1664 echo "$ac_var='\''$ac_val'\''"
1665 done | sort
1666 echo
1668 if test -n "$ac_subst_files"; then
1669 cat <<\_ASBOX
1670 ## ------------------- ##
1671 ## File substitutions. ##
1672 ## ------------------- ##
1673 _ASBOX
1674 echo
1675 for ac_var in $ac_subst_files
1677 eval ac_val=\$$ac_var
1678 case $ac_val in
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680 esac
1681 echo "$ac_var='\''$ac_val'\''"
1682 done | sort
1683 echo
1686 if test -s confdefs.h; then
1687 cat <<\_ASBOX
1688 ## ----------- ##
1689 ## confdefs.h. ##
1690 ## ----------- ##
1691 _ASBOX
1692 echo
1693 cat confdefs.h
1694 echo
1696 test "$ac_signal" != 0 &&
1697 echo "$as_me: caught signal $ac_signal"
1698 echo "$as_me: exit $exit_status"
1699 } >&5
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702 exit $exit_status
1704 for ac_signal in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1706 done
1707 ac_signal=0
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest* confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1716 _ACEOF
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736 _ACEOF
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer explicitly selected file to automatically selected ones.
1741 if test -n "$CONFIG_SITE"; then
1742 set x "$CONFIG_SITE"
1743 elif test "x$prefix" != xNONE; then
1744 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1745 else
1746 set x "$ac_default_prefix/share/config.site" \
1747 "$ac_default_prefix/etc/config.site"
1749 shift
1750 for ac_site_file
1752 if test -r "$ac_site_file"; then
1753 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1754 echo "$as_me: loading site script $ac_site_file" >&6;}
1755 sed 's/^/| /' "$ac_site_file" >&5
1756 . "$ac_site_file"
1758 done
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special
1762 # files actually), so we avoid doing that.
1763 if test -f "$cache_file"; then
1764 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1765 echo "$as_me: loading cache $cache_file" >&6;}
1766 case $cache_file in
1767 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1768 *) . "./$cache_file";;
1769 esac
1771 else
1772 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1773 echo "$as_me: creating cache $cache_file" >&6;}
1774 >$cache_file
1777 # Check that the precious variables saved in the cache have kept the same
1778 # value.
1779 ac_cache_corrupted=false
1780 for ac_var in $ac_precious_vars; do
1781 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1782 eval ac_new_set=\$ac_env_${ac_var}_set
1783 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1784 eval ac_new_val=\$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1786 set,)
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1790 ,set)
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,);;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1798 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1799 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1800 echo "$as_me: former value: $ac_old_val" >&2;}
1801 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1802 echo "$as_me: current value: $ac_new_val" >&2;}
1803 ac_cache_corrupted=:
1804 fi;;
1805 esac
1806 # Pass precious variables to config.status.
1807 if test "$ac_new_set" = set; then
1808 case $ac_new_val in
1809 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 *) ac_arg=$ac_var=$ac_new_val ;;
1811 esac
1812 case " $ac_configure_args " in
1813 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1814 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1815 esac
1817 done
1818 if $ac_cache_corrupted; then
1819 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1820 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823 { (exit 1); exit 1; }; }
1850 ac_ext=c
1851 ac_cpp='$CPP $CPPFLAGS'
1852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1858 ac_config_headers="$ac_config_headers include/config.h"
1860 ac_aux_dir=
1861 for ac_dir in tools "$srcdir"/tools; do
1862 if test -f "$ac_dir/install-sh"; then
1863 ac_aux_dir=$ac_dir
1864 ac_install_sh="$ac_aux_dir/install-sh -c"
1865 break
1866 elif test -f "$ac_dir/install.sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install.sh -c"
1869 break
1870 elif test -f "$ac_dir/shtool"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/shtool install -c"
1873 break
1875 done
1876 if test -z "$ac_aux_dir"; then
1877 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1878 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1879 { (exit 1); exit 1; }; }
1882 # These three variables are undocumented and unsupported,
1883 # and are intended to be withdrawn in a future Autoconf release.
1884 # They can cause serious problems if a builder's source tree is in a directory
1885 # whose full name contains unusual characters.
1886 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 # Check whether --enable-win16 was given.
1894 if test "${enable_win16+set}" = set; then
1895 enableval=$enable_win16;
1898 # Check whether --enable-win64 was given.
1899 if test "${enable_win64+set}" = set; then
1900 enableval=$enable_win64;
1905 # Check whether --with-alsa was given.
1906 if test "${with_alsa+set}" = set; then
1907 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1911 # Check whether --with-audioio was given.
1912 if test "${with_audioio+set}" = set; then
1913 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1917 # Check whether --with-capi was given.
1918 if test "${with_capi+set}" = set; then
1919 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1923 # Check whether --with-cms was given.
1924 if test "${with_cms+set}" = set; then
1925 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1929 # Check whether --with-coreaudio was given.
1930 if test "${with_coreaudio+set}" = set; then
1931 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1935 # Check whether --with-cups was given.
1936 if test "${with_cups+set}" = set; then
1937 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1941 # Check whether --with-curses was given.
1942 if test "${with_curses+set}" = set; then
1943 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1947 # Check whether --with-esd was given.
1948 if test "${with_esd+set}" = set; then
1949 withval=$with_esd;
1953 # Check whether --with-fontconfig was given.
1954 if test "${with_fontconfig+set}" = set; then
1955 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1959 # Check whether --with-gphoto was given.
1960 if test "${with_gphoto+set}" = set; then
1961 withval=$with_gphoto;
1965 # Check whether --with-hal was given.
1966 if test "${with_hal+set}" = set; then
1967 withval=$with_hal;
1971 # Check whether --with-jack was given.
1972 if test "${with_jack+set}" = set; then
1973 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1977 # Check whether --with-jpeg was given.
1978 if test "${with_jpeg+set}" = set; then
1979 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1983 # Check whether --with-ldap was given.
1984 if test "${with_ldap+set}" = set; then
1985 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1989 # Check whether --with-nas was given.
1990 if test "${with_nas+set}" = set; then
1991 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
1995 # Check whether --with-opengl was given.
1996 if test "${with_opengl+set}" = set; then
1997 withval=$with_opengl;
2001 # Check whether --with-openssl was given.
2002 if test "${with_openssl+set}" = set; then
2003 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2007 # Check whether --with-oss was given.
2008 if test "${with_oss+set}" = set; then
2009 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
2013 # Check whether --with-png was given.
2014 if test "${with_png+set}" = set; then
2015 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2019 # Check whether --with-sane was given.
2020 if test "${with_sane+set}" = set; then
2021 withval=$with_sane;
2025 # Check whether --with-xcomposite was given.
2026 if test "${with_xcomposite+set}" = set; then
2027 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2031 # Check whether --with-xcursor was given.
2032 if test "${with_xcursor+set}" = set; then
2033 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2037 # Check whether --with-xinerama was given.
2038 if test "${with_xinerama+set}" = set; then
2039 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2043 # Check whether --with-xinput was given.
2044 if test "${with_xinput+set}" = set; then
2045 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2049 # Check whether --with-xml was given.
2050 if test "${with_xml+set}" = set; then
2051 withval=$with_xml;
2055 # Check whether --with-xrandr was given.
2056 if test "${with_xrandr+set}" = set; then
2057 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2061 # Check whether --with-xrender was given.
2062 if test "${with_xrender+set}" = set; then
2063 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2067 # Check whether --with-xshape was given.
2068 if test "${with_xshape+set}" = set; then
2069 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2073 # Check whether --with-xshm was given.
2074 if test "${with_xshm+set}" = set; then
2075 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2079 # Check whether --with-xslt was given.
2080 if test "${with_xslt+set}" = set; then
2081 withval=$with_xslt;
2085 # Check whether --with-xvidmode was given.
2086 if test "${with_xvidmode+set}" = set; then
2087 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2092 # Check whether --with-wine-tools was given.
2093 if test "${with_wine_tools+set}" = set; then
2094 withval=$with_wine_tools;
2097 # Check whether --enable-tests was given.
2098 if test "${enable_tests+set}" = set; then
2099 enableval=$enable_tests;
2103 # Make sure we can run config.sub.
2104 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2105 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2106 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2107 { (exit 1); exit 1; }; }
2109 { echo "$as_me:$LINENO: checking build system type" >&5
2110 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2111 if test "${ac_cv_build+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 else
2114 ac_build_alias=$build_alias
2115 test "x$ac_build_alias" = x &&
2116 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2117 test "x$ac_build_alias" = x &&
2118 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2119 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2120 { (exit 1); exit 1; }; }
2121 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2122 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2123 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2124 { (exit 1); exit 1; }; }
2127 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2128 echo "${ECHO_T}$ac_cv_build" >&6; }
2129 case $ac_cv_build in
2130 *-*-*) ;;
2131 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2132 echo "$as_me: error: invalid value of canonical build" >&2;}
2133 { (exit 1); exit 1; }; };;
2134 esac
2135 build=$ac_cv_build
2136 ac_save_IFS=$IFS; IFS='-'
2137 set x $ac_cv_build
2138 shift
2139 build_cpu=$1
2140 build_vendor=$2
2141 shift; shift
2142 # Remember, the first character of IFS is used to create $*,
2143 # except with old shells:
2144 build_os=$*
2145 IFS=$ac_save_IFS
2146 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2149 { echo "$as_me:$LINENO: checking host system type" >&5
2150 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2151 if test "${ac_cv_host+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 else
2154 if test "x$host_alias" = x; then
2155 ac_cv_host=$ac_cv_build
2156 else
2157 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2158 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2159 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2160 { (exit 1); exit 1; }; }
2164 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2165 echo "${ECHO_T}$ac_cv_host" >&6; }
2166 case $ac_cv_host in
2167 *-*-*) ;;
2168 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2169 echo "$as_me: error: invalid value of canonical host" >&2;}
2170 { (exit 1); exit 1; }; };;
2171 esac
2172 host=$ac_cv_host
2173 ac_save_IFS=$IFS; IFS='-'
2174 set x $ac_cv_host
2175 shift
2176 host_cpu=$1
2177 host_vendor=$2
2178 shift; shift
2179 # Remember, the first character of IFS is used to create $*,
2180 # except with old shells:
2181 host_os=$*
2182 IFS=$ac_save_IFS
2183 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2186 case $host in
2187 x86_64*linux*)
2188 if test "x$enable_win64" != "xyes"
2189 then
2190 test -n "$CC" || CC="gcc -m32"
2191 test -n "$CXX"|| CXX="g++ -m32"
2192 test -n "$LD" || LD="ld -m elf_i386"
2193 test -n "$AS" || AS="as --32"
2194 host_cpu="i386"
2197 esac
2199 case $host_cpu in
2200 *i[3456789]86*)
2201 if test "x$enable_win16" != "xno"
2202 then
2203 enable_win16="yes"
2206 esac
2208 WIN16_FILES="\$(WIN16_FILES)"
2210 WIN16_INSTALL="\$(WIN16_INSTALL)"
2212 if test "x$enable_win16" != "xyes"
2213 then
2214 WIN16_FILES=""
2215 WIN16_INSTALL=""
2218 if test "x$enable_tests" == "xno"
2219 then
2220 TESTSUBDIRS=""
2222 WINETEST=""
2224 else
2225 TESTSUBDIRS="\$(TESTSUBDIRS)"
2227 WINETEST="winetest"
2231 case "$srcdir" in
2232 .) ;;
2233 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2234 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2235 You need to run 'make distclean' in the source tree first." >&5
2236 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2237 You need to run 'make distclean' in the source tree first." >&2;}
2238 { (exit 1); exit 1; }; }
2239 fi ;;
2240 esac
2243 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2244 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2245 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2246 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249 cat >conftest.make <<\_ACEOF
2250 SHELL = /bin/sh
2251 all:
2252 @echo '@@@%%%=$(MAKE)=@@@%%%'
2253 _ACEOF
2254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2255 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 *@@@%%%=?*=@@@%%%*)
2257 eval ac_cv_prog_make_${ac_make}_set=yes;;
2259 eval ac_cv_prog_make_${ac_make}_set=no;;
2260 esac
2261 rm -f conftest.make
2263 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2264 { echo "$as_me:$LINENO: result: yes" >&5
2265 echo "${ECHO_T}yes" >&6; }
2266 SET_MAKE=
2267 else
2268 { echo "$as_me:$LINENO: result: no" >&5
2269 echo "${ECHO_T}no" >&6; }
2270 SET_MAKE="MAKE=${MAKE-make}"
2273 ac_ext=c
2274 ac_cpp='$CPP $CPPFLAGS'
2275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2278 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 else
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2288 else
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 for as_dir in $PATH
2292 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 break 2
2300 done
2301 done
2302 IFS=$as_save_IFS
2306 CC=$ac_cv_prog_CC
2307 if test -n "$CC"; then
2308 { echo "$as_me:$LINENO: result: $CC" >&5
2309 echo "${ECHO_T}$CC" >&6; }
2310 else
2311 { echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6; }
2317 if test -z "$ac_cv_prog_CC"; then
2318 ac_ct_CC=$CC
2319 # Extract the first word of "gcc", so it can be a program name with args.
2320 set dummy gcc; ac_word=$2
2321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 else
2326 if test -n "$ac_ct_CC"; then
2327 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2332 IFS=$as_save_IFS
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336 ac_cv_prog_ac_ct_CC="gcc"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 break 2
2340 done
2341 done
2342 IFS=$as_save_IFS
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6; }
2350 else
2351 { echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6; }
2355 if test "x$ac_ct_CC" = x; then
2356 CC=""
2357 else
2358 case $cross_compiling:$ac_tool_warned in
2359 yes:)
2360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2361 whose name does not start with the host triplet. If you think this
2362 configuration is useful to you, please write to autoconf@gnu.org." >&5
2363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2364 whose name does not start with the host triplet. If you think this
2365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2366 ac_tool_warned=yes ;;
2367 esac
2368 CC=$ac_ct_CC
2370 else
2371 CC="$ac_cv_prog_CC"
2374 if test -z "$CC"; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2377 set dummy ${ac_tool_prefix}cc; ac_word=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 else
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 else
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 for as_dir in $PATH
2389 IFS=$as_save_IFS
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC="${ac_tool_prefix}cc"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 break 2
2397 done
2398 done
2399 IFS=$as_save_IFS
2403 CC=$ac_cv_prog_CC
2404 if test -n "$CC"; then
2405 { echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6; }
2407 else
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2415 if test -z "$CC"; then
2416 # Extract the first word of "cc", so it can be a program name with args.
2417 set dummy cc; ac_word=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_CC+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else
2423 if test -n "$CC"; then
2424 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 else
2426 ac_prog_rejected=no
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2430 IFS=$as_save_IFS
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2435 ac_prog_rejected=yes
2436 continue
2438 ac_cv_prog_CC="cc"
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 break 2
2442 done
2443 done
2444 IFS=$as_save_IFS
2446 if test $ac_prog_rejected = yes; then
2447 # We found a bogon in the path, so make sure we never use it.
2448 set dummy $ac_cv_prog_CC
2449 shift
2450 if test $# != 0; then
2451 # We chose a different compiler from the bogus one.
2452 # However, it has the same basename, so the bogon will be chosen
2453 # first if we set CC to just the basename; use the full file name.
2454 shift
2455 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2460 CC=$ac_cv_prog_CC
2461 if test -n "$CC"; then
2462 { echo "$as_me:$LINENO: result: $CC" >&5
2463 echo "${ECHO_T}$CC" >&6; }
2464 else
2465 { echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6; }
2471 if test -z "$CC"; then
2472 if test -n "$ac_tool_prefix"; then
2473 for ac_prog in cl.exe
2475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_CC+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 else
2482 if test -n "$CC"; then
2483 ac_cv_prog_CC="$CC" # Let the user override the test.
2484 else
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 for as_dir in $PATH
2488 IFS=$as_save_IFS
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 break 2
2496 done
2497 done
2498 IFS=$as_save_IFS
2502 CC=$ac_cv_prog_CC
2503 if test -n "$CC"; then
2504 { echo "$as_me:$LINENO: result: $CC" >&5
2505 echo "${ECHO_T}$CC" >&6; }
2506 else
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2512 test -n "$CC" && break
2513 done
2515 if test -z "$CC"; then
2516 ac_ct_CC=$CC
2517 for ac_prog in cl.exe
2519 # Extract the first word of "$ac_prog", so it can be a program name with args.
2520 set dummy $ac_prog; ac_word=$2
2521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2523 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526 if test -n "$ac_ct_CC"; then
2527 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536 ac_cv_prog_ac_ct_CC="$ac_prog"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 break 2
2540 done
2541 done
2542 IFS=$as_save_IFS
2546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2547 if test -n "$ac_ct_CC"; then
2548 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2549 echo "${ECHO_T}$ac_ct_CC" >&6; }
2550 else
2551 { echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6; }
2556 test -n "$ac_ct_CC" && break
2557 done
2559 if test "x$ac_ct_CC" = x; then
2560 CC=""
2561 else
2562 case $cross_compiling:$ac_tool_warned in
2563 yes:)
2564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2565 whose name does not start with the host triplet. If you think this
2566 configuration is useful to you, please write to autoconf@gnu.org." >&5
2567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2568 whose name does not start with the host triplet. If you think this
2569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2570 ac_tool_warned=yes ;;
2571 esac
2572 CC=$ac_ct_CC
2579 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: no acceptable C compiler found in \$PATH
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2585 # Provide some information about the compiler.
2586 echo "$as_me:$LINENO: checking for C compiler version" >&5
2587 ac_compiler=`set X $ac_compile; echo $2`
2588 { (ac_try="$ac_compiler --version >&5"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compiler --version >&5") 2>&5
2595 ac_status=$?
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2598 { (ac_try="$ac_compiler -v >&5"
2599 case "(($ac_try" in
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2602 esac
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler -v >&5") 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2608 { (ac_try="$ac_compiler -V >&5"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler -V >&5") 2>&5
2615 ac_status=$?
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2627 main ()
2631 return 0;
2633 _ACEOF
2634 ac_clean_files_save=$ac_clean_files
2635 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2636 # Try to create an executable without -o first, disregard a.out.
2637 # It will help us diagnose broken compilers, and finding out an intuition
2638 # of exeext.
2639 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2640 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2641 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2643 # List of possible output files, starting from the most likely.
2644 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2645 # only as a last resort. b.out is created by i960 compilers.
2646 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2648 # The IRIX 6 linker writes into existing files which may not be
2649 # executable, retaining their permissions. Remove them first so a
2650 # subsequent execution test works.
2651 ac_rmfiles=
2652 for ac_file in $ac_files
2654 case $ac_file in
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2656 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2657 esac
2658 done
2659 rm -f $ac_rmfiles
2661 if { (ac_try="$ac_link_default"
2662 case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_link_default") 2>&5
2668 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; then
2671 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2672 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2673 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2674 # so that the user can short-circuit this test for compilers unknown to
2675 # Autoconf.
2676 for ac_file in $ac_files ''
2678 test -f "$ac_file" || continue
2679 case $ac_file in
2680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2682 [ab].out )
2683 # We found the default executable, but exeext='' is most
2684 # certainly right.
2685 break;;
2686 *.* )
2687 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2688 then :; else
2689 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2691 # We set ac_cv_exeext here because the later test for it is not
2692 # safe: cross compilers may not add the suffix if given an `-o'
2693 # argument, so we may need to know it at that point already.
2694 # Even if this section looks crufty: it has the advantage of
2695 # actually working.
2696 break;;
2698 break;;
2699 esac
2700 done
2701 test "$ac_cv_exeext" = no && ac_cv_exeext=
2703 else
2704 ac_file=''
2707 { echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6; }
2709 if test -z "$ac_file"; then
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2714 See \`config.log' for more details." >&5
2715 echo "$as_me: error: C compiler cannot create executables
2716 See \`config.log' for more details." >&2;}
2717 { (exit 77); exit 77; }; }
2720 ac_exeext=$ac_cv_exeext
2722 # Check that the compiler produces executables we can run. If not, either
2723 # the compiler is broken, or we cross compile.
2724 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2725 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2726 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2727 # If not cross compiling, check that we can run a simple program.
2728 if test "$cross_compiling" != yes; then
2729 if { ac_try='./$ac_file'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733 esac
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2736 ac_status=$?
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 cross_compiling=no
2740 else
2741 if test "$cross_compiling" = maybe; then
2742 cross_compiling=yes
2743 else
2744 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2745 If you meant to cross compile, use \`--host'.
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: cannot run C compiled programs.
2748 If you meant to cross compile, use \`--host'.
2749 See \`config.log' for more details." >&2;}
2750 { (exit 1); exit 1; }; }
2754 { echo "$as_me:$LINENO: result: yes" >&5
2755 echo "${ECHO_T}yes" >&6; }
2757 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2758 ac_clean_files=$ac_clean_files_save
2759 # Check that the compiler produces executables we can run. If not, either
2760 # the compiler is broken, or we cross compile.
2761 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2762 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2763 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2764 echo "${ECHO_T}$cross_compiling" >&6; }
2766 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2767 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2768 if { (ac_try="$ac_link"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_link") 2>&5
2775 ac_status=$?
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; then
2778 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2779 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2780 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 # `rm'.
2782 for ac_file in conftest.exe conftest conftest.*; do
2783 test -f "$ac_file" || continue
2784 case $ac_file in
2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2786 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787 break;;
2788 * ) break;;
2789 esac
2790 done
2791 else
2792 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2793 See \`config.log' for more details." >&5
2794 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2795 See \`config.log' for more details." >&2;}
2796 { (exit 1); exit 1; }; }
2799 rm -f conftest$ac_cv_exeext
2800 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2801 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2803 rm -f conftest.$ac_ext
2804 EXEEXT=$ac_cv_exeext
2805 ac_exeext=$EXEEXT
2806 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2807 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2808 if test "${ac_cv_objext+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 else
2811 cat >conftest.$ac_ext <<_ACEOF
2812 /* confdefs.h. */
2813 _ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2819 main ()
2823 return 0;
2825 _ACEOF
2826 rm -f conftest.o conftest.obj
2827 if { (ac_try="$ac_compile"
2828 case "(($ac_try" in
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2831 esac
2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_compile") 2>&5
2834 ac_status=$?
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; then
2837 for ac_file in conftest.o conftest.obj conftest.*; do
2838 test -f "$ac_file" || continue;
2839 case $ac_file in
2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2841 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2842 break;;
2843 esac
2844 done
2845 else
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2850 See \`config.log' for more details." >&5
2851 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2852 See \`config.log' for more details." >&2;}
2853 { (exit 1); exit 1; }; }
2856 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2858 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2859 echo "${ECHO_T}$ac_cv_objext" >&6; }
2860 OBJEXT=$ac_cv_objext
2861 ac_objext=$OBJEXT
2862 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2863 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2864 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 else
2867 cat >conftest.$ac_ext <<_ACEOF
2868 /* confdefs.h. */
2869 _ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2875 main ()
2877 #ifndef __GNUC__
2878 choke me
2879 #endif
2882 return 0;
2884 _ACEOF
2885 rm -f conftest.$ac_objext
2886 if { (ac_try="$ac_compile"
2887 case "(($ac_try" in
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2890 esac
2891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_compile") 2>conftest.er1
2893 ac_status=$?
2894 grep -v '^ *+' conftest.er1 >conftest.err
2895 rm -f conftest.er1
2896 cat conftest.err >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } && {
2899 test -z "$ac_c_werror_flag" ||
2900 test ! -s conftest.err
2901 } && test -s conftest.$ac_objext; then
2902 ac_compiler_gnu=yes
2903 else
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2907 ac_compiler_gnu=no
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2914 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2915 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2916 GCC=`test $ac_compiler_gnu = yes && echo yes`
2917 ac_test_CFLAGS=${CFLAGS+set}
2918 ac_save_CFLAGS=$CFLAGS
2919 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2920 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 else
2924 ac_save_c_werror_flag=$ac_c_werror_flag
2925 ac_c_werror_flag=yes
2926 ac_cv_prog_cc_g=no
2927 CFLAGS="-g"
2928 cat >conftest.$ac_ext <<_ACEOF
2929 /* confdefs.h. */
2930 _ACEOF
2931 cat confdefs.h >>conftest.$ac_ext
2932 cat >>conftest.$ac_ext <<_ACEOF
2933 /* end confdefs.h. */
2936 main ()
2940 return 0;
2942 _ACEOF
2943 rm -f conftest.$ac_objext
2944 if { (ac_try="$ac_compile"
2945 case "(($ac_try" in
2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947 *) ac_try_echo=$ac_try;;
2948 esac
2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2950 (eval "$ac_compile") 2>conftest.er1
2951 ac_status=$?
2952 grep -v '^ *+' conftest.er1 >conftest.err
2953 rm -f conftest.er1
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest.$ac_objext; then
2960 ac_cv_prog_cc_g=yes
2961 else
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 CFLAGS=""
2966 cat >conftest.$ac_ext <<_ACEOF
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2974 main ()
2978 return 0;
2980 _ACEOF
2981 rm -f conftest.$ac_objext
2982 if { (ac_try="$ac_compile"
2983 case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986 esac
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_compile") 2>conftest.er1
2989 ac_status=$?
2990 grep -v '^ *+' conftest.er1 >conftest.err
2991 rm -f conftest.er1
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && {
2995 test -z "$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 } && test -s conftest.$ac_objext; then
2999 else
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 ac_c_werror_flag=$ac_save_c_werror_flag
3004 CFLAGS="-g"
3005 cat >conftest.$ac_ext <<_ACEOF
3006 /* confdefs.h. */
3007 _ACEOF
3008 cat confdefs.h >>conftest.$ac_ext
3009 cat >>conftest.$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3013 main ()
3017 return 0;
3019 _ACEOF
3020 rm -f conftest.$ac_objext
3021 if { (ac_try="$ac_compile"
3022 case "(($ac_try" in
3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3025 esac
3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027 (eval "$ac_compile") 2>conftest.er1
3028 ac_status=$?
3029 grep -v '^ *+' conftest.er1 >conftest.err
3030 rm -f conftest.er1
3031 cat conftest.err >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } && {
3034 test -z "$ac_c_werror_flag" ||
3035 test ! -s conftest.err
3036 } && test -s conftest.$ac_objext; then
3037 ac_cv_prog_cc_g=yes
3038 else
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 ac_c_werror_flag=$ac_save_c_werror_flag
3054 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3055 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3056 if test "$ac_test_CFLAGS" = set; then
3057 CFLAGS=$ac_save_CFLAGS
3058 elif test $ac_cv_prog_cc_g = yes; then
3059 if test "$GCC" = yes; then
3060 CFLAGS="-g -O2"
3061 else
3062 CFLAGS="-g"
3064 else
3065 if test "$GCC" = yes; then
3066 CFLAGS="-O2"
3067 else
3068 CFLAGS=
3071 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3072 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3073 if test "${ac_cv_prog_cc_c89+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076 ac_cv_prog_cc_c89=no
3077 ac_save_CC=$CC
3078 cat >conftest.$ac_ext <<_ACEOF
3079 /* confdefs.h. */
3080 _ACEOF
3081 cat confdefs.h >>conftest.$ac_ext
3082 cat >>conftest.$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3084 #include <stdarg.h>
3085 #include <stdio.h>
3086 #include <sys/types.h>
3087 #include <sys/stat.h>
3088 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3089 struct buf { int x; };
3090 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3091 static char *e (p, i)
3092 char **p;
3093 int i;
3095 return p[i];
3097 static char *f (char * (*g) (char **, int), char **p, ...)
3099 char *s;
3100 va_list v;
3101 va_start (v,p);
3102 s = g (p, va_arg (v,int));
3103 va_end (v);
3104 return s;
3107 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3108 function prototypes and stuff, but not '\xHH' hex character constants.
3109 These don't provoke an error unfortunately, instead are silently treated
3110 as 'x'. The following induces an error, until -std is added to get
3111 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3112 array size at least. It's necessary to write '\x00'==0 to get something
3113 that's true only with -std. */
3114 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3116 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3117 inside strings and character constants. */
3118 #define FOO(x) 'x'
3119 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3121 int test (int i, double x);
3122 struct s1 {int (*f) (int a);};
3123 struct s2 {int (*f) (double a);};
3124 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3125 int argc;
3126 char **argv;
3128 main ()
3130 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3132 return 0;
3134 _ACEOF
3135 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3136 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3138 CC="$ac_save_CC $ac_arg"
3139 rm -f conftest.$ac_objext
3140 if { (ac_try="$ac_compile"
3141 case "(($ac_try" in
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3144 esac
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compile") 2>conftest.er1
3147 ac_status=$?
3148 grep -v '^ *+' conftest.er1 >conftest.err
3149 rm -f conftest.er1
3150 cat conftest.err >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } && {
3153 test -z "$ac_c_werror_flag" ||
3154 test ! -s conftest.err
3155 } && test -s conftest.$ac_objext; then
3156 ac_cv_prog_cc_c89=$ac_arg
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3164 rm -f core conftest.err conftest.$ac_objext
3165 test "x$ac_cv_prog_cc_c89" != "xno" && break
3166 done
3167 rm -f conftest.$ac_ext
3168 CC=$ac_save_CC
3171 # AC_CACHE_VAL
3172 case "x$ac_cv_prog_cc_c89" in
3174 { echo "$as_me:$LINENO: result: none needed" >&5
3175 echo "${ECHO_T}none needed" >&6; } ;;
3176 xno)
3177 { echo "$as_me:$LINENO: result: unsupported" >&5
3178 echo "${ECHO_T}unsupported" >&6; } ;;
3180 CC="$CC $ac_cv_prog_cc_c89"
3181 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3182 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3183 esac
3186 ac_ext=c
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 ac_ext=cpp
3193 ac_cpp='$CXXCPP $CPPFLAGS'
3194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3197 if test -z "$CXX"; then
3198 if test -n "$CCC"; then
3199 CXX=$CCC
3200 else
3201 if test -n "$ac_tool_prefix"; then
3202 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3204 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3208 if test "${ac_cv_prog_CXX+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 else
3211 if test -n "$CXX"; then
3212 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3213 else
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3217 IFS=$as_save_IFS
3218 test -z "$as_dir" && as_dir=.
3219 for ac_exec_ext in '' $ac_executable_extensions; do
3220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 break 2
3225 done
3226 done
3227 IFS=$as_save_IFS
3231 CXX=$ac_cv_prog_CXX
3232 if test -n "$CXX"; then
3233 { echo "$as_me:$LINENO: result: $CXX" >&5
3234 echo "${ECHO_T}$CXX" >&6; }
3235 else
3236 { echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6; }
3241 test -n "$CXX" && break
3242 done
3244 if test -z "$CXX"; then
3245 ac_ct_CXX=$CXX
3246 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3248 # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy $ac_prog; ac_word=$2
3250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 else
3255 if test -n "$ac_ct_CXX"; then
3256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3261 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_CXX="$ac_prog"
3266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 break 2
3269 done
3270 done
3271 IFS=$as_save_IFS
3275 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3276 if test -n "$ac_ct_CXX"; then
3277 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3278 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3279 else
3280 { echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6; }
3285 test -n "$ac_ct_CXX" && break
3286 done
3288 if test "x$ac_ct_CXX" = x; then
3289 CXX="g++"
3290 else
3291 case $cross_compiling:$ac_tool_warned in
3292 yes:)
3293 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3294 whose name does not start with the host triplet. If you think this
3295 configuration is useful to you, please write to autoconf@gnu.org." >&5
3296 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3297 whose name does not start with the host triplet. If you think this
3298 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301 CXX=$ac_ct_CXX
3307 # Provide some information about the compiler.
3308 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3309 ac_compiler=`set X $ac_compile; echo $2`
3310 { (ac_try="$ac_compiler --version >&5"
3311 case "(($ac_try" in
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3314 esac
3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compiler --version >&5") 2>&5
3317 ac_status=$?
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); }
3320 { (ac_try="$ac_compiler -v >&5"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler -v >&5") 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }
3330 { (ac_try="$ac_compiler -V >&5"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler -V >&5") 2>&5
3337 ac_status=$?
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }
3341 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3342 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3343 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3345 else
3346 cat >conftest.$ac_ext <<_ACEOF
3347 /* confdefs.h. */
3348 _ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3354 main ()
3356 #ifndef __GNUC__
3357 choke me
3358 #endif
3361 return 0;
3363 _ACEOF
3364 rm -f conftest.$ac_objext
3365 if { (ac_try="$ac_compile"
3366 case "(($ac_try" in
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3369 esac
3370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3371 (eval "$ac_compile") 2>conftest.er1
3372 ac_status=$?
3373 grep -v '^ *+' conftest.er1 >conftest.err
3374 rm -f conftest.er1
3375 cat conftest.err >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } && {
3378 test -z "$ac_cxx_werror_flag" ||
3379 test ! -s conftest.err
3380 } && test -s conftest.$ac_objext; then
3381 ac_compiler_gnu=yes
3382 else
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3386 ac_compiler_gnu=no
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3393 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3394 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3395 GXX=`test $ac_compiler_gnu = yes && echo yes`
3396 ac_test_CXXFLAGS=${CXXFLAGS+set}
3397 ac_save_CXXFLAGS=$CXXFLAGS
3398 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3399 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3400 if test "${ac_cv_prog_cxx_g+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 else
3403 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3404 ac_cxx_werror_flag=yes
3405 ac_cv_prog_cxx_g=no
3406 CXXFLAGS="-g"
3407 cat >conftest.$ac_ext <<_ACEOF
3408 /* confdefs.h. */
3409 _ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h. */
3415 main ()
3419 return 0;
3421 _ACEOF
3422 rm -f conftest.$ac_objext
3423 if { (ac_try="$ac_compile"
3424 case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_compile") 2>conftest.er1
3430 ac_status=$?
3431 grep -v '^ *+' conftest.er1 >conftest.err
3432 rm -f conftest.er1
3433 cat conftest.err >&5
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); } && {
3436 test -z "$ac_cxx_werror_flag" ||
3437 test ! -s conftest.err
3438 } && test -s conftest.$ac_objext; then
3439 ac_cv_prog_cxx_g=yes
3440 else
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 CXXFLAGS=""
3445 cat >conftest.$ac_ext <<_ACEOF
3446 /* confdefs.h. */
3447 _ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3453 main ()
3457 return 0;
3459 _ACEOF
3460 rm -f conftest.$ac_objext
3461 if { (ac_try="$ac_compile"
3462 case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465 esac
3466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3467 (eval "$ac_compile") 2>conftest.er1
3468 ac_status=$?
3469 grep -v '^ *+' conftest.er1 >conftest.err
3470 rm -f conftest.er1
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } && {
3474 test -z "$ac_cxx_werror_flag" ||
3475 test ! -s conftest.err
3476 } && test -s conftest.$ac_objext; then
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3483 CXXFLAGS="-g"
3484 cat >conftest.$ac_ext <<_ACEOF
3485 /* confdefs.h. */
3486 _ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3492 main ()
3496 return 0;
3498 _ACEOF
3499 rm -f conftest.$ac_objext
3500 if { (ac_try="$ac_compile"
3501 case "(($ac_try" in
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3504 esac
3505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3506 (eval "$ac_compile") 2>conftest.er1
3507 ac_status=$?
3508 grep -v '^ *+' conftest.er1 >conftest.err
3509 rm -f conftest.er1
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } && {
3513 test -z "$ac_cxx_werror_flag" ||
3514 test ! -s conftest.err
3515 } && test -s conftest.$ac_objext; then
3516 ac_cv_prog_cxx_g=yes
3517 else
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3534 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3535 if test "$ac_test_CXXFLAGS" = set; then
3536 CXXFLAGS=$ac_save_CXXFLAGS
3537 elif test $ac_cv_prog_cxx_g = yes; then
3538 if test "$GXX" = yes; then
3539 CXXFLAGS="-g -O2"
3540 else
3541 CXXFLAGS="-g"
3543 else
3544 if test "$GXX" = yes; then
3545 CXXFLAGS="-O2"
3546 else
3547 CXXFLAGS=
3550 ac_ext=c
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3561 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 if test -n "$CPPBIN"; then
3565 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CPPBIN=$ac_cv_prog_CPPBIN
3585 if test -n "$CPPBIN"; then
3586 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3587 echo "${ECHO_T}$CPPBIN" >&6; }
3588 else
3589 { echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6; }
3595 if test -z "$ac_cv_prog_CPPBIN"; then
3596 ac_ct_CPPBIN=$CPPBIN
3597 # Extract the first word of "cpp", so it can be a program name with args.
3598 set dummy cpp; ac_word=$2
3599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3601 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 else
3604 if test -n "$ac_ct_CPPBIN"; then
3605 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CPPBIN="cpp"
3615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3625 if test -n "$ac_ct_CPPBIN"; then
3626 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3627 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3628 else
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3633 if test "x$ac_ct_CPPBIN" = x; then
3634 CPPBIN="cpp"
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3639 whose name does not start with the host triplet. If you think this
3640 configuration is useful to you, please write to autoconf@gnu.org." >&5
3641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3642 whose name does not start with the host triplet. If you think this
3643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3644 ac_tool_warned=yes ;;
3645 esac
3646 CPPBIN=$ac_ct_CPPBIN
3648 else
3649 CPPBIN="$ac_cv_prog_CPPBIN"
3653 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3654 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3655 if test "${wine_cv_toolsdir+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 else
3658 if test -z "$with_wine_tools"; then
3659 if test "$cross_compiling" = "yes"; then
3660 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3661 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3662 { (exit 1); exit 1; }; }
3663 else
3664 wine_cv_toolsdir="\$(TOPOBJDIR)"
3666 elif test -d "$with_wine_tools/tools/winebuild"; then
3667 case $with_wine_tools in
3668 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3669 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3670 esac
3671 else
3672 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3673 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3674 { (exit 1); exit 1; }; }
3677 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3678 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3679 TOOLSDIR=$wine_cv_toolsdir
3683 ac_ext=c
3684 ac_cpp='$CPP $CPPFLAGS'
3685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3689 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3690 # On Suns, sometimes $CPP names a directory.
3691 if test -n "$CPP" && test -d "$CPP"; then
3692 CPP=
3694 if test -z "$CPP"; then
3695 if test "${ac_cv_prog_CPP+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 else
3698 # Double quotes because CPP needs to be expanded
3699 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3701 ac_preproc_ok=false
3702 for ac_c_preproc_warn_flag in '' yes
3704 # Use a header file that comes with gcc, so configuring glibc
3705 # with a fresh cross-compiler works.
3706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3707 # <limits.h> exists even on freestanding compilers.
3708 # On the NeXT, cc -E runs the code through the compiler's parser,
3709 # not just through cpp. "Syntax error" is here to catch this case.
3710 cat >conftest.$ac_ext <<_ACEOF
3711 /* confdefs.h. */
3712 _ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 #ifdef __STDC__
3717 # include <limits.h>
3718 #else
3719 # include <assert.h>
3720 #endif
3721 Syntax error
3722 _ACEOF
3723 if { (ac_try="$ac_cpp conftest.$ac_ext"
3724 case "(($ac_try" in
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3727 esac
3728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } >/dev/null && {
3736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3737 test ! -s conftest.err
3738 }; then
3740 else
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.$ac_ext >&5
3744 # Broken: fails on valid input.
3745 continue
3748 rm -f conftest.err conftest.$ac_ext
3750 # OK, works on sane cases. Now check whether nonexistent headers
3751 # can be detected and how.
3752 cat >conftest.$ac_ext <<_ACEOF
3753 /* confdefs.h. */
3754 _ACEOF
3755 cat confdefs.h >>conftest.$ac_ext
3756 cat >>conftest.$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3758 #include <ac_nonexistent.h>
3759 _ACEOF
3760 if { (ac_try="$ac_cpp conftest.$ac_ext"
3761 case "(($ac_try" in
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3764 esac
3765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3767 ac_status=$?
3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1
3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } >/dev/null && {
3773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3774 test ! -s conftest.err
3775 }; then
3776 # Broken: success on invalid input.
3777 continue
3778 else
3779 echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3782 # Passes both tests.
3783 ac_preproc_ok=:
3784 break
3787 rm -f conftest.err conftest.$ac_ext
3789 done
3790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3791 rm -f conftest.err conftest.$ac_ext
3792 if $ac_preproc_ok; then
3793 break
3796 done
3797 ac_cv_prog_CPP=$CPP
3800 CPP=$ac_cv_prog_CPP
3801 else
3802 ac_cv_prog_CPP=$CPP
3804 { echo "$as_me:$LINENO: result: $CPP" >&5
3805 echo "${ECHO_T}$CPP" >&6; }
3806 ac_preproc_ok=false
3807 for ac_c_preproc_warn_flag in '' yes
3809 # Use a header file that comes with gcc, so configuring glibc
3810 # with a fresh cross-compiler works.
3811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812 # <limits.h> exists even on freestanding compilers.
3813 # On the NeXT, cc -E runs the code through the compiler's parser,
3814 # not just through cpp. "Syntax error" is here to catch this case.
3815 cat >conftest.$ac_ext <<_ACEOF
3816 /* confdefs.h. */
3817 _ACEOF
3818 cat confdefs.h >>conftest.$ac_ext
3819 cat >>conftest.$ac_ext <<_ACEOF
3820 /* end confdefs.h. */
3821 #ifdef __STDC__
3822 # include <limits.h>
3823 #else
3824 # include <assert.h>
3825 #endif
3826 Syntax error
3827 _ACEOF
3828 if { (ac_try="$ac_cpp conftest.$ac_ext"
3829 case "(($ac_try" in
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3832 esac
3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3835 ac_status=$?
3836 grep -v '^ *+' conftest.er1 >conftest.err
3837 rm -f conftest.er1
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } >/dev/null && {
3841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3842 test ! -s conftest.err
3843 }; then
3845 else
3846 echo "$as_me: failed program was:" >&5
3847 sed 's/^/| /' conftest.$ac_ext >&5
3849 # Broken: fails on valid input.
3850 continue
3853 rm -f conftest.err conftest.$ac_ext
3855 # OK, works on sane cases. Now check whether nonexistent headers
3856 # can be detected and how.
3857 cat >conftest.$ac_ext <<_ACEOF
3858 /* confdefs.h. */
3859 _ACEOF
3860 cat confdefs.h >>conftest.$ac_ext
3861 cat >>conftest.$ac_ext <<_ACEOF
3862 /* end confdefs.h. */
3863 #include <ac_nonexistent.h>
3864 _ACEOF
3865 if { (ac_try="$ac_cpp conftest.$ac_ext"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } >/dev/null && {
3878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 }; then
3881 # Broken: success on invalid input.
3882 continue
3883 else
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3887 # Passes both tests.
3888 ac_preproc_ok=:
3889 break
3892 rm -f conftest.err conftest.$ac_ext
3894 done
3895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3896 rm -f conftest.err conftest.$ac_ext
3897 if $ac_preproc_ok; then
3899 else
3900 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3901 See \`config.log' for more details." >&5
3902 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3903 See \`config.log' for more details." >&2;}
3904 { (exit 1); exit 1; }; }
3907 ac_ext=c
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3914 { echo "$as_me:$LINENO: checking for X" >&5
3915 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3918 # Check whether --with-x was given.
3919 if test "${with_x+set}" = set; then
3920 withval=$with_x;
3923 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3924 if test "x$with_x" = xno; then
3925 # The user explicitly disabled X.
3926 have_x=disabled
3927 else
3928 case $x_includes,$x_libraries in #(
3929 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3930 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3931 { (exit 1); exit 1; }; };; #(
3932 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 else
3935 # One or both of the vars are not set, and there is no cached value.
3936 ac_x_includes=no ac_x_libraries=no
3937 rm -f -r conftest.dir
3938 if mkdir conftest.dir; then
3939 cd conftest.dir
3940 cat >Imakefile <<'_ACEOF'
3941 incroot:
3942 @echo incroot='${INCROOT}'
3943 usrlibdir:
3944 @echo usrlibdir='${USRLIBDIR}'
3945 libdir:
3946 @echo libdir='${LIBDIR}'
3947 _ACEOF
3948 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3949 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3950 for ac_var in incroot usrlibdir libdir; do
3951 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3952 done
3953 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3954 for ac_extension in a so sl; do
3955 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3956 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3957 ac_im_usrlibdir=$ac_im_libdir; break
3959 done
3960 # Screen out bogus values from the imake configuration. They are
3961 # bogus both because they are the default anyway, and because
3962 # using them would break gcc on systems where it needs fixed includes.
3963 case $ac_im_incroot in
3964 /usr/include) ac_x_includes= ;;
3965 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3966 esac
3967 case $ac_im_usrlibdir in
3968 /usr/lib | /lib) ;;
3969 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3970 esac
3972 cd ..
3973 rm -f -r conftest.dir
3976 # Standard set of common directories for X headers.
3977 # Check X11 before X11Rn because it is often a symlink to the current release.
3978 ac_x_header_dirs='
3979 /usr/X11/include
3980 /usr/X11R6/include
3981 /usr/X11R5/include
3982 /usr/X11R4/include
3984 /usr/include/X11
3985 /usr/include/X11R6
3986 /usr/include/X11R5
3987 /usr/include/X11R4
3989 /usr/local/X11/include
3990 /usr/local/X11R6/include
3991 /usr/local/X11R5/include
3992 /usr/local/X11R4/include
3994 /usr/local/include/X11
3995 /usr/local/include/X11R6
3996 /usr/local/include/X11R5
3997 /usr/local/include/X11R4
3999 /usr/X386/include
4000 /usr/x386/include
4001 /usr/XFree86/include/X11
4003 /usr/include
4004 /usr/local/include
4005 /usr/unsupported/include
4006 /usr/athena/include
4007 /usr/local/x11r5/include
4008 /usr/lpp/Xamples/include
4010 /usr/openwin/include
4011 /usr/openwin/share/include'
4013 if test "$ac_x_includes" = no; then
4014 # Guess where to find include files, by looking for Xlib.h.
4015 # First, try using that file with no special directory specified.
4016 cat >conftest.$ac_ext <<_ACEOF
4017 /* confdefs.h. */
4018 _ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4022 #include <X11/Xlib.h>
4023 _ACEOF
4024 if { (ac_try="$ac_cpp conftest.$ac_ext"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4031 ac_status=$?
4032 grep -v '^ *+' conftest.er1 >conftest.err
4033 rm -f conftest.er1
4034 cat conftest.err >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } >/dev/null && {
4037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4038 test ! -s conftest.err
4039 }; then
4040 # We can compile using X headers with no special include directory.
4041 ac_x_includes=
4042 else
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4046 for ac_dir in $ac_x_header_dirs; do
4047 if test -r "$ac_dir/X11/Xlib.h"; then
4048 ac_x_includes=$ac_dir
4049 break
4051 done
4054 rm -f conftest.err conftest.$ac_ext
4055 fi # $ac_x_includes = no
4057 if test "$ac_x_libraries" = no; then
4058 # Check for the libraries.
4059 # See if we find them without any special options.
4060 # Don't add to $LIBS permanently.
4061 ac_save_LIBS=$LIBS
4062 LIBS="-lX11 $LIBS"
4063 cat >conftest.$ac_ext <<_ACEOF
4064 /* confdefs.h. */
4065 _ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4069 #include <X11/Xlib.h>
4071 main ()
4073 XrmInitialize ()
4075 return 0;
4077 _ACEOF
4078 rm -f conftest.$ac_objext conftest$ac_exeext
4079 if { (ac_try="$ac_link"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_link") 2>conftest.er1
4086 ac_status=$?
4087 grep -v '^ *+' conftest.er1 >conftest.err
4088 rm -f conftest.er1
4089 cat conftest.err >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } && {
4092 test -z "$ac_c_werror_flag" ||
4093 test ! -s conftest.err
4094 } && test -s conftest$ac_exeext &&
4095 $as_test_x conftest$ac_exeext; then
4096 LIBS=$ac_save_LIBS
4097 # We can link X programs with no special library path.
4098 ac_x_libraries=
4099 else
4100 echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4103 LIBS=$ac_save_LIBS
4104 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4106 # Don't even attempt the hair of trying to link an X program!
4107 for ac_extension in a so sl; do
4108 if test -r "$ac_dir/libX11.$ac_extension"; then
4109 ac_x_libraries=$ac_dir
4110 break 2
4112 done
4113 done
4116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4117 conftest$ac_exeext conftest.$ac_ext
4118 fi # $ac_x_libraries = no
4120 case $ac_x_includes,$ac_x_libraries in #(
4121 no,* | *,no | *\'*)
4122 # Didn't find X, or a directory has "'" in its name.
4123 ac_cv_have_x="have_x=no";; #(
4125 # Record where we found X for the cache.
4126 ac_cv_have_x="have_x=yes\
4127 ac_x_includes='$ac_x_includes'\
4128 ac_x_libraries='$ac_x_libraries'"
4129 esac
4131 ;; #(
4132 *) have_x=yes;;
4133 esac
4134 eval "$ac_cv_have_x"
4135 fi # $with_x != no
4137 if test "$have_x" != yes; then
4138 { echo "$as_me:$LINENO: result: $have_x" >&5
4139 echo "${ECHO_T}$have_x" >&6; }
4140 no_x=yes
4141 else
4142 # If each of the values was on the command line, it overrides each guess.
4143 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4144 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4145 # Update the cache value to reflect the command line values.
4146 ac_cv_have_x="have_x=yes\
4147 ac_x_includes='$x_includes'\
4148 ac_x_libraries='$x_libraries'"
4149 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4150 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4153 if test "$no_x" = yes; then
4154 # Not all programs may use this symbol, but it does not hurt to define it.
4156 cat >>confdefs.h <<\_ACEOF
4157 #define X_DISPLAY_MISSING 1
4158 _ACEOF
4160 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4161 else
4162 if test -n "$x_includes"; then
4163 X_CFLAGS="$X_CFLAGS -I$x_includes"
4166 # It would also be nice to do this for all -L options, not just this one.
4167 if test -n "$x_libraries"; then
4168 X_LIBS="$X_LIBS -L$x_libraries"
4169 # For Solaris; some versions of Sun CC require a space after -R and
4170 # others require no space. Words are not sufficient . . . .
4171 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4172 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4173 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4174 ac_xsave_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4176 cat >conftest.$ac_ext <<_ACEOF
4177 /* confdefs.h. */
4178 _ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 rm -f conftest.$ac_objext conftest$ac_exeext
4192 if { (ac_try="$ac_link"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>conftest.er1
4199 ac_status=$?
4200 grep -v '^ *+' conftest.er1 >conftest.err
4201 rm -f conftest.er1
4202 cat conftest.err >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } && {
4205 test -z "$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4207 } && test -s conftest$ac_exeext &&
4208 $as_test_x conftest$ac_exeext; then
4209 { echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6; }
4211 X_LIBS="$X_LIBS -R$x_libraries"
4212 else
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.$ac_ext >&5
4216 LIBS="$ac_xsave_LIBS -R $x_libraries"
4217 cat >conftest.$ac_ext <<_ACEOF
4218 /* confdefs.h. */
4219 _ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4225 main ()
4229 return 0;
4231 _ACEOF
4232 rm -f conftest.$ac_objext conftest$ac_exeext
4233 if { (ac_try="$ac_link"
4234 case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4237 esac
4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4239 (eval "$ac_link") 2>conftest.er1
4240 ac_status=$?
4241 grep -v '^ *+' conftest.er1 >conftest.err
4242 rm -f conftest.er1
4243 cat conftest.err >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); } && {
4246 test -z "$ac_c_werror_flag" ||
4247 test ! -s conftest.err
4248 } && test -s conftest$ac_exeext &&
4249 $as_test_x conftest$ac_exeext; then
4250 { echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6; }
4252 X_LIBS="$X_LIBS -R $x_libraries"
4253 else
4254 echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.$ac_ext >&5
4257 { echo "$as_me:$LINENO: result: neither works" >&5
4258 echo "${ECHO_T}neither works" >&6; }
4261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4262 conftest$ac_exeext conftest.$ac_ext
4265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4266 conftest$ac_exeext conftest.$ac_ext
4267 ac_c_werror_flag=$ac_xsave_c_werror_flag
4268 LIBS=$ac_xsave_LIBS
4271 # Check for system-dependent libraries X programs must link with.
4272 # Do this before checking for the system-independent R6 libraries
4273 # (-lICE), since we may need -lsocket or whatever for X linking.
4275 if test "$ISC" = yes; then
4276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4277 else
4278 # Martyn Johnson says this is needed for Ultrix, if the X
4279 # libraries were built with DECnet support. And Karl Berry says
4280 # the Alpha needs dnet_stub (dnet does not exist).
4281 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4282 cat >conftest.$ac_ext <<_ACEOF
4283 /* confdefs.h. */
4284 _ACEOF
4285 cat confdefs.h >>conftest.$ac_ext
4286 cat >>conftest.$ac_ext <<_ACEOF
4287 /* end confdefs.h. */
4289 /* Override any GCC internal prototype to avoid an error.
4290 Use char because int might match the return type of a GCC
4291 builtin and then its argument prototype would still apply. */
4292 #ifdef __cplusplus
4293 extern "C"
4294 #endif
4295 char XOpenDisplay ();
4297 main ()
4299 return XOpenDisplay ();
4301 return 0;
4303 _ACEOF
4304 rm -f conftest.$ac_objext conftest$ac_exeext
4305 if { (ac_try="$ac_link"
4306 case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_link") 2>conftest.er1
4312 ac_status=$?
4313 grep -v '^ *+' conftest.er1 >conftest.err
4314 rm -f conftest.er1
4315 cat conftest.err >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } && {
4318 test -z "$ac_c_werror_flag" ||
4319 test ! -s conftest.err
4320 } && test -s conftest$ac_exeext &&
4321 $as_test_x conftest$ac_exeext; then
4323 else
4324 echo "$as_me: failed program was:" >&5
4325 sed 's/^/| /' conftest.$ac_ext >&5
4327 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4328 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4329 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 ac_check_lib_save_LIBS=$LIBS
4333 LIBS="-ldnet $LIBS"
4334 cat >conftest.$ac_ext <<_ACEOF
4335 /* confdefs.h. */
4336 _ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4341 /* Override any GCC internal prototype to avoid an error.
4342 Use char because int might match the return type of a GCC
4343 builtin and then its argument prototype would still apply. */
4344 #ifdef __cplusplus
4345 extern "C"
4346 #endif
4347 char dnet_ntoa ();
4349 main ()
4351 return dnet_ntoa ();
4353 return 0;
4355 _ACEOF
4356 rm -f conftest.$ac_objext conftest$ac_exeext
4357 if { (ac_try="$ac_link"
4358 case "(($ac_try" in
4359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4360 *) ac_try_echo=$ac_try;;
4361 esac
4362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4363 (eval "$ac_link") 2>conftest.er1
4364 ac_status=$?
4365 grep -v '^ *+' conftest.er1 >conftest.err
4366 rm -f conftest.er1
4367 cat conftest.err >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } && {
4370 test -z "$ac_c_werror_flag" ||
4371 test ! -s conftest.err
4372 } && test -s conftest$ac_exeext &&
4373 $as_test_x conftest$ac_exeext; then
4374 ac_cv_lib_dnet_dnet_ntoa=yes
4375 else
4376 echo "$as_me: failed program was:" >&5
4377 sed 's/^/| /' conftest.$ac_ext >&5
4379 ac_cv_lib_dnet_dnet_ntoa=no
4382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4383 conftest$ac_exeext conftest.$ac_ext
4384 LIBS=$ac_check_lib_save_LIBS
4386 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4387 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4388 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4389 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4392 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4393 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4394 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4395 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 ac_check_lib_save_LIBS=$LIBS
4399 LIBS="-ldnet_stub $LIBS"
4400 cat >conftest.$ac_ext <<_ACEOF
4401 /* confdefs.h. */
4402 _ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4407 /* Override any GCC internal prototype to avoid an error.
4408 Use char because int might match the return type of a GCC
4409 builtin and then its argument prototype would still apply. */
4410 #ifdef __cplusplus
4411 extern "C"
4412 #endif
4413 char dnet_ntoa ();
4415 main ()
4417 return dnet_ntoa ();
4419 return 0;
4421 _ACEOF
4422 rm -f conftest.$ac_objext conftest$ac_exeext
4423 if { (ac_try="$ac_link"
4424 case "(($ac_try" in
4425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4427 esac
4428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_link") 2>conftest.er1
4430 ac_status=$?
4431 grep -v '^ *+' conftest.er1 >conftest.err
4432 rm -f conftest.er1
4433 cat conftest.err >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } && {
4436 test -z "$ac_c_werror_flag" ||
4437 test ! -s conftest.err
4438 } && test -s conftest$ac_exeext &&
4439 $as_test_x conftest$ac_exeext; then
4440 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4441 else
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.$ac_ext >&5
4445 ac_cv_lib_dnet_stub_dnet_ntoa=no
4448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4449 conftest$ac_exeext conftest.$ac_ext
4450 LIBS=$ac_check_lib_save_LIBS
4452 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4453 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4454 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4455 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462 conftest$ac_exeext conftest.$ac_ext
4463 LIBS="$ac_xsave_LIBS"
4465 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4466 # to get the SysV transport functions.
4467 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4468 # needs -lnsl.
4469 # The nsl library prevents programs from opening the X display
4470 # on Irix 5.2, according to T.E. Dickey.
4471 # The functions gethostbyname, getservbyname, and inet_addr are
4472 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4473 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4474 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4475 if test "${ac_cv_func_gethostbyname+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 else
4478 cat >conftest.$ac_ext <<_ACEOF
4479 /* confdefs.h. */
4480 _ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4486 #define gethostbyname innocuous_gethostbyname
4488 /* System header to define __stub macros and hopefully few prototypes,
4489 which can conflict with char gethostbyname (); below.
4490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4491 <limits.h> exists even on freestanding compilers. */
4493 #ifdef __STDC__
4494 # include <limits.h>
4495 #else
4496 # include <assert.h>
4497 #endif
4499 #undef gethostbyname
4501 /* Override any GCC internal prototype to avoid an error.
4502 Use char because int might match the return type of a GCC
4503 builtin and then its argument prototype would still apply. */
4504 #ifdef __cplusplus
4505 extern "C"
4506 #endif
4507 char gethostbyname ();
4508 /* The GNU C library defines this for functions which it implements
4509 to always fail with ENOSYS. Some functions are actually named
4510 something starting with __ and the normal name is an alias. */
4511 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4512 choke me
4513 #endif
4516 main ()
4518 return gethostbyname ();
4520 return 0;
4522 _ACEOF
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (ac_try="$ac_link"
4525 case "(($ac_try" in
4526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4528 esac
4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4530 (eval "$ac_link") 2>conftest.er1
4531 ac_status=$?
4532 grep -v '^ *+' conftest.er1 >conftest.err
4533 rm -f conftest.er1
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } && {
4537 test -z "$ac_c_werror_flag" ||
4538 test ! -s conftest.err
4539 } && test -s conftest$ac_exeext &&
4540 $as_test_x conftest$ac_exeext; then
4541 ac_cv_func_gethostbyname=yes
4542 else
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 ac_cv_func_gethostbyname=no
4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4550 conftest$ac_exeext conftest.$ac_ext
4552 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4553 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4555 if test $ac_cv_func_gethostbyname = no; then
4556 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4557 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4558 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 else
4561 ac_check_lib_save_LIBS=$LIBS
4562 LIBS="-lnsl $LIBS"
4563 cat >conftest.$ac_ext <<_ACEOF
4564 /* confdefs.h. */
4565 _ACEOF
4566 cat confdefs.h >>conftest.$ac_ext
4567 cat >>conftest.$ac_ext <<_ACEOF
4568 /* end confdefs.h. */
4570 /* Override any GCC internal prototype to avoid an error.
4571 Use char because int might match the return type of a GCC
4572 builtin and then its argument prototype would still apply. */
4573 #ifdef __cplusplus
4574 extern "C"
4575 #endif
4576 char gethostbyname ();
4578 main ()
4580 return gethostbyname ();
4582 return 0;
4584 _ACEOF
4585 rm -f conftest.$ac_objext conftest$ac_exeext
4586 if { (ac_try="$ac_link"
4587 case "(($ac_try" in
4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4589 *) ac_try_echo=$ac_try;;
4590 esac
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_link") 2>conftest.er1
4593 ac_status=$?
4594 grep -v '^ *+' conftest.er1 >conftest.err
4595 rm -f conftest.er1
4596 cat conftest.err >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } && {
4599 test -z "$ac_c_werror_flag" ||
4600 test ! -s conftest.err
4601 } && test -s conftest$ac_exeext &&
4602 $as_test_x conftest$ac_exeext; then
4603 ac_cv_lib_nsl_gethostbyname=yes
4604 else
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.$ac_ext >&5
4608 ac_cv_lib_nsl_gethostbyname=no
4611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4612 conftest$ac_exeext conftest.$ac_ext
4613 LIBS=$ac_check_lib_save_LIBS
4615 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4616 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4617 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4618 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4621 if test $ac_cv_lib_nsl_gethostbyname = no; then
4622 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4623 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4624 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 else
4627 ac_check_lib_save_LIBS=$LIBS
4628 LIBS="-lbsd $LIBS"
4629 cat >conftest.$ac_ext <<_ACEOF
4630 /* confdefs.h. */
4631 _ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4636 /* Override any GCC internal prototype to avoid an error.
4637 Use char because int might match the return type of a GCC
4638 builtin and then its argument prototype would still apply. */
4639 #ifdef __cplusplus
4640 extern "C"
4641 #endif
4642 char gethostbyname ();
4644 main ()
4646 return gethostbyname ();
4648 return 0;
4650 _ACEOF
4651 rm -f conftest.$ac_objext conftest$ac_exeext
4652 if { (ac_try="$ac_link"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4658 (eval "$ac_link") 2>conftest.er1
4659 ac_status=$?
4660 grep -v '^ *+' conftest.er1 >conftest.err
4661 rm -f conftest.er1
4662 cat conftest.err >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } && {
4665 test -z "$ac_c_werror_flag" ||
4666 test ! -s conftest.err
4667 } && test -s conftest$ac_exeext &&
4668 $as_test_x conftest$ac_exeext; then
4669 ac_cv_lib_bsd_gethostbyname=yes
4670 else
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 ac_cv_lib_bsd_gethostbyname=no
4677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4678 conftest$ac_exeext conftest.$ac_ext
4679 LIBS=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4683 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4690 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4691 # socket/setsockopt and other routines are undefined under SCO ODT
4692 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4693 # on later versions), says Simon Leinen: it contains gethostby*
4694 # variants that don't use the name server (or something). -lsocket
4695 # must be given before -lnsl if both are needed. We assume that
4696 # if connect needs -lnsl, so does gethostbyname.
4697 { echo "$as_me:$LINENO: checking for connect" >&5
4698 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4699 if test "${ac_cv_func_connect+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 cat >conftest.$ac_ext <<_ACEOF
4703 /* confdefs.h. */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4710 #define connect innocuous_connect
4712 /* System header to define __stub macros and hopefully few prototypes,
4713 which can conflict with char connect (); below.
4714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4715 <limits.h> exists even on freestanding compilers. */
4717 #ifdef __STDC__
4718 # include <limits.h>
4719 #else
4720 # include <assert.h>
4721 #endif
4723 #undef connect
4725 /* Override any GCC internal prototype to avoid an error.
4726 Use char because int might match the return type of a GCC
4727 builtin and then its argument prototype would still apply. */
4728 #ifdef __cplusplus
4729 extern "C"
4730 #endif
4731 char connect ();
4732 /* The GNU C library defines this for functions which it implements
4733 to always fail with ENOSYS. Some functions are actually named
4734 something starting with __ and the normal name is an alias. */
4735 #if defined __stub_connect || defined __stub___connect
4736 choke me
4737 #endif
4740 main ()
4742 return connect ();
4744 return 0;
4746 _ACEOF
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (ac_try="$ac_link"
4749 case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752 esac
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_func_connect=yes
4766 else
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_func_connect=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4776 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4777 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4779 if test $ac_cv_func_connect = no; then
4780 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4781 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4782 if test "${ac_cv_lib_socket_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 else
4785 ac_check_lib_save_LIBS=$LIBS
4786 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4787 cat >conftest.$ac_ext <<_ACEOF
4788 /* confdefs.h. */
4789 _ACEOF
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4797 #ifdef __cplusplus
4798 extern "C"
4799 #endif
4800 char connect ();
4802 main ()
4804 return connect ();
4806 return 0;
4808 _ACEOF
4809 rm -f conftest.$ac_objext conftest$ac_exeext
4810 if { (ac_try="$ac_link"
4811 case "(($ac_try" in
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4814 esac
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>conftest.er1
4817 ac_status=$?
4818 grep -v '^ *+' conftest.er1 >conftest.err
4819 rm -f conftest.er1
4820 cat conftest.err >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest$ac_exeext &&
4826 $as_test_x conftest$ac_exeext; then
4827 ac_cv_lib_socket_connect=yes
4828 else
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_cv_lib_socket_connect=no
4835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4836 conftest$ac_exeext conftest.$ac_ext
4837 LIBS=$ac_check_lib_save_LIBS
4839 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4840 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4841 if test $ac_cv_lib_socket_connect = yes; then
4842 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4847 # Guillermo Gomez says -lposix is necessary on A/UX.
4848 { echo "$as_me:$LINENO: checking for remove" >&5
4849 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4850 if test "${ac_cv_func_remove+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 cat >conftest.$ac_ext <<_ACEOF
4854 /* confdefs.h. */
4855 _ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4861 #define remove innocuous_remove
4863 /* System header to define __stub macros and hopefully few prototypes,
4864 which can conflict with char remove (); below.
4865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4866 <limits.h> exists even on freestanding compilers. */
4868 #ifdef __STDC__
4869 # include <limits.h>
4870 #else
4871 # include <assert.h>
4872 #endif
4874 #undef remove
4876 /* Override any GCC internal prototype to avoid an error.
4877 Use char because int might match the return type of a GCC
4878 builtin and then its argument prototype would still apply. */
4879 #ifdef __cplusplus
4880 extern "C"
4881 #endif
4882 char remove ();
4883 /* The GNU C library defines this for functions which it implements
4884 to always fail with ENOSYS. Some functions are actually named
4885 something starting with __ and the normal name is an alias. */
4886 #if defined __stub_remove || defined __stub___remove
4887 choke me
4888 #endif
4891 main ()
4893 return remove ();
4895 return 0;
4897 _ACEOF
4898 rm -f conftest.$ac_objext conftest$ac_exeext
4899 if { (ac_try="$ac_link"
4900 case "(($ac_try" in
4901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4903 esac
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_func_remove=yes
4917 else
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_func_remove=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4927 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4928 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4930 if test $ac_cv_func_remove = no; then
4931 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4932 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4933 if test "${ac_cv_lib_posix_remove+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 ac_check_lib_save_LIBS=$LIBS
4937 LIBS="-lposix $LIBS"
4938 cat >conftest.$ac_ext <<_ACEOF
4939 /* confdefs.h. */
4940 _ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4945 /* Override any GCC internal prototype to avoid an error.
4946 Use char because int might match the return type of a GCC
4947 builtin and then its argument prototype would still apply. */
4948 #ifdef __cplusplus
4949 extern "C"
4950 #endif
4951 char remove ();
4953 main ()
4955 return remove ();
4957 return 0;
4959 _ACEOF
4960 rm -f conftest.$ac_objext conftest$ac_exeext
4961 if { (ac_try="$ac_link"
4962 case "(($ac_try" in
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4965 esac
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_link") 2>conftest.er1
4968 ac_status=$?
4969 grep -v '^ *+' conftest.er1 >conftest.err
4970 rm -f conftest.er1
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest$ac_exeext &&
4977 $as_test_x conftest$ac_exeext; then
4978 ac_cv_lib_posix_remove=yes
4979 else
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_cv_lib_posix_remove=no
4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4987 conftest$ac_exeext conftest.$ac_ext
4988 LIBS=$ac_check_lib_save_LIBS
4990 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4991 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4992 if test $ac_cv_lib_posix_remove = yes; then
4993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4998 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4999 { echo "$as_me:$LINENO: checking for shmat" >&5
5000 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5001 if test "${ac_cv_func_shmat+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 cat >conftest.$ac_ext <<_ACEOF
5005 /* confdefs.h. */
5006 _ACEOF
5007 cat confdefs.h >>conftest.$ac_ext
5008 cat >>conftest.$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5010 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5012 #define shmat innocuous_shmat
5014 /* System header to define __stub macros and hopefully few prototypes,
5015 which can conflict with char shmat (); below.
5016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 <limits.h> exists even on freestanding compilers. */
5019 #ifdef __STDC__
5020 # include <limits.h>
5021 #else
5022 # include <assert.h>
5023 #endif
5025 #undef shmat
5027 /* Override any GCC internal prototype to avoid an error.
5028 Use char because int might match the return type of a GCC
5029 builtin and then its argument prototype would still apply. */
5030 #ifdef __cplusplus
5031 extern "C"
5032 #endif
5033 char shmat ();
5034 /* The GNU C library defines this for functions which it implements
5035 to always fail with ENOSYS. Some functions are actually named
5036 something starting with __ and the normal name is an alias. */
5037 #if defined __stub_shmat || defined __stub___shmat
5038 choke me
5039 #endif
5042 main ()
5044 return shmat ();
5046 return 0;
5048 _ACEOF
5049 rm -f conftest.$ac_objext conftest$ac_exeext
5050 if { (ac_try="$ac_link"
5051 case "(($ac_try" in
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5054 esac
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_link") 2>conftest.er1
5057 ac_status=$?
5058 grep -v '^ *+' conftest.er1 >conftest.err
5059 rm -f conftest.er1
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && {
5063 test -z "$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5065 } && test -s conftest$ac_exeext &&
5066 $as_test_x conftest$ac_exeext; then
5067 ac_cv_func_shmat=yes
5068 else
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5072 ac_cv_func_shmat=no
5075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5076 conftest$ac_exeext conftest.$ac_ext
5078 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5079 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5081 if test $ac_cv_func_shmat = no; then
5082 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5083 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5084 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 else
5087 ac_check_lib_save_LIBS=$LIBS
5088 LIBS="-lipc $LIBS"
5089 cat >conftest.$ac_ext <<_ACEOF
5090 /* confdefs.h. */
5091 _ACEOF
5092 cat confdefs.h >>conftest.$ac_ext
5093 cat >>conftest.$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5096 /* Override any GCC internal prototype to avoid an error.
5097 Use char because int might match the return type of a GCC
5098 builtin and then its argument prototype would still apply. */
5099 #ifdef __cplusplus
5100 extern "C"
5101 #endif
5102 char shmat ();
5104 main ()
5106 return shmat ();
5108 return 0;
5110 _ACEOF
5111 rm -f conftest.$ac_objext conftest$ac_exeext
5112 if { (ac_try="$ac_link"
5113 case "(($ac_try" in
5114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5116 esac
5117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5118 (eval "$ac_link") 2>conftest.er1
5119 ac_status=$?
5120 grep -v '^ *+' conftest.er1 >conftest.err
5121 rm -f conftest.er1
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } && {
5125 test -z "$ac_c_werror_flag" ||
5126 test ! -s conftest.err
5127 } && test -s conftest$ac_exeext &&
5128 $as_test_x conftest$ac_exeext; then
5129 ac_cv_lib_ipc_shmat=yes
5130 else
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.$ac_ext >&5
5134 ac_cv_lib_ipc_shmat=no
5137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5138 conftest$ac_exeext conftest.$ac_ext
5139 LIBS=$ac_check_lib_save_LIBS
5141 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5142 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5143 if test $ac_cv_lib_ipc_shmat = yes; then
5144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5150 # Check for libraries that X11R6 Xt/Xaw programs need.
5151 ac_save_LDFLAGS=$LDFLAGS
5152 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5153 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5154 # check for ICE first), but we must link in the order -lSM -lICE or
5155 # we get undefined symbols. So assume we have SM if we have ICE.
5156 # These have to be linked with before -lX11, unlike the other
5157 # libraries we check for below, so use a different variable.
5158 # John Interrante, Karl Berry
5159 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5160 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5161 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 else
5164 ac_check_lib_save_LIBS=$LIBS
5165 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5166 cat >conftest.$ac_ext <<_ACEOF
5167 /* confdefs.h. */
5168 _ACEOF
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5176 #ifdef __cplusplus
5177 extern "C"
5178 #endif
5179 char IceConnectionNumber ();
5181 main ()
5183 return IceConnectionNumber ();
5185 return 0;
5187 _ACEOF
5188 rm -f conftest.$ac_objext conftest$ac_exeext
5189 if { (ac_try="$ac_link"
5190 case "(($ac_try" in
5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5192 *) ac_try_echo=$ac_try;;
5193 esac
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5195 (eval "$ac_link") 2>conftest.er1
5196 ac_status=$?
5197 grep -v '^ *+' conftest.er1 >conftest.err
5198 rm -f conftest.er1
5199 cat conftest.err >&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } && {
5202 test -z "$ac_c_werror_flag" ||
5203 test ! -s conftest.err
5204 } && test -s conftest$ac_exeext &&
5205 $as_test_x conftest$ac_exeext; then
5206 ac_cv_lib_ICE_IceConnectionNumber=yes
5207 else
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 ac_cv_lib_ICE_IceConnectionNumber=no
5214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5215 conftest$ac_exeext conftest.$ac_ext
5216 LIBS=$ac_check_lib_save_LIBS
5218 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5219 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5220 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5221 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5224 LDFLAGS=$ac_save_LDFLAGS
5229 for ac_prog in flex
5231 # Extract the first word of "$ac_prog", so it can be a program name with args.
5232 set dummy $ac_prog; ac_word=$2
5233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5235 if test "${ac_cv_prog_FLEX+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 else
5238 if test -n "$FLEX"; then
5239 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_FLEX="$ac_prog"
5249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 FLEX=$ac_cv_prog_FLEX
5259 if test -n "$FLEX"; then
5260 { echo "$as_me:$LINENO: result: $FLEX" >&5
5261 echo "${ECHO_T}$FLEX" >&6; }
5262 else
5263 { echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6; }
5268 test -n "$FLEX" && break
5269 done
5270 test -n "$FLEX" || FLEX="none"
5272 if test "$FLEX" = "none"
5273 then
5274 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5275 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5276 { (exit 1); exit 1; }; }
5279 for ac_prog in bison
5281 # Extract the first word of "$ac_prog", so it can be a program name with args.
5282 set dummy $ac_prog; ac_word=$2
5283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5285 if test "${ac_cv_prog_BISON+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 else
5288 if test -n "$BISON"; then
5289 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_BISON="$ac_prog"
5299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5304 IFS=$as_save_IFS
5308 BISON=$ac_cv_prog_BISON
5309 if test -n "$BISON"; then
5310 { echo "$as_me:$LINENO: result: $BISON" >&5
5311 echo "${ECHO_T}$BISON" >&6; }
5312 else
5313 { echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6; }
5318 test -n "$BISON" && break
5319 done
5320 test -n "$BISON" || BISON="none"
5322 if test "$BISON" = "none"
5323 then
5324 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5325 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5326 { (exit 1); exit 1; }; }
5329 if test -n "$ac_tool_prefix"; then
5330 for ac_prog in gas as
5332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5336 if test "${ac_cv_prog_AS+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 else
5339 if test -n "$AS"; then
5340 ac_cv_prog_AS="$AS" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5353 done
5354 done
5355 IFS=$as_save_IFS
5359 AS=$ac_cv_prog_AS
5360 if test -n "$AS"; then
5361 { echo "$as_me:$LINENO: result: $AS" >&5
5362 echo "${ECHO_T}$AS" >&6; }
5363 else
5364 { echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6; }
5369 test -n "$AS" && break
5370 done
5372 if test -z "$AS"; then
5373 ac_ct_AS=$AS
5374 for ac_prog in gas as
5376 # Extract the first word of "$ac_prog", so it can be a program name with args.
5377 set dummy $ac_prog; ac_word=$2
5378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5380 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 else
5383 if test -n "$ac_ct_AS"; then
5384 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5393 ac_cv_prog_ac_ct_AS="$ac_prog"
5394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5404 if test -n "$ac_ct_AS"; then
5405 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5406 echo "${ECHO_T}$ac_ct_AS" >&6; }
5407 else
5408 { echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6; }
5413 test -n "$ac_ct_AS" && break
5414 done
5416 if test "x$ac_ct_AS" = x; then
5417 AS="as"
5418 else
5419 case $cross_compiling:$ac_tool_warned in
5420 yes:)
5421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5422 whose name does not start with the host triplet. If you think this
5423 configuration is useful to you, please write to autoconf@gnu.org." >&5
5424 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5425 whose name does not start with the host triplet. If you think this
5426 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5427 ac_tool_warned=yes ;;
5428 esac
5429 AS=$ac_ct_AS
5433 if test -n "$ac_tool_prefix"; then
5434 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5435 set dummy ${ac_tool_prefix}ld; ac_word=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_LD+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 if test -n "$LD"; then
5442 ac_cv_prog_LD="$LD" # Let the user override the test.
5443 else
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_LD="${ac_tool_prefix}ld"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5461 LD=$ac_cv_prog_LD
5462 if test -n "$LD"; then
5463 { echo "$as_me:$LINENO: result: $LD" >&5
5464 echo "${ECHO_T}$LD" >&6; }
5465 else
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5472 if test -z "$ac_cv_prog_LD"; then
5473 ac_ct_LD=$LD
5474 # Extract the first word of "ld", so it can be a program name with args.
5475 set dummy ld; ac_word=$2
5476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5478 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481 if test -n "$ac_ct_LD"; then
5482 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 ac_cv_prog_ac_ct_LD="ld"
5492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5501 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5502 if test -n "$ac_ct_LD"; then
5503 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5504 echo "${ECHO_T}$ac_ct_LD" >&6; }
5505 else
5506 { echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6; }
5510 if test "x$ac_ct_LD" = x; then
5511 LD="ld"
5512 else
5513 case $cross_compiling:$ac_tool_warned in
5514 yes:)
5515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5516 whose name does not start with the host triplet. If you think this
5517 configuration is useful to you, please write to autoconf@gnu.org." >&5
5518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5519 whose name does not start with the host triplet. If you think this
5520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5521 ac_tool_warned=yes ;;
5522 esac
5523 LD=$ac_ct_LD
5525 else
5526 LD="$ac_cv_prog_LD"
5529 if test -n "$ac_tool_prefix"; then
5530 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5531 set dummy ${ac_tool_prefix}ar; ac_word=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_AR+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 else
5537 if test -n "$AR"; then
5538 ac_cv_prog_AR="$AR" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_AR="${ac_tool_prefix}ar"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5551 done
5552 done
5553 IFS=$as_save_IFS
5557 AR=$ac_cv_prog_AR
5558 if test -n "$AR"; then
5559 { echo "$as_me:$LINENO: result: $AR" >&5
5560 echo "${ECHO_T}$AR" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5568 if test -z "$ac_cv_prog_AR"; then
5569 ac_ct_AR=$AR
5570 # Extract the first word of "ar", so it can be a program name with args.
5571 set dummy ar; ac_word=$2
5572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5574 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 else
5577 if test -n "$ac_ct_AR"; then
5578 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5583 IFS=$as_save_IFS
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 ac_cv_prog_ac_ct_AR="ar"
5588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 break 2
5591 done
5592 done
5593 IFS=$as_save_IFS
5597 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5598 if test -n "$ac_ct_AR"; then
5599 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5600 echo "${ECHO_T}$ac_ct_AR" >&6; }
5601 else
5602 { echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6; }
5606 if test "x$ac_ct_AR" = x; then
5607 AR="ar"
5608 else
5609 case $cross_compiling:$ac_tool_warned in
5610 yes:)
5611 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5612 whose name does not start with the host triplet. If you think this
5613 configuration is useful to you, please write to autoconf@gnu.org." >&5
5614 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5615 whose name does not start with the host triplet. If you think this
5616 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5617 ac_tool_warned=yes ;;
5618 esac
5619 AR=$ac_ct_AR
5621 else
5622 AR="$ac_cv_prog_AR"
5625 ARFLAGS=rc
5627 if test -n "$ac_tool_prefix"; then
5628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5632 if test "${ac_cv_prog_RANLIB+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 else
5635 if test -n "$RANLIB"; then
5636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 RANLIB=$ac_cv_prog_RANLIB
5656 if test -n "$RANLIB"; then
5657 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5658 echo "${ECHO_T}$RANLIB" >&6; }
5659 else
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5666 if test -z "$ac_cv_prog_RANLIB"; then
5667 ac_ct_RANLIB=$RANLIB
5668 # Extract the first word of "ranlib", so it can be a program name with args.
5669 set dummy ranlib; ac_word=$2
5670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 else
5675 if test -n "$ac_ct_RANLIB"; then
5676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5677 else
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_RANLIB="ranlib"
5686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5696 if test -n "$ac_ct_RANLIB"; then
5697 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5698 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5699 else
5700 { echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6; }
5704 if test "x$ac_ct_RANLIB" = x; then
5705 RANLIB=":"
5706 else
5707 case $cross_compiling:$ac_tool_warned in
5708 yes:)
5709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5710 whose name does not start with the host triplet. If you think this
5711 configuration is useful to you, please write to autoconf@gnu.org." >&5
5712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5713 whose name does not start with the host triplet. If you think this
5714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5715 ac_tool_warned=yes ;;
5716 esac
5717 RANLIB=$ac_ct_RANLIB
5719 else
5720 RANLIB="$ac_cv_prog_RANLIB"
5723 if test -n "$ac_tool_prefix"; then
5724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5725 set dummy ${ac_tool_prefix}strip; ac_word=$2
5726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5728 if test "${ac_cv_prog_STRIP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 else
5731 if test -n "$STRIP"; then
5732 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5745 done
5746 done
5747 IFS=$as_save_IFS
5751 STRIP=$ac_cv_prog_STRIP
5752 if test -n "$STRIP"; then
5753 { echo "$as_me:$LINENO: result: $STRIP" >&5
5754 echo "${ECHO_T}$STRIP" >&6; }
5755 else
5756 { echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6; }
5762 if test -z "$ac_cv_prog_STRIP"; then
5763 ac_ct_STRIP=$STRIP
5764 # Extract the first word of "strip", so it can be a program name with args.
5765 set dummy strip; ac_word=$2
5766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5768 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 else
5771 if test -n "$ac_ct_STRIP"; then
5772 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781 ac_cv_prog_ac_ct_STRIP="strip"
5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5792 if test -n "$ac_ct_STRIP"; then
5793 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5794 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5795 else
5796 { echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6; }
5800 if test "x$ac_ct_STRIP" = x; then
5801 STRIP="strip"
5802 else
5803 case $cross_compiling:$ac_tool_warned in
5804 yes:)
5805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5806 whose name does not start with the host triplet. If you think this
5807 configuration is useful to you, please write to autoconf@gnu.org." >&5
5808 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5809 whose name does not start with the host triplet. If you think this
5810 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5811 ac_tool_warned=yes ;;
5812 esac
5813 STRIP=$ac_ct_STRIP
5815 else
5816 STRIP="$ac_cv_prog_STRIP"
5819 if test -n "$ac_tool_prefix"; then
5820 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5821 set dummy ${ac_tool_prefix}windres; ac_word=$2
5822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5824 if test "${ac_cv_prog_WINDRES+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 else
5827 if test -n "$WINDRES"; then
5828 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 WINDRES=$ac_cv_prog_WINDRES
5848 if test -n "$WINDRES"; then
5849 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5850 echo "${ECHO_T}$WINDRES" >&6; }
5851 else
5852 { echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6; }
5858 if test -z "$ac_cv_prog_WINDRES"; then
5859 ac_ct_WINDRES=$WINDRES
5860 # Extract the first word of "windres", so it can be a program name with args.
5861 set dummy windres; ac_word=$2
5862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5864 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 else
5867 if test -n "$ac_ct_WINDRES"; then
5868 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5869 else
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 for as_dir in $PATH
5873 IFS=$as_save_IFS
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877 ac_cv_prog_ac_ct_WINDRES="windres"
5878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 break 2
5881 done
5882 done
5883 IFS=$as_save_IFS
5887 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5888 if test -n "$ac_ct_WINDRES"; then
5889 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5890 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5891 else
5892 { echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6; }
5896 if test "x$ac_ct_WINDRES" = x; then
5897 WINDRES="false"
5898 else
5899 case $cross_compiling:$ac_tool_warned in
5900 yes:)
5901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5902 whose name does not start with the host triplet. If you think this
5903 configuration is useful to you, please write to autoconf@gnu.org." >&5
5904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5905 whose name does not start with the host triplet. If you think this
5906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5907 ac_tool_warned=yes ;;
5908 esac
5909 WINDRES=$ac_ct_WINDRES
5911 else
5912 WINDRES="$ac_cv_prog_WINDRES"
5915 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5916 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5917 LN_S=$as_ln_s
5918 if test "$LN_S" = "ln -s"; then
5919 { echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6; }
5921 else
5922 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5923 echo "${ECHO_T}no, using $LN_S" >&6; }
5926 { echo "$as_me:$LINENO: checking whether ln works" >&5
5927 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5928 rm -f conf$$ conf$$.file
5929 echo >conf$$.file
5930 if ln conf$$.file conf$$ 2>/dev/null; then
5931 LN=ln
5933 { echo "$as_me:$LINENO: result: yes" >&5
5934 echo "${ECHO_T}yes" >&6; }
5935 else
5936 LN="cp -p"
5938 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5939 echo "${ECHO_T}no, using $LN" >&6; }
5941 rm -f conf$$ conf$$.file
5942 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5943 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5944 if test "${ac_cv_path_GREP+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 else
5947 # Extract the first word of "grep ggrep" to use in msg output
5948 if test -z "$GREP"; then
5949 set dummy grep ggrep; ac_prog_name=$2
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953 ac_path_GREP_found=false
5954 # Loop through the user's path and test for each of PROGNAME-LIST
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5958 IFS=$as_save_IFS
5959 test -z "$as_dir" && as_dir=.
5960 for ac_prog in grep ggrep; do
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5963 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5964 # Check for GNU ac_path_GREP and select it if it is found.
5965 # Check for GNU $ac_path_GREP
5966 case `"$ac_path_GREP" --version 2>&1` in
5967 *GNU*)
5968 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5970 ac_count=0
5971 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5972 while :
5974 cat "conftest.in" "conftest.in" >"conftest.tmp"
5975 mv "conftest.tmp" "conftest.in"
5976 cp "conftest.in" "conftest.nl"
5977 echo 'GREP' >> "conftest.nl"
5978 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5979 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5980 ac_count=`expr $ac_count + 1`
5981 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5982 # Best one so far, save it but keep looking for a better one
5983 ac_cv_path_GREP="$ac_path_GREP"
5984 ac_path_GREP_max=$ac_count
5986 # 10*(2^10) chars as input seems more than enough
5987 test $ac_count -gt 10 && break
5988 done
5989 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5990 esac
5993 $ac_path_GREP_found && break 3
5994 done
5995 done
5997 done
5998 IFS=$as_save_IFS
6003 GREP="$ac_cv_path_GREP"
6004 if test -z "$GREP"; then
6005 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6006 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6007 { (exit 1); exit 1; }; }
6010 else
6011 ac_cv_path_GREP=$GREP
6016 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6017 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6018 GREP="$ac_cv_path_GREP"
6021 { echo "$as_me:$LINENO: checking for egrep" >&5
6022 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6023 if test "${ac_cv_path_EGREP+set}" = set; then
6024 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 else
6026 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6027 then ac_cv_path_EGREP="$GREP -E"
6028 else
6029 # Extract the first word of "egrep" to use in msg output
6030 if test -z "$EGREP"; then
6031 set dummy egrep; ac_prog_name=$2
6032 if test "${ac_cv_path_EGREP+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 else
6035 ac_path_EGREP_found=false
6036 # Loop through the user's path and test for each of PROGNAME-LIST
6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6040 IFS=$as_save_IFS
6041 test -z "$as_dir" && as_dir=.
6042 for ac_prog in egrep; do
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6045 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6046 # Check for GNU ac_path_EGREP and select it if it is found.
6047 # Check for GNU $ac_path_EGREP
6048 case `"$ac_path_EGREP" --version 2>&1` in
6049 *GNU*)
6050 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6052 ac_count=0
6053 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6054 while :
6056 cat "conftest.in" "conftest.in" >"conftest.tmp"
6057 mv "conftest.tmp" "conftest.in"
6058 cp "conftest.in" "conftest.nl"
6059 echo 'EGREP' >> "conftest.nl"
6060 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6061 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6062 ac_count=`expr $ac_count + 1`
6063 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6064 # Best one so far, save it but keep looking for a better one
6065 ac_cv_path_EGREP="$ac_path_EGREP"
6066 ac_path_EGREP_max=$ac_count
6068 # 10*(2^10) chars as input seems more than enough
6069 test $ac_count -gt 10 && break
6070 done
6071 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6072 esac
6075 $ac_path_EGREP_found && break 3
6076 done
6077 done
6079 done
6080 IFS=$as_save_IFS
6085 EGREP="$ac_cv_path_EGREP"
6086 if test -z "$EGREP"; then
6087 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6088 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6089 { (exit 1); exit 1; }; }
6092 else
6093 ac_cv_path_EGREP=$EGREP
6099 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6100 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6101 EGREP="$ac_cv_path_EGREP"
6104 # Extract the first word of "ldconfig", so it can be a program name with args.
6105 set dummy ldconfig; ac_word=$2
6106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6108 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 else
6111 case $LDCONFIG in
6112 [\\/]* | ?:[\\/]*)
6113 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in /sbin /usr/sbin $PATH
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6127 done
6128 done
6129 IFS=$as_save_IFS
6131 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6133 esac
6135 LDCONFIG=$ac_cv_path_LDCONFIG
6136 if test -n "$LDCONFIG"; then
6137 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6138 echo "${ECHO_T}$LDCONFIG" >&6; }
6139 else
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 # Find a good install program. We prefer a C program (faster),
6146 # so one script is as good as another. But avoid the broken or
6147 # incompatible versions:
6148 # SysV /etc/install, /usr/sbin/install
6149 # SunOS /usr/etc/install
6150 # IRIX /sbin/install
6151 # AIX /bin/install
6152 # AmigaOS /C/install, which installs bootblocks on floppy discs
6153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6156 # OS/2's system install, which has a completely different semantic
6157 # ./install, which can be erroneously created by make from ./install.sh.
6158 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6159 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6160 if test -z "$INSTALL"; then
6161 if test "${ac_cv_path_install+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 # Account for people who put trailing slashes in PATH elements.
6170 case $as_dir/ in
6171 ./ | .// | /cC/* | \
6172 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6173 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6174 /usr/ucb/* ) ;;
6176 # OSF1 and SCO ODT 3.0 have their own names for install.
6177 # Don't use installbsd from OSF since it installs stuff as root
6178 # by default.
6179 for ac_prog in ginstall scoinst install; do
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6181 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6182 if test $ac_prog = install &&
6183 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6184 # AIX install. It has an incompatible calling convention.
6186 elif test $ac_prog = install &&
6187 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6188 # program-specific install script used by HP pwplus--don't use.
6190 else
6191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6192 break 3
6195 done
6196 done
6198 esac
6199 done
6200 IFS=$as_save_IFS
6204 if test "${ac_cv_path_install+set}" = set; then
6205 INSTALL=$ac_cv_path_install
6206 else
6207 # As a last resort, use the slow shell script. Don't cache a
6208 # value for INSTALL within a source directory, because that will
6209 # break other packages using the cache if that directory is
6210 # removed, or if the value is a relative name.
6211 INSTALL=$ac_install_sh
6214 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6215 echo "${ECHO_T}$INSTALL" >&6; }
6217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6218 # It thinks the first close brace ends the variable substitution.
6219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6225 case "$INSTALL" in
6226 [\\/$]* | ?:[\\/]* ) ;;
6227 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6228 esac
6230 for ac_prog in lclint lint
6232 # Extract the first word of "$ac_prog", so it can be a program name with args.
6233 set dummy $ac_prog; ac_word=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_LINT+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 else
6239 if test -n "$LINT"; then
6240 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_LINT="$ac_prog"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 LINT=$ac_cv_prog_LINT
6260 if test -n "$LINT"; then
6261 { echo "$as_me:$LINENO: result: $LINT" >&5
6262 echo "${ECHO_T}$LINT" >&6; }
6263 else
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6269 test -n "$LINT" && break
6270 done
6272 if test "$LINT" = "lint"
6273 then
6274 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6279 for ac_prog in fontforge
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6285 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 if test -n "$FONTFORGE"; then
6289 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 ac_cv_prog_FONTFORGE="$ac_prog"
6299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6302 done
6303 done
6304 IFS=$as_save_IFS
6308 FONTFORGE=$ac_cv_prog_FONTFORGE
6309 if test -n "$FONTFORGE"; then
6310 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6311 echo "${ECHO_T}$FONTFORGE" >&6; }
6312 else
6313 { echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6; }
6318 test -n "$FONTFORGE" && break
6319 done
6320 test -n "$FONTFORGE" || FONTFORGE="false"
6322 for ac_prog in pkg-config
6324 # Extract the first word of "$ac_prog", so it can be a program name with args.
6325 set dummy $ac_prog; ac_word=$2
6326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6328 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 else
6331 if test -n "$PKG_CONFIG"; then
6332 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6333 else
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6335 for as_dir in $PATH
6337 IFS=$as_save_IFS
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_prog_PKG_CONFIG="$ac_prog"
6342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 break 2
6345 done
6346 done
6347 IFS=$as_save_IFS
6351 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6352 if test -n "$PKG_CONFIG"; then
6353 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6354 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6355 else
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6361 test -n "$PKG_CONFIG" && break
6362 done
6363 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6366 case $host_cpu in
6367 *i[3456789]86*)
6368 # Extract the first word of "prelink", so it can be a program name with args.
6369 set dummy prelink; ac_word=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_path_PRELINK+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 else
6375 case $PRELINK in
6376 [\\/]* | ?:[\\/]*)
6377 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 for as_dir in /sbin /usr/sbin $PATH
6383 IFS=$as_save_IFS
6384 test -z "$as_dir" && as_dir=.
6385 for ac_exec_ext in '' $ac_executable_extensions; do
6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 break 2
6391 done
6392 done
6393 IFS=$as_save_IFS
6395 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6397 esac
6399 PRELINK=$ac_cv_path_PRELINK
6400 if test -n "$PRELINK"; then
6401 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6402 echo "${ECHO_T}$PRELINK" >&6; }
6403 else
6404 { echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6; }
6410 esac
6414 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6415 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6416 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 else
6419 ac_check_lib_save_LIBS=$LIBS
6420 LIBS="-li386 $LIBS"
6421 cat >conftest.$ac_ext <<_ACEOF
6422 /* confdefs.h. */
6423 _ACEOF
6424 cat confdefs.h >>conftest.$ac_ext
6425 cat >>conftest.$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6428 /* Override any GCC internal prototype to avoid an error.
6429 Use char because int might match the return type of a GCC
6430 builtin and then its argument prototype would still apply. */
6431 #ifdef __cplusplus
6432 extern "C"
6433 #endif
6434 char i386_set_ldt ();
6436 main ()
6438 return i386_set_ldt ();
6440 return 0;
6442 _ACEOF
6443 rm -f conftest.$ac_objext conftest$ac_exeext
6444 if { (ac_try="$ac_link"
6445 case "(($ac_try" in
6446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6447 *) ac_try_echo=$ac_try;;
6448 esac
6449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6450 (eval "$ac_link") 2>conftest.er1
6451 ac_status=$?
6452 grep -v '^ *+' conftest.er1 >conftest.err
6453 rm -f conftest.er1
6454 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } && {
6457 test -z "$ac_c_werror_flag" ||
6458 test ! -s conftest.err
6459 } && test -s conftest$ac_exeext &&
6460 $as_test_x conftest$ac_exeext; then
6461 ac_cv_lib_i386_i386_set_ldt=yes
6462 else
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_cv_lib_i386_i386_set_ldt=no
6469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6470 conftest$ac_exeext conftest.$ac_ext
6471 LIBS=$ac_check_lib_save_LIBS
6473 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6474 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6475 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6476 cat >>confdefs.h <<_ACEOF
6477 #define HAVE_LIBI386 1
6478 _ACEOF
6480 LIBS="-li386 $LIBS"
6485 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6486 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6487 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 else
6490 ac_check_lib_save_LIBS=$LIBS
6491 LIBS="-lossaudio $LIBS"
6492 cat >conftest.$ac_ext <<_ACEOF
6493 /* confdefs.h. */
6494 _ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6499 /* Override any GCC internal prototype to avoid an error.
6500 Use char because int might match the return type of a GCC
6501 builtin and then its argument prototype would still apply. */
6502 #ifdef __cplusplus
6503 extern "C"
6504 #endif
6505 char _oss_ioctl ();
6507 main ()
6509 return _oss_ioctl ();
6511 return 0;
6513 _ACEOF
6514 rm -f conftest.$ac_objext conftest$ac_exeext
6515 if { (ac_try="$ac_link"
6516 case "(($ac_try" in
6517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6518 *) ac_try_echo=$ac_try;;
6519 esac
6520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6521 (eval "$ac_link") 2>conftest.er1
6522 ac_status=$?
6523 grep -v '^ *+' conftest.er1 >conftest.err
6524 rm -f conftest.er1
6525 cat conftest.err >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && {
6528 test -z "$ac_c_werror_flag" ||
6529 test ! -s conftest.err
6530 } && test -s conftest$ac_exeext &&
6531 $as_test_x conftest$ac_exeext; then
6532 ac_cv_lib_ossaudio__oss_ioctl=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_lib_ossaudio__oss_ioctl=no
6540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6541 conftest$ac_exeext conftest.$ac_ext
6542 LIBS=$ac_check_lib_save_LIBS
6544 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6545 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6546 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6547 cat >>confdefs.h <<_ACEOF
6548 #define HAVE_LIBOSSAUDIO 1
6549 _ACEOF
6551 LIBS="-lossaudio $LIBS"
6555 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6556 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6557 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 else
6560 ac_check_lib_save_LIBS=$LIBS
6561 LIBS="-lpthread $LIBS"
6562 cat >conftest.$ac_ext <<_ACEOF
6563 /* confdefs.h. */
6564 _ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6569 /* Override any GCC internal prototype to avoid an error.
6570 Use char because int might match the return type of a GCC
6571 builtin and then its argument prototype would still apply. */
6572 #ifdef __cplusplus
6573 extern "C"
6574 #endif
6575 char pthread_create ();
6577 main ()
6579 return pthread_create ();
6581 return 0;
6583 _ACEOF
6584 rm -f conftest.$ac_objext conftest$ac_exeext
6585 if { (ac_try="$ac_link"
6586 case "(($ac_try" in
6587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6588 *) ac_try_echo=$ac_try;;
6589 esac
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_link") 2>conftest.er1
6592 ac_status=$?
6593 grep -v '^ *+' conftest.er1 >conftest.err
6594 rm -f conftest.er1
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest$ac_exeext &&
6601 $as_test_x conftest$ac_exeext; then
6602 ac_cv_lib_pthread_pthread_create=yes
6603 else
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6607 ac_cv_lib_pthread_pthread_create=no
6610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6611 conftest$ac_exeext conftest.$ac_ext
6612 LIBS=$ac_check_lib_save_LIBS
6614 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6615 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6616 if test $ac_cv_lib_pthread_pthread_create = yes; then
6617 LIBPTHREAD="-lpthread"
6622 XLIB=""
6624 XFILES=""
6626 OPENGLFILES=""
6628 GLU32FILES=""
6630 OPENGL_LIBS=""
6632 QUARTZFILES=""
6636 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6637 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6638 if test "${ac_cv_header_stdc+set}" = set; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 else
6641 cat >conftest.$ac_ext <<_ACEOF
6642 /* confdefs.h. */
6643 _ACEOF
6644 cat confdefs.h >>conftest.$ac_ext
6645 cat >>conftest.$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6647 #include <stdlib.h>
6648 #include <stdarg.h>
6649 #include <string.h>
6650 #include <float.h>
6653 main ()
6657 return 0;
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (ac_try="$ac_compile"
6662 case "(($ac_try" in
6663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6664 *) ac_try_echo=$ac_try;;
6665 esac
6666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6667 (eval "$ac_compile") 2>conftest.er1
6668 ac_status=$?
6669 grep -v '^ *+' conftest.er1 >conftest.err
6670 rm -f conftest.er1
6671 cat conftest.err >&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } && {
6674 test -z "$ac_c_werror_flag" ||
6675 test ! -s conftest.err
6676 } && test -s conftest.$ac_objext; then
6677 ac_cv_header_stdc=yes
6678 else
6679 echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.$ac_ext >&5
6682 ac_cv_header_stdc=no
6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6687 if test $ac_cv_header_stdc = yes; then
6688 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
6697 _ACEOF
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6710 cat >conftest.$ac_ext <<_ACEOF
6711 /* confdefs.h. */
6712 _ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 #include <stdlib.h>
6718 _ACEOF
6719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6720 $EGREP "free" >/dev/null 2>&1; then
6722 else
6723 ac_cv_header_stdc=no
6725 rm -f conftest*
6729 if test $ac_cv_header_stdc = yes; then
6730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6731 if test "$cross_compiling" = yes; then
6733 else
6734 cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h. */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 #include <ctype.h>
6741 #include <stdlib.h>
6742 #if ((' ' & 0x0FF) == 0x020)
6743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6745 #else
6746 # define ISLOWER(c) \
6747 (('a' <= (c) && (c) <= 'i') \
6748 || ('j' <= (c) && (c) <= 'r') \
6749 || ('s' <= (c) && (c) <= 'z'))
6750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6751 #endif
6753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6755 main ()
6757 int i;
6758 for (i = 0; i < 256; i++)
6759 if (XOR (islower (i), ISLOWER (i))
6760 || toupper (i) != TOUPPER (i))
6761 return 2;
6762 return 0;
6764 _ACEOF
6765 rm -f conftest$ac_exeext
6766 if { (ac_try="$ac_link"
6767 case "(($ac_try" in
6768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6770 esac
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_link") 2>&5
6773 ac_status=$?
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6776 { (case "(($ac_try" in
6777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6778 *) ac_try_echo=$ac_try;;
6779 esac
6780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6781 (eval "$ac_try") 2>&5
6782 ac_status=$?
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6786 else
6787 echo "$as_me: program exited with status $ac_status" >&5
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6791 ( exit $ac_status )
6792 ac_cv_header_stdc=no
6794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6800 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6801 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6802 if test $ac_cv_header_stdc = yes; then
6804 cat >>confdefs.h <<\_ACEOF
6805 #define STDC_HEADERS 1
6806 _ACEOF
6810 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6820 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6821 inttypes.h stdint.h unistd.h
6823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6828 else
6829 cat >conftest.$ac_ext <<_ACEOF
6830 /* confdefs.h. */
6831 _ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 $ac_includes_default
6837 #include <$ac_header>
6838 _ACEOF
6839 rm -f conftest.$ac_objext
6840 if { (ac_try="$ac_compile"
6841 case "(($ac_try" in
6842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6844 esac
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6847 ac_status=$?
6848 grep -v '^ *+' conftest.er1 >conftest.err
6849 rm -f conftest.er1
6850 cat conftest.err >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.$ac_objext; then
6856 eval "$as_ac_Header=yes"
6857 else
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.$ac_ext >&5
6861 eval "$as_ac_Header=no"
6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6866 ac_res=`eval echo '${'$as_ac_Header'}'`
6867 { echo "$as_me:$LINENO: result: $ac_res" >&5
6868 echo "${ECHO_T}$ac_res" >&6; }
6869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6870 cat >>confdefs.h <<_ACEOF
6871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 _ACEOF
6876 done
6989 for ac_header in \
6990 AudioUnit/AudioUnit.h \
6991 Carbon/Carbon.h \
6992 CoreAudio/CoreAudio.h \
6993 DiskArbitration/DiskArbitration.h \
6994 IOKit/IOKitLib.h \
6995 alsa/asoundlib.h \
6996 arpa/inet.h \
6997 arpa/nameser.h \
6998 asm/types.h \
6999 capi20.h \
7000 cups/cups.h \
7001 curses.h \
7002 direct.h \
7003 dlfcn.h \
7004 elf.h \
7005 float.h \
7006 fontconfig/fontconfig.h \
7007 getopt.h \
7008 ieeefp.h \
7009 io.h \
7010 jack/jack.h \
7011 jpeglib.h \
7012 lber.h \
7013 lcms.h \
7014 lcms/lcms.h \
7015 ldap.h \
7016 libaudioio.h \
7017 link.h \
7018 linux/cdrom.h \
7019 linux/compiler.h \
7020 linux/hdreg.h \
7021 linux/input.h \
7022 linux/ioctl.h \
7023 linux/joystick.h \
7024 linux/major.h \
7025 linux/param.h \
7026 linux/serial.h \
7027 linux/ucdrom.h \
7028 mach/mach.h \
7029 mach/machine.h \
7030 machine/cpu.h \
7031 machine/limits.h \
7032 machine/soundcard.h \
7033 mntent.h \
7034 ncurses.h \
7035 netdb.h \
7036 netinet/in.h \
7037 netinet/in_systm.h \
7038 netinet/tcp.h \
7039 netinet/tcp_fsm.h \
7040 openssl/err.h \
7041 openssl/ssl.h \
7042 png.h \
7043 poll.h \
7044 process.h \
7045 pthread.h \
7046 pwd.h \
7047 regex.h \
7048 sched.h \
7049 scsi/scsi.h \
7050 scsi/scsi_ioctl.h \
7051 scsi/sg.h \
7052 soundcard.h \
7053 stdint.h \
7054 strings.h \
7055 sys/asoundlib.h \
7056 sys/cdio.h \
7057 sys/elf32.h \
7058 sys/epoll.h \
7059 sys/errno.h \
7060 sys/event.h \
7061 sys/exec_elf.h \
7062 sys/filio.h \
7063 sys/ioctl.h \
7064 sys/ipc.h \
7065 sys/limits.h \
7066 sys/link.h \
7067 sys/lwp.h \
7068 sys/mman.h \
7069 sys/modem.h \
7070 sys/msg.h \
7071 sys/mtio.h \
7072 sys/param.h \
7073 sys/poll.h \
7074 sys/prctl.h \
7075 sys/ptrace.h \
7076 sys/reg.h \
7077 sys/resource.h \
7078 sys/scsiio.h \
7079 sys/shm.h \
7080 sys/signal.h \
7081 sys/socket.h \
7082 sys/socketvar.h \
7083 sys/sockio.h \
7084 sys/soundcard.h \
7085 sys/statvfs.h \
7086 sys/strtio.h \
7087 sys/syscall.h \
7088 sys/sysctl.h \
7089 sys/time.h \
7090 sys/times.h \
7091 sys/uio.h \
7092 sys/un.h \
7093 sys/vm86.h \
7094 sys/wait.h \
7095 syscall.h \
7096 termios.h \
7097 unistd.h \
7098 utime.h \
7099 valgrind/memcheck.h
7102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7106 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7107 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 ac_res=`eval echo '${'$as_ac_Header'}'`
7110 { echo "$as_me:$LINENO: result: $ac_res" >&5
7111 echo "${ECHO_T}$ac_res" >&6; }
7112 else
7113 # Is the header compilable?
7114 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7116 cat >conftest.$ac_ext <<_ACEOF
7117 /* confdefs.h. */
7118 _ACEOF
7119 cat confdefs.h >>conftest.$ac_ext
7120 cat >>conftest.$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7122 $ac_includes_default
7123 #include <$ac_header>
7124 _ACEOF
7125 rm -f conftest.$ac_objext
7126 if { (ac_try="$ac_compile"
7127 case "(($ac_try" in
7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7129 *) ac_try_echo=$ac_try;;
7130 esac
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_compile") 2>conftest.er1
7133 ac_status=$?
7134 grep -v '^ *+' conftest.er1 >conftest.err
7135 rm -f conftest.er1
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest.$ac_objext; then
7142 ac_header_compiler=yes
7143 else
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 ac_header_compiler=no
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7152 echo "${ECHO_T}$ac_header_compiler" >&6; }
7154 # Is the header present?
7155 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7157 cat >conftest.$ac_ext <<_ACEOF
7158 /* confdefs.h. */
7159 _ACEOF
7160 cat confdefs.h >>conftest.$ac_ext
7161 cat >>conftest.$ac_ext <<_ACEOF
7162 /* end confdefs.h. */
7163 #include <$ac_header>
7164 _ACEOF
7165 if { (ac_try="$ac_cpp conftest.$ac_ext"
7166 case "(($ac_try" in
7167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7168 *) ac_try_echo=$ac_try;;
7169 esac
7170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7172 ac_status=$?
7173 grep -v '^ *+' conftest.er1 >conftest.err
7174 rm -f conftest.er1
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } >/dev/null && {
7178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7179 test ! -s conftest.err
7180 }; then
7181 ac_header_preproc=yes
7182 else
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_header_preproc=no
7189 rm -f conftest.err conftest.$ac_ext
7190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7191 echo "${ECHO_T}$ac_header_preproc" >&6; }
7193 # So? What about this header?
7194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7195 yes:no: )
7196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7200 ac_header_preproc=yes
7202 no:yes:* )
7203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7215 ( cat <<\_ASBOX
7216 ## ------------------------------------ ##
7217 ## Report this to wine-devel@winehq.org ##
7218 ## ------------------------------------ ##
7219 _ASBOX
7220 ) | sed "s/^/$as_me: WARNING: /" >&2
7222 esac
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 eval "$as_ac_Header=\$ac_header_preproc"
7230 ac_res=`eval echo '${'$as_ac_Header'}'`
7231 { echo "$as_me:$LINENO: result: $ac_res" >&5
7232 echo "${ECHO_T}$ac_res" >&6; }
7235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7236 cat >>confdefs.h <<_ACEOF
7237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7238 _ACEOF
7242 done
7244 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7245 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7246 if test "${ac_cv_header_stat_broken+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 else
7249 cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h. */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <sys/types.h>
7256 #include <sys/stat.h>
7258 #if defined S_ISBLK && defined S_IFDIR
7259 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7260 #endif
7262 #if defined S_ISBLK && defined S_IFCHR
7263 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7264 #endif
7266 #if defined S_ISLNK && defined S_IFREG
7267 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7268 #endif
7270 #if defined S_ISSOCK && defined S_IFREG
7271 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7272 #endif
7274 _ACEOF
7275 rm -f conftest.$ac_objext
7276 if { (ac_try="$ac_compile"
7277 case "(($ac_try" in
7278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7279 *) ac_try_echo=$ac_try;;
7280 esac
7281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7282 (eval "$ac_compile") 2>conftest.er1
7283 ac_status=$?
7284 grep -v '^ *+' conftest.er1 >conftest.err
7285 rm -f conftest.er1
7286 cat conftest.err >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); } && {
7289 test -z "$ac_c_werror_flag" ||
7290 test ! -s conftest.err
7291 } && test -s conftest.$ac_objext; then
7292 ac_cv_header_stat_broken=no
7293 else
7294 echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7297 ac_cv_header_stat_broken=yes
7300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7302 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7303 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7304 if test $ac_cv_header_stat_broken = yes; then
7306 cat >>confdefs.h <<\_ACEOF
7307 #define STAT_MACROS_BROKEN 1
7308 _ACEOF
7318 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7325 else
7326 cat >conftest.$ac_ext <<_ACEOF
7327 /* confdefs.h. */
7328 _ACEOF
7329 cat confdefs.h >>conftest.$ac_ext
7330 cat >>conftest.$ac_ext <<_ACEOF
7331 /* end confdefs.h. */
7332 #include <sys/types.h>
7333 #ifdef HAVE_SYS_PARAM_H
7334 # include <sys/param.h>
7335 #endif
7337 #include <$ac_header>
7338 _ACEOF
7339 rm -f conftest.$ac_objext
7340 if { (ac_try="$ac_compile"
7341 case "(($ac_try" in
7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7343 *) ac_try_echo=$ac_try;;
7344 esac
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_compile") 2>conftest.er1
7347 ac_status=$?
7348 grep -v '^ *+' conftest.er1 >conftest.err
7349 rm -f conftest.er1
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest.$ac_objext; then
7356 eval "$as_ac_Header=yes"
7357 else
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.$ac_ext >&5
7361 eval "$as_ac_Header=no"
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 ac_res=`eval echo '${'$as_ac_Header'}'`
7367 { echo "$as_me:$LINENO: result: $ac_res" >&5
7368 echo "${ECHO_T}$ac_res" >&6; }
7369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7370 cat >>confdefs.h <<_ACEOF
7371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7372 _ACEOF
7376 done
7387 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
7389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 else
7395 cat >conftest.$ac_ext <<_ACEOF
7396 /* confdefs.h. */
7397 _ACEOF
7398 cat confdefs.h >>conftest.$ac_ext
7399 cat >>conftest.$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7401 #include <sys/types.h>
7402 #ifdef HAVE_SYS_SOCKET_H
7403 # include <sys/socket.h>
7404 #endif
7405 #ifdef HAVE_SYS_SOCKETVAR_H
7406 # include <sys/socketvar.h>
7407 #endif
7408 #ifdef HAVE_NETINET_IN_H
7409 # include <netinet/in.h>
7410 #endif
7412 #include <$ac_header>
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (ac_try="$ac_compile"
7416 case "(($ac_try" in
7417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7418 *) ac_try_echo=$ac_try;;
7419 esac
7420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7422 ac_status=$?
7423 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_c_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.$ac_objext; then
7431 eval "$as_ac_Header=yes"
7432 else
7433 echo "$as_me: failed program was:" >&5
7434 sed 's/^/| /' conftest.$ac_ext >&5
7436 eval "$as_ac_Header=no"
7439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7441 ac_res=`eval echo '${'$as_ac_Header'}'`
7442 { echo "$as_me:$LINENO: result: $ac_res" >&5
7443 echo "${ECHO_T}$ac_res" >&6; }
7444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7445 cat >>confdefs.h <<_ACEOF
7446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7447 _ACEOF
7451 done
7455 for ac_header in netinet/tcp_var.h
7457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7461 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 else
7463 cat >conftest.$ac_ext <<_ACEOF
7464 /* confdefs.h. */
7465 _ACEOF
7466 cat confdefs.h >>conftest.$ac_ext
7467 cat >>conftest.$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7469 #include <sys/types.h>
7470 #ifdef HAVE_SYS_SOCKET_H
7471 # include <sys/socket.h>
7472 #endif
7473 #ifdef HAVE_SYS_SOCKETVAR_H
7474 # include <sys/socketvar.h>
7475 #endif
7476 #ifdef HAVE_NETINET_IN_H
7477 # include <netinet/in.h>
7478 #endif
7479 #ifdef HAVE_NETINET_TCP_H
7480 # include <netinet/tcp.h>
7481 #endif
7483 #include <$ac_header>
7484 _ACEOF
7485 rm -f conftest.$ac_objext
7486 if { (ac_try="$ac_compile"
7487 case "(($ac_try" in
7488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7489 *) ac_try_echo=$ac_try;;
7490 esac
7491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7492 (eval "$ac_compile") 2>conftest.er1
7493 ac_status=$?
7494 grep -v '^ *+' conftest.er1 >conftest.err
7495 rm -f conftest.er1
7496 cat conftest.err >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); } && {
7499 test -z "$ac_c_werror_flag" ||
7500 test ! -s conftest.err
7501 } && test -s conftest.$ac_objext; then
7502 eval "$as_ac_Header=yes"
7503 else
7504 echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 eval "$as_ac_Header=no"
7510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7512 ac_res=`eval echo '${'$as_ac_Header'}'`
7513 { echo "$as_me:$LINENO: result: $ac_res" >&5
7514 echo "${ECHO_T}$ac_res" >&6; }
7515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7516 cat >>confdefs.h <<_ACEOF
7517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7518 _ACEOF
7522 done
7526 for ac_header in linux/ipx.h
7528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 else
7534 cat >conftest.$ac_ext <<_ACEOF
7535 /* confdefs.h. */
7536 _ACEOF
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7540 #include <sys/types.h>
7541 #ifdef HAVE_ASM_TYPES_H
7542 # include <asm/types.h>
7543 #endif
7544 #ifdef HAVE_SYS_SOCKET_H
7545 # include <sys/socket.h>
7546 #endif
7548 #include <$ac_header>
7549 _ACEOF
7550 rm -f conftest.$ac_objext
7551 if { (ac_try="$ac_compile"
7552 case "(($ac_try" in
7553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7554 *) ac_try_echo=$ac_try;;
7555 esac
7556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7557 (eval "$ac_compile") 2>conftest.er1
7558 ac_status=$?
7559 grep -v '^ *+' conftest.er1 >conftest.err
7560 rm -f conftest.er1
7561 cat conftest.err >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } && {
7564 test -z "$ac_c_werror_flag" ||
7565 test ! -s conftest.err
7566 } && test -s conftest.$ac_objext; then
7567 eval "$as_ac_Header=yes"
7568 else
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 eval "$as_ac_Header=no"
7575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7577 ac_res=`eval echo '${'$as_ac_Header'}'`
7578 { echo "$as_me:$LINENO: result: $ac_res" >&5
7579 echo "${ECHO_T}$ac_res" >&6; }
7580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7581 cat >>confdefs.h <<_ACEOF
7582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7583 _ACEOF
7587 done
7591 for ac_header in resolv.h
7593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7598 else
7599 cat >conftest.$ac_ext <<_ACEOF
7600 /* confdefs.h. */
7601 _ACEOF
7602 cat confdefs.h >>conftest.$ac_ext
7603 cat >>conftest.$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7605 #include <sys/types.h>
7606 #ifdef HAVE_SYS_SOCKET_H
7607 # include <sys/socket.h>
7608 #endif
7609 #ifdef HAVE_NETINET_IN_H
7610 # include <netinet/in.h>
7611 #endif
7612 #ifdef HAVE_ARPA_NAMESER_H
7613 # include <arpa/nameser.h>
7614 #endif
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 for ac_header in ucontext.h
7661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7666 else
7667 cat >conftest.$ac_ext <<_ACEOF
7668 /* confdefs.h. */
7669 _ACEOF
7670 cat confdefs.h >>conftest.$ac_ext
7671 cat >>conftest.$ac_ext <<_ACEOF
7672 /* end confdefs.h. */
7673 #include <signal.h>
7675 #include <$ac_header>
7676 _ACEOF
7677 rm -f conftest.$ac_objext
7678 if { (ac_try="$ac_compile"
7679 case "(($ac_try" in
7680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7681 *) ac_try_echo=$ac_try;;
7682 esac
7683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7684 (eval "$ac_compile") 2>conftest.er1
7685 ac_status=$?
7686 grep -v '^ *+' conftest.er1 >conftest.err
7687 rm -f conftest.er1
7688 cat conftest.err >&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); } && {
7691 test -z "$ac_c_werror_flag" ||
7692 test ! -s conftest.err
7693 } && test -s conftest.$ac_objext; then
7694 eval "$as_ac_Header=yes"
7695 else
7696 echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.$ac_ext >&5
7699 eval "$as_ac_Header=no"
7702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7704 ac_res=`eval echo '${'$as_ac_Header'}'`
7705 { echo "$as_me:$LINENO: result: $ac_res" >&5
7706 echo "${ECHO_T}$ac_res" >&6; }
7707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7708 cat >>confdefs.h <<_ACEOF
7709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7710 _ACEOF
7714 done
7718 for ac_header in sys/thr.h
7720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7725 else
7726 cat >conftest.$ac_ext <<_ACEOF
7727 /* confdefs.h. */
7728 _ACEOF
7729 cat confdefs.h >>conftest.$ac_ext
7730 cat >>conftest.$ac_ext <<_ACEOF
7731 /* end confdefs.h. */
7732 #include <sys/types.h>
7733 #ifdef HAVE_UCONTEXT_H
7734 #include <ucontext.h>
7735 #endif
7737 #include <$ac_header>
7738 _ACEOF
7739 rm -f conftest.$ac_objext
7740 if { (ac_try="$ac_compile"
7741 case "(($ac_try" in
7742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743 *) ac_try_echo=$ac_try;;
7744 esac
7745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746 (eval "$ac_compile") 2>conftest.er1
7747 ac_status=$?
7748 grep -v '^ *+' conftest.er1 >conftest.err
7749 rm -f conftest.er1
7750 cat conftest.err >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } && {
7753 test -z "$ac_c_werror_flag" ||
7754 test ! -s conftest.err
7755 } && test -s conftest.$ac_objext; then
7756 eval "$as_ac_Header=yes"
7757 else
7758 echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7761 eval "$as_ac_Header=no"
7764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7766 ac_res=`eval echo '${'$as_ac_Header'}'`
7767 { echo "$as_me:$LINENO: result: $ac_res" >&5
7768 echo "${ECHO_T}$ac_res" >&6; }
7769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7770 cat >>confdefs.h <<_ACEOF
7771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7772 _ACEOF
7776 done
7780 for ac_header in pthread_np.h
7782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 else
7788 cat >conftest.$ac_ext <<_ACEOF
7789 /* confdefs.h. */
7790 _ACEOF
7791 cat confdefs.h >>conftest.$ac_ext
7792 cat >>conftest.$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7794 #ifdef HAVE_PTHREAD_H
7795 #include <pthread.h>
7796 #endif
7798 #include <$ac_header>
7799 _ACEOF
7800 rm -f conftest.$ac_objext
7801 if { (ac_try="$ac_compile"
7802 case "(($ac_try" in
7803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7804 *) ac_try_echo=$ac_try;;
7805 esac
7806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7807 (eval "$ac_compile") 2>conftest.er1
7808 ac_status=$?
7809 grep -v '^ *+' conftest.er1 >conftest.err
7810 rm -f conftest.er1
7811 cat conftest.err >&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 (exit $ac_status); } && {
7814 test -z "$ac_c_werror_flag" ||
7815 test ! -s conftest.err
7816 } && test -s conftest.$ac_objext; then
7817 eval "$as_ac_Header=yes"
7818 else
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7822 eval "$as_ac_Header=no"
7825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827 ac_res=`eval echo '${'$as_ac_Header'}'`
7828 { echo "$as_me:$LINENO: result: $ac_res" >&5
7829 echo "${ECHO_T}$ac_res" >&6; }
7830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7831 cat >>confdefs.h <<_ACEOF
7832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7833 _ACEOF
7837 done
7841 for ac_header in linux/videodev.h
7843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7844 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7847 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 else
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
7854 /* end confdefs.h. */
7855 #ifdef HAVE_SYS_TIME_H
7856 #include <sys/time.h>
7857 #endif
7858 #include <sys/types.h>
7859 #ifdef HAVE_ASM_TYPES_H
7860 #include <asm/types.h>
7861 #endif
7863 #include <$ac_header>
7864 _ACEOF
7865 rm -f conftest.$ac_objext
7866 if { (ac_try="$ac_compile"
7867 case "(($ac_try" in
7868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7869 *) ac_try_echo=$ac_try;;
7870 esac
7871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7872 (eval "$ac_compile") 2>conftest.er1
7873 ac_status=$?
7874 grep -v '^ *+' conftest.er1 >conftest.err
7875 rm -f conftest.er1
7876 cat conftest.err >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } && {
7879 test -z "$ac_c_werror_flag" ||
7880 test ! -s conftest.err
7881 } && test -s conftest.$ac_objext; then
7882 eval "$as_ac_Header=yes"
7883 else
7884 echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.$ac_ext >&5
7887 eval "$as_ac_Header=no"
7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7892 ac_res=`eval echo '${'$as_ac_Header'}'`
7893 { echo "$as_me:$LINENO: result: $ac_res" >&5
7894 echo "${ECHO_T}$ac_res" >&6; }
7895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7896 cat >>confdefs.h <<_ACEOF
7897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7898 _ACEOF
7902 done
7906 for ac_header in linux/capi.h
7908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 else
7914 cat >conftest.$ac_ext <<_ACEOF
7915 /* confdefs.h. */
7916 _ACEOF
7917 cat confdefs.h >>conftest.$ac_ext
7918 cat >>conftest.$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7920 #define __user
7922 #include <$ac_header>
7923 _ACEOF
7924 rm -f conftest.$ac_objext
7925 if { (ac_try="$ac_compile"
7926 case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_compile") 2>conftest.er1
7932 ac_status=$?
7933 grep -v '^ *+' conftest.er1 >conftest.err
7934 rm -f conftest.er1
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest.$ac_objext; then
7941 eval "$as_ac_Header=yes"
7942 else
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7946 eval "$as_ac_Header=no"
7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7951 ac_res=`eval echo '${'$as_ac_Header'}'`
7952 { echo "$as_me:$LINENO: result: $ac_res" >&5
7953 echo "${ECHO_T}$ac_res" >&6; }
7954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7955 cat >>confdefs.h <<_ACEOF
7956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7957 _ACEOF
7961 done
7965 DLLEXT=""
7967 DLLFLAGS="-D_REENTRANT"
7969 LDSHARED=""
7971 LDDLLFLAGS=""
7973 LIBEXT="so"
7975 IMPLIBEXT="def"
7977 LDRPATH_INSTALL=""
7979 LDRPATH_LOCAL=""
7981 # Extract the first word of "ldd", so it can be a program name with args.
7982 set dummy ldd; ac_word=$2
7983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7985 if test "${ac_cv_path_LDD+set}" = set; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 else
7988 case $LDD in
7989 [\\/]* | ?:[\\/]*)
7990 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 as_dummy="/sbin:/usr/sbin:$PATH"
7995 for as_dir in $as_dummy
7997 IFS=$as_save_IFS
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 break 2
8005 done
8006 done
8007 IFS=$as_save_IFS
8009 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8011 esac
8013 LDD=$ac_cv_path_LDD
8014 if test -n "$LDD"; then
8015 { echo "$as_me:$LINENO: result: $LDD" >&5
8016 echo "${ECHO_T}$LDD" >&6; }
8017 else
8018 { echo "$as_me:$LINENO: result: no" >&5
8019 echo "${ECHO_T}no" >&6; }
8024 case $host_os in
8025 cygwin*|mingw32*)
8026 if test -n "$ac_tool_prefix"; then
8027 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8028 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8031 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 else
8034 if test -n "$DLLTOOL"; then
8035 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8044 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 DLLTOOL=$ac_cv_prog_DLLTOOL
8055 if test -n "$DLLTOOL"; then
8056 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8057 echo "${ECHO_T}$DLLTOOL" >&6; }
8058 else
8059 { echo "$as_me:$LINENO: result: no" >&5
8060 echo "${ECHO_T}no" >&6; }
8065 if test -z "$ac_cv_prog_DLLTOOL"; then
8066 ac_ct_DLLTOOL=$DLLTOOL
8067 # Extract the first word of "dlltool", so it can be a program name with args.
8068 set dummy dlltool; ac_word=$2
8069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8071 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 else
8074 if test -n "$ac_ct_DLLTOOL"; then
8075 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8088 done
8089 done
8090 IFS=$as_save_IFS
8094 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8095 if test -n "$ac_ct_DLLTOOL"; then
8096 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8097 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8098 else
8099 { echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6; }
8103 if test "x$ac_ct_DLLTOOL" = x; then
8104 DLLTOOL="false"
8105 else
8106 case $cross_compiling:$ac_tool_warned in
8107 yes:)
8108 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8109 whose name does not start with the host triplet. If you think this
8110 configuration is useful to you, please write to autoconf@gnu.org." >&5
8111 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8112 whose name does not start with the host triplet. If you think this
8113 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8114 ac_tool_warned=yes ;;
8115 esac
8116 DLLTOOL=$ac_ct_DLLTOOL
8118 else
8119 DLLTOOL="$ac_cv_prog_DLLTOOL"
8122 if test -n "$ac_tool_prefix"; then
8123 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8124 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8127 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 else
8130 if test -n "$DLLWRAP"; then
8131 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8132 else
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 for as_dir in $PATH
8136 IFS=$as_save_IFS
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 break 2
8144 done
8145 done
8146 IFS=$as_save_IFS
8150 DLLWRAP=$ac_cv_prog_DLLWRAP
8151 if test -n "$DLLWRAP"; then
8152 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8153 echo "${ECHO_T}$DLLWRAP" >&6; }
8154 else
8155 { echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6; }
8161 if test -z "$ac_cv_prog_DLLWRAP"; then
8162 ac_ct_DLLWRAP=$DLLWRAP
8163 # Extract the first word of "dllwrap", so it can be a program name with args.
8164 set dummy dllwrap; ac_word=$2
8165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8167 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 else
8170 if test -n "$ac_ct_DLLWRAP"; then
8171 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8172 else
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 for as_dir in $PATH
8176 IFS=$as_save_IFS
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8180 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8182 break 2
8184 done
8185 done
8186 IFS=$as_save_IFS
8190 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8191 if test -n "$ac_ct_DLLWRAP"; then
8192 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8193 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8194 else
8195 { echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6; }
8199 if test "x$ac_ct_DLLWRAP" = x; then
8200 DLLWRAP="false"
8201 else
8202 case $cross_compiling:$ac_tool_warned in
8203 yes:)
8204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8205 whose name does not start with the host triplet. If you think this
8206 configuration is useful to you, please write to autoconf@gnu.org." >&5
8207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8208 whose name does not start with the host triplet. If you think this
8209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8210 ac_tool_warned=yes ;;
8211 esac
8212 DLLWRAP=$ac_ct_DLLWRAP
8214 else
8215 DLLWRAP="$ac_cv_prog_DLLWRAP"
8218 if test -n "$ac_tool_prefix"; then
8219 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8220 set dummy ${ac_tool_prefix}ar; ac_word=$2
8221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8223 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 else
8226 if test -n "$MINGWAR"; then
8227 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8228 else
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 for as_dir in $PATH
8232 IFS=$as_save_IFS
8233 test -z "$as_dir" && as_dir=.
8234 for ac_exec_ext in '' $ac_executable_extensions; do
8235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 break 2
8240 done
8241 done
8242 IFS=$as_save_IFS
8246 MINGWAR=$ac_cv_prog_MINGWAR
8247 if test -n "$MINGWAR"; then
8248 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8249 echo "${ECHO_T}$MINGWAR" >&6; }
8250 else
8251 { echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6; }
8257 if test -z "$ac_cv_prog_MINGWAR"; then
8258 ac_ct_MINGWAR=$MINGWAR
8259 # Extract the first word of "ar", so it can be a program name with args.
8260 set dummy ar; ac_word=$2
8261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8263 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 else
8266 if test -n "$ac_ct_MINGWAR"; then
8267 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8268 else
8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 for as_dir in $PATH
8272 IFS=$as_save_IFS
8273 test -z "$as_dir" && as_dir=.
8274 for ac_exec_ext in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_ac_ct_MINGWAR="ar"
8277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8278 break 2
8280 done
8281 done
8282 IFS=$as_save_IFS
8286 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8287 if test -n "$ac_ct_MINGWAR"; then
8288 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8289 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8290 else
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8295 if test "x$ac_ct_MINGWAR" = x; then
8296 MINGWAR="false"
8297 else
8298 case $cross_compiling:$ac_tool_warned in
8299 yes:)
8300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8301 whose name does not start with the host triplet. If you think this
8302 configuration is useful to you, please write to autoconf@gnu.org." >&5
8303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8304 whose name does not start with the host triplet. If you think this
8305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8306 ac_tool_warned=yes ;;
8307 esac
8308 MINGWAR=$ac_ct_MINGWAR
8310 else
8311 MINGWAR="$ac_cv_prog_MINGWAR"
8314 if test "$DLLWRAP" = "false"; then
8315 LIBEXT="a"
8316 else
8317 LIBEXT="dll"
8319 IMPLIBEXT="a"
8320 WIN16_FILES=""
8321 WIN16_INSTALL=""
8323 darwin*|macosx*)
8324 DLLEXT=".so"
8325 LIBEXT="dylib"
8326 DLLFLAGS="$DLLFLAGS -fPIC"
8327 LDDLLFLAGS="-bundle -multiply_defined suppress"
8328 LIBWINE_LDFLAGS="-multiply_defined suppress"
8329 LDSHARED="\$(CC) -dynamiclib"
8330 STRIP="$STRIP -x"
8331 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8332 SECURITYLIB="-framework Security -framework CoreFoundation"
8334 COREFOUNDATIONLIB="-framework CoreFoundation"
8336 IOKITLIB="-framework IOKit -framework CoreFoundation"
8338 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8340 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8341 then
8342 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8345 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8346 then
8347 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8350 case $host_cpu in
8351 *powerpc*)
8352 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8353 esac
8354 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8355 then
8356 CARBONLIB="-framework Carbon"
8358 QUARTZFILES='$(QUARTZFILES)'
8362 DLLFLAGS="$DLLFLAGS -fPIC"
8363 DLLEXT=".so"
8364 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8365 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8366 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8367 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8371 cat >conftest.$ac_ext <<_ACEOF
8372 void myfunc() {}
8373 _ACEOF
8374 rm -f conftest.$ac_objext conftest$ac_exeext
8375 if { (ac_try="$ac_link"
8376 case "(($ac_try" in
8377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8379 esac
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8382 ac_status=$?
8383 grep -v '^ *+' conftest.er1 >conftest.err
8384 rm -f conftest.er1
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_c_dll_gnuelf="yes"
8393 else
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_c_dll_gnuelf="no"
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8405 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8406 if test "$ac_cv_c_dll_gnuelf" = "yes"
8407 then
8408 LDSHARED="\$(CC) -shared"
8409 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8410 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8411 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8412 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8417 cat >conftest.$ac_ext <<_ACEOF
8418 /* confdefs.h. */
8419 _ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8425 main ()
8429 return 0;
8431 _ACEOF
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (ac_try="$ac_link"
8434 case "(($ac_try" in
8435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8436 *) ac_try_echo=$ac_try;;
8437 esac
8438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8439 (eval "$ac_link") 2>conftest.er1
8440 ac_status=$?
8441 grep -v '^ *+' conftest.er1 >conftest.err
8442 rm -f conftest.er1
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } && {
8446 test -z "$ac_c_werror_flag" ||
8447 test ! -s conftest.err
8448 } && test -s conftest$ac_exeext &&
8449 $as_test_x conftest$ac_exeext; then
8450 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8451 else
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8463 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8464 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8465 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8466 else
8467 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8468 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8469 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8474 cat >conftest.$ac_ext <<_ACEOF
8475 /* confdefs.h. */
8476 _ACEOF
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8482 main ()
8486 return 0;
8488 _ACEOF
8489 rm -f conftest.$ac_objext conftest$ac_exeext
8490 if { (ac_try="$ac_link"
8491 case "(($ac_try" in
8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8494 esac
8495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8496 (eval "$ac_link") 2>conftest.er1
8497 ac_status=$?
8498 grep -v '^ *+' conftest.er1 >conftest.err
8499 rm -f conftest.er1
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } && {
8503 test -z "$ac_c_werror_flag" ||
8504 test ! -s conftest.err
8505 } && test -s conftest$ac_exeext &&
8506 $as_test_x conftest$ac_exeext; then
8507 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8508 else
8509 echo "$as_me: failed program was:" >&5
8510 sed 's/^/| /' conftest.$ac_ext >&5
8512 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8520 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8521 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8522 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8528 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8529 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8530 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8535 cat >conftest.$ac_ext <<_ACEOF
8536 /* confdefs.h. */
8537 _ACEOF
8538 cat confdefs.h >>conftest.$ac_ext
8539 cat >>conftest.$ac_ext <<_ACEOF
8540 /* end confdefs.h. */
8543 main ()
8547 return 0;
8549 _ACEOF
8550 rm -f conftest.$ac_objext conftest$ac_exeext
8551 if { (ac_try="$ac_link"
8552 case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8555 esac
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_link") 2>conftest.er1
8558 ac_status=$?
8559 grep -v '^ *+' conftest.er1 >conftest.err
8560 rm -f conftest.er1
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } && {
8564 test -z "$ac_c_werror_flag" ||
8565 test ! -s conftest.err
8566 } && test -s conftest$ac_exeext &&
8567 $as_test_x conftest$ac_exeext; then
8568 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8569 else
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.$ac_ext >&5
8573 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8581 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8582 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8583 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8587 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8588 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8589 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8594 cat >conftest.$ac_ext <<_ACEOF
8595 /* confdefs.h. */
8596 _ACEOF
8597 cat confdefs.h >>conftest.$ac_ext
8598 cat >>conftest.$ac_ext <<_ACEOF
8599 /* end confdefs.h. */
8602 main ()
8606 return 0;
8608 _ACEOF
8609 rm -f conftest.$ac_objext conftest$ac_exeext
8610 if { (ac_try="$ac_link"
8611 case "(($ac_try" in
8612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8613 *) ac_try_echo=$ac_try;;
8614 esac
8615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8616 (eval "$ac_link") 2>conftest.er1
8617 ac_status=$?
8618 grep -v '^ *+' conftest.er1 >conftest.err
8619 rm -f conftest.er1
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && {
8623 test -z "$ac_c_werror_flag" ||
8624 test ! -s conftest.err
8625 } && test -s conftest$ac_exeext &&
8626 $as_test_x conftest$ac_exeext; then
8627 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8628 else
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8640 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8641 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8642 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8646 echo '{ global: *; };' >conftest.map
8647 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8648 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8649 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8654 cat >conftest.$ac_ext <<_ACEOF
8655 /* confdefs.h. */
8656 _ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8662 main ()
8666 return 0;
8668 _ACEOF
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (ac_try="$ac_link"
8671 case "(($ac_try" in
8672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673 *) ac_try_echo=$ac_try;;
8674 esac
8675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8676 (eval "$ac_link") 2>conftest.er1
8677 ac_status=$?
8678 grep -v '^ *+' conftest.er1 >conftest.err
8679 rm -f conftest.er1
8680 cat conftest.err >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && {
8683 test -z "$ac_c_werror_flag" ||
8684 test ! -s conftest.err
8685 } && test -s conftest$ac_exeext &&
8686 $as_test_x conftest$ac_exeext; then
8687 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8688 else
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8692 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8696 conftest$ac_exeext conftest.$ac_ext
8697 CFLAGS=$ac_wine_try_cflags_saved
8699 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8700 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8701 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8702 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8705 rm -f conftest.map
8707 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8708 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8709 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8714 cat >conftest.$ac_ext <<_ACEOF
8715 /* confdefs.h. */
8716 _ACEOF
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8722 main ()
8726 return 0;
8728 _ACEOF
8729 rm -f conftest.$ac_objext conftest$ac_exeext
8730 if { (ac_try="$ac_link"
8731 case "(($ac_try" in
8732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8733 *) ac_try_echo=$ac_try;;
8734 esac
8735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8736 (eval "$ac_link") 2>conftest.er1
8737 ac_status=$?
8738 grep -v '^ *+' conftest.er1 >conftest.err
8739 rm -f conftest.er1
8740 cat conftest.err >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); } && {
8743 test -z "$ac_c_werror_flag" ||
8744 test ! -s conftest.err
8745 } && test -s conftest$ac_exeext &&
8746 $as_test_x conftest$ac_exeext; then
8747 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8748 else
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8760 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8761 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8762 LDEXECFLAGS="-Wl,--export-dynamic"
8767 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8768 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8769 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8770 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8775 cat >conftest.$ac_ext <<_ACEOF
8776 /* confdefs.h. */
8777 _ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8783 main ()
8787 return 0;
8789 _ACEOF
8790 rm -f conftest.$ac_objext conftest$ac_exeext
8791 if { (ac_try="$ac_link"
8792 case "(($ac_try" in
8793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8794 *) ac_try_echo=$ac_try;;
8795 esac
8796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8797 (eval "$ac_link") 2>conftest.er1
8798 ac_status=$?
8799 grep -v '^ *+' conftest.er1 >conftest.err
8800 rm -f conftest.er1
8801 cat conftest.err >&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); } && {
8804 test -z "$ac_c_werror_flag" ||
8805 test ! -s conftest.err
8806 } && test -s conftest$ac_exeext &&
8807 $as_test_x conftest$ac_exeext; then
8808 eval "$as_ac_var=yes"
8809 else
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.$ac_ext >&5
8813 eval "$as_ac_var=no"
8816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8817 conftest$ac_exeext conftest.$ac_ext
8818 CFLAGS=$ac_wine_try_cflags_saved
8820 ac_res=`eval echo '${'$as_ac_var'}'`
8821 { echo "$as_me:$LINENO: result: $ac_res" >&5
8822 echo "${ECHO_T}$ac_res" >&6; }
8823 if test `eval echo '${'$as_ac_var'}'` = yes; then
8824 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8825 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8826 else
8827 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8828 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8829 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8832 else
8833 ac_wine_try_cflags_saved=$CFLAGS
8834 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8835 cat >conftest.$ac_ext <<_ACEOF
8836 /* confdefs.h. */
8837 _ACEOF
8838 cat confdefs.h >>conftest.$ac_ext
8839 cat >>conftest.$ac_ext <<_ACEOF
8840 /* end confdefs.h. */
8843 main ()
8847 return 0;
8849 _ACEOF
8850 rm -f conftest.$ac_objext conftest$ac_exeext
8851 if { (ac_try="$ac_link"
8852 case "(($ac_try" in
8853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8854 *) ac_try_echo=$ac_try;;
8855 esac
8856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8857 (eval "$ac_link") 2>conftest.er1
8858 ac_status=$?
8859 grep -v '^ *+' conftest.er1 >conftest.err
8860 rm -f conftest.er1
8861 cat conftest.err >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); } && {
8864 test -z "$ac_c_werror_flag" ||
8865 test ! -s conftest.err
8866 } && test -s conftest$ac_exeext &&
8867 $as_test_x conftest$ac_exeext; then
8868 eval "$as_ac_var=yes"
8869 else
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 eval "$as_ac_var=no"
8876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 ac_res=`eval echo '${'$as_ac_var'}'`
8881 { echo "$as_me:$LINENO: result: $ac_res" >&5
8882 echo "${ECHO_T}$ac_res" >&6; }
8883 if test `eval echo '${'$as_ac_var'}'` = yes; then
8884 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8885 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8891 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8892 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8893 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8898 cat >conftest.$ac_ext <<_ACEOF
8899 /* confdefs.h. */
8900 _ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8906 main ()
8910 return 0;
8912 _ACEOF
8913 rm -f conftest.$ac_objext conftest$ac_exeext
8914 if { (ac_try="$ac_link"
8915 case "(($ac_try" in
8916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8917 *) ac_try_echo=$ac_try;;
8918 esac
8919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920 (eval "$ac_link") 2>conftest.er1
8921 ac_status=$?
8922 grep -v '^ *+' conftest.er1 >conftest.err
8923 rm -f conftest.er1
8924 cat conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); } && {
8927 test -z "$ac_c_werror_flag" ||
8928 test ! -s conftest.err
8929 } && test -s conftest$ac_exeext &&
8930 $as_test_x conftest$ac_exeext; then
8931 ac_cv_cflags__Wl___enable_new_dtags=yes
8932 else
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.$ac_ext >&5
8936 ac_cv_cflags__Wl___enable_new_dtags=no
8939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8940 conftest$ac_exeext conftest.$ac_ext
8941 CFLAGS=$ac_wine_try_cflags_saved
8943 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8944 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8945 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8946 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8950 case $host_cpu in
8951 *i[3456789]86* | x86_64)
8952 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8953 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8954 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8955 echo $ECHO_N "(cached) $ECHO_C" >&6
8956 else
8957 ac_wine_try_cflags_saved=$CFLAGS
8958 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8959 cat >conftest.$ac_ext <<_ACEOF
8960 /* confdefs.h. */
8961 _ACEOF
8962 cat confdefs.h >>conftest.$ac_ext
8963 cat >>conftest.$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8967 main ()
8971 return 0;
8973 _ACEOF
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (ac_try="$ac_link"
8976 case "(($ac_try" in
8977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8978 *) ac_try_echo=$ac_try;;
8979 esac
8980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981 (eval "$ac_link") 2>conftest.er1
8982 ac_status=$?
8983 grep -v '^ *+' conftest.er1 >conftest.err
8984 rm -f conftest.er1
8985 cat conftest.err >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); } && {
8988 test -z "$ac_c_werror_flag" ||
8989 test ! -s conftest.err
8990 } && test -s conftest$ac_exeext &&
8991 $as_test_x conftest$ac_exeext; then
8992 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8993 else
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.$ac_ext >&5
8997 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9001 conftest$ac_exeext conftest.$ac_ext
9002 CFLAGS=$ac_wine_try_cflags_saved
9004 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9005 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9006 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9007 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9011 esac
9013 else
9014 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9015 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9016 if test "${ac_cv_c_dll_unixware+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9018 else
9019 ac_wine_try_cflags_saved=$CFLAGS
9020 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9021 cat >conftest.$ac_ext <<_ACEOF
9022 void myfunc() {}
9023 _ACEOF
9024 rm -f conftest.$ac_objext conftest$ac_exeext
9025 if { (ac_try="$ac_link"
9026 case "(($ac_try" in
9027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9028 *) ac_try_echo=$ac_try;;
9029 esac
9030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9031 (eval "$ac_link") 2>conftest.er1
9032 ac_status=$?
9033 grep -v '^ *+' conftest.er1 >conftest.err
9034 rm -f conftest.er1
9035 cat conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } && {
9038 test -z "$ac_c_werror_flag" ||
9039 test ! -s conftest.err
9040 } && test -s conftest$ac_exeext &&
9041 $as_test_x conftest$ac_exeext; then
9042 ac_cv_c_dll_unixware="yes"
9043 else
9044 echo "$as_me: failed program was:" >&5
9045 sed 's/^/| /' conftest.$ac_ext >&5
9047 ac_cv_c_dll_unixware="no"
9050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9051 conftest$ac_exeext conftest.$ac_ext
9052 CFLAGS=$ac_wine_try_cflags_saved
9054 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9055 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9056 if test "$ac_cv_c_dll_unixware" = "yes"
9057 then
9058 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9059 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9061 else
9062 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9063 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9064 if test "${ac_cv_c_dll_hpux+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 else
9067 ac_wine_try_cflags_saved=$CFLAGS
9068 CFLAGS="$CFLAGS -shared"
9069 cat >conftest.$ac_ext <<_ACEOF
9070 void myfunc() {}
9071 _ACEOF
9072 rm -f conftest.$ac_objext conftest$ac_exeext
9073 if { (ac_try="$ac_link"
9074 case "(($ac_try" in
9075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9076 *) ac_try_echo=$ac_try;;
9077 esac
9078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9079 (eval "$ac_link") 2>conftest.er1
9080 ac_status=$?
9081 grep -v '^ *+' conftest.er1 >conftest.err
9082 rm -f conftest.er1
9083 cat conftest.err >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } && {
9086 test -z "$ac_c_werror_flag" ||
9087 test ! -s conftest.err
9088 } && test -s conftest$ac_exeext &&
9089 $as_test_x conftest$ac_exeext; then
9090 ac_cv_c_dll_hpux="yes"
9091 else
9092 echo "$as_me: failed program was:" >&5
9093 sed 's/^/| /' conftest.$ac_ext >&5
9095 ac_cv_c_dll_hpux="no"
9098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9099 conftest$ac_exeext conftest.$ac_ext
9100 CFLAGS=$ac_wine_try_cflags_saved
9102 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9103 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9104 if test "$ac_cv_c_dll_hpux" = "yes"
9105 then
9106 LIBEXT="sl"
9107 DLLEXT=".sl"
9108 LDDLLFLAGS="-shared -fPIC"
9109 LDSHARED="\$(CC) -shared"
9114 CROSSTEST=""
9116 if test "$cross_compiling" = "no"
9117 then
9118 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9120 # Extract the first word of "$ac_prog", so it can be a program name with args.
9121 set dummy $ac_prog; ac_word=$2
9122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9124 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 else
9127 if test -n "$CROSSCC"; then
9128 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9129 else
9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 for as_dir in $PATH
9133 IFS=$as_save_IFS
9134 test -z "$as_dir" && as_dir=.
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9137 ac_cv_prog_CROSSCC="$ac_prog"
9138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9139 break 2
9141 done
9142 done
9143 IFS=$as_save_IFS
9147 CROSSCC=$ac_cv_prog_CROSSCC
9148 if test -n "$CROSSCC"; then
9149 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9150 echo "${ECHO_T}$CROSSCC" >&6; }
9151 else
9152 { echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6; }
9157 test -n "$CROSSCC" && break
9158 done
9159 test -n "$CROSSCC" || CROSSCC="false"
9161 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9163 # Extract the first word of "$ac_prog", so it can be a program name with args.
9164 set dummy $ac_prog; ac_word=$2
9165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9167 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9168 echo $ECHO_N "(cached) $ECHO_C" >&6
9169 else
9170 if test -n "$DLLTOOL"; then
9171 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9172 else
9173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9174 for as_dir in $PATH
9176 IFS=$as_save_IFS
9177 test -z "$as_dir" && as_dir=.
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9180 ac_cv_prog_DLLTOOL="$ac_prog"
9181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9182 break 2
9184 done
9185 done
9186 IFS=$as_save_IFS
9190 DLLTOOL=$ac_cv_prog_DLLTOOL
9191 if test -n "$DLLTOOL"; then
9192 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9193 echo "${ECHO_T}$DLLTOOL" >&6; }
9194 else
9195 { echo "$as_me:$LINENO: result: no" >&5
9196 echo "${ECHO_T}no" >&6; }
9200 test -n "$DLLTOOL" && break
9201 done
9202 test -n "$DLLTOOL" || DLLTOOL="false"
9204 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9206 # Extract the first word of "$ac_prog", so it can be a program name with args.
9207 set dummy $ac_prog; ac_word=$2
9208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9210 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else
9213 if test -n "$CROSSWINDRES"; then
9214 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9215 else
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9217 for as_dir in $PATH
9219 IFS=$as_save_IFS
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_CROSSWINDRES="$ac_prog"
9224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9225 break 2
9227 done
9228 done
9229 IFS=$as_save_IFS
9233 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9234 if test -n "$CROSSWINDRES"; then
9235 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9236 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9237 else
9238 { echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6; }
9243 test -n "$CROSSWINDRES" && break
9244 done
9245 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9247 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9249 # Extract the first word of "$ac_prog", so it can be a program name with args.
9250 set dummy $ac_prog; ac_word=$2
9251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9253 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 else
9256 if test -n "$MINGWAR"; then
9257 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9258 else
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 for as_dir in $PATH
9262 IFS=$as_save_IFS
9263 test -z "$as_dir" && as_dir=.
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_prog_MINGWAR="$ac_prog"
9267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9268 break 2
9270 done
9271 done
9272 IFS=$as_save_IFS
9276 MINGWAR=$ac_cv_prog_MINGWAR
9277 if test -n "$MINGWAR"; then
9278 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9279 echo "${ECHO_T}$MINGWAR" >&6; }
9280 else
9281 { echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6; }
9286 test -n "$MINGWAR" && break
9287 done
9288 test -n "$MINGWAR" || MINGWAR="false"
9290 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9293 esac
9295 if test "$LIBEXT" = "a"; then
9296 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9297 It is currently not possible to build Wine without shared library
9298 (.so) support to allow transparent switch between .so and .dll files.
9299 If you are using Linux, you will need a newer binutils.
9300 " >&5
9301 echo "$as_me: error: could not find a way to build shared libraries.
9302 It is currently not possible to build Wine without shared library
9303 (.so) support to allow transparent switch between .so and .dll files.
9304 If you are using Linux, you will need a newer binutils.
9305 " >&2;}
9306 { (exit 1); exit 1; }; }
9310 if test "$have_x" = "yes"
9311 then
9312 XLIB="-lXext -lX11"
9313 ac_save_CPPFLAGS="$CPPFLAGS"
9314 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9316 { echo "$as_me:$LINENO: checking for -lX11" >&5
9317 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9318 if test "${ac_cv_lib_soname_X11+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9320 else
9321 ac_check_soname_save_LIBS=$LIBS
9322 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9323 cat >conftest.$ac_ext <<_ACEOF
9324 /* confdefs.h. */
9325 _ACEOF
9326 cat confdefs.h >>conftest.$ac_ext
9327 cat >>conftest.$ac_ext <<_ACEOF
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9333 #ifdef __cplusplus
9334 extern "C"
9335 #endif
9336 char XCreateWindow ();
9338 main ()
9340 return XCreateWindow ();
9342 return 0;
9344 _ACEOF
9345 rm -f conftest.$ac_objext conftest$ac_exeext
9346 if { (ac_try="$ac_link"
9347 case "(($ac_try" in
9348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9349 *) ac_try_echo=$ac_try;;
9350 esac
9351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9352 (eval "$ac_link") 2>conftest.er1
9353 ac_status=$?
9354 grep -v '^ *+' conftest.er1 >conftest.err
9355 rm -f conftest.er1
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } && {
9359 test -z "$ac_c_werror_flag" ||
9360 test ! -s conftest.err
9361 } && test -s conftest$ac_exeext &&
9362 $as_test_x conftest$ac_exeext; then
9363 case "$LIBEXT" in
9364 dll) ;;
9365 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'` ;;
9366 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9367 esac
9368 else
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.$ac_ext >&5
9375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_soname_save_LIBS
9379 if test "x$ac_cv_lib_soname_X11" = "x"; then
9380 { echo "$as_me:$LINENO: result: not found" >&5
9381 echo "${ECHO_T}not found" >&6; }
9383 else
9384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9385 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9387 cat >>confdefs.h <<_ACEOF
9388 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9389 _ACEOF
9394 { echo "$as_me:$LINENO: checking for -lXext" >&5
9395 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9396 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9398 else
9399 ac_check_soname_save_LIBS=$LIBS
9400 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9401 cat >conftest.$ac_ext <<_ACEOF
9402 /* confdefs.h. */
9403 _ACEOF
9404 cat confdefs.h >>conftest.$ac_ext
9405 cat >>conftest.$ac_ext <<_ACEOF
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9411 #ifdef __cplusplus
9412 extern "C"
9413 #endif
9414 char XextCreateExtension ();
9416 main ()
9418 return XextCreateExtension ();
9420 return 0;
9422 _ACEOF
9423 rm -f conftest.$ac_objext conftest$ac_exeext
9424 if { (ac_try="$ac_link"
9425 case "(($ac_try" in
9426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9427 *) ac_try_echo=$ac_try;;
9428 esac
9429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9430 (eval "$ac_link") 2>conftest.er1
9431 ac_status=$?
9432 grep -v '^ *+' conftest.er1 >conftest.err
9433 rm -f conftest.er1
9434 cat conftest.err >&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); } && {
9437 test -z "$ac_c_werror_flag" ||
9438 test ! -s conftest.err
9439 } && test -s conftest$ac_exeext &&
9440 $as_test_x conftest$ac_exeext; then
9441 case "$LIBEXT" in
9442 dll) ;;
9443 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'` ;;
9444 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9445 esac
9446 else
9447 echo "$as_me: failed program was:" >&5
9448 sed 's/^/| /' conftest.$ac_ext >&5
9453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_soname_save_LIBS
9457 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9458 { echo "$as_me:$LINENO: result: not found" >&5
9459 echo "${ECHO_T}not found" >&6; }
9461 else
9462 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9463 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9465 cat >>confdefs.h <<_ACEOF
9466 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9467 _ACEOF
9485 for ac_header in X11/Xlib.h \
9486 X11/XKBlib.h \
9487 X11/Xutil.h \
9488 X11/Xcursor/Xcursor.h \
9489 X11/extensions/shape.h \
9490 X11/extensions/XInput.h \
9491 X11/extensions/XShm.h \
9492 X11/extensions/Xcomposite.h \
9493 X11/extensions/Xinerama.h \
9494 X11/extensions/Xrandr.h \
9495 X11/extensions/Xrender.h \
9496 X11/extensions/xf86vmode.h
9498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 else
9504 cat >conftest.$ac_ext <<_ACEOF
9505 /* confdefs.h. */
9506 _ACEOF
9507 cat confdefs.h >>conftest.$ac_ext
9508 cat >>conftest.$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 #ifdef HAVE_X11_XLIB_H
9511 # include <X11/Xlib.h>
9512 #endif
9513 #ifdef HAVE_X11_XUTIL_H
9514 # include <X11/Xutil.h>
9515 #endif
9517 #include <$ac_header>
9518 _ACEOF
9519 rm -f conftest.$ac_objext
9520 if { (ac_try="$ac_compile"
9521 case "(($ac_try" in
9522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9523 *) ac_try_echo=$ac_try;;
9524 esac
9525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9526 (eval "$ac_compile") 2>conftest.er1
9527 ac_status=$?
9528 grep -v '^ *+' conftest.er1 >conftest.err
9529 rm -f conftest.er1
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } && {
9533 test -z "$ac_c_werror_flag" ||
9534 test ! -s conftest.err
9535 } && test -s conftest.$ac_objext; then
9536 eval "$as_ac_Header=yes"
9537 else
9538 echo "$as_me: failed program was:" >&5
9539 sed 's/^/| /' conftest.$ac_ext >&5
9541 eval "$as_ac_Header=no"
9544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9546 ac_res=`eval echo '${'$as_ac_Header'}'`
9547 { echo "$as_me:$LINENO: result: $ac_res" >&5
9548 echo "${ECHO_T}$ac_res" >&6; }
9549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9550 cat >>confdefs.h <<_ACEOF
9551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9552 _ACEOF
9556 done
9559 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9560 then
9561 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9562 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9563 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 else
9566 ac_check_lib_save_LIBS=$LIBS
9567 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9568 cat >conftest.$ac_ext <<_ACEOF
9569 /* confdefs.h. */
9570 _ACEOF
9571 cat confdefs.h >>conftest.$ac_ext
9572 cat >>conftest.$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9575 /* Override any GCC internal prototype to avoid an error.
9576 Use char because int might match the return type of a GCC
9577 builtin and then its argument prototype would still apply. */
9578 #ifdef __cplusplus
9579 extern "C"
9580 #endif
9581 char XkbQueryExtension ();
9583 main ()
9585 return XkbQueryExtension ();
9587 return 0;
9589 _ACEOF
9590 rm -f conftest.$ac_objext conftest$ac_exeext
9591 if { (ac_try="$ac_link"
9592 case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9595 esac
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_link") 2>conftest.er1
9598 ac_status=$?
9599 grep -v '^ *+' conftest.er1 >conftest.err
9600 rm -f conftest.er1
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } && {
9604 test -z "$ac_c_werror_flag" ||
9605 test ! -s conftest.err
9606 } && test -s conftest$ac_exeext &&
9607 $as_test_x conftest$ac_exeext; then
9608 ac_cv_lib_X11_XkbQueryExtension=yes
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9613 ac_cv_lib_X11_XkbQueryExtension=no
9616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9621 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9622 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9624 cat >>confdefs.h <<\_ACEOF
9625 #define HAVE_XKB 1
9626 _ACEOF
9632 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9633 then
9634 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9635 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9636 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else
9639 ac_check_soname_save_LIBS=$LIBS
9640 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9641 cat >conftest.$ac_ext <<_ACEOF
9642 /* confdefs.h. */
9643 _ACEOF
9644 cat confdefs.h >>conftest.$ac_ext
9645 cat >>conftest.$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char XcursorImageLoadCursor ();
9656 main ()
9658 return XcursorImageLoadCursor ();
9660 return 0;
9662 _ACEOF
9663 rm -f conftest.$ac_objext conftest$ac_exeext
9664 if { (ac_try="$ac_link"
9665 case "(($ac_try" in
9666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9667 *) ac_try_echo=$ac_try;;
9668 esac
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_link") 2>conftest.er1
9671 ac_status=$?
9672 grep -v '^ *+' conftest.er1 >conftest.err
9673 rm -f conftest.er1
9674 cat conftest.err >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err
9679 } && test -s conftest$ac_exeext &&
9680 $as_test_x conftest$ac_exeext; then
9681 case "$LIBEXT" in
9682 dll) ;;
9683 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'` ;;
9684 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9685 esac
9686 else
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.$ac_ext >&5
9693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_soname_save_LIBS
9697 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9698 { echo "$as_me:$LINENO: result: not found" >&5
9699 echo "${ECHO_T}not found" >&6; }
9701 else
9702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9703 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9705 cat >>confdefs.h <<_ACEOF
9706 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9707 _ACEOF
9713 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9714 case "x$with_xcursor" in
9715 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9716 xno) ;;
9717 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9718 This is an error since --with-xcursor was requested." >&5
9719 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9720 This is an error since --with-xcursor was requested." >&2;}
9721 { (exit 1); exit 1; }; } ;;
9722 esac
9726 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9727 then
9728 { echo "$as_me:$LINENO: checking for -lXi" >&5
9729 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9730 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 else
9733 ac_check_soname_save_LIBS=$LIBS
9734 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9735 cat >conftest.$ac_ext <<_ACEOF
9736 /* confdefs.h. */
9737 _ACEOF
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9742 /* Override any GCC internal prototype to avoid an error.
9743 Use char because int might match the return type of a GCC
9744 builtin and then its argument prototype would still apply. */
9745 #ifdef __cplusplus
9746 extern "C"
9747 #endif
9748 char XOpenDevice ();
9750 main ()
9752 return XOpenDevice ();
9754 return 0;
9756 _ACEOF
9757 rm -f conftest.$ac_objext conftest$ac_exeext
9758 if { (ac_try="$ac_link"
9759 case "(($ac_try" in
9760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9761 *) ac_try_echo=$ac_try;;
9762 esac
9763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9764 (eval "$ac_link") 2>conftest.er1
9765 ac_status=$?
9766 grep -v '^ *+' conftest.er1 >conftest.err
9767 rm -f conftest.er1
9768 cat conftest.err >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } && {
9771 test -z "$ac_c_werror_flag" ||
9772 test ! -s conftest.err
9773 } && test -s conftest$ac_exeext &&
9774 $as_test_x conftest$ac_exeext; then
9775 case "$LIBEXT" in
9776 dll) ;;
9777 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'` ;;
9778 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9779 esac
9780 else
9781 echo "$as_me: failed program was:" >&5
9782 sed 's/^/| /' conftest.$ac_ext >&5
9787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9788 conftest$ac_exeext conftest.$ac_ext
9789 LIBS=$ac_check_soname_save_LIBS
9791 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9792 { echo "$as_me:$LINENO: result: not found" >&5
9793 echo "${ECHO_T}not found" >&6; }
9795 else
9796 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9797 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9799 cat >>confdefs.h <<_ACEOF
9800 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9801 _ACEOF
9807 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9808 case "x$with_xinput" in
9809 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9810 xno) ;;
9811 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9812 This is an error since --with-xinput was requested." >&5
9813 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9814 This is an error since --with-xinput was requested." >&2;}
9815 { (exit 1); exit 1; }; } ;;
9816 esac
9820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9821 then
9822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9825 echo $ECHO_N "(cached) $ECHO_C" >&6
9826 else
9827 ac_check_lib_save_LIBS=$LIBS
9828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9829 cat >conftest.$ac_ext <<_ACEOF
9830 /* confdefs.h. */
9831 _ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9836 /* Override any GCC internal prototype to avoid an error.
9837 Use char because int might match the return type of a GCC
9838 builtin and then its argument prototype would still apply. */
9839 #ifdef __cplusplus
9840 extern "C"
9841 #endif
9842 char XShmQueryExtension ();
9844 main ()
9846 return XShmQueryExtension ();
9848 return 0;
9850 _ACEOF
9851 rm -f conftest.$ac_objext conftest$ac_exeext
9852 if { (ac_try="$ac_link"
9853 case "(($ac_try" in
9854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9855 *) ac_try_echo=$ac_try;;
9856 esac
9857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9858 (eval "$ac_link") 2>conftest.er1
9859 ac_status=$?
9860 grep -v '^ *+' conftest.er1 >conftest.err
9861 rm -f conftest.er1
9862 cat conftest.err >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); } && {
9865 test -z "$ac_c_werror_flag" ||
9866 test ! -s conftest.err
9867 } && test -s conftest$ac_exeext &&
9868 $as_test_x conftest$ac_exeext; then
9869 ac_cv_lib_Xext_XShmQueryExtension=yes
9870 else
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.$ac_ext >&5
9874 ac_cv_lib_Xext_XShmQueryExtension=no
9877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LIBS=$ac_check_lib_save_LIBS
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9885 cat >>confdefs.h <<\_ACEOF
9886 #define HAVE_LIBXXSHM 1
9887 _ACEOF
9892 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9893 case "x$with_xshm" in
9894 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9895 xno) ;;
9896 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9897 This is an error since --with-xshm was requested." >&5
9898 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9899 This is an error since --with-xshm was requested." >&2;}
9900 { (exit 1); exit 1; }; } ;;
9901 esac
9905 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9906 then
9907 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9908 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9909 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9912 ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9914 cat >conftest.$ac_ext <<_ACEOF
9915 /* confdefs.h. */
9916 _ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char XShapeQueryExtension ();
9929 main ()
9931 return XShapeQueryExtension ();
9933 return 0;
9935 _ACEOF
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9938 case "(($ac_try" in
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9941 esac
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_link") 2>conftest.er1
9944 ac_status=$?
9945 grep -v '^ *+' conftest.er1 >conftest.err
9946 rm -f conftest.er1
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest$ac_exeext &&
9953 $as_test_x conftest$ac_exeext; then
9954 ac_cv_lib_Xext_XShapeQueryExtension=yes
9955 else
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_lib_Xext_XShapeQueryExtension=no
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9967 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9968 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9970 cat >>confdefs.h <<\_ACEOF
9971 #define HAVE_LIBXSHAPE 1
9972 _ACEOF
9977 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9978 case "x$with_xshape" in
9979 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9980 xno) ;;
9981 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9982 This is an error since --with-xshape was requested." >&5
9983 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9984 This is an error since --with-xshape was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9986 esac
9990 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9991 then
9992 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9993 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997 ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h. */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XF86VidModeQueryExtension ();
10014 main ()
10016 return XF86VidModeQueryExtension ();
10018 return 0;
10020 _ACEOF
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10026 esac
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10029 ac_status=$?
10030 grep -v '^ *+' conftest.er1 >conftest.err
10031 rm -f conftest.er1
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest$ac_exeext &&
10038 $as_test_x conftest$ac_exeext; then
10039 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10040 else
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10044 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10052 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10053 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10055 cat >>confdefs.h <<\_ACEOF
10056 #define HAVE_LIBXXF86VM 1
10057 _ACEOF
10059 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10064 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10065 case "x$with_xvidmode" in
10066 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10067 xno) ;;
10068 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10069 This is an error since --with-xvidmode was requested." >&5
10070 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10071 This is an error since --with-xvidmode was requested." >&2;}
10072 { (exit 1); exit 1; }; } ;;
10073 esac
10077 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"
10078 then
10079 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10080 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10081 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10082 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 else
10084 ac_check_soname_save_LIBS=$LIBS
10085 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10086 cat >conftest.$ac_ext <<_ACEOF
10087 /* confdefs.h. */
10088 _ACEOF
10089 cat confdefs.h >>conftest.$ac_ext
10090 cat >>conftest.$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10093 /* Override any GCC internal prototype to avoid an error.
10094 Use char because int might match the return type of a GCC
10095 builtin and then its argument prototype would still apply. */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char XRenderQueryExtension ();
10101 main ()
10103 return XRenderQueryExtension ();
10105 return 0;
10107 _ACEOF
10108 rm -f conftest.$ac_objext conftest$ac_exeext
10109 if { (ac_try="$ac_link"
10110 case "(($ac_try" in
10111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10112 *) ac_try_echo=$ac_try;;
10113 esac
10114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10115 (eval "$ac_link") 2>conftest.er1
10116 ac_status=$?
10117 grep -v '^ *+' conftest.er1 >conftest.err
10118 rm -f conftest.er1
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } && {
10122 test -z "$ac_c_werror_flag" ||
10123 test ! -s conftest.err
10124 } && test -s conftest$ac_exeext &&
10125 $as_test_x conftest$ac_exeext; then
10126 case "$LIBEXT" in
10127 dll) ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10130 esac
10131 else
10132 echo "$as_me: failed program was:" >&5
10133 sed 's/^/| /' conftest.$ac_ext >&5
10138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_soname_save_LIBS
10142 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10143 { echo "$as_me:$LINENO: result: not found" >&5
10144 echo "${ECHO_T}not found" >&6; }
10146 else
10147 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10148 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10150 cat >>confdefs.h <<_ACEOF
10151 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10152 _ACEOF
10154 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10155 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10156 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 else
10159 ac_check_lib_save_LIBS=$LIBS
10160 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10161 cat >conftest.$ac_ext <<_ACEOF
10162 /* confdefs.h. */
10163 _ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderSetPictureTransform ();
10176 main ()
10178 return XRenderSetPictureTransform ();
10180 return 0;
10182 _ACEOF
10183 rm -f conftest.$ac_objext conftest$ac_exeext
10184 if { (ac_try="$ac_link"
10185 case "(($ac_try" in
10186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10187 *) ac_try_echo=$ac_try;;
10188 esac
10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10190 (eval "$ac_link") 2>conftest.er1
10191 ac_status=$?
10192 grep -v '^ *+' conftest.er1 >conftest.err
10193 rm -f conftest.er1
10194 cat conftest.err >&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } && {
10197 test -z "$ac_c_werror_flag" ||
10198 test ! -s conftest.err
10199 } && test -s conftest$ac_exeext &&
10200 $as_test_x conftest$ac_exeext; then
10201 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10202 else
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10206 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_lib_save_LIBS
10213 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10214 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10215 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10217 cat >>confdefs.h <<\_ACEOF
10218 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10219 _ACEOF
10227 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10228 case "x$with_xrender" in
10229 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10230 xno) ;;
10231 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10232 This is an error since --with-xrender was requested." >&5
10233 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10234 This is an error since --with-xrender was requested." >&2;}
10235 { (exit 1); exit 1; }; } ;;
10236 esac
10240 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10241 then
10242 cat >conftest.$ac_ext <<_ACEOF
10243 /* confdefs.h. */
10244 _ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 #include <X11/Xlib.h>
10249 #include <X11/extensions/Xrandr.h>
10251 main ()
10253 static typeof(XRRSetScreenConfigAndRate) * func;
10255 return 0;
10257 _ACEOF
10258 rm -f conftest.$ac_objext
10259 if { (ac_try="$ac_compile"
10260 case "(($ac_try" in
10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10263 esac
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_compile") 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } && {
10272 test -z "$ac_c_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest.$ac_objext; then
10275 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10276 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10277 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 else
10280 ac_check_soname_save_LIBS=$LIBS
10281 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10282 cat >conftest.$ac_ext <<_ACEOF
10283 /* confdefs.h. */
10284 _ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char XRRQueryExtension ();
10297 main ()
10299 return XRRQueryExtension ();
10301 return 0;
10303 _ACEOF
10304 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (ac_try="$ac_link"
10306 case "(($ac_try" in
10307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10308 *) ac_try_echo=$ac_try;;
10309 esac
10310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10311 (eval "$ac_link") 2>conftest.er1
10312 ac_status=$?
10313 grep -v '^ *+' conftest.er1 >conftest.err
10314 rm -f conftest.er1
10315 cat conftest.err >&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } && {
10318 test -z "$ac_c_werror_flag" ||
10319 test ! -s conftest.err
10320 } && test -s conftest$ac_exeext &&
10321 $as_test_x conftest$ac_exeext; then
10322 case "$LIBEXT" in
10323 dll) ;;
10324 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'` ;;
10325 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10326 esac
10327 else
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.$ac_ext >&5
10334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10335 conftest$ac_exeext conftest.$ac_ext
10336 LIBS=$ac_check_soname_save_LIBS
10338 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10339 { echo "$as_me:$LINENO: result: not found" >&5
10340 echo "${ECHO_T}not found" >&6; }
10342 else
10343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10344 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10346 cat >>confdefs.h <<_ACEOF
10347 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10348 _ACEOF
10353 else
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10362 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10363 case "x$with_xrandr" in
10364 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10365 xno) ;;
10366 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10367 This is an error since --with-xrandr was requested." >&5
10368 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10369 This is an error since --with-xrandr was requested." >&2;}
10370 { (exit 1); exit 1; }; } ;;
10371 esac
10375 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10376 then
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 #include <X11/Xlib.h>
10384 #include <X11/extensions/Xinerama.h>
10386 main ()
10388 static typeof(XineramaQueryScreens) * func;
10390 return 0;
10392 _ACEOF
10393 rm -f conftest.$ac_objext
10394 if { (ac_try="$ac_compile"
10395 case "(($ac_try" in
10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10397 *) ac_try_echo=$ac_try;;
10398 esac
10399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10400 (eval "$ac_compile") 2>conftest.er1
10401 ac_status=$?
10402 grep -v '^ *+' conftest.er1 >conftest.err
10403 rm -f conftest.er1
10404 cat conftest.err >&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } && {
10407 test -z "$ac_c_werror_flag" ||
10408 test ! -s conftest.err
10409 } && test -s conftest.$ac_objext; then
10410 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10411 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10412 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 else
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10417 cat >conftest.$ac_ext <<_ACEOF
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10427 #ifdef __cplusplus
10428 extern "C"
10429 #endif
10430 char XineramaQueryScreens ();
10432 main ()
10434 return XineramaQueryScreens ();
10436 return 0;
10438 _ACEOF
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (ac_try="$ac_link"
10441 case "(($ac_try" in
10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10444 esac
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_link") 2>conftest.er1
10447 ac_status=$?
10448 grep -v '^ *+' conftest.er1 >conftest.err
10449 rm -f conftest.er1
10450 cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } && {
10453 test -z "$ac_c_werror_flag" ||
10454 test ! -s conftest.err
10455 } && test -s conftest$ac_exeext &&
10456 $as_test_x conftest$ac_exeext; then
10457 case "$LIBEXT" in
10458 dll) ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10461 esac
10462 else
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_soname_save_LIBS
10473 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10474 { echo "$as_me:$LINENO: result: not found" >&5
10475 echo "${ECHO_T}not found" >&6; }
10477 else
10478 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10479 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10481 cat >>confdefs.h <<_ACEOF
10482 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10483 _ACEOF
10488 else
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.$ac_ext >&5
10495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10497 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10498 case "x$with_xinerama" in
10499 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10500 xno) ;;
10501 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10502 This is an error since --with-xinerama was requested." >&5
10503 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10504 This is an error since --with-xinerama was requested." >&2;}
10505 { (exit 1); exit 1; }; } ;;
10506 esac
10510 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10511 then
10512 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10513 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10514 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10516 else
10517 ac_check_soname_save_LIBS=$LIBS
10518 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10519 cat >conftest.$ac_ext <<_ACEOF
10520 /* confdefs.h. */
10521 _ACEOF
10522 cat confdefs.h >>conftest.$ac_ext
10523 cat >>conftest.$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10526 /* Override any GCC internal prototype to avoid an error.
10527 Use char because int might match the return type of a GCC
10528 builtin and then its argument prototype would still apply. */
10529 #ifdef __cplusplus
10530 extern "C"
10531 #endif
10532 char XCompositeRedirectWindow ();
10534 main ()
10536 return XCompositeRedirectWindow ();
10538 return 0;
10540 _ACEOF
10541 rm -f conftest.$ac_objext conftest$ac_exeext
10542 if { (ac_try="$ac_link"
10543 case "(($ac_try" in
10544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10545 *) ac_try_echo=$ac_try;;
10546 esac
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_link") 2>conftest.er1
10549 ac_status=$?
10550 grep -v '^ *+' conftest.er1 >conftest.err
10551 rm -f conftest.er1
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest$ac_exeext &&
10558 $as_test_x conftest$ac_exeext; then
10559 case "$LIBEXT" in
10560 dll) ;;
10561 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'` ;;
10562 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10563 esac
10564 else
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_soname_save_LIBS
10575 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10576 { echo "$as_me:$LINENO: result: not found" >&5
10577 echo "${ECHO_T}not found" >&6; }
10579 else
10580 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10581 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10583 cat >>confdefs.h <<_ACEOF
10584 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10585 _ACEOF
10591 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10592 case "x$with_xcomposite" in
10593 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10594 xno) ;;
10595 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10596 This is an error since --with-xcomposite was requested." >&5
10597 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10598 This is an error since --with-xcomposite was requested." >&2;}
10599 { (exit 1); exit 1; }; } ;;
10600 esac
10605 opengl_msg=""
10606 if test "x$with_opengl" != "xno"
10607 then
10612 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 else
10620 cat >conftest.$ac_ext <<_ACEOF
10621 /* confdefs.h. */
10622 _ACEOF
10623 cat confdefs.h >>conftest.$ac_ext
10624 cat >>conftest.$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10626 #ifdef HAVE_GL_GLX_H
10627 # include <GL/glx.h>
10628 #endif
10630 #include <$ac_header>
10631 _ACEOF
10632 rm -f conftest.$ac_objext
10633 if { (ac_try="$ac_compile"
10634 case "(($ac_try" in
10635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10636 *) ac_try_echo=$ac_try;;
10637 esac
10638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10639 (eval "$ac_compile") 2>conftest.er1
10640 ac_status=$?
10641 grep -v '^ *+' conftest.er1 >conftest.err
10642 rm -f conftest.er1
10643 cat conftest.err >&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } && {
10646 test -z "$ac_c_werror_flag" ||
10647 test ! -s conftest.err
10648 } && test -s conftest.$ac_objext; then
10649 eval "$as_ac_Header=yes"
10650 else
10651 echo "$as_me: failed program was:" >&5
10652 sed 's/^/| /' conftest.$ac_ext >&5
10654 eval "$as_ac_Header=no"
10657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10659 ac_res=`eval echo '${'$as_ac_Header'}'`
10660 { echo "$as_me:$LINENO: result: $ac_res" >&5
10661 echo "${ECHO_T}$ac_res" >&6; }
10662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10663 cat >>confdefs.h <<_ACEOF
10664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10665 _ACEOF
10669 done
10671 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10672 then
10673 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10674 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10675 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10676 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 else
10678 cat >conftest.$ac_ext <<_ACEOF
10679 /* confdefs.h. */
10680 _ACEOF
10681 cat confdefs.h >>conftest.$ac_ext
10682 cat >>conftest.$ac_ext <<_ACEOF
10683 /* end confdefs.h. */
10684 #include <GL/gl.h>
10686 main ()
10688 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10690 return 0;
10692 _ACEOF
10693 rm -f conftest.$ac_objext
10694 if { (ac_try="$ac_compile"
10695 case "(($ac_try" in
10696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10697 *) ac_try_echo=$ac_try;;
10698 esac
10699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10700 (eval "$ac_compile") 2>conftest.er1
10701 ac_status=$?
10702 grep -v '^ *+' conftest.er1 >conftest.err
10703 rm -f conftest.er1
10704 cat conftest.err >&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } && {
10707 test -z "$ac_c_werror_flag" ||
10708 test ! -s conftest.err
10709 } && test -s conftest.$ac_objext; then
10710 wine_cv_opengl_header_version_OK="yes"
10711 else
10712 echo "$as_me: failed program was:" >&5
10713 sed 's/^/| /' conftest.$ac_ext >&5
10715 wine_cv_opengl_header_version_OK="no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10720 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10721 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10723 if test "$wine_cv_opengl_header_version_OK" = "yes"
10724 then
10725 { echo "$as_me:$LINENO: checking for -lGL" >&5
10726 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10727 if test "${ac_cv_lib_soname_GL+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 else
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10732 cat >conftest.$ac_ext <<_ACEOF
10733 /* confdefs.h. */
10734 _ACEOF
10735 cat confdefs.h >>conftest.$ac_ext
10736 cat >>conftest.$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10742 #ifdef __cplusplus
10743 extern "C"
10744 #endif
10745 char glXCreateContext ();
10747 main ()
10749 return glXCreateContext ();
10751 return 0;
10753 _ACEOF
10754 rm -f conftest.$ac_objext conftest$ac_exeext
10755 if { (ac_try="$ac_link"
10756 case "(($ac_try" in
10757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10758 *) ac_try_echo=$ac_try;;
10759 esac
10760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761 (eval "$ac_link") 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && {
10768 test -z "$ac_c_werror_flag" ||
10769 test ! -s conftest.err
10770 } && test -s conftest$ac_exeext &&
10771 $as_test_x conftest$ac_exeext; then
10772 case "$LIBEXT" in
10773 dll) ;;
10774 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'` ;;
10775 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10776 esac
10777 else
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.$ac_ext >&5
10784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_soname_save_LIBS
10788 if test "x$ac_cv_lib_soname_GL" = "x"; then
10789 { echo "$as_me:$LINENO: result: not found" >&5
10790 echo "${ECHO_T}not found" >&6; }
10791 { echo "$as_me:$LINENO: checking for -lGL" >&5
10792 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10793 if test "${ac_cv_lib_soname_GL+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 else
10796 ac_check_soname_save_LIBS=$LIBS
10797 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"
10798 cat >conftest.$ac_ext <<_ACEOF
10799 /* confdefs.h. */
10800 _ACEOF
10801 cat confdefs.h >>conftest.$ac_ext
10802 cat >>conftest.$ac_ext <<_ACEOF
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 char glXCreateContext ();
10813 main ()
10815 return glXCreateContext ();
10817 return 0;
10819 _ACEOF
10820 rm -f conftest.$ac_objext conftest$ac_exeext
10821 if { (ac_try="$ac_link"
10822 case "(($ac_try" in
10823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10824 *) ac_try_echo=$ac_try;;
10825 esac
10826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10827 (eval "$ac_link") 2>conftest.er1
10828 ac_status=$?
10829 grep -v '^ *+' conftest.er1 >conftest.err
10830 rm -f conftest.er1
10831 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } && {
10834 test -z "$ac_c_werror_flag" ||
10835 test ! -s conftest.err
10836 } && test -s conftest$ac_exeext &&
10837 $as_test_x conftest$ac_exeext; then
10838 case "$LIBEXT" in
10839 dll) ;;
10840 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'` ;;
10841 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10842 esac
10843 else
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10851 conftest$ac_exeext conftest.$ac_ext
10852 LIBS=$ac_check_soname_save_LIBS
10854 if test "x$ac_cv_lib_soname_GL" = "x"; then
10855 { echo "$as_me:$LINENO: result: not found" >&5
10856 echo "${ECHO_T}not found" >&6; }
10857 if test -f /usr/X11R6/lib/libGL.a
10858 then
10859 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10860 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10861 else
10862 opengl_msg="No OpenGL library found on this system."
10864 else
10865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10866 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10868 cat >>confdefs.h <<_ACEOF
10869 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10870 _ACEOF
10872 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"
10873 OPENGLFILES='$(OPENGLFILES)'
10875 cat >>confdefs.h <<\_ACEOF
10876 #define HAVE_OPENGL 1
10877 _ACEOF
10881 else
10882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10883 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10885 cat >>confdefs.h <<_ACEOF
10886 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10887 _ACEOF
10889 OPENGL_LIBS="-lGL"
10890 OPENGLFILES='$(OPENGLFILES)'
10892 cat >>confdefs.h <<\_ACEOF
10893 #define HAVE_OPENGL 1
10894 _ACEOF
10899 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10900 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10901 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10902 echo $ECHO_N "(cached) $ECHO_C" >&6
10903 else
10904 ac_check_lib_save_LIBS=$LIBS
10905 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10906 cat >conftest.$ac_ext <<_ACEOF
10907 /* confdefs.h. */
10908 _ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10913 /* Override any GCC internal prototype to avoid an error.
10914 Use char because int might match the return type of a GCC
10915 builtin and then its argument prototype would still apply. */
10916 #ifdef __cplusplus
10917 extern "C"
10918 #endif
10919 char gluLookAt ();
10921 main ()
10923 return gluLookAt ();
10925 return 0;
10927 _ACEOF
10928 rm -f conftest.$ac_objext conftest$ac_exeext
10929 if { (ac_try="$ac_link"
10930 case "(($ac_try" in
10931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10932 *) ac_try_echo=$ac_try;;
10933 esac
10934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10935 (eval "$ac_link") 2>conftest.er1
10936 ac_status=$?
10937 grep -v '^ *+' conftest.er1 >conftest.err
10938 rm -f conftest.er1
10939 cat conftest.err >&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); } && {
10942 test -z "$ac_c_werror_flag" ||
10943 test ! -s conftest.err
10944 } && test -s conftest$ac_exeext &&
10945 $as_test_x conftest$ac_exeext; then
10946 ac_cv_lib_GLU_gluLookAt=yes
10947 else
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.$ac_ext >&5
10951 ac_cv_lib_GLU_gluLookAt=no
10954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10959 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10960 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10961 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10962 GLU32FILES='$(GLU32FILES)'
10966 else
10967 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10969 else
10970 opengl_msg="OpenGL development headers not found."
10973 if test -n "$opengl_msg"; then
10974 case "x$with_opengl" in
10975 x) wine_warnings="$wine_warnings|$opengl_msg
10976 OpenGL and Direct3D won't be supported." ;;
10977 xno) ;;
10978 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10979 OpenGL and Direct3D won't be supported.
10980 This is an error since --with-opengl was requested." >&5
10981 echo "$as_me: error: $opengl_msg
10982 OpenGL and Direct3D won't be supported.
10983 This is an error since --with-opengl was requested." >&2;}
10984 { (exit 1); exit 1; }; } ;;
10985 esac
10989 NASLIBS=""
10992 for ac_header in audio/audiolib.h
10994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10999 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 ac_res=`eval echo '${'$as_ac_Header'}'`
11002 { echo "$as_me:$LINENO: result: $ac_res" >&5
11003 echo "${ECHO_T}$ac_res" >&6; }
11004 else
11005 # Is the header compilable?
11006 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11014 $ac_includes_default
11015 #include <$ac_header>
11016 _ACEOF
11017 rm -f conftest.$ac_objext
11018 if { (ac_try="$ac_compile"
11019 case "(($ac_try" in
11020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11022 esac
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_compile") 2>conftest.er1
11025 ac_status=$?
11026 grep -v '^ *+' conftest.er1 >conftest.err
11027 rm -f conftest.er1
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } && {
11031 test -z "$ac_c_werror_flag" ||
11032 test ! -s conftest.err
11033 } && test -s conftest.$ac_objext; then
11034 ac_header_compiler=yes
11035 else
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.$ac_ext >&5
11039 ac_header_compiler=no
11042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11044 echo "${ECHO_T}$ac_header_compiler" >&6; }
11046 # Is the header present?
11047 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11049 cat >conftest.$ac_ext <<_ACEOF
11050 /* confdefs.h. */
11051 _ACEOF
11052 cat confdefs.h >>conftest.$ac_ext
11053 cat >>conftest.$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 #include <$ac_header>
11056 _ACEOF
11057 if { (ac_try="$ac_cpp conftest.$ac_ext"
11058 case "(($ac_try" in
11059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11060 *) ac_try_echo=$ac_try;;
11061 esac
11062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11064 ac_status=$?
11065 grep -v '^ *+' conftest.er1 >conftest.err
11066 rm -f conftest.er1
11067 cat conftest.err >&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } >/dev/null && {
11070 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11071 test ! -s conftest.err
11072 }; then
11073 ac_header_preproc=yes
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11078 ac_header_preproc=no
11081 rm -f conftest.err conftest.$ac_ext
11082 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11083 echo "${ECHO_T}$ac_header_preproc" >&6; }
11085 # So? What about this header?
11086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11087 yes:no: )
11088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11092 ac_header_preproc=yes
11094 no:yes:* )
11095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11107 ( cat <<\_ASBOX
11108 ## ------------------------------------ ##
11109 ## Report this to wine-devel@winehq.org ##
11110 ## ------------------------------------ ##
11111 _ASBOX
11112 ) | sed "s/^/$as_me: WARNING: /" >&2
11114 esac
11115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 else
11120 eval "$as_ac_Header=\$ac_header_preproc"
11122 ac_res=`eval echo '${'$as_ac_Header'}'`
11123 { echo "$as_me:$LINENO: result: $ac_res" >&5
11124 echo "${ECHO_T}$ac_res" >&6; }
11127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11128 cat >>confdefs.h <<_ACEOF
11129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11130 _ACEOF
11132 for ac_header in audio/soundlib.h
11134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 else
11140 cat >conftest.$ac_ext <<_ACEOF
11141 /* confdefs.h. */
11142 _ACEOF
11143 cat confdefs.h >>conftest.$ac_ext
11144 cat >>conftest.$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11146 #include <audio/audiolib.h>
11148 #include <$ac_header>
11149 _ACEOF
11150 rm -f conftest.$ac_objext
11151 if { (ac_try="$ac_compile"
11152 case "(($ac_try" in
11153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11154 *) ac_try_echo=$ac_try;;
11155 esac
11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 (eval "$ac_compile") 2>conftest.er1
11158 ac_status=$?
11159 grep -v '^ *+' conftest.er1 >conftest.err
11160 rm -f conftest.er1
11161 cat conftest.err >&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } && {
11164 test -z "$ac_c_werror_flag" ||
11165 test ! -s conftest.err
11166 } && test -s conftest.$ac_objext; then
11167 eval "$as_ac_Header=yes"
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11172 eval "$as_ac_Header=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11177 ac_res=`eval echo '${'$as_ac_Header'}'`
11178 { echo "$as_me:$LINENO: result: $ac_res" >&5
11179 echo "${ECHO_T}$ac_res" >&6; }
11180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11181 cat >>confdefs.h <<_ACEOF
11182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11183 _ACEOF
11187 done
11189 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11190 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11191 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char AuCreateFlow ();
11211 main ()
11213 return AuCreateFlow ();
11215 return 0;
11217 _ACEOF
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (ac_try="$ac_link"
11220 case "(($ac_try" in
11221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11223 esac
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_link") 2>conftest.er1
11226 ac_status=$?
11227 grep -v '^ *+' conftest.er1 >conftest.err
11228 rm -f conftest.er1
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && {
11232 test -z "$ac_c_werror_flag" ||
11233 test ! -s conftest.err
11234 } && test -s conftest$ac_exeext &&
11235 $as_test_x conftest$ac_exeext; then
11236 ac_cv_lib_audio_AuCreateFlow=yes
11237 else
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_cv_lib_audio_AuCreateFlow=no
11244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11249 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11250 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11252 cat >>confdefs.h <<\_ACEOF
11253 #define HAVE_NAS 1
11254 _ACEOF
11256 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11257 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11258 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 else
11261 ac_check_lib_save_LIBS=$LIBS
11262 LIBS="-lXau $X_LIBS $LIBS"
11263 cat >conftest.$ac_ext <<_ACEOF
11264 /* confdefs.h. */
11265 _ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11273 #ifdef __cplusplus
11274 extern "C"
11275 #endif
11276 char XauGetBestAuthByAddr ();
11278 main ()
11280 return XauGetBestAuthByAddr ();
11282 return 0;
11284 _ACEOF
11285 rm -f conftest.$ac_objext conftest$ac_exeext
11286 if { (ac_try="$ac_link"
11287 case "(($ac_try" in
11288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11290 esac
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_link") 2>conftest.er1
11293 ac_status=$?
11294 grep -v '^ *+' conftest.er1 >conftest.err
11295 rm -f conftest.er1
11296 cat conftest.err >&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } && {
11299 test -z "$ac_c_werror_flag" ||
11300 test ! -s conftest.err
11301 } && test -s conftest$ac_exeext &&
11302 $as_test_x conftest$ac_exeext; then
11303 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11304 else
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11308 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11315 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11316 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11317 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11318 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11319 else
11320 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11328 done
11331 CPPFLAGS="$ac_save_CPPFLAGS"
11332 XFILES='$(XFILES)'
11333 else
11334 XLIB=""
11335 X_CFLAGS=""
11336 X_LIBS=""
11338 if test "x$XLIB" = "x"; then
11339 case "x$with_x" in
11340 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11341 without X support, which probably isn't what you want. You will need to install
11342 development packages of Xlib/Xfree86 at the very least." ;;
11343 xno) ;;
11344 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11345 without X support, which probably isn't what you want. You will need to install
11346 development packages of Xlib/Xfree86 at the very least.
11347 This is an error since --with-x was requested." >&5
11348 echo "$as_me: error: X development files not found. Wine will be built
11349 without X support, which probably isn't what you want. You will need to install
11350 development packages of Xlib/Xfree86 at the very least.
11351 This is an error since --with-x was requested." >&2;}
11352 { (exit 1); exit 1; }; } ;;
11353 esac
11358 XML2LIBS=""
11360 XML2INCL=""
11362 XSLTLIBS=""
11364 XSLTINCL=""
11366 if test "x$with_xml" != "xno"
11367 then
11368 ac_save_CPPFLAGS="$CPPFLAGS"
11369 if test "$PKG_CONFIG" != "false"
11370 then
11371 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11372 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11373 else
11374 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11375 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11377 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11379 for ac_header in libxml/parser.h
11381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 ac_res=`eval echo '${'$as_ac_Header'}'`
11389 { echo "$as_me:$LINENO: result: $ac_res" >&5
11390 echo "${ECHO_T}$ac_res" >&6; }
11391 else
11392 # Is the header compilable?
11393 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11395 cat >conftest.$ac_ext <<_ACEOF
11396 /* confdefs.h. */
11397 _ACEOF
11398 cat confdefs.h >>conftest.$ac_ext
11399 cat >>conftest.$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11401 $ac_includes_default
11402 #include <$ac_header>
11403 _ACEOF
11404 rm -f conftest.$ac_objext
11405 if { (ac_try="$ac_compile"
11406 case "(($ac_try" in
11407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11408 *) ac_try_echo=$ac_try;;
11409 esac
11410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11411 (eval "$ac_compile") 2>conftest.er1
11412 ac_status=$?
11413 grep -v '^ *+' conftest.er1 >conftest.err
11414 rm -f conftest.er1
11415 cat conftest.err >&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } && {
11418 test -z "$ac_c_werror_flag" ||
11419 test ! -s conftest.err
11420 } && test -s conftest.$ac_objext; then
11421 ac_header_compiler=yes
11422 else
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.$ac_ext >&5
11426 ac_header_compiler=no
11429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11430 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11431 echo "${ECHO_T}$ac_header_compiler" >&6; }
11433 # Is the header present?
11434 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <$ac_header>
11443 _ACEOF
11444 if { (ac_try="$ac_cpp conftest.$ac_ext"
11445 case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11448 esac
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11451 ac_status=$?
11452 grep -v '^ *+' conftest.er1 >conftest.err
11453 rm -f conftest.er1
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } >/dev/null && {
11457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 }; then
11460 ac_header_preproc=yes
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_header_preproc=no
11468 rm -f conftest.err conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11470 echo "${ECHO_T}$ac_header_preproc" >&6; }
11472 # So? What about this header?
11473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11474 yes:no: )
11475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11479 ac_header_preproc=yes
11481 no:yes:* )
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11494 ( cat <<\_ASBOX
11495 ## ------------------------------------ ##
11496 ## Report this to wine-devel@winehq.org ##
11497 ## ------------------------------------ ##
11498 _ASBOX
11499 ) | sed "s/^/$as_me: WARNING: /" >&2
11501 esac
11502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 else
11507 eval "$as_ac_Header=\$ac_header_preproc"
11509 ac_res=`eval echo '${'$as_ac_Header'}'`
11510 { echo "$as_me:$LINENO: result: $ac_res" >&5
11511 echo "${ECHO_T}$ac_res" >&6; }
11514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11515 cat >>confdefs.h <<_ACEOF
11516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11517 _ACEOF
11518 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11519 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11520 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523 ac_check_lib_save_LIBS=$LIBS
11524 LIBS="-lxml2 $ac_xml_libs $LIBS"
11525 cat >conftest.$ac_ext <<_ACEOF
11526 /* confdefs.h. */
11527 _ACEOF
11528 cat confdefs.h >>conftest.$ac_ext
11529 cat >>conftest.$ac_ext <<_ACEOF
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char xmlParseMemory ();
11540 main ()
11542 return xmlParseMemory ();
11544 return 0;
11546 _ACEOF
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (ac_try="$ac_link"
11549 case "(($ac_try" in
11550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11551 *) ac_try_echo=$ac_try;;
11552 esac
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_link") 2>conftest.er1
11555 ac_status=$?
11556 grep -v '^ *+' conftest.er1 >conftest.err
11557 rm -f conftest.er1
11558 cat conftest.err >&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } && {
11561 test -z "$ac_c_werror_flag" ||
11562 test ! -s conftest.err
11563 } && test -s conftest$ac_exeext &&
11564 $as_test_x conftest$ac_exeext; then
11565 ac_cv_lib_xml2_xmlParseMemory=yes
11566 else
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.$ac_ext >&5
11570 ac_cv_lib_xml2_xmlParseMemory=no
11573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11574 conftest$ac_exeext conftest.$ac_ext
11575 LIBS=$ac_check_lib_save_LIBS
11577 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11578 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11579 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11581 cat >>confdefs.h <<\_ACEOF
11582 #define HAVE_LIBXML2 1
11583 _ACEOF
11585 XML2LIBS="$ac_xml_libs"
11586 XML2INCL="$ac_xml_cflags"
11589 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11590 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11591 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11592 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 else
11594 ac_check_lib_save_LIBS=$LIBS
11595 LIBS="-lxml2 $ac_xml_libs $LIBS"
11596 cat >conftest.$ac_ext <<_ACEOF
11597 /* confdefs.h. */
11598 _ACEOF
11599 cat confdefs.h >>conftest.$ac_ext
11600 cat >>conftest.$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char xmlReadMemory ();
11611 main ()
11613 return xmlReadMemory ();
11615 return 0;
11617 _ACEOF
11618 rm -f conftest.$ac_objext conftest$ac_exeext
11619 if { (ac_try="$ac_link"
11620 case "(($ac_try" in
11621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11622 *) ac_try_echo=$ac_try;;
11623 esac
11624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11625 (eval "$ac_link") 2>conftest.er1
11626 ac_status=$?
11627 grep -v '^ *+' conftest.er1 >conftest.err
11628 rm -f conftest.er1
11629 cat conftest.err >&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } && {
11632 test -z "$ac_c_werror_flag" ||
11633 test ! -s conftest.err
11634 } && test -s conftest$ac_exeext &&
11635 $as_test_x conftest$ac_exeext; then
11636 ac_cv_lib_xml2_xmlReadMemory=yes
11637 else
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11641 ac_cv_lib_xml2_xmlReadMemory=no
11644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_lib_save_LIBS
11648 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11649 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11650 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11652 cat >>confdefs.h <<\_ACEOF
11653 #define HAVE_XMLREADMEMORY 1
11654 _ACEOF
11658 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11659 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11660 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 else
11663 ac_check_lib_save_LIBS=$LIBS
11664 LIBS="-lxml2 $ac_xml_libs $LIBS"
11665 cat >conftest.$ac_ext <<_ACEOF
11666 /* confdefs.h. */
11667 _ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11672 /* Override any GCC internal prototype to avoid an error.
11673 Use char because int might match the return type of a GCC
11674 builtin and then its argument prototype would still apply. */
11675 #ifdef __cplusplus
11676 extern "C"
11677 #endif
11678 char xmlNewDocPI ();
11680 main ()
11682 return xmlNewDocPI ();
11684 return 0;
11686 _ACEOF
11687 rm -f conftest.$ac_objext conftest$ac_exeext
11688 if { (ac_try="$ac_link"
11689 case "(($ac_try" in
11690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11691 *) ac_try_echo=$ac_try;;
11692 esac
11693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11694 (eval "$ac_link") 2>conftest.er1
11695 ac_status=$?
11696 grep -v '^ *+' conftest.er1 >conftest.err
11697 rm -f conftest.er1
11698 cat conftest.err >&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } && {
11701 test -z "$ac_c_werror_flag" ||
11702 test ! -s conftest.err
11703 } && test -s conftest$ac_exeext &&
11704 $as_test_x conftest$ac_exeext; then
11705 ac_cv_lib_xml2_xmlNewDocPI=yes
11706 else
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 ac_cv_lib_xml2_xmlNewDocPI=no
11713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_lib_save_LIBS
11717 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11718 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11719 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11721 cat >>confdefs.h <<\_ACEOF
11722 #define HAVE_XMLNEWDOCPI 1
11723 _ACEOF
11730 done
11732 CPPFLAGS="$ac_save_CPPFLAGS"
11734 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11735 case "x$with_xml" in
11736 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11737 xno) ;;
11738 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11739 This is an error since --with-xml was requested." >&5
11740 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11741 This is an error since --with-xml was requested." >&2;}
11742 { (exit 1); exit 1; }; } ;;
11743 esac
11747 if test "x$with_xslt" != "xno"
11748 then
11749 if test "$PKG_CONFIG" != "false"
11750 then
11751 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11752 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11753 else
11754 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11755 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11757 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11760 for ac_header in libxslt/pattern.h libxslt/transform.h
11762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 else
11768 cat >conftest.$ac_ext <<_ACEOF
11769 /* confdefs.h. */
11770 _ACEOF
11771 cat confdefs.h >>conftest.$ac_ext
11772 cat >>conftest.$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11774 #ifdef HAVE_LIBXSLT_PATTERN_H
11775 # include <libxslt/pattern.h>
11776 #endif
11778 #include <$ac_header>
11779 _ACEOF
11780 rm -f conftest.$ac_objext
11781 if { (ac_try="$ac_compile"
11782 case "(($ac_try" in
11783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11784 *) ac_try_echo=$ac_try;;
11785 esac
11786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11787 (eval "$ac_compile") 2>conftest.er1
11788 ac_status=$?
11789 grep -v '^ *+' conftest.er1 >conftest.err
11790 rm -f conftest.er1
11791 cat conftest.err >&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } && {
11794 test -z "$ac_c_werror_flag" ||
11795 test ! -s conftest.err
11796 } && test -s conftest.$ac_objext; then
11797 eval "$as_ac_Header=yes"
11798 else
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.$ac_ext >&5
11802 eval "$as_ac_Header=no"
11805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11807 ac_res=`eval echo '${'$as_ac_Header'}'`
11808 { echo "$as_me:$LINENO: result: $ac_res" >&5
11809 echo "${ECHO_T}$ac_res" >&6; }
11810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11811 cat >>confdefs.h <<_ACEOF
11812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11813 _ACEOF
11814 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11815 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11816 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11818 else
11819 ac_check_lib_save_LIBS=$LIBS
11820 LIBS="-lxslt $ac_xslt_libs $LIBS"
11821 cat >conftest.$ac_ext <<_ACEOF
11822 /* confdefs.h. */
11823 _ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11831 #ifdef __cplusplus
11832 extern "C"
11833 #endif
11834 char xsltCompilePattern ();
11836 main ()
11838 return xsltCompilePattern ();
11840 return 0;
11842 _ACEOF
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (ac_try="$ac_link"
11845 case "(($ac_try" in
11846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847 *) ac_try_echo=$ac_try;;
11848 esac
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_link") 2>conftest.er1
11851 ac_status=$?
11852 grep -v '^ *+' conftest.er1 >conftest.err
11853 rm -f conftest.er1
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } && {
11857 test -z "$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 } && test -s conftest$ac_exeext &&
11860 $as_test_x conftest$ac_exeext; then
11861 ac_cv_lib_xslt_xsltCompilePattern=yes
11862 else
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_lib_xslt_xsltCompilePattern=no
11869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11874 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11875 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11877 cat >>confdefs.h <<\_ACEOF
11878 #define HAVE_LIBXSLT 1
11879 _ACEOF
11881 XSLTLIBS="$ac_xslt_libs"
11882 XSLTINCL="$ac_xslt_cflags"
11888 done
11890 CPPFLAGS="$ac_save_CPPFLAGS"
11892 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11893 case "x$with_xslt" in
11894 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11895 xno) ;;
11896 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11897 This is an error since --with-xslt was requested." >&5
11898 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11899 This is an error since --with-xslt was requested." >&2;}
11900 { (exit 1); exit 1; }; } ;;
11901 esac
11905 HALINCL=""
11907 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11908 then
11909 ac_save_CPPFLAGS="$CPPFLAGS"
11910 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11911 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11912 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11915 for ac_header in dbus/dbus.h hal/libhal.h
11917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 ac_res=`eval echo '${'$as_ac_Header'}'`
11925 { echo "$as_me:$LINENO: result: $ac_res" >&5
11926 echo "${ECHO_T}$ac_res" >&6; }
11927 else
11928 # Is the header compilable?
11929 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11931 cat >conftest.$ac_ext <<_ACEOF
11932 /* confdefs.h. */
11933 _ACEOF
11934 cat confdefs.h >>conftest.$ac_ext
11935 cat >>conftest.$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11937 $ac_includes_default
11938 #include <$ac_header>
11939 _ACEOF
11940 rm -f conftest.$ac_objext
11941 if { (ac_try="$ac_compile"
11942 case "(($ac_try" in
11943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11945 esac
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_compile") 2>conftest.er1
11948 ac_status=$?
11949 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err
11956 } && test -s conftest.$ac_objext; then
11957 ac_header_compiler=yes
11958 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11962 ac_header_compiler=no
11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11966 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11967 echo "${ECHO_T}$ac_header_compiler" >&6; }
11969 # Is the header present?
11970 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11972 cat >conftest.$ac_ext <<_ACEOF
11973 /* confdefs.h. */
11974 _ACEOF
11975 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11978 #include <$ac_header>
11979 _ACEOF
11980 if { (ac_try="$ac_cpp conftest.$ac_ext"
11981 case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11984 esac
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } >/dev/null && {
11993 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11994 test ! -s conftest.err
11995 }; then
11996 ac_header_preproc=yes
11997 else
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_header_preproc=no
12004 rm -f conftest.err conftest.$ac_ext
12005 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12006 echo "${ECHO_T}$ac_header_preproc" >&6; }
12008 # So? What about this header?
12009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12010 yes:no: )
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12015 ac_header_preproc=yes
12017 no:yes:* )
12018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12030 ( cat <<\_ASBOX
12031 ## ------------------------------------ ##
12032 ## Report this to wine-devel@winehq.org ##
12033 ## ------------------------------------ ##
12034 _ASBOX
12035 ) | sed "s/^/$as_me: WARNING: /" >&2
12037 esac
12038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 else
12043 eval "$as_ac_Header=\$ac_header_preproc"
12045 ac_res=`eval echo '${'$as_ac_Header'}'`
12046 { echo "$as_me:$LINENO: result: $ac_res" >&5
12047 echo "${ECHO_T}$ac_res" >&6; }
12050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12051 cat >>confdefs.h <<_ACEOF
12052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12053 _ACEOF
12057 done
12059 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12060 then
12061 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12062 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12063 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12068 cat >conftest.$ac_ext <<_ACEOF
12069 /* confdefs.h. */
12070 _ACEOF
12071 cat confdefs.h >>conftest.$ac_ext
12072 cat >>conftest.$ac_ext <<_ACEOF
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char dbus_connection_close ();
12083 main ()
12085 return dbus_connection_close ();
12087 return 0;
12089 _ACEOF
12090 rm -f conftest.$ac_objext conftest$ac_exeext
12091 if { (ac_try="$ac_link"
12092 case "(($ac_try" in
12093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12094 *) ac_try_echo=$ac_try;;
12095 esac
12096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12097 (eval "$ac_link") 2>conftest.er1
12098 ac_status=$?
12099 grep -v '^ *+' conftest.er1 >conftest.err
12100 rm -f conftest.er1
12101 cat conftest.err >&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && {
12104 test -z "$ac_c_werror_flag" ||
12105 test ! -s conftest.err
12106 } && test -s conftest$ac_exeext &&
12107 $as_test_x conftest$ac_exeext; then
12108 ac_cv_lib_dbus_1_dbus_connection_close=yes
12109 else
12110 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.$ac_ext >&5
12113 ac_cv_lib_dbus_1_dbus_connection_close=no
12116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_lib_save_LIBS
12120 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12121 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12122 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12123 { echo "$as_me:$LINENO: checking for -lhal" >&5
12124 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12125 if test "${ac_cv_lib_soname_hal+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12128 ac_check_soname_save_LIBS=$LIBS
12129 LIBS="-lhal $ac_hal_libs $LIBS"
12130 cat >conftest.$ac_ext <<_ACEOF
12131 /* confdefs.h. */
12132 _ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char libhal_ctx_new ();
12145 main ()
12147 return libhal_ctx_new ();
12149 return 0;
12151 _ACEOF
12152 rm -f conftest.$ac_objext conftest$ac_exeext
12153 if { (ac_try="$ac_link"
12154 case "(($ac_try" in
12155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156 *) ac_try_echo=$ac_try;;
12157 esac
12158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12159 (eval "$ac_link") 2>conftest.er1
12160 ac_status=$?
12161 grep -v '^ *+' conftest.er1 >conftest.err
12162 rm -f conftest.er1
12163 cat conftest.err >&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); } && {
12166 test -z "$ac_c_werror_flag" ||
12167 test ! -s conftest.err
12168 } && test -s conftest$ac_exeext &&
12169 $as_test_x conftest$ac_exeext; then
12170 case "$LIBEXT" in
12171 dll) ;;
12172 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'` ;;
12173 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12174 esac
12175 else
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.$ac_ext >&5
12182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_soname_save_LIBS
12186 if test "x$ac_cv_lib_soname_hal" = "x"; then
12187 { echo "$as_me:$LINENO: result: not found" >&5
12188 echo "${ECHO_T}not found" >&6; }
12190 else
12191 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12192 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12194 cat >>confdefs.h <<_ACEOF
12195 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12196 _ACEOF
12198 HALINCL="$ac_hal_cflags"
12204 CPPFLAGS="$ac_save_CPPFLAGS"
12206 if test "x$ac_cv_lib_soname_hal" = "x"; then
12207 case "x$with_hal" in
12208 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12209 xno) ;;
12210 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12211 This is an error since --with-hal was requested." >&5
12212 echo "$as_me: error: libhal development files not found, no dynamic device support.
12213 This is an error since --with-hal was requested." >&2;}
12214 { (exit 1); exit 1; }; } ;;
12215 esac
12219 CURSESLIBS=""
12220 if test "$ac_cv_header_ncurses_h" = "yes"
12221 then
12222 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12223 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12224 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 else
12227 ac_check_soname_save_LIBS=$LIBS
12228 LIBS="-lncurses $LIBS"
12229 cat >conftest.$ac_ext <<_ACEOF
12230 /* confdefs.h. */
12231 _ACEOF
12232 cat confdefs.h >>conftest.$ac_ext
12233 cat >>conftest.$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12236 /* Override any GCC internal prototype to avoid an error.
12237 Use char because int might match the return type of a GCC
12238 builtin and then its argument prototype would still apply. */
12239 #ifdef __cplusplus
12240 extern "C"
12241 #endif
12242 char waddch ();
12244 main ()
12246 return waddch ();
12248 return 0;
12250 _ACEOF
12251 rm -f conftest.$ac_objext conftest$ac_exeext
12252 if { (ac_try="$ac_link"
12253 case "(($ac_try" in
12254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12256 esac
12257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12258 (eval "$ac_link") 2>conftest.er1
12259 ac_status=$?
12260 grep -v '^ *+' conftest.er1 >conftest.err
12261 rm -f conftest.er1
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } && {
12265 test -z "$ac_c_werror_flag" ||
12266 test ! -s conftest.err
12267 } && test -s conftest$ac_exeext &&
12268 $as_test_x conftest$ac_exeext; then
12269 case "$LIBEXT" in
12270 dll) ;;
12271 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'` ;;
12272 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12273 esac
12274 else
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_soname_save_LIBS
12285 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12286 { echo "$as_me:$LINENO: result: not found" >&5
12287 echo "${ECHO_T}not found" >&6; }
12289 else
12290 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12291 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12293 cat >>confdefs.h <<_ACEOF
12294 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12295 _ACEOF
12297 CURSESLIBS="-lncurses"
12300 elif test "$ac_cv_header_curses_h" = "yes"
12301 then
12302 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12303 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12304 if test "${ac_cv_lib_soname_curses+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12306 else
12307 ac_check_soname_save_LIBS=$LIBS
12308 LIBS="-lcurses $LIBS"
12309 cat >conftest.$ac_ext <<_ACEOF
12310 /* confdefs.h. */
12311 _ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char waddch ();
12324 main ()
12326 return waddch ();
12328 return 0;
12330 _ACEOF
12331 rm -f conftest.$ac_objext conftest$ac_exeext
12332 if { (ac_try="$ac_link"
12333 case "(($ac_try" in
12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12335 *) ac_try_echo=$ac_try;;
12336 esac
12337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12338 (eval "$ac_link") 2>conftest.er1
12339 ac_status=$?
12340 grep -v '^ *+' conftest.er1 >conftest.err
12341 rm -f conftest.er1
12342 cat conftest.err >&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } && {
12345 test -z "$ac_c_werror_flag" ||
12346 test ! -s conftest.err
12347 } && test -s conftest$ac_exeext &&
12348 $as_test_x conftest$ac_exeext; then
12349 case "$LIBEXT" in
12350 dll) ;;
12351 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'` ;;
12352 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12353 esac
12354 else
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.$ac_ext >&5
12361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12362 conftest$ac_exeext conftest.$ac_ext
12363 LIBS=$ac_check_soname_save_LIBS
12365 if test "x$ac_cv_lib_soname_curses" = "x"; then
12366 { echo "$as_me:$LINENO: result: not found" >&5
12367 echo "${ECHO_T}not found" >&6; }
12369 else
12370 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12371 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12373 cat >>confdefs.h <<_ACEOF
12374 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12375 _ACEOF
12377 CURSESLIBS="-lcurses"
12381 ac_save_LIBS="$LIBS"
12382 LIBS="$LIBS $CURSESLIBS"
12384 for ac_func in mousemask
12386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 else
12392 cat >conftest.$ac_ext <<_ACEOF
12393 /* confdefs.h. */
12394 _ACEOF
12395 cat confdefs.h >>conftest.$ac_ext
12396 cat >>conftest.$ac_ext <<_ACEOF
12397 /* end confdefs.h. */
12398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12400 #define $ac_func innocuous_$ac_func
12402 /* System header to define __stub macros and hopefully few prototypes,
12403 which can conflict with char $ac_func (); below.
12404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12405 <limits.h> exists even on freestanding compilers. */
12407 #ifdef __STDC__
12408 # include <limits.h>
12409 #else
12410 # include <assert.h>
12411 #endif
12413 #undef $ac_func
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 #ifdef __cplusplus
12419 extern "C"
12420 #endif
12421 char $ac_func ();
12422 /* The GNU C library defines this for functions which it implements
12423 to always fail with ENOSYS. Some functions are actually named
12424 something starting with __ and the normal name is an alias. */
12425 #if defined __stub_$ac_func || defined __stub___$ac_func
12426 choke me
12427 #endif
12430 main ()
12432 return $ac_func ();
12434 return 0;
12436 _ACEOF
12437 rm -f conftest.$ac_objext conftest$ac_exeext
12438 if { (ac_try="$ac_link"
12439 case "(($ac_try" in
12440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12441 *) ac_try_echo=$ac_try;;
12442 esac
12443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12444 (eval "$ac_link") 2>conftest.er1
12445 ac_status=$?
12446 grep -v '^ *+' conftest.er1 >conftest.err
12447 rm -f conftest.er1
12448 cat conftest.err >&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } && {
12451 test -z "$ac_c_werror_flag" ||
12452 test ! -s conftest.err
12453 } && test -s conftest$ac_exeext &&
12454 $as_test_x conftest$ac_exeext; then
12455 eval "$as_ac_var=yes"
12456 else
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12460 eval "$as_ac_var=no"
12463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12464 conftest$ac_exeext conftest.$ac_ext
12466 ac_res=`eval echo '${'$as_ac_var'}'`
12467 { echo "$as_me:$LINENO: result: $ac_res" >&5
12468 echo "${ECHO_T}$ac_res" >&6; }
12469 if test `eval echo '${'$as_ac_var'}'` = yes; then
12470 cat >>confdefs.h <<_ACEOF
12471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12472 _ACEOF
12475 done
12477 LIBS="$ac_save_LIBS"
12478 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12479 case "x$with_curses" in
12480 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12481 xno) ;;
12482 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12483 This is an error since --with-curses was requested." >&5
12484 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12485 This is an error since --with-curses was requested." >&2;}
12486 { (exit 1); exit 1; }; } ;;
12487 esac
12491 # Extract the first word of "sane-config", so it can be a program name with args.
12492 set dummy sane-config; ac_word=$2
12493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12495 if test "${ac_cv_prog_sane_devel+set}" = set; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 else
12498 if test -n "$sane_devel"; then
12499 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12500 else
12501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12502 for as_dir in $PATH
12504 IFS=$as_save_IFS
12505 test -z "$as_dir" && as_dir=.
12506 for ac_exec_ext in '' $ac_executable_extensions; do
12507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12508 ac_cv_prog_sane_devel="sane-config"
12509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 break 2
12512 done
12513 done
12514 IFS=$as_save_IFS
12516 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12519 sane_devel=$ac_cv_prog_sane_devel
12520 if test -n "$sane_devel"; then
12521 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12522 echo "${ECHO_T}$sane_devel" >&6; }
12523 else
12524 { echo "$as_me:$LINENO: result: no" >&5
12525 echo "${ECHO_T}no" >&6; }
12529 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12530 then
12531 ac_sane_incl="`$sane_devel --cflags`"
12532 ac_save_CPPFLAGS="$CPPFLAGS"
12533 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12534 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12535 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12536 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12537 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12538 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12541 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12542 else
12543 # Is the header compilable?
12544 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12545 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 $ac_includes_default
12553 #include <sane/sane.h>
12554 _ACEOF
12555 rm -f conftest.$ac_objext
12556 if { (ac_try="$ac_compile"
12557 case "(($ac_try" in
12558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12559 *) ac_try_echo=$ac_try;;
12560 esac
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_compile") 2>conftest.er1
12563 ac_status=$?
12564 grep -v '^ *+' conftest.er1 >conftest.err
12565 rm -f conftest.er1
12566 cat conftest.err >&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } && {
12569 test -z "$ac_c_werror_flag" ||
12570 test ! -s conftest.err
12571 } && test -s conftest.$ac_objext; then
12572 ac_header_compiler=yes
12573 else
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12577 ac_header_compiler=no
12580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12582 echo "${ECHO_T}$ac_header_compiler" >&6; }
12584 # Is the header present?
12585 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12586 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12587 cat >conftest.$ac_ext <<_ACEOF
12588 /* confdefs.h. */
12589 _ACEOF
12590 cat confdefs.h >>conftest.$ac_ext
12591 cat >>conftest.$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12593 #include <sane/sane.h>
12594 _ACEOF
12595 if { (ac_try="$ac_cpp conftest.$ac_ext"
12596 case "(($ac_try" in
12597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12598 *) ac_try_echo=$ac_try;;
12599 esac
12600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12602 ac_status=$?
12603 grep -v '^ *+' conftest.er1 >conftest.err
12604 rm -f conftest.er1
12605 cat conftest.err >&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } >/dev/null && {
12608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12609 test ! -s conftest.err
12610 }; then
12611 ac_header_preproc=yes
12612 else
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_header_preproc=no
12619 rm -f conftest.err conftest.$ac_ext
12620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12621 echo "${ECHO_T}$ac_header_preproc" >&6; }
12623 # So? What about this header?
12624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12625 yes:no: )
12626 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12627 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12628 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12629 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12630 ac_header_preproc=yes
12632 no:yes:* )
12633 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12634 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12636 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12638 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12640 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12641 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12642 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12643 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12644 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12645 ( cat <<\_ASBOX
12646 ## ------------------------------------ ##
12647 ## Report this to wine-devel@winehq.org ##
12648 ## ------------------------------------ ##
12649 _ASBOX
12650 ) | sed "s/^/$as_me: WARNING: /" >&2
12652 esac
12653 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12654 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12655 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 else
12658 ac_cv_header_sane_sane_h=$ac_header_preproc
12660 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12661 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12664 if test $ac_cv_header_sane_sane_h = yes; then
12665 { echo "$as_me:$LINENO: checking for -lsane" >&5
12666 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12667 if test "${ac_cv_lib_soname_sane+set}" = set; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 else
12670 ac_check_soname_save_LIBS=$LIBS
12671 LIBS="-lsane $LIBS"
12672 cat >conftest.$ac_ext <<_ACEOF
12673 /* confdefs.h. */
12674 _ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 #ifdef __cplusplus
12683 extern "C"
12684 #endif
12685 char sane_init ();
12687 main ()
12689 return sane_init ();
12691 return 0;
12693 _ACEOF
12694 rm -f conftest.$ac_objext conftest$ac_exeext
12695 if { (ac_try="$ac_link"
12696 case "(($ac_try" in
12697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12698 *) ac_try_echo=$ac_try;;
12699 esac
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_link") 2>conftest.er1
12702 ac_status=$?
12703 grep -v '^ *+' conftest.er1 >conftest.err
12704 rm -f conftest.er1
12705 cat conftest.err >&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } && {
12708 test -z "$ac_c_werror_flag" ||
12709 test ! -s conftest.err
12710 } && test -s conftest$ac_exeext &&
12711 $as_test_x conftest$ac_exeext; then
12712 case "$LIBEXT" in
12713 dll) ;;
12714 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'` ;;
12715 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12716 esac
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12725 conftest$ac_exeext conftest.$ac_ext
12726 LIBS=$ac_check_soname_save_LIBS
12728 if test "x$ac_cv_lib_soname_sane" = "x"; then
12729 { echo "$as_me:$LINENO: result: not found" >&5
12730 echo "${ECHO_T}not found" >&6; }
12732 else
12733 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12734 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12736 cat >>confdefs.h <<_ACEOF
12737 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12738 _ACEOF
12740 SANEINCL="$ac_sane_incl"
12747 CPPFLAGS="$ac_save_CPPFLAGS"
12749 if test "x$ac_cv_lib_soname_sane" = "x"; then
12750 case "x$with_sane" in
12751 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12752 xno) ;;
12753 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12754 This is an error since --with-sane was requested." >&5
12755 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12756 This is an error since --with-sane was requested." >&2;}
12757 { (exit 1); exit 1; }; } ;;
12758 esac
12762 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12763 set dummy gphoto2-config; ac_word=$2
12764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12766 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 else
12769 if test -n "$gphoto2_devel"; then
12770 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12771 else
12772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12773 for as_dir in $PATH
12775 IFS=$as_save_IFS
12776 test -z "$as_dir" && as_dir=.
12777 for ac_exec_ext in '' $ac_executable_extensions; do
12778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12779 ac_cv_prog_gphoto2_devel="gphoto2-config"
12780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12781 break 2
12783 done
12784 done
12785 IFS=$as_save_IFS
12787 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12790 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12791 if test -n "$gphoto2_devel"; then
12792 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12793 echo "${ECHO_T}$gphoto2_devel" >&6; }
12794 else
12795 { echo "$as_me:$LINENO: result: no" >&5
12796 echo "${ECHO_T}no" >&6; }
12800 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12801 set dummy gphoto2-port-config; ac_word=$2
12802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12804 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 else
12807 if test -n "$gphoto2port_devel"; then
12808 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12809 else
12810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12811 for as_dir in $PATH
12813 IFS=$as_save_IFS
12814 test -z "$as_dir" && as_dir=.
12815 for ac_exec_ext in '' $ac_executable_extensions; do
12816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12817 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12819 break 2
12821 done
12822 done
12823 IFS=$as_save_IFS
12825 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12828 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12829 if test -n "$gphoto2port_devel"; then
12830 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12831 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12832 else
12833 { echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6; }
12838 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12839 then
12840 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12841 ac_gphoto2_libs=""
12842 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12844 case "$i" in
12845 -L/usr/lib|-L/usr/lib64) ;;
12846 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12847 esac
12848 done
12849 ac_save_CPPFLAGS="$CPPFLAGS"
12850 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12851 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12852 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12853 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12854 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12858 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12859 else
12860 # Is the header compilable?
12861 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12862 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12863 cat >conftest.$ac_ext <<_ACEOF
12864 /* confdefs.h. */
12865 _ACEOF
12866 cat confdefs.h >>conftest.$ac_ext
12867 cat >>conftest.$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12869 $ac_includes_default
12870 #include <gphoto2-camera.h>
12871 _ACEOF
12872 rm -f conftest.$ac_objext
12873 if { (ac_try="$ac_compile"
12874 case "(($ac_try" in
12875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12876 *) ac_try_echo=$ac_try;;
12877 esac
12878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12879 (eval "$ac_compile") 2>conftest.er1
12880 ac_status=$?
12881 grep -v '^ *+' conftest.er1 >conftest.err
12882 rm -f conftest.er1
12883 cat conftest.err >&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } && {
12886 test -z "$ac_c_werror_flag" ||
12887 test ! -s conftest.err
12888 } && test -s conftest.$ac_objext; then
12889 ac_header_compiler=yes
12890 else
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12894 ac_header_compiler=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12899 echo "${ECHO_T}$ac_header_compiler" >&6; }
12901 # Is the header present?
12902 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12903 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 #include <gphoto2-camera.h>
12911 _ACEOF
12912 if { (ac_try="$ac_cpp conftest.$ac_ext"
12913 case "(($ac_try" in
12914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915 *) ac_try_echo=$ac_try;;
12916 esac
12917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12919 ac_status=$?
12920 grep -v '^ *+' conftest.er1 >conftest.err
12921 rm -f conftest.er1
12922 cat conftest.err >&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } >/dev/null && {
12925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12926 test ! -s conftest.err
12927 }; then
12928 ac_header_preproc=yes
12929 else
12930 echo "$as_me: failed program was:" >&5
12931 sed 's/^/| /' conftest.$ac_ext >&5
12933 ac_header_preproc=no
12936 rm -f conftest.err conftest.$ac_ext
12937 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12938 echo "${ECHO_T}$ac_header_preproc" >&6; }
12940 # So? What about this header?
12941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12942 yes:no: )
12943 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12944 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12945 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12946 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12947 ac_header_preproc=yes
12949 no:yes:* )
12950 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12951 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12952 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12953 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12954 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12955 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12957 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12958 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12959 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12961 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12962 ( cat <<\_ASBOX
12963 ## ------------------------------------ ##
12964 ## Report this to wine-devel@winehq.org ##
12965 ## ------------------------------------ ##
12966 _ASBOX
12967 ) | sed "s/^/$as_me: WARNING: /" >&2
12969 esac
12970 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12971 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12972 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 else
12975 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12977 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12978 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12981 if test $ac_cv_header_gphoto2_camera_h = yes; then
12982 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12983 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12984 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 else
12987 ac_check_lib_save_LIBS=$LIBS
12988 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12989 cat >conftest.$ac_ext <<_ACEOF
12990 /* confdefs.h. */
12991 _ACEOF
12992 cat confdefs.h >>conftest.$ac_ext
12993 cat >>conftest.$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
12999 #ifdef __cplusplus
13000 extern "C"
13001 #endif
13002 char gp_camera_new ();
13004 main ()
13006 return gp_camera_new ();
13008 return 0;
13010 _ACEOF
13011 rm -f conftest.$ac_objext conftest$ac_exeext
13012 if { (ac_try="$ac_link"
13013 case "(($ac_try" in
13014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13015 *) ac_try_echo=$ac_try;;
13016 esac
13017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13018 (eval "$ac_link") 2>conftest.er1
13019 ac_status=$?
13020 grep -v '^ *+' conftest.er1 >conftest.err
13021 rm -f conftest.er1
13022 cat conftest.err >&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } && {
13025 test -z "$ac_c_werror_flag" ||
13026 test ! -s conftest.err
13027 } && test -s conftest$ac_exeext &&
13028 $as_test_x conftest$ac_exeext; then
13029 ac_cv_lib_gphoto2_gp_camera_new=yes
13030 else
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.$ac_ext >&5
13034 ac_cv_lib_gphoto2_gp_camera_new=no
13037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_lib_save_LIBS
13041 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13042 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13043 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13045 cat >>confdefs.h <<\_ACEOF
13046 #define HAVE_GPHOTO2 1
13047 _ACEOF
13049 GPHOTO2LIBS="$ac_gphoto2_libs"
13051 GPHOTO2INCL="$ac_gphoto2_incl"
13058 CPPFLAGS="$ac_save_CPPFLAGS"
13060 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13061 case "x$with_gphoto" in
13062 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13063 xno) ;;
13064 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13065 This is an error since --with-gphoto was requested." >&5
13066 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13067 This is an error since --with-gphoto was requested." >&2;}
13068 { (exit 1); exit 1; }; } ;;
13069 esac
13074 RESOLVLIBS=""
13076 if test "$ac_cv_header_resolv_h" = "yes"
13077 then
13078 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13079 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13080 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 else
13083 ac_check_lib_save_LIBS=$LIBS
13084 LIBS="-lresolv $LIBS"
13085 cat >conftest.$ac_ext <<_ACEOF
13086 /* confdefs.h. */
13087 _ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char res_query ();
13100 main ()
13102 return res_query ();
13104 return 0;
13106 _ACEOF
13107 rm -f conftest.$ac_objext conftest$ac_exeext
13108 if { (ac_try="$ac_link"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112 esac
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_link") 2>conftest.er1
13115 ac_status=$?
13116 grep -v '^ *+' conftest.er1 >conftest.err
13117 rm -f conftest.er1
13118 cat conftest.err >&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } && {
13121 test -z "$ac_c_werror_flag" ||
13122 test ! -s conftest.err
13123 } && test -s conftest$ac_exeext &&
13124 $as_test_x conftest$ac_exeext; then
13125 ac_cv_lib_resolv_res_query=yes
13126 else
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13130 ac_cv_lib_resolv_res_query=no
13133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_lib_save_LIBS
13137 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13138 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13139 if test $ac_cv_lib_resolv_res_query = yes; then
13141 cat >>confdefs.h <<\_ACEOF
13142 #define HAVE_RESOLV 1
13143 _ACEOF
13145 RESOLVLIBS="-lresolv"
13150 LCMSLIBS=""
13152 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13153 then
13154 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13155 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13156 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 else
13159 ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-llcms $LIBS"
13161 cat >conftest.$ac_ext <<_ACEOF
13162 /* confdefs.h. */
13163 _ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char cmsOpenProfileFromFile ();
13176 main ()
13178 return cmsOpenProfileFromFile ();
13180 return 0;
13182 _ACEOF
13183 rm -f conftest.$ac_objext conftest$ac_exeext
13184 if { (ac_try="$ac_link"
13185 case "(($ac_try" in
13186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13188 esac
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_link") 2>conftest.er1
13191 ac_status=$?
13192 grep -v '^ *+' conftest.er1 >conftest.err
13193 rm -f conftest.er1
13194 cat conftest.err >&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } && {
13197 test -z "$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13199 } && test -s conftest$ac_exeext &&
13200 $as_test_x conftest$ac_exeext; then
13201 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13202 else
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.$ac_ext >&5
13206 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13214 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13215 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13217 cat >>confdefs.h <<\_ACEOF
13218 #define HAVE_LCMS 1
13219 _ACEOF
13221 LCMSLIBS="-llcms"
13225 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13226 case "x$with_cms" in
13227 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13228 xno) ;;
13229 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13230 This is an error since --with-cms was requested." >&5
13231 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13232 This is an error since --with-cms was requested." >&2;}
13233 { (exit 1); exit 1; }; } ;;
13234 esac
13238 LDAPLIBS=""
13240 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13241 then
13242 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13243 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13244 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 else
13247 ac_check_lib_save_LIBS=$LIBS
13248 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13249 cat >conftest.$ac_ext <<_ACEOF
13250 /* confdefs.h. */
13251 _ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char ldap_initialize ();
13264 main ()
13266 return ldap_initialize ();
13268 return 0;
13270 _ACEOF
13271 rm -f conftest.$ac_objext conftest$ac_exeext
13272 if { (ac_try="$ac_link"
13273 case "(($ac_try" in
13274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13275 *) ac_try_echo=$ac_try;;
13276 esac
13277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13278 (eval "$ac_link") 2>conftest.er1
13279 ac_status=$?
13280 grep -v '^ *+' conftest.er1 >conftest.err
13281 rm -f conftest.er1
13282 cat conftest.err >&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); } && {
13285 test -z "$ac_c_werror_flag" ||
13286 test ! -s conftest.err
13287 } && test -s conftest$ac_exeext &&
13288 $as_test_x conftest$ac_exeext; then
13289 ac_cv_lib_ldap_r_ldap_initialize=yes
13290 else
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.$ac_ext >&5
13294 ac_cv_lib_ldap_r_ldap_initialize=no
13297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13298 conftest$ac_exeext conftest.$ac_ext
13299 LIBS=$ac_check_lib_save_LIBS
13301 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13302 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13303 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13304 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13305 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13306 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 else
13309 ac_check_lib_save_LIBS=$LIBS
13310 LIBS="-llber $LIBPTHREAD $LIBS"
13311 cat >conftest.$ac_ext <<_ACEOF
13312 /* confdefs.h. */
13313 _ACEOF
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13318 /* Override any GCC internal prototype to avoid an error.
13319 Use char because int might match the return type of a GCC
13320 builtin and then its argument prototype would still apply. */
13321 #ifdef __cplusplus
13322 extern "C"
13323 #endif
13324 char ber_init ();
13326 main ()
13328 return ber_init ();
13330 return 0;
13332 _ACEOF
13333 rm -f conftest.$ac_objext conftest$ac_exeext
13334 if { (ac_try="$ac_link"
13335 case "(($ac_try" in
13336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13337 *) ac_try_echo=$ac_try;;
13338 esac
13339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13340 (eval "$ac_link") 2>conftest.er1
13341 ac_status=$?
13342 grep -v '^ *+' conftest.er1 >conftest.err
13343 rm -f conftest.er1
13344 cat conftest.err >&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); } && {
13347 test -z "$ac_c_werror_flag" ||
13348 test ! -s conftest.err
13349 } && test -s conftest$ac_exeext &&
13350 $as_test_x conftest$ac_exeext; then
13351 ac_cv_lib_lber_ber_init=yes
13352 else
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13356 ac_cv_lib_lber_ber_init=no
13359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13360 conftest$ac_exeext conftest.$ac_ext
13361 LIBS=$ac_check_lib_save_LIBS
13363 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13364 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13365 if test $ac_cv_lib_lber_ber_init = yes; then
13367 cat >>confdefs.h <<\_ACEOF
13368 #define HAVE_LDAP 1
13369 _ACEOF
13371 LDAPLIBS="-lldap_r -llber"
13376 ac_wine_check_funcs_save_LIBS="$LIBS"
13377 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13386 for ac_func in \
13387 ldap_count_references \
13388 ldap_first_reference \
13389 ldap_next_reference \
13390 ldap_parse_reference \
13391 ldap_parse_sort_control \
13392 ldap_parse_sortresponse_control \
13393 ldap_parse_vlv_control \
13394 ldap_parse_vlvresponse_control
13396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 else
13402 cat >conftest.$ac_ext <<_ACEOF
13403 /* confdefs.h. */
13404 _ACEOF
13405 cat confdefs.h >>conftest.$ac_ext
13406 cat >>conftest.$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13410 #define $ac_func innocuous_$ac_func
13412 /* System header to define __stub macros and hopefully few prototypes,
13413 which can conflict with char $ac_func (); below.
13414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13415 <limits.h> exists even on freestanding compilers. */
13417 #ifdef __STDC__
13418 # include <limits.h>
13419 #else
13420 # include <assert.h>
13421 #endif
13423 #undef $ac_func
13425 /* Override any GCC internal prototype to avoid an error.
13426 Use char because int might match the return type of a GCC
13427 builtin and then its argument prototype would still apply. */
13428 #ifdef __cplusplus
13429 extern "C"
13430 #endif
13431 char $ac_func ();
13432 /* The GNU C library defines this for functions which it implements
13433 to always fail with ENOSYS. Some functions are actually named
13434 something starting with __ and the normal name is an alias. */
13435 #if defined __stub_$ac_func || defined __stub___$ac_func
13436 choke me
13437 #endif
13440 main ()
13442 return $ac_func ();
13444 return 0;
13446 _ACEOF
13447 rm -f conftest.$ac_objext conftest$ac_exeext
13448 if { (ac_try="$ac_link"
13449 case "(($ac_try" in
13450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13451 *) ac_try_echo=$ac_try;;
13452 esac
13453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13454 (eval "$ac_link") 2>conftest.er1
13455 ac_status=$?
13456 grep -v '^ *+' conftest.er1 >conftest.err
13457 rm -f conftest.er1
13458 cat conftest.err >&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); } && {
13461 test -z "$ac_c_werror_flag" ||
13462 test ! -s conftest.err
13463 } && test -s conftest$ac_exeext &&
13464 $as_test_x conftest$ac_exeext; then
13465 eval "$as_ac_var=yes"
13466 else
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13470 eval "$as_ac_var=no"
13473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13474 conftest$ac_exeext conftest.$ac_ext
13476 ac_res=`eval echo '${'$as_ac_var'}'`
13477 { echo "$as_me:$LINENO: result: $ac_res" >&5
13478 echo "${ECHO_T}$ac_res" >&6; }
13479 if test `eval echo '${'$as_ac_var'}'` = yes; then
13480 cat >>confdefs.h <<_ACEOF
13481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13482 _ACEOF
13485 done
13487 LIBS="$ac_wine_check_funcs_save_LIBS"
13489 if test "x$LDAPLIBS" = "x"; then
13490 case "x$with_ldap" in
13491 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13492 xno) ;;
13493 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13494 This is an error since --with-ldap was requested." >&5
13495 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13496 This is an error since --with-ldap was requested." >&2;}
13497 { (exit 1); exit 1; }; } ;;
13498 esac
13502 for ac_prog in freetype-config freetype2-config
13504 # Extract the first word of "$ac_prog", so it can be a program name with args.
13505 set dummy $ac_prog; ac_word=$2
13506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13508 if test "${ac_cv_prog_ft_devel+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 else
13511 if test -n "$ft_devel"; then
13512 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13513 else
13514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13515 for as_dir in $PATH
13517 IFS=$as_save_IFS
13518 test -z "$as_dir" && as_dir=.
13519 for ac_exec_ext in '' $ac_executable_extensions; do
13520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13521 ac_cv_prog_ft_devel="$ac_prog"
13522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13523 break 2
13525 done
13526 done
13527 IFS=$as_save_IFS
13531 ft_devel=$ac_cv_prog_ft_devel
13532 if test -n "$ft_devel"; then
13533 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13534 echo "${ECHO_T}$ft_devel" >&6; }
13535 else
13536 { echo "$as_me:$LINENO: result: no" >&5
13537 echo "${ECHO_T}no" >&6; }
13541 test -n "$ft_devel" && break
13542 done
13543 test -n "$ft_devel" || ft_devel="false"
13545 if test "$ft_devel" != "false"
13546 then
13547 ac_freetype_libs=`$ft_devel --libs`
13548 ac_freetype_incl=`$ft_devel --cflags`
13549 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13550 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13551 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 else
13554 ac_check_soname_save_LIBS=$LIBS
13555 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13563 /* Override any GCC internal prototype to avoid an error.
13564 Use char because int might match the return type of a GCC
13565 builtin and then its argument prototype would still apply. */
13566 #ifdef __cplusplus
13567 extern "C"
13568 #endif
13569 char FT_Init_FreeType ();
13571 main ()
13573 return FT_Init_FreeType ();
13575 return 0;
13577 _ACEOF
13578 rm -f conftest.$ac_objext conftest$ac_exeext
13579 if { (ac_try="$ac_link"
13580 case "(($ac_try" in
13581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13582 *) ac_try_echo=$ac_try;;
13583 esac
13584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13585 (eval "$ac_link") 2>conftest.er1
13586 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err
13594 } && test -s conftest$ac_exeext &&
13595 $as_test_x conftest$ac_exeext; then
13596 case "$LIBEXT" in
13597 dll) ;;
13598 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'` ;;
13599 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13600 esac
13601 else
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13609 conftest$ac_exeext conftest.$ac_ext
13610 LIBS=$ac_check_soname_save_LIBS
13612 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13613 { echo "$as_me:$LINENO: result: not found" >&5
13614 echo "${ECHO_T}not found" >&6; }
13615 ft_lib=no
13616 else
13617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13618 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13620 cat >>confdefs.h <<_ACEOF
13621 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13622 _ACEOF
13624 ft_lib=yes
13627 if test "$ft_lib" = "yes"
13628 then
13629 ac_save_CPPFLAGS="$CPPFLAGS"
13630 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13643 for ac_header in ft2build.h \
13644 freetype/freetype.h \
13645 freetype/ftglyph.h \
13646 freetype/fttypes.h \
13647 freetype/tttables.h \
13648 freetype/ftnames.h \
13649 freetype/ftsnames.h \
13650 freetype/ttnameid.h \
13651 freetype/ftoutln.h \
13652 freetype/ftwinfnt.h \
13653 freetype/ftmodapi.h \
13654 freetype/internal/sfnt.h
13656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 else
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #ifdef HAVE_FT2BUILD_H
13669 # include <ft2build.h>
13670 #endif
13672 #include <$ac_header>
13673 _ACEOF
13674 rm -f conftest.$ac_objext
13675 if { (ac_try="$ac_compile"
13676 case "(($ac_try" in
13677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13678 *) ac_try_echo=$ac_try;;
13679 esac
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_compile") 2>conftest.er1
13682 ac_status=$?
13683 grep -v '^ *+' conftest.er1 >conftest.err
13684 rm -f conftest.er1
13685 cat conftest.err >&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest.$ac_objext; then
13691 eval "$as_ac_Header=yes"
13692 else
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.$ac_ext >&5
13696 eval "$as_ac_Header=no"
13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 ac_res=`eval echo '${'$as_ac_Header'}'`
13702 { echo "$as_me:$LINENO: result: $ac_res" >&5
13703 echo "${ECHO_T}$ac_res" >&6; }
13704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13705 cat >>confdefs.h <<_ACEOF
13706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13707 _ACEOF
13711 done
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <ft2build.h>
13720 #include <freetype/fttrigon.h>
13721 _ACEOF
13722 if { (ac_try="$ac_cpp conftest.$ac_ext"
13723 case "(($ac_try" in
13724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13725 *) ac_try_echo=$ac_try;;
13726 esac
13727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13729 ac_status=$?
13730 grep -v '^ *+' conftest.er1 >conftest.err
13731 rm -f conftest.er1
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } >/dev/null && {
13735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13736 test ! -s conftest.err
13737 }; then
13739 cat >>confdefs.h <<\_ACEOF
13740 #define HAVE_FREETYPE_FTTRIGON_H 1
13741 _ACEOF
13743 wine_cv_fttrigon=yes
13744 else
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.$ac_ext >&5
13748 wine_cv_fttrigon=no
13751 rm -f conftest.err conftest.$ac_ext
13752 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13753 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13754 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 else
13757 cat >conftest.$ac_ext <<_ACEOF
13758 /* confdefs.h. */
13759 _ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13763 #include <freetype/ftmodapi.h>
13765 typedef FT_TrueTypeEngineType ac__type_new_;
13767 main ()
13769 if ((ac__type_new_ *) 0)
13770 return 0;
13771 if (sizeof (ac__type_new_))
13772 return 0;
13774 return 0;
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (ac_try="$ac_compile"
13779 case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13782 esac
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compile") 2>conftest.er1
13785 ac_status=$?
13786 grep -v '^ *+' conftest.er1 >conftest.err
13787 rm -f conftest.er1
13788 cat conftest.err >&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest.$ac_objext; then
13794 ac_cv_type_FT_TrueTypeEngineType=yes
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_type_FT_TrueTypeEngineType=no
13802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13804 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13805 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13806 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_FT_TRUETYPEENGINETYPE 1
13810 _ACEOF
13815 ac_save_CFLAGS="$CFLAGS"
13816 CFLAGS="$CFLAGS $ac_freetype_libs"
13818 for ac_func in FT_Load_Sfnt_Table
13820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 else
13826 cat >conftest.$ac_ext <<_ACEOF
13827 /* confdefs.h. */
13828 _ACEOF
13829 cat confdefs.h >>conftest.$ac_ext
13830 cat >>conftest.$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13834 #define $ac_func innocuous_$ac_func
13836 /* System header to define __stub macros and hopefully few prototypes,
13837 which can conflict with char $ac_func (); below.
13838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13839 <limits.h> exists even on freestanding compilers. */
13841 #ifdef __STDC__
13842 # include <limits.h>
13843 #else
13844 # include <assert.h>
13845 #endif
13847 #undef $ac_func
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char $ac_func ();
13856 /* The GNU C library defines this for functions which it implements
13857 to always fail with ENOSYS. Some functions are actually named
13858 something starting with __ and the normal name is an alias. */
13859 #if defined __stub_$ac_func || defined __stub___$ac_func
13860 choke me
13861 #endif
13864 main ()
13866 return $ac_func ();
13868 return 0;
13870 _ACEOF
13871 rm -f conftest.$ac_objext conftest$ac_exeext
13872 if { (ac_try="$ac_link"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_link") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest$ac_exeext &&
13888 $as_test_x conftest$ac_exeext; then
13889 eval "$as_ac_var=yes"
13890 else
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
13894 eval "$as_ac_var=no"
13897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13898 conftest$ac_exeext conftest.$ac_ext
13900 ac_res=`eval echo '${'$as_ac_var'}'`
13901 { echo "$as_me:$LINENO: result: $ac_res" >&5
13902 echo "${ECHO_T}$ac_res" >&6; }
13903 if test `eval echo '${'$as_ac_var'}'` = yes; then
13904 cat >>confdefs.h <<_ACEOF
13905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13906 _ACEOF
13909 done
13911 CFLAGS="$ac_save_CFLAGS"
13912 CPPFLAGS="$ac_save_CPPFLAGS"
13913 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13914 then
13916 cat >>confdefs.h <<\_ACEOF
13917 #define HAVE_FREETYPE 1
13918 _ACEOF
13920 FREETYPELIBS="$ac_freetype_libs"
13922 FREETYPEINCL="$ac_freetype_incl"
13928 if test "$FONTFORGE" = "false"
13929 then
13930 wine_warnings="$wine_warnings|FontForge is missing.
13931 Fonts will not be built. Dialog text may be invisible or unaligned."
13932 elif test "x$FREETYPELIBS" = "x"
13933 then
13934 wine_warnings="$wine_warnings|FreeType development files not found.
13935 Fonts will not be built. Dialog text may be invisible or unaligned."
13936 else
13937 FONTSSUBDIRS="fonts"
13941 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13942 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13943 if test "${ac_cv_c_ppdev+set}" = set; then
13944 echo $ECHO_N "(cached) $ECHO_C" >&6
13945 else
13946 cat >conftest.$ac_ext <<_ACEOF
13947 /* confdefs.h. */
13948 _ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13952 #include <linux/ppdev.h>
13954 main ()
13956 ioctl (1,PPCLAIM,0)
13958 return 0;
13960 _ACEOF
13961 rm -f conftest.$ac_objext
13962 if { (ac_try="$ac_compile"
13963 case "(($ac_try" in
13964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13965 *) ac_try_echo=$ac_try;;
13966 esac
13967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13968 (eval "$ac_compile") 2>conftest.er1
13969 ac_status=$?
13970 grep -v '^ *+' conftest.er1 >conftest.err
13971 rm -f conftest.er1
13972 cat conftest.err >&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } && {
13975 test -z "$ac_c_werror_flag" ||
13976 test ! -s conftest.err
13977 } && test -s conftest.$ac_objext; then
13978 ac_cv_c_ppdev="yes"
13979 else
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.$ac_ext >&5
13983 ac_cv_c_ppdev="no"
13986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13988 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13989 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13990 if test "$ac_cv_c_ppdev" = "yes"
13991 then
13993 cat >>confdefs.h <<\_ACEOF
13994 #define HAVE_PPDEV 1
13995 _ACEOF
13999 { echo "$as_me:$LINENO: checking for va_copy" >&5
14000 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14001 if test "${ac_cv_c_va_copy+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 else
14004 cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h. */
14006 _ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14010 #include <stdarg.h>
14012 main ()
14014 va_list ap1, ap2; va_copy(ap1,ap2);
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext conftest$ac_exeext
14020 if { (ac_try="$ac_link"
14021 case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14024 esac
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_link") 2>conftest.er1
14027 ac_status=$?
14028 grep -v '^ *+' conftest.er1 >conftest.err
14029 rm -f conftest.er1
14030 cat conftest.err >&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } && {
14033 test -z "$ac_c_werror_flag" ||
14034 test ! -s conftest.err
14035 } && test -s conftest$ac_exeext &&
14036 $as_test_x conftest$ac_exeext; then
14037 ac_cv_c_va_copy="yes"
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14042 ac_cv_c_va_copy="no"
14045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14046 conftest$ac_exeext conftest.$ac_ext
14049 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14050 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14051 if test "$ac_cv_c_va_copy" = "yes"
14052 then
14054 cat >>confdefs.h <<\_ACEOF
14055 #define HAVE_VA_COPY 1
14056 _ACEOF
14059 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14060 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14061 if test "${ac_cv_c___va_copy+set}" = set; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14064 cat >conftest.$ac_ext <<_ACEOF
14065 /* confdefs.h. */
14066 _ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 #include <stdarg.h>
14072 main ()
14074 va_list ap1, ap2; __va_copy(ap1,ap2);
14076 return 0;
14078 _ACEOF
14079 rm -f conftest.$ac_objext conftest$ac_exeext
14080 if { (ac_try="$ac_link"
14081 case "(($ac_try" in
14082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14083 *) ac_try_echo=$ac_try;;
14084 esac
14085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14086 (eval "$ac_link") 2>conftest.er1
14087 ac_status=$?
14088 grep -v '^ *+' conftest.er1 >conftest.err
14089 rm -f conftest.er1
14090 cat conftest.err >&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); } && {
14093 test -z "$ac_c_werror_flag" ||
14094 test ! -s conftest.err
14095 } && test -s conftest$ac_exeext &&
14096 $as_test_x conftest$ac_exeext; then
14097 ac_cv_c___va_copy="yes"
14098 else
14099 echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.$ac_ext >&5
14102 ac_cv_c___va_copy="no"
14105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14106 conftest$ac_exeext conftest.$ac_ext
14109 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14110 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14111 if test "$ac_cv_c___va_copy" = "yes"
14112 then
14114 cat >>confdefs.h <<\_ACEOF
14115 #define HAVE___VA_COPY 1
14116 _ACEOF
14120 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14121 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14122 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 cat >conftest.$ac_ext <<_ACEOF
14126 /* confdefs.h. */
14127 _ACEOF
14128 cat confdefs.h >>conftest.$ac_ext
14129 cat >>conftest.$ac_ext <<_ACEOF
14130 /* end confdefs.h. */
14131 #include <setjmp.h>
14133 main ()
14135 sigjmp_buf buf;
14136 sigsetjmp( buf, 1 );
14137 siglongjmp( buf, 1 );
14139 return 0;
14141 _ACEOF
14142 rm -f conftest.$ac_objext conftest$ac_exeext
14143 if { (ac_try="$ac_link"
14144 case "(($ac_try" in
14145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14146 *) ac_try_echo=$ac_try;;
14147 esac
14148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14149 (eval "$ac_link") 2>conftest.er1
14150 ac_status=$?
14151 grep -v '^ *+' conftest.er1 >conftest.err
14152 rm -f conftest.er1
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } && {
14156 test -z "$ac_c_werror_flag" ||
14157 test ! -s conftest.err
14158 } && test -s conftest$ac_exeext &&
14159 $as_test_x conftest$ac_exeext; then
14160 ac_cv_c_sigsetjmp="yes"
14161 else
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.$ac_ext >&5
14165 ac_cv_c_sigsetjmp="no"
14168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14169 conftest$ac_exeext conftest.$ac_ext
14172 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14173 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14174 if test "$ac_cv_c_sigsetjmp" = "yes"
14175 then
14177 cat >>confdefs.h <<\_ACEOF
14178 #define HAVE_SIGSETJMP 1
14179 _ACEOF
14183 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14184 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14185 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 else
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE
14195 #include <pthread.h>
14197 typedef pthread_rwlock_t ac__type_new_;
14199 main ()
14201 if ((ac__type_new_ *) 0)
14202 return 0;
14203 if (sizeof (ac__type_new_))
14204 return 0;
14206 return 0;
14208 _ACEOF
14209 rm -f conftest.$ac_objext
14210 if { (ac_try="$ac_compile"
14211 case "(($ac_try" in
14212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14213 *) ac_try_echo=$ac_try;;
14214 esac
14215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216 (eval "$ac_compile") 2>conftest.er1
14217 ac_status=$?
14218 grep -v '^ *+' conftest.er1 >conftest.err
14219 rm -f conftest.er1
14220 cat conftest.err >&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } && {
14223 test -z "$ac_c_werror_flag" ||
14224 test ! -s conftest.err
14225 } && test -s conftest.$ac_objext; then
14226 ac_cv_type_pthread_rwlock_t=yes
14227 else
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14231 ac_cv_type_pthread_rwlock_t=no
14234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14236 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14237 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14238 if test $ac_cv_type_pthread_rwlock_t = yes; then
14240 cat >>confdefs.h <<_ACEOF
14241 #define HAVE_PTHREAD_RWLOCK_T 1
14242 _ACEOF
14246 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14247 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14248 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 else
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 #define _GNU_SOURCE
14258 #include <pthread.h>
14260 typedef pthread_rwlockattr_t ac__type_new_;
14262 main ()
14264 if ((ac__type_new_ *) 0)
14265 return 0;
14266 if (sizeof (ac__type_new_))
14267 return 0;
14269 return 0;
14271 _ACEOF
14272 rm -f conftest.$ac_objext
14273 if { (ac_try="$ac_compile"
14274 case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14277 esac
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_compile") 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest.$ac_objext; then
14289 ac_cv_type_pthread_rwlockattr_t=yes
14290 else
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14294 ac_cv_type_pthread_rwlockattr_t=no
14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14299 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14300 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14301 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14303 cat >>confdefs.h <<_ACEOF
14304 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14305 _ACEOF
14311 ac_wine_check_funcs_save_LIBS="$LIBS"
14312 LIBS="$LIBS $LIBPTHREAD"
14317 for ac_func in \
14318 pthread_attr_get_np \
14319 pthread_getattr_np \
14320 pthread_get_stackaddr_np \
14321 pthread_get_stacksize_np
14323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14324 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14326 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 else
14329 cat >conftest.$ac_ext <<_ACEOF
14330 /* confdefs.h. */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14337 #define $ac_func innocuous_$ac_func
14339 /* System header to define __stub macros and hopefully few prototypes,
14340 which can conflict with char $ac_func (); below.
14341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14342 <limits.h> exists even on freestanding compilers. */
14344 #ifdef __STDC__
14345 # include <limits.h>
14346 #else
14347 # include <assert.h>
14348 #endif
14350 #undef $ac_func
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14355 #ifdef __cplusplus
14356 extern "C"
14357 #endif
14358 char $ac_func ();
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined __stub_$ac_func || defined __stub___$ac_func
14363 choke me
14364 #endif
14367 main ()
14369 return $ac_func ();
14371 return 0;
14373 _ACEOF
14374 rm -f conftest.$ac_objext conftest$ac_exeext
14375 if { (ac_try="$ac_link"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_link") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest$ac_exeext &&
14391 $as_test_x conftest$ac_exeext; then
14392 eval "$as_ac_var=yes"
14393 else
14394 echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.$ac_ext >&5
14397 eval "$as_ac_var=no"
14400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14401 conftest$ac_exeext conftest.$ac_ext
14403 ac_res=`eval echo '${'$as_ac_var'}'`
14404 { echo "$as_me:$LINENO: result: $ac_res" >&5
14405 echo "${ECHO_T}$ac_res" >&6; }
14406 if test `eval echo '${'$as_ac_var'}'` = yes; then
14407 cat >>confdefs.h <<_ACEOF
14408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14409 _ACEOF
14412 done
14414 LIBS="$ac_wine_check_funcs_save_LIBS"
14416 # Extract the first word of "esd-config", so it can be a program name with args.
14417 set dummy esd-config; ac_word=$2
14418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14420 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 else
14423 case $ESDCONFIG in
14424 [\\/]* | ?:[\\/]*)
14425 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14429 for as_dir in $PATH
14431 IFS=$as_save_IFS
14432 test -z "$as_dir" && as_dir=.
14433 for ac_exec_ext in '' $ac_executable_extensions; do
14434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14435 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 break 2
14439 done
14440 done
14441 IFS=$as_save_IFS
14444 esac
14446 ESDCONFIG=$ac_cv_path_ESDCONFIG
14447 if test -n "$ESDCONFIG"; then
14448 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14449 echo "${ECHO_T}$ESDCONFIG" >&6; }
14450 else
14451 { echo "$as_me:$LINENO: result: no" >&5
14452 echo "${ECHO_T}no" >&6; }
14456 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14457 then
14458 ESD_CFLAGS=""
14459 for i in `$ESDCONFIG --cflags`
14461 case "$i" in
14462 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14463 esac
14464 done
14465 ESD_LIBS=`$ESDCONFIG --libs`
14466 save_CFLAGS="$CFLAGS"
14467 CFLAGS="$CFLAGS $ESD_CFLAGS"
14468 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14469 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14470 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 else
14473 ac_check_lib_save_LIBS=$LIBS
14474 LIBS="-lesd $LIBS"
14475 cat >conftest.$ac_ext <<_ACEOF
14476 /* confdefs.h. */
14477 _ACEOF
14478 cat confdefs.h >>conftest.$ac_ext
14479 cat >>conftest.$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14485 #ifdef __cplusplus
14486 extern "C"
14487 #endif
14488 char esd_open_sound ();
14490 main ()
14492 return esd_open_sound ();
14494 return 0;
14496 _ACEOF
14497 rm -f conftest.$ac_objext conftest$ac_exeext
14498 if { (ac_try="$ac_link"
14499 case "(($ac_try" in
14500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14501 *) ac_try_echo=$ac_try;;
14502 esac
14503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14504 (eval "$ac_link") 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } && {
14511 test -z "$ac_c_werror_flag" ||
14512 test ! -s conftest.err
14513 } && test -s conftest$ac_exeext &&
14514 $as_test_x conftest$ac_exeext; then
14515 ac_cv_lib_esd_esd_open_sound=yes
14516 else
14517 echo "$as_me: failed program was:" >&5
14518 sed 's/^/| /' conftest.$ac_ext >&5
14520 ac_cv_lib_esd_esd_open_sound=no
14523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14524 conftest$ac_exeext conftest.$ac_ext
14525 LIBS=$ac_check_lib_save_LIBS
14527 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14528 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14529 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14530 ESDLIBS=$ESD_LIBS
14532 ESDINCL=$ESD_CFLAGS
14535 cat >>confdefs.h <<\_ACEOF
14536 #define HAVE_ESD 1
14537 _ACEOF
14541 CFLAGS="$save_CFLAGS"
14544 ALSALIBS=""
14546 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14547 then
14548 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14549 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14550 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 ac_check_lib_save_LIBS=$LIBS
14554 LIBS="-lasound $LIBS"
14555 cat >conftest.$ac_ext <<_ACEOF
14556 /* confdefs.h. */
14557 _ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14562 /* Override any GCC internal prototype to avoid an error.
14563 Use char because int might match the return type of a GCC
14564 builtin and then its argument prototype would still apply. */
14565 #ifdef __cplusplus
14566 extern "C"
14567 #endif
14568 char snd_pcm_hw_params_get_access ();
14570 main ()
14572 return snd_pcm_hw_params_get_access ();
14574 return 0;
14576 _ACEOF
14577 rm -f conftest.$ac_objext conftest$ac_exeext
14578 if { (ac_try="$ac_link"
14579 case "(($ac_try" in
14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14582 esac
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_link") 2>conftest.er1
14585 ac_status=$?
14586 grep -v '^ *+' conftest.er1 >conftest.err
14587 rm -f conftest.er1
14588 cat conftest.err >&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } && {
14591 test -z "$ac_c_werror_flag" ||
14592 test ! -s conftest.err
14593 } && test -s conftest$ac_exeext &&
14594 $as_test_x conftest$ac_exeext; then
14595 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14600 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14604 conftest$ac_exeext conftest.$ac_ext
14605 LIBS=$ac_check_lib_save_LIBS
14607 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14608 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14609 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616 #ifdef HAVE_ALSA_ASOUNDLIB_H
14617 #include <alsa/asoundlib.h>
14618 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14619 #include <sys/asoundlib.h>
14620 #endif
14622 main ()
14624 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14626 return 0;
14628 _ACEOF
14629 rm -f conftest.$ac_objext
14630 if { (ac_try="$ac_compile"
14631 case "(($ac_try" in
14632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14633 *) ac_try_echo=$ac_try;;
14634 esac
14635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14636 (eval "$ac_compile") 2>conftest.er1
14637 ac_status=$?
14638 grep -v '^ *+' conftest.er1 >conftest.err
14639 rm -f conftest.er1
14640 cat conftest.err >&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } && {
14643 test -z "$ac_c_werror_flag" ||
14644 test ! -s conftest.err
14645 } && test -s conftest.$ac_objext; then
14647 cat >>confdefs.h <<\_ACEOF
14648 #define HAVE_ALSA 1
14649 _ACEOF
14651 ALSALIBS="-lasound"
14652 else
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14664 AUDIOIOLIBS=""
14666 if test "$ac_cv_header_libaudioio_h" = "yes"
14667 then
14668 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14669 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14670 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-laudioio $LIBS"
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char AudioIOGetVersion ();
14690 main ()
14692 return AudioIOGetVersion ();
14694 return 0;
14696 _ACEOF
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14702 esac
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14705 ac_status=$?
14706 grep -v '^ *+' conftest.er1 >conftest.err
14707 rm -f conftest.er1
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest$ac_exeext &&
14714 $as_test_x conftest$ac_exeext; then
14715 ac_cv_lib_audioio_AudioIOGetVersion=yes
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 ac_cv_lib_audioio_AudioIOGetVersion=no
14723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14728 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14729 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14730 AUDIOIOLIBS="-laudioio"
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_LIBAUDIOIO 1
14734 _ACEOF
14741 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14742 then
14743 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14744 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14745 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 else
14748 ac_check_soname_save_LIBS=$LIBS
14749 LIBS="-lcapi20 $LIBS"
14750 cat >conftest.$ac_ext <<_ACEOF
14751 /* confdefs.h. */
14752 _ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14760 #ifdef __cplusplus
14761 extern "C"
14762 #endif
14763 char capi20_register ();
14765 main ()
14767 return capi20_register ();
14769 return 0;
14771 _ACEOF
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (ac_try="$ac_link"
14774 case "(($ac_try" in
14775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14777 esac
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_link") 2>conftest.er1
14780 ac_status=$?
14781 grep -v '^ *+' conftest.er1 >conftest.err
14782 rm -f conftest.er1
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_c_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest$ac_exeext &&
14789 $as_test_x conftest$ac_exeext; then
14790 case "$LIBEXT" in
14791 dll) ;;
14792 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'` ;;
14793 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14794 esac
14795 else
14796 echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.$ac_ext >&5
14802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14803 conftest$ac_exeext conftest.$ac_ext
14804 LIBS=$ac_check_soname_save_LIBS
14806 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14807 { echo "$as_me:$LINENO: result: not found" >&5
14808 echo "${ECHO_T}not found" >&6; }
14810 else
14811 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14812 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14814 cat >>confdefs.h <<_ACEOF
14815 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14816 _ACEOF
14822 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14823 case "x$with_capi" in
14824 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14825 xno) ;;
14826 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14827 This is an error since --with-capi was requested." >&5
14828 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14829 This is an error since --with-capi was requested." >&2;}
14830 { (exit 1); exit 1; }; } ;;
14831 esac
14835 if test "$ac_cv_header_cups_cups_h" = "yes"
14836 then
14837 { echo "$as_me:$LINENO: checking for -lcups" >&5
14838 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14839 if test "${ac_cv_lib_soname_cups+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842 ac_check_soname_save_LIBS=$LIBS
14843 LIBS="-lcups $LIBS"
14844 cat >conftest.$ac_ext <<_ACEOF
14845 /* confdefs.h. */
14846 _ACEOF
14847 cat confdefs.h >>conftest.$ac_ext
14848 cat >>conftest.$ac_ext <<_ACEOF
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 #ifdef __cplusplus
14855 extern "C"
14856 #endif
14857 char cupsGetDefault ();
14859 main ()
14861 return cupsGetDefault ();
14863 return 0;
14865 _ACEOF
14866 rm -f conftest.$ac_objext conftest$ac_exeext
14867 if { (ac_try="$ac_link"
14868 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14871 esac
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_link") 2>conftest.er1
14874 ac_status=$?
14875 grep -v '^ *+' conftest.er1 >conftest.err
14876 rm -f conftest.er1
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest$ac_exeext &&
14883 $as_test_x conftest$ac_exeext; then
14884 case "$LIBEXT" in
14885 dll) ;;
14886 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'` ;;
14887 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14888 esac
14889 else
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14897 conftest$ac_exeext conftest.$ac_ext
14898 LIBS=$ac_check_soname_save_LIBS
14900 if test "x$ac_cv_lib_soname_cups" = "x"; then
14901 { echo "$as_me:$LINENO: result: not found" >&5
14902 echo "${ECHO_T}not found" >&6; }
14904 else
14905 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14906 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14908 cat >>confdefs.h <<_ACEOF
14909 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14910 _ACEOF
14916 if test "x$ac_cv_lib_soname_cups" = "x"; then
14917 case "x$with_cups" in
14918 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14919 xno) ;;
14920 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14921 This is an error since --with-cups was requested." >&5
14922 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14923 This is an error since --with-cups was requested." >&2;}
14924 { (exit 1); exit 1; }; } ;;
14925 esac
14929 if test "$ac_cv_header_jack_jack_h" = "yes"
14930 then
14931 { echo "$as_me:$LINENO: checking for -ljack" >&5
14932 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14933 if test "${ac_cv_lib_soname_jack+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 else
14936 ac_check_soname_save_LIBS=$LIBS
14937 LIBS="-ljack $LIBS"
14938 cat >conftest.$ac_ext <<_ACEOF
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14948 #ifdef __cplusplus
14949 extern "C"
14950 #endif
14951 char jack_client_new ();
14953 main ()
14955 return jack_client_new ();
14957 return 0;
14959 _ACEOF
14960 rm -f conftest.$ac_objext conftest$ac_exeext
14961 if { (ac_try="$ac_link"
14962 case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14965 esac
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14968 ac_status=$?
14969 grep -v '^ *+' conftest.er1 >conftest.err
14970 rm -f conftest.er1
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14978 case "$LIBEXT" in
14979 dll) ;;
14980 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'` ;;
14981 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14982 esac
14983 else
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_soname_save_LIBS
14994 if test "x$ac_cv_lib_soname_jack" = "x"; then
14995 { echo "$as_me:$LINENO: result: not found" >&5
14996 echo "${ECHO_T}not found" >&6; }
14998 else
14999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15000 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15002 cat >>confdefs.h <<_ACEOF
15003 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15004 _ACEOF
15011 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15012 then
15013 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15014 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15015 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 else
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lfontconfig $LIBS"
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 #ifdef __cplusplus
15031 extern "C"
15032 #endif
15033 char FcInit ();
15035 main ()
15037 return FcInit ();
15039 return 0;
15041 _ACEOF
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (ac_try="$ac_link"
15044 case "(($ac_try" in
15045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15046 *) ac_try_echo=$ac_try;;
15047 esac
15048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049 (eval "$ac_link") 2>conftest.er1
15050 ac_status=$?
15051 grep -v '^ *+' conftest.er1 >conftest.err
15052 rm -f conftest.er1
15053 cat conftest.err >&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } && {
15056 test -z "$ac_c_werror_flag" ||
15057 test ! -s conftest.err
15058 } && test -s conftest$ac_exeext &&
15059 $as_test_x conftest$ac_exeext; then
15060 case "$LIBEXT" in
15061 dll) ;;
15062 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'` ;;
15063 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15064 esac
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_soname_save_LIBS
15076 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15077 { echo "$as_me:$LINENO: result: not found" >&5
15078 echo "${ECHO_T}not found" >&6; }
15080 else
15081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15082 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15086 _ACEOF
15091 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15092 then
15093 ac_save_CPPFLAGS="$CPPFLAGS"
15094 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15095 $as_unset ac_cv_header_fontconfig_fontconfig_h
15097 for ac_header in fontconfig/fontconfig.h
15099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 ac_res=`eval echo '${'$as_ac_Header'}'`
15107 { echo "$as_me:$LINENO: result: $ac_res" >&5
15108 echo "${ECHO_T}$ac_res" >&6; }
15109 else
15110 # Is the header compilable?
15111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15113 cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h. */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 $ac_includes_default
15120 #include <$ac_header>
15121 _ACEOF
15122 rm -f conftest.$ac_objext
15123 if { (ac_try="$ac_compile"
15124 case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15127 esac
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_compile") 2>conftest.er1
15130 ac_status=$?
15131 grep -v '^ *+' conftest.er1 >conftest.err
15132 rm -f conftest.er1
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_c_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest.$ac_objext; then
15139 ac_header_compiler=yes
15140 else
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15144 ac_header_compiler=no
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15149 echo "${ECHO_T}$ac_header_compiler" >&6; }
15151 # Is the header present?
15152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15154 cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h. */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 #include <$ac_header>
15161 _ACEOF
15162 if { (ac_try="$ac_cpp conftest.$ac_ext"
15163 case "(($ac_try" in
15164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15165 *) ac_try_echo=$ac_try;;
15166 esac
15167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15169 ac_status=$?
15170 grep -v '^ *+' conftest.er1 >conftest.err
15171 rm -f conftest.er1
15172 cat conftest.err >&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } >/dev/null && {
15175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15176 test ! -s conftest.err
15177 }; then
15178 ac_header_preproc=yes
15179 else
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5
15183 ac_header_preproc=no
15186 rm -f conftest.err conftest.$ac_ext
15187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15188 echo "${ECHO_T}$ac_header_preproc" >&6; }
15190 # So? What about this header?
15191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15192 yes:no: )
15193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15197 ac_header_preproc=yes
15199 no:yes:* )
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15212 ( cat <<\_ASBOX
15213 ## ------------------------------------ ##
15214 ## Report this to wine-devel@winehq.org ##
15215 ## ------------------------------------ ##
15216 _ASBOX
15217 ) | sed "s/^/$as_me: WARNING: /" >&2
15219 esac
15220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 eval "$as_ac_Header=\$ac_header_preproc"
15227 ac_res=`eval echo '${'$as_ac_Header'}'`
15228 { echo "$as_me:$LINENO: result: $ac_res" >&5
15229 echo "${ECHO_T}$ac_res" >&6; }
15232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15233 cat >>confdefs.h <<_ACEOF
15234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15235 _ACEOF
15239 done
15241 CPPFLAGS="$ac_save_CPPFLAGS"
15242 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15243 then
15244 FONTCONFIGINCL="$X_CFLAGS"
15246 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15247 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15248 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 else
15251 ac_check_soname_save_LIBS=$LIBS
15252 LIBS="-lfontconfig $X_LIBS $LIBS"
15253 cat >conftest.$ac_ext <<_ACEOF
15254 /* confdefs.h. */
15255 _ACEOF
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 /* Override any GCC internal prototype to avoid an error.
15261 Use char because int might match the return type of a GCC
15262 builtin and then its argument prototype would still apply. */
15263 #ifdef __cplusplus
15264 extern "C"
15265 #endif
15266 char FcInit ();
15268 main ()
15270 return FcInit ();
15272 return 0;
15274 _ACEOF
15275 rm -f conftest.$ac_objext conftest$ac_exeext
15276 if { (ac_try="$ac_link"
15277 case "(($ac_try" in
15278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15279 *) ac_try_echo=$ac_try;;
15280 esac
15281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15282 (eval "$ac_link") 2>conftest.er1
15283 ac_status=$?
15284 grep -v '^ *+' conftest.er1 >conftest.err
15285 rm -f conftest.er1
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } && {
15289 test -z "$ac_c_werror_flag" ||
15290 test ! -s conftest.err
15291 } && test -s conftest$ac_exeext &&
15292 $as_test_x conftest$ac_exeext; then
15293 case "$LIBEXT" in
15294 dll) ;;
15295 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'` ;;
15296 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15297 esac
15298 else
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.$ac_ext >&5
15305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15310 { echo "$as_me:$LINENO: result: not found" >&5
15311 echo "${ECHO_T}not found" >&6; }
15313 else
15314 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15315 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15317 cat >>confdefs.h <<_ACEOF
15318 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15319 _ACEOF
15326 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15327 case "x$with_fontconfig" in
15328 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15329 xno) ;;
15330 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15331 This is an error since --with-fontconfig was requested." >&5
15332 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15333 This is an error since --with-fontconfig was requested." >&2;}
15334 { (exit 1); exit 1; }; } ;;
15335 esac
15339 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15340 then
15341 { echo "$as_me:$LINENO: checking for -lssl" >&5
15342 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15343 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
15346 ac_check_soname_save_LIBS=$LIBS
15347 LIBS="-lssl $LIBS"
15348 cat >conftest.$ac_ext <<_ACEOF
15349 /* confdefs.h. */
15350 _ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 #ifdef __cplusplus
15359 extern "C"
15360 #endif
15361 char SSL_library_init ();
15363 main ()
15365 return SSL_library_init ();
15367 return 0;
15369 _ACEOF
15370 rm -f conftest.$ac_objext conftest$ac_exeext
15371 if { (ac_try="$ac_link"
15372 case "(($ac_try" in
15373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15374 *) ac_try_echo=$ac_try;;
15375 esac
15376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 (eval "$ac_link") 2>conftest.er1
15378 ac_status=$?
15379 grep -v '^ *+' conftest.er1 >conftest.err
15380 rm -f conftest.er1
15381 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest$ac_exeext &&
15387 $as_test_x conftest$ac_exeext; then
15388 case "$LIBEXT" in
15389 dll) ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15392 esac
15393 else
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15405 { echo "$as_me:$LINENO: result: not found" >&5
15406 echo "${ECHO_T}not found" >&6; }
15408 else
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15412 cat >>confdefs.h <<_ACEOF
15413 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15414 _ACEOF
15419 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15420 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15421 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 else
15424 ac_check_soname_save_LIBS=$LIBS
15425 LIBS="-lcrypto $LIBS"
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 #ifdef __cplusplus
15437 extern "C"
15438 #endif
15439 char BIO_new_socket ();
15441 main ()
15443 return BIO_new_socket ();
15445 return 0;
15447 _ACEOF
15448 rm -f conftest.$ac_objext conftest$ac_exeext
15449 if { (ac_try="$ac_link"
15450 case "(($ac_try" in
15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15453 esac
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15456 ac_status=$?
15457 grep -v '^ *+' conftest.er1 >conftest.err
15458 rm -f conftest.er1
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15466 case "$LIBEXT" in
15467 dll) ;;
15468 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'` ;;
15469 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15470 esac
15471 else
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15479 conftest$ac_exeext conftest.$ac_ext
15480 LIBS=$ac_check_soname_save_LIBS
15482 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15483 { echo "$as_me:$LINENO: result: not found" >&5
15484 echo "${ECHO_T}not found" >&6; }
15486 else
15487 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15488 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15490 cat >>confdefs.h <<_ACEOF
15491 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15492 _ACEOF
15498 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15499 case "x$with_openssl" in
15500 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15501 xno) ;;
15502 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15503 This is an error since --with-openssl was requested." >&5
15504 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15505 This is an error since --with-openssl was requested." >&2;}
15506 { (exit 1); exit 1; }; } ;;
15507 esac
15511 if test "$ac_cv_header_jpeglib_h" = "yes"
15512 then
15513 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15514 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15515 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 else
15518 ac_check_soname_save_LIBS=$LIBS
15519 LIBS="-ljpeg $LIBS"
15520 cat >conftest.$ac_ext <<_ACEOF
15521 /* confdefs.h. */
15522 _ACEOF
15523 cat confdefs.h >>conftest.$ac_ext
15524 cat >>conftest.$ac_ext <<_ACEOF
15525 /* end confdefs.h. */
15527 /* Override any GCC internal prototype to avoid an error.
15528 Use char because int might match the return type of a GCC
15529 builtin and then its argument prototype would still apply. */
15530 #ifdef __cplusplus
15531 extern "C"
15532 #endif
15533 char jpeg_start_decompress ();
15535 main ()
15537 return jpeg_start_decompress ();
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } && {
15556 test -z "$ac_c_werror_flag" ||
15557 test ! -s conftest.err
15558 } && test -s conftest$ac_exeext &&
15559 $as_test_x conftest$ac_exeext; then
15560 case "$LIBEXT" in
15561 dll) ;;
15562 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'` ;;
15563 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15564 esac
15565 else
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5
15572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15573 conftest$ac_exeext conftest.$ac_ext
15574 LIBS=$ac_check_soname_save_LIBS
15576 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15577 { echo "$as_me:$LINENO: result: not found" >&5
15578 echo "${ECHO_T}not found" >&6; }
15580 else
15581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15582 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15584 cat >>confdefs.h <<_ACEOF
15585 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15586 _ACEOF
15592 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15593 case "x$with_jpeg" in
15594 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15595 xno) ;;
15596 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15597 This is an error since --with-jpeg was requested." >&5
15598 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15599 This is an error since --with-jpeg was requested." >&2;}
15600 { (exit 1); exit 1; }; } ;;
15601 esac
15605 if test "$ac_cv_header_png_h" = "yes"
15606 then
15607 { echo "$as_me:$LINENO: checking for -lpng" >&5
15608 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15609 if test "${ac_cv_lib_soname_png+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 else
15612 ac_check_soname_save_LIBS=$LIBS
15613 LIBS="-lpng $LIBS"
15614 cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h. */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 #ifdef __cplusplus
15625 extern "C"
15626 #endif
15627 char png_create_read_struct ();
15629 main ()
15631 return png_create_read_struct ();
15633 return 0;
15635 _ACEOF
15636 rm -f conftest.$ac_objext conftest$ac_exeext
15637 if { (ac_try="$ac_link"
15638 case "(($ac_try" in
15639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15640 *) ac_try_echo=$ac_try;;
15641 esac
15642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15643 (eval "$ac_link") 2>conftest.er1
15644 ac_status=$?
15645 grep -v '^ *+' conftest.er1 >conftest.err
15646 rm -f conftest.er1
15647 cat conftest.err >&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } && {
15650 test -z "$ac_c_werror_flag" ||
15651 test ! -s conftest.err
15652 } && test -s conftest$ac_exeext &&
15653 $as_test_x conftest$ac_exeext; then
15654 case "$LIBEXT" in
15655 dll) ;;
15656 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'` ;;
15657 *) 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'` ;;
15658 esac
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15667 conftest$ac_exeext conftest.$ac_ext
15668 LIBS=$ac_check_soname_save_LIBS
15670 if test "x$ac_cv_lib_soname_png" = "x"; then
15671 { echo "$as_me:$LINENO: result: not found" >&5
15672 echo "${ECHO_T}not found" >&6; }
15674 else
15675 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15676 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15678 cat >>confdefs.h <<_ACEOF
15679 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15680 _ACEOF
15686 if test "x$ac_cv_lib_soname_png" = "x"; then
15687 case "x$with_png" in
15688 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15689 xno) ;;
15690 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15691 This is an error since --with-png was requested." >&5
15692 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15693 This is an error since --with-png was requested." >&2;}
15694 { (exit 1); exit 1; }; } ;;
15695 esac
15699 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15700 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15701 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15702 echo $ECHO_N "(cached) $ECHO_C" >&6
15703 else
15704 ac_check_soname_save_LIBS=$LIBS
15705 LIBS="-lodbc $LIBS"
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h. */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15713 /* Override any GCC internal prototype to avoid an error.
15714 Use char because int might match the return type of a GCC
15715 builtin and then its argument prototype would still apply. */
15716 #ifdef __cplusplus
15717 extern "C"
15718 #endif
15719 char SQLConnect ();
15721 main ()
15723 return SQLConnect ();
15725 return 0;
15727 _ACEOF
15728 rm -f conftest.$ac_objext conftest$ac_exeext
15729 if { (ac_try="$ac_link"
15730 case "(($ac_try" in
15731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732 *) ac_try_echo=$ac_try;;
15733 esac
15734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735 (eval "$ac_link") 2>conftest.er1
15736 ac_status=$?
15737 grep -v '^ *+' conftest.er1 >conftest.err
15738 rm -f conftest.er1
15739 cat conftest.err >&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } && {
15742 test -z "$ac_c_werror_flag" ||
15743 test ! -s conftest.err
15744 } && test -s conftest$ac_exeext &&
15745 $as_test_x conftest$ac_exeext; then
15746 case "$LIBEXT" in
15747 dll) ;;
15748 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'` ;;
15749 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15750 esac
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15759 conftest$ac_exeext conftest.$ac_ext
15760 LIBS=$ac_check_soname_save_LIBS
15762 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15763 { echo "$as_me:$LINENO: result: not found" >&5
15764 echo "${ECHO_T}not found" >&6; }
15765 cat >>confdefs.h <<_ACEOF
15766 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15767 _ACEOF
15769 else
15770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15771 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15773 cat >>confdefs.h <<_ACEOF
15774 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15775 _ACEOF
15781 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15782 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15783 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15784 "$ac_cv_header_soundcard_h" != "yes" -a \
15785 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15786 then
15787 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15791 EXTRACFLAGS=""
15793 if test "x${GCC}" = "xyes"
15794 then
15795 EXTRACFLAGS="-Wall -pipe"
15797 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15798 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15799 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802 if test "$cross_compiling" = yes; then
15803 ac_cv_c_gcc_strength_bug="yes"
15804 else
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 int L[4] = {0,1,2,3};
15813 main ()
15815 static int Array[3];
15816 unsigned int B = 3;
15817 int i;
15818 for(i=0; i<B; i++) Array[i] = i - 3;
15819 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15820 L[i] = 4;
15821 exit( Array[1] != -2 || L[2] != 3)
15823 return 0;
15825 _ACEOF
15826 rm -f conftest$ac_exeext
15827 if { (ac_try="$ac_link"
15828 case "(($ac_try" in
15829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15830 *) ac_try_echo=$ac_try;;
15831 esac
15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833 (eval "$ac_link") 2>&5
15834 ac_status=$?
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15837 { (case "(($ac_try" in
15838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15839 *) ac_try_echo=$ac_try;;
15840 esac
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_try") 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_c_gcc_strength_bug="no"
15847 else
15848 echo "$as_me: program exited with status $ac_status" >&5
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.$ac_ext >&5
15852 ( exit $ac_status )
15853 ac_cv_c_gcc_strength_bug="yes"
15855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15860 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15861 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15862 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15863 then
15864 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15868 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15869 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15870 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15872 else
15873 ac_wine_try_cflags_saved=$CFLAGS
15874 CFLAGS="$CFLAGS -fshort-wchar"
15875 cat >conftest.$ac_ext <<_ACEOF
15876 /* confdefs.h. */
15877 _ACEOF
15878 cat confdefs.h >>conftest.$ac_ext
15879 cat >>conftest.$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15883 main ()
15887 return 0;
15889 _ACEOF
15890 rm -f conftest.$ac_objext conftest$ac_exeext
15891 if { (ac_try="$ac_link"
15892 case "(($ac_try" in
15893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15895 esac
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_link") 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest$ac_exeext &&
15907 $as_test_x conftest$ac_exeext; then
15908 ac_cv_cflags__fshort_wchar=yes
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 ac_cv_cflags__fshort_wchar=no
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15918 CFLAGS=$ac_wine_try_cflags_saved
15920 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15921 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15922 if test $ac_cv_cflags__fshort_wchar = yes; then
15924 cat >>confdefs.h <<\_ACEOF
15925 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15926 _ACEOF
15930 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15931 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15932 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 ac_wine_try_cflags_saved=$CFLAGS
15936 CFLAGS="$CFLAGS -fno-strict-aliasing"
15937 cat >conftest.$ac_ext <<_ACEOF
15938 /* confdefs.h. */
15939 _ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15945 main ()
15949 return 0;
15951 _ACEOF
15952 rm -f conftest.$ac_objext conftest$ac_exeext
15953 if { (ac_try="$ac_link"
15954 case "(($ac_try" in
15955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15956 *) ac_try_echo=$ac_try;;
15957 esac
15958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15959 (eval "$ac_link") 2>conftest.er1
15960 ac_status=$?
15961 grep -v '^ *+' conftest.er1 >conftest.err
15962 rm -f conftest.er1
15963 cat conftest.err >&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); } && {
15966 test -z "$ac_c_werror_flag" ||
15967 test ! -s conftest.err
15968 } && test -s conftest$ac_exeext &&
15969 $as_test_x conftest$ac_exeext; then
15970 ac_cv_cflags__fno_strict_aliasing=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15975 ac_cv_cflags__fno_strict_aliasing=no
15978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15979 conftest$ac_exeext conftest.$ac_ext
15980 CFLAGS=$ac_wine_try_cflags_saved
15982 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15983 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15984 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15985 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15988 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15989 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15990 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15991 echo $ECHO_N "(cached) $ECHO_C" >&6
15992 else
15993 ac_wine_try_cflags_saved=$CFLAGS
15994 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16003 main ()
16007 return 0;
16009 _ACEOF
16010 rm -f conftest.$ac_objext conftest$ac_exeext
16011 if { (ac_try="$ac_link"
16012 case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16015 esac
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_link") 2>conftest.er1
16018 ac_status=$?
16019 grep -v '^ *+' conftest.er1 >conftest.err
16020 rm -f conftest.er1
16021 cat conftest.err >&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } && {
16024 test -z "$ac_c_werror_flag" ||
16025 test ! -s conftest.err
16026 } && test -s conftest$ac_exeext &&
16027 $as_test_x conftest$ac_exeext; then
16028 ac_cv_cflags__Wdeclaration_after_statement=yes
16029 else
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.$ac_ext >&5
16033 ac_cv_cflags__Wdeclaration_after_statement=no
16036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16037 conftest$ac_exeext conftest.$ac_ext
16038 CFLAGS=$ac_wine_try_cflags_saved
16040 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16041 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16042 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16043 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16046 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16047 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16048 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 else
16051 ac_wine_try_cflags_saved=$CFLAGS
16052 CFLAGS="$CFLAGS -Wwrite-strings"
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16061 main ()
16065 return 0;
16067 _ACEOF
16068 rm -f conftest.$ac_objext conftest$ac_exeext
16069 if { (ac_try="$ac_link"
16070 case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16073 esac
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_link") 2>conftest.er1
16076 ac_status=$?
16077 grep -v '^ *+' conftest.er1 >conftest.err
16078 rm -f conftest.er1
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest$ac_exeext &&
16085 $as_test_x conftest$ac_exeext; then
16086 ac_cv_cflags__Wwrite_strings=yes
16087 else
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16091 ac_cv_cflags__Wwrite_strings=no
16094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16095 conftest$ac_exeext conftest.$ac_ext
16096 CFLAGS=$ac_wine_try_cflags_saved
16098 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16099 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16100 if test $ac_cv_cflags__Wwrite_strings = yes; then
16101 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16104 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16105 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16106 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 ac_wine_try_cflags_saved=$CFLAGS
16110 CFLAGS="$CFLAGS -Wtype-limits"
16111 cat >conftest.$ac_ext <<_ACEOF
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16119 main ()
16123 return 0;
16125 _ACEOF
16126 rm -f conftest.$ac_objext conftest$ac_exeext
16127 if { (ac_try="$ac_link"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_link") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } && {
16140 test -z "$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 } && test -s conftest$ac_exeext &&
16143 $as_test_x conftest$ac_exeext; then
16144 ac_cv_cflags__Wtype_limits=yes
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 ac_cv_cflags__Wtype_limits=no
16152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16153 conftest$ac_exeext conftest.$ac_ext
16154 CFLAGS=$ac_wine_try_cflags_saved
16156 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16157 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16158 if test $ac_cv_cflags__Wtype_limits = yes; then
16159 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16163 saved_CFLAGS="$CFLAGS"
16164 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16165 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16166 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16167 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16168 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 #include <string.h>
16178 main ()
16182 return 0;
16184 _ACEOF
16185 rm -f conftest.$ac_objext
16186 if { (ac_try="$ac_compile"
16187 case "(($ac_try" in
16188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16189 *) ac_try_echo=$ac_try;;
16190 esac
16191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16192 (eval "$ac_compile") 2>conftest.er1
16193 ac_status=$?
16194 grep -v '^ *+' conftest.er1 >conftest.err
16195 rm -f conftest.er1
16196 cat conftest.err >&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } && {
16199 test -z "$ac_c_werror_flag" ||
16200 test ! -s conftest.err
16201 } && test -s conftest.$ac_objext; then
16202 ac_cv_c_string_h_warnings=no
16203 else
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.$ac_ext >&5
16207 ac_cv_c_string_h_warnings=yes
16210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16213 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16214 CFLAGS="$saved_CFLAGS"
16215 if test "$ac_cv_c_string_h_warnings" = "no"
16216 then
16217 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16220 BUILTINFLAG=""
16222 saved_CFLAGS="$CFLAGS"
16223 CFLAGS="$CFLAGS -Werror"
16224 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16225 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16226 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16228 else
16229 cat >conftest.$ac_ext <<_ACEOF
16230 /* confdefs.h. */
16231 _ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16237 main ()
16239 int iswlower(unsigned short);
16241 return 0;
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (ac_try="$ac_compile"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 ac_cv_c_builtin_wchar_ctype=no
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 ac_cv_c_builtin_wchar_ctype=yes
16269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16271 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16272 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16273 CFLAGS="$saved_CFLAGS"
16274 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16275 then
16276 BUILTINFLAG="-fno-builtin"
16281 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16282 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16283 if test "${ac_cv_asm_func_def+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 cat >conftest.$ac_ext <<_ACEOF
16287 /* confdefs.h. */
16288 _ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16294 main ()
16296 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16298 return 0;
16300 _ACEOF
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (ac_try="$ac_link"
16303 case "(($ac_try" in
16304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16306 esac
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_link") 2>conftest.er1
16309 ac_status=$?
16310 grep -v '^ *+' conftest.er1 >conftest.err
16311 rm -f conftest.er1
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest$ac_exeext &&
16318 $as_test_x conftest$ac_exeext; then
16319 ac_cv_asm_func_def=".def"
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16324 cat >conftest.$ac_ext <<_ACEOF
16325 /* confdefs.h. */
16326 _ACEOF
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16332 main ()
16334 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16336 return 0;
16338 _ACEOF
16339 rm -f conftest.$ac_objext conftest$ac_exeext
16340 if { (ac_try="$ac_link"
16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_link") 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } && {
16353 test -z "$ac_c_werror_flag" ||
16354 test ! -s conftest.err
16355 } && test -s conftest$ac_exeext &&
16356 $as_test_x conftest$ac_exeext; then
16357 ac_cv_asm_func_def=".type @function"
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16362 cat >conftest.$ac_ext <<_ACEOF
16363 /* confdefs.h. */
16364 _ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16370 main ()
16372 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16374 return 0;
16376 _ACEOF
16377 rm -f conftest.$ac_objext conftest$ac_exeext
16378 if { (ac_try="$ac_link"
16379 case "(($ac_try" in
16380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381 *) ac_try_echo=$ac_try;;
16382 esac
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_link") 2>conftest.er1
16385 ac_status=$?
16386 grep -v '^ *+' conftest.er1 >conftest.err
16387 rm -f conftest.er1
16388 cat conftest.err >&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); } && {
16391 test -z "$ac_c_werror_flag" ||
16392 test ! -s conftest.err
16393 } && test -s conftest$ac_exeext &&
16394 $as_test_x conftest$ac_exeext; then
16395 ac_cv_asm_func_def=".type 2"
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16400 ac_cv_asm_func_def="unknown"
16403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16404 conftest$ac_exeext conftest.$ac_ext
16407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16408 conftest$ac_exeext conftest.$ac_ext
16411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16412 conftest$ac_exeext conftest.$ac_ext
16414 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16415 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16419 case "$ac_cv_asm_func_def" in
16420 ".def")
16421 cat >>confdefs.h <<\_ACEOF
16422 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16423 _ACEOF
16425 ".type @function")
16426 cat >>confdefs.h <<\_ACEOF
16427 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16428 _ACEOF
16430 ".type 2")
16431 cat >>confdefs.h <<\_ACEOF
16432 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16433 _ACEOF
16436 cat >>confdefs.h <<\_ACEOF
16437 #define __ASM_FUNC(name) ""
16438 _ACEOF
16440 esac
16443 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16444 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16445 if test "${ac_cv_c_extern_prefix+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 else
16448 cat >conftest.$ac_ext <<_ACEOF
16449 /* confdefs.h. */
16450 _ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 extern int ac_test;
16456 main ()
16458 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16460 return 0;
16462 _ACEOF
16463 rm -f conftest.$ac_objext conftest$ac_exeext
16464 if { (ac_try="$ac_link"
16465 case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16468 esac
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_link") 2>conftest.er1
16471 ac_status=$?
16472 grep -v '^ *+' conftest.er1 >conftest.err
16473 rm -f conftest.er1
16474 cat conftest.err >&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } && {
16477 test -z "$ac_c_werror_flag" ||
16478 test ! -s conftest.err
16479 } && test -s conftest$ac_exeext &&
16480 $as_test_x conftest$ac_exeext; then
16481 ac_cv_c_extern_prefix="yes"
16482 else
16483 echo "$as_me: failed program was:" >&5
16484 sed 's/^/| /' conftest.$ac_ext >&5
16486 ac_cv_c_extern_prefix="no"
16489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16490 conftest$ac_exeext conftest.$ac_ext
16492 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16493 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16497 if test "$ac_cv_c_extern_prefix" = "yes"
16498 then
16499 cat >>confdefs.h <<\_ACEOF
16500 #define __ASM_NAME(name) "_" name
16501 _ACEOF
16503 else
16504 cat >>confdefs.h <<\_ACEOF
16505 #define __ASM_NAME(name) name
16506 _ACEOF
16511 LDPATH=""
16513 case $build_os in
16514 cygwin*|mingw32*)
16515 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16517 darwin*|macosx*)
16519 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16520 then
16521 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16525 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16527 esac
16529 case $host_os in
16530 mingw32*)
16531 CRTLIBS="-lmsvcrt"
16533 SOCKETLIBS="-lws2_32"
16536 esac
16538 MAIN_BINARY="wine-pthread"
16539 case $host_cpu in
16540 *i[3456789]86*)
16541 case $host_os in
16542 linux* | k*bsd*-gnu)
16543 MAIN_BINARY="wine-glibc"
16545 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16547 freebsd*)
16548 MAIN_BINARY="wine-freebsd"
16550 EXTRA_BINARIES="wine-pthread"
16552 esac
16554 esac
16626 for ac_func in \
16627 _pclose \
16628 _popen \
16629 _snprintf \
16630 _spawnvp \
16631 _strdup \
16632 _stricmp \
16633 _strnicmp \
16634 _strtoi64 \
16635 _strtoui64 \
16636 _vsnprintf \
16637 asctime_r \
16638 chsize \
16639 clone \
16640 dlopen \
16641 epoll_create \
16642 ffs \
16643 finite \
16644 fork \
16645 fpclass \
16646 fstatfs \
16647 fstatvfs \
16648 ftruncate \
16649 futimes \
16650 futimesat \
16651 getdirentries \
16652 getopt_long \
16653 getpagesize \
16654 getpwuid \
16655 gettid \
16656 gettimeofday \
16657 getuid \
16658 inet_pton \
16659 kqueue \
16660 lstat \
16661 memmove \
16662 mmap \
16663 pclose \
16664 poll \
16665 popen \
16666 prctl \
16667 pread \
16668 pwrite \
16669 readlink \
16670 rfork \
16671 sched_yield \
16672 select \
16673 setproctitle \
16674 setrlimit \
16675 settimeofday \
16676 sigaltstack \
16677 sigprocmask \
16678 snprintf \
16679 spawnvp \
16680 statfs \
16681 statvfs \
16682 strcasecmp \
16683 strdup \
16684 strerror \
16685 strncasecmp \
16686 strtold \
16687 strtoll \
16688 strtoull \
16689 tcgetattr \
16690 thr_kill2 \
16691 timegm \
16692 usleep \
16693 vsnprintf \
16694 wait4 \
16695 waitpid \
16698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16704 cat >conftest.$ac_ext <<_ACEOF
16705 /* confdefs.h. */
16706 _ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16712 #define $ac_func innocuous_$ac_func
16714 /* System header to define __stub macros and hopefully few prototypes,
16715 which can conflict with char $ac_func (); below.
16716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16717 <limits.h> exists even on freestanding compilers. */
16719 #ifdef __STDC__
16720 # include <limits.h>
16721 #else
16722 # include <assert.h>
16723 #endif
16725 #undef $ac_func
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 #ifdef __cplusplus
16731 extern "C"
16732 #endif
16733 char $ac_func ();
16734 /* The GNU C library defines this for functions which it implements
16735 to always fail with ENOSYS. Some functions are actually named
16736 something starting with __ and the normal name is an alias. */
16737 #if defined __stub_$ac_func || defined __stub___$ac_func
16738 choke me
16739 #endif
16742 main ()
16744 return $ac_func ();
16746 return 0;
16748 _ACEOF
16749 rm -f conftest.$ac_objext conftest$ac_exeext
16750 if { (ac_try="$ac_link"
16751 case "(($ac_try" in
16752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16753 *) ac_try_echo=$ac_try;;
16754 esac
16755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16756 (eval "$ac_link") 2>conftest.er1
16757 ac_status=$?
16758 grep -v '^ *+' conftest.er1 >conftest.err
16759 rm -f conftest.er1
16760 cat conftest.err >&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } && {
16763 test -z "$ac_c_werror_flag" ||
16764 test ! -s conftest.err
16765 } && test -s conftest$ac_exeext &&
16766 $as_test_x conftest$ac_exeext; then
16767 eval "$as_ac_var=yes"
16768 else
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.$ac_ext >&5
16772 eval "$as_ac_var=no"
16775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16776 conftest$ac_exeext conftest.$ac_ext
16778 ac_res=`eval echo '${'$as_ac_var'}'`
16779 { echo "$as_me:$LINENO: result: $ac_res" >&5
16780 echo "${ECHO_T}$ac_res" >&6; }
16781 if test `eval echo '${'$as_ac_var'}'` = yes; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16784 _ACEOF
16787 done
16790 if test "$ac_cv_func_dlopen" = no
16791 then
16792 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16793 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16794 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 ac_check_lib_save_LIBS=$LIBS
16798 LIBS="-ldl $LIBS"
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16806 /* Override any GCC internal prototype to avoid an error.
16807 Use char because int might match the return type of a GCC
16808 builtin and then its argument prototype would still apply. */
16809 #ifdef __cplusplus
16810 extern "C"
16811 #endif
16812 char dlopen ();
16814 main ()
16816 return dlopen ();
16818 return 0;
16820 _ACEOF
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (ac_try="$ac_link"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16826 esac
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_link") 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest$ac_exeext &&
16838 $as_test_x conftest$ac_exeext; then
16839 ac_cv_lib_dl_dlopen=yes
16840 else
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 ac_cv_lib_dl_dlopen=no
16847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16848 conftest$ac_exeext conftest.$ac_ext
16849 LIBS=$ac_check_lib_save_LIBS
16851 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16852 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16853 if test $ac_cv_lib_dl_dlopen = yes; then
16854 cat >>confdefs.h <<\_ACEOF
16855 #define HAVE_DLOPEN 1
16856 _ACEOF
16857 LIBDL="-ldl"
16862 ac_wine_check_funcs_save_LIBS="$LIBS"
16863 LIBS="$LIBS $LIBDL"
16865 for ac_func in dladdr
16867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h. */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16881 #define $ac_func innocuous_$ac_func
16883 /* System header to define __stub macros and hopefully few prototypes,
16884 which can conflict with char $ac_func (); below.
16885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16886 <limits.h> exists even on freestanding compilers. */
16888 #ifdef __STDC__
16889 # include <limits.h>
16890 #else
16891 # include <assert.h>
16892 #endif
16894 #undef $ac_func
16896 /* Override any GCC internal prototype to avoid an error.
16897 Use char because int might match the return type of a GCC
16898 builtin and then its argument prototype would still apply. */
16899 #ifdef __cplusplus
16900 extern "C"
16901 #endif
16902 char $ac_func ();
16903 /* The GNU C library defines this for functions which it implements
16904 to always fail with ENOSYS. Some functions are actually named
16905 something starting with __ and the normal name is an alias. */
16906 #if defined __stub_$ac_func || defined __stub___$ac_func
16907 choke me
16908 #endif
16911 main ()
16913 return $ac_func ();
16915 return 0;
16917 _ACEOF
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (ac_try="$ac_link"
16920 case "(($ac_try" in
16921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16922 *) ac_try_echo=$ac_try;;
16923 esac
16924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16925 (eval "$ac_link") 2>conftest.er1
16926 ac_status=$?
16927 grep -v '^ *+' conftest.er1 >conftest.err
16928 rm -f conftest.er1
16929 cat conftest.err >&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); } && {
16932 test -z "$ac_c_werror_flag" ||
16933 test ! -s conftest.err
16934 } && test -s conftest$ac_exeext &&
16935 $as_test_x conftest$ac_exeext; then
16936 eval "$as_ac_var=yes"
16937 else
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 eval "$as_ac_var=no"
16944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16945 conftest$ac_exeext conftest.$ac_ext
16947 ac_res=`eval echo '${'$as_ac_var'}'`
16948 { echo "$as_me:$LINENO: result: $ac_res" >&5
16949 echo "${ECHO_T}$ac_res" >&6; }
16950 if test `eval echo '${'$as_ac_var'}'` = yes; then
16951 cat >>confdefs.h <<_ACEOF
16952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16953 _ACEOF
16956 done
16958 LIBS="$ac_wine_check_funcs_save_LIBS"
16960 if test "$ac_cv_func_poll" = no
16961 then
16962 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16963 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16964 if test "${ac_cv_lib_poll_poll+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 ac_check_lib_save_LIBS=$LIBS
16968 LIBS="-lpoll $LIBS"
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16979 #ifdef __cplusplus
16980 extern "C"
16981 #endif
16982 char poll ();
16984 main ()
16986 return poll ();
16988 return 0;
16990 _ACEOF
16991 rm -f conftest.$ac_objext conftest$ac_exeext
16992 if { (ac_try="$ac_link"
16993 case "(($ac_try" in
16994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16995 *) ac_try_echo=$ac_try;;
16996 esac
16997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16998 (eval "$ac_link") 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } && {
17005 test -z "$ac_c_werror_flag" ||
17006 test ! -s conftest.err
17007 } && test -s conftest$ac_exeext &&
17008 $as_test_x conftest$ac_exeext; then
17009 ac_cv_lib_poll_poll=yes
17010 else
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.$ac_ext >&5
17014 ac_cv_lib_poll_poll=no
17017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17018 conftest$ac_exeext conftest.$ac_ext
17019 LIBS=$ac_check_lib_save_LIBS
17021 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17022 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17023 if test $ac_cv_lib_poll_poll = yes; then
17024 cat >>confdefs.h <<\_ACEOF
17025 #define HAVE_POLL 1
17026 _ACEOF
17027 LIBPOLL="-lpoll"
17033 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17034 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17035 if test "${ac_cv_search_gethostbyname+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 else
17038 ac_func_search_save_LIBS=$LIBS
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17046 /* Override any GCC internal prototype to avoid an error.
17047 Use char because int might match the return type of a GCC
17048 builtin and then its argument prototype would still apply. */
17049 #ifdef __cplusplus
17050 extern "C"
17051 #endif
17052 char gethostbyname ();
17054 main ()
17056 return gethostbyname ();
17058 return 0;
17060 _ACEOF
17061 for ac_lib in '' nsl; do
17062 if test -z "$ac_lib"; then
17063 ac_res="none required"
17064 else
17065 ac_res=-l$ac_lib
17066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17068 rm -f conftest.$ac_objext conftest$ac_exeext
17069 if { (ac_try="$ac_link"
17070 case "(($ac_try" in
17071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17073 esac
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_link") 2>conftest.er1
17076 ac_status=$?
17077 grep -v '^ *+' conftest.er1 >conftest.err
17078 rm -f conftest.er1
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } && {
17082 test -z "$ac_c_werror_flag" ||
17083 test ! -s conftest.err
17084 } && test -s conftest$ac_exeext &&
17085 $as_test_x conftest$ac_exeext; then
17086 ac_cv_search_gethostbyname=$ac_res
17087 else
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.$ac_ext >&5
17094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17095 conftest$ac_exeext
17096 if test "${ac_cv_search_gethostbyname+set}" = set; then
17097 break
17099 done
17100 if test "${ac_cv_search_gethostbyname+set}" = set; then
17102 else
17103 ac_cv_search_gethostbyname=no
17105 rm conftest.$ac_ext
17106 LIBS=$ac_func_search_save_LIBS
17108 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17109 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17110 ac_res=$ac_cv_search_gethostbyname
17111 if test "$ac_res" != no; then
17112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17117 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17118 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17119 if test "${ac_cv_search_connect+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 ac_func_search_save_LIBS=$LIBS
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17133 #ifdef __cplusplus
17134 extern "C"
17135 #endif
17136 char connect ();
17138 main ()
17140 return connect ();
17142 return 0;
17144 _ACEOF
17145 for ac_lib in '' socket; do
17146 if test -z "$ac_lib"; then
17147 ac_res="none required"
17148 else
17149 ac_res=-l$ac_lib
17150 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17152 rm -f conftest.$ac_objext conftest$ac_exeext
17153 if { (ac_try="$ac_link"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest$ac_exeext &&
17169 $as_test_x conftest$ac_exeext; then
17170 ac_cv_search_connect=$ac_res
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17179 conftest$ac_exeext
17180 if test "${ac_cv_search_connect+set}" = set; then
17181 break
17183 done
17184 if test "${ac_cv_search_connect+set}" = set; then
17186 else
17187 ac_cv_search_connect=no
17189 rm conftest.$ac_ext
17190 LIBS=$ac_func_search_save_LIBS
17192 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17193 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17194 ac_res=$ac_cv_search_connect
17195 if test "$ac_res" != no; then
17196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17201 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17202 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17203 if test "${ac_cv_search_inet_aton+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_func_search_save_LIBS=$LIBS
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17217 #ifdef __cplusplus
17218 extern "C"
17219 #endif
17220 char inet_aton ();
17222 main ()
17224 return inet_aton ();
17226 return 0;
17228 _ACEOF
17229 for ac_lib in '' resolv; do
17230 if test -z "$ac_lib"; then
17231 ac_res="none required"
17232 else
17233 ac_res=-l$ac_lib
17234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (ac_try="$ac_link"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17241 esac
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_link") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest$ac_exeext &&
17253 $as_test_x conftest$ac_exeext; then
17254 ac_cv_search_inet_aton=$ac_res
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17263 conftest$ac_exeext
17264 if test "${ac_cv_search_inet_aton+set}" = set; then
17265 break
17267 done
17268 if test "${ac_cv_search_inet_aton+set}" = set; then
17270 else
17271 ac_cv_search_inet_aton=no
17273 rm conftest.$ac_ext
17274 LIBS=$ac_func_search_save_LIBS
17276 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17277 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17278 ac_res=$ac_cv_search_inet_aton
17279 if test "$ac_res" != no; then
17280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17293 for ac_func in \
17294 getaddrinfo \
17295 getnameinfo \
17296 getnetbyname \
17297 getprotobyname \
17298 getprotobynumber \
17299 getservbyport \
17300 inet_network \
17301 sendmsg \
17304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17318 #define $ac_func innocuous_$ac_func
17320 /* System header to define __stub macros and hopefully few prototypes,
17321 which can conflict with char $ac_func (); below.
17322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17323 <limits.h> exists even on freestanding compilers. */
17325 #ifdef __STDC__
17326 # include <limits.h>
17327 #else
17328 # include <assert.h>
17329 #endif
17331 #undef $ac_func
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17336 #ifdef __cplusplus
17337 extern "C"
17338 #endif
17339 char $ac_func ();
17340 /* The GNU C library defines this for functions which it implements
17341 to always fail with ENOSYS. Some functions are actually named
17342 something starting with __ and the normal name is an alias. */
17343 #if defined __stub_$ac_func || defined __stub___$ac_func
17344 choke me
17345 #endif
17348 main ()
17350 return $ac_func ();
17352 return 0;
17354 _ACEOF
17355 rm -f conftest.$ac_objext conftest$ac_exeext
17356 if { (ac_try="$ac_link"
17357 case "(($ac_try" in
17358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17359 *) ac_try_echo=$ac_try;;
17360 esac
17361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17362 (eval "$ac_link") 2>conftest.er1
17363 ac_status=$?
17364 grep -v '^ *+' conftest.er1 >conftest.err
17365 rm -f conftest.er1
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } && {
17369 test -z "$ac_c_werror_flag" ||
17370 test ! -s conftest.err
17371 } && test -s conftest$ac_exeext &&
17372 $as_test_x conftest$ac_exeext; then
17373 eval "$as_ac_var=yes"
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17378 eval "$as_ac_var=no"
17381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17382 conftest$ac_exeext conftest.$ac_ext
17384 ac_res=`eval echo '${'$as_ac_var'}'`
17385 { echo "$as_me:$LINENO: result: $ac_res" >&5
17386 echo "${ECHO_T}$ac_res" >&6; }
17387 if test `eval echo '${'$as_ac_var'}'` = yes; then
17388 cat >>confdefs.h <<_ACEOF
17389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17390 _ACEOF
17393 done
17397 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17398 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17399 if test "${ac_cv_c_const+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17410 main ()
17412 /* FIXME: Include the comments suggested by Paul. */
17413 #ifndef __cplusplus
17414 /* Ultrix mips cc rejects this. */
17415 typedef int charset[2];
17416 const charset cs;
17417 /* SunOS 4.1.1 cc rejects this. */
17418 char const *const *pcpcc;
17419 char **ppc;
17420 /* NEC SVR4.0.2 mips cc rejects this. */
17421 struct point {int x, y;};
17422 static struct point const zero = {0,0};
17423 /* AIX XL C 1.02.0.0 rejects this.
17424 It does not let you subtract one const X* pointer from another in
17425 an arm of an if-expression whose if-part is not a constant
17426 expression */
17427 const char *g = "string";
17428 pcpcc = &g + (g ? g-g : 0);
17429 /* HPUX 7.0 cc rejects these. */
17430 ++pcpcc;
17431 ppc = (char**) pcpcc;
17432 pcpcc = (char const *const *) ppc;
17433 { /* SCO 3.2v4 cc rejects this. */
17434 char *t;
17435 char const *s = 0 ? (char *) 0 : (char const *) 0;
17437 *t++ = 0;
17438 if (s) return 0;
17440 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17441 int x[] = {25, 17};
17442 const int *foo = &x[0];
17443 ++foo;
17445 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17446 typedef const int *iptr;
17447 iptr p = 0;
17448 ++p;
17450 { /* AIX XL C 1.02.0.0 rejects this saying
17451 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17452 struct s { int j; const int *ap[3]; };
17453 struct s *b; b->j = 5;
17455 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17456 const int foo = 10;
17457 if (!foo) return 0;
17459 return !cs[0] && !zero.x;
17460 #endif
17463 return 0;
17465 _ACEOF
17466 rm -f conftest.$ac_objext
17467 if { (ac_try="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17471 esac
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17474 ac_status=$?
17475 grep -v '^ *+' conftest.er1 >conftest.err
17476 rm -f conftest.er1
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.$ac_objext; then
17483 ac_cv_c_const=yes
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 ac_cv_c_const=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17493 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17494 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17495 if test $ac_cv_c_const = no; then
17497 cat >>confdefs.h <<\_ACEOF
17498 #define const
17499 _ACEOF
17503 { echo "$as_me:$LINENO: checking for inline" >&5
17504 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17505 if test "${ac_cv_c_inline+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 ac_cv_c_inline=no
17509 for ac_kw in inline __inline__ __inline; do
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516 #ifndef __cplusplus
17517 typedef int foo_t;
17518 static $ac_kw foo_t static_foo () {return 0; }
17519 $ac_kw foo_t foo () {return 0; }
17520 #endif
17522 _ACEOF
17523 rm -f conftest.$ac_objext
17524 if { (ac_try="$ac_compile"
17525 case "(($ac_try" in
17526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17528 esac
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_compile") 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && {
17537 test -z "$ac_c_werror_flag" ||
17538 test ! -s conftest.err
17539 } && test -s conftest.$ac_objext; then
17540 ac_cv_c_inline=$ac_kw
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 test "$ac_cv_c_inline" != no && break
17550 done
17553 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17554 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17557 case $ac_cv_c_inline in
17558 inline | yes) ;;
17560 case $ac_cv_c_inline in
17561 no) ac_val=;;
17562 *) ac_val=$ac_cv_c_inline;;
17563 esac
17564 cat >>confdefs.h <<_ACEOF
17565 #ifndef __cplusplus
17566 #define inline $ac_val
17567 #endif
17568 _ACEOF
17570 esac
17572 { echo "$as_me:$LINENO: checking for mode_t" >&5
17573 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17574 if test "${ac_cv_type_mode_t+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577 cat >conftest.$ac_ext <<_ACEOF
17578 /* confdefs.h. */
17579 _ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 $ac_includes_default
17584 typedef mode_t ac__type_new_;
17586 main ()
17588 if ((ac__type_new_ *) 0)
17589 return 0;
17590 if (sizeof (ac__type_new_))
17591 return 0;
17593 return 0;
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17601 esac
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 ac_cv_type_mode_t=yes
17614 else
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17618 ac_cv_type_mode_t=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17624 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17625 if test $ac_cv_type_mode_t = yes; then
17627 cat >>confdefs.h <<_ACEOF
17628 #define HAVE_MODE_T 1
17629 _ACEOF
17633 { echo "$as_me:$LINENO: checking for off_t" >&5
17634 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17635 if test "${ac_cv_type_off_t+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 typedef off_t ac__type_new_;
17647 main ()
17649 if ((ac__type_new_ *) 0)
17650 return 0;
17651 if (sizeof (ac__type_new_))
17652 return 0;
17654 return 0;
17656 _ACEOF
17657 rm -f conftest.$ac_objext
17658 if { (ac_try="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17662 esac
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_compile") 2>conftest.er1
17665 ac_status=$?
17666 grep -v '^ *+' conftest.er1 >conftest.err
17667 rm -f conftest.er1
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_c_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest.$ac_objext; then
17674 ac_cv_type_off_t=yes
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17679 ac_cv_type_off_t=no
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17685 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17686 if test $ac_cv_type_off_t = yes; then
17688 cat >>confdefs.h <<_ACEOF
17689 #define HAVE_OFF_T 1
17690 _ACEOF
17694 { echo "$as_me:$LINENO: checking for pid_t" >&5
17695 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17696 if test "${ac_cv_type_pid_t+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 $ac_includes_default
17706 typedef pid_t ac__type_new_;
17708 main ()
17710 if ((ac__type_new_ *) 0)
17711 return 0;
17712 if (sizeof (ac__type_new_))
17713 return 0;
17715 return 0;
17717 _ACEOF
17718 rm -f conftest.$ac_objext
17719 if { (ac_try="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17722 *) ac_try_echo=$ac_try;;
17723 esac
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17725 (eval "$ac_compile") 2>conftest.er1
17726 ac_status=$?
17727 grep -v '^ *+' conftest.er1 >conftest.err
17728 rm -f conftest.er1
17729 cat conftest.err >&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } && {
17732 test -z "$ac_c_werror_flag" ||
17733 test ! -s conftest.err
17734 } && test -s conftest.$ac_objext; then
17735 ac_cv_type_pid_t=yes
17736 else
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.$ac_ext >&5
17740 ac_cv_type_pid_t=no
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17746 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17747 if test $ac_cv_type_pid_t = yes; then
17749 cat >>confdefs.h <<_ACEOF
17750 #define HAVE_PID_T 1
17751 _ACEOF
17755 { echo "$as_me:$LINENO: checking for size_t" >&5
17756 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17757 if test "${ac_cv_type_size_t+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17759 else
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17767 typedef size_t ac__type_new_;
17769 main ()
17771 if ((ac__type_new_ *) 0)
17772 return 0;
17773 if (sizeof (ac__type_new_))
17774 return 0;
17776 return 0;
17778 _ACEOF
17779 rm -f conftest.$ac_objext
17780 if { (ac_try="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17784 esac
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17787 ac_status=$?
17788 grep -v '^ *+' conftest.er1 >conftest.err
17789 rm -f conftest.er1
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_c_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 ac_cv_type_size_t=yes
17797 else
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17801 ac_cv_type_size_t=no
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17807 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17808 if test $ac_cv_type_size_t = yes; then
17810 cat >>confdefs.h <<_ACEOF
17811 #define HAVE_SIZE_T 1
17812 _ACEOF
17816 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17817 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17818 if test "${ac_cv_type_ssize_t+set}" = set; then
17819 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 else
17821 cat >conftest.$ac_ext <<_ACEOF
17822 /* confdefs.h. */
17823 _ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17828 typedef ssize_t ac__type_new_;
17830 main ()
17832 if ((ac__type_new_ *) 0)
17833 return 0;
17834 if (sizeof (ac__type_new_))
17835 return 0;
17837 return 0;
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (ac_try="$ac_compile"
17842 case "(($ac_try" in
17843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17844 *) ac_try_echo=$ac_try;;
17845 esac
17846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17847 (eval "$ac_compile") 2>conftest.er1
17848 ac_status=$?
17849 grep -v '^ *+' conftest.er1 >conftest.err
17850 rm -f conftest.er1
17851 cat conftest.err >&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } && {
17854 test -z "$ac_c_werror_flag" ||
17855 test ! -s conftest.err
17856 } && test -s conftest.$ac_objext; then
17857 ac_cv_type_ssize_t=yes
17858 else
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17862 ac_cv_type_ssize_t=no
17865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17868 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17869 if test $ac_cv_type_ssize_t = yes; then
17871 cat >>confdefs.h <<_ACEOF
17872 #define HAVE_SSIZE_T 1
17873 _ACEOF
17877 { echo "$as_me:$LINENO: checking for long long" >&5
17878 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17879 if test "${ac_cv_type_long_long+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 else
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 typedef long long ac__type_new_;
17891 main ()
17893 if ((ac__type_new_ *) 0)
17894 return 0;
17895 if (sizeof (ac__type_new_))
17896 return 0;
17898 return 0;
17900 _ACEOF
17901 rm -f conftest.$ac_objext
17902 if { (ac_try="$ac_compile"
17903 case "(($ac_try" in
17904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17906 esac
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_compile") 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } && {
17915 test -z "$ac_c_werror_flag" ||
17916 test ! -s conftest.err
17917 } && test -s conftest.$ac_objext; then
17918 ac_cv_type_long_long=yes
17919 else
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17923 ac_cv_type_long_long=no
17926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17928 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17929 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17930 if test $ac_cv_type_long_long = yes; then
17932 cat >>confdefs.h <<_ACEOF
17933 #define HAVE_LONG_LONG 1
17934 _ACEOF
17938 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17939 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17940 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17941 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 else
17943 cat >conftest.$ac_ext <<_ACEOF
17944 /* confdefs.h. */
17945 _ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17950 typedef fsblkcnt_t ac__type_new_;
17952 main ()
17954 if ((ac__type_new_ *) 0)
17955 return 0;
17956 if (sizeof (ac__type_new_))
17957 return 0;
17959 return 0;
17961 _ACEOF
17962 rm -f conftest.$ac_objext
17963 if { (ac_try="$ac_compile"
17964 case "(($ac_try" in
17965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17966 *) ac_try_echo=$ac_try;;
17967 esac
17968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17969 (eval "$ac_compile") 2>conftest.er1
17970 ac_status=$?
17971 grep -v '^ *+' conftest.er1 >conftest.err
17972 rm -f conftest.er1
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && {
17976 test -z "$ac_c_werror_flag" ||
17977 test ! -s conftest.err
17978 } && test -s conftest.$ac_objext; then
17979 ac_cv_type_fsblkcnt_t=yes
17980 else
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17984 ac_cv_type_fsblkcnt_t=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17990 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17991 if test $ac_cv_type_fsblkcnt_t = yes; then
17993 cat >>confdefs.h <<_ACEOF
17994 #define HAVE_FSBLKCNT_T 1
17995 _ACEOF
17999 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18000 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18001 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004 cat >conftest.$ac_ext <<_ACEOF
18005 /* confdefs.h. */
18006 _ACEOF
18007 cat confdefs.h >>conftest.$ac_ext
18008 cat >>conftest.$ac_ext <<_ACEOF
18009 /* end confdefs.h. */
18010 $ac_includes_default
18011 typedef fsfilcnt_t ac__type_new_;
18013 main ()
18015 if ((ac__type_new_ *) 0)
18016 return 0;
18017 if (sizeof (ac__type_new_))
18018 return 0;
18020 return 0;
18022 _ACEOF
18023 rm -f conftest.$ac_objext
18024 if { (ac_try="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18028 esac
18029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18031 ac_status=$?
18032 grep -v '^ *+' conftest.er1 >conftest.err
18033 rm -f conftest.er1
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18040 ac_cv_type_fsfilcnt_t=yes
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18045 ac_cv_type_fsfilcnt_t=no
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18051 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18052 if test $ac_cv_type_fsfilcnt_t = yes; then
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_FSFILCNT_T 1
18056 _ACEOF
18061 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18062 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18063 if test "${ac_cv_type_sigset_t+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <signal.h>
18074 typedef sigset_t ac__type_new_;
18076 main ()
18078 if ((ac__type_new_ *) 0)
18079 return 0;
18080 if (sizeof (ac__type_new_))
18081 return 0;
18083 return 0;
18085 _ACEOF
18086 rm -f conftest.$ac_objext
18087 if { (ac_try="$ac_compile"
18088 case "(($ac_try" in
18089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18090 *) ac_try_echo=$ac_try;;
18091 esac
18092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18093 (eval "$ac_compile") 2>conftest.er1
18094 ac_status=$?
18095 grep -v '^ *+' conftest.er1 >conftest.err
18096 rm -f conftest.er1
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } && {
18100 test -z "$ac_c_werror_flag" ||
18101 test ! -s conftest.err
18102 } && test -s conftest.$ac_objext; then
18103 ac_cv_type_sigset_t=yes
18104 else
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18108 ac_cv_type_sigset_t=no
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18114 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18115 if test $ac_cv_type_sigset_t = yes; then
18117 cat >>confdefs.h <<_ACEOF
18118 #define HAVE_SIGSET_T 1
18119 _ACEOF
18124 { echo "$as_me:$LINENO: checking for request_sense" >&5
18125 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18126 if test "${ac_cv_type_request_sense+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 else
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 #include <linux/cdrom.h>
18137 typedef request_sense ac__type_new_;
18139 main ()
18141 if ((ac__type_new_ *) 0)
18142 return 0;
18143 if (sizeof (ac__type_new_))
18144 return 0;
18146 return 0;
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (ac_try="$ac_compile"
18151 case "(($ac_try" in
18152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18153 *) ac_try_echo=$ac_try;;
18154 esac
18155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18156 (eval "$ac_compile") 2>conftest.er1
18157 ac_status=$?
18158 grep -v '^ *+' conftest.er1 >conftest.err
18159 rm -f conftest.er1
18160 cat conftest.err >&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } && {
18163 test -z "$ac_c_werror_flag" ||
18164 test ! -s conftest.err
18165 } && test -s conftest.$ac_objext; then
18166 ac_cv_type_request_sense=yes
18167 else
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 ac_cv_type_request_sense=no
18174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18176 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18177 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18178 if test $ac_cv_type_request_sense = yes; then
18180 cat >>confdefs.h <<_ACEOF
18181 #define HAVE_REQUEST_SENSE 1
18182 _ACEOF
18188 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18189 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18190 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 else
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #ifdef HAVE_LINUX_INPUT_H
18200 #include <linux/input.h>
18201 #endif
18204 main ()
18206 static struct ff_effect ac_aggr;
18207 if (ac_aggr.direction)
18208 return 0;
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18221 ac_status=$?
18222 grep -v '^ *+' conftest.er1 >conftest.err
18223 rm -f conftest.er1
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.$ac_objext; then
18230 ac_cv_member_struct_ff_effect_direction=yes
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 cat >conftest.$ac_ext <<_ACEOF
18236 /* confdefs.h. */
18237 _ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241 #ifdef HAVE_LINUX_INPUT_H
18242 #include <linux/input.h>
18243 #endif
18246 main ()
18248 static struct ff_effect ac_aggr;
18249 if (sizeof ac_aggr.direction)
18250 return 0;
18252 return 0;
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (ac_try="$ac_compile"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18260 esac
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_compile") 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest.$ac_objext; then
18272 ac_cv_member_struct_ff_effect_direction=yes
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18277 ac_cv_member_struct_ff_effect_direction=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18285 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18286 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18287 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18289 cat >>confdefs.h <<_ACEOF
18290 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18291 _ACEOF
18297 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18298 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18299 if test "${wine_cv_have_sigaddset+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18301 else
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 #include <signal.h>
18310 main ()
18312 sigset_t set; sigaddset(&set,SIGTERM);
18314 return 0;
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest$ac_exeext &&
18334 $as_test_x conftest$ac_exeext; then
18335 wine_cv_have_sigaddset=yes
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18340 wine_cv_have_sigaddset=no
18343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18344 conftest$ac_exeext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18347 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18348 if test "$wine_cv_have_sigaddset" = "yes"
18349 then
18351 cat >>confdefs.h <<\_ACEOF
18352 #define HAVE_SIGADDSET 1
18353 _ACEOF
18358 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18359 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18360 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 else
18363 cat >conftest.$ac_ext <<_ACEOF
18364 /* confdefs.h. */
18365 _ACEOF
18366 cat confdefs.h >>conftest.$ac_ext
18367 cat >>conftest.$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18369 #include <netdb.h>
18371 main ()
18374 char *name=0;
18375 struct hostent he;
18376 struct hostent *result;
18377 char *buf=0;
18378 int bufsize=0;
18379 int res,errnr;
18380 char *addr=0;
18381 int addrlen=0;
18382 int addrtype=0;
18383 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18384 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18387 return 0;
18389 _ACEOF
18390 rm -f conftest.$ac_objext conftest$ac_exeext
18391 if { (ac_try="$ac_link"
18392 case "(($ac_try" in
18393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18395 esac
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_link") 2>conftest.er1
18398 ac_status=$?
18399 grep -v '^ *+' conftest.er1 >conftest.err
18400 rm -f conftest.er1
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } && {
18404 test -z "$ac_c_werror_flag" ||
18405 test ! -s conftest.err
18406 } && test -s conftest$ac_exeext &&
18407 $as_test_x conftest$ac_exeext; then
18408 wine_cv_linux_gethostbyname_r_6=yes
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 wine_cv_linux_gethostbyname_r_6=no
18417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18418 conftest$ac_exeext conftest.$ac_ext
18421 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18422 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18423 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18424 then
18426 cat >>confdefs.h <<\_ACEOF
18427 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18428 _ACEOF
18432 if test "$ac_cv_header_linux_joystick_h" = "yes"
18433 then
18434 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18435 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18436 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 else
18439 cat >conftest.$ac_ext <<_ACEOF
18440 /* confdefs.h. */
18441 _ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18446 #include <sys/ioctl.h>
18447 #include <sys/types.h>
18448 #include <linux/joystick.h>
18450 struct js_event blub;
18451 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18452 #error "no 2.2 header"
18453 #endif
18456 main ()
18458 /*empty*/
18460 return 0;
18462 _ACEOF
18463 rm -f conftest.$ac_objext
18464 if { (ac_try="$ac_compile"
18465 case "(($ac_try" in
18466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467 *) ac_try_echo=$ac_try;;
18468 esac
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_compile") 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest.$ac_objext; then
18480 wine_cv_linux_joystick_22_api=yes
18481 else
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.$ac_ext >&5
18485 wine_cv_linux_joystick_22_api=no
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18492 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18493 if test "$wine_cv_linux_joystick_22_api" = "yes"
18494 then
18496 cat >>confdefs.h <<\_ACEOF
18497 #define HAVE_LINUX_22_JOYSTICK_API 1
18498 _ACEOF
18504 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18505 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18506 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18507 echo $ECHO_N "(cached) $ECHO_C" >&6
18508 else
18509 cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h. */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 #include <sys/types.h>
18516 #ifdef HAVE_SYS_PARAM_H
18517 # include <sys/param.h>
18518 #endif
18519 #ifdef HAVE_SYS_MOUNT_H
18520 # include <sys/mount.h>
18521 #endif
18522 #ifdef HAVE_SYS_VFS_H
18523 # include <sys/vfs.h>
18524 #endif
18525 #ifdef HAVE_SYS_STATFS_H
18526 # include <sys/statfs.h>
18527 #endif
18530 main ()
18532 static struct statfs ac_aggr;
18533 if (ac_aggr.f_bfree)
18534 return 0;
18536 return 0;
18538 _ACEOF
18539 rm -f conftest.$ac_objext
18540 if { (ac_try="$ac_compile"
18541 case "(($ac_try" in
18542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18543 *) ac_try_echo=$ac_try;;
18544 esac
18545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18546 (eval "$ac_compile") 2>conftest.er1
18547 ac_status=$?
18548 grep -v '^ *+' conftest.er1 >conftest.err
18549 rm -f conftest.er1
18550 cat conftest.err >&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } && {
18553 test -z "$ac_c_werror_flag" ||
18554 test ! -s conftest.err
18555 } && test -s conftest.$ac_objext; then
18556 ac_cv_member_struct_statfs_f_bfree=yes
18557 else
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.$ac_ext >&5
18561 cat >conftest.$ac_ext <<_ACEOF
18562 /* confdefs.h. */
18563 _ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 #include <sys/types.h>
18568 #ifdef HAVE_SYS_PARAM_H
18569 # include <sys/param.h>
18570 #endif
18571 #ifdef HAVE_SYS_MOUNT_H
18572 # include <sys/mount.h>
18573 #endif
18574 #ifdef HAVE_SYS_VFS_H
18575 # include <sys/vfs.h>
18576 #endif
18577 #ifdef HAVE_SYS_STATFS_H
18578 # include <sys/statfs.h>
18579 #endif
18582 main ()
18584 static struct statfs ac_aggr;
18585 if (sizeof ac_aggr.f_bfree)
18586 return 0;
18588 return 0;
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18595 *) ac_try_echo=$ac_try;;
18596 esac
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18599 ac_status=$?
18600 grep -v '^ *+' conftest.er1 >conftest.err
18601 rm -f conftest.er1
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.$ac_objext; then
18608 ac_cv_member_struct_statfs_f_bfree=yes
18609 else
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.$ac_ext >&5
18613 ac_cv_member_struct_statfs_f_bfree=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18622 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18623 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18625 cat >>confdefs.h <<_ACEOF
18626 #define HAVE_STRUCT_STATFS_F_BFREE 1
18627 _ACEOF
18631 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18632 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18633 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 #include <sys/types.h>
18643 #ifdef HAVE_SYS_PARAM_H
18644 # include <sys/param.h>
18645 #endif
18646 #ifdef HAVE_SYS_MOUNT_H
18647 # include <sys/mount.h>
18648 #endif
18649 #ifdef HAVE_SYS_VFS_H
18650 # include <sys/vfs.h>
18651 #endif
18652 #ifdef HAVE_SYS_STATFS_H
18653 # include <sys/statfs.h>
18654 #endif
18657 main ()
18659 static struct statfs ac_aggr;
18660 if (ac_aggr.f_bavail)
18661 return 0;
18663 return 0;
18665 _ACEOF
18666 rm -f conftest.$ac_objext
18667 if { (ac_try="$ac_compile"
18668 case "(($ac_try" in
18669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18670 *) ac_try_echo=$ac_try;;
18671 esac
18672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18673 (eval "$ac_compile") 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && {
18680 test -z "$ac_c_werror_flag" ||
18681 test ! -s conftest.err
18682 } && test -s conftest.$ac_objext; then
18683 ac_cv_member_struct_statfs_f_bavail=yes
18684 else
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #include <sys/types.h>
18695 #ifdef HAVE_SYS_PARAM_H
18696 # include <sys/param.h>
18697 #endif
18698 #ifdef HAVE_SYS_MOUNT_H
18699 # include <sys/mount.h>
18700 #endif
18701 #ifdef HAVE_SYS_VFS_H
18702 # include <sys/vfs.h>
18703 #endif
18704 #ifdef HAVE_SYS_STATFS_H
18705 # include <sys/statfs.h>
18706 #endif
18709 main ()
18711 static struct statfs ac_aggr;
18712 if (sizeof ac_aggr.f_bavail)
18713 return 0;
18715 return 0;
18717 _ACEOF
18718 rm -f conftest.$ac_objext
18719 if { (ac_try="$ac_compile"
18720 case "(($ac_try" in
18721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18722 *) ac_try_echo=$ac_try;;
18723 esac
18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18725 (eval "$ac_compile") 2>conftest.er1
18726 ac_status=$?
18727 grep -v '^ *+' conftest.er1 >conftest.err
18728 rm -f conftest.er1
18729 cat conftest.err >&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } && {
18732 test -z "$ac_c_werror_flag" ||
18733 test ! -s conftest.err
18734 } && test -s conftest.$ac_objext; then
18735 ac_cv_member_struct_statfs_f_bavail=yes
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 ac_cv_member_struct_statfs_f_bavail=no
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18749 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18750 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18754 _ACEOF
18758 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18759 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18760 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 else
18763 cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h. */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 #include <sys/types.h>
18770 #ifdef HAVE_SYS_PARAM_H
18771 # include <sys/param.h>
18772 #endif
18773 #ifdef HAVE_SYS_MOUNT_H
18774 # include <sys/mount.h>
18775 #endif
18776 #ifdef HAVE_SYS_VFS_H
18777 # include <sys/vfs.h>
18778 #endif
18779 #ifdef HAVE_SYS_STATFS_H
18780 # include <sys/statfs.h>
18781 #endif
18784 main ()
18786 static struct statfs ac_aggr;
18787 if (ac_aggr.f_frsize)
18788 return 0;
18790 return 0;
18792 _ACEOF
18793 rm -f conftest.$ac_objext
18794 if { (ac_try="$ac_compile"
18795 case "(($ac_try" in
18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18798 esac
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_compile") 2>conftest.er1
18801 ac_status=$?
18802 grep -v '^ *+' conftest.er1 >conftest.err
18803 rm -f conftest.er1
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } && {
18807 test -z "$ac_c_werror_flag" ||
18808 test ! -s conftest.err
18809 } && test -s conftest.$ac_objext; then
18810 ac_cv_member_struct_statfs_f_frsize=yes
18811 else
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 cat >conftest.$ac_ext <<_ACEOF
18816 /* confdefs.h. */
18817 _ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <sys/types.h>
18822 #ifdef HAVE_SYS_PARAM_H
18823 # include <sys/param.h>
18824 #endif
18825 #ifdef HAVE_SYS_MOUNT_H
18826 # include <sys/mount.h>
18827 #endif
18828 #ifdef HAVE_SYS_VFS_H
18829 # include <sys/vfs.h>
18830 #endif
18831 #ifdef HAVE_SYS_STATFS_H
18832 # include <sys/statfs.h>
18833 #endif
18836 main ()
18838 static struct statfs ac_aggr;
18839 if (sizeof ac_aggr.f_frsize)
18840 return 0;
18842 return 0;
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850 esac
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_c_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 ac_cv_member_struct_statfs_f_frsize=yes
18863 else
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18867 ac_cv_member_struct_statfs_f_frsize=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18876 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18877 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18879 cat >>confdefs.h <<_ACEOF
18880 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18881 _ACEOF
18885 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18886 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18887 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 else
18890 cat >conftest.$ac_ext <<_ACEOF
18891 /* confdefs.h. */
18892 _ACEOF
18893 cat confdefs.h >>conftest.$ac_ext
18894 cat >>conftest.$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18896 #include <sys/types.h>
18897 #ifdef HAVE_SYS_PARAM_H
18898 # include <sys/param.h>
18899 #endif
18900 #ifdef HAVE_SYS_MOUNT_H
18901 # include <sys/mount.h>
18902 #endif
18903 #ifdef HAVE_SYS_VFS_H
18904 # include <sys/vfs.h>
18905 #endif
18906 #ifdef HAVE_SYS_STATFS_H
18907 # include <sys/statfs.h>
18908 #endif
18911 main ()
18913 static struct statfs ac_aggr;
18914 if (ac_aggr.f_ffree)
18915 return 0;
18917 return 0;
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (ac_try="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18925 esac
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 ac_cv_member_struct_statfs_f_ffree=yes
18938 else
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.$ac_ext >&5
18942 cat >conftest.$ac_ext <<_ACEOF
18943 /* confdefs.h. */
18944 _ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 #include <sys/types.h>
18949 #ifdef HAVE_SYS_PARAM_H
18950 # include <sys/param.h>
18951 #endif
18952 #ifdef HAVE_SYS_MOUNT_H
18953 # include <sys/mount.h>
18954 #endif
18955 #ifdef HAVE_SYS_VFS_H
18956 # include <sys/vfs.h>
18957 #endif
18958 #ifdef HAVE_SYS_STATFS_H
18959 # include <sys/statfs.h>
18960 #endif
18963 main ()
18965 static struct statfs ac_aggr;
18966 if (sizeof ac_aggr.f_ffree)
18967 return 0;
18969 return 0;
18971 _ACEOF
18972 rm -f conftest.$ac_objext
18973 if { (ac_try="$ac_compile"
18974 case "(($ac_try" in
18975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18977 esac
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_compile") 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } && {
18986 test -z "$ac_c_werror_flag" ||
18987 test ! -s conftest.err
18988 } && test -s conftest.$ac_objext; then
18989 ac_cv_member_struct_statfs_f_ffree=yes
18990 else
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18994 ac_cv_member_struct_statfs_f_ffree=no
18997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19003 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19004 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_STATFS_F_FFREE 1
19008 _ACEOF
19012 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19013 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19014 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 else
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <sys/types.h>
19024 #ifdef HAVE_SYS_PARAM_H
19025 # include <sys/param.h>
19026 #endif
19027 #ifdef HAVE_SYS_MOUNT_H
19028 # include <sys/mount.h>
19029 #endif
19030 #ifdef HAVE_SYS_VFS_H
19031 # include <sys/vfs.h>
19032 #endif
19033 #ifdef HAVE_SYS_STATFS_H
19034 # include <sys/statfs.h>
19035 #endif
19038 main ()
19040 static struct statfs ac_aggr;
19041 if (ac_aggr.f_favail)
19042 return 0;
19044 return 0;
19046 _ACEOF
19047 rm -f conftest.$ac_objext
19048 if { (ac_try="$ac_compile"
19049 case "(($ac_try" in
19050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19052 esac
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_compile") 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } && {
19061 test -z "$ac_c_werror_flag" ||
19062 test ! -s conftest.err
19063 } && test -s conftest.$ac_objext; then
19064 ac_cv_member_struct_statfs_f_favail=yes
19065 else
19066 echo "$as_me: failed program was:" >&5
19067 sed 's/^/| /' conftest.$ac_ext >&5
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 #include <sys/types.h>
19076 #ifdef HAVE_SYS_PARAM_H
19077 # include <sys/param.h>
19078 #endif
19079 #ifdef HAVE_SYS_MOUNT_H
19080 # include <sys/mount.h>
19081 #endif
19082 #ifdef HAVE_SYS_VFS_H
19083 # include <sys/vfs.h>
19084 #endif
19085 #ifdef HAVE_SYS_STATFS_H
19086 # include <sys/statfs.h>
19087 #endif
19090 main ()
19092 static struct statfs ac_aggr;
19093 if (sizeof ac_aggr.f_favail)
19094 return 0;
19096 return 0;
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19116 ac_cv_member_struct_statfs_f_favail=yes
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19121 ac_cv_member_struct_statfs_f_favail=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19130 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19131 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19133 cat >>confdefs.h <<_ACEOF
19134 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19135 _ACEOF
19139 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19140 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19141 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 else
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 #include <sys/types.h>
19151 #ifdef HAVE_SYS_PARAM_H
19152 # include <sys/param.h>
19153 #endif
19154 #ifdef HAVE_SYS_MOUNT_H
19155 # include <sys/mount.h>
19156 #endif
19157 #ifdef HAVE_SYS_VFS_H
19158 # include <sys/vfs.h>
19159 #endif
19160 #ifdef HAVE_SYS_STATFS_H
19161 # include <sys/statfs.h>
19162 #endif
19165 main ()
19167 static struct statfs ac_aggr;
19168 if (ac_aggr.f_namelen)
19169 return 0;
19171 return 0;
19173 _ACEOF
19174 rm -f conftest.$ac_objext
19175 if { (ac_try="$ac_compile"
19176 case "(($ac_try" in
19177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19178 *) ac_try_echo=$ac_try;;
19179 esac
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_compile") 2>conftest.er1
19182 ac_status=$?
19183 grep -v '^ *+' conftest.er1 >conftest.err
19184 rm -f conftest.er1
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } && {
19188 test -z "$ac_c_werror_flag" ||
19189 test ! -s conftest.err
19190 } && test -s conftest.$ac_objext; then
19191 ac_cv_member_struct_statfs_f_namelen=yes
19192 else
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 #include <sys/types.h>
19203 #ifdef HAVE_SYS_PARAM_H
19204 # include <sys/param.h>
19205 #endif
19206 #ifdef HAVE_SYS_MOUNT_H
19207 # include <sys/mount.h>
19208 #endif
19209 #ifdef HAVE_SYS_VFS_H
19210 # include <sys/vfs.h>
19211 #endif
19212 #ifdef HAVE_SYS_STATFS_H
19213 # include <sys/statfs.h>
19214 #endif
19217 main ()
19219 static struct statfs ac_aggr;
19220 if (sizeof ac_aggr.f_namelen)
19221 return 0;
19223 return 0;
19225 _ACEOF
19226 rm -f conftest.$ac_objext
19227 if { (ac_try="$ac_compile"
19228 case "(($ac_try" in
19229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19230 *) ac_try_echo=$ac_try;;
19231 esac
19232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19233 (eval "$ac_compile") 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } && {
19240 test -z "$ac_c_werror_flag" ||
19241 test ! -s conftest.err
19242 } && test -s conftest.$ac_objext; then
19243 ac_cv_member_struct_statfs_f_namelen=yes
19244 else
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19248 ac_cv_member_struct_statfs_f_namelen=no
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19257 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19258 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19262 _ACEOF
19268 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19269 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19270 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19271 echo $ECHO_N "(cached) $ECHO_C" >&6
19272 else
19273 cat >conftest.$ac_ext <<_ACEOF
19274 /* confdefs.h. */
19275 _ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 #ifdef HAVE_SYS_STATVFS_H
19280 #include <sys/statvfs.h>
19281 #endif
19284 main ()
19286 static struct statvfs ac_aggr;
19287 if (ac_aggr.f_blocks)
19288 return 0;
19290 return 0;
19292 _ACEOF
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298 esac
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 ac_cv_member_struct_statvfs_f_blocks=yes
19311 else
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #ifdef HAVE_SYS_STATVFS_H
19322 #include <sys/statvfs.h>
19323 #endif
19326 main ()
19328 static struct statvfs ac_aggr;
19329 if (sizeof ac_aggr.f_blocks)
19330 return 0;
19332 return 0;
19334 _ACEOF
19335 rm -f conftest.$ac_objext
19336 if { (ac_try="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_compile") 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.$ac_objext; then
19352 ac_cv_member_struct_statvfs_f_blocks=yes
19353 else
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19357 ac_cv_member_struct_statvfs_f_blocks=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19366 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19367 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19371 _ACEOF
19377 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19378 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19379 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <sys/types.h>
19389 #ifdef HAVE_SYS_SOCKET_H
19390 # include <sys/socket.h>
19391 #endif
19392 #ifdef HAVE_SYS_UN_H
19393 # include <sys/un.h>
19394 #endif
19397 main ()
19399 static struct msghdr ac_aggr;
19400 if (ac_aggr.msg_accrights)
19401 return 0;
19403 return 0;
19405 _ACEOF
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19411 esac
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19414 ac_status=$?
19415 grep -v '^ *+' conftest.er1 >conftest.err
19416 rm -f conftest.er1
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 ac_cv_member_struct_msghdr_msg_accrights=yes
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #include <sys/types.h>
19435 #ifdef HAVE_SYS_SOCKET_H
19436 # include <sys/socket.h>
19437 #endif
19438 #ifdef HAVE_SYS_UN_H
19439 # include <sys/un.h>
19440 #endif
19443 main ()
19445 static struct msghdr ac_aggr;
19446 if (sizeof ac_aggr.msg_accrights)
19447 return 0;
19449 return 0;
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19457 esac
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.$ac_objext; then
19469 ac_cv_member_struct_msghdr_msg_accrights=yes
19470 else
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19474 ac_cv_member_struct_msghdr_msg_accrights=no
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19483 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19484 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19488 _ACEOF
19492 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19493 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19494 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 cat >conftest.$ac_ext <<_ACEOF
19498 /* confdefs.h. */
19499 _ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19503 #include <sys/types.h>
19504 #ifdef HAVE_SYS_SOCKET_H
19505 # include <sys/socket.h>
19506 #endif
19507 #ifdef HAVE_SYS_UN_H
19508 # include <sys/un.h>
19509 #endif
19512 main ()
19514 static struct sockaddr ac_aggr;
19515 if (ac_aggr.sa_len)
19516 return 0;
19518 return 0;
19520 _ACEOF
19521 rm -f conftest.$ac_objext
19522 if { (ac_try="$ac_compile"
19523 case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19526 esac
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_compile") 2>conftest.er1
19529 ac_status=$?
19530 grep -v '^ *+' conftest.er1 >conftest.err
19531 rm -f conftest.er1
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_c_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest.$ac_objext; then
19538 ac_cv_member_struct_sockaddr_sa_len=yes
19539 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <sys/types.h>
19550 #ifdef HAVE_SYS_SOCKET_H
19551 # include <sys/socket.h>
19552 #endif
19553 #ifdef HAVE_SYS_UN_H
19554 # include <sys/un.h>
19555 #endif
19558 main ()
19560 static struct sockaddr ac_aggr;
19561 if (sizeof ac_aggr.sa_len)
19562 return 0;
19564 return 0;
19566 _ACEOF
19567 rm -f conftest.$ac_objext
19568 if { (ac_try="$ac_compile"
19569 case "(($ac_try" in
19570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19571 *) ac_try_echo=$ac_try;;
19572 esac
19573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19574 (eval "$ac_compile") 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && {
19581 test -z "$ac_c_werror_flag" ||
19582 test ! -s conftest.err
19583 } && test -s conftest.$ac_objext; then
19584 ac_cv_member_struct_sockaddr_sa_len=yes
19585 else
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19589 ac_cv_member_struct_sockaddr_sa_len=no
19592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19598 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19599 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19601 cat >>confdefs.h <<_ACEOF
19602 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19603 _ACEOF
19607 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19608 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19609 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 cat >conftest.$ac_ext <<_ACEOF
19613 /* confdefs.h. */
19614 _ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 #include <sys/types.h>
19619 #ifdef HAVE_SYS_SOCKET_H
19620 # include <sys/socket.h>
19621 #endif
19622 #ifdef HAVE_SYS_UN_H
19623 # include <sys/un.h>
19624 #endif
19627 main ()
19629 static struct sockaddr_un ac_aggr;
19630 if (ac_aggr.sun_len)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_sockaddr_un_sun_len=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SYS_SOCKET_H
19666 # include <sys/socket.h>
19667 #endif
19668 #ifdef HAVE_SYS_UN_H
19669 # include <sys/un.h>
19670 #endif
19673 main ()
19675 static struct sockaddr_un ac_aggr;
19676 if (sizeof ac_aggr.sun_len)
19677 return 0;
19679 return 0;
19681 _ACEOF
19682 rm -f conftest.$ac_objext
19683 if { (ac_try="$ac_compile"
19684 case "(($ac_try" in
19685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19687 esac
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_compile") 2>conftest.er1
19690 ac_status=$?
19691 grep -v '^ *+' conftest.er1 >conftest.err
19692 rm -f conftest.er1
19693 cat conftest.err >&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest.$ac_objext; then
19699 ac_cv_member_struct_sockaddr_un_sun_len=yes
19700 else
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.$ac_ext >&5
19704 ac_cv_member_struct_sockaddr_un_sun_len=no
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19713 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19714 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19718 _ACEOF
19724 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19725 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19726 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 cat >conftest.$ac_ext <<_ACEOF
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 #include <sys/types.h>
19736 #ifdef HAVE_SCSI_SG_H
19737 #include <scsi/sg.h>
19738 #endif
19741 main ()
19743 static scsireq_t ac_aggr;
19744 if (ac_aggr.cmd)
19745 return 0;
19747 return 0;
19749 _ACEOF
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_scsireq_t_cmd=yes
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <sys/types.h>
19779 #ifdef HAVE_SCSI_SG_H
19780 #include <scsi/sg.h>
19781 #endif
19784 main ()
19786 static scsireq_t ac_aggr;
19787 if (sizeof ac_aggr.cmd)
19788 return 0;
19790 return 0;
19792 _ACEOF
19793 rm -f conftest.$ac_objext
19794 if { (ac_try="$ac_compile"
19795 case "(($ac_try" in
19796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19798 esac
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_compile") 2>conftest.er1
19801 ac_status=$?
19802 grep -v '^ *+' conftest.er1 >conftest.err
19803 rm -f conftest.er1
19804 cat conftest.err >&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); } && {
19807 test -z "$ac_c_werror_flag" ||
19808 test ! -s conftest.err
19809 } && test -s conftest.$ac_objext; then
19810 ac_cv_member_scsireq_t_cmd=yes
19811 else
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19815 ac_cv_member_scsireq_t_cmd=no
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19824 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19825 if test $ac_cv_member_scsireq_t_cmd = yes; then
19827 cat >>confdefs.h <<_ACEOF
19828 #define HAVE_SCSIREQ_T_CMD 1
19829 _ACEOF
19833 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19834 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19835 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 cat >conftest.$ac_ext <<_ACEOF
19839 /* confdefs.h. */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 #include <sys/types.h>
19845 #ifdef HAVE_SCSI_SG_H
19846 #include <scsi/sg.h>
19847 #endif
19850 main ()
19852 static sg_io_hdr_t ac_aggr;
19853 if (ac_aggr.interface_id)
19854 return 0;
19856 return 0;
19858 _ACEOF
19859 rm -f conftest.$ac_objext
19860 if { (ac_try="$ac_compile"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19864 esac
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_compile") 2>conftest.er1
19867 ac_status=$?
19868 grep -v '^ *+' conftest.er1 >conftest.err
19869 rm -f conftest.er1
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest.$ac_objext; then
19876 ac_cv_member_sg_io_hdr_t_interface_id=yes
19877 else
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 #include <sys/types.h>
19888 #ifdef HAVE_SCSI_SG_H
19889 #include <scsi/sg.h>
19890 #endif
19893 main ()
19895 static sg_io_hdr_t ac_aggr;
19896 if (sizeof ac_aggr.interface_id)
19897 return 0;
19899 return 0;
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19906 *) ac_try_echo=$ac_try;;
19907 esac
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19910 ac_status=$?
19911 grep -v '^ *+' conftest.er1 >conftest.err
19912 rm -f conftest.er1
19913 cat conftest.err >&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.$ac_objext; then
19919 ac_cv_member_sg_io_hdr_t_interface_id=yes
19920 else
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.$ac_ext >&5
19924 ac_cv_member_sg_io_hdr_t_interface_id=no
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19932 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19933 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19934 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19936 cat >>confdefs.h <<_ACEOF
19937 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19938 _ACEOF
19944 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19945 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19946 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h. */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 #include <signal.h>
19958 main ()
19960 static siginfo_t ac_aggr;
19961 if (ac_aggr.si_fd)
19962 return 0;
19964 return 0;
19966 _ACEOF
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19972 esac
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19975 ac_status=$?
19976 grep -v '^ *+' conftest.er1 >conftest.err
19977 rm -f conftest.er1
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_member_siginfo_t_si_fd=yes
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 #include <signal.h>
19998 main ()
20000 static siginfo_t ac_aggr;
20001 if (sizeof ac_aggr.si_fd)
20002 return 0;
20004 return 0;
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_siginfo_t_si_fd=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_siginfo_t_si_fd=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20038 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20039 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_SIGINFO_T_SI_FD 1
20043 _ACEOF
20049 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20050 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <sys/types.h>
20061 #ifdef HAVE_SYS_MTIO_H
20062 #include <sys/mtio.h>
20063 #endif
20066 main ()
20068 static struct mtget ac_aggr;
20069 if (ac_aggr.mt_blksiz)
20070 return 0;
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (ac_try="$ac_compile"
20077 case "(($ac_try" in
20078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20080 esac
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_compile") 2>conftest.er1
20083 ac_status=$?
20084 grep -v '^ *+' conftest.er1 >conftest.err
20085 rm -f conftest.er1
20086 cat conftest.err >&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } && {
20089 test -z "$ac_c_werror_flag" ||
20090 test ! -s conftest.err
20091 } && test -s conftest.$ac_objext; then
20092 ac_cv_member_struct_mtget_mt_blksiz=yes
20093 else
20094 echo "$as_me: failed program was:" >&5
20095 sed 's/^/| /' conftest.$ac_ext >&5
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 #include <sys/types.h>
20104 #ifdef HAVE_SYS_MTIO_H
20105 #include <sys/mtio.h>
20106 #endif
20109 main ()
20111 static struct mtget ac_aggr;
20112 if (sizeof ac_aggr.mt_blksiz)
20113 return 0;
20115 return 0;
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20122 *) ac_try_echo=$ac_try;;
20123 esac
20124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20126 ac_status=$?
20127 grep -v '^ *+' conftest.er1 >conftest.err
20128 rm -f conftest.er1
20129 cat conftest.err >&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_c_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.$ac_objext; then
20135 ac_cv_member_struct_mtget_mt_blksiz=yes
20136 else
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ac_cv_member_struct_mtget_mt_blksiz=no
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20149 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20150 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20152 cat >>confdefs.h <<_ACEOF
20153 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20154 _ACEOF
20158 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20159 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20160 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 #include <sys/types.h>
20170 #ifdef HAVE_SYS_MTIO_H
20171 #include <sys/mtio.h>
20172 #endif
20175 main ()
20177 static struct mtget ac_aggr;
20178 if (ac_aggr.mt_gstat)
20179 return 0;
20181 return 0;
20183 _ACEOF
20184 rm -f conftest.$ac_objext
20185 if { (ac_try="$ac_compile"
20186 case "(($ac_try" in
20187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20188 *) ac_try_echo=$ac_try;;
20189 esac
20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20191 (eval "$ac_compile") 2>conftest.er1
20192 ac_status=$?
20193 grep -v '^ *+' conftest.er1 >conftest.err
20194 rm -f conftest.er1
20195 cat conftest.err >&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } && {
20198 test -z "$ac_c_werror_flag" ||
20199 test ! -s conftest.err
20200 } && test -s conftest.$ac_objext; then
20201 ac_cv_member_struct_mtget_mt_gstat=yes
20202 else
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20206 cat >conftest.$ac_ext <<_ACEOF
20207 /* confdefs.h. */
20208 _ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20212 #include <sys/types.h>
20213 #ifdef HAVE_SYS_MTIO_H
20214 #include <sys/mtio.h>
20215 #endif
20218 main ()
20220 static struct mtget ac_aggr;
20221 if (sizeof ac_aggr.mt_gstat)
20222 return 0;
20224 return 0;
20226 _ACEOF
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20231 *) ac_try_echo=$ac_try;;
20232 esac
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20235 ac_status=$?
20236 grep -v '^ *+' conftest.er1 >conftest.err
20237 rm -f conftest.er1
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.$ac_objext; then
20244 ac_cv_member_struct_mtget_mt_gstat=yes
20245 else
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 ac_cv_member_struct_mtget_mt_gstat=no
20252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20257 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20258 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20259 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20261 cat >>confdefs.h <<_ACEOF
20262 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20263 _ACEOF
20267 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20268 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20269 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20272 cat >conftest.$ac_ext <<_ACEOF
20273 /* confdefs.h. */
20274 _ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278 #include <sys/types.h>
20279 #ifdef HAVE_SYS_MTIO_H
20280 #include <sys/mtio.h>
20281 #endif
20284 main ()
20286 static struct mtget ac_aggr;
20287 if (ac_aggr.mt_blkno)
20288 return 0;
20290 return 0;
20292 _ACEOF
20293 rm -f conftest.$ac_objext
20294 if { (ac_try="$ac_compile"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_compile") 2>conftest.er1
20301 ac_status=$?
20302 grep -v '^ *+' conftest.er1 >conftest.err
20303 rm -f conftest.er1
20304 cat conftest.err >&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); } && {
20307 test -z "$ac_c_werror_flag" ||
20308 test ! -s conftest.err
20309 } && test -s conftest.$ac_objext; then
20310 ac_cv_member_struct_mtget_mt_blkno=yes
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <sys/types.h>
20322 #ifdef HAVE_SYS_MTIO_H
20323 #include <sys/mtio.h>
20324 #endif
20327 main ()
20329 static struct mtget ac_aggr;
20330 if (sizeof ac_aggr.mt_blkno)
20331 return 0;
20333 return 0;
20335 _ACEOF
20336 rm -f conftest.$ac_objext
20337 if { (ac_try="$ac_compile"
20338 case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20341 esac
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_compile") 2>conftest.er1
20344 ac_status=$?
20345 grep -v '^ *+' conftest.er1 >conftest.err
20346 rm -f conftest.er1
20347 cat conftest.err >&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } && {
20350 test -z "$ac_c_werror_flag" ||
20351 test ! -s conftest.err
20352 } && test -s conftest.$ac_objext; then
20353 ac_cv_member_struct_mtget_mt_blkno=yes
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 ac_cv_member_struct_mtget_mt_blkno=no
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20366 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20367 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20368 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20370 cat >>confdefs.h <<_ACEOF
20371 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20372 _ACEOF
20378 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20379 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20380 if test "${ac_cv_member_struct_option_name+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 else
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 #ifdef HAVE_GETOPT_H
20390 #include <getopt.h>
20391 #endif
20394 main ()
20396 static struct option ac_aggr;
20397 if (ac_aggr.name)
20398 return 0;
20400 return 0;
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20411 ac_status=$?
20412 grep -v '^ *+' conftest.er1 >conftest.err
20413 rm -f conftest.er1
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 ac_cv_member_struct_option_name=yes
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 cat >conftest.$ac_ext <<_ACEOF
20426 /* confdefs.h. */
20427 _ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 #ifdef HAVE_GETOPT_H
20432 #include <getopt.h>
20433 #endif
20436 main ()
20438 static struct option ac_aggr;
20439 if (sizeof ac_aggr.name)
20440 return 0;
20442 return 0;
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (ac_try="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20450 esac
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.$ac_objext; then
20462 ac_cv_member_struct_option_name=yes
20463 else
20464 echo "$as_me: failed program was:" >&5
20465 sed 's/^/| /' conftest.$ac_ext >&5
20467 ac_cv_member_struct_option_name=no
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20475 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20476 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20477 if test $ac_cv_member_struct_option_name = yes; then
20479 cat >>confdefs.h <<_ACEOF
20480 #define HAVE_STRUCT_OPTION_NAME 1
20481 _ACEOF
20487 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20488 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20489 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 else
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20500 main ()
20502 static struct stat ac_aggr;
20503 if (ac_aggr.st_blocks)
20504 return 0;
20506 return 0;
20508 _ACEOF
20509 rm -f conftest.$ac_objext
20510 if { (ac_try="$ac_compile"
20511 case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20514 esac
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_compile") 2>conftest.er1
20517 ac_status=$?
20518 grep -v '^ *+' conftest.er1 >conftest.err
20519 rm -f conftest.er1
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && {
20523 test -z "$ac_c_werror_flag" ||
20524 test ! -s conftest.err
20525 } && test -s conftest.$ac_objext; then
20526 ac_cv_member_struct_stat_st_blocks=yes
20527 else
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20531 cat >conftest.$ac_ext <<_ACEOF
20532 /* confdefs.h. */
20533 _ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20539 main ()
20541 static struct stat ac_aggr;
20542 if (sizeof ac_aggr.st_blocks)
20543 return 0;
20545 return 0;
20547 _ACEOF
20548 rm -f conftest.$ac_objext
20549 if { (ac_try="$ac_compile"
20550 case "(($ac_try" in
20551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20552 *) ac_try_echo=$ac_try;;
20553 esac
20554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20555 (eval "$ac_compile") 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } && {
20562 test -z "$ac_c_werror_flag" ||
20563 test ! -s conftest.err
20564 } && test -s conftest.$ac_objext; then
20565 ac_cv_member_struct_stat_st_blocks=yes
20566 else
20567 echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.$ac_ext >&5
20570 ac_cv_member_struct_stat_st_blocks=no
20573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20579 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20580 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20582 cat >>confdefs.h <<_ACEOF
20583 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20584 _ACEOF
20590 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20591 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20592 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 else
20595 cat >conftest.$ac_ext <<_ACEOF
20596 /* confdefs.h. */
20597 _ACEOF
20598 cat confdefs.h >>conftest.$ac_ext
20599 cat >>conftest.$ac_ext <<_ACEOF
20600 /* end confdefs.h. */
20601 #ifdef HAVE_SYS_TYPES_H
20602 #include <sys/types.h>
20603 #endif
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20606 #endif
20609 main ()
20611 static struct sockaddr_in6 ac_aggr;
20612 if (ac_aggr.sin6_scope_id)
20613 return 0;
20615 return 0;
20617 _ACEOF
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20623 esac
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20636 else
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 cat >conftest.$ac_ext <<_ACEOF
20641 /* confdefs.h. */
20642 _ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #ifdef HAVE_SYS_TYPES_H
20647 #include <sys/types.h>
20648 #endif
20649 #ifdef HAVE_NETINET_IN_H
20650 #include <netinet/in.h>
20651 #endif
20654 main ()
20656 static struct sockaddr_in6 ac_aggr;
20657 if (sizeof ac_aggr.sin6_scope_id)
20658 return 0;
20660 return 0;
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest.$ac_objext; then
20680 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20681 else
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20685 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20694 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20695 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20699 _ACEOF
20705 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20706 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20707 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 else
20710 cat >conftest.$ac_ext <<_ACEOF
20711 /* confdefs.h. */
20712 _ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20716 #ifdef HAVE_SYS_TYPES_H
20717 #include <sys/types.h>
20718 #endif
20719 #ifdef HAVE_NETINET_IN_H
20720 # include <netinet/in.h>
20721 #endif
20722 #ifdef HAVE_ARPA_NAMESER_H
20723 # include <arpa/nameser.h>
20724 #endif
20727 main ()
20729 static ns_msg ac_aggr;
20730 if (ac_aggr._msg_ptr)
20731 return 0;
20733 return 0;
20735 _ACEOF
20736 rm -f conftest.$ac_objext
20737 if { (ac_try="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20741 esac
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20744 ac_status=$?
20745 grep -v '^ *+' conftest.er1 >conftest.err
20746 rm -f conftest.er1
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_ns_msg__msg_ptr=yes
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 #ifdef HAVE_SYS_TYPES_H
20765 #include <sys/types.h>
20766 #endif
20767 #ifdef HAVE_NETINET_IN_H
20768 # include <netinet/in.h>
20769 #endif
20770 #ifdef HAVE_ARPA_NAMESER_H
20771 # include <arpa/nameser.h>
20772 #endif
20775 main ()
20777 static ns_msg ac_aggr;
20778 if (sizeof ac_aggr._msg_ptr)
20779 return 0;
20781 return 0;
20783 _ACEOF
20784 rm -f conftest.$ac_objext
20785 if { (ac_try="$ac_compile"
20786 case "(($ac_try" in
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20789 esac
20790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_compile") 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } && {
20798 test -z "$ac_c_werror_flag" ||
20799 test ! -s conftest.err
20800 } && test -s conftest.$ac_objext; then
20801 ac_cv_member_ns_msg__msg_ptr=yes
20802 else
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20806 ac_cv_member_ns_msg__msg_ptr=no
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20815 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20816 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20818 cat >>confdefs.h <<_ACEOF
20819 #define HAVE_NS_MSG__MSG_PTR 1
20820 _ACEOF
20826 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20827 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20828 if test "${ac_cv_have_timezone+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 else
20831 cat >conftest.$ac_ext <<_ACEOF
20832 /* confdefs.h. */
20833 _ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 #include <time.h>
20839 main ()
20841 timezone = 1
20843 return 0;
20845 _ACEOF
20846 rm -f conftest.$ac_objext conftest$ac_exeext
20847 if { (ac_try="$ac_link"
20848 case "(($ac_try" in
20849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20851 esac
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_link") 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } && {
20860 test -z "$ac_c_werror_flag" ||
20861 test ! -s conftest.err
20862 } && test -s conftest$ac_exeext &&
20863 $as_test_x conftest$ac_exeext; then
20864 ac_cv_have_timezone="yes"
20865 else
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20869 ac_cv_have_timezone="no"
20872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20873 conftest$ac_exeext conftest.$ac_ext
20875 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20876 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20877 if test "$ac_cv_have_timezone" = "yes"
20878 then
20880 cat >>confdefs.h <<\_ACEOF
20881 #define HAVE_TIMEZONE 1
20882 _ACEOF
20885 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20886 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20887 if test "${ac_cv_have_daylight+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 else
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 #include <time.h>
20898 main ()
20900 daylight = 1
20902 return 0;
20904 _ACEOF
20905 rm -f conftest.$ac_objext conftest$ac_exeext
20906 if { (ac_try="$ac_link"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20910 esac
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_link") 2>conftest.er1
20913 ac_status=$?
20914 grep -v '^ *+' conftest.er1 >conftest.err
20915 rm -f conftest.er1
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest$ac_exeext &&
20922 $as_test_x conftest$ac_exeext; then
20923 ac_cv_have_daylight="yes"
20924 else
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.$ac_ext >&5
20928 ac_cv_have_daylight="no"
20931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20932 conftest$ac_exeext conftest.$ac_ext
20934 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20935 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20936 if test "$ac_cv_have_daylight" = "yes"
20937 then
20939 cat >>confdefs.h <<\_ACEOF
20940 #define HAVE_DAYLIGHT 1
20941 _ACEOF
20946 case $host_cpu in
20947 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20948 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20949 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 else
20952 cat >conftest.$ac_ext <<_ACEOF
20953 /* confdefs.h. */
20954 _ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #ifndef __i386__
20960 #endif
20961 _ACEOF
20962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20963 $EGREP "yes" >/dev/null 2>&1; then
20964 ac_cv_cpp_def___i386__=yes
20965 else
20966 ac_cv_cpp_def___i386__=no
20968 rm -f conftest*
20971 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20972 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20973 if test $ac_cv_cpp_def___i386__ = yes; then
20974 CFLAGS="$CFLAGS -D__i386__"
20975 LINTFLAGS="$LINTFLAGS -D__i386__"
20978 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20979 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20980 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 #ifndef __x86_64__
20991 #endif
20992 _ACEOF
20993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20994 $EGREP "yes" >/dev/null 2>&1; then
20995 ac_cv_cpp_def___x86_64__=yes
20996 else
20997 ac_cv_cpp_def___x86_64__=no
20999 rm -f conftest*
21002 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21003 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21004 if test $ac_cv_cpp_def___x86_64__ = yes; then
21005 CFLAGS="$CFLAGS -D__x86_64__"
21006 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21009 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21010 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21011 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014 cat >conftest.$ac_ext <<_ACEOF
21015 /* confdefs.h. */
21016 _ACEOF
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 #ifndef __ALPHA__
21022 #endif
21023 _ACEOF
21024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21025 $EGREP "yes" >/dev/null 2>&1; then
21026 ac_cv_cpp_def___ALPHA__=yes
21027 else
21028 ac_cv_cpp_def___ALPHA__=no
21030 rm -f conftest*
21033 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21034 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21035 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21036 CFLAGS="$CFLAGS -D__ALPHA__"
21037 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21040 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21041 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21042 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 else
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h. */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051 #ifndef __sparc__
21053 #endif
21054 _ACEOF
21055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21056 $EGREP "yes" >/dev/null 2>&1; then
21057 ac_cv_cpp_def___sparc__=yes
21058 else
21059 ac_cv_cpp_def___sparc__=no
21061 rm -f conftest*
21064 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21065 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21066 if test $ac_cv_cpp_def___sparc__ = yes; then
21067 CFLAGS="$CFLAGS -D__sparc__"
21068 LINTFLAGS="$LINTFLAGS -D__sparc__"
21071 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21072 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21073 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 else
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #ifndef __powerpc__
21084 #endif
21085 _ACEOF
21086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21087 $EGREP "yes" >/dev/null 2>&1; then
21088 ac_cv_cpp_def___powerpc__=yes
21089 else
21090 ac_cv_cpp_def___powerpc__=no
21092 rm -f conftest*
21095 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21096 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21097 if test $ac_cv_cpp_def___powerpc__ = yes; then
21098 CFLAGS="$CFLAGS -D__powerpc__"
21099 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21102 esac
21104 case $host_vendor in
21105 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21106 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21107 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21108 echo $ECHO_N "(cached) $ECHO_C" >&6
21109 else
21110 cat >conftest.$ac_ext <<_ACEOF
21111 /* confdefs.h. */
21112 _ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 #ifndef __sun__
21118 #endif
21119 _ACEOF
21120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21121 $EGREP "yes" >/dev/null 2>&1; then
21122 ac_cv_cpp_def___sun__=yes
21123 else
21124 ac_cv_cpp_def___sun__=no
21126 rm -f conftest*
21129 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21130 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21131 if test $ac_cv_cpp_def___sun__ = yes; then
21132 CFLAGS="$CFLAGS -D__sun__"
21133 LINTFLAGS="$LINTFLAGS -D__sun__"
21136 esac
21139 DEPENDENCIES="### Dependencies:
21141 .INIT: Makefile
21142 .BEGIN: Makefile
21143 Makefile: dummy
21144 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21146 \$(OBJS): \$(IDL_GEN_HEADERS)
21147 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21148 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21149 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21155 ac_config_commands="$ac_config_commands include/stamp-h"
21158 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21160 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21162 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21164 ac_config_commands="$ac_config_commands dlls/user32/resources"
21166 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21168 ac_config_commands="$ac_config_commands include/wine"
21171 MAKE_RULES=Make.rules
21174 MAKE_DLL_RULES=dlls/Makedll.rules
21177 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21180 MAKE_TEST_RULES=dlls/Maketest.rules
21183 MAKE_PROG_RULES=programs/Makeprog.rules
21186 ac_config_files="$ac_config_files Make.rules"
21188 ac_config_files="$ac_config_files dlls/Makedll.rules"
21190 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21192 ac_config_files="$ac_config_files dlls/Maketest.rules"
21194 ac_config_files="$ac_config_files programs/Makeprog.rules"
21196 ac_config_files="$ac_config_files Makefile"
21198 ac_config_files="$ac_config_files dlls/Makefile"
21200 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21202 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21204 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21206 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21208 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21210 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21212 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21214 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21216 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21218 ac_config_files="$ac_config_files dlls/atl/Makefile"
21220 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21222 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21224 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21226 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21228 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21230 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21232 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21234 ac_config_files="$ac_config_files dlls/cards/Makefile"
21236 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21238 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21240 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21242 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21244 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21246 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21248 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21250 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21252 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21254 ac_config_files="$ac_config_files dlls/credui/Makefile"
21256 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21258 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21260 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21262 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21264 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21266 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21268 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21270 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21272 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21274 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21276 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21278 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21280 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21282 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21284 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21286 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21288 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21290 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21292 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21294 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21296 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21298 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21300 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21302 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21304 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21306 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21308 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21310 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21312 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21314 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21316 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21318 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21320 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21322 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21324 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21326 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21328 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21330 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21332 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21334 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21336 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21338 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21340 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21342 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21344 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21346 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21348 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21350 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21352 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21354 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21356 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21358 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21360 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21362 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21364 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21366 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21368 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21370 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21372 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21374 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21376 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21378 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21380 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21382 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21384 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21386 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21388 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21390 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21392 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21394 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21396 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21398 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21400 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21402 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21404 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21406 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21408 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21410 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21412 ac_config_files="$ac_config_files dlls/hal/Makefile"
21414 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21416 ac_config_files="$ac_config_files dlls/hid/Makefile"
21418 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21420 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21422 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21424 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21426 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21428 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21430 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21432 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21434 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21436 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21438 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21440 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21442 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21444 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21446 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21448 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21450 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21452 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21454 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21456 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21458 ac_config_files="$ac_config_files dlls/itss/Makefile"
21460 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21462 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21464 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21466 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21468 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21470 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21472 ac_config_files="$ac_config_files dlls/localui/Makefile"
21474 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21476 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21478 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21480 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21482 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21484 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21486 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21488 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21490 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21492 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21494 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21496 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21498 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21500 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21502 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21504 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21506 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21508 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21510 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21512 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21514 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21516 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21518 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21520 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21522 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21524 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21526 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21528 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21530 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21532 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21534 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21536 ac_config_files="$ac_config_files dlls/msi/Makefile"
21538 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21542 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21544 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21546 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21548 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21550 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21552 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21554 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21556 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21558 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21560 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21562 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21564 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21566 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21568 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21570 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21572 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21574 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21576 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21578 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21580 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21582 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21586 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21588 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21590 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21592 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21594 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21596 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21598 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21602 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21604 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21606 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21608 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21610 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21612 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21614 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21616 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21618 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21620 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21622 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21624 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21626 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21628 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21630 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21632 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21634 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21636 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21638 ac_config_files="$ac_config_files dlls/printui/Makefile"
21640 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21642 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21644 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21648 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21650 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21652 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21654 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21656 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21660 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21662 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21664 ac_config_files="$ac_config_files dlls/query/Makefile"
21666 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21668 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21670 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21672 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21674 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21676 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21680 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21684 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21686 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21688 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21690 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21692 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21694 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21696 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21698 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21700 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21702 ac_config_files="$ac_config_files dlls/security/Makefile"
21704 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21706 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21708 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21712 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21714 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21716 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21718 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21720 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21722 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21726 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21728 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21730 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21732 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21734 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21736 ac_config_files="$ac_config_files dlls/slc/Makefile"
21738 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21740 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21744 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21746 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21748 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21750 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21752 ac_config_files="$ac_config_files dlls/sti/Makefile"
21754 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21756 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21758 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21760 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21762 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21764 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21766 ac_config_files="$ac_config_files dlls/url/Makefile"
21768 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21770 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/user32/Makefile"
21774 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21776 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21778 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21780 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21782 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21784 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21786 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21790 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21792 ac_config_files="$ac_config_files dlls/version/Makefile"
21794 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21798 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21800 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21802 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21804 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21806 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21808 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21810 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21812 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21814 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21816 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21818 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21820 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21822 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21824 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21826 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21828 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21830 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21832 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21834 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21836 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21838 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21840 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21842 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21844 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21848 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21852 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21854 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21856 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21858 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21860 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21862 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21866 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21868 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21870 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21872 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21874 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21876 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21878 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21880 ac_config_files="$ac_config_files documentation/Makefile"
21882 ac_config_files="$ac_config_files fonts/Makefile"
21884 ac_config_files="$ac_config_files include/Makefile"
21886 ac_config_files="$ac_config_files libs/Makefile"
21888 ac_config_files="$ac_config_files libs/port/Makefile"
21890 ac_config_files="$ac_config_files libs/wine/Makefile"
21892 ac_config_files="$ac_config_files libs/wpp/Makefile"
21894 ac_config_files="$ac_config_files loader/Makefile"
21896 ac_config_files="$ac_config_files programs/Makefile"
21898 ac_config_files="$ac_config_files programs/clock/Makefile"
21900 ac_config_files="$ac_config_files programs/cmd/Makefile"
21902 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21904 ac_config_files="$ac_config_files programs/control/Makefile"
21906 ac_config_files="$ac_config_files programs/eject/Makefile"
21908 ac_config_files="$ac_config_files programs/expand/Makefile"
21910 ac_config_files="$ac_config_files programs/explorer/Makefile"
21912 ac_config_files="$ac_config_files programs/hh/Makefile"
21914 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21916 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21918 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21920 ac_config_files="$ac_config_files programs/net/Makefile"
21922 ac_config_files="$ac_config_files programs/notepad/Makefile"
21924 ac_config_files="$ac_config_files programs/oleview/Makefile"
21926 ac_config_files="$ac_config_files programs/progman/Makefile"
21928 ac_config_files="$ac_config_files programs/regedit/Makefile"
21930 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21932 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21934 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21936 ac_config_files="$ac_config_files programs/secedit/Makefile"
21938 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21940 ac_config_files="$ac_config_files programs/start/Makefile"
21942 ac_config_files="$ac_config_files programs/svchost/Makefile"
21944 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21946 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21948 ac_config_files="$ac_config_files programs/view/Makefile"
21950 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21952 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21954 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21956 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21958 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21960 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21962 ac_config_files="$ac_config_files programs/winefile/Makefile"
21964 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21966 ac_config_files="$ac_config_files programs/winemine/Makefile"
21968 ac_config_files="$ac_config_files programs/winepath/Makefile"
21970 ac_config_files="$ac_config_files programs/winetest/Makefile"
21972 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21974 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21976 ac_config_files="$ac_config_files programs/winver/Makefile"
21978 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21980 ac_config_files="$ac_config_files programs/write/Makefile"
21982 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21984 ac_config_files="$ac_config_files server/Makefile"
21986 ac_config_files="$ac_config_files tools/Makefile"
21988 ac_config_files="$ac_config_files tools/widl/Makefile"
21990 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21992 ac_config_files="$ac_config_files tools/winedump/Makefile"
21994 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21996 ac_config_files="$ac_config_files tools/wmc/Makefile"
21998 ac_config_files="$ac_config_files tools/wrc/Makefile"
22001 cat >confcache <<\_ACEOF
22002 # This file is a shell script that caches the results of configure
22003 # tests run on this system so they can be shared between configure
22004 # scripts and configure runs, see configure's option --config-cache.
22005 # It is not useful on other systems. If it contains results you don't
22006 # want to keep, you may remove or edit it.
22008 # config.status only pays attention to the cache file if you give it
22009 # the --recheck option to rerun configure.
22011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22013 # following values.
22015 _ACEOF
22017 # The following way of writing the cache mishandles newlines in values,
22018 # but we know of no workaround that is simple, portable, and efficient.
22019 # So, we kill variables containing newlines.
22020 # Ultrix sh set writes to stderr and can't be redirected directly,
22021 # and sets the high bit in the cache file unless we assign to the vars.
22023 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22024 eval ac_val=\$$ac_var
22025 case $ac_val in #(
22026 *${as_nl}*)
22027 case $ac_var in #(
22028 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22029 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22030 esac
22031 case $ac_var in #(
22032 _ | IFS | as_nl) ;; #(
22033 *) $as_unset $ac_var ;;
22034 esac ;;
22035 esac
22036 done
22038 (set) 2>&1 |
22039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22040 *${as_nl}ac_space=\ *)
22041 # `set' does not quote correctly, so add quotes (double-quote
22042 # substitution turns \\\\ into \\, and sed turns \\ into \).
22043 sed -n \
22044 "s/'/'\\\\''/g;
22045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22046 ;; #(
22048 # `set' quotes correctly as required by POSIX, so do not add quotes.
22049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22051 esac |
22052 sort
22054 sed '
22055 /^ac_cv_env_/b end
22056 t clear
22057 :clear
22058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22059 t end
22060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22061 :end' >>confcache
22062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22063 if test -w "$cache_file"; then
22064 test "x$cache_file" != "x/dev/null" &&
22065 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22066 echo "$as_me: updating cache $cache_file" >&6;}
22067 cat confcache >$cache_file
22068 else
22069 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22070 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22073 rm -f confcache
22075 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22076 # Let make expand exec_prefix.
22077 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22079 DEFS=-DHAVE_CONFIG_H
22081 ac_libobjs=
22082 ac_ltlibobjs=
22083 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22084 # 1. Remove the extension, and $U if already installed.
22085 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22086 ac_i=`echo "$ac_i" | sed "$ac_script"`
22087 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22088 # will be set to the directory where LIBOBJS objects are built.
22089 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22090 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22091 done
22092 LIBOBJS=$ac_libobjs
22094 LTLIBOBJS=$ac_ltlibobjs
22098 : ${CONFIG_STATUS=./config.status}
22099 ac_clean_files_save=$ac_clean_files
22100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22103 cat >$CONFIG_STATUS <<_ACEOF
22104 #! $SHELL
22105 # Generated by $as_me.
22106 # Run this file to recreate the current configuration.
22107 # Compiler output produced by configure, useful for debugging
22108 # configure, is in config.log if it exists.
22110 debug=false
22111 ac_cs_recheck=false
22112 ac_cs_silent=false
22113 SHELL=\${CONFIG_SHELL-$SHELL}
22114 _ACEOF
22116 cat >>$CONFIG_STATUS <<\_ACEOF
22117 ## --------------------- ##
22118 ## M4sh Initialization. ##
22119 ## --------------------- ##
22121 # Be more Bourne compatible
22122 DUALCASE=1; export DUALCASE # for MKS sh
22123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22124 emulate sh
22125 NULLCMD=:
22126 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22127 # is contrary to our usage. Disable this feature.
22128 alias -g '${1+"$@"}'='"$@"'
22129 setopt NO_GLOB_SUBST
22130 else
22131 case `(set -o) 2>/dev/null` in
22132 *posix*) set -o posix ;;
22133 esac
22140 # PATH needs CR
22141 # Avoid depending upon Character Ranges.
22142 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22143 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22144 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22145 as_cr_digits='0123456789'
22146 as_cr_alnum=$as_cr_Letters$as_cr_digits
22148 # The user is always right.
22149 if test "${PATH_SEPARATOR+set}" != set; then
22150 echo "#! /bin/sh" >conf$$.sh
22151 echo "exit 0" >>conf$$.sh
22152 chmod +x conf$$.sh
22153 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22154 PATH_SEPARATOR=';'
22155 else
22156 PATH_SEPARATOR=:
22158 rm -f conf$$.sh
22161 # Support unset when possible.
22162 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22163 as_unset=unset
22164 else
22165 as_unset=false
22169 # IFS
22170 # We need space, tab and new line, in precisely that order. Quoting is
22171 # there to prevent editors from complaining about space-tab.
22172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22173 # splitting by setting IFS to empty value.)
22174 as_nl='
22176 IFS=" "" $as_nl"
22178 # Find who we are. Look in the path if we contain no directory separator.
22179 case $0 in
22180 *[\\/]* ) as_myself=$0 ;;
22181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22182 for as_dir in $PATH
22184 IFS=$as_save_IFS
22185 test -z "$as_dir" && as_dir=.
22186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22187 done
22188 IFS=$as_save_IFS
22191 esac
22192 # We did not find ourselves, most probably we were run as `sh COMMAND'
22193 # in which case we are not to be found in the path.
22194 if test "x$as_myself" = x; then
22195 as_myself=$0
22197 if test ! -f "$as_myself"; then
22198 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22199 { (exit 1); exit 1; }
22202 # Work around bugs in pre-3.0 UWIN ksh.
22203 for as_var in ENV MAIL MAILPATH
22204 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22205 done
22206 PS1='$ '
22207 PS2='> '
22208 PS4='+ '
22210 # NLS nuisances.
22211 for as_var in \
22212 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22213 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22214 LC_TELEPHONE LC_TIME
22216 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22217 eval $as_var=C; export $as_var
22218 else
22219 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22221 done
22223 # Required to use basename.
22224 if expr a : '\(a\)' >/dev/null 2>&1 &&
22225 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22226 as_expr=expr
22227 else
22228 as_expr=false
22231 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22232 as_basename=basename
22233 else
22234 as_basename=false
22238 # Name of the executable.
22239 as_me=`$as_basename -- "$0" ||
22240 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22241 X"$0" : 'X\(//\)$' \| \
22242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22243 echo X/"$0" |
22244 sed '/^.*\/\([^/][^/]*\)\/*$/{
22245 s//\1/
22248 /^X\/\(\/\/\)$/{
22249 s//\1/
22252 /^X\/\(\/\).*/{
22253 s//\1/
22256 s/.*/./; q'`
22258 # CDPATH.
22259 $as_unset CDPATH
22263 as_lineno_1=$LINENO
22264 as_lineno_2=$LINENO
22265 test "x$as_lineno_1" != "x$as_lineno_2" &&
22266 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22268 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22269 # uniformly replaced by the line number. The first 'sed' inserts a
22270 # line-number line after each line using $LINENO; the second 'sed'
22271 # does the real work. The second script uses 'N' to pair each
22272 # line-number line with the line containing $LINENO, and appends
22273 # trailing '-' during substitution so that $LINENO is not a special
22274 # case at line end.
22275 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22276 # scripts with optimization help from Paolo Bonzini. Blame Lee
22277 # E. McMahon (1931-1989) for sed's syntax. :-)
22278 sed -n '
22280 /[$]LINENO/=
22281 ' <$as_myself |
22282 sed '
22283 s/[$]LINENO.*/&-/
22284 t lineno
22286 :lineno
22288 :loop
22289 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22290 t loop
22291 s/-\n.*//
22292 ' >$as_me.lineno &&
22293 chmod +x "$as_me.lineno" ||
22294 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22295 { (exit 1); exit 1; }; }
22297 # Don't try to exec as it changes $[0], causing all sort of problems
22298 # (the dirname of $[0] is not the place where we might find the
22299 # original and so on. Autoconf is especially sensitive to this).
22300 . "./$as_me.lineno"
22301 # Exit status is that of the last command.
22302 exit
22306 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22307 as_dirname=dirname
22308 else
22309 as_dirname=false
22312 ECHO_C= ECHO_N= ECHO_T=
22313 case `echo -n x` in
22314 -n*)
22315 case `echo 'x\c'` in
22316 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22317 *) ECHO_C='\c';;
22318 esac;;
22320 ECHO_N='-n';;
22321 esac
22323 if expr a : '\(a\)' >/dev/null 2>&1 &&
22324 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22325 as_expr=expr
22326 else
22327 as_expr=false
22330 rm -f conf$$ conf$$.exe conf$$.file
22331 if test -d conf$$.dir; then
22332 rm -f conf$$.dir/conf$$.file
22333 else
22334 rm -f conf$$.dir
22335 mkdir conf$$.dir
22337 echo >conf$$.file
22338 if ln -s conf$$.file conf$$ 2>/dev/null; then
22339 as_ln_s='ln -s'
22340 # ... but there are two gotchas:
22341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22343 # In both cases, we have to default to `cp -p'.
22344 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22345 as_ln_s='cp -p'
22346 elif ln conf$$.file conf$$ 2>/dev/null; then
22347 as_ln_s=ln
22348 else
22349 as_ln_s='cp -p'
22351 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22352 rmdir conf$$.dir 2>/dev/null
22354 if mkdir -p . 2>/dev/null; then
22355 as_mkdir_p=:
22356 else
22357 test -d ./-p && rmdir ./-p
22358 as_mkdir_p=false
22361 if test -x / >/dev/null 2>&1; then
22362 as_test_x='test -x'
22363 else
22364 if ls -dL / >/dev/null 2>&1; then
22365 as_ls_L_option=L
22366 else
22367 as_ls_L_option=
22369 as_test_x='
22370 eval sh -c '\''
22371 if test -d "$1"; then
22372 test -d "$1/.";
22373 else
22374 case $1 in
22375 -*)set "./$1";;
22376 esac;
22377 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22378 ???[sx]*):;;*)false;;esac;fi
22379 '\'' sh
22382 as_executable_p=$as_test_x
22384 # Sed expression to map a string onto a valid CPP name.
22385 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22387 # Sed expression to map a string onto a valid variable name.
22388 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22391 exec 6>&1
22393 # Save the log message, to keep $[0] and so on meaningful, and to
22394 # report actual input values of CONFIG_FILES etc. instead of their
22395 # values after options handling.
22396 ac_log="
22397 This file was extended by Wine $as_me 0.9.57, which was
22398 generated by GNU Autoconf 2.61. Invocation command line was
22400 CONFIG_FILES = $CONFIG_FILES
22401 CONFIG_HEADERS = $CONFIG_HEADERS
22402 CONFIG_LINKS = $CONFIG_LINKS
22403 CONFIG_COMMANDS = $CONFIG_COMMANDS
22404 $ $0 $@
22406 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22409 _ACEOF
22411 cat >>$CONFIG_STATUS <<_ACEOF
22412 # Files that config.status was made for.
22413 config_files="$ac_config_files"
22414 config_headers="$ac_config_headers"
22415 config_commands="$ac_config_commands"
22417 _ACEOF
22419 cat >>$CONFIG_STATUS <<\_ACEOF
22420 ac_cs_usage="\
22421 \`$as_me' instantiates files from templates according to the
22422 current configuration.
22424 Usage: $0 [OPTIONS] [FILE]...
22426 -h, --help print this help, then exit
22427 -V, --version print version number and configuration settings, then exit
22428 -q, --quiet do not print progress messages
22429 -d, --debug don't remove temporary files
22430 --recheck update $as_me by reconfiguring in the same conditions
22431 --file=FILE[:TEMPLATE]
22432 instantiate the configuration file FILE
22433 --header=FILE[:TEMPLATE]
22434 instantiate the configuration header FILE
22436 Configuration files:
22437 $config_files
22439 Configuration headers:
22440 $config_headers
22442 Configuration commands:
22443 $config_commands
22445 Report bugs to <bug-autoconf@gnu.org>."
22447 _ACEOF
22448 cat >>$CONFIG_STATUS <<_ACEOF
22449 ac_cs_version="\\
22450 Wine config.status 0.9.57
22451 configured by $0, generated by GNU Autoconf 2.61,
22452 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22454 Copyright (C) 2006 Free Software Foundation, Inc.
22455 This config.status script is free software; the Free Software Foundation
22456 gives unlimited permission to copy, distribute and modify it."
22458 ac_pwd='$ac_pwd'
22459 srcdir='$srcdir'
22460 INSTALL='$INSTALL'
22461 _ACEOF
22463 cat >>$CONFIG_STATUS <<\_ACEOF
22464 # If no file are specified by the user, then we need to provide default
22465 # value. By we need to know if files were specified by the user.
22466 ac_need_defaults=:
22467 while test $# != 0
22469 case $1 in
22470 --*=*)
22471 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22472 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22473 ac_shift=:
22476 ac_option=$1
22477 ac_optarg=$2
22478 ac_shift=shift
22480 esac
22482 case $ac_option in
22483 # Handling of the options.
22484 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22485 ac_cs_recheck=: ;;
22486 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22487 echo "$ac_cs_version"; exit ;;
22488 --debug | --debu | --deb | --de | --d | -d )
22489 debug=: ;;
22490 --file | --fil | --fi | --f )
22491 $ac_shift
22492 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22493 ac_need_defaults=false;;
22494 --header | --heade | --head | --hea )
22495 $ac_shift
22496 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22497 ac_need_defaults=false;;
22498 --he | --h)
22499 # Conflict between --help and --header
22500 { echo "$as_me: error: ambiguous option: $1
22501 Try \`$0 --help' for more information." >&2
22502 { (exit 1); exit 1; }; };;
22503 --help | --hel | -h )
22504 echo "$ac_cs_usage"; exit ;;
22505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22506 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22507 ac_cs_silent=: ;;
22509 # This is an error.
22510 -*) { echo "$as_me: error: unrecognized option: $1
22511 Try \`$0 --help' for more information." >&2
22512 { (exit 1); exit 1; }; } ;;
22514 *) ac_config_targets="$ac_config_targets $1"
22515 ac_need_defaults=false ;;
22517 esac
22518 shift
22519 done
22521 ac_configure_extra_args=
22523 if $ac_cs_silent; then
22524 exec 6>/dev/null
22525 ac_configure_extra_args="$ac_configure_extra_args --silent"
22528 _ACEOF
22529 cat >>$CONFIG_STATUS <<_ACEOF
22530 if \$ac_cs_recheck; then
22531 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22532 CONFIG_SHELL=$SHELL
22533 export CONFIG_SHELL
22534 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22537 _ACEOF
22538 cat >>$CONFIG_STATUS <<\_ACEOF
22539 exec 5>>config.log
22541 echo
22542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22543 ## Running $as_me. ##
22544 _ASBOX
22545 echo "$ac_log"
22546 } >&5
22548 _ACEOF
22549 cat >>$CONFIG_STATUS <<_ACEOF
22550 _ACEOF
22552 cat >>$CONFIG_STATUS <<\_ACEOF
22554 # Handling of arguments.
22555 for ac_config_target in $ac_config_targets
22557 case $ac_config_target in
22558 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22559 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22560 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22561 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22562 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22563 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22564 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22565 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22566 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22567 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22568 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22569 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22570 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22572 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22573 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22574 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22575 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22576 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22577 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22578 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22579 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22580 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22581 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22582 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22583 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22584 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22585 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22586 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22587 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22588 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22589 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22590 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22591 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22592 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22593 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22594 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22595 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22596 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22597 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22598 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22599 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22600 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22601 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22602 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22603 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22604 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22605 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22606 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22607 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22608 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22609 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22610 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22611 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22612 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22613 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22614 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22615 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22616 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22617 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22618 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22619 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22620 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22621 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22622 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22623 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22624 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22625 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22626 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22627 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22628 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22629 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22630 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22631 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22632 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22633 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22634 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22635 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22636 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22637 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22638 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22639 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22640 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22641 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22642 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22643 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22644 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22645 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22646 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22647 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22648 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22649 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22650 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22651 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22652 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22653 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22654 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22655 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22656 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22657 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22658 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22659 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22660 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22661 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22662 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22663 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22664 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22665 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22666 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22667 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22668 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22669 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22670 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22671 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22672 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22673 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22674 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22675 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22676 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22677 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22678 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22679 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22680 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22681 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22682 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22683 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22684 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22685 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22686 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22687 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22688 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22689 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22690 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22691 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22692 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22693 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22694 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22695 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22696 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22697 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22698 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22699 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22700 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22701 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22702 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22703 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22704 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22705 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22706 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22707 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22708 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22709 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22710 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22711 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22712 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22713 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22714 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22715 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22716 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22717 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22718 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22719 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22720 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22721 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22722 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22723 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22724 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22725 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22726 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22727 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22728 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22729 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22730 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22731 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22732 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22733 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22734 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22735 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22736 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22737 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22738 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22739 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22740 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22741 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22742 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22743 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22744 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22745 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22746 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22747 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22748 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22749 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22750 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22751 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22752 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22753 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22754 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22755 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22756 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22757 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22758 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22759 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22760 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22761 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22762 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22763 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22764 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22765 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22766 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22767 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22768 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22769 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22770 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22771 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22772 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22773 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22774 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22775 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22776 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22777 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22778 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22779 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22780 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22781 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22782 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22783 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22784 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22785 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22786 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22787 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22788 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22789 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22790 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22791 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22792 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22793 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22794 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22795 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22796 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22797 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22798 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22799 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22800 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22801 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22802 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22803 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22804 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22805 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22806 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22807 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22808 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22809 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22810 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22811 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22812 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22813 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22814 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22815 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22816 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22817 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22818 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22819 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22820 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22821 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22822 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22823 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22824 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22825 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22826 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22827 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22828 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22829 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22830 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22831 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22832 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22833 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22834 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22835 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22836 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22837 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22838 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22839 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22840 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22841 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22842 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22843 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22844 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22845 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22846 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22847 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22848 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22849 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22850 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22851 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22852 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22853 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22854 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22855 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22856 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22857 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22858 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22859 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22860 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22861 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22862 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22863 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22864 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22865 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22866 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22867 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22868 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22869 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22870 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22871 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22872 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22873 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22874 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22875 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22876 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22877 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22878 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22879 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22880 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22881 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22882 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22883 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22884 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22885 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22886 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22887 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22888 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22889 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22890 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22891 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22892 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22893 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22894 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22895 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22896 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22897 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22898 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22899 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22900 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22901 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22902 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22903 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22904 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22905 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22906 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22907 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22908 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22909 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22910 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22911 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22912 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22913 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22914 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22915 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22916 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22917 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22918 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22919 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22920 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22921 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22922 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22923 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22924 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22925 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22926 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22927 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22928 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22929 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22930 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22931 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22932 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22933 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22934 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22935 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22936 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22937 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22938 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22939 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22940 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22941 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22942 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22943 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22944 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22945 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22946 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22947 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22948 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22949 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22950 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22951 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22952 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22953 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22954 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22955 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22956 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22957 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22958 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22959 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22960 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22961 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22962 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22963 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22964 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22965 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22966 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22967 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22968 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22969 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22970 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22971 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22972 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22974 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22975 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22976 { (exit 1); exit 1; }; };;
22977 esac
22978 done
22981 # If the user did not use the arguments to specify the items to instantiate,
22982 # then the envvar interface is used. Set only those that are not.
22983 # We use the long form for the default assignment because of an extremely
22984 # bizarre bug on SunOS 4.1.3.
22985 if $ac_need_defaults; then
22986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22991 # Have a temporary directory for convenience. Make it in the build tree
22992 # simply because there is no reason against having it here, and in addition,
22993 # creating and moving files from /tmp can sometimes cause problems.
22994 # Hook for its removal unless debugging.
22995 # Note that there is a small window in which the directory will not be cleaned:
22996 # after its creation but before its name has been assigned to `$tmp'.
22997 $debug ||
22999 tmp=
23000 trap 'exit_status=$?
23001 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23003 trap '{ (exit 1); exit 1; }' 1 2 13 15
23005 # Create a (secure) tmp directory for tmp files.
23008 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23009 test -n "$tmp" && test -d "$tmp"
23010 } ||
23012 tmp=./conf$$-$RANDOM
23013 (umask 077 && mkdir "$tmp")
23014 } ||
23016 echo "$me: cannot create a temporary directory in ." >&2
23017 { (exit 1); exit 1; }
23021 # Set up the sed scripts for CONFIG_FILES section.
23024 # No need to generate the scripts if there are no CONFIG_FILES.
23025 # This happens for instance when ./config.status config.h
23026 if test -n "$CONFIG_FILES"; then
23028 _ACEOF
23030 # Create sed commands to just substitute file output variables.
23032 # Remaining file output variables are in a fragment that also has non-file
23033 # output varibles.
23037 ac_delim='%!_!# '
23038 for ac_last_try in false false false false false :; do
23039 cat >conf$$subs.sed <<_ACEOF
23040 SHELL!$SHELL$ac_delim
23041 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23042 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23043 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23044 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23045 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23046 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23047 exec_prefix!$exec_prefix$ac_delim
23048 prefix!$prefix$ac_delim
23049 program_transform_name!$program_transform_name$ac_delim
23050 bindir!$bindir$ac_delim
23051 sbindir!$sbindir$ac_delim
23052 libexecdir!$libexecdir$ac_delim
23053 datarootdir!$datarootdir$ac_delim
23054 datadir!$datadir$ac_delim
23055 sysconfdir!$sysconfdir$ac_delim
23056 sharedstatedir!$sharedstatedir$ac_delim
23057 localstatedir!$localstatedir$ac_delim
23058 includedir!$includedir$ac_delim
23059 oldincludedir!$oldincludedir$ac_delim
23060 docdir!$docdir$ac_delim
23061 infodir!$infodir$ac_delim
23062 htmldir!$htmldir$ac_delim
23063 dvidir!$dvidir$ac_delim
23064 pdfdir!$pdfdir$ac_delim
23065 psdir!$psdir$ac_delim
23066 libdir!$libdir$ac_delim
23067 localedir!$localedir$ac_delim
23068 mandir!$mandir$ac_delim
23069 DEFS!$DEFS$ac_delim
23070 ECHO_C!$ECHO_C$ac_delim
23071 ECHO_N!$ECHO_N$ac_delim
23072 ECHO_T!$ECHO_T$ac_delim
23073 LIBS!$LIBS$ac_delim
23074 build_alias!$build_alias$ac_delim
23075 host_alias!$host_alias$ac_delim
23076 target_alias!$target_alias$ac_delim
23077 build!$build$ac_delim
23078 build_cpu!$build_cpu$ac_delim
23079 build_vendor!$build_vendor$ac_delim
23080 build_os!$build_os$ac_delim
23081 host!$host$ac_delim
23082 host_cpu!$host_cpu$ac_delim
23083 host_vendor!$host_vendor$ac_delim
23084 host_os!$host_os$ac_delim
23085 WIN16_FILES!$WIN16_FILES$ac_delim
23086 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23087 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23088 WINETEST!$WINETEST$ac_delim
23089 SET_MAKE!$SET_MAKE$ac_delim
23090 CC!$CC$ac_delim
23091 CFLAGS!$CFLAGS$ac_delim
23092 LDFLAGS!$LDFLAGS$ac_delim
23093 CPPFLAGS!$CPPFLAGS$ac_delim
23094 ac_ct_CC!$ac_ct_CC$ac_delim
23095 EXEEXT!$EXEEXT$ac_delim
23096 OBJEXT!$OBJEXT$ac_delim
23097 CXX!$CXX$ac_delim
23098 CXXFLAGS!$CXXFLAGS$ac_delim
23099 ac_ct_CXX!$ac_ct_CXX$ac_delim
23100 CPPBIN!$CPPBIN$ac_delim
23101 TOOLSDIR!$TOOLSDIR$ac_delim
23102 XMKMF!$XMKMF$ac_delim
23103 CPP!$CPP$ac_delim
23104 X_CFLAGS!$X_CFLAGS$ac_delim
23105 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23106 X_LIBS!$X_LIBS$ac_delim
23107 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23108 FLEX!$FLEX$ac_delim
23109 BISON!$BISON$ac_delim
23110 AS!$AS$ac_delim
23111 ac_ct_AS!$ac_ct_AS$ac_delim
23112 LD!$LD$ac_delim
23113 AR!$AR$ac_delim
23114 ARFLAGS!$ARFLAGS$ac_delim
23115 RANLIB!$RANLIB$ac_delim
23116 STRIP!$STRIP$ac_delim
23117 WINDRES!$WINDRES$ac_delim
23118 LN_S!$LN_S$ac_delim
23119 LN!$LN$ac_delim
23120 GREP!$GREP$ac_delim
23121 EGREP!$EGREP$ac_delim
23122 _ACEOF
23124 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23125 break
23126 elif $ac_last_try; then
23127 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23128 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23129 { (exit 1); exit 1; }; }
23130 else
23131 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23133 done
23135 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23136 if test -n "$ac_eof"; then
23137 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23138 ac_eof=`expr $ac_eof + 1`
23141 cat >>$CONFIG_STATUS <<_ACEOF
23142 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23144 /^[ ]*@MAKE_RULES@[ ]*$/{
23145 r $MAKE_RULES
23148 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23149 r $MAKE_DLL_RULES
23152 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23153 r $MAKE_IMPLIB_RULES
23156 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23157 r $MAKE_TEST_RULES
23160 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23161 r $MAKE_PROG_RULES
23164 _ACEOF
23165 sed '
23166 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23167 s/^/s,@/; s/!/@,|#_!!_#|/
23170 s/'"$ac_delim"'$/,g/; t
23171 s/$/\\/; p
23172 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23173 ' >>$CONFIG_STATUS <conf$$subs.sed
23174 rm -f conf$$subs.sed
23175 cat >>$CONFIG_STATUS <<_ACEOF
23176 CEOF$ac_eof
23177 _ACEOF
23180 ac_delim='%!_!# '
23181 for ac_last_try in false false false false false :; do
23182 cat >conf$$subs.sed <<_ACEOF
23183 LDCONFIG!$LDCONFIG$ac_delim
23184 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23185 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23186 INSTALL_DATA!$INSTALL_DATA$ac_delim
23187 LINT!$LINT$ac_delim
23188 LINTFLAGS!$LINTFLAGS$ac_delim
23189 FONTFORGE!$FONTFORGE$ac_delim
23190 PKG_CONFIG!$PKG_CONFIG$ac_delim
23191 PRELINK!$PRELINK$ac_delim
23192 LIBPTHREAD!$LIBPTHREAD$ac_delim
23193 XLIB!$XLIB$ac_delim
23194 XFILES!$XFILES$ac_delim
23195 OPENGLFILES!$OPENGLFILES$ac_delim
23196 GLU32FILES!$GLU32FILES$ac_delim
23197 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23198 QUARTZFILES!$QUARTZFILES$ac_delim
23199 DLLEXT!$DLLEXT$ac_delim
23200 DLLFLAGS!$DLLFLAGS$ac_delim
23201 LDSHARED!$LDSHARED$ac_delim
23202 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23203 LIBEXT!$LIBEXT$ac_delim
23204 IMPLIBEXT!$IMPLIBEXT$ac_delim
23205 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23206 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23207 LDD!$LDD$ac_delim
23208 DLLTOOL!$DLLTOOL$ac_delim
23209 DLLWRAP!$DLLWRAP$ac_delim
23210 MINGWAR!$MINGWAR$ac_delim
23211 SECURITYLIB!$SECURITYLIB$ac_delim
23212 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23213 IOKITLIB!$IOKITLIB$ac_delim
23214 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23215 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23216 COREAUDIO!$COREAUDIO$ac_delim
23217 CARBONLIB!$CARBONLIB$ac_delim
23218 CROSSTEST!$CROSSTEST$ac_delim
23219 CROSSCC!$CROSSCC$ac_delim
23220 CROSSWINDRES!$CROSSWINDRES$ac_delim
23221 NASLIBS!$NASLIBS$ac_delim
23222 XML2LIBS!$XML2LIBS$ac_delim
23223 XML2INCL!$XML2INCL$ac_delim
23224 XSLTLIBS!$XSLTLIBS$ac_delim
23225 XSLTINCL!$XSLTINCL$ac_delim
23226 HALINCL!$HALINCL$ac_delim
23227 sane_devel!$sane_devel$ac_delim
23228 SANEINCL!$SANEINCL$ac_delim
23229 gphoto2_devel!$gphoto2_devel$ac_delim
23230 gphoto2port_devel!$gphoto2port_devel$ac_delim
23231 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23232 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23233 RESOLVLIBS!$RESOLVLIBS$ac_delim
23234 LCMSLIBS!$LCMSLIBS$ac_delim
23235 LDAPLIBS!$LDAPLIBS$ac_delim
23236 ft_devel!$ft_devel$ac_delim
23237 FREETYPELIBS!$FREETYPELIBS$ac_delim
23238 FREETYPEINCL!$FREETYPEINCL$ac_delim
23239 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23240 ESDCONFIG!$ESDCONFIG$ac_delim
23241 ESDLIBS!$ESDLIBS$ac_delim
23242 ESDINCL!$ESDINCL$ac_delim
23243 ALSALIBS!$ALSALIBS$ac_delim
23244 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23245 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23246 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23247 BUILTINFLAG!$BUILTINFLAG$ac_delim
23248 LDPATH!$LDPATH$ac_delim
23249 CRTLIBS!$CRTLIBS$ac_delim
23250 SOCKETLIBS!$SOCKETLIBS$ac_delim
23251 MAIN_BINARY!$MAIN_BINARY$ac_delim
23252 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23253 LIBDL!$LIBDL$ac_delim
23254 LIBPOLL!$LIBPOLL$ac_delim
23255 DEPENDENCIES!$DEPENDENCIES$ac_delim
23256 LIBOBJS!$LIBOBJS$ac_delim
23257 LTLIBOBJS!$LTLIBOBJS$ac_delim
23258 _ACEOF
23260 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
23261 break
23262 elif $ac_last_try; then
23263 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23264 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23265 { (exit 1); exit 1; }; }
23266 else
23267 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23269 done
23271 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23272 if test -n "$ac_eof"; then
23273 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23274 ac_eof=`expr $ac_eof + 1`
23277 cat >>$CONFIG_STATUS <<_ACEOF
23278 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23279 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23280 _ACEOF
23281 sed '
23282 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23283 s/^/s,@/; s/!/@,|#_!!_#|/
23286 s/'"$ac_delim"'$/,g/; t
23287 s/$/\\/; p
23288 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23289 ' >>$CONFIG_STATUS <conf$$subs.sed
23290 rm -f conf$$subs.sed
23291 cat >>$CONFIG_STATUS <<_ACEOF
23292 :end
23293 s/|#_!!_#|//g
23294 CEOF$ac_eof
23295 _ACEOF
23298 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23299 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23300 # trailing colons and then remove the whole line if VPATH becomes empty
23301 # (actually we leave an empty line to preserve line numbers).
23302 if test "x$srcdir" = x.; then
23303 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23304 s/:*\$(srcdir):*/:/
23305 s/:*\${srcdir}:*/:/
23306 s/:*@srcdir@:*/:/
23307 s/^\([^=]*=[ ]*\):*/\1/
23308 s/:*$//
23309 s/^[^=]*=[ ]*$//
23313 cat >>$CONFIG_STATUS <<\_ACEOF
23314 fi # test -n "$CONFIG_FILES"
23317 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23319 case $ac_tag in
23320 :[FHLC]) ac_mode=$ac_tag; continue;;
23321 esac
23322 case $ac_mode$ac_tag in
23323 :[FHL]*:*);;
23324 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23325 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23326 { (exit 1); exit 1; }; };;
23327 :[FH]-) ac_tag=-:-;;
23328 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23329 esac
23330 ac_save_IFS=$IFS
23331 IFS=:
23332 set x $ac_tag
23333 IFS=$ac_save_IFS
23334 shift
23335 ac_file=$1
23336 shift
23338 case $ac_mode in
23339 :L) ac_source=$1;;
23340 :[FH])
23341 ac_file_inputs=
23342 for ac_f
23344 case $ac_f in
23345 -) ac_f="$tmp/stdin";;
23346 *) # Look for the file first in the build tree, then in the source tree
23347 # (if the path is not absolute). The absolute path cannot be DOS-style,
23348 # because $ac_f cannot contain `:'.
23349 test -f "$ac_f" ||
23350 case $ac_f in
23351 [\\/$]*) false;;
23352 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23353 esac ||
23354 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23355 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23356 { (exit 1); exit 1; }; };;
23357 esac
23358 ac_file_inputs="$ac_file_inputs $ac_f"
23359 done
23361 # Let's still pretend it is `configure' which instantiates (i.e., don't
23362 # use $as_me), people would be surprised to read:
23363 # /* config.h. Generated by config.status. */
23364 configure_input="Generated from "`IFS=:
23365 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23366 if test x"$ac_file" != x-; then
23367 configure_input="$ac_file. $configure_input"
23368 { echo "$as_me:$LINENO: creating $ac_file" >&5
23369 echo "$as_me: creating $ac_file" >&6;}
23372 case $ac_tag in
23373 *:-:* | *:-) cat >"$tmp/stdin";;
23374 esac
23376 esac
23378 ac_dir=`$as_dirname -- "$ac_file" ||
23379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23380 X"$ac_file" : 'X\(//\)[^/]' \| \
23381 X"$ac_file" : 'X\(//\)$' \| \
23382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23383 echo X"$ac_file" |
23384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23385 s//\1/
23388 /^X\(\/\/\)[^/].*/{
23389 s//\1/
23392 /^X\(\/\/\)$/{
23393 s//\1/
23396 /^X\(\/\).*/{
23397 s//\1/
23400 s/.*/./; q'`
23401 { as_dir="$ac_dir"
23402 case $as_dir in #(
23403 -*) as_dir=./$as_dir;;
23404 esac
23405 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23406 as_dirs=
23407 while :; do
23408 case $as_dir in #(
23409 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23410 *) as_qdir=$as_dir;;
23411 esac
23412 as_dirs="'$as_qdir' $as_dirs"
23413 as_dir=`$as_dirname -- "$as_dir" ||
23414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23415 X"$as_dir" : 'X\(//\)[^/]' \| \
23416 X"$as_dir" : 'X\(//\)$' \| \
23417 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23418 echo X"$as_dir" |
23419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23420 s//\1/
23423 /^X\(\/\/\)[^/].*/{
23424 s//\1/
23427 /^X\(\/\/\)$/{
23428 s//\1/
23431 /^X\(\/\).*/{
23432 s//\1/
23435 s/.*/./; q'`
23436 test -d "$as_dir" && break
23437 done
23438 test -z "$as_dirs" || eval "mkdir $as_dirs"
23439 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23440 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23441 { (exit 1); exit 1; }; }; }
23442 ac_builddir=.
23444 case "$ac_dir" in
23445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23448 # A ".." for each directory in $ac_dir_suffix.
23449 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23450 case $ac_top_builddir_sub in
23451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23453 esac ;;
23454 esac
23455 ac_abs_top_builddir=$ac_pwd
23456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23457 # for backward compatibility:
23458 ac_top_builddir=$ac_top_build_prefix
23460 case $srcdir in
23461 .) # We are building in place.
23462 ac_srcdir=.
23463 ac_top_srcdir=$ac_top_builddir_sub
23464 ac_abs_top_srcdir=$ac_pwd ;;
23465 [\\/]* | ?:[\\/]* ) # Absolute name.
23466 ac_srcdir=$srcdir$ac_dir_suffix;
23467 ac_top_srcdir=$srcdir
23468 ac_abs_top_srcdir=$srcdir ;;
23469 *) # Relative name.
23470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23471 ac_top_srcdir=$ac_top_build_prefix$srcdir
23472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23473 esac
23474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23477 case $ac_mode in
23480 # CONFIG_FILE
23483 case $INSTALL in
23484 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23485 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23486 esac
23487 _ACEOF
23489 cat >>$CONFIG_STATUS <<\_ACEOF
23490 # If the template does not know about datarootdir, expand it.
23491 # FIXME: This hack should be removed a few years after 2.60.
23492 ac_datarootdir_hack=; ac_datarootdir_seen=
23494 case `sed -n '/datarootdir/ {
23498 /@datadir@/p
23499 /@docdir@/p
23500 /@infodir@/p
23501 /@localedir@/p
23502 /@mandir@/p
23503 ' $ac_file_inputs` in
23504 *datarootdir*) ac_datarootdir_seen=yes;;
23505 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23506 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23507 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23508 _ACEOF
23509 cat >>$CONFIG_STATUS <<_ACEOF
23510 ac_datarootdir_hack='
23511 s&@datadir@&$datadir&g
23512 s&@docdir@&$docdir&g
23513 s&@infodir@&$infodir&g
23514 s&@localedir@&$localedir&g
23515 s&@mandir@&$mandir&g
23516 s&\\\${datarootdir}&$datarootdir&g' ;;
23517 esac
23518 _ACEOF
23520 # Neutralize VPATH when `$srcdir' = `.'.
23521 # Shell code in configure.ac might set extrasub.
23522 # FIXME: do we really want to maintain this feature?
23523 cat >>$CONFIG_STATUS <<_ACEOF
23524 sed "$ac_vpsub
23525 $extrasub
23526 _ACEOF
23527 cat >>$CONFIG_STATUS <<\_ACEOF
23529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23530 s&@configure_input@&$configure_input&;t t
23531 s&@top_builddir@&$ac_top_builddir_sub&;t t
23532 s&@srcdir@&$ac_srcdir&;t t
23533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23534 s&@top_srcdir@&$ac_top_srcdir&;t t
23535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23536 s&@builddir@&$ac_builddir&;t t
23537 s&@abs_builddir@&$ac_abs_builddir&;t t
23538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23539 s&@INSTALL@&$ac_INSTALL&;t t
23540 $ac_datarootdir_hack
23541 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23544 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23546 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23547 which seems to be undefined. Please make sure it is defined." >&5
23548 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23549 which seems to be undefined. Please make sure it is defined." >&2;}
23551 rm -f "$tmp/stdin"
23552 case $ac_file in
23553 -) cat "$tmp/out"; rm -f "$tmp/out";;
23554 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23555 esac
23559 # CONFIG_HEADER
23561 _ACEOF
23563 # Transform confdefs.h into a sed script `conftest.defines', that
23564 # substitutes the proper values into config.h.in to produce config.h.
23565 rm -f conftest.defines conftest.tail
23566 # First, append a space to every undef/define line, to ease matching.
23567 echo 's/$/ /' >conftest.defines
23568 # Then, protect against being on the right side of a sed subst, or in
23569 # an unquoted here document, in config.status. If some macros were
23570 # called several times there might be several #defines for the same
23571 # symbol, which is useless. But do not sort them, since the last
23572 # AC_DEFINE must be honored.
23573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23574 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23575 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23576 # PARAMS is the parameter list in the macro definition--in most cases, it's
23577 # just an empty string.
23578 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23579 ac_dB='\\)[ (].*,\\1define\\2'
23580 ac_dC=' '
23581 ac_dD=' ,'
23583 uniq confdefs.h |
23584 sed -n '
23585 t rset
23586 :rset
23587 s/^[ ]*#[ ]*define[ ][ ]*//
23588 t ok
23591 s/[\\&,]/\\&/g
23592 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23593 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23594 ' >>conftest.defines
23596 # Remove the space that was appended to ease matching.
23597 # Then replace #undef with comments. This is necessary, for
23598 # example, in the case of _POSIX_SOURCE, which is predefined and required
23599 # on some systems where configure will not decide to define it.
23600 # (The regexp can be short, since the line contains either #define or #undef.)
23601 echo 's/ $//
23602 s,^[ #]*u.*,/* & */,' >>conftest.defines
23604 # Break up conftest.defines:
23605 ac_max_sed_lines=50
23607 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23608 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23609 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23610 # et cetera.
23611 ac_in='$ac_file_inputs'
23612 ac_out='"$tmp/out1"'
23613 ac_nxt='"$tmp/out2"'
23615 while :
23617 # Write a here document:
23618 cat >>$CONFIG_STATUS <<_ACEOF
23619 # First, check the format of the line:
23620 cat >"\$tmp/defines.sed" <<\\CEOF
23621 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23622 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23624 :def
23625 _ACEOF
23626 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23627 echo 'CEOF
23628 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23629 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23630 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23631 grep . conftest.tail >/dev/null || break
23632 rm -f conftest.defines
23633 mv conftest.tail conftest.defines
23634 done
23635 rm -f conftest.defines conftest.tail
23637 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23638 cat >>$CONFIG_STATUS <<\_ACEOF
23639 if test x"$ac_file" != x-; then
23640 echo "/* $configure_input */" >"$tmp/config.h"
23641 cat "$ac_result" >>"$tmp/config.h"
23642 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23643 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23644 echo "$as_me: $ac_file is unchanged" >&6;}
23645 else
23646 rm -f $ac_file
23647 mv "$tmp/config.h" $ac_file
23649 else
23650 echo "/* $configure_input */"
23651 cat "$ac_result"
23653 rm -f "$tmp/out12"
23656 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23657 echo "$as_me: executing $ac_file commands" >&6;}
23659 esac
23662 case $ac_file$ac_mode in
23663 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23664 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23665 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23666 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23667 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23668 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23669 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23670 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23671 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23672 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23673 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23674 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23675 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23677 esac
23678 done # for ac_tag
23681 { (exit 0); exit 0; }
23682 _ACEOF
23683 chmod +x $CONFIG_STATUS
23684 ac_clean_files=$ac_clean_files_save
23687 # configure is writing to config.log, and then calls config.status.
23688 # config.status does its own redirection, appending to config.log.
23689 # Unfortunately, on DOS this fails, as config.log is still kept open
23690 # by configure, so config.status won't be able to write to it; its
23691 # output is simply discarded. So we exec the FD to /dev/null,
23692 # effectively closing config.log, so it can be properly (re)opened and
23693 # appended to by config.status. When coming back to configure, we
23694 # need to make the FD available again.
23695 if test "$no_create" != yes; then
23696 ac_cs_success=:
23697 ac_config_status_args=
23698 test "$silent" = yes &&
23699 ac_config_status_args="$ac_config_status_args --quiet"
23700 exec 5>/dev/null
23701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23702 exec 5>>config.log
23703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23704 # would make configure fail if this is the last instruction.
23705 $ac_cs_success || { (exit 1); exit 1; }
23709 if test "$no_create" = "yes"
23710 then
23711 exit 0
23714 ac_save_IFS="$IFS"
23715 IFS="|"
23716 if test "x$wine_notices != "x; then
23717 echo >&6
23718 for msg in $wine_notices; do
23719 if test -n "$msg"; then
23720 { echo "$as_me:$LINENO: $msg" >&5
23721 echo "$as_me: $msg" >&6;}
23723 done
23725 for msg in $wine_warnings; do
23726 if test -n "$msg"; then
23727 echo >&2
23728 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23729 echo "$as_me: WARNING: $msg" >&2;}
23731 done
23732 IFS="$ac_save_IFS"
23734 echo "
23735 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23736 " >&6