shdocvw: Plug memory leak introduced in 1.0-rc1 (Smatch).
[wine/multimedia.git] / configure
blob4bad30e77dfa7a8d36085382b4d7419bfac2da2c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc1.
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='1.0-rc1'
578 PACKAGE_STRING='Wine 1.0-rc1'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 1.0-rc1 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 1.0-rc1:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-gphoto do not use gphoto (Digital Camera support)
1391 --without-glu do not use the GLU library
1392 --without-hal do not use HAL (dynamic device support)
1393 --without-jack do not use the Jack sound support
1394 --without-jpeg do not use JPEG
1395 --without-ldap do not use LDAP
1396 --without-nas do not use the NAS sound support
1397 --without-opengl do not use OpenGL
1398 --without-openssl do not use OpenSSL
1399 --without-oss do not use the OSS sound support
1400 --without-png do not use PNG
1401 --without-sane do not use SANE (scanner support)
1402 --without-xcomposite do not use the Xcomposite extension
1403 --without-xcursor do not use the Xcursor extension
1404 --without-xinerama do not use Xinerama (multi-monitor support)
1405 --without-xinput do not use the Xinput extension
1406 --without-xml do not use XML
1407 --without-xrandr do not use Xrandr (resolution changes)
1408 --without-xrender do not use the Xrender extension
1409 --without-xshape do not use the Xshape extension
1410 --without-xshm do not use XShm (shared memory extension)
1411 --without-xslt do not use XSLT
1412 --without-xvidmode do not use XFree video mode extension
1413 --with-wine-tools=DIR use Wine tools from directory DIR
1414 --with-x use the X Window System
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CXX C++ compiler command
1425 CXXFLAGS C++ compiler flags
1426 XMKMF Path to xmkmf, Makefile generator for X Window System
1427 CPP C preprocessor
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <wine-devel@winehq.org>.
1433 _ACEOF
1434 ac_status=$?
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" || continue
1441 ac_builddir=.
1443 case "$ac_dir" in
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452 esac ;;
1453 esac
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1459 case $srcdir in
1460 .) # We are building in place.
1461 ac_srcdir=.
1462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
1465 ac_srcdir=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1468 *) # Relative name.
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 esac
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1481 echo &&
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1483 else
1484 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 fi || ac_status=$?
1486 cd "$ac_pwd" || { ac_status=$?; break; }
1487 done
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1492 cat <<\_ACEOF
1493 Wine configure 1.0-rc1
1494 generated by GNU Autoconf 2.61
1496 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1497 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1498 This configure script is free software; the Free Software Foundation
1499 gives unlimited permission to copy, distribute and modify it.
1500 _ACEOF
1501 exit
1503 cat >config.log <<_ACEOF
1504 This file contains any messages produced by compilers while
1505 running configure, to aid debugging if configure makes a mistake.
1507 It was created by Wine $as_me 1.0-rc1, which was
1508 generated by GNU Autoconf 2.61. Invocation command line was
1510 $ $0 $@
1512 _ACEOF
1513 exec 5>>config.log
1515 cat <<_ASUNAME
1516 ## --------- ##
1517 ## Platform. ##
1518 ## --------- ##
1520 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1521 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1522 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1523 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1524 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1527 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1529 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1535 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1537 _ASUNAME
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 for as_dir in $PATH
1542 IFS=$as_save_IFS
1543 test -z "$as_dir" && as_dir=.
1544 echo "PATH: $as_dir"
1545 done
1546 IFS=$as_save_IFS
1548 } >&5
1550 cat >&5 <<_ACEOF
1553 ## ----------- ##
1554 ## Core tests. ##
1555 ## ----------- ##
1557 _ACEOF
1560 # Keep a trace of the command line.
1561 # Strip out --no-create and --no-recursion so they do not pile up.
1562 # Strip out --silent because we don't want to record it for future runs.
1563 # Also quote any args containing shell meta-characters.
1564 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_configure_args=
1566 ac_configure_args0=
1567 ac_configure_args1=
1568 ac_must_keep_next=false
1569 for ac_pass in 1 2
1571 for ac_arg
1573 case $ac_arg in
1574 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1577 continue ;;
1578 *\'*)
1579 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1580 esac
1581 case $ac_pass in
1582 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1584 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1585 if test $ac_must_keep_next = true; then
1586 ac_must_keep_next=false # Got value, back to normal.
1587 else
1588 case $ac_arg in
1589 *=* | --config-cache | -C | -disable-* | --disable-* \
1590 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1591 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1592 | -with-* | --with-* | -without-* | --without-* | --x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1595 esac
1597 -* ) ac_must_keep_next=true ;;
1598 esac
1600 ac_configure_args="$ac_configure_args '$ac_arg'"
1602 esac
1603 done
1604 done
1605 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1606 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1608 # When interrupted or exit'd, cleanup temporary files, and complete
1609 # config.log. We remove comments because anyway the quotes in there
1610 # would cause problems or look ugly.
1611 # WARNING: Use '\'' to represent an apostrophe within the trap.
1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1613 trap 'exit_status=$?
1614 # Save into config.log some information that might help in debugging.
1616 echo
1618 cat <<\_ASBOX
1619 ## ---------------- ##
1620 ## Cache variables. ##
1621 ## ---------------- ##
1622 _ASBOX
1623 echo
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1628 case $ac_val in #(
1629 *${as_nl}*)
1630 case $ac_var in #(
1631 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1633 esac
1634 case $ac_var in #(
1635 _ | IFS | as_nl) ;; #(
1636 *) $as_unset $ac_var ;;
1637 esac ;;
1638 esac
1639 done
1640 (set) 2>&1 |
1641 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1642 *${as_nl}ac_space=\ *)
1643 sed -n \
1644 "s/'\''/'\''\\\\'\'''\''/g;
1645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1646 ;; #(
1648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650 esac |
1651 sort
1653 echo
1655 cat <<\_ASBOX
1656 ## ----------------- ##
1657 ## Output variables. ##
1658 ## ----------------- ##
1659 _ASBOX
1660 echo
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1664 case $ac_val in
1665 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 esac
1667 echo "$ac_var='\''$ac_val'\''"
1668 done | sort
1669 echo
1671 if test -n "$ac_subst_files"; then
1672 cat <<\_ASBOX
1673 ## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##
1676 _ASBOX
1677 echo
1678 for ac_var in $ac_subst_files
1680 eval ac_val=\$$ac_var
1681 case $ac_val in
1682 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 esac
1684 echo "$ac_var='\''$ac_val'\''"
1685 done | sort
1686 echo
1689 if test -s confdefs.h; then
1690 cat <<\_ASBOX
1691 ## ----------- ##
1692 ## confdefs.h. ##
1693 ## ----------- ##
1694 _ASBOX
1695 echo
1696 cat confdefs.h
1697 echo
1699 test "$ac_signal" != 0 &&
1700 echo "$as_me: caught signal $ac_signal"
1701 echo "$as_me: exit $exit_status"
1702 } >&5
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1705 exit $exit_status
1707 for ac_signal in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1709 done
1710 ac_signal=0
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest* confdefs.h
1715 # Predefined preprocessor variables.
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 _ACEOF
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 _ACEOF
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1734 _ACEOF
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 _ACEOF
1742 # Let the site file select an alternate cache file if it wants to.
1743 # Prefer explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 set x "$CONFIG_SITE"
1746 elif test "x$prefix" != xNONE; then
1747 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1748 else
1749 set x "$ac_default_prefix/share/config.site" \
1750 "$ac_default_prefix/etc/config.site"
1752 shift
1753 for ac_site_file
1755 if test -r "$ac_site_file"; then
1756 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1757 echo "$as_me: loading site script $ac_site_file" >&6;}
1758 sed 's/^/| /' "$ac_site_file" >&5
1759 . "$ac_site_file"
1761 done
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special
1765 # files actually), so we avoid doing that.
1766 if test -f "$cache_file"; then
1767 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1768 echo "$as_me: loading cache $cache_file" >&6;}
1769 case $cache_file in
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1772 esac
1774 else
1775 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776 echo "$as_me: creating cache $cache_file" >&6;}
1777 >$cache_file
1780 # Check that the precious variables saved in the cache have kept the same
1781 # value.
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1789 set,)
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1793 ,set)
1794 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1795 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1797 ,);;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1801 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1802 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1803 echo "$as_me: former value: $ac_old_val" >&2;}
1804 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1805 echo "$as_me: current value: $ac_new_val" >&2;}
1806 ac_cache_corrupted=:
1807 fi;;
1808 esac
1809 # Pass precious variables to config.status.
1810 if test "$ac_new_set" = set; then
1811 case $ac_new_val in
1812 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1813 *) ac_arg=$ac_var=$ac_new_val ;;
1814 esac
1815 case " $ac_configure_args " in
1816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1817 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1818 esac
1820 done
1821 if $ac_cache_corrupted; then
1822 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1823 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1853 ac_ext=c
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861 ac_config_headers="$ac_config_headers include/config.h"
1863 ac_aux_dir=
1864 for ac_dir in tools "$srcdir"/tools; do
1865 if test -f "$ac_dir/install-sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 break
1869 elif test -f "$ac_dir/install.sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 break
1873 elif test -f "$ac_dir/shtool"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 break
1878 done
1879 if test -z "$ac_aux_dir"; then
1880 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1896 # Check whether --enable-win16 was given.
1897 if test "${enable_win16+set}" = set; then
1898 enableval=$enable_win16;
1901 # Check whether --enable-win64 was given.
1902 if test "${enable_win64+set}" = set; then
1903 enableval=$enable_win64;
1906 # Check whether --enable-maintainer-mode was given.
1907 if test "${enable_maintainer_mode+set}" = set; then
1908 enableval=$enable_maintainer_mode;
1909 else
1910 MAINTAINER_MODE=\#
1916 # Check whether --with-alsa was given.
1917 if test "${with_alsa+set}" = set; then
1918 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1922 # Check whether --with-audioio was given.
1923 if test "${with_audioio+set}" = set; then
1924 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1928 # Check whether --with-capi was given.
1929 if test "${with_capi+set}" = set; then
1930 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1934 # Check whether --with-cms was given.
1935 if test "${with_cms+set}" = set; then
1936 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1940 # Check whether --with-coreaudio was given.
1941 if test "${with_coreaudio+set}" = set; then
1942 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1946 # Check whether --with-cups was given.
1947 if test "${with_cups+set}" = set; then
1948 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1952 # Check whether --with-curses was given.
1953 if test "${with_curses+set}" = set; then
1954 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1958 # Check whether --with-esd was given.
1959 if test "${with_esd+set}" = set; then
1960 withval=$with_esd;
1964 # Check whether --with-fontconfig was given.
1965 if test "${with_fontconfig+set}" = set; then
1966 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1970 # Check whether --with-gphoto was given.
1971 if test "${with_gphoto+set}" = set; then
1972 withval=$with_gphoto;
1976 # Check whether --with-glu was given.
1977 if test "${with_glu+set}" = set; then
1978 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1982 # Check whether --with-hal was given.
1983 if test "${with_hal+set}" = set; then
1984 withval=$with_hal;
1988 # Check whether --with-jack was given.
1989 if test "${with_jack+set}" = set; then
1990 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1994 # Check whether --with-jpeg was given.
1995 if test "${with_jpeg+set}" = set; then
1996 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2000 # Check whether --with-ldap was given.
2001 if test "${with_ldap+set}" = set; then
2002 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2006 # Check whether --with-nas was given.
2007 if test "${with_nas+set}" = set; then
2008 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2012 # Check whether --with-opengl was given.
2013 if test "${with_opengl+set}" = set; then
2014 withval=$with_opengl;
2018 # Check whether --with-openssl was given.
2019 if test "${with_openssl+set}" = set; then
2020 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2024 # Check whether --with-oss was given.
2025 if test "${with_oss+set}" = set; then
2026 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
2030 # Check whether --with-png was given.
2031 if test "${with_png+set}" = set; then
2032 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2036 # Check whether --with-sane was given.
2037 if test "${with_sane+set}" = set; then
2038 withval=$with_sane;
2042 # Check whether --with-xcomposite was given.
2043 if test "${with_xcomposite+set}" = set; then
2044 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2048 # Check whether --with-xcursor was given.
2049 if test "${with_xcursor+set}" = set; then
2050 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2054 # Check whether --with-xinerama was given.
2055 if test "${with_xinerama+set}" = set; then
2056 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2060 # Check whether --with-xinput was given.
2061 if test "${with_xinput+set}" = set; then
2062 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2066 # Check whether --with-xml was given.
2067 if test "${with_xml+set}" = set; then
2068 withval=$with_xml;
2072 # Check whether --with-xrandr was given.
2073 if test "${with_xrandr+set}" = set; then
2074 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2078 # Check whether --with-xrender was given.
2079 if test "${with_xrender+set}" = set; then
2080 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2084 # Check whether --with-xshape was given.
2085 if test "${with_xshape+set}" = set; then
2086 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2090 # Check whether --with-xshm was given.
2091 if test "${with_xshm+set}" = set; then
2092 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2096 # Check whether --with-xslt was given.
2097 if test "${with_xslt+set}" = set; then
2098 withval=$with_xslt;
2102 # Check whether --with-xvidmode was given.
2103 if test "${with_xvidmode+set}" = set; then
2104 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2109 # Check whether --with-wine-tools was given.
2110 if test "${with_wine_tools+set}" = set; then
2111 withval=$with_wine_tools;
2115 # Make sure we can run config.sub.
2116 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2117 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2118 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2119 { (exit 1); exit 1; }; }
2121 { echo "$as_me:$LINENO: checking build system type" >&5
2122 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2123 if test "${ac_cv_build+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 else
2126 ac_build_alias=$build_alias
2127 test "x$ac_build_alias" = x &&
2128 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2129 test "x$ac_build_alias" = x &&
2130 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2131 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2132 { (exit 1); exit 1; }; }
2133 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2134 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2135 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2136 { (exit 1); exit 1; }; }
2139 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2140 echo "${ECHO_T}$ac_cv_build" >&6; }
2141 case $ac_cv_build in
2142 *-*-*) ;;
2143 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2144 echo "$as_me: error: invalid value of canonical build" >&2;}
2145 { (exit 1); exit 1; }; };;
2146 esac
2147 build=$ac_cv_build
2148 ac_save_IFS=$IFS; IFS='-'
2149 set x $ac_cv_build
2150 shift
2151 build_cpu=$1
2152 build_vendor=$2
2153 shift; shift
2154 # Remember, the first character of IFS is used to create $*,
2155 # except with old shells:
2156 build_os=$*
2157 IFS=$ac_save_IFS
2158 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2161 { echo "$as_me:$LINENO: checking host system type" >&5
2162 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2163 if test "${ac_cv_host+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 else
2166 if test "x$host_alias" = x; then
2167 ac_cv_host=$ac_cv_build
2168 else
2169 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2170 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2171 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2172 { (exit 1); exit 1; }; }
2176 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2177 echo "${ECHO_T}$ac_cv_host" >&6; }
2178 case $ac_cv_host in
2179 *-*-*) ;;
2180 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2181 echo "$as_me: error: invalid value of canonical host" >&2;}
2182 { (exit 1); exit 1; }; };;
2183 esac
2184 host=$ac_cv_host
2185 ac_save_IFS=$IFS; IFS='-'
2186 set x $ac_cv_host
2187 shift
2188 host_cpu=$1
2189 host_vendor=$2
2190 shift; shift
2191 # Remember, the first character of IFS is used to create $*,
2192 # except with old shells:
2193 host_os=$*
2194 IFS=$ac_save_IFS
2195 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2198 case $host in
2199 x86_64*linux*)
2200 if test "x$enable_win64" != "xyes"
2201 then
2202 test -n "$CC" || CC="gcc -m32"
2203 test -n "$CXX"|| CXX="g++ -m32"
2204 test -n "$LD" || LD="ld -m elf_i386"
2205 test -n "$AS" || AS="as --32"
2206 host_cpu="i386"
2209 esac
2211 case $host_cpu in
2212 *i[3456789]86*)
2213 if test "x$enable_win16" != "xno"
2214 then
2215 enable_win16="yes"
2218 esac
2220 WIN16_FILES="\$(WIN16_FILES)"
2222 WIN16_INSTALL="\$(WIN16_INSTALL)"
2224 if test "x$enable_win16" != "xyes"
2225 then
2226 WIN16_FILES=""
2227 WIN16_INSTALL=""
2230 case "$srcdir" in
2231 .) ;;
2232 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2233 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2234 You need to run 'make distclean' in the source tree first." >&5
2235 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2236 You need to run 'make distclean' in the source tree first." >&2;}
2237 { (exit 1); exit 1; }; }
2238 fi ;;
2239 esac
2242 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2243 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2244 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 cat >conftest.make <<\_ACEOF
2249 SHELL = /bin/sh
2250 all:
2251 @echo '@@@%%%=$(MAKE)=@@@%%%'
2252 _ACEOF
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2255 *@@@%%%=?*=@@@%%%*)
2256 eval ac_cv_prog_make_${ac_make}_set=yes;;
2258 eval ac_cv_prog_make_${ac_make}_set=no;;
2259 esac
2260 rm -f conftest.make
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263 { echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6; }
2265 SET_MAKE=
2266 else
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2269 SET_MAKE="MAKE=${MAKE-make}"
2272 ac_ext=c
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2301 IFS=$as_save_IFS
2305 CC=$ac_cv_prog_CC
2306 if test -n "$CC"; then
2307 { echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6; }
2309 else
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2317 ac_ct_CC=$CC
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 else
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="gcc"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2339 done
2340 done
2341 IFS=$as_save_IFS
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2349 else
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2354 if test "x$ac_ct_CC" = x; then
2355 CC=""
2356 else
2357 case $cross_compiling:$ac_tool_warned in
2358 yes:)
2359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2360 whose name does not start with the host triplet. If you think this
2361 configuration is useful to you, please write to autoconf@gnu.org." >&5
2362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2363 whose name does not start with the host triplet. If you think this
2364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2365 ac_tool_warned=yes ;;
2366 esac
2367 CC=$ac_ct_CC
2369 else
2370 CC="$ac_cv_prog_CC"
2373 if test -z "$CC"; then
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2376 set dummy ${ac_tool_prefix}cc; ac_word=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2384 else
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 for as_dir in $PATH
2388 IFS=$as_save_IFS
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC="${ac_tool_prefix}cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 break 2
2396 done
2397 done
2398 IFS=$as_save_IFS
2402 CC=$ac_cv_prog_CC
2403 if test -n "$CC"; then
2404 { echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6; }
2406 else
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2414 if test -z "$CC"; then
2415 # Extract the first word of "cc", so it can be a program name with args.
2416 set dummy cc; ac_word=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2424 else
2425 ac_prog_rejected=no
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2434 ac_prog_rejected=yes
2435 continue
2437 ac_cv_prog_CC="cc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 break 2
2441 done
2442 done
2443 IFS=$as_save_IFS
2445 if test $ac_prog_rejected = yes; then
2446 # We found a bogon in the path, so make sure we never use it.
2447 set dummy $ac_cv_prog_CC
2448 shift
2449 if test $# != 0; then
2450 # We chose a different compiler from the bogus one.
2451 # However, it has the same basename, so the bogon will be chosen
2452 # first if we set CC to just the basename; use the full file name.
2453 shift
2454 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2459 CC=$ac_cv_prog_CC
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2463 else
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2470 if test -z "$CC"; then
2471 if test -n "$ac_tool_prefix"; then
2472 for ac_prog in cl.exe
2474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test -n "$CC"; then
2482 ac_cv_prog_CC="$CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 break 2
2495 done
2496 done
2497 IFS=$as_save_IFS
2501 CC=$ac_cv_prog_CC
2502 if test -n "$CC"; then
2503 { echo "$as_me:$LINENO: result: $CC" >&5
2504 echo "${ECHO_T}$CC" >&6; }
2505 else
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$CC" && break
2512 done
2514 if test -z "$CC"; then
2515 ac_ct_CC=$CC
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_prog", so it can be a program name with args.
2519 set dummy $ac_prog; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 else
2525 if test -n "$ac_ct_CC"; then
2526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2527 else
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 for as_dir in $PATH
2531 IFS=$as_save_IFS
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_ac_ct_CC="$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 break 2
2539 done
2540 done
2541 IFS=$as_save_IFS
2545 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2546 if test -n "$ac_ct_CC"; then
2547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2548 echo "${ECHO_T}$ac_ct_CC" >&6; }
2549 else
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$ac_ct_CC" && break
2556 done
2558 if test "x$ac_ct_CC" = x; then
2559 CC=""
2560 else
2561 case $cross_compiling:$ac_tool_warned in
2562 yes:)
2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2564 whose name does not start with the host triplet. If you think this
2565 configuration is useful to you, please write to autoconf@gnu.org." >&5
2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2567 whose name does not start with the host triplet. If you think this
2568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2569 ac_tool_warned=yes ;;
2570 esac
2571 CC=$ac_ct_CC
2578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2584 # Provide some information about the compiler.
2585 echo "$as_me:$LINENO: checking for C compiler version" >&5
2586 ac_compiler=`set X $ac_compile; echo $2`
2587 { (ac_try="$ac_compiler --version >&5"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler --version >&5") 2>&5
2594 ac_status=$?
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2597 { (ac_try="$ac_compiler -v >&5"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_compiler -v >&5") 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }
2607 { (ac_try="$ac_compiler -V >&5"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_compiler -V >&5") 2>&5
2614 ac_status=$?
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }
2618 cat >conftest.$ac_ext <<_ACEOF
2619 /* confdefs.h. */
2620 _ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2626 main ()
2630 return 0;
2632 _ACEOF
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2635 # Try to create an executable without -o first, disregard a.out.
2636 # It will help us diagnose broken compilers, and finding out an intuition
2637 # of exeext.
2638 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2639 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2640 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2642 # List of possible output files, starting from the most likely.
2643 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2644 # only as a last resort. b.out is created by i960 compilers.
2645 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2647 # The IRIX 6 linker writes into existing files which may not be
2648 # executable, retaining their permissions. Remove them first so a
2649 # subsequent execution test works.
2650 ac_rmfiles=
2651 for ac_file in $ac_files
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2655 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2656 esac
2657 done
2658 rm -f $ac_rmfiles
2660 if { (ac_try="$ac_link_default"
2661 case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_link_default") 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2673 # so that the user can short-circuit this test for compilers unknown to
2674 # Autoconf.
2675 for ac_file in $ac_files ''
2677 test -f "$ac_file" || continue
2678 case $ac_file in
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2681 [ab].out )
2682 # We found the default executable, but exeext='' is most
2683 # certainly right.
2684 break;;
2685 *.* )
2686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2687 then :; else
2688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 # We set ac_cv_exeext here because the later test for it is not
2691 # safe: cross compilers may not add the suffix if given an `-o'
2692 # argument, so we may need to know it at that point already.
2693 # Even if this section looks crufty: it has the advantage of
2694 # actually working.
2695 break;;
2697 break;;
2698 esac
2699 done
2700 test "$ac_cv_exeext" = no && ac_cv_exeext=
2702 else
2703 ac_file=''
2706 { echo "$as_me:$LINENO: result: $ac_file" >&5
2707 echo "${ECHO_T}$ac_file" >&6; }
2708 if test -z "$ac_file"; then
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2713 See \`config.log' for more details." >&5
2714 echo "$as_me: error: C compiler cannot create executables
2715 See \`config.log' for more details." >&2;}
2716 { (exit 77); exit 77; }; }
2719 ac_exeext=$ac_cv_exeext
2721 # Check that the compiler produces executables we can run. If not, either
2722 # the compiler is broken, or we cross compile.
2723 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2724 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2725 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2726 # If not cross compiling, check that we can run a simple program.
2727 if test "$cross_compiling" != yes; then
2728 if { ac_try='./$ac_file'
2729 { (case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_try") 2>&5
2735 ac_status=$?
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2738 cross_compiling=no
2739 else
2740 if test "$cross_compiling" = maybe; then
2741 cross_compiling=yes
2742 else
2743 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2744 If you meant to cross compile, use \`--host'.
2745 See \`config.log' for more details." >&5
2746 echo "$as_me: error: cannot run C compiled programs.
2747 If you meant to cross compile, use \`--host'.
2748 See \`config.log' for more details." >&2;}
2749 { (exit 1); exit 1; }; }
2753 { echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6; }
2756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2757 ac_clean_files=$ac_clean_files_save
2758 # Check that the compiler produces executables we can run. If not, either
2759 # the compiler is broken, or we cross compile.
2760 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2762 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2763 echo "${ECHO_T}$cross_compiling" >&6; }
2765 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2767 if { (ac_try="$ac_link"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link") 2>&5
2774 ac_status=$?
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2780 # `rm'.
2781 for ac_file in conftest.exe conftest conftest.*; do
2782 test -f "$ac_file" || continue
2783 case $ac_file in
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2786 break;;
2787 * ) break;;
2788 esac
2789 done
2790 else
2791 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2798 rm -f conftest$ac_cv_exeext
2799 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2800 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2802 rm -f conftest.$ac_ext
2803 EXEEXT=$ac_cv_exeext
2804 ac_exeext=$EXEEXT
2805 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2806 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2807 if test "${ac_cv_objext+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 else
2810 cat >conftest.$ac_ext <<_ACEOF
2811 /* confdefs.h. */
2812 _ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2818 main ()
2822 return 0;
2824 _ACEOF
2825 rm -f conftest.o conftest.obj
2826 if { (ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_compile") 2>&5
2833 ac_status=$?
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; then
2836 for ac_file in conftest.o conftest.obj conftest.*; do
2837 test -f "$ac_file" || continue;
2838 case $ac_file in
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2841 break;;
2842 esac
2843 done
2844 else
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2849 See \`config.log' for more details." >&5
2850 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2851 See \`config.log' for more details." >&2;}
2852 { (exit 1); exit 1; }; }
2855 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2857 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2858 echo "${ECHO_T}$ac_cv_objext" >&6; }
2859 OBJEXT=$ac_cv_objext
2860 ac_objext=$OBJEXT
2861 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2862 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2863 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 else
2866 cat >conftest.$ac_ext <<_ACEOF
2867 /* confdefs.h. */
2868 _ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2874 main ()
2876 #ifndef __GNUC__
2877 choke me
2878 #endif
2881 return 0;
2883 _ACEOF
2884 rm -f conftest.$ac_objext
2885 if { (ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2892 ac_status=$?
2893 grep -v '^ *+' conftest.er1 >conftest.err
2894 rm -f conftest.er1
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2901 ac_compiler_gnu=yes
2902 else
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_compiler_gnu=no
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2913 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2919 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_g+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 else
2923 ac_save_c_werror_flag=$ac_c_werror_flag
2924 ac_c_werror_flag=yes
2925 ac_cv_prog_cc_g=no
2926 CFLAGS="-g"
2927 cat >conftest.$ac_ext <<_ACEOF
2928 /* confdefs.h. */
2929 _ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2935 main ()
2939 return 0;
2941 _ACEOF
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2944 case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2947 esac
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
2959 ac_cv_prog_cc_g=yes
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 CFLAGS=""
2965 cat >conftest.$ac_ext <<_ACEOF
2966 /* confdefs.h. */
2967 _ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2973 main ()
2977 return 0;
2979 _ACEOF
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2988 ac_status=$?
2989 grep -v '^ *+' conftest.er1 >conftest.err
2990 rm -f conftest.er1
2991 cat conftest.err >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2998 else
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_c_werror_flag=$ac_save_c_werror_flag
3003 CFLAGS="-g"
3004 cat >conftest.$ac_ext <<_ACEOF
3005 /* confdefs.h. */
3006 _ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 main ()
3016 return 0;
3018 _ACEOF
3019 rm -f conftest.$ac_objext
3020 if { (ac_try="$ac_compile"
3021 case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024 esac
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_compile") 2>conftest.er1
3027 ac_status=$?
3028 grep -v '^ *+' conftest.er1 >conftest.err
3029 rm -f conftest.er1
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest.$ac_objext; then
3036 ac_cv_prog_cc_g=yes
3037 else
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 ac_c_werror_flag=$ac_save_c_werror_flag
3053 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3055 if test "$ac_test_CFLAGS" = set; then
3056 CFLAGS=$ac_save_CFLAGS
3057 elif test $ac_cv_prog_cc_g = yes; then
3058 if test "$GCC" = yes; then
3059 CFLAGS="-g -O2"
3060 else
3061 CFLAGS="-g"
3063 else
3064 if test "$GCC" = yes; then
3065 CFLAGS="-O2"
3066 else
3067 CFLAGS=
3070 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3071 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3072 if test "${ac_cv_prog_cc_c89+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075 ac_cv_prog_cc_c89=no
3076 ac_save_CC=$CC
3077 cat >conftest.$ac_ext <<_ACEOF
3078 /* confdefs.h. */
3079 _ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3083 #include <stdarg.h>
3084 #include <stdio.h>
3085 #include <sys/types.h>
3086 #include <sys/stat.h>
3087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3088 struct buf { int x; };
3089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3090 static char *e (p, i)
3091 char **p;
3092 int i;
3094 return p[i];
3096 static char *f (char * (*g) (char **, int), char **p, ...)
3098 char *s;
3099 va_list v;
3100 va_start (v,p);
3101 s = g (p, va_arg (v,int));
3102 va_end (v);
3103 return s;
3106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3107 function prototypes and stuff, but not '\xHH' hex character constants.
3108 These don't provoke an error unfortunately, instead are silently treated
3109 as 'x'. The following induces an error, until -std is added to get
3110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3111 array size at least. It's necessary to write '\x00'==0 to get something
3112 that's true only with -std. */
3113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3115 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3116 inside strings and character constants. */
3117 #define FOO(x) 'x'
3118 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3120 int test (int i, double x);
3121 struct s1 {int (*f) (int a);};
3122 struct s2 {int (*f) (double a);};
3123 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3124 int argc;
3125 char **argv;
3127 main ()
3129 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3131 return 0;
3133 _ACEOF
3134 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3135 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3137 CC="$ac_save_CC $ac_arg"
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3140 case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3143 esac
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3146 ac_status=$?
3147 grep -v '^ *+' conftest.er1 >conftest.err
3148 rm -f conftest.er1
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cc_c89=$ac_arg
3156 else
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext
3164 test "x$ac_cv_prog_cc_c89" != "xno" && break
3165 done
3166 rm -f conftest.$ac_ext
3167 CC=$ac_save_CC
3170 # AC_CACHE_VAL
3171 case "x$ac_cv_prog_cc_c89" in
3173 { echo "$as_me:$LINENO: result: none needed" >&5
3174 echo "${ECHO_T}none needed" >&6; } ;;
3175 xno)
3176 { echo "$as_me:$LINENO: result: unsupported" >&5
3177 echo "${ECHO_T}unsupported" >&6; } ;;
3179 CC="$CC $ac_cv_prog_cc_c89"
3180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3181 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3182 esac
3185 ac_ext=c
3186 ac_cpp='$CPP $CPPFLAGS'
3187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 ac_ext=cpp
3192 ac_cpp='$CXXCPP $CPPFLAGS'
3193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3196 if test -z "$CXX"; then
3197 if test -n "$CCC"; then
3198 CXX=$CCC
3199 else
3200 if test -n "$ac_tool_prefix"; then
3201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3207 if test "${ac_cv_prog_CXX+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 if test -n "$CXX"; then
3211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3212 else
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 for as_dir in $PATH
3216 IFS=$as_save_IFS
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 break 2
3224 done
3225 done
3226 IFS=$as_save_IFS
3230 CXX=$ac_cv_prog_CXX
3231 if test -n "$CXX"; then
3232 { echo "$as_me:$LINENO: result: $CXX" >&5
3233 echo "${ECHO_T}$CXX" >&6; }
3234 else
3235 { echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6; }
3240 test -n "$CXX" && break
3241 done
3243 if test -z "$CXX"; then
3244 ac_ct_CXX=$CXX
3245 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3247 # Extract the first word of "$ac_prog", so it can be a program name with args.
3248 set dummy $ac_prog; ac_word=$2
3249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 else
3254 if test -n "$ac_ct_CXX"; then
3255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3260 IFS=$as_save_IFS
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 ac_cv_prog_ac_ct_CXX="$ac_prog"
3265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 break 2
3268 done
3269 done
3270 IFS=$as_save_IFS
3274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3275 if test -n "$ac_ct_CXX"; then
3276 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3277 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3278 else
3279 { echo "$as_me:$LINENO: result: no" >&5
3280 echo "${ECHO_T}no" >&6; }
3284 test -n "$ac_ct_CXX" && break
3285 done
3287 if test "x$ac_ct_CXX" = x; then
3288 CXX="g++"
3289 else
3290 case $cross_compiling:$ac_tool_warned in
3291 yes:)
3292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3293 whose name does not start with the host triplet. If you think this
3294 configuration is useful to you, please write to autoconf@gnu.org." >&5
3295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3296 whose name does not start with the host triplet. If you think this
3297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3298 ac_tool_warned=yes ;;
3299 esac
3300 CXX=$ac_ct_CXX
3306 # Provide some information about the compiler.
3307 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3308 ac_compiler=`set X $ac_compile; echo $2`
3309 { (ac_try="$ac_compiler --version >&5"
3310 case "(($ac_try" in
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3313 esac
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler --version >&5") 2>&5
3316 ac_status=$?
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3319 { (ac_try="$ac_compiler -v >&5"
3320 case "(($ac_try" in
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3323 esac
3324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compiler -v >&5") 2>&5
3326 ac_status=$?
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }
3329 { (ac_try="$ac_compiler -V >&5"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compiler -V >&5") 2>&5
3336 ac_status=$?
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }
3340 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3341 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 else
3345 cat >conftest.$ac_ext <<_ACEOF
3346 /* confdefs.h. */
3347 _ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3353 main ()
3355 #ifndef __GNUC__
3356 choke me
3357 #endif
3360 return 0;
3362 _ACEOF
3363 rm -f conftest.$ac_objext
3364 if { (ac_try="$ac_compile"
3365 case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3368 esac
3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3371 ac_status=$?
3372 grep -v '^ *+' conftest.er1 >conftest.err
3373 rm -f conftest.er1
3374 cat conftest.err >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_cxx_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3380 ac_compiler_gnu=yes
3381 else
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 ac_compiler_gnu=no
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3392 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3394 GXX=`test $ac_compiler_gnu = yes && echo yes`
3395 ac_test_CXXFLAGS=${CXXFLAGS+set}
3396 ac_save_CXXFLAGS=$CXXFLAGS
3397 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3398 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3399 if test "${ac_cv_prog_cxx_g+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3403 ac_cxx_werror_flag=yes
3404 ac_cv_prog_cxx_g=no
3405 CXXFLAGS="-g"
3406 cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h. */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3414 main ()
3418 return 0;
3420 _ACEOF
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3423 case "(($ac_try" in
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3426 esac
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3429 ac_status=$?
3430 grep -v '^ *+' conftest.er1 >conftest.err
3431 rm -f conftest.er1
3432 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_cxx_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3438 ac_cv_prog_cxx_g=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 CXXFLAGS=""
3444 cat >conftest.$ac_ext <<_ACEOF
3445 /* confdefs.h. */
3446 _ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3452 main ()
3456 return 0;
3458 _ACEOF
3459 rm -f conftest.$ac_objext
3460 if { (ac_try="$ac_compile"
3461 case "(($ac_try" in
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3464 esac
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3467 ac_status=$?
3468 grep -v '^ *+' conftest.er1 >conftest.err
3469 rm -f conftest.er1
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_cxx_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3477 else
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3482 CXXFLAGS="-g"
3483 cat >conftest.$ac_ext <<_ACEOF
3484 /* confdefs.h. */
3485 _ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3491 main ()
3495 return 0;
3497 _ACEOF
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_cxx_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cxx_g=yes
3516 else
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3534 if test "$ac_test_CXXFLAGS" = set; then
3535 CXXFLAGS=$ac_save_CXXFLAGS
3536 elif test $ac_cv_prog_cxx_g = yes; then
3537 if test "$GXX" = yes; then
3538 CXXFLAGS="-g -O2"
3539 else
3540 CXXFLAGS="-g"
3542 else
3543 if test "$GXX" = yes; then
3544 CXXFLAGS="-O2"
3545 else
3546 CXXFLAGS=
3549 ac_ext=c
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -n "$CPPBIN"; then
3564 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 CPPBIN=$ac_cv_prog_CPPBIN
3584 if test -n "$CPPBIN"; then
3585 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3586 echo "${ECHO_T}$CPPBIN" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3594 if test -z "$ac_cv_prog_CPPBIN"; then
3595 ac_ct_CPPBIN=$CPPBIN
3596 # Extract the first word of "cpp", so it can be a program name with args.
3597 set dummy cpp; ac_word=$2
3598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3600 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 if test -n "$ac_ct_CPPBIN"; then
3604 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CPPBIN="cpp"
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3624 if test -n "$ac_ct_CPPBIN"; then
3625 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3626 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3627 else
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3632 if test "x$ac_ct_CPPBIN" = x; then
3633 CPPBIN="cpp"
3634 else
3635 case $cross_compiling:$ac_tool_warned in
3636 yes:)
3637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3638 whose name does not start with the host triplet. If you think this
3639 configuration is useful to you, please write to autoconf@gnu.org." >&5
3640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3641 whose name does not start with the host triplet. If you think this
3642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645 CPPBIN=$ac_ct_CPPBIN
3647 else
3648 CPPBIN="$ac_cv_prog_CPPBIN"
3652 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3653 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3654 if test "${wine_cv_toolsdir+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 else
3657 if test -z "$with_wine_tools"; then
3658 if test "$cross_compiling" = "yes"; then
3659 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3660 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3661 { (exit 1); exit 1; }; }
3662 else
3663 wine_cv_toolsdir="\$(TOPOBJDIR)"
3665 elif test -d "$with_wine_tools/tools/winebuild"; then
3666 case $with_wine_tools in
3667 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3668 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3669 esac
3670 else
3671 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3672 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3673 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3677 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3678 TOOLSDIR=$wine_cv_toolsdir
3682 ac_ext=c
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3688 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3689 # On Suns, sometimes $CPP names a directory.
3690 if test -n "$CPP" && test -d "$CPP"; then
3691 CPP=
3693 if test -z "$CPP"; then
3694 if test "${ac_cv_prog_CPP+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 else
3697 # Double quotes because CPP needs to be expanded
3698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3700 ac_preproc_ok=false
3701 for ac_c_preproc_warn_flag in '' yes
3703 # Use a header file that comes with gcc, so configuring glibc
3704 # with a fresh cross-compiler works.
3705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706 # <limits.h> exists even on freestanding compilers.
3707 # On the NeXT, cc -E runs the code through the compiler's parser,
3708 # not just through cpp. "Syntax error" is here to catch this case.
3709 cat >conftest.$ac_ext <<_ACEOF
3710 /* confdefs.h. */
3711 _ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3715 #ifdef __STDC__
3716 # include <limits.h>
3717 #else
3718 # include <assert.h>
3719 #endif
3720 Syntax error
3721 _ACEOF
3722 if { (ac_try="$ac_cpp conftest.$ac_ext"
3723 case "(($ac_try" in
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3726 esac
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729 ac_status=$?
3730 grep -v '^ *+' conftest.er1 >conftest.err
3731 rm -f conftest.er1
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } >/dev/null && {
3735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3736 test ! -s conftest.err
3737 }; then
3739 else
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 # Broken: fails on valid input.
3744 continue
3747 rm -f conftest.err conftest.$ac_ext
3749 # OK, works on sane cases. Now check whether nonexistent headers
3750 # can be detected and how.
3751 cat >conftest.$ac_ext <<_ACEOF
3752 /* confdefs.h. */
3753 _ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3757 #include <ac_nonexistent.h>
3758 _ACEOF
3759 if { (ac_try="$ac_cpp conftest.$ac_ext"
3760 case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763 esac
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3766 ac_status=$?
3767 grep -v '^ *+' conftest.er1 >conftest.err
3768 rm -f conftest.er1
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } >/dev/null && {
3772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 }; then
3775 # Broken: success on invalid input.
3776 continue
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 # Passes both tests.
3782 ac_preproc_ok=:
3783 break
3786 rm -f conftest.err conftest.$ac_ext
3788 done
3789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3790 rm -f conftest.err conftest.$ac_ext
3791 if $ac_preproc_ok; then
3792 break
3795 done
3796 ac_cv_prog_CPP=$CPP
3799 CPP=$ac_cv_prog_CPP
3800 else
3801 ac_cv_prog_CPP=$CPP
3803 { echo "$as_me:$LINENO: result: $CPP" >&5
3804 echo "${ECHO_T}$CPP" >&6; }
3805 ac_preproc_ok=false
3806 for ac_c_preproc_warn_flag in '' yes
3808 # Use a header file that comes with gcc, so configuring glibc
3809 # with a fresh cross-compiler works.
3810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3811 # <limits.h> exists even on freestanding compilers.
3812 # On the NeXT, cc -E runs the code through the compiler's parser,
3813 # not just through cpp. "Syntax error" is here to catch this case.
3814 cat >conftest.$ac_ext <<_ACEOF
3815 /* confdefs.h. */
3816 _ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3820 #ifdef __STDC__
3821 # include <limits.h>
3822 #else
3823 # include <assert.h>
3824 #endif
3825 Syntax error
3826 _ACEOF
3827 if { (ac_try="$ac_cpp conftest.$ac_ext"
3828 case "(($ac_try" in
3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3831 esac
3832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3834 ac_status=$?
3835 grep -v '^ *+' conftest.er1 >conftest.err
3836 rm -f conftest.er1
3837 cat conftest.err >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } >/dev/null && {
3840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841 test ! -s conftest.err
3842 }; then
3844 else
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 # Broken: fails on valid input.
3849 continue
3852 rm -f conftest.err conftest.$ac_ext
3854 # OK, works on sane cases. Now check whether nonexistent headers
3855 # can be detected and how.
3856 cat >conftest.$ac_ext <<_ACEOF
3857 /* confdefs.h. */
3858 _ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 #include <ac_nonexistent.h>
3863 _ACEOF
3864 if { (ac_try="$ac_cpp conftest.$ac_ext"
3865 case "(($ac_try" in
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3868 esac
3869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3871 ac_status=$?
3872 grep -v '^ *+' conftest.er1 >conftest.err
3873 rm -f conftest.er1
3874 cat conftest.err >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } >/dev/null && {
3877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3879 }; then
3880 # Broken: success on invalid input.
3881 continue
3882 else
3883 echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3886 # Passes both tests.
3887 ac_preproc_ok=:
3888 break
3891 rm -f conftest.err conftest.$ac_ext
3893 done
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.$ac_ext
3896 if $ac_preproc_ok; then
3898 else
3899 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details." >&5
3901 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details." >&2;}
3903 { (exit 1); exit 1; }; }
3906 ac_ext=c
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 { echo "$as_me:$LINENO: checking for X" >&5
3914 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3917 # Check whether --with-x was given.
3918 if test "${with_x+set}" = set; then
3919 withval=$with_x;
3922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3923 if test "x$with_x" = xno; then
3924 # The user explicitly disabled X.
3925 have_x=disabled
3926 else
3927 case $x_includes,$x_libraries in #(
3928 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3929 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3930 { (exit 1); exit 1; }; };; #(
3931 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 else
3934 # One or both of the vars are not set, and there is no cached value.
3935 ac_x_includes=no ac_x_libraries=no
3936 rm -f -r conftest.dir
3937 if mkdir conftest.dir; then
3938 cd conftest.dir
3939 cat >Imakefile <<'_ACEOF'
3940 incroot:
3941 @echo incroot='${INCROOT}'
3942 usrlibdir:
3943 @echo usrlibdir='${USRLIBDIR}'
3944 libdir:
3945 @echo libdir='${LIBDIR}'
3946 _ACEOF
3947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3949 for ac_var in incroot usrlibdir libdir; do
3950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3951 done
3952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3953 for ac_extension in a so sl; do
3954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3956 ac_im_usrlibdir=$ac_im_libdir; break
3958 done
3959 # Screen out bogus values from the imake configuration. They are
3960 # bogus both because they are the default anyway, and because
3961 # using them would break gcc on systems where it needs fixed includes.
3962 case $ac_im_incroot in
3963 /usr/include) ac_x_includes= ;;
3964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3965 esac
3966 case $ac_im_usrlibdir in
3967 /usr/lib | /lib) ;;
3968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3969 esac
3971 cd ..
3972 rm -f -r conftest.dir
3975 # Standard set of common directories for X headers.
3976 # Check X11 before X11Rn because it is often a symlink to the current release.
3977 ac_x_header_dirs='
3978 /usr/X11/include
3979 /usr/X11R6/include
3980 /usr/X11R5/include
3981 /usr/X11R4/include
3983 /usr/include/X11
3984 /usr/include/X11R6
3985 /usr/include/X11R5
3986 /usr/include/X11R4
3988 /usr/local/X11/include
3989 /usr/local/X11R6/include
3990 /usr/local/X11R5/include
3991 /usr/local/X11R4/include
3993 /usr/local/include/X11
3994 /usr/local/include/X11R6
3995 /usr/local/include/X11R5
3996 /usr/local/include/X11R4
3998 /usr/X386/include
3999 /usr/x386/include
4000 /usr/XFree86/include/X11
4002 /usr/include
4003 /usr/local/include
4004 /usr/unsupported/include
4005 /usr/athena/include
4006 /usr/local/x11r5/include
4007 /usr/lpp/Xamples/include
4009 /usr/openwin/include
4010 /usr/openwin/share/include'
4012 if test "$ac_x_includes" = no; then
4013 # Guess where to find include files, by looking for Xlib.h.
4014 # First, try using that file with no special directory specified.
4015 cat >conftest.$ac_ext <<_ACEOF
4016 /* confdefs.h. */
4017 _ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021 #include <X11/Xlib.h>
4022 _ACEOF
4023 if { (ac_try="$ac_cpp conftest.$ac_ext"
4024 case "(($ac_try" in
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4027 esac
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4030 ac_status=$?
4031 grep -v '^ *+' conftest.er1 >conftest.err
4032 rm -f conftest.er1
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev/null && {
4036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4037 test ! -s conftest.err
4038 }; then
4039 # We can compile using X headers with no special include directory.
4040 ac_x_includes=
4041 else
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 for ac_dir in $ac_x_header_dirs; do
4046 if test -r "$ac_dir/X11/Xlib.h"; then
4047 ac_x_includes=$ac_dir
4048 break
4050 done
4053 rm -f conftest.err conftest.$ac_ext
4054 fi # $ac_x_includes = no
4056 if test "$ac_x_libraries" = no; then
4057 # Check for the libraries.
4058 # See if we find them without any special options.
4059 # Don't add to $LIBS permanently.
4060 ac_save_LIBS=$LIBS
4061 LIBS="-lX11 $LIBS"
4062 cat >conftest.$ac_ext <<_ACEOF
4063 /* confdefs.h. */
4064 _ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 #include <X11/Xlib.h>
4070 main ()
4072 XrmInitialize ()
4074 return 0;
4076 _ACEOF
4077 rm -f conftest.$ac_objext conftest$ac_exeext
4078 if { (ac_try="$ac_link"
4079 case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4082 esac
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_link") 2>conftest.er1
4085 ac_status=$?
4086 grep -v '^ *+' conftest.er1 >conftest.err
4087 rm -f conftest.er1
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest$ac_exeext &&
4094 $as_test_x conftest$ac_exeext; then
4095 LIBS=$ac_save_LIBS
4096 # We can link X programs with no special library path.
4097 ac_x_libraries=
4098 else
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 LIBS=$ac_save_LIBS
4103 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4105 # Don't even attempt the hair of trying to link an X program!
4106 for ac_extension in a so sl; do
4107 if test -r "$ac_dir/libX11.$ac_extension"; then
4108 ac_x_libraries=$ac_dir
4109 break 2
4111 done
4112 done
4115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116 conftest$ac_exeext conftest.$ac_ext
4117 fi # $ac_x_libraries = no
4119 case $ac_x_includes,$ac_x_libraries in #(
4120 no,* | *,no | *\'*)
4121 # Didn't find X, or a directory has "'" in its name.
4122 ac_cv_have_x="have_x=no";; #(
4124 # Record where we found X for the cache.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$ac_x_includes'\
4127 ac_x_libraries='$ac_x_libraries'"
4128 esac
4130 ;; #(
4131 *) have_x=yes;;
4132 esac
4133 eval "$ac_cv_have_x"
4134 fi # $with_x != no
4136 if test "$have_x" != yes; then
4137 { echo "$as_me:$LINENO: result: $have_x" >&5
4138 echo "${ECHO_T}$have_x" >&6; }
4139 no_x=yes
4140 else
4141 # If each of the values was on the command line, it overrides each guess.
4142 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4143 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4144 # Update the cache value to reflect the command line values.
4145 ac_cv_have_x="have_x=yes\
4146 ac_x_includes='$x_includes'\
4147 ac_x_libraries='$x_libraries'"
4148 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4149 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4152 if test "$no_x" = yes; then
4153 # Not all programs may use this symbol, but it does not hurt to define it.
4155 cat >>confdefs.h <<\_ACEOF
4156 #define X_DISPLAY_MISSING 1
4157 _ACEOF
4159 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4160 else
4161 if test -n "$x_includes"; then
4162 X_CFLAGS="$X_CFLAGS -I$x_includes"
4165 # It would also be nice to do this for all -L options, not just this one.
4166 if test -n "$x_libraries"; then
4167 X_LIBS="$X_LIBS -L$x_libraries"
4168 # For Solaris; some versions of Sun CC require a space after -R and
4169 # others require no space. Words are not sufficient . . . .
4170 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4171 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4172 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4173 ac_xsave_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4175 cat >conftest.$ac_ext <<_ACEOF
4176 /* confdefs.h. */
4177 _ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4198 ac_status=$?
4199 grep -v '^ *+' conftest.er1 >conftest.err
4200 rm -f conftest.er1
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 { echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6; }
4210 X_LIBS="$X_LIBS -R$x_libraries"
4211 else
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 LIBS="$ac_xsave_LIBS -R $x_libraries"
4216 cat >conftest.$ac_ext <<_ACEOF
4217 /* confdefs.h. */
4218 _ACEOF
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 rm -f conftest.$ac_objext conftest$ac_exeext
4232 if { (ac_try="$ac_link"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238 (eval "$ac_link") 2>conftest.er1
4239 ac_status=$?
4240 grep -v '^ *+' conftest.er1 >conftest.err
4241 rm -f conftest.er1
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest$ac_exeext &&
4248 $as_test_x conftest$ac_exeext; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 X_LIBS="$X_LIBS -R $x_libraries"
4252 else
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 { echo "$as_me:$LINENO: result: neither works" >&5
4257 echo "${ECHO_T}neither works" >&6; }
4260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4261 conftest$ac_exeext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4265 conftest$ac_exeext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_xsave_c_werror_flag
4267 LIBS=$ac_xsave_LIBS
4270 # Check for system-dependent libraries X programs must link with.
4271 # Do this before checking for the system-independent R6 libraries
4272 # (-lICE), since we may need -lsocket or whatever for X linking.
4274 if test "$ISC" = yes; then
4275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4276 else
4277 # Martyn Johnson says this is needed for Ultrix, if the X
4278 # libraries were built with DECnet support. And Karl Berry says
4279 # the Alpha needs dnet_stub (dnet does not exist).
4280 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4281 cat >conftest.$ac_ext <<_ACEOF
4282 /* confdefs.h. */
4283 _ACEOF
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4291 #ifdef __cplusplus
4292 extern "C"
4293 #endif
4294 char XOpenDisplay ();
4296 main ()
4298 return XOpenDisplay ();
4300 return 0;
4302 _ACEOF
4303 rm -f conftest.$ac_objext conftest$ac_exeext
4304 if { (ac_try="$ac_link"
4305 case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4308 esac
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_link") 2>conftest.er1
4311 ac_status=$?
4312 grep -v '^ *+' conftest.er1 >conftest.err
4313 rm -f conftest.er1
4314 cat conftest.err >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && {
4317 test -z "$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4319 } && test -s conftest$ac_exeext &&
4320 $as_test_x conftest$ac_exeext; then
4322 else
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.$ac_ext >&5
4326 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 else
4331 ac_check_lib_save_LIBS=$LIBS
4332 LIBS="-ldnet $LIBS"
4333 cat >conftest.$ac_ext <<_ACEOF
4334 /* confdefs.h. */
4335 _ACEOF
4336 cat confdefs.h >>conftest.$ac_ext
4337 cat >>conftest.$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4343 #ifdef __cplusplus
4344 extern "C"
4345 #endif
4346 char dnet_ntoa ();
4348 main ()
4350 return dnet_ntoa ();
4352 return 0;
4354 _ACEOF
4355 rm -f conftest.$ac_objext conftest$ac_exeext
4356 if { (ac_try="$ac_link"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_link") 2>conftest.er1
4363 ac_status=$?
4364 grep -v '^ *+' conftest.er1 >conftest.err
4365 rm -f conftest.er1
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest$ac_exeext &&
4372 $as_test_x conftest$ac_exeext; then
4373 ac_cv_lib_dnet_dnet_ntoa=yes
4374 else
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 ac_cv_lib_dnet_dnet_ntoa=no
4381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4382 conftest$ac_exeext conftest.$ac_ext
4383 LIBS=$ac_check_lib_save_LIBS
4385 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4386 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4387 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4388 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4391 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4392 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4393 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4394 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 else
4397 ac_check_lib_save_LIBS=$LIBS
4398 LIBS="-ldnet_stub $LIBS"
4399 cat >conftest.$ac_ext <<_ACEOF
4400 /* confdefs.h. */
4401 _ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4406 /* Override any GCC internal prototype to avoid an error.
4407 Use char because int might match the return type of a GCC
4408 builtin and then its argument prototype would still apply. */
4409 #ifdef __cplusplus
4410 extern "C"
4411 #endif
4412 char dnet_ntoa ();
4414 main ()
4416 return dnet_ntoa ();
4418 return 0;
4420 _ACEOF
4421 rm -f conftest.$ac_objext conftest$ac_exeext
4422 if { (ac_try="$ac_link"
4423 case "(($ac_try" in
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4426 esac
4427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4428 (eval "$ac_link") 2>conftest.er1
4429 ac_status=$?
4430 grep -v '^ *+' conftest.er1 >conftest.err
4431 rm -f conftest.er1
4432 cat conftest.err >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } && {
4435 test -z "$ac_c_werror_flag" ||
4436 test ! -s conftest.err
4437 } && test -s conftest$ac_exeext &&
4438 $as_test_x conftest$ac_exeext; then
4439 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4440 else
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.$ac_ext >&5
4444 ac_cv_lib_dnet_stub_dnet_ntoa=no
4447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4448 conftest$ac_exeext conftest.$ac_ext
4449 LIBS=$ac_check_lib_save_LIBS
4451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4452 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4453 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4454 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4461 conftest$ac_exeext conftest.$ac_ext
4462 LIBS="$ac_xsave_LIBS"
4464 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4465 # to get the SysV transport functions.
4466 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4467 # needs -lnsl.
4468 # The nsl library prevents programs from opening the X display
4469 # on Irix 5.2, according to T.E. Dickey.
4470 # The functions gethostbyname, getservbyname, and inet_addr are
4471 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4472 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4473 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4474 if test "${ac_cv_func_gethostbyname+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 else
4477 cat >conftest.$ac_ext <<_ACEOF
4478 /* confdefs.h. */
4479 _ACEOF
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4485 #define gethostbyname innocuous_gethostbyname
4487 /* System header to define __stub macros and hopefully few prototypes,
4488 which can conflict with char gethostbyname (); below.
4489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4490 <limits.h> exists even on freestanding compilers. */
4492 #ifdef __STDC__
4493 # include <limits.h>
4494 #else
4495 # include <assert.h>
4496 #endif
4498 #undef gethostbyname
4500 /* Override any GCC internal prototype to avoid an error.
4501 Use char because int might match the return type of a GCC
4502 builtin and then its argument prototype would still apply. */
4503 #ifdef __cplusplus
4504 extern "C"
4505 #endif
4506 char gethostbyname ();
4507 /* The GNU C library defines this for functions which it implements
4508 to always fail with ENOSYS. Some functions are actually named
4509 something starting with __ and the normal name is an alias. */
4510 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4511 choke me
4512 #endif
4515 main ()
4517 return gethostbyname ();
4519 return 0;
4521 _ACEOF
4522 rm -f conftest.$ac_objext conftest$ac_exeext
4523 if { (ac_try="$ac_link"
4524 case "(($ac_try" in
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4527 esac
4528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4529 (eval "$ac_link") 2>conftest.er1
4530 ac_status=$?
4531 grep -v '^ *+' conftest.er1 >conftest.err
4532 rm -f conftest.er1
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest$ac_exeext &&
4539 $as_test_x conftest$ac_exeext; then
4540 ac_cv_func_gethostbyname=yes
4541 else
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4545 ac_cv_func_gethostbyname=no
4548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4549 conftest$ac_exeext conftest.$ac_ext
4551 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4552 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4554 if test $ac_cv_func_gethostbyname = no; then
4555 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 else
4560 ac_check_lib_save_LIBS=$LIBS
4561 LIBS="-lnsl $LIBS"
4562 cat >conftest.$ac_ext <<_ACEOF
4563 /* confdefs.h. */
4564 _ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4572 #ifdef __cplusplus
4573 extern "C"
4574 #endif
4575 char gethostbyname ();
4577 main ()
4579 return gethostbyname ();
4581 return 0;
4583 _ACEOF
4584 rm -f conftest.$ac_objext conftest$ac_exeext
4585 if { (ac_try="$ac_link"
4586 case "(($ac_try" in
4587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4589 esac
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_link") 2>conftest.er1
4592 ac_status=$?
4593 grep -v '^ *+' conftest.er1 >conftest.err
4594 rm -f conftest.er1
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest$ac_exeext &&
4601 $as_test_x conftest$ac_exeext; then
4602 ac_cv_lib_nsl_gethostbyname=yes
4603 else
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4607 ac_cv_lib_nsl_gethostbyname=no
4610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4611 conftest$ac_exeext conftest.$ac_ext
4612 LIBS=$ac_check_lib_save_LIBS
4614 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4615 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4616 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4620 if test $ac_cv_lib_nsl_gethostbyname = no; then
4621 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4622 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4623 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 else
4626 ac_check_lib_save_LIBS=$LIBS
4627 LIBS="-lbsd $LIBS"
4628 cat >conftest.$ac_ext <<_ACEOF
4629 /* confdefs.h. */
4630 _ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4638 #ifdef __cplusplus
4639 extern "C"
4640 #endif
4641 char gethostbyname ();
4643 main ()
4645 return gethostbyname ();
4647 return 0;
4649 _ACEOF
4650 rm -f conftest.$ac_objext conftest$ac_exeext
4651 if { (ac_try="$ac_link"
4652 case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_link") 2>conftest.er1
4658 ac_status=$?
4659 grep -v '^ *+' conftest.er1 >conftest.err
4660 rm -f conftest.er1
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest$ac_exeext &&
4667 $as_test_x conftest$ac_exeext; then
4668 ac_cv_lib_bsd_gethostbyname=yes
4669 else
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_bsd_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4682 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4689 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4690 # socket/setsockopt and other routines are undefined under SCO ODT
4691 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4692 # on later versions), says Simon Leinen: it contains gethostby*
4693 # variants that don't use the name server (or something). -lsocket
4694 # must be given before -lnsl if both are needed. We assume that
4695 # if connect needs -lnsl, so does gethostbyname.
4696 { echo "$as_me:$LINENO: checking for connect" >&5
4697 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4698 if test "${ac_cv_func_connect+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 cat >conftest.$ac_ext <<_ACEOF
4702 /* confdefs.h. */
4703 _ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4709 #define connect innocuous_connect
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char connect (); below.
4713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4714 <limits.h> exists even on freestanding compilers. */
4716 #ifdef __STDC__
4717 # include <limits.h>
4718 #else
4719 # include <assert.h>
4720 #endif
4722 #undef connect
4724 /* Override any GCC internal prototype to avoid an error.
4725 Use char because int might match the return type of a GCC
4726 builtin and then its argument prototype would still apply. */
4727 #ifdef __cplusplus
4728 extern "C"
4729 #endif
4730 char connect ();
4731 /* The GNU C library defines this for functions which it implements
4732 to always fail with ENOSYS. Some functions are actually named
4733 something starting with __ and the normal name is an alias. */
4734 #if defined __stub_connect || defined __stub___connect
4735 choke me
4736 #endif
4739 main ()
4741 return connect ();
4743 return 0;
4745 _ACEOF
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_func_connect=yes
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_func_connect=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4775 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4776 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4778 if test $ac_cv_func_connect = no; then
4779 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4780 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4781 if test "${ac_cv_lib_socket_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 else
4784 ac_check_lib_save_LIBS=$LIBS
4785 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4786 cat >conftest.$ac_ext <<_ACEOF
4787 /* confdefs.h. */
4788 _ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char connect ();
4801 main ()
4803 return connect ();
4805 return 0;
4807 _ACEOF
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (ac_try="$ac_link"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_lib_socket_connect=yes
4827 else
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 ac_cv_lib_socket_connect=no
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4836 LIBS=$ac_check_lib_save_LIBS
4838 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4840 if test $ac_cv_lib_socket_connect = yes; then
4841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4846 # Guillermo Gomez says -lposix is necessary on A/UX.
4847 { echo "$as_me:$LINENO: checking for remove" >&5
4848 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4849 if test "${ac_cv_func_remove+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 cat >conftest.$ac_ext <<_ACEOF
4853 /* confdefs.h. */
4854 _ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4860 #define remove innocuous_remove
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char remove (); below.
4864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4865 <limits.h> exists even on freestanding compilers. */
4867 #ifdef __STDC__
4868 # include <limits.h>
4869 #else
4870 # include <assert.h>
4871 #endif
4873 #undef remove
4875 /* Override any GCC internal prototype to avoid an error.
4876 Use char because int might match the return type of a GCC
4877 builtin and then its argument prototype would still apply. */
4878 #ifdef __cplusplus
4879 extern "C"
4880 #endif
4881 char remove ();
4882 /* The GNU C library defines this for functions which it implements
4883 to always fail with ENOSYS. Some functions are actually named
4884 something starting with __ and the normal name is an alias. */
4885 #if defined __stub_remove || defined __stub___remove
4886 choke me
4887 #endif
4890 main ()
4892 return remove ();
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_func_remove=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_func_remove=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4926 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4927 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4929 if test $ac_cv_func_remove = no; then
4930 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4931 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4932 if test "${ac_cv_lib_posix_remove+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 else
4935 ac_check_lib_save_LIBS=$LIBS
4936 LIBS="-lposix $LIBS"
4937 cat >conftest.$ac_ext <<_ACEOF
4938 /* confdefs.h. */
4939 _ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any GCC internal prototype to avoid an error.
4945 Use char because int might match the return type of a GCC
4946 builtin and then its argument prototype would still apply. */
4947 #ifdef __cplusplus
4948 extern "C"
4949 #endif
4950 char remove ();
4952 main ()
4954 return remove ();
4956 return 0;
4958 _ACEOF
4959 rm -f conftest.$ac_objext conftest$ac_exeext
4960 if { (ac_try="$ac_link"
4961 case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964 esac
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4967 ac_status=$?
4968 grep -v '^ *+' conftest.er1 >conftest.err
4969 rm -f conftest.er1
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest$ac_exeext &&
4976 $as_test_x conftest$ac_exeext; then
4977 ac_cv_lib_posix_remove=yes
4978 else
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_lib_posix_remove=no
4985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986 conftest$ac_exeext conftest.$ac_ext
4987 LIBS=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4990 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4991 if test $ac_cv_lib_posix_remove = yes; then
4992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4998 { echo "$as_me:$LINENO: checking for shmat" >&5
4999 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5000 if test "${ac_cv_func_shmat+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 cat >conftest.$ac_ext <<_ACEOF
5004 /* confdefs.h. */
5005 _ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5011 #define shmat innocuous_shmat
5013 /* System header to define __stub macros and hopefully few prototypes,
5014 which can conflict with char shmat (); below.
5015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 <limits.h> exists even on freestanding compilers. */
5018 #ifdef __STDC__
5019 # include <limits.h>
5020 #else
5021 # include <assert.h>
5022 #endif
5024 #undef shmat
5026 /* Override any GCC internal prototype to avoid an error.
5027 Use char because int might match the return type of a GCC
5028 builtin and then its argument prototype would still apply. */
5029 #ifdef __cplusplus
5030 extern "C"
5031 #endif
5032 char shmat ();
5033 /* The GNU C library defines this for functions which it implements
5034 to always fail with ENOSYS. Some functions are actually named
5035 something starting with __ and the normal name is an alias. */
5036 #if defined __stub_shmat || defined __stub___shmat
5037 choke me
5038 #endif
5041 main ()
5043 return shmat ();
5045 return 0;
5047 _ACEOF
5048 rm -f conftest.$ac_objext conftest$ac_exeext
5049 if { (ac_try="$ac_link"
5050 case "(($ac_try" in
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5053 esac
5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_link") 2>conftest.er1
5056 ac_status=$?
5057 grep -v '^ *+' conftest.er1 >conftest.err
5058 rm -f conftest.er1
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest$ac_exeext &&
5065 $as_test_x conftest$ac_exeext; then
5066 ac_cv_func_shmat=yes
5067 else
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 ac_cv_func_shmat=no
5074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5075 conftest$ac_exeext conftest.$ac_ext
5077 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5078 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5080 if test $ac_cv_func_shmat = no; then
5081 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5082 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else
5086 ac_check_lib_save_LIBS=$LIBS
5087 LIBS="-lipc $LIBS"
5088 cat >conftest.$ac_ext <<_ACEOF
5089 /* confdefs.h. */
5090 _ACEOF
5091 cat confdefs.h >>conftest.$ac_ext
5092 cat >>conftest.$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5095 /* Override any GCC internal prototype to avoid an error.
5096 Use char because int might match the return type of a GCC
5097 builtin and then its argument prototype would still apply. */
5098 #ifdef __cplusplus
5099 extern "C"
5100 #endif
5101 char shmat ();
5103 main ()
5105 return shmat ();
5107 return 0;
5109 _ACEOF
5110 rm -f conftest.$ac_objext conftest$ac_exeext
5111 if { (ac_try="$ac_link"
5112 case "(($ac_try" in
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5115 esac
5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117 (eval "$ac_link") 2>conftest.er1
5118 ac_status=$?
5119 grep -v '^ *+' conftest.er1 >conftest.err
5120 rm -f conftest.er1
5121 cat conftest.err >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } && {
5124 test -z "$ac_c_werror_flag" ||
5125 test ! -s conftest.err
5126 } && test -s conftest$ac_exeext &&
5127 $as_test_x conftest$ac_exeext; then
5128 ac_cv_lib_ipc_shmat=yes
5129 else
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_cv_lib_ipc_shmat=no
5136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5137 conftest$ac_exeext conftest.$ac_ext
5138 LIBS=$ac_check_lib_save_LIBS
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5142 if test $ac_cv_lib_ipc_shmat = yes; then
5143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5149 # Check for libraries that X11R6 Xt/Xaw programs need.
5150 ac_save_LDFLAGS=$LDFLAGS
5151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5153 # check for ICE first), but we must link in the order -lSM -lICE or
5154 # we get undefined symbols. So assume we have SM if we have ICE.
5155 # These have to be linked with before -lX11, unlike the other
5156 # libraries we check for below, so use a different variable.
5157 # John Interrante, Karl Berry
5158 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163 ac_check_lib_save_LIBS=$LIBS
5164 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5165 cat >conftest.$ac_ext <<_ACEOF
5166 /* confdefs.h. */
5167 _ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5175 #ifdef __cplusplus
5176 extern "C"
5177 #endif
5178 char IceConnectionNumber ();
5180 main ()
5182 return IceConnectionNumber ();
5184 return 0;
5186 _ACEOF
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5189 case "(($ac_try" in
5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191 *) ac_try_echo=$ac_try;;
5192 esac
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5195 ac_status=$?
5196 grep -v '^ *+' conftest.er1 >conftest.err
5197 rm -f conftest.er1
5198 cat conftest.err >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } && {
5201 test -z "$ac_c_werror_flag" ||
5202 test ! -s conftest.err
5203 } && test -s conftest$ac_exeext &&
5204 $as_test_x conftest$ac_exeext; then
5205 ac_cv_lib_ICE_IceConnectionNumber=yes
5206 else
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 ac_cv_lib_ICE_IceConnectionNumber=no
5213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5214 conftest$ac_exeext conftest.$ac_ext
5215 LIBS=$ac_check_lib_save_LIBS
5217 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5220 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5223 LDFLAGS=$ac_save_LDFLAGS
5228 for ac_prog in flex
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy $ac_prog; ac_word=$2
5232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5234 if test "${ac_cv_prog_FLEX+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 else
5237 if test -n "$FLEX"; then
5238 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_prog_FLEX="$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 FLEX=$ac_cv_prog_FLEX
5258 if test -n "$FLEX"; then
5259 { echo "$as_me:$LINENO: result: $FLEX" >&5
5260 echo "${ECHO_T}$FLEX" >&6; }
5261 else
5262 { echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6; }
5267 test -n "$FLEX" && break
5268 done
5269 test -n "$FLEX" || FLEX="none"
5271 if test "$FLEX" = "none"
5272 then
5273 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5274 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5275 { (exit 1); exit 1; }; }
5278 for ac_prog in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284 if test "${ac_cv_prog_BISON+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 else
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_BISON="$ac_prog"
5298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 BISON=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { echo "$as_me:$LINENO: result: $BISON" >&5
5310 echo "${ECHO_T}$BISON" >&6; }
5311 else
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5317 test -n "$BISON" && break
5318 done
5319 test -n "$BISON" || BISON="none"
5321 if test "$BISON" = "none"
5322 then
5323 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5324 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5325 { (exit 1); exit 1; }; }
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog in gas as
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5335 if test "${ac_cv_prog_AS+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 else
5338 if test -n "$AS"; then
5339 ac_cv_prog_AS="$AS" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5344 IFS=$as_save_IFS
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 break 2
5352 done
5353 done
5354 IFS=$as_save_IFS
5358 AS=$ac_cv_prog_AS
5359 if test -n "$AS"; then
5360 { echo "$as_me:$LINENO: result: $AS" >&5
5361 echo "${ECHO_T}$AS" >&6; }
5362 else
5363 { echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6; }
5368 test -n "$AS" && break
5369 done
5371 if test -z "$AS"; then
5372 ac_ct_AS=$AS
5373 for ac_prog in gas as
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy $ac_prog; ac_word=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5379 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 else
5382 if test -n "$ac_ct_AS"; then
5383 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_ac_ct_AS="$ac_prog"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5403 if test -n "$ac_ct_AS"; then
5404 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5405 echo "${ECHO_T}$ac_ct_AS" >&6; }
5406 else
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$ac_ct_AS" && break
5413 done
5415 if test "x$ac_ct_AS" = x; then
5416 AS="as"
5417 else
5418 case $cross_compiling:$ac_tool_warned in
5419 yes:)
5420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5421 whose name does not start with the host triplet. If you think this
5422 configuration is useful to you, please write to autoconf@gnu.org." >&5
5423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5424 whose name does not start with the host triplet. If you think this
5425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5426 ac_tool_warned=yes ;;
5427 esac
5428 AS=$ac_ct_AS
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5434 set dummy ${ac_tool_prefix}ld; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_LD+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 else
5440 if test -n "$LD"; then
5441 ac_cv_prog_LD="$LD" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_LD="${ac_tool_prefix}ld"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 LD=$ac_cv_prog_LD
5461 if test -n "$LD"; then
5462 { echo "$as_me:$LINENO: result: $LD" >&5
5463 echo "${ECHO_T}$LD" >&6; }
5464 else
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5471 if test -z "$ac_cv_prog_LD"; then
5472 ac_ct_LD=$LD
5473 # Extract the first word of "ld", so it can be a program name with args.
5474 set dummy ld; ac_word=$2
5475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5477 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 else
5480 if test -n "$ac_ct_LD"; then
5481 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_LD="ld"
5491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5501 if test -n "$ac_ct_LD"; then
5502 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5503 echo "${ECHO_T}$ac_ct_LD" >&6; }
5504 else
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5509 if test "x$ac_ct_LD" = x; then
5510 LD="ld"
5511 else
5512 case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5515 whose name does not start with the host triplet. If you think this
5516 configuration is useful to you, please write to autoconf@gnu.org." >&5
5517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5518 whose name does not start with the host triplet. If you think this
5519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5520 ac_tool_warned=yes ;;
5521 esac
5522 LD=$ac_ct_LD
5524 else
5525 LD="$ac_cv_prog_LD"
5528 if test -n "$ac_tool_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5530 set dummy ${ac_tool_prefix}ar; ac_word=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_AR+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 if test -n "$AR"; then
5537 ac_cv_prog_AR="$AR" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_AR="${ac_tool_prefix}ar"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 AR=$ac_cv_prog_AR
5557 if test -n "$AR"; then
5558 { echo "$as_me:$LINENO: result: $AR" >&5
5559 echo "${ECHO_T}$AR" >&6; }
5560 else
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 if test -z "$ac_cv_prog_AR"; then
5568 ac_ct_AR=$AR
5569 # Extract the first word of "ar", so it can be a program name with args.
5570 set dummy ar; ac_word=$2
5571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5573 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5575 else
5576 if test -n "$ac_ct_AR"; then
5577 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5578 else
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_ac_ct_AR="ar"
5587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5590 done
5591 done
5592 IFS=$as_save_IFS
5596 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5597 if test -n "$ac_ct_AR"; then
5598 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5599 echo "${ECHO_T}$ac_ct_AR" >&6; }
5600 else
5601 { echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6; }
5605 if test "x$ac_ct_AR" = x; then
5606 AR="ar"
5607 else
5608 case $cross_compiling:$ac_tool_warned in
5609 yes:)
5610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5611 whose name does not start with the host triplet. If you think this
5612 configuration is useful to you, please write to autoconf@gnu.org." >&5
5613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5614 whose name does not start with the host triplet. If you think this
5615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5616 ac_tool_warned=yes ;;
5617 esac
5618 AR=$ac_ct_AR
5620 else
5621 AR="$ac_cv_prog_AR"
5624 ARFLAGS=rc
5626 if test -n "$ac_tool_prefix"; then
5627 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5628 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_RANLIB+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 else
5634 if test -n "$RANLIB"; then
5635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5648 done
5649 done
5650 IFS=$as_save_IFS
5654 RANLIB=$ac_cv_prog_RANLIB
5655 if test -n "$RANLIB"; then
5656 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5657 echo "${ECHO_T}$RANLIB" >&6; }
5658 else
5659 { echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6; }
5665 if test -z "$ac_cv_prog_RANLIB"; then
5666 ac_ct_RANLIB=$RANLIB
5667 # Extract the first word of "ranlib", so it can be a program name with args.
5668 set dummy ranlib; ac_word=$2
5669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 else
5674 if test -n "$ac_ct_RANLIB"; then
5675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_ac_ct_RANLIB="ranlib"
5685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5695 if test -n "$ac_ct_RANLIB"; then
5696 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5697 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5698 else
5699 { echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6; }
5703 if test "x$ac_ct_RANLIB" = x; then
5704 RANLIB=":"
5705 else
5706 case $cross_compiling:$ac_tool_warned in
5707 yes:)
5708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5709 whose name does not start with the host triplet. If you think this
5710 configuration is useful to you, please write to autoconf@gnu.org." >&5
5711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5712 whose name does not start with the host triplet. If you think this
5713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5714 ac_tool_warned=yes ;;
5715 esac
5716 RANLIB=$ac_ct_RANLIB
5718 else
5719 RANLIB="$ac_cv_prog_RANLIB"
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5724 set dummy ${ac_tool_prefix}strip; ac_word=$2
5725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5727 if test "${ac_cv_prog_STRIP+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 else
5730 if test -n "$STRIP"; then
5731 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5736 IFS=$as_save_IFS
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 break 2
5744 done
5745 done
5746 IFS=$as_save_IFS
5750 STRIP=$ac_cv_prog_STRIP
5751 if test -n "$STRIP"; then
5752 { echo "$as_me:$LINENO: result: $STRIP" >&5
5753 echo "${ECHO_T}$STRIP" >&6; }
5754 else
5755 { echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6; }
5761 if test -z "$ac_cv_prog_STRIP"; then
5762 ac_ct_STRIP=$STRIP
5763 # Extract the first word of "strip", so it can be a program name with args.
5764 set dummy strip; ac_word=$2
5765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5767 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 else
5770 if test -n "$ac_ct_STRIP"; then
5771 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_ac_ct_STRIP="strip"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5791 if test -n "$ac_ct_STRIP"; then
5792 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5793 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5794 else
5795 { echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6; }
5799 if test "x$ac_ct_STRIP" = x; then
5800 STRIP="strip"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5805 whose name does not start with the host triplet. If you think this
5806 configuration is useful to you, please write to autoconf@gnu.org." >&5
5807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5808 whose name does not start with the host triplet. If you think this
5809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5810 ac_tool_warned=yes ;;
5811 esac
5812 STRIP=$ac_ct_STRIP
5814 else
5815 STRIP="$ac_cv_prog_STRIP"
5818 if test -n "$ac_tool_prefix"; then
5819 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}windres; ac_word=$2
5821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5823 if test "${ac_cv_prog_WINDRES+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 else
5826 if test -n "$WINDRES"; then
5827 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 WINDRES=$ac_cv_prog_WINDRES
5847 if test -n "$WINDRES"; then
5848 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5849 echo "${ECHO_T}$WINDRES" >&6; }
5850 else
5851 { echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6; }
5857 if test -z "$ac_cv_prog_WINDRES"; then
5858 ac_ct_WINDRES=$WINDRES
5859 # Extract the first word of "windres", so it can be a program name with args.
5860 set dummy windres; ac_word=$2
5861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5863 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 else
5866 if test -n "$ac_ct_WINDRES"; then
5867 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5872 IFS=$as_save_IFS
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876 ac_cv_prog_ac_ct_WINDRES="windres"
5877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 break 2
5880 done
5881 done
5882 IFS=$as_save_IFS
5886 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5887 if test -n "$ac_ct_WINDRES"; then
5888 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5889 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5890 else
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5895 if test "x$ac_ct_WINDRES" = x; then
5896 WINDRES="false"
5897 else
5898 case $cross_compiling:$ac_tool_warned in
5899 yes:)
5900 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5901 whose name does not start with the host triplet. If you think this
5902 configuration is useful to you, please write to autoconf@gnu.org." >&5
5903 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5904 whose name does not start with the host triplet. If you think this
5905 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5906 ac_tool_warned=yes ;;
5907 esac
5908 WINDRES=$ac_ct_WINDRES
5910 else
5911 WINDRES="$ac_cv_prog_WINDRES"
5914 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5915 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5916 LN_S=$as_ln_s
5917 if test "$LN_S" = "ln -s"; then
5918 { echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6; }
5920 else
5921 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5922 echo "${ECHO_T}no, using $LN_S" >&6; }
5925 { echo "$as_me:$LINENO: checking whether ln works" >&5
5926 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5927 rm -f conf$$ conf$$.file
5928 echo >conf$$.file
5929 if ln conf$$.file conf$$ 2>/dev/null; then
5930 LN=ln
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5934 else
5935 LN="cp -p"
5937 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5938 echo "${ECHO_T}no, using $LN" >&6; }
5940 rm -f conf$$ conf$$.file
5941 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5942 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5943 if test "${ac_cv_path_GREP+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 else
5946 # Extract the first word of "grep ggrep" to use in msg output
5947 if test -z "$GREP"; then
5948 set dummy grep ggrep; ac_prog_name=$2
5949 if test "${ac_cv_path_GREP+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 else
5952 ac_path_GREP_found=false
5953 # Loop through the user's path and test for each of PROGNAME-LIST
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_prog in grep ggrep; do
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5962 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5963 # Check for GNU ac_path_GREP and select it if it is found.
5964 # Check for GNU $ac_path_GREP
5965 case `"$ac_path_GREP" --version 2>&1` in
5966 *GNU*)
5967 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5969 ac_count=0
5970 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5971 while :
5973 cat "conftest.in" "conftest.in" >"conftest.tmp"
5974 mv "conftest.tmp" "conftest.in"
5975 cp "conftest.in" "conftest.nl"
5976 echo 'GREP' >> "conftest.nl"
5977 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5979 ac_count=`expr $ac_count + 1`
5980 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5981 # Best one so far, save it but keep looking for a better one
5982 ac_cv_path_GREP="$ac_path_GREP"
5983 ac_path_GREP_max=$ac_count
5985 # 10*(2^10) chars as input seems more than enough
5986 test $ac_count -gt 10 && break
5987 done
5988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5989 esac
5992 $ac_path_GREP_found && break 3
5993 done
5994 done
5996 done
5997 IFS=$as_save_IFS
6002 GREP="$ac_cv_path_GREP"
6003 if test -z "$GREP"; then
6004 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6005 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6006 { (exit 1); exit 1; }; }
6009 else
6010 ac_cv_path_GREP=$GREP
6015 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6016 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6017 GREP="$ac_cv_path_GREP"
6020 { echo "$as_me:$LINENO: checking for egrep" >&5
6021 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6022 if test "${ac_cv_path_EGREP+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 else
6025 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6026 then ac_cv_path_EGREP="$GREP -E"
6027 else
6028 # Extract the first word of "egrep" to use in msg output
6029 if test -z "$EGREP"; then
6030 set dummy egrep; ac_prog_name=$2
6031 if test "${ac_cv_path_EGREP+set}" = set; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 else
6034 ac_path_EGREP_found=false
6035 # Loop through the user's path and test for each of PROGNAME-LIST
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6039 IFS=$as_save_IFS
6040 test -z "$as_dir" && as_dir=.
6041 for ac_prog in egrep; do
6042 for ac_exec_ext in '' $ac_executable_extensions; do
6043 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6044 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6045 # Check for GNU ac_path_EGREP and select it if it is found.
6046 # Check for GNU $ac_path_EGREP
6047 case `"$ac_path_EGREP" --version 2>&1` in
6048 *GNU*)
6049 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6051 ac_count=0
6052 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6053 while :
6055 cat "conftest.in" "conftest.in" >"conftest.tmp"
6056 mv "conftest.tmp" "conftest.in"
6057 cp "conftest.in" "conftest.nl"
6058 echo 'EGREP' >> "conftest.nl"
6059 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6060 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6061 ac_count=`expr $ac_count + 1`
6062 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6063 # Best one so far, save it but keep looking for a better one
6064 ac_cv_path_EGREP="$ac_path_EGREP"
6065 ac_path_EGREP_max=$ac_count
6067 # 10*(2^10) chars as input seems more than enough
6068 test $ac_count -gt 10 && break
6069 done
6070 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6071 esac
6074 $ac_path_EGREP_found && break 3
6075 done
6076 done
6078 done
6079 IFS=$as_save_IFS
6084 EGREP="$ac_cv_path_EGREP"
6085 if test -z "$EGREP"; then
6086 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6087 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6088 { (exit 1); exit 1; }; }
6091 else
6092 ac_cv_path_EGREP=$EGREP
6098 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6099 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6100 EGREP="$ac_cv_path_EGREP"
6103 # Extract the first word of "ldconfig", so it can be a program name with args.
6104 set dummy ldconfig; ac_word=$2
6105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6107 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 else
6110 case $LDCONFIG in
6111 [\\/]* | ?:[\\/]*)
6112 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in /sbin /usr/sbin $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6130 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6132 esac
6134 LDCONFIG=$ac_cv_path_LDCONFIG
6135 if test -n "$LDCONFIG"; then
6136 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6137 echo "${ECHO_T}$LDCONFIG" >&6; }
6138 else
6139 { echo "$as_me:$LINENO: result: no" >&5
6140 echo "${ECHO_T}no" >&6; }
6144 # Find a good install program. We prefer a C program (faster),
6145 # so one script is as good as another. But avoid the broken or
6146 # incompatible versions:
6147 # SysV /etc/install, /usr/sbin/install
6148 # SunOS /usr/etc/install
6149 # IRIX /sbin/install
6150 # AIX /bin/install
6151 # AmigaOS /C/install, which installs bootblocks on floppy discs
6152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6155 # OS/2's system install, which has a completely different semantic
6156 # ./install, which can be erroneously created by make from ./install.sh.
6157 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6158 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6159 if test -z "$INSTALL"; then
6160 if test "${ac_cv_path_install+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 else
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 for as_dir in $PATH
6166 IFS=$as_save_IFS
6167 test -z "$as_dir" && as_dir=.
6168 # Account for people who put trailing slashes in PATH elements.
6169 case $as_dir/ in
6170 ./ | .// | /cC/* | \
6171 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6172 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6173 /usr/ucb/* ) ;;
6175 # OSF1 and SCO ODT 3.0 have their own names for install.
6176 # Don't use installbsd from OSF since it installs stuff as root
6177 # by default.
6178 for ac_prog in ginstall scoinst install; do
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6181 if test $ac_prog = install &&
6182 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6183 # AIX install. It has an incompatible calling convention.
6185 elif test $ac_prog = install &&
6186 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6187 # program-specific install script used by HP pwplus--don't use.
6189 else
6190 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6191 break 3
6194 done
6195 done
6197 esac
6198 done
6199 IFS=$as_save_IFS
6203 if test "${ac_cv_path_install+set}" = set; then
6204 INSTALL=$ac_cv_path_install
6205 else
6206 # As a last resort, use the slow shell script. Don't cache a
6207 # value for INSTALL within a source directory, because that will
6208 # break other packages using the cache if that directory is
6209 # removed, or if the value is a relative name.
6210 INSTALL=$ac_install_sh
6213 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6214 echo "${ECHO_T}$INSTALL" >&6; }
6216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6217 # It thinks the first close brace ends the variable substitution.
6218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6224 case "$INSTALL" in
6225 [\\/$]* | ?:[\\/]* ) ;;
6226 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6227 esac
6229 for ac_prog in lclint lint
6231 # Extract the first word of "$ac_prog", so it can be a program name with args.
6232 set dummy $ac_prog; ac_word=$2
6233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6235 if test "${ac_cv_prog_LINT+set}" = set; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 else
6238 if test -n "$LINT"; then
6239 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_LINT="$ac_prog"
6249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6252 done
6253 done
6254 IFS=$as_save_IFS
6258 LINT=$ac_cv_prog_LINT
6259 if test -n "$LINT"; then
6260 { echo "$as_me:$LINENO: result: $LINT" >&5
6261 echo "${ECHO_T}$LINT" >&6; }
6262 else
6263 { echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6; }
6268 test -n "$LINT" && break
6269 done
6271 if test "$LINT" = "lint"
6272 then
6273 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6278 for ac_prog in fontforge
6280 # Extract the first word of "$ac_prog", so it can be a program name with args.
6281 set dummy $ac_prog; ac_word=$2
6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 else
6287 if test -n "$FONTFORGE"; then
6288 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6289 else
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH
6293 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6297 ac_cv_prog_FONTFORGE="$ac_prog"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 break 2
6301 done
6302 done
6303 IFS=$as_save_IFS
6307 FONTFORGE=$ac_cv_prog_FONTFORGE
6308 if test -n "$FONTFORGE"; then
6309 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6310 echo "${ECHO_T}$FONTFORGE" >&6; }
6311 else
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6317 test -n "$FONTFORGE" && break
6318 done
6319 test -n "$FONTFORGE" || FONTFORGE="false"
6321 for ac_prog in pkg-config
6323 # Extract the first word of "$ac_prog", so it can be a program name with args.
6324 set dummy $ac_prog; ac_word=$2
6325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6327 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6329 else
6330 if test -n "$PKG_CONFIG"; then
6331 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6332 else
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 for as_dir in $PATH
6336 IFS=$as_save_IFS
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_PKG_CONFIG="$ac_prog"
6341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 break 2
6344 done
6345 done
6346 IFS=$as_save_IFS
6350 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6351 if test -n "$PKG_CONFIG"; then
6352 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6353 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6354 else
6355 { echo "$as_me:$LINENO: result: no" >&5
6356 echo "${ECHO_T}no" >&6; }
6360 test -n "$PKG_CONFIG" && break
6361 done
6362 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6364 for ac_prog in rsvg
6366 # Extract the first word of "$ac_prog", so it can be a program name with args.
6367 set dummy $ac_prog; ac_word=$2
6368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6370 if test "${ac_cv_prog_RSVG+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 else
6373 if test -n "$RSVG"; then
6374 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_RSVG="$ac_prog"
6384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 break 2
6387 done
6388 done
6389 IFS=$as_save_IFS
6393 RSVG=$ac_cv_prog_RSVG
6394 if test -n "$RSVG"; then
6395 { echo "$as_me:$LINENO: result: $RSVG" >&5
6396 echo "${ECHO_T}$RSVG" >&6; }
6397 else
6398 { echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6; }
6403 test -n "$RSVG" && break
6404 done
6405 test -n "$RSVG" || RSVG="false"
6407 for ac_prog in icotool
6409 # Extract the first word of "$ac_prog", so it can be a program name with args.
6410 set dummy $ac_prog; ac_word=$2
6411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6413 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 else
6416 if test -n "$ICOTOOL"; then
6417 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6422 IFS=$as_save_IFS
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_ICOTOOL="$ac_prog"
6427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 break 2
6430 done
6431 done
6432 IFS=$as_save_IFS
6436 ICOTOOL=$ac_cv_prog_ICOTOOL
6437 if test -n "$ICOTOOL"; then
6438 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6439 echo "${ECHO_T}$ICOTOOL" >&6; }
6440 else
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6446 test -n "$ICOTOOL" && break
6447 done
6448 test -n "$ICOTOOL" || ICOTOOL="false"
6451 if test "${enable_maintainer_mode+set}" = set
6452 then
6453 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6454 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6455 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6458 case $host_cpu in
6459 *i[3456789]86*)
6460 # Extract the first word of "prelink", so it can be a program name with args.
6461 set dummy prelink; ac_word=$2
6462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6464 if test "${ac_cv_path_PRELINK+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 else
6467 case $PRELINK in
6468 [\\/]* | ?:[\\/]*)
6469 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 for as_dir in /sbin /usr/sbin $PATH
6475 IFS=$as_save_IFS
6476 test -z "$as_dir" && as_dir=.
6477 for ac_exec_ext in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6481 break 2
6483 done
6484 done
6485 IFS=$as_save_IFS
6487 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6489 esac
6491 PRELINK=$ac_cv_path_PRELINK
6492 if test -n "$PRELINK"; then
6493 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6494 echo "${ECHO_T}$PRELINK" >&6; }
6495 else
6496 { echo "$as_me:$LINENO: result: no" >&5
6497 echo "${ECHO_T}no" >&6; }
6502 esac
6506 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6507 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6508 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 else
6511 ac_check_lib_save_LIBS=$LIBS
6512 LIBS="-li386 $LIBS"
6513 cat >conftest.$ac_ext <<_ACEOF
6514 /* confdefs.h. */
6515 _ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6520 /* Override any GCC internal prototype to avoid an error.
6521 Use char because int might match the return type of a GCC
6522 builtin and then its argument prototype would still apply. */
6523 #ifdef __cplusplus
6524 extern "C"
6525 #endif
6526 char i386_set_ldt ();
6528 main ()
6530 return i386_set_ldt ();
6532 return 0;
6534 _ACEOF
6535 rm -f conftest.$ac_objext conftest$ac_exeext
6536 if { (ac_try="$ac_link"
6537 case "(($ac_try" in
6538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6539 *) ac_try_echo=$ac_try;;
6540 esac
6541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6542 (eval "$ac_link") 2>conftest.er1
6543 ac_status=$?
6544 grep -v '^ *+' conftest.er1 >conftest.err
6545 rm -f conftest.er1
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } && {
6549 test -z "$ac_c_werror_flag" ||
6550 test ! -s conftest.err
6551 } && test -s conftest$ac_exeext &&
6552 $as_test_x conftest$ac_exeext; then
6553 ac_cv_lib_i386_i386_set_ldt=yes
6554 else
6555 echo "$as_me: failed program was:" >&5
6556 sed 's/^/| /' conftest.$ac_ext >&5
6558 ac_cv_lib_i386_i386_set_ldt=no
6561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6562 conftest$ac_exeext conftest.$ac_ext
6563 LIBS=$ac_check_lib_save_LIBS
6565 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6566 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6567 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6568 cat >>confdefs.h <<_ACEOF
6569 #define HAVE_LIBI386 1
6570 _ACEOF
6572 LIBS="-li386 $LIBS"
6577 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6578 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6579 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582 ac_check_lib_save_LIBS=$LIBS
6583 LIBS="-lossaudio $LIBS"
6584 cat >conftest.$ac_ext <<_ACEOF
6585 /* confdefs.h. */
6586 _ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6591 /* Override any GCC internal prototype to avoid an error.
6592 Use char because int might match the return type of a GCC
6593 builtin and then its argument prototype would still apply. */
6594 #ifdef __cplusplus
6595 extern "C"
6596 #endif
6597 char _oss_ioctl ();
6599 main ()
6601 return _oss_ioctl ();
6603 return 0;
6605 _ACEOF
6606 rm -f conftest.$ac_objext conftest$ac_exeext
6607 if { (ac_try="$ac_link"
6608 case "(($ac_try" in
6609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6611 esac
6612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 (eval "$ac_link") 2>conftest.er1
6614 ac_status=$?
6615 grep -v '^ *+' conftest.er1 >conftest.err
6616 rm -f conftest.er1
6617 cat conftest.err >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } && {
6620 test -z "$ac_c_werror_flag" ||
6621 test ! -s conftest.err
6622 } && test -s conftest$ac_exeext &&
6623 $as_test_x conftest$ac_exeext; then
6624 ac_cv_lib_ossaudio__oss_ioctl=yes
6625 else
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_lib_ossaudio__oss_ioctl=no
6632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6633 conftest$ac_exeext conftest.$ac_ext
6634 LIBS=$ac_check_lib_save_LIBS
6636 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6637 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6638 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6639 cat >>confdefs.h <<_ACEOF
6640 #define HAVE_LIBOSSAUDIO 1
6641 _ACEOF
6643 LIBS="-lossaudio $LIBS"
6647 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6648 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6649 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 else
6652 ac_check_lib_save_LIBS=$LIBS
6653 LIBS="-lpthread $LIBS"
6654 cat >conftest.$ac_ext <<_ACEOF
6655 /* confdefs.h. */
6656 _ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6661 /* Override any GCC internal prototype to avoid an error.
6662 Use char because int might match the return type of a GCC
6663 builtin and then its argument prototype would still apply. */
6664 #ifdef __cplusplus
6665 extern "C"
6666 #endif
6667 char pthread_create ();
6669 main ()
6671 return pthread_create ();
6673 return 0;
6675 _ACEOF
6676 rm -f conftest.$ac_objext conftest$ac_exeext
6677 if { (ac_try="$ac_link"
6678 case "(($ac_try" in
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6681 esac
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_link") 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest$ac_exeext &&
6693 $as_test_x conftest$ac_exeext; then
6694 ac_cv_lib_pthread_pthread_create=yes
6695 else
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 ac_cv_lib_pthread_pthread_create=no
6702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6703 conftest$ac_exeext conftest.$ac_ext
6704 LIBS=$ac_check_lib_save_LIBS
6706 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6707 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6708 if test $ac_cv_lib_pthread_pthread_create = yes; then
6709 LIBPTHREAD="-lpthread"
6714 XLIB=""
6716 XFILES=""
6718 OPENGLFILES=""
6720 GLU32FILES=""
6722 OPENGL_LIBS=""
6724 QUARTZFILES=""
6728 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6729 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6730 if test "${ac_cv_header_stdc+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 else
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 #include <stdlib.h>
6740 #include <stdarg.h>
6741 #include <string.h>
6742 #include <float.h>
6745 main ()
6749 return 0;
6751 _ACEOF
6752 rm -f conftest.$ac_objext
6753 if { (ac_try="$ac_compile"
6754 case "(($ac_try" in
6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756 *) ac_try_echo=$ac_try;;
6757 esac
6758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759 (eval "$ac_compile") 2>conftest.er1
6760 ac_status=$?
6761 grep -v '^ *+' conftest.er1 >conftest.err
6762 rm -f conftest.er1
6763 cat conftest.err >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && {
6766 test -z "$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6768 } && test -s conftest.$ac_objext; then
6769 ac_cv_header_stdc=yes
6770 else
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_header_stdc=no
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6779 if test $ac_cv_header_stdc = yes; then
6780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6781 cat >conftest.$ac_ext <<_ACEOF
6782 /* confdefs.h. */
6783 _ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 #include <string.h>
6789 _ACEOF
6790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6791 $EGREP "memchr" >/dev/null 2>&1; then
6793 else
6794 ac_cv_header_stdc=no
6796 rm -f conftest*
6800 if test $ac_cv_header_stdc = yes; then
6801 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6802 cat >conftest.$ac_ext <<_ACEOF
6803 /* confdefs.h. */
6804 _ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 #include <stdlib.h>
6810 _ACEOF
6811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6812 $EGREP "free" >/dev/null 2>&1; then
6814 else
6815 ac_cv_header_stdc=no
6817 rm -f conftest*
6821 if test $ac_cv_header_stdc = yes; then
6822 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6823 if test "$cross_compiling" = yes; then
6825 else
6826 cat >conftest.$ac_ext <<_ACEOF
6827 /* confdefs.h. */
6828 _ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 #include <ctype.h>
6833 #include <stdlib.h>
6834 #if ((' ' & 0x0FF) == 0x020)
6835 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6836 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6837 #else
6838 # define ISLOWER(c) \
6839 (('a' <= (c) && (c) <= 'i') \
6840 || ('j' <= (c) && (c) <= 'r') \
6841 || ('s' <= (c) && (c) <= 'z'))
6842 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6843 #endif
6845 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6847 main ()
6849 int i;
6850 for (i = 0; i < 256; i++)
6851 if (XOR (islower (i), ISLOWER (i))
6852 || toupper (i) != TOUPPER (i))
6853 return 2;
6854 return 0;
6856 _ACEOF
6857 rm -f conftest$ac_exeext
6858 if { (ac_try="$ac_link"
6859 case "(($ac_try" in
6860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861 *) ac_try_echo=$ac_try;;
6862 esac
6863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6864 (eval "$ac_link") 2>&5
6865 ac_status=$?
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6868 { (case "(($ac_try" in
6869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6870 *) ac_try_echo=$ac_try;;
6871 esac
6872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6873 (eval "$ac_try") 2>&5
6874 ac_status=$?
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6878 else
6879 echo "$as_me: program exited with status $ac_status" >&5
6880 echo "$as_me: failed program was:" >&5
6881 sed 's/^/| /' conftest.$ac_ext >&5
6883 ( exit $ac_status )
6884 ac_cv_header_stdc=no
6886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6892 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6893 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6894 if test $ac_cv_header_stdc = yes; then
6896 cat >>confdefs.h <<\_ACEOF
6897 #define STDC_HEADERS 1
6898 _ACEOF
6902 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6912 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6913 inttypes.h stdint.h unistd.h
6915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6916 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 else
6921 cat >conftest.$ac_ext <<_ACEOF
6922 /* confdefs.h. */
6923 _ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 $ac_includes_default
6929 #include <$ac_header>
6930 _ACEOF
6931 rm -f conftest.$ac_objext
6932 if { (ac_try="$ac_compile"
6933 case "(($ac_try" in
6934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6935 *) ac_try_echo=$ac_try;;
6936 esac
6937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6938 (eval "$ac_compile") 2>conftest.er1
6939 ac_status=$?
6940 grep -v '^ *+' conftest.er1 >conftest.err
6941 rm -f conftest.er1
6942 cat conftest.err >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } && {
6945 test -z "$ac_c_werror_flag" ||
6946 test ! -s conftest.err
6947 } && test -s conftest.$ac_objext; then
6948 eval "$as_ac_Header=yes"
6949 else
6950 echo "$as_me: failed program was:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6953 eval "$as_ac_Header=no"
6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6958 ac_res=`eval echo '${'$as_ac_Header'}'`
6959 { echo "$as_me:$LINENO: result: $ac_res" >&5
6960 echo "${ECHO_T}$ac_res" >&6; }
6961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6962 cat >>confdefs.h <<_ACEOF
6963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6964 _ACEOF
6968 done
7081 for ac_header in \
7082 AudioUnit/AudioUnit.h \
7083 Carbon/Carbon.h \
7084 CoreAudio/CoreAudio.h \
7085 DiskArbitration/DiskArbitration.h \
7086 IOKit/IOKitLib.h \
7087 alsa/asoundlib.h \
7088 arpa/inet.h \
7089 arpa/nameser.h \
7090 asm/types.h \
7091 capi20.h \
7092 cups/cups.h \
7093 curses.h \
7094 direct.h \
7095 dlfcn.h \
7096 elf.h \
7097 float.h \
7098 fontconfig/fontconfig.h \
7099 getopt.h \
7100 ieeefp.h \
7101 io.h \
7102 jack/jack.h \
7103 jpeglib.h \
7104 lber.h \
7105 lcms.h \
7106 lcms/lcms.h \
7107 ldap.h \
7108 libaudioio.h \
7109 link.h \
7110 linux/cdrom.h \
7111 linux/compiler.h \
7112 linux/hdreg.h \
7113 linux/input.h \
7114 linux/ioctl.h \
7115 linux/joystick.h \
7116 linux/major.h \
7117 linux/param.h \
7118 linux/serial.h \
7119 linux/ucdrom.h \
7120 mach/mach.h \
7121 mach/machine.h \
7122 machine/cpu.h \
7123 machine/limits.h \
7124 machine/soundcard.h \
7125 mntent.h \
7126 ncurses.h \
7127 netdb.h \
7128 netinet/in.h \
7129 netinet/in_systm.h \
7130 netinet/tcp.h \
7131 netinet/tcp_fsm.h \
7132 openssl/err.h \
7133 openssl/ssl.h \
7134 png.h \
7135 poll.h \
7136 process.h \
7137 pthread.h \
7138 pwd.h \
7139 regex.h \
7140 sched.h \
7141 scsi/scsi.h \
7142 scsi/scsi_ioctl.h \
7143 scsi/sg.h \
7144 soundcard.h \
7145 stdint.h \
7146 strings.h \
7147 sys/asoundlib.h \
7148 sys/cdio.h \
7149 sys/elf32.h \
7150 sys/epoll.h \
7151 sys/errno.h \
7152 sys/event.h \
7153 sys/exec_elf.h \
7154 sys/filio.h \
7155 sys/ioctl.h \
7156 sys/ipc.h \
7157 sys/limits.h \
7158 sys/link.h \
7159 sys/lwp.h \
7160 sys/mman.h \
7161 sys/modem.h \
7162 sys/msg.h \
7163 sys/mtio.h \
7164 sys/param.h \
7165 sys/poll.h \
7166 sys/prctl.h \
7167 sys/ptrace.h \
7168 sys/reg.h \
7169 sys/resource.h \
7170 sys/scsiio.h \
7171 sys/shm.h \
7172 sys/signal.h \
7173 sys/socket.h \
7174 sys/socketvar.h \
7175 sys/sockio.h \
7176 sys/soundcard.h \
7177 sys/statvfs.h \
7178 sys/strtio.h \
7179 sys/syscall.h \
7180 sys/sysctl.h \
7181 sys/time.h \
7182 sys/times.h \
7183 sys/uio.h \
7184 sys/un.h \
7185 sys/vm86.h \
7186 sys/wait.h \
7187 syscall.h \
7188 termios.h \
7189 unistd.h \
7190 utime.h \
7191 valgrind/memcheck.h
7194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7196 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 else
7205 # Is the header compilable?
7206 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7208 cat >conftest.$ac_ext <<_ACEOF
7209 /* confdefs.h. */
7210 _ACEOF
7211 cat confdefs.h >>conftest.$ac_ext
7212 cat >>conftest.$ac_ext <<_ACEOF
7213 /* end confdefs.h. */
7214 $ac_includes_default
7215 #include <$ac_header>
7216 _ACEOF
7217 rm -f conftest.$ac_objext
7218 if { (ac_try="$ac_compile"
7219 case "(($ac_try" in
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7222 esac
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_compile") 2>conftest.er1
7225 ac_status=$?
7226 grep -v '^ *+' conftest.er1 >conftest.err
7227 rm -f conftest.er1
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest.$ac_objext; then
7234 ac_header_compiler=yes
7235 else
7236 echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.$ac_ext >&5
7239 ac_header_compiler=no
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7244 echo "${ECHO_T}$ac_header_compiler" >&6; }
7246 # Is the header present?
7247 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
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 <$ac_header>
7256 _ACEOF
7257 if { (ac_try="$ac_cpp conftest.$ac_ext"
7258 case "(($ac_try" in
7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7261 esac
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7264 ac_status=$?
7265 grep -v '^ *+' conftest.er1 >conftest.err
7266 rm -f conftest.er1
7267 cat conftest.err >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); } >/dev/null && {
7270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7271 test ! -s conftest.err
7272 }; then
7273 ac_header_preproc=yes
7274 else
7275 echo "$as_me: failed program was:" >&5
7276 sed 's/^/| /' conftest.$ac_ext >&5
7278 ac_header_preproc=no
7281 rm -f conftest.err conftest.$ac_ext
7282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7283 echo "${ECHO_T}$ac_header_preproc" >&6; }
7285 # So? What about this header?
7286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7287 yes:no: )
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7292 ac_header_preproc=yes
7294 no:yes:* )
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7307 ( cat <<\_ASBOX
7308 ## ------------------------------------ ##
7309 ## Report this to wine-devel@winehq.org ##
7310 ## ------------------------------------ ##
7311 _ASBOX
7312 ) | sed "s/^/$as_me: WARNING: /" >&2
7314 esac
7315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7318 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 else
7320 eval "$as_ac_Header=\$ac_header_preproc"
7322 ac_res=`eval echo '${'$as_ac_Header'}'`
7323 { echo "$as_me:$LINENO: result: $ac_res" >&5
7324 echo "${ECHO_T}$ac_res" >&6; }
7327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7328 cat >>confdefs.h <<_ACEOF
7329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7330 _ACEOF
7334 done
7336 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7337 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7338 if test "${ac_cv_header_stat_broken+set}" = set; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 else
7341 cat >conftest.$ac_ext <<_ACEOF
7342 /* confdefs.h. */
7343 _ACEOF
7344 cat confdefs.h >>conftest.$ac_ext
7345 cat >>conftest.$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 #include <sys/types.h>
7348 #include <sys/stat.h>
7350 #if defined S_ISBLK && defined S_IFDIR
7351 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7352 #endif
7354 #if defined S_ISBLK && defined S_IFCHR
7355 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7356 #endif
7358 #if defined S_ISLNK && defined S_IFREG
7359 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7360 #endif
7362 #if defined S_ISSOCK && defined S_IFREG
7363 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7364 #endif
7366 _ACEOF
7367 rm -f conftest.$ac_objext
7368 if { (ac_try="$ac_compile"
7369 case "(($ac_try" in
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7372 esac
7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7374 (eval "$ac_compile") 2>conftest.er1
7375 ac_status=$?
7376 grep -v '^ *+' conftest.er1 >conftest.err
7377 rm -f conftest.er1
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } && {
7381 test -z "$ac_c_werror_flag" ||
7382 test ! -s conftest.err
7383 } && test -s conftest.$ac_objext; then
7384 ac_cv_header_stat_broken=no
7385 else
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7389 ac_cv_header_stat_broken=yes
7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7395 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7396 if test $ac_cv_header_stat_broken = yes; then
7398 cat >>confdefs.h <<\_ACEOF
7399 #define STAT_MACROS_BROKEN 1
7400 _ACEOF
7410 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 else
7418 cat >conftest.$ac_ext <<_ACEOF
7419 /* confdefs.h. */
7420 _ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 #include <sys/types.h>
7425 #ifdef HAVE_SYS_PARAM_H
7426 # include <sys/param.h>
7427 #endif
7429 #include <$ac_header>
7430 _ACEOF
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7433 case "(($ac_try" in
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_compile") 2>conftest.er1
7439 ac_status=$?
7440 grep -v '^ *+' conftest.er1 >conftest.err
7441 rm -f conftest.er1
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && {
7445 test -z "$ac_c_werror_flag" ||
7446 test ! -s conftest.err
7447 } && test -s conftest.$ac_objext; then
7448 eval "$as_ac_Header=yes"
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 eval "$as_ac_Header=no"
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7458 ac_res=`eval echo '${'$as_ac_Header'}'`
7459 { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7479 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
7481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7486 else
7487 cat >conftest.$ac_ext <<_ACEOF
7488 /* confdefs.h. */
7489 _ACEOF
7490 cat confdefs.h >>conftest.$ac_ext
7491 cat >>conftest.$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7493 #include <sys/types.h>
7494 #ifdef HAVE_SYS_SOCKET_H
7495 # include <sys/socket.h>
7496 #endif
7497 #ifdef HAVE_SYS_SOCKETVAR_H
7498 # include <sys/socketvar.h>
7499 #endif
7500 #ifdef HAVE_NETINET_IN_H
7501 # include <netinet/in.h>
7502 #endif
7504 #include <$ac_header>
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7508 case "(($ac_try" in
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7511 esac
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7514 ac_status=$?
7515 grep -v '^ *+' conftest.er1 >conftest.err
7516 rm -f conftest.er1
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } && {
7520 test -z "$ac_c_werror_flag" ||
7521 test ! -s conftest.err
7522 } && test -s conftest.$ac_objext; then
7523 eval "$as_ac_Header=yes"
7524 else
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 eval "$as_ac_Header=no"
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 ac_res=`eval echo '${'$as_ac_Header'}'`
7534 { echo "$as_me:$LINENO: result: $ac_res" >&5
7535 echo "${ECHO_T}$ac_res" >&6; }
7536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7537 cat >>confdefs.h <<_ACEOF
7538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7539 _ACEOF
7543 done
7547 for ac_header in netinet/tcp_var.h
7549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else
7555 cat >conftest.$ac_ext <<_ACEOF
7556 /* confdefs.h. */
7557 _ACEOF
7558 cat confdefs.h >>conftest.$ac_ext
7559 cat >>conftest.$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 #include <sys/types.h>
7562 #ifdef HAVE_SYS_SOCKET_H
7563 # include <sys/socket.h>
7564 #endif
7565 #ifdef HAVE_SYS_SOCKETVAR_H
7566 # include <sys/socketvar.h>
7567 #endif
7568 #ifdef HAVE_NETINET_IN_H
7569 # include <netinet/in.h>
7570 #endif
7571 #ifdef HAVE_NETINET_TCP_H
7572 # include <netinet/tcp.h>
7573 #endif
7575 #include <$ac_header>
7576 _ACEOF
7577 rm -f conftest.$ac_objext
7578 if { (ac_try="$ac_compile"
7579 case "(($ac_try" in
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7582 esac
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_compile") 2>conftest.er1
7585 ac_status=$?
7586 grep -v '^ *+' conftest.er1 >conftest.err
7587 rm -f conftest.er1
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } && {
7591 test -z "$ac_c_werror_flag" ||
7592 test ! -s conftest.err
7593 } && test -s conftest.$ac_objext; then
7594 eval "$as_ac_Header=yes"
7595 else
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7599 eval "$as_ac_Header=no"
7602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7604 ac_res=`eval echo '${'$as_ac_Header'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7608 cat >>confdefs.h <<_ACEOF
7609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7610 _ACEOF
7614 done
7618 for ac_header in linux/ipx.h
7620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626 cat >conftest.$ac_ext <<_ACEOF
7627 /* confdefs.h. */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7632 #include <sys/types.h>
7633 #ifdef HAVE_ASM_TYPES_H
7634 # include <asm/types.h>
7635 #endif
7636 #ifdef HAVE_SYS_SOCKET_H
7637 # include <sys/socket.h>
7638 #endif
7640 #include <$ac_header>
7641 _ACEOF
7642 rm -f conftest.$ac_objext
7643 if { (ac_try="$ac_compile"
7644 case "(($ac_try" in
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7647 esac
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_compile") 2>conftest.er1
7650 ac_status=$?
7651 grep -v '^ *+' conftest.er1 >conftest.err
7652 rm -f conftest.er1
7653 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest.$ac_objext; then
7659 eval "$as_ac_Header=yes"
7660 else
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 eval "$as_ac_Header=no"
7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7669 ac_res=`eval echo '${'$as_ac_Header'}'`
7670 { echo "$as_me:$LINENO: result: $ac_res" >&5
7671 echo "${ECHO_T}$ac_res" >&6; }
7672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7673 cat >>confdefs.h <<_ACEOF
7674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7675 _ACEOF
7679 done
7683 for ac_header in resolv.h
7685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 else
7691 cat >conftest.$ac_ext <<_ACEOF
7692 /* confdefs.h. */
7693 _ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7697 #include <sys/types.h>
7698 #ifdef HAVE_SYS_SOCKET_H
7699 # include <sys/socket.h>
7700 #endif
7701 #ifdef HAVE_NETINET_IN_H
7702 # include <netinet/in.h>
7703 #endif
7704 #ifdef HAVE_ARPA_NAMESER_H
7705 # include <arpa/nameser.h>
7706 #endif
7708 #include <$ac_header>
7709 _ACEOF
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7712 case "(($ac_try" in
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7715 esac
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7718 ac_status=$?
7719 grep -v '^ *+' conftest.er1 >conftest.err
7720 rm -f conftest.er1
7721 cat conftest.err >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } && {
7724 test -z "$ac_c_werror_flag" ||
7725 test ! -s conftest.err
7726 } && test -s conftest.$ac_objext; then
7727 eval "$as_ac_Header=yes"
7728 else
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.$ac_ext >&5
7732 eval "$as_ac_Header=no"
7735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7737 ac_res=`eval echo '${'$as_ac_Header'}'`
7738 { echo "$as_me:$LINENO: result: $ac_res" >&5
7739 echo "${ECHO_T}$ac_res" >&6; }
7740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7741 cat >>confdefs.h <<_ACEOF
7742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 _ACEOF
7747 done
7751 for ac_header in ucontext.h
7753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7754 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7756 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 else
7759 cat >conftest.$ac_ext <<_ACEOF
7760 /* confdefs.h. */
7761 _ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <signal.h>
7767 #include <$ac_header>
7768 _ACEOF
7769 rm -f conftest.$ac_objext
7770 if { (ac_try="$ac_compile"
7771 case "(($ac_try" in
7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7774 esac
7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7776 (eval "$ac_compile") 2>conftest.er1
7777 ac_status=$?
7778 grep -v '^ *+' conftest.er1 >conftest.err
7779 rm -f conftest.er1
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest.$ac_objext; then
7786 eval "$as_ac_Header=yes"
7787 else
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7791 eval "$as_ac_Header=no"
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796 ac_res=`eval echo '${'$as_ac_Header'}'`
7797 { echo "$as_me:$LINENO: result: $ac_res" >&5
7798 echo "${ECHO_T}$ac_res" >&6; }
7799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7800 cat >>confdefs.h <<_ACEOF
7801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 _ACEOF
7806 done
7810 for ac_header in sys/thr.h
7812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 else
7818 cat >conftest.$ac_ext <<_ACEOF
7819 /* confdefs.h. */
7820 _ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7824 #include <sys/types.h>
7825 #ifdef HAVE_UCONTEXT_H
7826 #include <ucontext.h>
7827 #endif
7829 #include <$ac_header>
7830 _ACEOF
7831 rm -f conftest.$ac_objext
7832 if { (ac_try="$ac_compile"
7833 case "(($ac_try" in
7834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7835 *) ac_try_echo=$ac_try;;
7836 esac
7837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7838 (eval "$ac_compile") 2>conftest.er1
7839 ac_status=$?
7840 grep -v '^ *+' conftest.er1 >conftest.err
7841 rm -f conftest.er1
7842 cat conftest.err >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); } && {
7845 test -z "$ac_c_werror_flag" ||
7846 test ! -s conftest.err
7847 } && test -s conftest.$ac_objext; then
7848 eval "$as_ac_Header=yes"
7849 else
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.$ac_ext >&5
7853 eval "$as_ac_Header=no"
7856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7858 ac_res=`eval echo '${'$as_ac_Header'}'`
7859 { echo "$as_me:$LINENO: result: $ac_res" >&5
7860 echo "${ECHO_T}$ac_res" >&6; }
7861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7862 cat >>confdefs.h <<_ACEOF
7863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7864 _ACEOF
7868 done
7872 for ac_header in pthread_np.h
7874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7878 echo $ECHO_N "(cached) $ECHO_C" >&6
7879 else
7880 cat >conftest.$ac_ext <<_ACEOF
7881 /* confdefs.h. */
7882 _ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7886 #ifdef HAVE_PTHREAD_H
7887 #include <pthread.h>
7888 #endif
7890 #include <$ac_header>
7891 _ACEOF
7892 rm -f conftest.$ac_objext
7893 if { (ac_try="$ac_compile"
7894 case "(($ac_try" in
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7897 esac
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_compile") 2>conftest.er1
7900 ac_status=$?
7901 grep -v '^ *+' conftest.er1 >conftest.err
7902 rm -f conftest.er1
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } && {
7906 test -z "$ac_c_werror_flag" ||
7907 test ! -s conftest.err
7908 } && test -s conftest.$ac_objext; then
7909 eval "$as_ac_Header=yes"
7910 else
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7914 eval "$as_ac_Header=no"
7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7919 ac_res=`eval echo '${'$as_ac_Header'}'`
7920 { echo "$as_me:$LINENO: result: $ac_res" >&5
7921 echo "${ECHO_T}$ac_res" >&6; }
7922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7923 cat >>confdefs.h <<_ACEOF
7924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7925 _ACEOF
7929 done
7933 for ac_header in linux/videodev.h
7935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941 cat >conftest.$ac_ext <<_ACEOF
7942 /* confdefs.h. */
7943 _ACEOF
7944 cat confdefs.h >>conftest.$ac_ext
7945 cat >>conftest.$ac_ext <<_ACEOF
7946 /* end confdefs.h. */
7947 #ifdef HAVE_SYS_TIME_H
7948 #include <sys/time.h>
7949 #endif
7950 #include <sys/types.h>
7951 #ifdef HAVE_ASM_TYPES_H
7952 #include <asm/types.h>
7953 #endif
7955 #include <$ac_header>
7956 _ACEOF
7957 rm -f conftest.$ac_objext
7958 if { (ac_try="$ac_compile"
7959 case "(($ac_try" in
7960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961 *) ac_try_echo=$ac_try;;
7962 esac
7963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7964 (eval "$ac_compile") 2>conftest.er1
7965 ac_status=$?
7966 grep -v '^ *+' conftest.er1 >conftest.err
7967 rm -f conftest.er1
7968 cat conftest.err >&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } && {
7971 test -z "$ac_c_werror_flag" ||
7972 test ! -s conftest.err
7973 } && test -s conftest.$ac_objext; then
7974 eval "$as_ac_Header=yes"
7975 else
7976 echo "$as_me: failed program was:" >&5
7977 sed 's/^/| /' conftest.$ac_ext >&5
7979 eval "$as_ac_Header=no"
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984 ac_res=`eval echo '${'$as_ac_Header'}'`
7985 { echo "$as_me:$LINENO: result: $ac_res" >&5
7986 echo "${ECHO_T}$ac_res" >&6; }
7987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7988 cat >>confdefs.h <<_ACEOF
7989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7990 _ACEOF
7994 done
7998 for ac_header in linux/capi.h
8000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8004 echo $ECHO_N "(cached) $ECHO_C" >&6
8005 else
8006 cat >conftest.$ac_ext <<_ACEOF
8007 /* confdefs.h. */
8008 _ACEOF
8009 cat confdefs.h >>conftest.$ac_ext
8010 cat >>conftest.$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8012 #define __user
8014 #include <$ac_header>
8015 _ACEOF
8016 rm -f conftest.$ac_objext
8017 if { (ac_try="$ac_compile"
8018 case "(($ac_try" in
8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8021 esac
8022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8023 (eval "$ac_compile") 2>conftest.er1
8024 ac_status=$?
8025 grep -v '^ *+' conftest.er1 >conftest.err
8026 rm -f conftest.er1
8027 cat conftest.err >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); } && {
8030 test -z "$ac_c_werror_flag" ||
8031 test ! -s conftest.err
8032 } && test -s conftest.$ac_objext; then
8033 eval "$as_ac_Header=yes"
8034 else
8035 echo "$as_me: failed program was:" >&5
8036 sed 's/^/| /' conftest.$ac_ext >&5
8038 eval "$as_ac_Header=no"
8041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8043 ac_res=`eval echo '${'$as_ac_Header'}'`
8044 { echo "$as_me:$LINENO: result: $ac_res" >&5
8045 echo "${ECHO_T}$ac_res" >&6; }
8046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8047 cat >>confdefs.h <<_ACEOF
8048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8049 _ACEOF
8053 done
8057 DLLEXT=""
8059 DLLFLAGS="-D_REENTRANT"
8061 LDSHARED=""
8063 LDDLLFLAGS=""
8065 LIBEXT="so"
8067 IMPLIBEXT="def"
8069 LDRPATH_INSTALL=""
8071 LDRPATH_LOCAL=""
8073 # Extract the first word of "ldd", so it can be a program name with args.
8074 set dummy ldd; ac_word=$2
8075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8077 if test "${ac_cv_path_LDD+set}" = set; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8079 else
8080 case $LDD in
8081 [\\/]* | ?:[\\/]*)
8082 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 as_dummy="/sbin:/usr/sbin:$PATH"
8087 for as_dir in $as_dummy
8089 IFS=$as_save_IFS
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8093 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 break 2
8097 done
8098 done
8099 IFS=$as_save_IFS
8101 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8103 esac
8105 LDD=$ac_cv_path_LDD
8106 if test -n "$LDD"; then
8107 { echo "$as_me:$LINENO: result: $LDD" >&5
8108 echo "${ECHO_T}$LDD" >&6; }
8109 else
8110 { echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6; }
8116 case $host_os in
8117 cygwin*|mingw32*)
8118 if test -n "$ac_tool_prefix"; then
8119 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8120 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8123 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8125 else
8126 if test -n "$DLLTOOL"; then
8127 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8128 else
8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 for as_dir in $PATH
8132 IFS=$as_save_IFS
8133 test -z "$as_dir" && as_dir=.
8134 for ac_exec_ext in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 break 2
8140 done
8141 done
8142 IFS=$as_save_IFS
8146 DLLTOOL=$ac_cv_prog_DLLTOOL
8147 if test -n "$DLLTOOL"; then
8148 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8149 echo "${ECHO_T}$DLLTOOL" >&6; }
8150 else
8151 { echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6; }
8157 if test -z "$ac_cv_prog_DLLTOOL"; then
8158 ac_ct_DLLTOOL=$DLLTOOL
8159 # Extract the first word of "dlltool", so it can be a program name with args.
8160 set dummy dlltool; ac_word=$2
8161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8163 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8165 else
8166 if test -n "$ac_ct_DLLTOOL"; then
8167 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8168 else
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 for as_dir in $PATH
8172 IFS=$as_save_IFS
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 break 2
8180 done
8181 done
8182 IFS=$as_save_IFS
8186 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8187 if test -n "$ac_ct_DLLTOOL"; then
8188 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8189 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8190 else
8191 { echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6; }
8195 if test "x$ac_ct_DLLTOOL" = x; then
8196 DLLTOOL="false"
8197 else
8198 case $cross_compiling:$ac_tool_warned in
8199 yes:)
8200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8201 whose name does not start with the host triplet. If you think this
8202 configuration is useful to you, please write to autoconf@gnu.org." >&5
8203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8204 whose name does not start with the host triplet. If you think this
8205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8206 ac_tool_warned=yes ;;
8207 esac
8208 DLLTOOL=$ac_ct_DLLTOOL
8210 else
8211 DLLTOOL="$ac_cv_prog_DLLTOOL"
8214 if test -n "$ac_tool_prefix"; then
8215 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8216 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8219 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8220 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 else
8222 if test -n "$DLLWRAP"; then
8223 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8224 else
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 for as_dir in $PATH
8228 IFS=$as_save_IFS
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 break 2
8236 done
8237 done
8238 IFS=$as_save_IFS
8242 DLLWRAP=$ac_cv_prog_DLLWRAP
8243 if test -n "$DLLWRAP"; then
8244 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8245 echo "${ECHO_T}$DLLWRAP" >&6; }
8246 else
8247 { echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6; }
8253 if test -z "$ac_cv_prog_DLLWRAP"; then
8254 ac_ct_DLLWRAP=$DLLWRAP
8255 # Extract the first word of "dllwrap", so it can be a program name with args.
8256 set dummy dllwrap; ac_word=$2
8257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8259 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 else
8262 if test -n "$ac_ct_DLLWRAP"; then
8263 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8264 else
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 for as_dir in $PATH
8268 IFS=$as_save_IFS
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8272 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 break 2
8276 done
8277 done
8278 IFS=$as_save_IFS
8282 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8283 if test -n "$ac_ct_DLLWRAP"; then
8284 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8285 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8286 else
8287 { echo "$as_me:$LINENO: result: no" >&5
8288 echo "${ECHO_T}no" >&6; }
8291 if test "x$ac_ct_DLLWRAP" = x; then
8292 DLLWRAP="false"
8293 else
8294 case $cross_compiling:$ac_tool_warned in
8295 yes:)
8296 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8297 whose name does not start with the host triplet. If you think this
8298 configuration is useful to you, please write to autoconf@gnu.org." >&5
8299 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8300 whose name does not start with the host triplet. If you think this
8301 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8302 ac_tool_warned=yes ;;
8303 esac
8304 DLLWRAP=$ac_ct_DLLWRAP
8306 else
8307 DLLWRAP="$ac_cv_prog_DLLWRAP"
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8312 set dummy ${ac_tool_prefix}ar; ac_word=$2
8313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8315 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 else
8318 if test -n "$MINGWAR"; then
8319 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8320 else
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8338 MINGWAR=$ac_cv_prog_MINGWAR
8339 if test -n "$MINGWAR"; then
8340 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8341 echo "${ECHO_T}$MINGWAR" >&6; }
8342 else
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8349 if test -z "$ac_cv_prog_MINGWAR"; then
8350 ac_ct_MINGWAR=$MINGWAR
8351 # Extract the first word of "ar", so it can be a program name with args.
8352 set dummy ar; ac_word=$2
8353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8355 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8358 if test -n "$ac_ct_MINGWAR"; then
8359 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8360 else
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 for as_dir in $PATH
8364 IFS=$as_save_IFS
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_MINGWAR="ar"
8369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 break 2
8372 done
8373 done
8374 IFS=$as_save_IFS
8378 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8379 if test -n "$ac_ct_MINGWAR"; then
8380 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8381 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8382 else
8383 { echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6; }
8387 if test "x$ac_ct_MINGWAR" = x; then
8388 MINGWAR="false"
8389 else
8390 case $cross_compiling:$ac_tool_warned in
8391 yes:)
8392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8393 whose name does not start with the host triplet. If you think this
8394 configuration is useful to you, please write to autoconf@gnu.org." >&5
8395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8396 whose name does not start with the host triplet. If you think this
8397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8398 ac_tool_warned=yes ;;
8399 esac
8400 MINGWAR=$ac_ct_MINGWAR
8402 else
8403 MINGWAR="$ac_cv_prog_MINGWAR"
8406 if test "$DLLWRAP" = "false"; then
8407 LIBEXT="a"
8408 else
8409 LIBEXT="dll"
8411 IMPLIBEXT="a"
8412 WIN16_FILES=""
8413 WIN16_INSTALL=""
8415 darwin*|macosx*)
8416 DLLEXT=".so"
8417 LIBEXT="dylib"
8418 DLLFLAGS="$DLLFLAGS -fPIC"
8419 LDDLLFLAGS="-bundle -multiply_defined suppress"
8420 LIBWINE_LDFLAGS="-multiply_defined suppress"
8421 LDSHARED="\$(CC) -dynamiclib"
8422 STRIP="$STRIP -x"
8423 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8424 SECURITYLIB="-framework Security -framework CoreFoundation"
8426 COREFOUNDATIONLIB="-framework CoreFoundation"
8428 IOKITLIB="-framework IOKit -framework CoreFoundation"
8430 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8432 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8433 then
8434 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8437 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8438 then
8439 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8442 case $host_cpu in
8443 *powerpc*)
8444 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8445 esac
8446 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8447 then
8448 CARBONLIB="-framework Carbon"
8450 QUARTZFILES='$(QUARTZFILES)'
8454 DLLFLAGS="$DLLFLAGS -fPIC"
8455 DLLEXT=".so"
8456 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8457 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8458 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8463 cat >conftest.$ac_ext <<_ACEOF
8464 void myfunc() {}
8465 _ACEOF
8466 rm -f conftest.$ac_objext conftest$ac_exeext
8467 if { (ac_try="$ac_link"
8468 case "(($ac_try" in
8469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8470 *) ac_try_echo=$ac_try;;
8471 esac
8472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8473 (eval "$ac_link") 2>conftest.er1
8474 ac_status=$?
8475 grep -v '^ *+' conftest.er1 >conftest.err
8476 rm -f conftest.er1
8477 cat conftest.err >&5
8478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8479 (exit $ac_status); } && {
8480 test -z "$ac_c_werror_flag" ||
8481 test ! -s conftest.err
8482 } && test -s conftest$ac_exeext &&
8483 $as_test_x conftest$ac_exeext; then
8484 ac_cv_c_dll_gnuelf="yes"
8485 else
8486 echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.$ac_ext >&5
8489 ac_cv_c_dll_gnuelf="no"
8492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8497 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8498 if test "$ac_cv_c_dll_gnuelf" = "yes"
8499 then
8500 LDSHARED="\$(CC) -shared"
8501 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8502 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8503 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8504 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8506 else
8507 ac_wine_try_cflags_saved=$CFLAGS
8508 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8509 cat >conftest.$ac_ext <<_ACEOF
8510 /* confdefs.h. */
8511 _ACEOF
8512 cat confdefs.h >>conftest.$ac_ext
8513 cat >>conftest.$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8517 main ()
8521 return 0;
8523 _ACEOF
8524 rm -f conftest.$ac_objext conftest$ac_exeext
8525 if { (ac_try="$ac_link"
8526 case "(($ac_try" in
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8528 *) ac_try_echo=$ac_try;;
8529 esac
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8531 (eval "$ac_link") 2>conftest.er1
8532 ac_status=$?
8533 grep -v '^ *+' conftest.er1 >conftest.err
8534 rm -f conftest.er1
8535 cat conftest.err >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } && {
8538 test -z "$ac_c_werror_flag" ||
8539 test ! -s conftest.err
8540 } && test -s conftest$ac_exeext &&
8541 $as_test_x conftest$ac_exeext; then
8542 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8543 else
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8547 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8551 conftest$ac_exeext conftest.$ac_ext
8552 CFLAGS=$ac_wine_try_cflags_saved
8554 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8555 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8556 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8557 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8558 else
8559 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8560 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8561 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 else
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8566 cat >conftest.$ac_ext <<_ACEOF
8567 /* confdefs.h. */
8568 _ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8574 main ()
8578 return 0;
8580 _ACEOF
8581 rm -f conftest.$ac_objext conftest$ac_exeext
8582 if { (ac_try="$ac_link"
8583 case "(($ac_try" in
8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8585 *) ac_try_echo=$ac_try;;
8586 esac
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_link") 2>conftest.er1
8589 ac_status=$?
8590 grep -v '^ *+' conftest.er1 >conftest.err
8591 rm -f conftest.er1
8592 cat conftest.err >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } && {
8595 test -z "$ac_c_werror_flag" ||
8596 test ! -s conftest.err
8597 } && test -s conftest$ac_exeext &&
8598 $as_test_x conftest$ac_exeext; then
8599 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8600 else
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8604 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8612 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8613 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8614 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8620 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8621 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8622 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8627 cat >conftest.$ac_ext <<_ACEOF
8628 /* confdefs.h. */
8629 _ACEOF
8630 cat confdefs.h >>conftest.$ac_ext
8631 cat >>conftest.$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8635 main ()
8639 return 0;
8641 _ACEOF
8642 rm -f conftest.$ac_objext conftest$ac_exeext
8643 if { (ac_try="$ac_link"
8644 case "(($ac_try" in
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8647 esac
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_link") 2>conftest.er1
8650 ac_status=$?
8651 grep -v '^ *+' conftest.er1 >conftest.err
8652 rm -f conftest.er1
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && {
8656 test -z "$ac_c_werror_flag" ||
8657 test ! -s conftest.err
8658 } && test -s conftest$ac_exeext &&
8659 $as_test_x conftest$ac_exeext; then
8660 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8661 else
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8673 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8674 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8675 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8679 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8680 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8681 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8683 else
8684 ac_wine_try_cflags_saved=$CFLAGS
8685 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8686 cat >conftest.$ac_ext <<_ACEOF
8687 /* confdefs.h. */
8688 _ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8694 main ()
8698 return 0;
8700 _ACEOF
8701 rm -f conftest.$ac_objext conftest$ac_exeext
8702 if { (ac_try="$ac_link"
8703 case "(($ac_try" in
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8706 esac
8707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8708 (eval "$ac_link") 2>conftest.er1
8709 ac_status=$?
8710 grep -v '^ *+' conftest.er1 >conftest.err
8711 rm -f conftest.er1
8712 cat conftest.err >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } && {
8715 test -z "$ac_c_werror_flag" ||
8716 test ! -s conftest.err
8717 } && test -s conftest$ac_exeext &&
8718 $as_test_x conftest$ac_exeext; then
8719 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8720 else
8721 echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8732 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8733 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8734 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8738 echo '{ global: *; };' >conftest.map
8739 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8740 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8741 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8746 cat >conftest.$ac_ext <<_ACEOF
8747 /* confdefs.h. */
8748 _ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8754 main ()
8758 return 0;
8760 _ACEOF
8761 rm -f conftest.$ac_objext conftest$ac_exeext
8762 if { (ac_try="$ac_link"
8763 case "(($ac_try" in
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8766 esac
8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768 (eval "$ac_link") 2>conftest.er1
8769 ac_status=$?
8770 grep -v '^ *+' conftest.er1 >conftest.err
8771 rm -f conftest.er1
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } && {
8775 test -z "$ac_c_werror_flag" ||
8776 test ! -s conftest.err
8777 } && test -s conftest$ac_exeext &&
8778 $as_test_x conftest$ac_exeext; then
8779 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8780 else
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.$ac_ext >&5
8784 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8788 conftest$ac_exeext conftest.$ac_ext
8789 CFLAGS=$ac_wine_try_cflags_saved
8791 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8792 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8793 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8794 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8797 rm -f conftest.map
8799 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8800 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8801 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8802 echo $ECHO_N "(cached) $ECHO_C" >&6
8803 else
8804 ac_wine_try_cflags_saved=$CFLAGS
8805 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8806 cat >conftest.$ac_ext <<_ACEOF
8807 /* confdefs.h. */
8808 _ACEOF
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8814 main ()
8818 return 0;
8820 _ACEOF
8821 rm -f conftest.$ac_objext conftest$ac_exeext
8822 if { (ac_try="$ac_link"
8823 case "(($ac_try" in
8824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825 *) ac_try_echo=$ac_try;;
8826 esac
8827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8828 (eval "$ac_link") 2>conftest.er1
8829 ac_status=$?
8830 grep -v '^ *+' conftest.er1 >conftest.err
8831 rm -f conftest.er1
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } && {
8835 test -z "$ac_c_werror_flag" ||
8836 test ! -s conftest.err
8837 } && test -s conftest$ac_exeext &&
8838 $as_test_x conftest$ac_exeext; then
8839 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8840 else
8841 echo "$as_me: failed program was:" >&5
8842 sed 's/^/| /' conftest.$ac_ext >&5
8844 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8852 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8853 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8854 LDEXECFLAGS="-Wl,--export-dynamic"
8859 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8860 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8861 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8863 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8867 cat >conftest.$ac_ext <<_ACEOF
8868 /* confdefs.h. */
8869 _ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8875 main ()
8879 return 0;
8881 _ACEOF
8882 rm -f conftest.$ac_objext conftest$ac_exeext
8883 if { (ac_try="$ac_link"
8884 case "(($ac_try" in
8885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8886 *) ac_try_echo=$ac_try;;
8887 esac
8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8889 (eval "$ac_link") 2>conftest.er1
8890 ac_status=$?
8891 grep -v '^ *+' conftest.er1 >conftest.err
8892 rm -f conftest.er1
8893 cat conftest.err >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); } && {
8896 test -z "$ac_c_werror_flag" ||
8897 test ! -s conftest.err
8898 } && test -s conftest$ac_exeext &&
8899 $as_test_x conftest$ac_exeext; then
8900 eval "$as_ac_var=yes"
8901 else
8902 echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8905 eval "$as_ac_var=no"
8908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8909 conftest$ac_exeext conftest.$ac_ext
8910 CFLAGS=$ac_wine_try_cflags_saved
8912 ac_res=`eval echo '${'$as_ac_var'}'`
8913 { echo "$as_me:$LINENO: result: $ac_res" >&5
8914 echo "${ECHO_T}$ac_res" >&6; }
8915 if test `eval echo '${'$as_ac_var'}'` = yes; then
8916 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8917 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8918 else
8919 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8920 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8921 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925 ac_wine_try_cflags_saved=$CFLAGS
8926 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8927 cat >conftest.$ac_ext <<_ACEOF
8928 /* confdefs.h. */
8929 _ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8935 main ()
8939 return 0;
8941 _ACEOF
8942 rm -f conftest.$ac_objext conftest$ac_exeext
8943 if { (ac_try="$ac_link"
8944 case "(($ac_try" in
8945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8946 *) ac_try_echo=$ac_try;;
8947 esac
8948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8949 (eval "$ac_link") 2>conftest.er1
8950 ac_status=$?
8951 grep -v '^ *+' conftest.er1 >conftest.err
8952 rm -f conftest.er1
8953 cat conftest.err >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); } && {
8956 test -z "$ac_c_werror_flag" ||
8957 test ! -s conftest.err
8958 } && test -s conftest$ac_exeext &&
8959 $as_test_x conftest$ac_exeext; then
8960 eval "$as_ac_var=yes"
8961 else
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.$ac_ext >&5
8965 eval "$as_ac_var=no"
8968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8969 conftest$ac_exeext conftest.$ac_ext
8970 CFLAGS=$ac_wine_try_cflags_saved
8972 ac_res=`eval echo '${'$as_ac_var'}'`
8973 { echo "$as_me:$LINENO: result: $ac_res" >&5
8974 echo "${ECHO_T}$ac_res" >&6; }
8975 if test `eval echo '${'$as_ac_var'}'` = yes; then
8976 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8977 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8983 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8984 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8985 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8987 else
8988 ac_wine_try_cflags_saved=$CFLAGS
8989 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8998 main ()
9002 return 0;
9004 _ACEOF
9005 rm -f conftest.$ac_objext conftest$ac_exeext
9006 if { (ac_try="$ac_link"
9007 case "(($ac_try" in
9008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9009 *) ac_try_echo=$ac_try;;
9010 esac
9011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9012 (eval "$ac_link") 2>conftest.er1
9013 ac_status=$?
9014 grep -v '^ *+' conftest.er1 >conftest.err
9015 rm -f conftest.er1
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } && {
9019 test -z "$ac_c_werror_flag" ||
9020 test ! -s conftest.err
9021 } && test -s conftest$ac_exeext &&
9022 $as_test_x conftest$ac_exeext; then
9023 ac_cv_cflags__Wl___enable_new_dtags=yes
9024 else
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.$ac_ext >&5
9028 ac_cv_cflags__Wl___enable_new_dtags=no
9031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9032 conftest$ac_exeext conftest.$ac_ext
9033 CFLAGS=$ac_wine_try_cflags_saved
9035 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9036 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9037 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9038 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9042 case $host_cpu in
9043 *i[3456789]86* | x86_64)
9044 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9045 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9046 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9047 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 else
9049 ac_wine_try_cflags_saved=$CFLAGS
9050 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9051 cat >conftest.$ac_ext <<_ACEOF
9052 /* confdefs.h. */
9053 _ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9059 main ()
9063 return 0;
9065 _ACEOF
9066 rm -f conftest.$ac_objext conftest$ac_exeext
9067 if { (ac_try="$ac_link"
9068 case "(($ac_try" in
9069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9070 *) ac_try_echo=$ac_try;;
9071 esac
9072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9073 (eval "$ac_link") 2>conftest.er1
9074 ac_status=$?
9075 grep -v '^ *+' conftest.er1 >conftest.err
9076 rm -f conftest.er1
9077 cat conftest.err >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); } && {
9080 test -z "$ac_c_werror_flag" ||
9081 test ! -s conftest.err
9082 } && test -s conftest$ac_exeext &&
9083 $as_test_x conftest$ac_exeext; then
9084 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9085 else
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9093 conftest$ac_exeext conftest.$ac_ext
9094 CFLAGS=$ac_wine_try_cflags_saved
9096 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9097 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9098 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9099 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9103 esac
9105 else
9106 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9107 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9108 if test "${ac_cv_c_dll_unixware+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9110 else
9111 ac_wine_try_cflags_saved=$CFLAGS
9112 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9113 cat >conftest.$ac_ext <<_ACEOF
9114 void myfunc() {}
9115 _ACEOF
9116 rm -f conftest.$ac_objext conftest$ac_exeext
9117 if { (ac_try="$ac_link"
9118 case "(($ac_try" in
9119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9120 *) ac_try_echo=$ac_try;;
9121 esac
9122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9123 (eval "$ac_link") 2>conftest.er1
9124 ac_status=$?
9125 grep -v '^ *+' conftest.er1 >conftest.err
9126 rm -f conftest.er1
9127 cat conftest.err >&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } && {
9130 test -z "$ac_c_werror_flag" ||
9131 test ! -s conftest.err
9132 } && test -s conftest$ac_exeext &&
9133 $as_test_x conftest$ac_exeext; then
9134 ac_cv_c_dll_unixware="yes"
9135 else
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 ac_cv_c_dll_unixware="no"
9142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9147 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9148 if test "$ac_cv_c_dll_unixware" = "yes"
9149 then
9150 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9151 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9153 else
9154 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9155 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9156 if test "${ac_cv_c_dll_hpux+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -shared"
9161 cat >conftest.$ac_ext <<_ACEOF
9162 void myfunc() {}
9163 _ACEOF
9164 rm -f conftest.$ac_objext conftest$ac_exeext
9165 if { (ac_try="$ac_link"
9166 case "(($ac_try" in
9167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9168 *) ac_try_echo=$ac_try;;
9169 esac
9170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9171 (eval "$ac_link") 2>conftest.er1
9172 ac_status=$?
9173 grep -v '^ *+' conftest.er1 >conftest.err
9174 rm -f conftest.er1
9175 cat conftest.err >&5
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); } && {
9178 test -z "$ac_c_werror_flag" ||
9179 test ! -s conftest.err
9180 } && test -s conftest$ac_exeext &&
9181 $as_test_x conftest$ac_exeext; then
9182 ac_cv_c_dll_hpux="yes"
9183 else
9184 echo "$as_me: failed program was:" >&5
9185 sed 's/^/| /' conftest.$ac_ext >&5
9187 ac_cv_c_dll_hpux="no"
9190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9191 conftest$ac_exeext conftest.$ac_ext
9192 CFLAGS=$ac_wine_try_cflags_saved
9194 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9195 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9196 if test "$ac_cv_c_dll_hpux" = "yes"
9197 then
9198 LIBEXT="sl"
9199 DLLEXT=".sl"
9200 LDDLLFLAGS="-shared -fPIC"
9201 LDSHARED="\$(CC) -shared"
9206 CROSSTEST=""
9208 if test "$cross_compiling" = "no"
9209 then
9210 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9212 # Extract the first word of "$ac_prog", so it can be a program name with args.
9213 set dummy $ac_prog; ac_word=$2
9214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9216 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 else
9219 if test -n "$CROSSCC"; then
9220 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9221 else
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9223 for as_dir in $PATH
9225 IFS=$as_save_IFS
9226 test -z "$as_dir" && as_dir=.
9227 for ac_exec_ext in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_prog_CROSSCC="$ac_prog"
9230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9231 break 2
9233 done
9234 done
9235 IFS=$as_save_IFS
9239 CROSSCC=$ac_cv_prog_CROSSCC
9240 if test -n "$CROSSCC"; then
9241 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9242 echo "${ECHO_T}$CROSSCC" >&6; }
9243 else
9244 { echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6; }
9249 test -n "$CROSSCC" && break
9250 done
9251 test -n "$CROSSCC" || CROSSCC="false"
9253 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9255 # Extract the first word of "$ac_prog", so it can be a program name with args.
9256 set dummy $ac_prog; ac_word=$2
9257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9259 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9261 else
9262 if test -n "$DLLTOOL"; then
9263 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9264 else
9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 for as_dir in $PATH
9268 IFS=$as_save_IFS
9269 test -z "$as_dir" && as_dir=.
9270 for ac_exec_ext in '' $ac_executable_extensions; do
9271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9272 ac_cv_prog_DLLTOOL="$ac_prog"
9273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9274 break 2
9276 done
9277 done
9278 IFS=$as_save_IFS
9282 DLLTOOL=$ac_cv_prog_DLLTOOL
9283 if test -n "$DLLTOOL"; then
9284 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9285 echo "${ECHO_T}$DLLTOOL" >&6; }
9286 else
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9292 test -n "$DLLTOOL" && break
9293 done
9294 test -n "$DLLTOOL" || DLLTOOL="false"
9296 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9298 # Extract the first word of "$ac_prog", so it can be a program name with args.
9299 set dummy $ac_prog; ac_word=$2
9300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9302 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9305 if test -n "$CROSSWINDRES"; then
9306 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9307 else
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9309 for as_dir in $PATH
9311 IFS=$as_save_IFS
9312 test -z "$as_dir" && as_dir=.
9313 for ac_exec_ext in '' $ac_executable_extensions; do
9314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9315 ac_cv_prog_CROSSWINDRES="$ac_prog"
9316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 break 2
9319 done
9320 done
9321 IFS=$as_save_IFS
9325 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9326 if test -n "$CROSSWINDRES"; then
9327 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9328 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9329 else
9330 { echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6; }
9335 test -n "$CROSSWINDRES" && break
9336 done
9337 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9339 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9341 # Extract the first word of "$ac_prog", so it can be a program name with args.
9342 set dummy $ac_prog; ac_word=$2
9343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9345 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 else
9348 if test -n "$MINGWAR"; then
9349 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9350 else
9351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 for as_dir in $PATH
9354 IFS=$as_save_IFS
9355 test -z "$as_dir" && as_dir=.
9356 for ac_exec_ext in '' $ac_executable_extensions; do
9357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9358 ac_cv_prog_MINGWAR="$ac_prog"
9359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9360 break 2
9362 done
9363 done
9364 IFS=$as_save_IFS
9368 MINGWAR=$ac_cv_prog_MINGWAR
9369 if test -n "$MINGWAR"; then
9370 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9371 echo "${ECHO_T}$MINGWAR" >&6; }
9372 else
9373 { echo "$as_me:$LINENO: result: no" >&5
9374 echo "${ECHO_T}no" >&6; }
9378 test -n "$MINGWAR" && break
9379 done
9380 test -n "$MINGWAR" || MINGWAR="false"
9382 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9385 esac
9387 if test "$LIBEXT" = "a"; then
9388 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9389 It is currently not possible to build Wine without shared library
9390 (.so) support to allow transparent switch between .so and .dll files.
9391 If you are using Linux, you will need a newer binutils.
9392 " >&5
9393 echo "$as_me: error: could not find a way to build shared libraries.
9394 It is currently not possible to build Wine without shared library
9395 (.so) support to allow transparent switch between .so and .dll files.
9396 If you are using Linux, you will need a newer binutils.
9397 " >&2;}
9398 { (exit 1); exit 1; }; }
9402 if test "$have_x" = "yes"
9403 then
9404 XLIB="-lXext -lX11"
9405 ac_save_CPPFLAGS="$CPPFLAGS"
9406 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9408 { echo "$as_me:$LINENO: checking for -lX11" >&5
9409 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9410 if test "${ac_cv_lib_soname_X11+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 else
9413 ac_check_soname_save_LIBS=$LIBS
9414 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9415 cat >conftest.$ac_ext <<_ACEOF
9416 /* confdefs.h. */
9417 _ACEOF
9418 cat confdefs.h >>conftest.$ac_ext
9419 cat >>conftest.$ac_ext <<_ACEOF
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9425 #ifdef __cplusplus
9426 extern "C"
9427 #endif
9428 char XCreateWindow ();
9430 main ()
9432 return XCreateWindow ();
9434 return 0;
9436 _ACEOF
9437 rm -f conftest.$ac_objext conftest$ac_exeext
9438 if { (ac_try="$ac_link"
9439 case "(($ac_try" in
9440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9441 *) ac_try_echo=$ac_try;;
9442 esac
9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9444 (eval "$ac_link") 2>conftest.er1
9445 ac_status=$?
9446 grep -v '^ *+' conftest.er1 >conftest.err
9447 rm -f conftest.er1
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } && {
9451 test -z "$ac_c_werror_flag" ||
9452 test ! -s conftest.err
9453 } && test -s conftest$ac_exeext &&
9454 $as_test_x conftest$ac_exeext; then
9455 case "$LIBEXT" in
9456 dll) ;;
9457 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'` ;;
9458 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9459 esac
9460 else
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.$ac_ext >&5
9467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9468 conftest$ac_exeext conftest.$ac_ext
9469 LIBS=$ac_check_soname_save_LIBS
9471 if test "x$ac_cv_lib_soname_X11" = "x"; then
9472 { echo "$as_me:$LINENO: result: not found" >&5
9473 echo "${ECHO_T}not found" >&6; }
9475 else
9476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9477 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9479 cat >>confdefs.h <<_ACEOF
9480 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9481 _ACEOF
9486 { echo "$as_me:$LINENO: checking for -lXext" >&5
9487 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9488 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 else
9491 ac_check_soname_save_LIBS=$LIBS
9492 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9493 cat >conftest.$ac_ext <<_ACEOF
9494 /* confdefs.h. */
9495 _ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9503 #ifdef __cplusplus
9504 extern "C"
9505 #endif
9506 char XextCreateExtension ();
9508 main ()
9510 return XextCreateExtension ();
9512 return 0;
9514 _ACEOF
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (ac_try="$ac_link"
9517 case "(($ac_try" in
9518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9519 *) ac_try_echo=$ac_try;;
9520 esac
9521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9522 (eval "$ac_link") 2>conftest.er1
9523 ac_status=$?
9524 grep -v '^ *+' conftest.er1 >conftest.err
9525 rm -f conftest.er1
9526 cat conftest.err >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest$ac_exeext &&
9532 $as_test_x conftest$ac_exeext; then
9533 case "$LIBEXT" in
9534 dll) ;;
9535 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'` ;;
9536 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9537 esac
9538 else
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.$ac_ext >&5
9545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_soname_save_LIBS
9549 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9550 { echo "$as_me:$LINENO: result: not found" >&5
9551 echo "${ECHO_T}not found" >&6; }
9553 else
9554 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9555 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9557 cat >>confdefs.h <<_ACEOF
9558 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9559 _ACEOF
9577 for ac_header in X11/Xlib.h \
9578 X11/XKBlib.h \
9579 X11/Xutil.h \
9580 X11/Xcursor/Xcursor.h \
9581 X11/extensions/shape.h \
9582 X11/extensions/XInput.h \
9583 X11/extensions/XShm.h \
9584 X11/extensions/Xcomposite.h \
9585 X11/extensions/Xinerama.h \
9586 X11/extensions/Xrandr.h \
9587 X11/extensions/Xrender.h \
9588 X11/extensions/xf86vmode.h
9590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9595 else
9596 cat >conftest.$ac_ext <<_ACEOF
9597 /* confdefs.h. */
9598 _ACEOF
9599 cat confdefs.h >>conftest.$ac_ext
9600 cat >>conftest.$ac_ext <<_ACEOF
9601 /* end confdefs.h. */
9602 #ifdef HAVE_X11_XLIB_H
9603 # include <X11/Xlib.h>
9604 #endif
9605 #ifdef HAVE_X11_XUTIL_H
9606 # include <X11/Xutil.h>
9607 #endif
9609 #include <$ac_header>
9610 _ACEOF
9611 rm -f conftest.$ac_objext
9612 if { (ac_try="$ac_compile"
9613 case "(($ac_try" in
9614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9615 *) ac_try_echo=$ac_try;;
9616 esac
9617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9618 (eval "$ac_compile") 2>conftest.er1
9619 ac_status=$?
9620 grep -v '^ *+' conftest.er1 >conftest.err
9621 rm -f conftest.er1
9622 cat conftest.err >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } && {
9625 test -z "$ac_c_werror_flag" ||
9626 test ! -s conftest.err
9627 } && test -s conftest.$ac_objext; then
9628 eval "$as_ac_Header=yes"
9629 else
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.$ac_ext >&5
9633 eval "$as_ac_Header=no"
9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9638 ac_res=`eval echo '${'$as_ac_Header'}'`
9639 { echo "$as_me:$LINENO: result: $ac_res" >&5
9640 echo "${ECHO_T}$ac_res" >&6; }
9641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9642 cat >>confdefs.h <<_ACEOF
9643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9644 _ACEOF
9648 done
9651 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9652 then
9653 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9654 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 else
9658 ac_check_lib_save_LIBS=$LIBS
9659 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9660 cat >conftest.$ac_ext <<_ACEOF
9661 /* confdefs.h. */
9662 _ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char XkbQueryExtension ();
9675 main ()
9677 return XkbQueryExtension ();
9679 return 0;
9681 _ACEOF
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (ac_try="$ac_link"
9684 case "(($ac_try" in
9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9687 esac
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9690 ac_status=$?
9691 grep -v '^ *+' conftest.er1 >conftest.err
9692 rm -f conftest.er1
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_X11_XkbQueryExtension=yes
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_X11_XkbQueryExtension=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9713 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9714 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9716 cat >>confdefs.h <<\_ACEOF
9717 #define HAVE_XKB 1
9718 _ACEOF
9724 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9725 then
9726 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9727 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9728 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 else
9731 ac_check_soname_save_LIBS=$LIBS
9732 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9733 cat >conftest.$ac_ext <<_ACEOF
9734 /* confdefs.h. */
9735 _ACEOF
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char XcursorImageLoadCursor ();
9748 main ()
9750 return XcursorImageLoadCursor ();
9752 return 0;
9754 _ACEOF
9755 rm -f conftest.$ac_objext conftest$ac_exeext
9756 if { (ac_try="$ac_link"
9757 case "(($ac_try" in
9758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9759 *) ac_try_echo=$ac_try;;
9760 esac
9761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9762 (eval "$ac_link") 2>conftest.er1
9763 ac_status=$?
9764 grep -v '^ *+' conftest.er1 >conftest.err
9765 rm -f conftest.er1
9766 cat conftest.err >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } && {
9769 test -z "$ac_c_werror_flag" ||
9770 test ! -s conftest.err
9771 } && test -s conftest$ac_exeext &&
9772 $as_test_x conftest$ac_exeext; then
9773 case "$LIBEXT" in
9774 dll) ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9777 esac
9778 else
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_soname_save_LIBS
9789 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9790 { echo "$as_me:$LINENO: result: not found" >&5
9791 echo "${ECHO_T}not found" >&6; }
9793 else
9794 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9795 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9797 cat >>confdefs.h <<_ACEOF
9798 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9799 _ACEOF
9805 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9806 case "x$with_xcursor" in
9807 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9808 xno) ;;
9809 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9810 This is an error since --with-xcursor was requested." >&5
9811 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9812 This is an error since --with-xcursor was requested." >&2;}
9813 { (exit 1); exit 1; }; } ;;
9814 esac
9818 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9819 then
9820 { echo "$as_me:$LINENO: checking for -lXi" >&5
9821 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9822 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 else
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9827 cat >conftest.$ac_ext <<_ACEOF
9828 /* confdefs.h. */
9829 _ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XOpenDevice ();
9842 main ()
9844 return XOpenDevice ();
9846 return 0;
9848 _ACEOF
9849 rm -f conftest.$ac_objext conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9851 case "(($ac_try" in
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9854 esac
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>conftest.er1
9857 ac_status=$?
9858 grep -v '^ *+' conftest.er1 >conftest.err
9859 rm -f conftest.er1
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest$ac_exeext &&
9866 $as_test_x conftest$ac_exeext; then
9867 case "$LIBEXT" in
9868 dll) ;;
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9871 esac
9872 else
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9884 { echo "$as_me:$LINENO: result: not found" >&5
9885 echo "${ECHO_T}not found" >&6; }
9887 else
9888 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9889 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9893 _ACEOF
9899 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9900 case "x$with_xinput" in
9901 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9902 xno) ;;
9903 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9904 This is an error since --with-xinput was requested." >&5
9905 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9906 This is an error since --with-xinput was requested." >&2;}
9907 { (exit 1); exit 1; }; } ;;
9908 esac
9912 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9913 then
9914 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9915 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9916 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 else
9919 ac_check_lib_save_LIBS=$LIBS
9920 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9921 cat >conftest.$ac_ext <<_ACEOF
9922 /* confdefs.h. */
9923 _ACEOF
9924 cat confdefs.h >>conftest.$ac_ext
9925 cat >>conftest.$ac_ext <<_ACEOF
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9931 #ifdef __cplusplus
9932 extern "C"
9933 #endif
9934 char XShmQueryExtension ();
9936 main ()
9938 return XShmQueryExtension ();
9940 return 0;
9942 _ACEOF
9943 rm -f conftest.$ac_objext conftest$ac_exeext
9944 if { (ac_try="$ac_link"
9945 case "(($ac_try" in
9946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9947 *) ac_try_echo=$ac_try;;
9948 esac
9949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9950 (eval "$ac_link") 2>conftest.er1
9951 ac_status=$?
9952 grep -v '^ *+' conftest.er1 >conftest.err
9953 rm -f conftest.er1
9954 cat conftest.err >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); } && {
9957 test -z "$ac_c_werror_flag" ||
9958 test ! -s conftest.err
9959 } && test -s conftest$ac_exeext &&
9960 $as_test_x conftest$ac_exeext; then
9961 ac_cv_lib_Xext_XShmQueryExtension=yes
9962 else
9963 echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9966 ac_cv_lib_Xext_XShmQueryExtension=no
9969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_lib_save_LIBS
9973 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9974 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9975 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9977 cat >>confdefs.h <<\_ACEOF
9978 #define HAVE_LIBXXSHM 1
9979 _ACEOF
9984 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9985 case "x$with_xshm" in
9986 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9987 xno) ;;
9988 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9989 This is an error since --with-xshm was requested." >&5
9990 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9991 This is an error since --with-xshm was requested." >&2;}
9992 { (exit 1); exit 1; }; } ;;
9993 esac
9997 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9998 then
9999 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10000 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10001 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 else
10004 ac_check_lib_save_LIBS=$LIBS
10005 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10006 cat >conftest.$ac_ext <<_ACEOF
10007 /* confdefs.h. */
10008 _ACEOF
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XShapeQueryExtension ();
10021 main ()
10023 return XShapeQueryExtension ();
10025 return 0;
10027 _ACEOF
10028 rm -f conftest.$ac_objext conftest$ac_exeext
10029 if { (ac_try="$ac_link"
10030 case "(($ac_try" in
10031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10032 *) ac_try_echo=$ac_try;;
10033 esac
10034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10035 (eval "$ac_link") 2>conftest.er1
10036 ac_status=$?
10037 grep -v '^ *+' conftest.er1 >conftest.err
10038 rm -f conftest.er1
10039 cat conftest.err >&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } && {
10042 test -z "$ac_c_werror_flag" ||
10043 test ! -s conftest.err
10044 } && test -s conftest$ac_exeext &&
10045 $as_test_x conftest$ac_exeext; then
10046 ac_cv_lib_Xext_XShapeQueryExtension=yes
10047 else
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10051 ac_cv_lib_Xext_XShapeQueryExtension=no
10054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10062 cat >>confdefs.h <<\_ACEOF
10063 #define HAVE_LIBXSHAPE 1
10064 _ACEOF
10069 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10070 case "x$with_xshape" in
10071 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10072 xno) ;;
10073 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10074 This is an error since --with-xshape was requested." >&5
10075 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10076 This is an error since --with-xshape was requested." >&2;}
10077 { (exit 1); exit 1; }; } ;;
10078 esac
10082 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10083 then
10084 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10085 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10086 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10091 cat >conftest.$ac_ext <<_ACEOF
10092 /* confdefs.h. */
10093 _ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10101 #ifdef __cplusplus
10102 extern "C"
10103 #endif
10104 char XF86VidModeQueryExtension ();
10106 main ()
10108 return XF86VidModeQueryExtension ();
10110 return 0;
10112 _ACEOF
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (ac_try="$ac_link"
10115 case "(($ac_try" in
10116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10117 *) ac_try_echo=$ac_try;;
10118 esac
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_link") 2>conftest.er1
10121 ac_status=$?
10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest$ac_exeext &&
10130 $as_test_x conftest$ac_exeext; then
10131 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10132 else
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.$ac_ext >&5
10136 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10144 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10145 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10147 cat >>confdefs.h <<\_ACEOF
10148 #define HAVE_LIBXXF86VM 1
10149 _ACEOF
10151 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10156 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10157 case "x$with_xvidmode" in
10158 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10159 xno) ;;
10160 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10161 This is an error since --with-xvidmode was requested." >&5
10162 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10163 This is an error since --with-xvidmode was requested." >&2;}
10164 { (exit 1); exit 1; }; } ;;
10165 esac
10169 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"
10170 then
10171 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10172 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10173 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10178 cat >conftest.$ac_ext <<_ACEOF
10179 /* confdefs.h. */
10180 _ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char XRenderQueryExtension ();
10193 main ()
10195 return XRenderQueryExtension ();
10197 return 0;
10199 _ACEOF
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (ac_try="$ac_link"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10205 esac
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_link") 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest$ac_exeext &&
10217 $as_test_x conftest$ac_exeext; then
10218 case "$LIBEXT" in
10219 dll) ;;
10220 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'` ;;
10221 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10222 esac
10223 else
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_soname_save_LIBS
10234 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10235 { echo "$as_me:$LINENO: result: not found" >&5
10236 echo "${ECHO_T}not found" >&6; }
10238 else
10239 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10240 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10242 cat >>confdefs.h <<_ACEOF
10243 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10244 _ACEOF
10246 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10247 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10248 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10249 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 else
10251 ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10253 cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h. */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderSetPictureTransform ();
10268 main ()
10270 return XRenderSetPictureTransform ();
10272 return 0;
10274 _ACEOF
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (ac_try="$ac_link"
10277 case "(($ac_try" in
10278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279 *) ac_try_echo=$ac_try;;
10280 esac
10281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10282 (eval "$ac_link") 2>conftest.er1
10283 ac_status=$?
10284 grep -v '^ *+' conftest.er1 >conftest.err
10285 rm -f conftest.er1
10286 cat conftest.err >&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); } && {
10289 test -z "$ac_c_werror_flag" ||
10290 test ! -s conftest.err
10291 } && test -s conftest$ac_exeext &&
10292 $as_test_x conftest$ac_exeext; then
10293 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10294 else
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.$ac_ext >&5
10298 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10306 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10307 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10309 cat >>confdefs.h <<\_ACEOF
10310 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10311 _ACEOF
10319 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10320 case "x$with_xrender" in
10321 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10322 xno) ;;
10323 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10324 This is an error since --with-xrender was requested." >&5
10325 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10326 This is an error since --with-xrender was requested." >&2;}
10327 { (exit 1); exit 1; }; } ;;
10328 esac
10332 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10333 then
10334 cat >conftest.$ac_ext <<_ACEOF
10335 /* confdefs.h. */
10336 _ACEOF
10337 cat confdefs.h >>conftest.$ac_ext
10338 cat >>conftest.$ac_ext <<_ACEOF
10339 /* end confdefs.h. */
10340 #include <X11/Xlib.h>
10341 #include <X11/extensions/Xrandr.h>
10343 main ()
10345 static typeof(XRRSetScreenConfigAndRate) * func;
10347 return 0;
10349 _ACEOF
10350 rm -f conftest.$ac_objext
10351 if { (ac_try="$ac_compile"
10352 case "(($ac_try" in
10353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10354 *) ac_try_echo=$ac_try;;
10355 esac
10356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10357 (eval "$ac_compile") 2>conftest.er1
10358 ac_status=$?
10359 grep -v '^ *+' conftest.er1 >conftest.err
10360 rm -f conftest.er1
10361 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); } && {
10364 test -z "$ac_c_werror_flag" ||
10365 test ! -s conftest.err
10366 } && test -s conftest.$ac_objext; then
10367 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10368 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10369 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 ac_check_soname_save_LIBS=$LIBS
10373 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10374 cat >conftest.$ac_ext <<_ACEOF
10375 /* confdefs.h. */
10376 _ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char XRRQueryExtension ();
10389 main ()
10391 return XRRQueryExtension ();
10393 return 0;
10395 _ACEOF
10396 rm -f conftest.$ac_objext conftest$ac_exeext
10397 if { (ac_try="$ac_link"
10398 case "(($ac_try" in
10399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10400 *) ac_try_echo=$ac_try;;
10401 esac
10402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10403 (eval "$ac_link") 2>conftest.er1
10404 ac_status=$?
10405 grep -v '^ *+' conftest.er1 >conftest.err
10406 rm -f conftest.er1
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } && {
10410 test -z "$ac_c_werror_flag" ||
10411 test ! -s conftest.err
10412 } && test -s conftest$ac_exeext &&
10413 $as_test_x conftest$ac_exeext; then
10414 case "$LIBEXT" in
10415 dll) ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10418 esac
10419 else
10420 echo "$as_me: failed program was:" >&5
10421 sed 's/^/| /' conftest.$ac_ext >&5
10426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LIBS=$ac_check_soname_save_LIBS
10430 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10431 { echo "$as_me:$LINENO: result: not found" >&5
10432 echo "${ECHO_T}not found" >&6; }
10434 else
10435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10436 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10438 cat >>confdefs.h <<_ACEOF
10439 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10440 _ACEOF
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10454 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10455 case "x$with_xrandr" in
10456 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10457 xno) ;;
10458 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10459 This is an error since --with-xrandr was requested." >&5
10460 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10461 This is an error since --with-xrandr was requested." >&2;}
10462 { (exit 1); exit 1; }; } ;;
10463 esac
10467 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10468 then
10469 cat >conftest.$ac_ext <<_ACEOF
10470 /* confdefs.h. */
10471 _ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475 #include <X11/Xlib.h>
10476 #include <X11/extensions/Xinerama.h>
10478 main ()
10480 static typeof(XineramaQueryScreens) * func;
10482 return 0;
10484 _ACEOF
10485 rm -f conftest.$ac_objext
10486 if { (ac_try="$ac_compile"
10487 case "(($ac_try" in
10488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10489 *) ac_try_echo=$ac_try;;
10490 esac
10491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10492 (eval "$ac_compile") 2>conftest.er1
10493 ac_status=$?
10494 grep -v '^ *+' conftest.er1 >conftest.err
10495 rm -f conftest.er1
10496 cat conftest.err >&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } && {
10499 test -z "$ac_c_werror_flag" ||
10500 test ! -s conftest.err
10501 } && test -s conftest.$ac_objext; then
10502 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10503 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10504 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 else
10507 ac_check_soname_save_LIBS=$LIBS
10508 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10509 cat >conftest.$ac_ext <<_ACEOF
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char XineramaQueryScreens ();
10524 main ()
10526 return XineramaQueryScreens ();
10528 return 0;
10530 _ACEOF
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (ac_try="$ac_link"
10533 case "(($ac_try" in
10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10536 esac
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10539 ac_status=$?
10540 grep -v '^ *+' conftest.er1 >conftest.err
10541 rm -f conftest.er1
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10549 case "$LIBEXT" in
10550 dll) ;;
10551 dylib) ac_cv_lib_soname_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'` ;;
10552 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10553 esac
10554 else
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10566 { echo "$as_me:$LINENO: result: not found" >&5
10567 echo "${ECHO_T}not found" >&6; }
10569 else
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10571 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10573 cat >>confdefs.h <<_ACEOF
10574 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10575 _ACEOF
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10589 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10590 case "x$with_xinerama" in
10591 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10592 xno) ;;
10593 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10594 This is an error since --with-xinerama was requested." >&5
10595 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10596 This is an error since --with-xinerama was requested." >&2;}
10597 { (exit 1); exit 1; }; } ;;
10598 esac
10602 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10603 then
10604 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10605 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10606 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10608 else
10609 ac_check_soname_save_LIBS=$LIBS
10610 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10611 cat >conftest.$ac_ext <<_ACEOF
10612 /* confdefs.h. */
10613 _ACEOF
10614 cat confdefs.h >>conftest.$ac_ext
10615 cat >>conftest.$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10621 #ifdef __cplusplus
10622 extern "C"
10623 #endif
10624 char XCompositeRedirectWindow ();
10626 main ()
10628 return XCompositeRedirectWindow ();
10630 return 0;
10632 _ACEOF
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (ac_try="$ac_link"
10635 case "(($ac_try" in
10636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10637 *) ac_try_echo=$ac_try;;
10638 esac
10639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10640 (eval "$ac_link") 2>conftest.er1
10641 ac_status=$?
10642 grep -v '^ *+' conftest.er1 >conftest.err
10643 rm -f conftest.er1
10644 cat conftest.err >&5
10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10646 (exit $ac_status); } && {
10647 test -z "$ac_c_werror_flag" ||
10648 test ! -s conftest.err
10649 } && test -s conftest$ac_exeext &&
10650 $as_test_x conftest$ac_exeext; then
10651 case "$LIBEXT" in
10652 dll) ;;
10653 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'` ;;
10654 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10655 esac
10656 else
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.$ac_ext >&5
10663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_soname_save_LIBS
10667 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10668 { echo "$as_me:$LINENO: result: not found" >&5
10669 echo "${ECHO_T}not found" >&6; }
10671 else
10672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10673 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10675 cat >>confdefs.h <<_ACEOF
10676 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10677 _ACEOF
10683 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10684 case "x$with_xcomposite" in
10685 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10686 xno) ;;
10687 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10688 This is an error since --with-xcomposite was requested." >&5
10689 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10690 This is an error since --with-xcomposite was requested." >&2;}
10691 { (exit 1); exit 1; }; } ;;
10692 esac
10696 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10697 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10698 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10700 else
10701 cat >conftest.$ac_ext <<_ACEOF
10702 /* confdefs.h. */
10703 _ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #ifdef HAVE_X11_XLIB_H
10708 #include <X11/Xlib.h>
10709 #endif
10712 main ()
10714 static XICCallback ac_aggr;
10715 if (ac_aggr.callback)
10716 return 0;
10718 return 0;
10720 _ACEOF
10721 rm -f conftest.$ac_objext
10722 if { (ac_try="$ac_compile"
10723 case "(($ac_try" in
10724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10725 *) ac_try_echo=$ac_try;;
10726 esac
10727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10728 (eval "$ac_compile") 2>conftest.er1
10729 ac_status=$?
10730 grep -v '^ *+' conftest.er1 >conftest.err
10731 rm -f conftest.er1
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } && {
10735 test -z "$ac_c_werror_flag" ||
10736 test ! -s conftest.err
10737 } && test -s conftest.$ac_objext; then
10738 ac_cv_member_XICCallback_callback=yes
10739 else
10740 echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 cat >conftest.$ac_ext <<_ACEOF
10744 /* confdefs.h. */
10745 _ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10749 #ifdef HAVE_X11_XLIB_H
10750 #include <X11/Xlib.h>
10751 #endif
10754 main ()
10756 static XICCallback ac_aggr;
10757 if (sizeof ac_aggr.callback)
10758 return 0;
10760 return 0;
10762 _ACEOF
10763 rm -f conftest.$ac_objext
10764 if { (ac_try="$ac_compile"
10765 case "(($ac_try" in
10766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10767 *) ac_try_echo=$ac_try;;
10768 esac
10769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10770 (eval "$ac_compile") 2>conftest.er1
10771 ac_status=$?
10772 grep -v '^ *+' conftest.er1 >conftest.err
10773 rm -f conftest.er1
10774 cat conftest.err >&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } && {
10777 test -z "$ac_c_werror_flag" ||
10778 test ! -s conftest.err
10779 } && test -s conftest.$ac_objext; then
10780 ac_cv_member_XICCallback_callback=yes
10781 else
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10785 ac_cv_member_XICCallback_callback=no
10788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10793 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10794 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10795 if test $ac_cv_member_XICCallback_callback = yes; then
10797 cat >>confdefs.h <<_ACEOF
10798 #define HAVE_XICCALLBACK_CALLBACK 1
10799 _ACEOF
10806 opengl_msg=""
10807 if test "x$with_opengl" != "xno"
10808 then
10813 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 else
10821 cat >conftest.$ac_ext <<_ACEOF
10822 /* confdefs.h. */
10823 _ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 #ifdef HAVE_GL_GLX_H
10828 # include <GL/glx.h>
10829 #endif
10831 #include <$ac_header>
10832 _ACEOF
10833 rm -f conftest.$ac_objext
10834 if { (ac_try="$ac_compile"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10838 esac
10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_compile") 2>conftest.er1
10841 ac_status=$?
10842 grep -v '^ *+' conftest.er1 >conftest.err
10843 rm -f conftest.er1
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest.$ac_objext; then
10850 eval "$as_ac_Header=yes"
10851 else
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 eval "$as_ac_Header=no"
10858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10860 ac_res=`eval echo '${'$as_ac_Header'}'`
10861 { echo "$as_me:$LINENO: result: $ac_res" >&5
10862 echo "${ECHO_T}$ac_res" >&6; }
10863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10864 cat >>confdefs.h <<_ACEOF
10865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10866 _ACEOF
10870 done
10872 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10873 then
10874 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10875 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10876 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 else
10879 cat >conftest.$ac_ext <<_ACEOF
10880 /* confdefs.h. */
10881 _ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 #include <GL/gl.h>
10887 main ()
10889 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10891 return 0;
10893 _ACEOF
10894 rm -f conftest.$ac_objext
10895 if { (ac_try="$ac_compile"
10896 case "(($ac_try" in
10897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10898 *) ac_try_echo=$ac_try;;
10899 esac
10900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10901 (eval "$ac_compile") 2>conftest.er1
10902 ac_status=$?
10903 grep -v '^ *+' conftest.er1 >conftest.err
10904 rm -f conftest.er1
10905 cat conftest.err >&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); } && {
10908 test -z "$ac_c_werror_flag" ||
10909 test ! -s conftest.err
10910 } && test -s conftest.$ac_objext; then
10911 wine_cv_opengl_header_version_OK="yes"
10912 else
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 wine_cv_opengl_header_version_OK="no"
10919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10921 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10922 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10924 if test "$wine_cv_opengl_header_version_OK" = "yes"
10925 then
10926 { echo "$as_me:$LINENO: checking for -lGL" >&5
10927 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10928 if test "${ac_cv_lib_soname_GL+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10930 else
10931 ac_check_soname_save_LIBS=$LIBS
10932 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10933 cat >conftest.$ac_ext <<_ACEOF
10934 /* confdefs.h. */
10935 _ACEOF
10936 cat confdefs.h >>conftest.$ac_ext
10937 cat >>conftest.$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char glXCreateContext ();
10948 main ()
10950 return glXCreateContext ();
10952 return 0;
10954 _ACEOF
10955 rm -f conftest.$ac_objext conftest$ac_exeext
10956 if { (ac_try="$ac_link"
10957 case "(($ac_try" in
10958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10959 *) ac_try_echo=$ac_try;;
10960 esac
10961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10962 (eval "$ac_link") 2>conftest.er1
10963 ac_status=$?
10964 grep -v '^ *+' conftest.er1 >conftest.err
10965 rm -f conftest.er1
10966 cat conftest.err >&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } && {
10969 test -z "$ac_c_werror_flag" ||
10970 test ! -s conftest.err
10971 } && test -s conftest$ac_exeext &&
10972 $as_test_x conftest$ac_exeext; then
10973 case "$LIBEXT" in
10974 dll) ;;
10975 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'` ;;
10976 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10977 esac
10978 else
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.$ac_ext >&5
10985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_soname_save_LIBS
10989 if test "x$ac_cv_lib_soname_GL" = "x"; then
10990 { echo "$as_me:$LINENO: result: not found" >&5
10991 echo "${ECHO_T}not found" >&6; }
10992 { echo "$as_me:$LINENO: checking for -lGL" >&5
10993 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10994 if test "${ac_cv_lib_soname_GL+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 else
10997 ac_check_soname_save_LIBS=$LIBS
10998 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"
10999 cat >conftest.$ac_ext <<_ACEOF
11000 /* confdefs.h. */
11001 _ACEOF
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11009 #ifdef __cplusplus
11010 extern "C"
11011 #endif
11012 char glXCreateContext ();
11014 main ()
11016 return glXCreateContext ();
11018 return 0;
11020 _ACEOF
11021 rm -f conftest.$ac_objext conftest$ac_exeext
11022 if { (ac_try="$ac_link"
11023 case "(($ac_try" in
11024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11025 *) ac_try_echo=$ac_try;;
11026 esac
11027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 (eval "$ac_link") 2>conftest.er1
11029 ac_status=$?
11030 grep -v '^ *+' conftest.er1 >conftest.err
11031 rm -f conftest.er1
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } && {
11035 test -z "$ac_c_werror_flag" ||
11036 test ! -s conftest.err
11037 } && test -s conftest$ac_exeext &&
11038 $as_test_x conftest$ac_exeext; then
11039 case "$LIBEXT" in
11040 dll) ;;
11041 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'` ;;
11042 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11043 esac
11044 else
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.$ac_ext >&5
11051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_soname_save_LIBS
11055 if test "x$ac_cv_lib_soname_GL" = "x"; then
11056 { echo "$as_me:$LINENO: result: not found" >&5
11057 echo "${ECHO_T}not found" >&6; }
11058 if test -f /usr/X11R6/lib/libGL.a
11059 then
11060 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11061 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11062 else
11063 opengl_msg="No OpenGL library found on this system."
11065 else
11066 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11067 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11069 cat >>confdefs.h <<_ACEOF
11070 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11071 _ACEOF
11073 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"
11074 OPENGLFILES='$(OPENGLFILES)'
11076 cat >>confdefs.h <<\_ACEOF
11077 #define HAVE_OPENGL 1
11078 _ACEOF
11082 else
11083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11084 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11086 cat >>confdefs.h <<_ACEOF
11087 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11088 _ACEOF
11090 OPENGL_LIBS="-lGL"
11091 OPENGLFILES='$(OPENGLFILES)'
11093 cat >>confdefs.h <<\_ACEOF
11094 #define HAVE_OPENGL 1
11095 _ACEOF
11099 if test "$ac_cv_header_GL_glu_h" = "yes"
11100 then
11101 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11102 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11103 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 else
11106 ac_check_soname_save_LIBS=$LIBS
11107 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11108 cat >conftest.$ac_ext <<_ACEOF
11109 /* confdefs.h. */
11110 _ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char gluLookAt ();
11123 main ()
11125 return gluLookAt ();
11127 return 0;
11129 _ACEOF
11130 rm -f conftest.$ac_objext conftest$ac_exeext
11131 if { (ac_try="$ac_link"
11132 case "(($ac_try" in
11133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11134 *) ac_try_echo=$ac_try;;
11135 esac
11136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11137 (eval "$ac_link") 2>conftest.er1
11138 ac_status=$?
11139 grep -v '^ *+' conftest.er1 >conftest.err
11140 rm -f conftest.er1
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } && {
11144 test -z "$ac_c_werror_flag" ||
11145 test ! -s conftest.err
11146 } && test -s conftest$ac_exeext &&
11147 $as_test_x conftest$ac_exeext; then
11148 case "$LIBEXT" in
11149 dll) ;;
11150 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11151 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11152 esac
11153 else
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.$ac_ext >&5
11160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_soname_save_LIBS
11164 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11165 { echo "$as_me:$LINENO: result: not found" >&5
11166 echo "${ECHO_T}not found" >&6; }
11168 else
11169 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11170 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11172 cat >>confdefs.h <<_ACEOF
11173 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11174 _ACEOF
11176 GLU32FILES='$(GLU32FILES)'
11180 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11181 case "x$with_glu" in
11182 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11183 xno) ;;
11184 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11185 This is an error since --with-glu was requested." >&5
11186 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11187 This is an error since --with-glu was requested." >&2;}
11188 { (exit 1); exit 1; }; } ;;
11189 esac
11192 else
11193 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11195 else
11196 opengl_msg="OpenGL development headers not found."
11199 if test -n "$opengl_msg"; then
11200 case "x$with_opengl" in
11201 x) wine_warnings="$wine_warnings|$opengl_msg
11202 OpenGL and Direct3D won't be supported." ;;
11203 xno) ;;
11204 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11205 OpenGL and Direct3D won't be supported.
11206 This is an error since --with-opengl was requested." >&5
11207 echo "$as_me: error: $opengl_msg
11208 OpenGL and Direct3D won't be supported.
11209 This is an error since --with-opengl was requested." >&2;}
11210 { (exit 1); exit 1; }; } ;;
11211 esac
11215 NASLIBS=""
11218 for ac_header in audio/audiolib.h
11220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 ac_res=`eval echo '${'$as_ac_Header'}'`
11228 { echo "$as_me:$LINENO: result: $ac_res" >&5
11229 echo "${ECHO_T}$ac_res" >&6; }
11230 else
11231 # Is the header compilable?
11232 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240 $ac_includes_default
11241 #include <$ac_header>
11242 _ACEOF
11243 rm -f conftest.$ac_objext
11244 if { (ac_try="$ac_compile"
11245 case "(($ac_try" in
11246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11247 *) ac_try_echo=$ac_try;;
11248 esac
11249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11250 (eval "$ac_compile") 2>conftest.er1
11251 ac_status=$?
11252 grep -v '^ *+' conftest.er1 >conftest.err
11253 rm -f conftest.er1
11254 cat conftest.err >&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } && {
11257 test -z "$ac_c_werror_flag" ||
11258 test ! -s conftest.err
11259 } && test -s conftest.$ac_objext; then
11260 ac_header_compiler=yes
11261 else
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.$ac_ext >&5
11265 ac_header_compiler=no
11268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11270 echo "${ECHO_T}$ac_header_compiler" >&6; }
11272 # Is the header present?
11273 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11275 cat >conftest.$ac_ext <<_ACEOF
11276 /* confdefs.h. */
11277 _ACEOF
11278 cat confdefs.h >>conftest.$ac_ext
11279 cat >>conftest.$ac_ext <<_ACEOF
11280 /* end confdefs.h. */
11281 #include <$ac_header>
11282 _ACEOF
11283 if { (ac_try="$ac_cpp conftest.$ac_ext"
11284 case "(($ac_try" in
11285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11286 *) ac_try_echo=$ac_try;;
11287 esac
11288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11290 ac_status=$?
11291 grep -v '^ *+' conftest.er1 >conftest.err
11292 rm -f conftest.er1
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } >/dev/null && {
11296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11297 test ! -s conftest.err
11298 }; then
11299 ac_header_preproc=yes
11300 else
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.$ac_ext >&5
11304 ac_header_preproc=no
11307 rm -f conftest.err conftest.$ac_ext
11308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11309 echo "${ECHO_T}$ac_header_preproc" >&6; }
11311 # So? What about this header?
11312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11313 yes:no: )
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11318 ac_header_preproc=yes
11320 no:yes:* )
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11333 ( cat <<\_ASBOX
11334 ## ------------------------------------ ##
11335 ## Report this to wine-devel@winehq.org ##
11336 ## ------------------------------------ ##
11337 _ASBOX
11338 ) | sed "s/^/$as_me: WARNING: /" >&2
11340 esac
11341 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11343 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 else
11346 eval "$as_ac_Header=\$ac_header_preproc"
11348 ac_res=`eval echo '${'$as_ac_Header'}'`
11349 { echo "$as_me:$LINENO: result: $ac_res" >&5
11350 echo "${ECHO_T}$ac_res" >&6; }
11353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11354 cat >>confdefs.h <<_ACEOF
11355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11356 _ACEOF
11358 for ac_header in audio/soundlib.h
11360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 else
11366 cat >conftest.$ac_ext <<_ACEOF
11367 /* confdefs.h. */
11368 _ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11372 #include <audio/audiolib.h>
11374 #include <$ac_header>
11375 _ACEOF
11376 rm -f conftest.$ac_objext
11377 if { (ac_try="$ac_compile"
11378 case "(($ac_try" in
11379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11380 *) ac_try_echo=$ac_try;;
11381 esac
11382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11383 (eval "$ac_compile") 2>conftest.er1
11384 ac_status=$?
11385 grep -v '^ *+' conftest.er1 >conftest.err
11386 rm -f conftest.er1
11387 cat conftest.err >&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } && {
11390 test -z "$ac_c_werror_flag" ||
11391 test ! -s conftest.err
11392 } && test -s conftest.$ac_objext; then
11393 eval "$as_ac_Header=yes"
11394 else
11395 echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 eval "$as_ac_Header=no"
11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11403 ac_res=`eval echo '${'$as_ac_Header'}'`
11404 { echo "$as_me:$LINENO: result: $ac_res" >&5
11405 echo "${ECHO_T}$ac_res" >&6; }
11406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11407 cat >>confdefs.h <<_ACEOF
11408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11409 _ACEOF
11413 done
11415 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11416 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11417 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 else
11420 ac_check_lib_save_LIBS=$LIBS
11421 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11422 cat >conftest.$ac_ext <<_ACEOF
11423 /* confdefs.h. */
11424 _ACEOF
11425 cat confdefs.h >>conftest.$ac_ext
11426 cat >>conftest.$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char AuCreateFlow ();
11437 main ()
11439 return AuCreateFlow ();
11441 return 0;
11443 _ACEOF
11444 rm -f conftest.$ac_objext conftest$ac_exeext
11445 if { (ac_try="$ac_link"
11446 case "(($ac_try" in
11447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448 *) ac_try_echo=$ac_try;;
11449 esac
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 (eval "$ac_link") 2>conftest.er1
11452 ac_status=$?
11453 grep -v '^ *+' conftest.er1 >conftest.err
11454 rm -f conftest.er1
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } && {
11458 test -z "$ac_c_werror_flag" ||
11459 test ! -s conftest.err
11460 } && test -s conftest$ac_exeext &&
11461 $as_test_x conftest$ac_exeext; then
11462 ac_cv_lib_audio_AuCreateFlow=yes
11463 else
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.$ac_ext >&5
11467 ac_cv_lib_audio_AuCreateFlow=no
11470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11475 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11476 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE_NAS 1
11480 _ACEOF
11482 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11483 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11484 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 else
11487 ac_check_lib_save_LIBS=$LIBS
11488 LIBS="-lXau $X_LIBS $LIBS"
11489 cat >conftest.$ac_ext <<_ACEOF
11490 /* confdefs.h. */
11491 _ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11496 /* Override any GCC internal prototype to avoid an error.
11497 Use char because int might match the return type of a GCC
11498 builtin and then its argument prototype would still apply. */
11499 #ifdef __cplusplus
11500 extern "C"
11501 #endif
11502 char XauGetBestAuthByAddr ();
11504 main ()
11506 return XauGetBestAuthByAddr ();
11508 return 0;
11510 _ACEOF
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (ac_try="$ac_link"
11513 case "(($ac_try" in
11514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11515 *) ac_try_echo=$ac_try;;
11516 esac
11517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11518 (eval "$ac_link") 2>conftest.er1
11519 ac_status=$?
11520 grep -v '^ *+' conftest.er1 >conftest.err
11521 rm -f conftest.er1
11522 cat conftest.err >&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } && {
11525 test -z "$ac_c_werror_flag" ||
11526 test ! -s conftest.err
11527 } && test -s conftest$ac_exeext &&
11528 $as_test_x conftest$ac_exeext; then
11529 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11530 else
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.$ac_ext >&5
11534 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_lib_save_LIBS
11541 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11542 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11543 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11544 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11545 else
11546 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11554 done
11557 CPPFLAGS="$ac_save_CPPFLAGS"
11558 XFILES='$(XFILES)'
11559 else
11560 XLIB=""
11561 X_CFLAGS=""
11562 X_LIBS=""
11564 if test "x$XLIB" = "x"; then
11565 case "x$with_x" in
11566 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11567 without X support, which probably isn't what you want. You will need to install
11568 development packages of Xlib/Xfree86 at the very least." ;;
11569 xno) ;;
11570 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11571 without X support, which probably isn't what you want. You will need to install
11572 development packages of Xlib/Xfree86 at the very least.
11573 This is an error since --with-x was requested." >&5
11574 echo "$as_me: error: X development files not found. Wine will be built
11575 without X support, which probably isn't what you want. You will need to install
11576 development packages of Xlib/Xfree86 at the very least.
11577 This is an error since --with-x was requested." >&2;}
11578 { (exit 1); exit 1; }; } ;;
11579 esac
11584 XML2LIBS=""
11586 XML2INCL=""
11588 XSLTLIBS=""
11590 XSLTINCL=""
11592 if test "x$with_xml" != "xno"
11593 then
11594 ac_save_CPPFLAGS="$CPPFLAGS"
11595 if test "$PKG_CONFIG" != "false"
11596 then
11597 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11598 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11599 else
11600 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11601 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11603 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11605 for ac_header in libxml/parser.h
11607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 ac_res=`eval echo '${'$as_ac_Header'}'`
11615 { echo "$as_me:$LINENO: result: $ac_res" >&5
11616 echo "${ECHO_T}$ac_res" >&6; }
11617 else
11618 # Is the header compilable?
11619 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11621 cat >conftest.$ac_ext <<_ACEOF
11622 /* confdefs.h. */
11623 _ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 $ac_includes_default
11628 #include <$ac_header>
11629 _ACEOF
11630 rm -f conftest.$ac_objext
11631 if { (ac_try="$ac_compile"
11632 case "(($ac_try" in
11633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11634 *) ac_try_echo=$ac_try;;
11635 esac
11636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11637 (eval "$ac_compile") 2>conftest.er1
11638 ac_status=$?
11639 grep -v '^ *+' conftest.er1 >conftest.err
11640 rm -f conftest.er1
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } && {
11644 test -z "$ac_c_werror_flag" ||
11645 test ! -s conftest.err
11646 } && test -s conftest.$ac_objext; then
11647 ac_header_compiler=yes
11648 else
11649 echo "$as_me: failed program was:" >&5
11650 sed 's/^/| /' conftest.$ac_ext >&5
11652 ac_header_compiler=no
11655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11657 echo "${ECHO_T}$ac_header_compiler" >&6; }
11659 # Is the header present?
11660 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11662 cat >conftest.$ac_ext <<_ACEOF
11663 /* confdefs.h. */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 #include <$ac_header>
11669 _ACEOF
11670 if { (ac_try="$ac_cpp conftest.$ac_ext"
11671 case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11674 esac
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } >/dev/null && {
11683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 }; then
11686 ac_header_preproc=yes
11687 else
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.$ac_ext >&5
11691 ac_header_preproc=no
11694 rm -f conftest.err conftest.$ac_ext
11695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11696 echo "${ECHO_T}$ac_header_preproc" >&6; }
11698 # So? What about this header?
11699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11700 yes:no: )
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11705 ac_header_preproc=yes
11707 no:yes:* )
11708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11720 ( cat <<\_ASBOX
11721 ## ------------------------------------ ##
11722 ## Report this to wine-devel@winehq.org ##
11723 ## ------------------------------------ ##
11724 _ASBOX
11725 ) | sed "s/^/$as_me: WARNING: /" >&2
11727 esac
11728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11732 else
11733 eval "$as_ac_Header=\$ac_header_preproc"
11735 ac_res=`eval echo '${'$as_ac_Header'}'`
11736 { echo "$as_me:$LINENO: result: $ac_res" >&5
11737 echo "${ECHO_T}$ac_res" >&6; }
11740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11741 cat >>confdefs.h <<_ACEOF
11742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11743 _ACEOF
11744 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11745 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11746 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-lxml2 $ac_xml_libs $LIBS"
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11761 #ifdef __cplusplus
11762 extern "C"
11763 #endif
11764 char xmlParseMemory ();
11766 main ()
11768 return xmlParseMemory ();
11770 return 0;
11772 _ACEOF
11773 rm -f conftest.$ac_objext conftest$ac_exeext
11774 if { (ac_try="$ac_link"
11775 case "(($ac_try" in
11776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11777 *) ac_try_echo=$ac_try;;
11778 esac
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11780 (eval "$ac_link") 2>conftest.er1
11781 ac_status=$?
11782 grep -v '^ *+' conftest.er1 >conftest.err
11783 rm -f conftest.er1
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } && {
11787 test -z "$ac_c_werror_flag" ||
11788 test ! -s conftest.err
11789 } && test -s conftest$ac_exeext &&
11790 $as_test_x conftest$ac_exeext; then
11791 ac_cv_lib_xml2_xmlParseMemory=yes
11792 else
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.$ac_ext >&5
11796 ac_cv_lib_xml2_xmlParseMemory=no
11799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11804 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11805 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11807 cat >>confdefs.h <<\_ACEOF
11808 #define HAVE_LIBXML2 1
11809 _ACEOF
11811 XML2LIBS="$ac_xml_libs"
11812 XML2INCL="$ac_xml_cflags"
11815 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11816 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11817 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 else
11820 ac_check_lib_save_LIBS=$LIBS
11821 LIBS="-lxml2 $ac_xml_libs $LIBS"
11822 cat >conftest.$ac_ext <<_ACEOF
11823 /* confdefs.h. */
11824 _ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11832 #ifdef __cplusplus
11833 extern "C"
11834 #endif
11835 char xmlReadMemory ();
11837 main ()
11839 return xmlReadMemory ();
11841 return 0;
11843 _ACEOF
11844 rm -f conftest.$ac_objext conftest$ac_exeext
11845 if { (ac_try="$ac_link"
11846 case "(($ac_try" in
11847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11848 *) ac_try_echo=$ac_try;;
11849 esac
11850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11851 (eval "$ac_link") 2>conftest.er1
11852 ac_status=$?
11853 grep -v '^ *+' conftest.er1 >conftest.err
11854 rm -f conftest.er1
11855 cat conftest.err >&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } && {
11858 test -z "$ac_c_werror_flag" ||
11859 test ! -s conftest.err
11860 } && test -s conftest$ac_exeext &&
11861 $as_test_x conftest$ac_exeext; then
11862 ac_cv_lib_xml2_xmlReadMemory=yes
11863 else
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_cv_lib_xml2_xmlReadMemory=no
11870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11875 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11876 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11878 cat >>confdefs.h <<\_ACEOF
11879 #define HAVE_XMLREADMEMORY 1
11880 _ACEOF
11884 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11885 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11886 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lxml2 $ac_xml_libs $LIBS"
11891 cat >conftest.$ac_ext <<_ACEOF
11892 /* confdefs.h. */
11893 _ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char xmlNewDocPI ();
11906 main ()
11908 return xmlNewDocPI ();
11910 return 0;
11912 _ACEOF
11913 rm -f conftest.$ac_objext conftest$ac_exeext
11914 if { (ac_try="$ac_link"
11915 case "(($ac_try" in
11916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11917 *) ac_try_echo=$ac_try;;
11918 esac
11919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11920 (eval "$ac_link") 2>conftest.er1
11921 ac_status=$?
11922 grep -v '^ *+' conftest.er1 >conftest.err
11923 rm -f conftest.er1
11924 cat conftest.err >&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } && {
11927 test -z "$ac_c_werror_flag" ||
11928 test ! -s conftest.err
11929 } && test -s conftest$ac_exeext &&
11930 $as_test_x conftest$ac_exeext; then
11931 ac_cv_lib_xml2_xmlNewDocPI=yes
11932 else
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 ac_cv_lib_xml2_xmlNewDocPI=no
11939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_lib_save_LIBS
11943 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11944 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11945 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11947 cat >>confdefs.h <<\_ACEOF
11948 #define HAVE_XMLNEWDOCPI 1
11949 _ACEOF
11956 done
11958 CPPFLAGS="$ac_save_CPPFLAGS"
11960 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11961 case "x$with_xml" in
11962 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11963 xno) ;;
11964 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11965 This is an error since --with-xml was requested." >&5
11966 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11967 This is an error since --with-xml was requested." >&2;}
11968 { (exit 1); exit 1; }; } ;;
11969 esac
11973 if test "x$with_xslt" != "xno"
11974 then
11975 if test "$PKG_CONFIG" != "false"
11976 then
11977 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11978 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11979 else
11980 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11981 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11983 ac_save_CPPFLAGS="$CPPFLAGS"
11984 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11987 for ac_header in libxslt/pattern.h libxslt/transform.h
11989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11990 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 else
11995 cat >conftest.$ac_ext <<_ACEOF
11996 /* confdefs.h. */
11997 _ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001 #ifdef HAVE_LIBXSLT_PATTERN_H
12002 # include <libxslt/pattern.h>
12003 #endif
12005 #include <$ac_header>
12006 _ACEOF
12007 rm -f conftest.$ac_objext
12008 if { (ac_try="$ac_compile"
12009 case "(($ac_try" in
12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12011 *) ac_try_echo=$ac_try;;
12012 esac
12013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12015 ac_status=$?
12016 grep -v '^ *+' conftest.er1 >conftest.err
12017 rm -f conftest.er1
12018 cat conftest.err >&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 eval "$as_ac_Header=yes"
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12029 eval "$as_ac_Header=no"
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 ac_res=`eval echo '${'$as_ac_Header'}'`
12035 { echo "$as_me:$LINENO: result: $ac_res" >&5
12036 echo "${ECHO_T}$ac_res" >&6; }
12037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12038 cat >>confdefs.h <<_ACEOF
12039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12040 _ACEOF
12044 done
12046 CPPFLAGS="$ac_save_CPPFLAGS"
12047 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12048 then
12049 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12050 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12051 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-lxslt $ac_xslt_libs $LIBS"
12056 cat >conftest.$ac_ext <<_ACEOF
12057 /* confdefs.h. */
12058 _ACEOF
12059 cat confdefs.h >>conftest.$ac_ext
12060 cat >>conftest.$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12066 #ifdef __cplusplus
12067 extern "C"
12068 #endif
12069 char xsltCompilePattern ();
12071 main ()
12073 return xsltCompilePattern ();
12075 return 0;
12077 _ACEOF
12078 rm -f conftest.$ac_objext conftest$ac_exeext
12079 if { (ac_try="$ac_link"
12080 case "(($ac_try" in
12081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082 *) ac_try_echo=$ac_try;;
12083 esac
12084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12085 (eval "$ac_link") 2>conftest.er1
12086 ac_status=$?
12087 grep -v '^ *+' conftest.er1 >conftest.err
12088 rm -f conftest.er1
12089 cat conftest.err >&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } && {
12092 test -z "$ac_c_werror_flag" ||
12093 test ! -s conftest.err
12094 } && test -s conftest$ac_exeext &&
12095 $as_test_x conftest$ac_exeext; then
12096 ac_cv_lib_xslt_xsltCompilePattern=yes
12097 else
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 ac_cv_lib_xslt_xsltCompilePattern=no
12104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12109 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12110 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12112 cat >>confdefs.h <<\_ACEOF
12113 #define HAVE_LIBXSLT 1
12114 _ACEOF
12116 XSLTLIBS="$ac_xslt_libs"
12117 XSLTINCL="$ac_xslt_cflags"
12118 ac_save_LIBS="$LIBS"
12119 LIBS="$LIBS $ac_xslt_libs"
12121 for ac_func in xsltInit
12123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12127 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 else
12129 cat >conftest.$ac_ext <<_ACEOF
12130 /* confdefs.h. */
12131 _ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12137 #define $ac_func innocuous_$ac_func
12139 /* System header to define __stub macros and hopefully few prototypes,
12140 which can conflict with char $ac_func (); below.
12141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12142 <limits.h> exists even on freestanding compilers. */
12144 #ifdef __STDC__
12145 # include <limits.h>
12146 #else
12147 # include <assert.h>
12148 #endif
12150 #undef $ac_func
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char $ac_func ();
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined __stub_$ac_func || defined __stub___$ac_func
12163 choke me
12164 #endif
12167 main ()
12169 return $ac_func ();
12171 return 0;
12173 _ACEOF
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (ac_try="$ac_link"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12179 esac
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12182 ac_status=$?
12183 grep -v '^ *+' conftest.er1 >conftest.err
12184 rm -f conftest.er1
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest$ac_exeext &&
12191 $as_test_x conftest$ac_exeext; then
12192 eval "$as_ac_var=yes"
12193 else
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 eval "$as_ac_var=no"
12200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12201 conftest$ac_exeext conftest.$ac_ext
12203 ac_res=`eval echo '${'$as_ac_var'}'`
12204 { echo "$as_me:$LINENO: result: $ac_res" >&5
12205 echo "${ECHO_T}$ac_res" >&6; }
12206 if test `eval echo '${'$as_ac_var'}'` = yes; then
12207 cat >>confdefs.h <<_ACEOF
12208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12209 _ACEOF
12212 done
12214 LIBS="$ac_save_LIBS"
12219 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12220 case "x$with_xslt" in
12221 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12222 xno) ;;
12223 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12224 This is an error since --with-xslt was requested." >&5
12225 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12226 This is an error since --with-xslt was requested." >&2;}
12227 { (exit 1); exit 1; }; } ;;
12228 esac
12232 HALINCL=""
12234 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12235 then
12236 ac_save_CPPFLAGS="$CPPFLAGS"
12237 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12238 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12239 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12242 for ac_header in dbus/dbus.h hal/libhal.h
12244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 ac_res=`eval echo '${'$as_ac_Header'}'`
12252 { echo "$as_me:$LINENO: result: $ac_res" >&5
12253 echo "${ECHO_T}$ac_res" >&6; }
12254 else
12255 # Is the header compilable?
12256 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12258 cat >conftest.$ac_ext <<_ACEOF
12259 /* confdefs.h. */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h. */
12264 $ac_includes_default
12265 #include <$ac_header>
12266 _ACEOF
12267 rm -f conftest.$ac_objext
12268 if { (ac_try="$ac_compile"
12269 case "(($ac_try" in
12270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12271 *) ac_try_echo=$ac_try;;
12272 esac
12273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12274 (eval "$ac_compile") 2>conftest.er1
12275 ac_status=$?
12276 grep -v '^ *+' conftest.er1 >conftest.err
12277 rm -f conftest.er1
12278 cat conftest.err >&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } && {
12281 test -z "$ac_c_werror_flag" ||
12282 test ! -s conftest.err
12283 } && test -s conftest.$ac_objext; then
12284 ac_header_compiler=yes
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12289 ac_header_compiler=no
12292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12294 echo "${ECHO_T}$ac_header_compiler" >&6; }
12296 # Is the header present?
12297 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 #include <$ac_header>
12306 _ACEOF
12307 if { (ac_try="$ac_cpp conftest.$ac_ext"
12308 case "(($ac_try" in
12309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310 *) ac_try_echo=$ac_try;;
12311 esac
12312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12314 ac_status=$?
12315 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } >/dev/null && {
12320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12321 test ! -s conftest.err
12322 }; then
12323 ac_header_preproc=yes
12324 else
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.$ac_ext >&5
12328 ac_header_preproc=no
12331 rm -f conftest.err conftest.$ac_ext
12332 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12333 echo "${ECHO_T}$ac_header_preproc" >&6; }
12335 # So? What about this header?
12336 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12337 yes:no: )
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12341 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12342 ac_header_preproc=yes
12344 no:yes:* )
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12346 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12348 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12350 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12352 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12356 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12357 ( cat <<\_ASBOX
12358 ## ------------------------------------ ##
12359 ## Report this to wine-devel@winehq.org ##
12360 ## ------------------------------------ ##
12361 _ASBOX
12362 ) | sed "s/^/$as_me: WARNING: /" >&2
12364 esac
12365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 else
12370 eval "$as_ac_Header=\$ac_header_preproc"
12372 ac_res=`eval echo '${'$as_ac_Header'}'`
12373 { echo "$as_me:$LINENO: result: $ac_res" >&5
12374 echo "${ECHO_T}$ac_res" >&6; }
12377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12378 cat >>confdefs.h <<_ACEOF
12379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12380 _ACEOF
12384 done
12386 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12387 then
12388 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12389 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12390 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 else
12393 ac_check_lib_save_LIBS=$LIBS
12394 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12395 cat >conftest.$ac_ext <<_ACEOF
12396 /* confdefs.h. */
12397 _ACEOF
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12402 /* Override any GCC internal prototype to avoid an error.
12403 Use char because int might match the return type of a GCC
12404 builtin and then its argument prototype would still apply. */
12405 #ifdef __cplusplus
12406 extern "C"
12407 #endif
12408 char dbus_connection_close ();
12410 main ()
12412 return dbus_connection_close ();
12414 return 0;
12416 _ACEOF
12417 rm -f conftest.$ac_objext conftest$ac_exeext
12418 if { (ac_try="$ac_link"
12419 case "(($ac_try" in
12420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12421 *) ac_try_echo=$ac_try;;
12422 esac
12423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12424 (eval "$ac_link") 2>conftest.er1
12425 ac_status=$?
12426 grep -v '^ *+' conftest.er1 >conftest.err
12427 rm -f conftest.er1
12428 cat conftest.err >&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } && {
12431 test -z "$ac_c_werror_flag" ||
12432 test ! -s conftest.err
12433 } && test -s conftest$ac_exeext &&
12434 $as_test_x conftest$ac_exeext; then
12435 ac_cv_lib_dbus_1_dbus_connection_close=yes
12436 else
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12440 ac_cv_lib_dbus_1_dbus_connection_close=no
12443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12447 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12448 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12449 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12450 { echo "$as_me:$LINENO: checking for -lhal" >&5
12451 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12452 if test "${ac_cv_lib_soname_hal+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 ac_check_soname_save_LIBS=$LIBS
12456 LIBS="-lhal $ac_hal_libs $LIBS"
12457 cat >conftest.$ac_ext <<_ACEOF
12458 /* confdefs.h. */
12459 _ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char libhal_ctx_new ();
12472 main ()
12474 return libhal_ctx_new ();
12476 return 0;
12478 _ACEOF
12479 rm -f conftest.$ac_objext conftest$ac_exeext
12480 if { (ac_try="$ac_link"
12481 case "(($ac_try" in
12482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12483 *) ac_try_echo=$ac_try;;
12484 esac
12485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12486 (eval "$ac_link") 2>conftest.er1
12487 ac_status=$?
12488 grep -v '^ *+' conftest.er1 >conftest.err
12489 rm -f conftest.er1
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } && {
12493 test -z "$ac_c_werror_flag" ||
12494 test ! -s conftest.err
12495 } && test -s conftest$ac_exeext &&
12496 $as_test_x conftest$ac_exeext; then
12497 case "$LIBEXT" in
12498 dll) ;;
12499 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'` ;;
12500 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12501 esac
12502 else
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.$ac_ext >&5
12509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12510 conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_soname_save_LIBS
12513 if test "x$ac_cv_lib_soname_hal" = "x"; then
12514 { echo "$as_me:$LINENO: result: not found" >&5
12515 echo "${ECHO_T}not found" >&6; }
12517 else
12518 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12519 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12521 cat >>confdefs.h <<_ACEOF
12522 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12523 _ACEOF
12525 HALINCL="$ac_hal_cflags"
12531 CPPFLAGS="$ac_save_CPPFLAGS"
12533 if test "x$ac_cv_lib_soname_hal" = "x"; then
12534 case "x$with_hal" in
12535 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12536 xno) ;;
12537 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12538 This is an error since --with-hal was requested." >&5
12539 echo "$as_me: error: libhal development files not found, no dynamic device support.
12540 This is an error since --with-hal was requested." >&2;}
12541 { (exit 1); exit 1; }; } ;;
12542 esac
12546 CURSESLIBS=""
12547 if test "$ac_cv_header_ncurses_h" = "yes"
12548 then
12549 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12550 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12551 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 ac_check_soname_save_LIBS=$LIBS
12555 LIBS="-lncurses $LIBS"
12556 cat >conftest.$ac_ext <<_ACEOF
12557 /* confdefs.h. */
12558 _ACEOF
12559 cat confdefs.h >>conftest.$ac_ext
12560 cat >>conftest.$ac_ext <<_ACEOF
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 #ifdef __cplusplus
12567 extern "C"
12568 #endif
12569 char waddch ();
12571 main ()
12573 return waddch ();
12575 return 0;
12577 _ACEOF
12578 rm -f conftest.$ac_objext conftest$ac_exeext
12579 if { (ac_try="$ac_link"
12580 case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12583 esac
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_link") 2>conftest.er1
12586 ac_status=$?
12587 grep -v '^ *+' conftest.er1 >conftest.err
12588 rm -f conftest.er1
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest$ac_exeext &&
12595 $as_test_x conftest$ac_exeext; then
12596 case "$LIBEXT" in
12597 dll) ;;
12598 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'` ;;
12599 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12600 esac
12601 else
12602 echo "$as_me: failed program was:" >&5
12603 sed 's/^/| /' conftest.$ac_ext >&5
12608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12609 conftest$ac_exeext conftest.$ac_ext
12610 LIBS=$ac_check_soname_save_LIBS
12612 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12613 { echo "$as_me:$LINENO: result: not found" >&5
12614 echo "${ECHO_T}not found" >&6; }
12616 else
12617 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12618 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12620 cat >>confdefs.h <<_ACEOF
12621 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12622 _ACEOF
12624 CURSESLIBS="-lncurses"
12627 elif test "$ac_cv_header_curses_h" = "yes"
12628 then
12629 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12630 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12631 if test "${ac_cv_lib_soname_curses+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 else
12634 ac_check_soname_save_LIBS=$LIBS
12635 LIBS="-lcurses $LIBS"
12636 cat >conftest.$ac_ext <<_ACEOF
12637 /* confdefs.h. */
12638 _ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12646 #ifdef __cplusplus
12647 extern "C"
12648 #endif
12649 char waddch ();
12651 main ()
12653 return waddch ();
12655 return 0;
12657 _ACEOF
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (ac_try="$ac_link"
12660 case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12663 esac
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_link") 2>conftest.er1
12666 ac_status=$?
12667 grep -v '^ *+' conftest.er1 >conftest.err
12668 rm -f conftest.er1
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && {
12672 test -z "$ac_c_werror_flag" ||
12673 test ! -s conftest.err
12674 } && test -s conftest$ac_exeext &&
12675 $as_test_x conftest$ac_exeext; then
12676 case "$LIBEXT" in
12677 dll) ;;
12678 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'` ;;
12679 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12680 esac
12681 else
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.$ac_ext >&5
12688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12689 conftest$ac_exeext conftest.$ac_ext
12690 LIBS=$ac_check_soname_save_LIBS
12692 if test "x$ac_cv_lib_soname_curses" = "x"; then
12693 { echo "$as_me:$LINENO: result: not found" >&5
12694 echo "${ECHO_T}not found" >&6; }
12696 else
12697 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12698 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12700 cat >>confdefs.h <<_ACEOF
12701 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12702 _ACEOF
12704 CURSESLIBS="-lcurses"
12708 ac_save_LIBS="$LIBS"
12709 LIBS="$LIBS $CURSESLIBS"
12711 for ac_func in mousemask
12713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 else
12719 cat >conftest.$ac_ext <<_ACEOF
12720 /* confdefs.h. */
12721 _ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12727 #define $ac_func innocuous_$ac_func
12729 /* System header to define __stub macros and hopefully few prototypes,
12730 which can conflict with char $ac_func (); below.
12731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732 <limits.h> exists even on freestanding compilers. */
12734 #ifdef __STDC__
12735 # include <limits.h>
12736 #else
12737 # include <assert.h>
12738 #endif
12740 #undef $ac_func
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12745 #ifdef __cplusplus
12746 extern "C"
12747 #endif
12748 char $ac_func ();
12749 /* The GNU C library defines this for functions which it implements
12750 to always fail with ENOSYS. Some functions are actually named
12751 something starting with __ and the normal name is an alias. */
12752 #if defined __stub_$ac_func || defined __stub___$ac_func
12753 choke me
12754 #endif
12757 main ()
12759 return $ac_func ();
12761 return 0;
12763 _ACEOF
12764 rm -f conftest.$ac_objext conftest$ac_exeext
12765 if { (ac_try="$ac_link"
12766 case "(($ac_try" in
12767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12768 *) ac_try_echo=$ac_try;;
12769 esac
12770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12771 (eval "$ac_link") 2>conftest.er1
12772 ac_status=$?
12773 grep -v '^ *+' conftest.er1 >conftest.err
12774 rm -f conftest.er1
12775 cat conftest.err >&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); } && {
12778 test -z "$ac_c_werror_flag" ||
12779 test ! -s conftest.err
12780 } && test -s conftest$ac_exeext &&
12781 $as_test_x conftest$ac_exeext; then
12782 eval "$as_ac_var=yes"
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12787 eval "$as_ac_var=no"
12790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12791 conftest$ac_exeext conftest.$ac_ext
12793 ac_res=`eval echo '${'$as_ac_var'}'`
12794 { echo "$as_me:$LINENO: result: $ac_res" >&5
12795 echo "${ECHO_T}$ac_res" >&6; }
12796 if test `eval echo '${'$as_ac_var'}'` = yes; then
12797 cat >>confdefs.h <<_ACEOF
12798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12799 _ACEOF
12802 done
12804 LIBS="$ac_save_LIBS"
12805 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12806 case "x$with_curses" in
12807 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12808 xno) ;;
12809 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12810 This is an error since --with-curses was requested." >&5
12811 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12812 This is an error since --with-curses was requested." >&2;}
12813 { (exit 1); exit 1; }; } ;;
12814 esac
12818 # Extract the first word of "sane-config", so it can be a program name with args.
12819 set dummy sane-config; ac_word=$2
12820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12822 if test "${ac_cv_prog_sane_devel+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12824 else
12825 if test -n "$sane_devel"; then
12826 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12827 else
12828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829 for as_dir in $PATH
12831 IFS=$as_save_IFS
12832 test -z "$as_dir" && as_dir=.
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12835 ac_cv_prog_sane_devel="sane-config"
12836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12837 break 2
12839 done
12840 done
12841 IFS=$as_save_IFS
12843 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12846 sane_devel=$ac_cv_prog_sane_devel
12847 if test -n "$sane_devel"; then
12848 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12849 echo "${ECHO_T}$sane_devel" >&6; }
12850 else
12851 { echo "$as_me:$LINENO: result: no" >&5
12852 echo "${ECHO_T}no" >&6; }
12856 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12857 then
12858 ac_sane_incl="`$sane_devel --cflags`"
12859 ac_save_CPPFLAGS="$CPPFLAGS"
12860 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12861 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12862 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12863 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12864 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12868 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12869 else
12870 # Is the header compilable?
12871 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12872 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12873 cat >conftest.$ac_ext <<_ACEOF
12874 /* confdefs.h. */
12875 _ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 $ac_includes_default
12880 #include <sane/sane.h>
12881 _ACEOF
12882 rm -f conftest.$ac_objext
12883 if { (ac_try="$ac_compile"
12884 case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12887 esac
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_compile") 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } && {
12896 test -z "$ac_c_werror_flag" ||
12897 test ! -s conftest.err
12898 } && test -s conftest.$ac_objext; then
12899 ac_header_compiler=yes
12900 else
12901 echo "$as_me: failed program was:" >&5
12902 sed 's/^/| /' conftest.$ac_ext >&5
12904 ac_header_compiler=no
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12909 echo "${ECHO_T}$ac_header_compiler" >&6; }
12911 # Is the header present?
12912 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12913 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12914 cat >conftest.$ac_ext <<_ACEOF
12915 /* confdefs.h. */
12916 _ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 #include <sane/sane.h>
12921 _ACEOF
12922 if { (ac_try="$ac_cpp conftest.$ac_ext"
12923 case "(($ac_try" in
12924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12925 *) ac_try_echo=$ac_try;;
12926 esac
12927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12929 ac_status=$?
12930 grep -v '^ *+' conftest.er1 >conftest.err
12931 rm -f conftest.er1
12932 cat conftest.err >&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } >/dev/null && {
12935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12936 test ! -s conftest.err
12937 }; then
12938 ac_header_preproc=yes
12939 else
12940 echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.$ac_ext >&5
12943 ac_header_preproc=no
12946 rm -f conftest.err conftest.$ac_ext
12947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12948 echo "${ECHO_T}$ac_header_preproc" >&6; }
12950 # So? What about this header?
12951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12952 yes:no: )
12953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12954 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12956 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12957 ac_header_preproc=yes
12959 no:yes:* )
12960 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12961 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12963 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12965 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12967 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12969 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12971 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12972 ( cat <<\_ASBOX
12973 ## ------------------------------------ ##
12974 ## Report this to wine-devel@winehq.org ##
12975 ## ------------------------------------ ##
12976 _ASBOX
12977 ) | sed "s/^/$as_me: WARNING: /" >&2
12979 esac
12980 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12981 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12982 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 else
12985 ac_cv_header_sane_sane_h=$ac_header_preproc
12987 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12988 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12991 if test $ac_cv_header_sane_sane_h = yes; then
12992 { echo "$as_me:$LINENO: checking for -lsane" >&5
12993 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12994 if test "${ac_cv_lib_soname_sane+set}" = set; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 else
12997 ac_check_soname_save_LIBS=$LIBS
12998 LIBS="-lsane $LIBS"
12999 cat >conftest.$ac_ext <<_ACEOF
13000 /* confdefs.h. */
13001 _ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13009 #ifdef __cplusplus
13010 extern "C"
13011 #endif
13012 char sane_init ();
13014 main ()
13016 return sane_init ();
13018 return 0;
13020 _ACEOF
13021 rm -f conftest.$ac_objext conftest$ac_exeext
13022 if { (ac_try="$ac_link"
13023 case "(($ac_try" in
13024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13025 *) ac_try_echo=$ac_try;;
13026 esac
13027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13028 (eval "$ac_link") 2>conftest.er1
13029 ac_status=$?
13030 grep -v '^ *+' conftest.er1 >conftest.err
13031 rm -f conftest.er1
13032 cat conftest.err >&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } && {
13035 test -z "$ac_c_werror_flag" ||
13036 test ! -s conftest.err
13037 } && test -s conftest$ac_exeext &&
13038 $as_test_x conftest$ac_exeext; then
13039 case "$LIBEXT" in
13040 dll) ;;
13041 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'` ;;
13042 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13043 esac
13044 else
13045 echo "$as_me: failed program was:" >&5
13046 sed 's/^/| /' conftest.$ac_ext >&5
13051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_soname_save_LIBS
13055 if test "x$ac_cv_lib_soname_sane" = "x"; then
13056 { echo "$as_me:$LINENO: result: not found" >&5
13057 echo "${ECHO_T}not found" >&6; }
13059 else
13060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13061 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13063 cat >>confdefs.h <<_ACEOF
13064 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13065 _ACEOF
13067 SANEINCL="$ac_sane_incl"
13074 CPPFLAGS="$ac_save_CPPFLAGS"
13076 if test "x$ac_cv_lib_soname_sane" = "x"; then
13077 case "x$with_sane" in
13078 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13079 xno) ;;
13080 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13081 This is an error since --with-sane was requested." >&5
13082 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13083 This is an error since --with-sane was requested." >&2;}
13084 { (exit 1); exit 1; }; } ;;
13085 esac
13089 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13090 set dummy gphoto2-config; ac_word=$2
13091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13093 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13096 if test -n "$gphoto2_devel"; then
13097 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13098 else
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13102 IFS=$as_save_IFS
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13106 ac_cv_prog_gphoto2_devel="gphoto2-config"
13107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13108 break 2
13110 done
13111 done
13112 IFS=$as_save_IFS
13114 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13117 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13118 if test -n "$gphoto2_devel"; then
13119 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13120 echo "${ECHO_T}$gphoto2_devel" >&6; }
13121 else
13122 { echo "$as_me:$LINENO: result: no" >&5
13123 echo "${ECHO_T}no" >&6; }
13127 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13128 set dummy gphoto2-port-config; ac_word=$2
13129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13131 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 if test -n "$gphoto2port_devel"; then
13135 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13136 else
13137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13138 for as_dir in $PATH
13140 IFS=$as_save_IFS
13141 test -z "$as_dir" && as_dir=.
13142 for ac_exec_ext in '' $ac_executable_extensions; do
13143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13144 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13146 break 2
13148 done
13149 done
13150 IFS=$as_save_IFS
13152 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13155 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13156 if test -n "$gphoto2port_devel"; then
13157 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13158 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13159 else
13160 { echo "$as_me:$LINENO: result: no" >&5
13161 echo "${ECHO_T}no" >&6; }
13165 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13166 then
13167 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13168 ac_gphoto2_libs=""
13169 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13171 case "$i" in
13172 -L/usr/lib|-L/usr/lib64) ;;
13173 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13174 esac
13175 done
13176 ac_save_CPPFLAGS="$CPPFLAGS"
13177 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13178 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13179 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13180 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13181 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13185 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13186 else
13187 # Is the header compilable?
13188 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13189 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h. */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13196 $ac_includes_default
13197 #include <gphoto2-camera.h>
13198 _ACEOF
13199 rm -f conftest.$ac_objext
13200 if { (ac_try="$ac_compile"
13201 case "(($ac_try" in
13202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13204 esac
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_compile") 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } && {
13213 test -z "$ac_c_werror_flag" ||
13214 test ! -s conftest.err
13215 } && test -s conftest.$ac_objext; then
13216 ac_header_compiler=yes
13217 else
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 ac_header_compiler=no
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13226 echo "${ECHO_T}$ac_header_compiler" >&6; }
13228 # Is the header present?
13229 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13230 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13231 cat >conftest.$ac_ext <<_ACEOF
13232 /* confdefs.h. */
13233 _ACEOF
13234 cat confdefs.h >>conftest.$ac_ext
13235 cat >>conftest.$ac_ext <<_ACEOF
13236 /* end confdefs.h. */
13237 #include <gphoto2-camera.h>
13238 _ACEOF
13239 if { (ac_try="$ac_cpp conftest.$ac_ext"
13240 case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13243 esac
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13246 ac_status=$?
13247 grep -v '^ *+' conftest.er1 >conftest.err
13248 rm -f conftest.er1
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null && {
13252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13253 test ! -s conftest.err
13254 }; then
13255 ac_header_preproc=yes
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_header_preproc=no
13263 rm -f conftest.err conftest.$ac_ext
13264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13265 echo "${ECHO_T}$ac_header_preproc" >&6; }
13267 # So? What about this header?
13268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13269 yes:no: )
13270 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13271 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13273 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13274 ac_header_preproc=yes
13276 no:yes:* )
13277 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13278 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13280 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13282 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13284 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13286 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13288 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13289 ( cat <<\_ASBOX
13290 ## ------------------------------------ ##
13291 ## Report this to wine-devel@winehq.org ##
13292 ## ------------------------------------ ##
13293 _ASBOX
13294 ) | sed "s/^/$as_me: WARNING: /" >&2
13296 esac
13297 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13298 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13299 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 else
13302 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13304 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13305 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13308 if test $ac_cv_header_gphoto2_camera_h = yes; then
13309 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13310 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13311 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314 ac_check_lib_save_LIBS=$LIBS
13315 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13316 cat >conftest.$ac_ext <<_ACEOF
13317 /* confdefs.h. */
13318 _ACEOF
13319 cat confdefs.h >>conftest.$ac_ext
13320 cat >>conftest.$ac_ext <<_ACEOF
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 #ifdef __cplusplus
13327 extern "C"
13328 #endif
13329 char gp_camera_new ();
13331 main ()
13333 return gp_camera_new ();
13335 return 0;
13337 _ACEOF
13338 rm -f conftest.$ac_objext conftest$ac_exeext
13339 if { (ac_try="$ac_link"
13340 case "(($ac_try" in
13341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13343 esac
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_link") 2>conftest.er1
13346 ac_status=$?
13347 grep -v '^ *+' conftest.er1 >conftest.err
13348 rm -f conftest.er1
13349 cat conftest.err >&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } && {
13352 test -z "$ac_c_werror_flag" ||
13353 test ! -s conftest.err
13354 } && test -s conftest$ac_exeext &&
13355 $as_test_x conftest$ac_exeext; then
13356 ac_cv_lib_gphoto2_gp_camera_new=yes
13357 else
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cv_lib_gphoto2_gp_camera_new=no
13364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13369 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13370 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13372 cat >>confdefs.h <<\_ACEOF
13373 #define HAVE_GPHOTO2 1
13374 _ACEOF
13376 GPHOTO2LIBS="$ac_gphoto2_libs"
13378 GPHOTO2INCL="$ac_gphoto2_incl"
13385 CPPFLAGS="$ac_save_CPPFLAGS"
13387 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13388 case "x$with_gphoto" in
13389 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13390 xno) ;;
13391 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13392 This is an error since --with-gphoto was requested." >&5
13393 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13394 This is an error since --with-gphoto was requested." >&2;}
13395 { (exit 1); exit 1; }; } ;;
13396 esac
13401 RESOLVLIBS=""
13403 if test "$ac_cv_header_resolv_h" = "yes"
13404 then
13405 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13406 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13407 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 ac_check_lib_save_LIBS=$LIBS
13411 LIBS="-lresolv $LIBS"
13412 cat >conftest.$ac_ext <<_ACEOF
13413 /* confdefs.h. */
13414 _ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13422 #ifdef __cplusplus
13423 extern "C"
13424 #endif
13425 char res_query ();
13427 main ()
13429 return res_query ();
13431 return 0;
13433 _ACEOF
13434 rm -f conftest.$ac_objext conftest$ac_exeext
13435 if { (ac_try="$ac_link"
13436 case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13439 esac
13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_link") 2>conftest.er1
13442 ac_status=$?
13443 grep -v '^ *+' conftest.er1 >conftest.err
13444 rm -f conftest.er1
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } && {
13448 test -z "$ac_c_werror_flag" ||
13449 test ! -s conftest.err
13450 } && test -s conftest$ac_exeext &&
13451 $as_test_x conftest$ac_exeext; then
13452 ac_cv_lib_resolv_res_query=yes
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13457 ac_cv_lib_resolv_res_query=no
13460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LIBS=$ac_check_lib_save_LIBS
13464 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13465 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13466 if test $ac_cv_lib_resolv_res_query = yes; then
13468 cat >>confdefs.h <<\_ACEOF
13469 #define HAVE_RESOLV 1
13470 _ACEOF
13472 RESOLVLIBS="-lresolv"
13477 LCMSLIBS=""
13479 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13480 then
13481 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13482 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13483 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-llcms $LIBS"
13488 cat >conftest.$ac_ext <<_ACEOF
13489 /* confdefs.h. */
13490 _ACEOF
13491 cat confdefs.h >>conftest.$ac_ext
13492 cat >>conftest.$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13498 #ifdef __cplusplus
13499 extern "C"
13500 #endif
13501 char cmsOpenProfileFromFile ();
13503 main ()
13505 return cmsOpenProfileFromFile ();
13507 return 0;
13509 _ACEOF
13510 rm -f conftest.$ac_objext conftest$ac_exeext
13511 if { (ac_try="$ac_link"
13512 case "(($ac_try" in
13513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13514 *) ac_try_echo=$ac_try;;
13515 esac
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_link") 2>conftest.er1
13518 ac_status=$?
13519 grep -v '^ *+' conftest.er1 >conftest.err
13520 rm -f conftest.er1
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } && {
13524 test -z "$ac_c_werror_flag" ||
13525 test ! -s conftest.err
13526 } && test -s conftest$ac_exeext &&
13527 $as_test_x conftest$ac_exeext; then
13528 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13529 else
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13533 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_lib_save_LIBS
13540 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13541 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13542 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13544 cat >>confdefs.h <<\_ACEOF
13545 #define HAVE_LCMS 1
13546 _ACEOF
13548 LCMSLIBS="-llcms"
13552 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13553 case "x$with_cms" in
13554 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13555 xno) ;;
13556 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13557 This is an error since --with-cms was requested." >&5
13558 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13559 This is an error since --with-cms was requested." >&2;}
13560 { (exit 1); exit 1; }; } ;;
13561 esac
13565 LDAPLIBS=""
13567 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13568 then
13569 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13570 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13571 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13572 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 else
13574 ac_check_lib_save_LIBS=$LIBS
13575 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13576 cat >conftest.$ac_ext <<_ACEOF
13577 /* confdefs.h. */
13578 _ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13586 #ifdef __cplusplus
13587 extern "C"
13588 #endif
13589 char ldap_initialize ();
13591 main ()
13593 return ldap_initialize ();
13595 return 0;
13597 _ACEOF
13598 rm -f conftest.$ac_objext conftest$ac_exeext
13599 if { (ac_try="$ac_link"
13600 case "(($ac_try" in
13601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13602 *) ac_try_echo=$ac_try;;
13603 esac
13604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13605 (eval "$ac_link") 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } && {
13612 test -z "$ac_c_werror_flag" ||
13613 test ! -s conftest.err
13614 } && test -s conftest$ac_exeext &&
13615 $as_test_x conftest$ac_exeext; then
13616 ac_cv_lib_ldap_r_ldap_initialize=yes
13617 else
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 ac_cv_lib_ldap_r_ldap_initialize=no
13624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13625 conftest$ac_exeext conftest.$ac_ext
13626 LIBS=$ac_check_lib_save_LIBS
13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13629 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13630 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13631 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13632 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13633 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 else
13636 ac_check_lib_save_LIBS=$LIBS
13637 LIBS="-llber $LIBPTHREAD $LIBS"
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13648 #ifdef __cplusplus
13649 extern "C"
13650 #endif
13651 char ber_init ();
13653 main ()
13655 return ber_init ();
13657 return 0;
13659 _ACEOF
13660 rm -f conftest.$ac_objext conftest$ac_exeext
13661 if { (ac_try="$ac_link"
13662 case "(($ac_try" in
13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13665 esac
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_link") 2>conftest.er1
13668 ac_status=$?
13669 grep -v '^ *+' conftest.er1 >conftest.err
13670 rm -f conftest.er1
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } && {
13674 test -z "$ac_c_werror_flag" ||
13675 test ! -s conftest.err
13676 } && test -s conftest$ac_exeext &&
13677 $as_test_x conftest$ac_exeext; then
13678 ac_cv_lib_lber_ber_init=yes
13679 else
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 ac_cv_lib_lber_ber_init=no
13686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13687 conftest$ac_exeext conftest.$ac_ext
13688 LIBS=$ac_check_lib_save_LIBS
13690 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13691 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13692 if test $ac_cv_lib_lber_ber_init = yes; then
13694 cat >>confdefs.h <<\_ACEOF
13695 #define HAVE_LDAP 1
13696 _ACEOF
13698 LDAPLIBS="-lldap_r -llber"
13703 ac_wine_check_funcs_save_LIBS="$LIBS"
13704 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13713 for ac_func in \
13714 ldap_count_references \
13715 ldap_first_reference \
13716 ldap_next_reference \
13717 ldap_parse_reference \
13718 ldap_parse_sort_control \
13719 ldap_parse_sortresponse_control \
13720 ldap_parse_vlv_control \
13721 ldap_parse_vlvresponse_control
13723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13727 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 else
13729 cat >conftest.$ac_ext <<_ACEOF
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13737 #define $ac_func innocuous_$ac_func
13739 /* System header to define __stub macros and hopefully few prototypes,
13740 which can conflict with char $ac_func (); below.
13741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13742 <limits.h> exists even on freestanding compilers. */
13744 #ifdef __STDC__
13745 # include <limits.h>
13746 #else
13747 # include <assert.h>
13748 #endif
13750 #undef $ac_func
13752 /* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13755 #ifdef __cplusplus
13756 extern "C"
13757 #endif
13758 char $ac_func ();
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined __stub_$ac_func || defined __stub___$ac_func
13763 choke me
13764 #endif
13767 main ()
13769 return $ac_func ();
13771 return 0;
13773 _ACEOF
13774 rm -f conftest.$ac_objext conftest$ac_exeext
13775 if { (ac_try="$ac_link"
13776 case "(($ac_try" in
13777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13779 esac
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_link") 2>conftest.er1
13782 ac_status=$?
13783 grep -v '^ *+' conftest.er1 >conftest.err
13784 rm -f conftest.er1
13785 cat conftest.err >&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } && {
13788 test -z "$ac_c_werror_flag" ||
13789 test ! -s conftest.err
13790 } && test -s conftest$ac_exeext &&
13791 $as_test_x conftest$ac_exeext; then
13792 eval "$as_ac_var=yes"
13793 else
13794 echo "$as_me: failed program was:" >&5
13795 sed 's/^/| /' conftest.$ac_ext >&5
13797 eval "$as_ac_var=no"
13800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13801 conftest$ac_exeext conftest.$ac_ext
13803 ac_res=`eval echo '${'$as_ac_var'}'`
13804 { echo "$as_me:$LINENO: result: $ac_res" >&5
13805 echo "${ECHO_T}$ac_res" >&6; }
13806 if test `eval echo '${'$as_ac_var'}'` = yes; then
13807 cat >>confdefs.h <<_ACEOF
13808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13809 _ACEOF
13812 done
13814 LIBS="$ac_wine_check_funcs_save_LIBS"
13816 if test "x$LDAPLIBS" = "x"; then
13817 case "x$with_ldap" in
13818 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13819 xno) ;;
13820 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13821 This is an error since --with-ldap was requested." >&5
13822 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13823 This is an error since --with-ldap was requested." >&2;}
13824 { (exit 1); exit 1; }; } ;;
13825 esac
13829 for ac_prog in freetype-config freetype2-config
13831 # Extract the first word of "$ac_prog", so it can be a program name with args.
13832 set dummy $ac_prog; ac_word=$2
13833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13835 if test "${ac_cv_prog_ft_devel+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13837 else
13838 if test -n "$ft_devel"; then
13839 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13840 else
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13844 IFS=$as_save_IFS
13845 test -z "$as_dir" && as_dir=.
13846 for ac_exec_ext in '' $ac_executable_extensions; do
13847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848 ac_cv_prog_ft_devel="$ac_prog"
13849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13850 break 2
13852 done
13853 done
13854 IFS=$as_save_IFS
13858 ft_devel=$ac_cv_prog_ft_devel
13859 if test -n "$ft_devel"; then
13860 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13861 echo "${ECHO_T}$ft_devel" >&6; }
13862 else
13863 { echo "$as_me:$LINENO: result: no" >&5
13864 echo "${ECHO_T}no" >&6; }
13868 test -n "$ft_devel" && break
13869 done
13870 test -n "$ft_devel" || ft_devel="false"
13872 if test "$ft_devel" != "false"
13873 then
13874 ac_freetype_libs=`$ft_devel --libs`
13875 ac_freetype_incl=`$ft_devel --cflags`
13876 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13877 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13878 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13879 echo $ECHO_N "(cached) $ECHO_C" >&6
13880 else
13881 ac_check_soname_save_LIBS=$LIBS
13882 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13890 /* Override any GCC internal prototype to avoid an error.
13891 Use char because int might match the return type of a GCC
13892 builtin and then its argument prototype would still apply. */
13893 #ifdef __cplusplus
13894 extern "C"
13895 #endif
13896 char FT_Init_FreeType ();
13898 main ()
13900 return FT_Init_FreeType ();
13902 return 0;
13904 _ACEOF
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (ac_try="$ac_link"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_link") 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest$ac_exeext &&
13922 $as_test_x conftest$ac_exeext; then
13923 case "$LIBEXT" in
13924 dll) ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13927 esac
13928 else
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13940 { echo "$as_me:$LINENO: result: not found" >&5
13941 echo "${ECHO_T}not found" >&6; }
13942 ft_lib=no
13943 else
13944 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13945 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13949 _ACEOF
13951 ft_lib=yes
13954 if test "$ft_lib" = "yes"
13955 then
13956 ac_save_CPPFLAGS="$CPPFLAGS"
13957 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13970 for ac_header in ft2build.h \
13971 freetype/freetype.h \
13972 freetype/ftglyph.h \
13973 freetype/fttypes.h \
13974 freetype/tttables.h \
13975 freetype/ftnames.h \
13976 freetype/ftsnames.h \
13977 freetype/ttnameid.h \
13978 freetype/ftoutln.h \
13979 freetype/ftwinfnt.h \
13980 freetype/ftmodapi.h \
13981 freetype/internal/sfnt.h
13983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13984 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13986 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 #ifdef HAVE_FT2BUILD_H
13996 # include <ft2build.h>
13997 #endif
13999 #include <$ac_header>
14000 _ACEOF
14001 rm -f conftest.$ac_objext
14002 if { (ac_try="$ac_compile"
14003 case "(($ac_try" in
14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005 *) ac_try_echo=$ac_try;;
14006 esac
14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008 (eval "$ac_compile") 2>conftest.er1
14009 ac_status=$?
14010 grep -v '^ *+' conftest.er1 >conftest.err
14011 rm -f conftest.er1
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } && {
14015 test -z "$ac_c_werror_flag" ||
14016 test ! -s conftest.err
14017 } && test -s conftest.$ac_objext; then
14018 eval "$as_ac_Header=yes"
14019 else
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14023 eval "$as_ac_Header=no"
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14028 ac_res=`eval echo '${'$as_ac_Header'}'`
14029 { echo "$as_me:$LINENO: result: $ac_res" >&5
14030 echo "${ECHO_T}$ac_res" >&6; }
14031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14032 cat >>confdefs.h <<_ACEOF
14033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14034 _ACEOF
14038 done
14040 cat >conftest.$ac_ext <<_ACEOF
14041 /* confdefs.h. */
14042 _ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 #include <ft2build.h>
14047 #include <freetype/fttrigon.h>
14048 _ACEOF
14049 if { (ac_try="$ac_cpp conftest.$ac_ext"
14050 case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14053 esac
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14056 ac_status=$?
14057 grep -v '^ *+' conftest.er1 >conftest.err
14058 rm -f conftest.er1
14059 cat conftest.err >&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } >/dev/null && {
14062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14064 }; then
14066 cat >>confdefs.h <<\_ACEOF
14067 #define HAVE_FREETYPE_FTTRIGON_H 1
14068 _ACEOF
14070 wine_cv_fttrigon=yes
14071 else
14072 echo "$as_me: failed program was:" >&5
14073 sed 's/^/| /' conftest.$ac_ext >&5
14075 wine_cv_fttrigon=no
14078 rm -f conftest.err conftest.$ac_ext
14079 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14080 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14081 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084 cat >conftest.$ac_ext <<_ACEOF
14085 /* confdefs.h. */
14086 _ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14090 #include <freetype/ftmodapi.h>
14092 typedef FT_TrueTypeEngineType ac__type_new_;
14094 main ()
14096 if ((ac__type_new_ *) 0)
14097 return 0;
14098 if (sizeof (ac__type_new_))
14099 return 0;
14101 return 0;
14103 _ACEOF
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14109 esac
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14112 ac_status=$?
14113 grep -v '^ *+' conftest.er1 >conftest.err
14114 rm -f conftest.er1
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && {
14118 test -z "$ac_c_werror_flag" ||
14119 test ! -s conftest.err
14120 } && test -s conftest.$ac_objext; then
14121 ac_cv_type_FT_TrueTypeEngineType=yes
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_cv_type_FT_TrueTypeEngineType=no
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14132 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14133 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14135 cat >>confdefs.h <<_ACEOF
14136 #define HAVE_FT_TRUETYPEENGINETYPE 1
14137 _ACEOF
14142 ac_save_CFLAGS="$CFLAGS"
14143 CFLAGS="$CFLAGS $ac_freetype_libs"
14145 for ac_func in FT_Load_Sfnt_Table
14147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 else
14153 cat >conftest.$ac_ext <<_ACEOF
14154 /* confdefs.h. */
14155 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14161 #define $ac_func innocuous_$ac_func
14163 /* System header to define __stub macros and hopefully few prototypes,
14164 which can conflict with char $ac_func (); below.
14165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14166 <limits.h> exists even on freestanding compilers. */
14168 #ifdef __STDC__
14169 # include <limits.h>
14170 #else
14171 # include <assert.h>
14172 #endif
14174 #undef $ac_func
14176 /* Override any GCC internal prototype to avoid an error.
14177 Use char because int might match the return type of a GCC
14178 builtin and then its argument prototype would still apply. */
14179 #ifdef __cplusplus
14180 extern "C"
14181 #endif
14182 char $ac_func ();
14183 /* The GNU C library defines this for functions which it implements
14184 to always fail with ENOSYS. Some functions are actually named
14185 something starting with __ and the normal name is an alias. */
14186 #if defined __stub_$ac_func || defined __stub___$ac_func
14187 choke me
14188 #endif
14191 main ()
14193 return $ac_func ();
14195 return 0;
14197 _ACEOF
14198 rm -f conftest.$ac_objext conftest$ac_exeext
14199 if { (ac_try="$ac_link"
14200 case "(($ac_try" in
14201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14202 *) ac_try_echo=$ac_try;;
14203 esac
14204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14205 (eval "$ac_link") 2>conftest.er1
14206 ac_status=$?
14207 grep -v '^ *+' conftest.er1 >conftest.err
14208 rm -f conftest.er1
14209 cat conftest.err >&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } && {
14212 test -z "$ac_c_werror_flag" ||
14213 test ! -s conftest.err
14214 } && test -s conftest$ac_exeext &&
14215 $as_test_x conftest$ac_exeext; then
14216 eval "$as_ac_var=yes"
14217 else
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14221 eval "$as_ac_var=no"
14224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14225 conftest$ac_exeext conftest.$ac_ext
14227 ac_res=`eval echo '${'$as_ac_var'}'`
14228 { echo "$as_me:$LINENO: result: $ac_res" >&5
14229 echo "${ECHO_T}$ac_res" >&6; }
14230 if test `eval echo '${'$as_ac_var'}'` = yes; then
14231 cat >>confdefs.h <<_ACEOF
14232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14233 _ACEOF
14236 done
14238 CFLAGS="$ac_save_CFLAGS"
14239 CPPFLAGS="$ac_save_CPPFLAGS"
14240 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14241 then
14243 cat >>confdefs.h <<\_ACEOF
14244 #define HAVE_FREETYPE 1
14245 _ACEOF
14247 FREETYPELIBS="$ac_freetype_libs"
14249 FREETYPEINCL="$ac_freetype_incl"
14255 if test "x$FREETYPELIBS" = "x"
14256 then
14257 wine_warnings="$wine_warnings|FreeType development files not found.
14258 Fonts will not be built. Dialog text may be invisible or unaligned."
14259 else
14260 FONTSSUBDIRS="fonts"
14264 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14265 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14266 if test "${ac_cv_c_ppdev+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 else
14269 cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h. */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 #include <linux/ppdev.h>
14277 main ()
14279 ioctl (1,PPCLAIM,0)
14281 return 0;
14283 _ACEOF
14284 rm -f conftest.$ac_objext
14285 if { (ac_try="$ac_compile"
14286 case "(($ac_try" in
14287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14288 *) ac_try_echo=$ac_try;;
14289 esac
14290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14291 (eval "$ac_compile") 2>conftest.er1
14292 ac_status=$?
14293 grep -v '^ *+' conftest.er1 >conftest.err
14294 rm -f conftest.er1
14295 cat conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } && {
14298 test -z "$ac_c_werror_flag" ||
14299 test ! -s conftest.err
14300 } && test -s conftest.$ac_objext; then
14301 ac_cv_c_ppdev="yes"
14302 else
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.$ac_ext >&5
14306 ac_cv_c_ppdev="no"
14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14312 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14313 if test "$ac_cv_c_ppdev" = "yes"
14314 then
14316 cat >>confdefs.h <<\_ACEOF
14317 #define HAVE_PPDEV 1
14318 _ACEOF
14322 { echo "$as_me:$LINENO: checking for va_copy" >&5
14323 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14324 if test "${ac_cv_c_va_copy+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 else
14327 cat >conftest.$ac_ext <<_ACEOF
14328 /* confdefs.h. */
14329 _ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 #include <stdarg.h>
14335 main ()
14337 va_list ap1, ap2; va_copy(ap1,ap2);
14339 return 0;
14341 _ACEOF
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (ac_try="$ac_link"
14344 case "(($ac_try" in
14345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14346 *) ac_try_echo=$ac_try;;
14347 esac
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_link") 2>conftest.er1
14350 ac_status=$?
14351 grep -v '^ *+' conftest.er1 >conftest.err
14352 rm -f conftest.er1
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } && {
14356 test -z "$ac_c_werror_flag" ||
14357 test ! -s conftest.err
14358 } && test -s conftest$ac_exeext &&
14359 $as_test_x conftest$ac_exeext; then
14360 ac_cv_c_va_copy="yes"
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 ac_cv_c_va_copy="no"
14368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14369 conftest$ac_exeext conftest.$ac_ext
14372 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14373 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14374 if test "$ac_cv_c_va_copy" = "yes"
14375 then
14377 cat >>confdefs.h <<\_ACEOF
14378 #define HAVE_VA_COPY 1
14379 _ACEOF
14382 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14383 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14384 if test "${ac_cv_c___va_copy+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 else
14387 cat >conftest.$ac_ext <<_ACEOF
14388 /* confdefs.h. */
14389 _ACEOF
14390 cat confdefs.h >>conftest.$ac_ext
14391 cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14393 #include <stdarg.h>
14395 main ()
14397 va_list ap1, ap2; __va_copy(ap1,ap2);
14399 return 0;
14401 _ACEOF
14402 rm -f conftest.$ac_objext conftest$ac_exeext
14403 if { (ac_try="$ac_link"
14404 case "(($ac_try" in
14405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14406 *) ac_try_echo=$ac_try;;
14407 esac
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_link") 2>conftest.er1
14410 ac_status=$?
14411 grep -v '^ *+' conftest.er1 >conftest.err
14412 rm -f conftest.er1
14413 cat conftest.err >&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } && {
14416 test -z "$ac_c_werror_flag" ||
14417 test ! -s conftest.err
14418 } && test -s conftest$ac_exeext &&
14419 $as_test_x conftest$ac_exeext; then
14420 ac_cv_c___va_copy="yes"
14421 else
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14425 ac_cv_c___va_copy="no"
14428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14429 conftest$ac_exeext conftest.$ac_ext
14432 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14433 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14434 if test "$ac_cv_c___va_copy" = "yes"
14435 then
14437 cat >>confdefs.h <<\_ACEOF
14438 #define HAVE___VA_COPY 1
14439 _ACEOF
14443 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14444 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14445 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14447 else
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 #include <setjmp.h>
14456 main ()
14458 sigjmp_buf buf;
14459 sigsetjmp( buf, 1 );
14460 siglongjmp( buf, 1 );
14462 return 0;
14464 _ACEOF
14465 rm -f conftest.$ac_objext conftest$ac_exeext
14466 if { (ac_try="$ac_link"
14467 case "(($ac_try" in
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14469 *) ac_try_echo=$ac_try;;
14470 esac
14471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14472 (eval "$ac_link") 2>conftest.er1
14473 ac_status=$?
14474 grep -v '^ *+' conftest.er1 >conftest.err
14475 rm -f conftest.er1
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } && {
14479 test -z "$ac_c_werror_flag" ||
14480 test ! -s conftest.err
14481 } && test -s conftest$ac_exeext &&
14482 $as_test_x conftest$ac_exeext; then
14483 ac_cv_c_sigsetjmp="yes"
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14488 ac_cv_c_sigsetjmp="no"
14491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14492 conftest$ac_exeext conftest.$ac_ext
14495 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14496 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14497 if test "$ac_cv_c_sigsetjmp" = "yes"
14498 then
14500 cat >>confdefs.h <<\_ACEOF
14501 #define HAVE_SIGSETJMP 1
14502 _ACEOF
14506 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14507 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14508 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 cat >conftest.$ac_ext <<_ACEOF
14512 /* confdefs.h. */
14513 _ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 #define _GNU_SOURCE
14518 #include <pthread.h>
14520 typedef pthread_rwlock_t ac__type_new_;
14522 main ()
14524 if ((ac__type_new_ *) 0)
14525 return 0;
14526 if (sizeof (ac__type_new_))
14527 return 0;
14529 return 0;
14531 _ACEOF
14532 rm -f conftest.$ac_objext
14533 if { (ac_try="$ac_compile"
14534 case "(($ac_try" in
14535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14536 *) ac_try_echo=$ac_try;;
14537 esac
14538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14539 (eval "$ac_compile") 2>conftest.er1
14540 ac_status=$?
14541 grep -v '^ *+' conftest.er1 >conftest.err
14542 rm -f conftest.er1
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } && {
14546 test -z "$ac_c_werror_flag" ||
14547 test ! -s conftest.err
14548 } && test -s conftest.$ac_objext; then
14549 ac_cv_type_pthread_rwlock_t=yes
14550 else
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14554 ac_cv_type_pthread_rwlock_t=no
14557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14559 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14560 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14561 if test $ac_cv_type_pthread_rwlock_t = yes; then
14563 cat >>confdefs.h <<_ACEOF
14564 #define HAVE_PTHREAD_RWLOCK_T 1
14565 _ACEOF
14569 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14570 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14571 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574 cat >conftest.$ac_ext <<_ACEOF
14575 /* confdefs.h. */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #define _GNU_SOURCE
14581 #include <pthread.h>
14583 typedef pthread_rwlockattr_t ac__type_new_;
14585 main ()
14587 if ((ac__type_new_ *) 0)
14588 return 0;
14589 if (sizeof (ac__type_new_))
14590 return 0;
14592 return 0;
14594 _ACEOF
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14600 esac
14601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14603 ac_status=$?
14604 grep -v '^ *+' conftest.er1 >conftest.err
14605 rm -f conftest.er1
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest.$ac_objext; then
14612 ac_cv_type_pthread_rwlockattr_t=yes
14613 else
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 ac_cv_type_pthread_rwlockattr_t=no
14620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14622 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14623 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14624 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14626 cat >>confdefs.h <<_ACEOF
14627 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14628 _ACEOF
14634 ac_wine_check_funcs_save_LIBS="$LIBS"
14635 LIBS="$LIBS $LIBPTHREAD"
14640 for ac_func in \
14641 pthread_attr_get_np \
14642 pthread_getattr_np \
14643 pthread_get_stackaddr_np \
14644 pthread_get_stacksize_np
14646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 cat >conftest.$ac_ext <<_ACEOF
14653 /* confdefs.h. */
14654 _ACEOF
14655 cat confdefs.h >>conftest.$ac_ext
14656 cat >>conftest.$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14660 #define $ac_func innocuous_$ac_func
14662 /* System header to define __stub macros and hopefully few prototypes,
14663 which can conflict with char $ac_func (); below.
14664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 <limits.h> exists even on freestanding compilers. */
14667 #ifdef __STDC__
14668 # include <limits.h>
14669 #else
14670 # include <assert.h>
14671 #endif
14673 #undef $ac_func
14675 /* Override any GCC internal prototype to avoid an error.
14676 Use char because int might match the return type of a GCC
14677 builtin and then its argument prototype would still apply. */
14678 #ifdef __cplusplus
14679 extern "C"
14680 #endif
14681 char $ac_func ();
14682 /* The GNU C library defines this for functions which it implements
14683 to always fail with ENOSYS. Some functions are actually named
14684 something starting with __ and the normal name is an alias. */
14685 #if defined __stub_$ac_func || defined __stub___$ac_func
14686 choke me
14687 #endif
14690 main ()
14692 return $ac_func ();
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 eval "$as_ac_var=yes"
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 eval "$as_ac_var=no"
14723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14724 conftest$ac_exeext conftest.$ac_ext
14726 ac_res=`eval echo '${'$as_ac_var'}'`
14727 { echo "$as_me:$LINENO: result: $ac_res" >&5
14728 echo "${ECHO_T}$ac_res" >&6; }
14729 if test `eval echo '${'$as_ac_var'}'` = yes; then
14730 cat >>confdefs.h <<_ACEOF
14731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14732 _ACEOF
14735 done
14737 LIBS="$ac_wine_check_funcs_save_LIBS"
14739 # Extract the first word of "esd-config", so it can be a program name with args.
14740 set dummy esd-config; ac_word=$2
14741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14743 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 case $ESDCONFIG in
14747 [\\/]* | ?:[\\/]*)
14748 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14752 for as_dir in $PATH
14754 IFS=$as_save_IFS
14755 test -z "$as_dir" && as_dir=.
14756 for ac_exec_ext in '' $ac_executable_extensions; do
14757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14758 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14760 break 2
14762 done
14763 done
14764 IFS=$as_save_IFS
14767 esac
14769 ESDCONFIG=$ac_cv_path_ESDCONFIG
14770 if test -n "$ESDCONFIG"; then
14771 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14772 echo "${ECHO_T}$ESDCONFIG" >&6; }
14773 else
14774 { echo "$as_me:$LINENO: result: no" >&5
14775 echo "${ECHO_T}no" >&6; }
14779 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14780 then
14781 ESD_CFLAGS=""
14782 for i in `$ESDCONFIG --cflags`
14784 case "$i" in
14785 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14786 esac
14787 done
14788 ESD_LIBS=`$ESDCONFIG --libs`
14789 save_CFLAGS="$CFLAGS"
14790 CFLAGS="$CFLAGS $ESD_CFLAGS"
14791 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14792 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14793 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 else
14796 ac_check_lib_save_LIBS=$LIBS
14797 LIBS="-lesd $LIBS"
14798 cat >conftest.$ac_ext <<_ACEOF
14799 /* confdefs.h. */
14800 _ACEOF
14801 cat confdefs.h >>conftest.$ac_ext
14802 cat >>conftest.$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char esd_open_sound ();
14813 main ()
14815 return esd_open_sound ();
14817 return 0;
14819 _ACEOF
14820 rm -f conftest.$ac_objext conftest$ac_exeext
14821 if { (ac_try="$ac_link"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14825 esac
14826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_link") 2>conftest.er1
14828 ac_status=$?
14829 grep -v '^ *+' conftest.er1 >conftest.err
14830 rm -f conftest.er1
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } && {
14834 test -z "$ac_c_werror_flag" ||
14835 test ! -s conftest.err
14836 } && test -s conftest$ac_exeext &&
14837 $as_test_x conftest$ac_exeext; then
14838 ac_cv_lib_esd_esd_open_sound=yes
14839 else
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14843 ac_cv_lib_esd_esd_open_sound=no
14846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14847 conftest$ac_exeext conftest.$ac_ext
14848 LIBS=$ac_check_lib_save_LIBS
14850 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14851 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14852 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14853 ESDLIBS=$ESD_LIBS
14855 ESDINCL=$ESD_CFLAGS
14858 cat >>confdefs.h <<\_ACEOF
14859 #define HAVE_ESD 1
14860 _ACEOF
14864 CFLAGS="$save_CFLAGS"
14867 ALSALIBS=""
14869 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14870 then
14871 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14872 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14873 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 else
14876 ac_check_lib_save_LIBS=$LIBS
14877 LIBS="-lasound $LIBS"
14878 cat >conftest.$ac_ext <<_ACEOF
14879 /* confdefs.h. */
14880 _ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14885 /* Override any GCC internal prototype to avoid an error.
14886 Use char because int might match the return type of a GCC
14887 builtin and then its argument prototype would still apply. */
14888 #ifdef __cplusplus
14889 extern "C"
14890 #endif
14891 char snd_pcm_hw_params_get_access ();
14893 main ()
14895 return snd_pcm_hw_params_get_access ();
14897 return 0;
14899 _ACEOF
14900 rm -f conftest.$ac_objext conftest$ac_exeext
14901 if { (ac_try="$ac_link"
14902 case "(($ac_try" in
14903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14904 *) ac_try_echo=$ac_try;;
14905 esac
14906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14907 (eval "$ac_link") 2>conftest.er1
14908 ac_status=$?
14909 grep -v '^ *+' conftest.er1 >conftest.err
14910 rm -f conftest.er1
14911 cat conftest.err >&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); } && {
14914 test -z "$ac_c_werror_flag" ||
14915 test ! -s conftest.err
14916 } && test -s conftest$ac_exeext &&
14917 $as_test_x conftest$ac_exeext; then
14918 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14919 else
14920 echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.$ac_ext >&5
14923 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14931 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14932 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14933 cat >conftest.$ac_ext <<_ACEOF
14934 /* confdefs.h. */
14935 _ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #ifdef HAVE_ALSA_ASOUNDLIB_H
14940 #include <alsa/asoundlib.h>
14941 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14942 #include <sys/asoundlib.h>
14943 #endif
14945 main ()
14947 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14949 return 0;
14951 _ACEOF
14952 rm -f conftest.$ac_objext
14953 if { (ac_try="$ac_compile"
14954 case "(($ac_try" in
14955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14956 *) ac_try_echo=$ac_try;;
14957 esac
14958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14959 (eval "$ac_compile") 2>conftest.er1
14960 ac_status=$?
14961 grep -v '^ *+' conftest.er1 >conftest.err
14962 rm -f conftest.er1
14963 cat conftest.err >&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } && {
14966 test -z "$ac_c_werror_flag" ||
14967 test ! -s conftest.err
14968 } && test -s conftest.$ac_objext; then
14970 cat >>confdefs.h <<\_ACEOF
14971 #define HAVE_ALSA 1
14972 _ACEOF
14974 ALSALIBS="-lasound"
14975 else
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14987 AUDIOIOLIBS=""
14989 if test "$ac_cv_header_libaudioio_h" = "yes"
14990 then
14991 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14992 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14993 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 ac_check_lib_save_LIBS=$LIBS
14997 LIBS="-laudioio $LIBS"
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h. */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15008 #ifdef __cplusplus
15009 extern "C"
15010 #endif
15011 char AudioIOGetVersion ();
15013 main ()
15015 return AudioIOGetVersion ();
15017 return 0;
15019 _ACEOF
15020 rm -f conftest.$ac_objext conftest$ac_exeext
15021 if { (ac_try="$ac_link"
15022 case "(($ac_try" in
15023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15025 esac
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_link") 2>conftest.er1
15028 ac_status=$?
15029 grep -v '^ *+' conftest.er1 >conftest.err
15030 rm -f conftest.er1
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest$ac_exeext &&
15037 $as_test_x conftest$ac_exeext; then
15038 ac_cv_lib_audioio_AudioIOGetVersion=yes
15039 else
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15043 ac_cv_lib_audioio_AudioIOGetVersion=no
15046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15047 conftest$ac_exeext conftest.$ac_ext
15048 LIBS=$ac_check_lib_save_LIBS
15050 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15051 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15052 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15053 AUDIOIOLIBS="-laudioio"
15055 cat >>confdefs.h <<\_ACEOF
15056 #define HAVE_LIBAUDIOIO 1
15057 _ACEOF
15064 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15065 then
15066 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15067 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15068 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15070 else
15071 ac_check_soname_save_LIBS=$LIBS
15072 LIBS="-lcapi20 $LIBS"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 #ifdef __cplusplus
15084 extern "C"
15085 #endif
15086 char capi20_register ();
15088 main ()
15090 return capi20_register ();
15092 return 0;
15094 _ACEOF
15095 rm -f conftest.$ac_objext conftest$ac_exeext
15096 if { (ac_try="$ac_link"
15097 case "(($ac_try" in
15098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15099 *) ac_try_echo=$ac_try;;
15100 esac
15101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15102 (eval "$ac_link") 2>conftest.er1
15103 ac_status=$?
15104 grep -v '^ *+' conftest.er1 >conftest.err
15105 rm -f conftest.er1
15106 cat conftest.err >&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); } && {
15109 test -z "$ac_c_werror_flag" ||
15110 test ! -s conftest.err
15111 } && test -s conftest$ac_exeext &&
15112 $as_test_x conftest$ac_exeext; then
15113 case "$LIBEXT" in
15114 dll) ;;
15115 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'` ;;
15116 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15117 esac
15118 else
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15126 conftest$ac_exeext conftest.$ac_ext
15127 LIBS=$ac_check_soname_save_LIBS
15129 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15130 { echo "$as_me:$LINENO: result: not found" >&5
15131 echo "${ECHO_T}not found" >&6; }
15133 else
15134 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15135 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15137 cat >>confdefs.h <<_ACEOF
15138 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15139 _ACEOF
15145 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15146 case "x$with_capi" in
15147 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15148 xno) ;;
15149 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15150 This is an error since --with-capi was requested." >&5
15151 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15152 This is an error since --with-capi was requested." >&2;}
15153 { (exit 1); exit 1; }; } ;;
15154 esac
15158 if test "$ac_cv_header_cups_cups_h" = "yes"
15159 then
15160 { echo "$as_me:$LINENO: checking for -lcups" >&5
15161 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_cups+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lcups $LIBS"
15167 cat >conftest.$ac_ext <<_ACEOF
15168 /* confdefs.h. */
15169 _ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char cupsGetDefault ();
15182 main ()
15184 return cupsGetDefault ();
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (ac_try="$ac_link"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15194 esac
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15207 case "$LIBEXT" in
15208 dll) ;;
15209 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'` ;;
15210 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15211 esac
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_cups" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15227 else
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15233 _ACEOF
15239 if test "x$ac_cv_lib_soname_cups" = "x"; then
15240 case "x$with_cups" in
15241 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15242 xno) ;;
15243 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15244 This is an error since --with-cups was requested." >&5
15245 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15246 This is an error since --with-cups was requested." >&2;}
15247 { (exit 1); exit 1; }; } ;;
15248 esac
15252 if test "$ac_cv_header_jack_jack_h" = "yes"
15253 then
15254 { echo "$as_me:$LINENO: checking for -ljack" >&5
15255 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15256 if test "${ac_cv_lib_soname_jack+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 ac_check_soname_save_LIBS=$LIBS
15260 LIBS="-ljack $LIBS"
15261 cat >conftest.$ac_ext <<_ACEOF
15262 /* confdefs.h. */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 #ifdef __cplusplus
15272 extern "C"
15273 #endif
15274 char jack_client_new ();
15276 main ()
15278 return jack_client_new ();
15280 return 0;
15282 _ACEOF
15283 rm -f conftest.$ac_objext conftest$ac_exeext
15284 if { (ac_try="$ac_link"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15288 esac
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link") 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } && {
15297 test -z "$ac_c_werror_flag" ||
15298 test ! -s conftest.err
15299 } && test -s conftest$ac_exeext &&
15300 $as_test_x conftest$ac_exeext; then
15301 case "$LIBEXT" in
15302 dll) ;;
15303 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'` ;;
15304 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15305 esac
15306 else
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.$ac_ext >&5
15313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_soname_save_LIBS
15317 if test "x$ac_cv_lib_soname_jack" = "x"; then
15318 { echo "$as_me:$LINENO: result: not found" >&5
15319 echo "${ECHO_T}not found" >&6; }
15321 else
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15325 cat >>confdefs.h <<_ACEOF
15326 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15327 _ACEOF
15334 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15335 then
15336 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15337 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15338 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 else
15341 ac_check_soname_save_LIBS=$LIBS
15342 LIBS="-lfontconfig $LIBS"
15343 cat >conftest.$ac_ext <<_ACEOF
15344 /* confdefs.h. */
15345 _ACEOF
15346 cat confdefs.h >>conftest.$ac_ext
15347 cat >>conftest.$ac_ext <<_ACEOF
15348 /* end confdefs.h. */
15350 /* Override any GCC internal prototype to avoid an error.
15351 Use char because int might match the return type of a GCC
15352 builtin and then its argument prototype would still apply. */
15353 #ifdef __cplusplus
15354 extern "C"
15355 #endif
15356 char FcInit ();
15358 main ()
15360 return FcInit ();
15362 return 0;
15364 _ACEOF
15365 rm -f conftest.$ac_objext conftest$ac_exeext
15366 if { (ac_try="$ac_link"
15367 case "(($ac_try" in
15368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15369 *) ac_try_echo=$ac_try;;
15370 esac
15371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15372 (eval "$ac_link") 2>conftest.er1
15373 ac_status=$?
15374 grep -v '^ *+' conftest.er1 >conftest.err
15375 rm -f conftest.er1
15376 cat conftest.err >&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } && {
15379 test -z "$ac_c_werror_flag" ||
15380 test ! -s conftest.err
15381 } && test -s conftest$ac_exeext &&
15382 $as_test_x conftest$ac_exeext; then
15383 case "$LIBEXT" in
15384 dll) ;;
15385 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'` ;;
15386 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15387 esac
15388 else
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15396 conftest$ac_exeext conftest.$ac_ext
15397 LIBS=$ac_check_soname_save_LIBS
15399 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15400 { echo "$as_me:$LINENO: result: not found" >&5
15401 echo "${ECHO_T}not found" >&6; }
15403 else
15404 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15405 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15407 cat >>confdefs.h <<_ACEOF
15408 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15409 _ACEOF
15414 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15415 then
15416 ac_save_CPPFLAGS="$CPPFLAGS"
15417 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15418 $as_unset ac_cv_header_fontconfig_fontconfig_h
15420 for ac_header in fontconfig/fontconfig.h
15422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 ac_res=`eval echo '${'$as_ac_Header'}'`
15430 { echo "$as_me:$LINENO: result: $ac_res" >&5
15431 echo "${ECHO_T}$ac_res" >&6; }
15432 else
15433 # Is the header compilable?
15434 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15436 cat >conftest.$ac_ext <<_ACEOF
15437 /* confdefs.h. */
15438 _ACEOF
15439 cat confdefs.h >>conftest.$ac_ext
15440 cat >>conftest.$ac_ext <<_ACEOF
15441 /* end confdefs.h. */
15442 $ac_includes_default
15443 #include <$ac_header>
15444 _ACEOF
15445 rm -f conftest.$ac_objext
15446 if { (ac_try="$ac_compile"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15450 esac
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_compile") 2>conftest.er1
15453 ac_status=$?
15454 grep -v '^ *+' conftest.er1 >conftest.err
15455 rm -f conftest.er1
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } && {
15459 test -z "$ac_c_werror_flag" ||
15460 test ! -s conftest.err
15461 } && test -s conftest.$ac_objext; then
15462 ac_header_compiler=yes
15463 else
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_header_compiler=no
15470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15471 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15472 echo "${ECHO_T}$ac_header_compiler" >&6; }
15474 # Is the header present?
15475 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15477 cat >conftest.$ac_ext <<_ACEOF
15478 /* confdefs.h. */
15479 _ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 #include <$ac_header>
15484 _ACEOF
15485 if { (ac_try="$ac_cpp conftest.$ac_ext"
15486 case "(($ac_try" in
15487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15488 *) ac_try_echo=$ac_try;;
15489 esac
15490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15492 ac_status=$?
15493 grep -v '^ *+' conftest.er1 >conftest.err
15494 rm -f conftest.er1
15495 cat conftest.err >&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } >/dev/null && {
15498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15499 test ! -s conftest.err
15500 }; then
15501 ac_header_preproc=yes
15502 else
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.$ac_ext >&5
15506 ac_header_preproc=no
15509 rm -f conftest.err conftest.$ac_ext
15510 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15511 echo "${ECHO_T}$ac_header_preproc" >&6; }
15513 # So? What about this header?
15514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15515 yes:no: )
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15520 ac_header_preproc=yes
15522 no:yes:* )
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15535 ( cat <<\_ASBOX
15536 ## ------------------------------------ ##
15537 ## Report this to wine-devel@winehq.org ##
15538 ## ------------------------------------ ##
15539 _ASBOX
15540 ) | sed "s/^/$as_me: WARNING: /" >&2
15542 esac
15543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15546 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 else
15548 eval "$as_ac_Header=\$ac_header_preproc"
15550 ac_res=`eval echo '${'$as_ac_Header'}'`
15551 { echo "$as_me:$LINENO: result: $ac_res" >&5
15552 echo "${ECHO_T}$ac_res" >&6; }
15555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15556 cat >>confdefs.h <<_ACEOF
15557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15558 _ACEOF
15562 done
15564 CPPFLAGS="$ac_save_CPPFLAGS"
15565 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15566 then
15567 FONTCONFIGINCL="$X_CFLAGS"
15569 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15570 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15571 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lfontconfig $X_LIBS $LIBS"
15576 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15586 #ifdef __cplusplus
15587 extern "C"
15588 #endif
15589 char FcInit ();
15591 main ()
15593 return FcInit ();
15595 return 0;
15597 _ACEOF
15598 rm -f conftest.$ac_objext conftest$ac_exeext
15599 if { (ac_try="$ac_link"
15600 case "(($ac_try" in
15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15603 esac
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_link") 2>conftest.er1
15606 ac_status=$?
15607 grep -v '^ *+' conftest.er1 >conftest.err
15608 rm -f conftest.er1
15609 cat conftest.err >&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest$ac_exeext &&
15615 $as_test_x conftest$ac_exeext; then
15616 case "$LIBEXT" in
15617 dll) ;;
15618 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'` ;;
15619 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15620 esac
15621 else
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_soname_save_LIBS
15632 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15633 { echo "$as_me:$LINENO: result: not found" >&5
15634 echo "${ECHO_T}not found" >&6; }
15636 else
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15640 cat >>confdefs.h <<_ACEOF
15641 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15642 _ACEOF
15649 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15650 case "x$with_fontconfig" in
15651 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15652 xno) ;;
15653 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15654 This is an error since --with-fontconfig was requested." >&5
15655 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15656 This is an error since --with-fontconfig was requested." >&2;}
15657 { (exit 1); exit 1; }; } ;;
15658 esac
15662 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15663 then
15664 { echo "$as_me:$LINENO: checking for -lssl" >&5
15665 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15666 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 else
15669 ac_check_soname_save_LIBS=$LIBS
15670 LIBS="-lssl $LIBS"
15671 cat >conftest.$ac_ext <<_ACEOF
15672 /* confdefs.h. */
15673 _ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 char SSL_library_init ();
15686 main ()
15688 return SSL_library_init ();
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15698 esac
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } && {
15707 test -z "$ac_c_werror_flag" ||
15708 test ! -s conftest.err
15709 } && test -s conftest$ac_exeext &&
15710 $as_test_x conftest$ac_exeext; then
15711 case "$LIBEXT" in
15712 dll) ;;
15713 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'` ;;
15714 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15715 esac
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_soname_save_LIBS
15727 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15728 { echo "$as_me:$LINENO: result: not found" >&5
15729 echo "${ECHO_T}not found" >&6; }
15731 else
15732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15733 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15735 cat >>confdefs.h <<_ACEOF
15736 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15737 _ACEOF
15742 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15743 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15744 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747 ac_check_soname_save_LIBS=$LIBS
15748 LIBS="-lcrypto $LIBS"
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15759 #ifdef __cplusplus
15760 extern "C"
15761 #endif
15762 char BIO_new_socket ();
15764 main ()
15766 return BIO_new_socket ();
15768 return 0;
15770 _ACEOF
15771 rm -f conftest.$ac_objext conftest$ac_exeext
15772 if { (ac_try="$ac_link"
15773 case "(($ac_try" in
15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15775 *) ac_try_echo=$ac_try;;
15776 esac
15777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15778 (eval "$ac_link") 2>conftest.er1
15779 ac_status=$?
15780 grep -v '^ *+' conftest.er1 >conftest.err
15781 rm -f conftest.er1
15782 cat conftest.err >&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } && {
15785 test -z "$ac_c_werror_flag" ||
15786 test ! -s conftest.err
15787 } && test -s conftest$ac_exeext &&
15788 $as_test_x conftest$ac_exeext; then
15789 case "$LIBEXT" in
15790 dll) ;;
15791 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'` ;;
15792 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15793 esac
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15802 conftest$ac_exeext conftest.$ac_ext
15803 LIBS=$ac_check_soname_save_LIBS
15805 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15806 { echo "$as_me:$LINENO: result: not found" >&5
15807 echo "${ECHO_T}not found" >&6; }
15809 else
15810 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15811 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15813 cat >>confdefs.h <<_ACEOF
15814 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15815 _ACEOF
15821 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15822 case "x$with_openssl" in
15823 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15824 xno) ;;
15825 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15826 This is an error since --with-openssl was requested." >&5
15827 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15828 This is an error since --with-openssl was requested." >&2;}
15829 { (exit 1); exit 1; }; } ;;
15830 esac
15834 if test "$ac_cv_header_jpeglib_h" = "yes"
15835 then
15836 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15837 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15838 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841 ac_check_soname_save_LIBS=$LIBS
15842 LIBS="-ljpeg $LIBS"
15843 cat >conftest.$ac_ext <<_ACEOF
15844 /* confdefs.h. */
15845 _ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15850 /* Override any GCC internal prototype to avoid an error.
15851 Use char because int might match the return type of a GCC
15852 builtin and then its argument prototype would still apply. */
15853 #ifdef __cplusplus
15854 extern "C"
15855 #endif
15856 char jpeg_start_decompress ();
15858 main ()
15860 return jpeg_start_decompress ();
15862 return 0;
15864 _ACEOF
15865 rm -f conftest.$ac_objext conftest$ac_exeext
15866 if { (ac_try="$ac_link"
15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15870 esac
15871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15872 (eval "$ac_link") 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } && {
15879 test -z "$ac_c_werror_flag" ||
15880 test ! -s conftest.err
15881 } && test -s conftest$ac_exeext &&
15882 $as_test_x conftest$ac_exeext; then
15883 case "$LIBEXT" in
15884 dll) ;;
15885 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'` ;;
15886 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15887 esac
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 LIBS=$ac_check_soname_save_LIBS
15899 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15900 { echo "$as_me:$LINENO: result: not found" >&5
15901 echo "${ECHO_T}not found" >&6; }
15903 else
15904 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15905 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15907 cat >>confdefs.h <<_ACEOF
15908 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15909 _ACEOF
15915 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15916 case "x$with_jpeg" in
15917 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15918 xno) ;;
15919 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15920 This is an error since --with-jpeg was requested." >&5
15921 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15922 This is an error since --with-jpeg was requested." >&2;}
15923 { (exit 1); exit 1; }; } ;;
15924 esac
15928 if test "$ac_cv_header_png_h" = "yes"
15929 then
15930 { echo "$as_me:$LINENO: checking for -lpng" >&5
15931 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15932 if test "${ac_cv_lib_soname_png+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 ac_check_soname_save_LIBS=$LIBS
15936 LIBS="-lpng $LIBS"
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. */
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15947 #ifdef __cplusplus
15948 extern "C"
15949 #endif
15950 char png_create_read_struct ();
15952 main ()
15954 return png_create_read_struct ();
15956 return 0;
15958 _ACEOF
15959 rm -f conftest.$ac_objext conftest$ac_exeext
15960 if { (ac_try="$ac_link"
15961 case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15964 esac
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_link") 2>conftest.er1
15967 ac_status=$?
15968 grep -v '^ *+' conftest.er1 >conftest.err
15969 rm -f conftest.er1
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && {
15973 test -z "$ac_c_werror_flag" ||
15974 test ! -s conftest.err
15975 } && test -s conftest$ac_exeext &&
15976 $as_test_x conftest$ac_exeext; then
15977 case "$LIBEXT" in
15978 dll) ;;
15979 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'` ;;
15980 *) 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'` ;;
15981 esac
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15990 conftest$ac_exeext conftest.$ac_ext
15991 LIBS=$ac_check_soname_save_LIBS
15993 if test "x$ac_cv_lib_soname_png" = "x"; then
15994 { echo "$as_me:$LINENO: result: not found" >&5
15995 echo "${ECHO_T}not found" >&6; }
15997 else
15998 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15999 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16001 cat >>confdefs.h <<_ACEOF
16002 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16003 _ACEOF
16009 if test "x$ac_cv_lib_soname_png" = "x"; then
16010 case "x$with_png" in
16011 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
16012 xno) ;;
16013 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16014 This is an error since --with-png was requested." >&5
16015 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16016 This is an error since --with-png was requested." >&2;}
16017 { (exit 1); exit 1; }; } ;;
16018 esac
16022 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16023 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16024 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 else
16027 ac_check_soname_save_LIBS=$LIBS
16028 LIBS="-lodbc $LIBS"
16029 cat >conftest.$ac_ext <<_ACEOF
16030 /* confdefs.h. */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16036 /* Override any GCC internal prototype to avoid an error.
16037 Use char because int might match the return type of a GCC
16038 builtin and then its argument prototype would still apply. */
16039 #ifdef __cplusplus
16040 extern "C"
16041 #endif
16042 char SQLConnect ();
16044 main ()
16046 return SQLConnect ();
16048 return 0;
16050 _ACEOF
16051 rm -f conftest.$ac_objext conftest$ac_exeext
16052 if { (ac_try="$ac_link"
16053 case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16056 esac
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_link") 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_c_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest$ac_exeext &&
16068 $as_test_x conftest$ac_exeext; then
16069 case "$LIBEXT" in
16070 dll) ;;
16071 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'` ;;
16072 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16073 esac
16074 else
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_soname_save_LIBS
16085 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16086 { echo "$as_me:$LINENO: result: not found" >&5
16087 echo "${ECHO_T}not found" >&6; }
16088 cat >>confdefs.h <<_ACEOF
16089 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16090 _ACEOF
16092 else
16093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16094 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16096 cat >>confdefs.h <<_ACEOF
16097 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16098 _ACEOF
16104 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16105 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16106 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16107 "$ac_cv_header_soundcard_h" != "yes" -a \
16108 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16109 then
16110 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16114 EXTRACFLAGS=""
16116 if test "x${GCC}" = "xyes"
16117 then
16118 EXTRACFLAGS="-Wall -pipe"
16120 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16121 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16122 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 if test "$cross_compiling" = yes; then
16126 ac_cv_c_gcc_strength_bug="yes"
16127 else
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 int L[4] = {0,1,2,3};
16136 main ()
16138 static int Array[3];
16139 unsigned int B = 3;
16140 int i;
16141 for(i=0; i<B; i++) Array[i] = i - 3;
16142 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16143 L[i] = 4;
16144 exit( Array[1] != -2 || L[2] != 3)
16146 return 0;
16148 _ACEOF
16149 rm -f conftest$ac_exeext
16150 if { (ac_try="$ac_link"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_link") 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16163 esac
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 ac_cv_c_gcc_strength_bug="no"
16170 else
16171 echo "$as_me: program exited with status $ac_status" >&5
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 ( exit $ac_status )
16176 ac_cv_c_gcc_strength_bug="yes"
16178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16183 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16184 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16185 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16186 then
16187 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16191 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16192 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16193 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 ac_wine_try_cflags_saved=$CFLAGS
16197 CFLAGS="$CFLAGS -fshort-wchar"
16198 cat >conftest.$ac_ext <<_ACEOF
16199 /* confdefs.h. */
16200 _ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16206 main ()
16210 return 0;
16212 _ACEOF
16213 rm -f conftest.$ac_objext conftest$ac_exeext
16214 if { (ac_try="$ac_link"
16215 case "(($ac_try" in
16216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16217 *) ac_try_echo=$ac_try;;
16218 esac
16219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16220 (eval "$ac_link") 2>conftest.er1
16221 ac_status=$?
16222 grep -v '^ *+' conftest.er1 >conftest.err
16223 rm -f conftest.er1
16224 cat conftest.err >&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } && {
16227 test -z "$ac_c_werror_flag" ||
16228 test ! -s conftest.err
16229 } && test -s conftest$ac_exeext &&
16230 $as_test_x conftest$ac_exeext; then
16231 ac_cv_cflags__fshort_wchar=yes
16232 else
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16236 ac_cv_cflags__fshort_wchar=no
16239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16240 conftest$ac_exeext conftest.$ac_ext
16241 CFLAGS=$ac_wine_try_cflags_saved
16243 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16244 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16245 if test $ac_cv_cflags__fshort_wchar = yes; then
16247 cat >>confdefs.h <<\_ACEOF
16248 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16249 _ACEOF
16253 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16254 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16255 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 else
16258 ac_wine_try_cflags_saved=$CFLAGS
16259 CFLAGS="$CFLAGS -fno-strict-aliasing"
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16268 main ()
16272 return 0;
16274 _ACEOF
16275 rm -f conftest.$ac_objext conftest$ac_exeext
16276 if { (ac_try="$ac_link"
16277 case "(($ac_try" in
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16279 *) ac_try_echo=$ac_try;;
16280 esac
16281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16282 (eval "$ac_link") 2>conftest.er1
16283 ac_status=$?
16284 grep -v '^ *+' conftest.er1 >conftest.err
16285 rm -f conftest.er1
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } && {
16289 test -z "$ac_c_werror_flag" ||
16290 test ! -s conftest.err
16291 } && test -s conftest$ac_exeext &&
16292 $as_test_x conftest$ac_exeext; then
16293 ac_cv_cflags__fno_strict_aliasing=yes
16294 else
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16298 ac_cv_cflags__fno_strict_aliasing=no
16301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16302 conftest$ac_exeext conftest.$ac_ext
16303 CFLAGS=$ac_wine_try_cflags_saved
16305 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16306 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16307 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16308 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16311 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16312 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16313 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316 ac_wine_try_cflags_saved=$CFLAGS
16317 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16318 cat >conftest.$ac_ext <<_ACEOF
16319 /* confdefs.h. */
16320 _ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16326 main ()
16330 return 0;
16332 _ACEOF
16333 rm -f conftest.$ac_objext conftest$ac_exeext
16334 if { (ac_try="$ac_link"
16335 case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;;
16338 esac
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_link") 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } && {
16347 test -z "$ac_c_werror_flag" ||
16348 test ! -s conftest.err
16349 } && test -s conftest$ac_exeext &&
16350 $as_test_x conftest$ac_exeext; then
16351 ac_cv_cflags__Wdeclaration_after_statement=yes
16352 else
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16356 ac_cv_cflags__Wdeclaration_after_statement=no
16359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16360 conftest$ac_exeext conftest.$ac_ext
16361 CFLAGS=$ac_wine_try_cflags_saved
16363 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16364 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16365 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16366 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16369 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16370 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16371 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 else
16374 ac_wine_try_cflags_saved=$CFLAGS
16375 CFLAGS="$CFLAGS -Wwrite-strings"
16376 cat >conftest.$ac_ext <<_ACEOF
16377 /* confdefs.h. */
16378 _ACEOF
16379 cat confdefs.h >>conftest.$ac_ext
16380 cat >>conftest.$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16384 main ()
16388 return 0;
16390 _ACEOF
16391 rm -f conftest.$ac_objext conftest$ac_exeext
16392 if { (ac_try="$ac_link"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16396 esac
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_link") 2>conftest.er1
16399 ac_status=$?
16400 grep -v '^ *+' conftest.er1 >conftest.err
16401 rm -f conftest.er1
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } && {
16405 test -z "$ac_c_werror_flag" ||
16406 test ! -s conftest.err
16407 } && test -s conftest$ac_exeext &&
16408 $as_test_x conftest$ac_exeext; then
16409 ac_cv_cflags__Wwrite_strings=yes
16410 else
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16414 ac_cv_cflags__Wwrite_strings=no
16417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16418 conftest$ac_exeext conftest.$ac_ext
16419 CFLAGS=$ac_wine_try_cflags_saved
16421 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16422 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16423 if test $ac_cv_cflags__Wwrite_strings = yes; then
16424 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16427 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16428 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16429 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 else
16432 ac_wine_try_cflags_saved=$CFLAGS
16433 CFLAGS="$CFLAGS -Wtype-limits"
16434 cat >conftest.$ac_ext <<_ACEOF
16435 /* confdefs.h. */
16436 _ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16442 main ()
16446 return 0;
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (ac_try="$ac_link"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16454 esac
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } && {
16463 test -z "$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16465 } && test -s conftest$ac_exeext &&
16466 $as_test_x conftest$ac_exeext; then
16467 ac_cv_cflags__Wtype_limits=yes
16468 else
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16472 ac_cv_cflags__Wtype_limits=no
16475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16476 conftest$ac_exeext conftest.$ac_ext
16477 CFLAGS=$ac_wine_try_cflags_saved
16479 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16480 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16481 if test $ac_cv_cflags__Wtype_limits = yes; then
16482 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16486 saved_CFLAGS="$CFLAGS"
16487 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16488 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16489 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16490 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 else
16493 cat >conftest.$ac_ext <<_ACEOF
16494 /* confdefs.h. */
16495 _ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499 #include <string.h>
16501 main ()
16505 return 0;
16507 _ACEOF
16508 rm -f conftest.$ac_objext
16509 if { (ac_try="$ac_compile"
16510 case "(($ac_try" in
16511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16512 *) ac_try_echo=$ac_try;;
16513 esac
16514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16515 (eval "$ac_compile") 2>conftest.er1
16516 ac_status=$?
16517 grep -v '^ *+' conftest.er1 >conftest.err
16518 rm -f conftest.er1
16519 cat conftest.err >&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } && {
16522 test -z "$ac_c_werror_flag" ||
16523 test ! -s conftest.err
16524 } && test -s conftest.$ac_objext; then
16525 ac_cv_c_string_h_warnings=no
16526 else
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16530 ac_cv_c_string_h_warnings=yes
16533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16535 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16536 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16537 CFLAGS="$saved_CFLAGS"
16538 if test "$ac_cv_c_string_h_warnings" = "no"
16539 then
16540 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16543 BUILTINFLAG=""
16545 saved_CFLAGS="$CFLAGS"
16546 CFLAGS="$CFLAGS -Werror"
16547 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16548 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16549 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16560 main ()
16562 int iswlower(unsigned short);
16564 return 0;
16566 _ACEOF
16567 rm -f conftest.$ac_objext
16568 if { (ac_try="$ac_compile"
16569 case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_compile") 2>conftest.er1
16575 ac_status=$?
16576 grep -v '^ *+' conftest.er1 >conftest.err
16577 rm -f conftest.er1
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } && {
16581 test -z "$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 } && test -s conftest.$ac_objext; then
16584 ac_cv_c_builtin_wchar_ctype=no
16585 else
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16589 ac_cv_c_builtin_wchar_ctype=yes
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16595 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16596 CFLAGS="$saved_CFLAGS"
16597 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16598 then
16599 BUILTINFLAG="-fno-builtin"
16604 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16605 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16606 if test "${ac_cv_asm_func_def+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16617 main ()
16619 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16621 return 0;
16623 _ACEOF
16624 rm -f conftest.$ac_objext conftest$ac_exeext
16625 if { (ac_try="$ac_link"
16626 case "(($ac_try" in
16627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16628 *) ac_try_echo=$ac_try;;
16629 esac
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_link") 2>conftest.er1
16632 ac_status=$?
16633 grep -v '^ *+' conftest.er1 >conftest.err
16634 rm -f conftest.er1
16635 cat conftest.err >&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } && {
16638 test -z "$ac_c_werror_flag" ||
16639 test ! -s conftest.err
16640 } && test -s conftest$ac_exeext &&
16641 $as_test_x conftest$ac_exeext; then
16642 ac_cv_asm_func_def=".def"
16643 else
16644 echo "$as_me: failed program was:" >&5
16645 sed 's/^/| /' conftest.$ac_ext >&5
16647 cat >conftest.$ac_ext <<_ACEOF
16648 /* confdefs.h. */
16649 _ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16655 main ()
16657 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16659 return 0;
16661 _ACEOF
16662 rm -f conftest.$ac_objext conftest$ac_exeext
16663 if { (ac_try="$ac_link"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16667 esac
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_link") 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } && {
16676 test -z "$ac_c_werror_flag" ||
16677 test ! -s conftest.err
16678 } && test -s conftest$ac_exeext &&
16679 $as_test_x conftest$ac_exeext; then
16680 ac_cv_asm_func_def=".type @function"
16681 else
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16693 main ()
16695 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16697 return 0;
16699 _ACEOF
16700 rm -f conftest.$ac_objext conftest$ac_exeext
16701 if { (ac_try="$ac_link"
16702 case "(($ac_try" in
16703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16705 esac
16706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707 (eval "$ac_link") 2>conftest.er1
16708 ac_status=$?
16709 grep -v '^ *+' conftest.er1 >conftest.err
16710 rm -f conftest.er1
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && {
16714 test -z "$ac_c_werror_flag" ||
16715 test ! -s conftest.err
16716 } && test -s conftest$ac_exeext &&
16717 $as_test_x conftest$ac_exeext; then
16718 ac_cv_asm_func_def=".type 2"
16719 else
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.$ac_ext >&5
16723 ac_cv_asm_func_def="unknown"
16726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16727 conftest$ac_exeext conftest.$ac_ext
16730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16731 conftest$ac_exeext conftest.$ac_ext
16734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16735 conftest$ac_exeext conftest.$ac_ext
16737 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16738 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16742 case "$ac_cv_asm_func_def" in
16743 ".def")
16744 cat >>confdefs.h <<\_ACEOF
16745 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16746 _ACEOF
16748 ".type @function")
16749 cat >>confdefs.h <<\_ACEOF
16750 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16751 _ACEOF
16753 ".type 2")
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16756 _ACEOF
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ""
16761 _ACEOF
16763 esac
16766 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16767 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16768 if test "${ac_cv_c_extern_prefix+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 else
16771 cat >conftest.$ac_ext <<_ACEOF
16772 /* confdefs.h. */
16773 _ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 extern int ac_test;
16779 main ()
16781 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16783 return 0;
16785 _ACEOF
16786 rm -f conftest.$ac_objext conftest$ac_exeext
16787 if { (ac_try="$ac_link"
16788 case "(($ac_try" in
16789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16790 *) ac_try_echo=$ac_try;;
16791 esac
16792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16793 (eval "$ac_link") 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } && {
16800 test -z "$ac_c_werror_flag" ||
16801 test ! -s conftest.err
16802 } && test -s conftest$ac_exeext &&
16803 $as_test_x conftest$ac_exeext; then
16804 ac_cv_c_extern_prefix="yes"
16805 else
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.$ac_ext >&5
16809 ac_cv_c_extern_prefix="no"
16812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16813 conftest$ac_exeext conftest.$ac_ext
16815 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16816 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16820 if test "$ac_cv_c_extern_prefix" = "yes"
16821 then
16822 cat >>confdefs.h <<\_ACEOF
16823 #define __ASM_NAME(name) "_" name
16824 _ACEOF
16826 else
16827 cat >>confdefs.h <<\_ACEOF
16828 #define __ASM_NAME(name) name
16829 _ACEOF
16834 LDPATH=""
16836 case $build_os in
16837 cygwin*|mingw32*)
16838 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16840 darwin*|macosx*)
16842 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16843 then
16844 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16848 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16850 esac
16852 case $host_os in
16853 mingw32*)
16854 CRTLIBS="-lmsvcrt"
16856 SOCKETLIBS="-lws2_32"
16859 esac
16861 MAIN_BINARY="wine-pthread"
16862 case $host_cpu in
16863 *i[3456789]86*)
16864 case $host_os in
16865 linux* | k*bsd*-gnu)
16866 MAIN_BINARY="wine-glibc"
16868 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16870 freebsd*)
16871 MAIN_BINARY="wine-freebsd"
16873 EXTRA_BINARIES="wine-pthread"
16875 esac
16877 esac
16949 for ac_func in \
16950 _pclose \
16951 _popen \
16952 _snprintf \
16953 _spawnvp \
16954 _strdup \
16955 _stricmp \
16956 _strnicmp \
16957 _strtoi64 \
16958 _strtoui64 \
16959 _vsnprintf \
16960 asctime_r \
16961 chsize \
16962 clone \
16963 dlopen \
16964 epoll_create \
16965 ffs \
16966 finite \
16967 fork \
16968 fpclass \
16969 fstatfs \
16970 fstatvfs \
16971 ftruncate \
16972 futimes \
16973 futimesat \
16974 getdirentries \
16975 getopt_long \
16976 getpagesize \
16977 getpwuid \
16978 gettid \
16979 gettimeofday \
16980 getuid \
16981 inet_pton \
16982 kqueue \
16983 lstat \
16984 memmove \
16985 mmap \
16986 pclose \
16987 poll \
16988 popen \
16989 prctl \
16990 pread \
16991 pwrite \
16992 readlink \
16993 rfork \
16994 sched_yield \
16995 select \
16996 setproctitle \
16997 setrlimit \
16998 settimeofday \
16999 sigaltstack \
17000 sigprocmask \
17001 snprintf \
17002 spawnvp \
17003 statfs \
17004 statvfs \
17005 strcasecmp \
17006 strdup \
17007 strerror \
17008 strncasecmp \
17009 strtold \
17010 strtoll \
17011 strtoull \
17012 tcgetattr \
17013 thr_kill2 \
17014 timegm \
17015 usleep \
17016 vsnprintf \
17017 wait4 \
17018 waitpid \
17021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027 cat >conftest.$ac_ext <<_ACEOF
17028 /* confdefs.h. */
17029 _ACEOF
17030 cat confdefs.h >>conftest.$ac_ext
17031 cat >>conftest.$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17035 #define $ac_func innocuous_$ac_func
17037 /* System header to define __stub macros and hopefully few prototypes,
17038 which can conflict with char $ac_func (); below.
17039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17040 <limits.h> exists even on freestanding compilers. */
17042 #ifdef __STDC__
17043 # include <limits.h>
17044 #else
17045 # include <assert.h>
17046 #endif
17048 #undef $ac_func
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17053 #ifdef __cplusplus
17054 extern "C"
17055 #endif
17056 char $ac_func ();
17057 /* The GNU C library defines this for functions which it implements
17058 to always fail with ENOSYS. Some functions are actually named
17059 something starting with __ and the normal name is an alias. */
17060 #if defined __stub_$ac_func || defined __stub___$ac_func
17061 choke me
17062 #endif
17065 main ()
17067 return $ac_func ();
17069 return 0;
17071 _ACEOF
17072 rm -f conftest.$ac_objext conftest$ac_exeext
17073 if { (ac_try="$ac_link"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17077 esac
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_link") 2>conftest.er1
17080 ac_status=$?
17081 grep -v '^ *+' conftest.er1 >conftest.err
17082 rm -f conftest.er1
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } && {
17086 test -z "$ac_c_werror_flag" ||
17087 test ! -s conftest.err
17088 } && test -s conftest$ac_exeext &&
17089 $as_test_x conftest$ac_exeext; then
17090 eval "$as_ac_var=yes"
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17095 eval "$as_ac_var=no"
17098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17099 conftest$ac_exeext conftest.$ac_ext
17101 ac_res=`eval echo '${'$as_ac_var'}'`
17102 { echo "$as_me:$LINENO: result: $ac_res" >&5
17103 echo "${ECHO_T}$ac_res" >&6; }
17104 if test `eval echo '${'$as_ac_var'}'` = yes; then
17105 cat >>confdefs.h <<_ACEOF
17106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17107 _ACEOF
17110 done
17113 if test "$ac_cv_func_dlopen" = no
17114 then
17115 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17116 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17118 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 else
17120 ac_check_lib_save_LIBS=$LIBS
17121 LIBS="-ldl $LIBS"
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17129 /* Override any GCC internal prototype to avoid an error.
17130 Use char because int might match the return type of a GCC
17131 builtin and then its argument prototype would still apply. */
17132 #ifdef __cplusplus
17133 extern "C"
17134 #endif
17135 char dlopen ();
17137 main ()
17139 return dlopen ();
17141 return 0;
17143 _ACEOF
17144 rm -f conftest.$ac_objext conftest$ac_exeext
17145 if { (ac_try="$ac_link"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17149 esac
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_link") 2>conftest.er1
17152 ac_status=$?
17153 grep -v '^ *+' conftest.er1 >conftest.err
17154 rm -f conftest.er1
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_c_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest$ac_exeext &&
17161 $as_test_x conftest$ac_exeext; then
17162 ac_cv_lib_dl_dlopen=yes
17163 else
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 ac_cv_lib_dl_dlopen=no
17170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17171 conftest$ac_exeext conftest.$ac_ext
17172 LIBS=$ac_check_lib_save_LIBS
17174 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17175 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17176 if test $ac_cv_lib_dl_dlopen = yes; then
17177 cat >>confdefs.h <<\_ACEOF
17178 #define HAVE_DLOPEN 1
17179 _ACEOF
17180 LIBDL="-ldl"
17185 ac_wine_check_funcs_save_LIBS="$LIBS"
17186 LIBS="$LIBS $LIBDL"
17188 for ac_func in dladdr
17190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17204 #define $ac_func innocuous_$ac_func
17206 /* System header to define __stub macros and hopefully few prototypes,
17207 which can conflict with char $ac_func (); below.
17208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17209 <limits.h> exists even on freestanding compilers. */
17211 #ifdef __STDC__
17212 # include <limits.h>
17213 #else
17214 # include <assert.h>
17215 #endif
17217 #undef $ac_func
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17222 #ifdef __cplusplus
17223 extern "C"
17224 #endif
17225 char $ac_func ();
17226 /* The GNU C library defines this for functions which it implements
17227 to always fail with ENOSYS. Some functions are actually named
17228 something starting with __ and the normal name is an alias. */
17229 #if defined __stub_$ac_func || defined __stub___$ac_func
17230 choke me
17231 #endif
17234 main ()
17236 return $ac_func ();
17238 return 0;
17240 _ACEOF
17241 rm -f conftest.$ac_objext conftest$ac_exeext
17242 if { (ac_try="$ac_link"
17243 case "(($ac_try" in
17244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17245 *) ac_try_echo=$ac_try;;
17246 esac
17247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17248 (eval "$ac_link") 2>conftest.er1
17249 ac_status=$?
17250 grep -v '^ *+' conftest.er1 >conftest.err
17251 rm -f conftest.er1
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } && {
17255 test -z "$ac_c_werror_flag" ||
17256 test ! -s conftest.err
17257 } && test -s conftest$ac_exeext &&
17258 $as_test_x conftest$ac_exeext; then
17259 eval "$as_ac_var=yes"
17260 else
17261 echo "$as_me: failed program was:" >&5
17262 sed 's/^/| /' conftest.$ac_ext >&5
17264 eval "$as_ac_var=no"
17267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17268 conftest$ac_exeext conftest.$ac_ext
17270 ac_res=`eval echo '${'$as_ac_var'}'`
17271 { echo "$as_me:$LINENO: result: $ac_res" >&5
17272 echo "${ECHO_T}$ac_res" >&6; }
17273 if test `eval echo '${'$as_ac_var'}'` = yes; then
17274 cat >>confdefs.h <<_ACEOF
17275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17276 _ACEOF
17279 done
17281 LIBS="$ac_wine_check_funcs_save_LIBS"
17283 if test "$ac_cv_func_poll" = no
17284 then
17285 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17286 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17287 if test "${ac_cv_lib_poll_poll+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 ac_check_lib_save_LIBS=$LIBS
17291 LIBS="-lpoll $LIBS"
17292 cat >conftest.$ac_ext <<_ACEOF
17293 /* confdefs.h. */
17294 _ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17299 /* Override any GCC internal prototype to avoid an error.
17300 Use char because int might match the return type of a GCC
17301 builtin and then its argument prototype would still apply. */
17302 #ifdef __cplusplus
17303 extern "C"
17304 #endif
17305 char poll ();
17307 main ()
17309 return poll ();
17311 return 0;
17313 _ACEOF
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17319 esac
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_link") 2>conftest.er1
17322 ac_status=$?
17323 grep -v '^ *+' conftest.er1 >conftest.err
17324 rm -f conftest.er1
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest$ac_exeext &&
17331 $as_test_x conftest$ac_exeext; then
17332 ac_cv_lib_poll_poll=yes
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17337 ac_cv_lib_poll_poll=no
17340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17341 conftest$ac_exeext conftest.$ac_ext
17342 LIBS=$ac_check_lib_save_LIBS
17344 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17345 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17346 if test $ac_cv_lib_poll_poll = yes; then
17347 cat >>confdefs.h <<\_ACEOF
17348 #define HAVE_POLL 1
17349 _ACEOF
17350 LIBPOLL="-lpoll"
17356 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17357 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17358 if test "${ac_cv_search_gethostbyname+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 else
17361 ac_func_search_save_LIBS=$LIBS
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17369 /* Override any GCC internal prototype to avoid an error.
17370 Use char because int might match the return type of a GCC
17371 builtin and then its argument prototype would still apply. */
17372 #ifdef __cplusplus
17373 extern "C"
17374 #endif
17375 char gethostbyname ();
17377 main ()
17379 return gethostbyname ();
17381 return 0;
17383 _ACEOF
17384 for ac_lib in '' nsl; do
17385 if test -z "$ac_lib"; then
17386 ac_res="none required"
17387 else
17388 ac_res=-l$ac_lib
17389 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17391 rm -f conftest.$ac_objext conftest$ac_exeext
17392 if { (ac_try="$ac_link"
17393 case "(($ac_try" in
17394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17395 *) ac_try_echo=$ac_try;;
17396 esac
17397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398 (eval "$ac_link") 2>conftest.er1
17399 ac_status=$?
17400 grep -v '^ *+' conftest.er1 >conftest.err
17401 rm -f conftest.er1
17402 cat conftest.err >&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } && {
17405 test -z "$ac_c_werror_flag" ||
17406 test ! -s conftest.err
17407 } && test -s conftest$ac_exeext &&
17408 $as_test_x conftest$ac_exeext; then
17409 ac_cv_search_gethostbyname=$ac_res
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17418 conftest$ac_exeext
17419 if test "${ac_cv_search_gethostbyname+set}" = set; then
17420 break
17422 done
17423 if test "${ac_cv_search_gethostbyname+set}" = set; then
17425 else
17426 ac_cv_search_gethostbyname=no
17428 rm conftest.$ac_ext
17429 LIBS=$ac_func_search_save_LIBS
17431 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17432 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17433 ac_res=$ac_cv_search_gethostbyname
17434 if test "$ac_res" != no; then
17435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17440 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17441 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17442 if test "${ac_cv_search_connect+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 else
17445 ac_func_search_save_LIBS=$LIBS
17446 cat >conftest.$ac_ext <<_ACEOF
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 /* Override any GCC internal prototype to avoid an error.
17454 Use char because int might match the return type of a GCC
17455 builtin and then its argument prototype would still apply. */
17456 #ifdef __cplusplus
17457 extern "C"
17458 #endif
17459 char connect ();
17461 main ()
17463 return connect ();
17465 return 0;
17467 _ACEOF
17468 for ac_lib in '' socket; do
17469 if test -z "$ac_lib"; then
17470 ac_res="none required"
17471 else
17472 ac_res=-l$ac_lib
17473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17475 rm -f conftest.$ac_objext conftest$ac_exeext
17476 if { (ac_try="$ac_link"
17477 case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17480 esac
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_link") 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_c_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest$ac_exeext &&
17492 $as_test_x conftest$ac_exeext; then
17493 ac_cv_search_connect=$ac_res
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17502 conftest$ac_exeext
17503 if test "${ac_cv_search_connect+set}" = set; then
17504 break
17506 done
17507 if test "${ac_cv_search_connect+set}" = set; then
17509 else
17510 ac_cv_search_connect=no
17512 rm conftest.$ac_ext
17513 LIBS=$ac_func_search_save_LIBS
17515 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17516 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17517 ac_res=$ac_cv_search_connect
17518 if test "$ac_res" != no; then
17519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17524 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17525 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17526 if test "${ac_cv_search_inet_aton+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 ac_func_search_save_LIBS=$LIBS
17530 cat >conftest.$ac_ext <<_ACEOF
17531 /* confdefs.h. */
17532 _ACEOF
17533 cat confdefs.h >>conftest.$ac_ext
17534 cat >>conftest.$ac_ext <<_ACEOF
17535 /* end confdefs.h. */
17537 /* Override any GCC internal prototype to avoid an error.
17538 Use char because int might match the return type of a GCC
17539 builtin and then its argument prototype would still apply. */
17540 #ifdef __cplusplus
17541 extern "C"
17542 #endif
17543 char inet_aton ();
17545 main ()
17547 return inet_aton ();
17549 return 0;
17551 _ACEOF
17552 for ac_lib in '' resolv; do
17553 if test -z "$ac_lib"; then
17554 ac_res="none required"
17555 else
17556 ac_res=-l$ac_lib
17557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17559 rm -f conftest.$ac_objext conftest$ac_exeext
17560 if { (ac_try="$ac_link"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17564 esac
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_link") 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest$ac_exeext &&
17576 $as_test_x conftest$ac_exeext; then
17577 ac_cv_search_inet_aton=$ac_res
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17586 conftest$ac_exeext
17587 if test "${ac_cv_search_inet_aton+set}" = set; then
17588 break
17590 done
17591 if test "${ac_cv_search_inet_aton+set}" = set; then
17593 else
17594 ac_cv_search_inet_aton=no
17596 rm conftest.$ac_ext
17597 LIBS=$ac_func_search_save_LIBS
17599 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17600 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17601 ac_res=$ac_cv_search_inet_aton
17602 if test "$ac_res" != no; then
17603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17616 for ac_func in \
17617 getaddrinfo \
17618 getnameinfo \
17619 getnetbyname \
17620 getprotobyname \
17621 getprotobynumber \
17622 getservbyport \
17623 inet_network \
17624 sendmsg \
17627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17632 else
17633 cat >conftest.$ac_ext <<_ACEOF
17634 /* confdefs.h. */
17635 _ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17641 #define $ac_func innocuous_$ac_func
17643 /* System header to define __stub macros and hopefully few prototypes,
17644 which can conflict with char $ac_func (); below.
17645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17646 <limits.h> exists even on freestanding compilers. */
17648 #ifdef __STDC__
17649 # include <limits.h>
17650 #else
17651 # include <assert.h>
17652 #endif
17654 #undef $ac_func
17656 /* Override any GCC internal prototype to avoid an error.
17657 Use char because int might match the return type of a GCC
17658 builtin and then its argument prototype would still apply. */
17659 #ifdef __cplusplus
17660 extern "C"
17661 #endif
17662 char $ac_func ();
17663 /* The GNU C library defines this for functions which it implements
17664 to always fail with ENOSYS. Some functions are actually named
17665 something starting with __ and the normal name is an alias. */
17666 #if defined __stub_$ac_func || defined __stub___$ac_func
17667 choke me
17668 #endif
17671 main ()
17673 return $ac_func ();
17675 return 0;
17677 _ACEOF
17678 rm -f conftest.$ac_objext conftest$ac_exeext
17679 if { (ac_try="$ac_link"
17680 case "(($ac_try" in
17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682 *) ac_try_echo=$ac_try;;
17683 esac
17684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17685 (eval "$ac_link") 2>conftest.er1
17686 ac_status=$?
17687 grep -v '^ *+' conftest.er1 >conftest.err
17688 rm -f conftest.er1
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } && {
17692 test -z "$ac_c_werror_flag" ||
17693 test ! -s conftest.err
17694 } && test -s conftest$ac_exeext &&
17695 $as_test_x conftest$ac_exeext; then
17696 eval "$as_ac_var=yes"
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 eval "$as_ac_var=no"
17704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17705 conftest$ac_exeext conftest.$ac_ext
17707 ac_res=`eval echo '${'$as_ac_var'}'`
17708 { echo "$as_me:$LINENO: result: $ac_res" >&5
17709 echo "${ECHO_T}$ac_res" >&6; }
17710 if test `eval echo '${'$as_ac_var'}'` = yes; then
17711 cat >>confdefs.h <<_ACEOF
17712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17713 _ACEOF
17716 done
17720 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17721 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17722 if test "${ac_cv_c_const+set}" = set; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 else
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17733 main ()
17735 /* FIXME: Include the comments suggested by Paul. */
17736 #ifndef __cplusplus
17737 /* Ultrix mips cc rejects this. */
17738 typedef int charset[2];
17739 const charset cs;
17740 /* SunOS 4.1.1 cc rejects this. */
17741 char const *const *pcpcc;
17742 char **ppc;
17743 /* NEC SVR4.0.2 mips cc rejects this. */
17744 struct point {int x, y;};
17745 static struct point const zero = {0,0};
17746 /* AIX XL C 1.02.0.0 rejects this.
17747 It does not let you subtract one const X* pointer from another in
17748 an arm of an if-expression whose if-part is not a constant
17749 expression */
17750 const char *g = "string";
17751 pcpcc = &g + (g ? g-g : 0);
17752 /* HPUX 7.0 cc rejects these. */
17753 ++pcpcc;
17754 ppc = (char**) pcpcc;
17755 pcpcc = (char const *const *) ppc;
17756 { /* SCO 3.2v4 cc rejects this. */
17757 char *t;
17758 char const *s = 0 ? (char *) 0 : (char const *) 0;
17760 *t++ = 0;
17761 if (s) return 0;
17763 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17764 int x[] = {25, 17};
17765 const int *foo = &x[0];
17766 ++foo;
17768 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17769 typedef const int *iptr;
17770 iptr p = 0;
17771 ++p;
17773 { /* AIX XL C 1.02.0.0 rejects this saying
17774 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17775 struct s { int j; const int *ap[3]; };
17776 struct s *b; b->j = 5;
17778 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17779 const int foo = 10;
17780 if (!foo) return 0;
17782 return !cs[0] && !zero.x;
17783 #endif
17786 return 0;
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 ac_cv_c_const=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 ac_cv_c_const=no
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17817 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17818 if test $ac_cv_c_const = no; then
17820 cat >>confdefs.h <<\_ACEOF
17821 #define const
17822 _ACEOF
17826 { echo "$as_me:$LINENO: checking for inline" >&5
17827 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17828 if test "${ac_cv_c_inline+set}" = set; then
17829 echo $ECHO_N "(cached) $ECHO_C" >&6
17830 else
17831 ac_cv_c_inline=no
17832 for ac_kw in inline __inline__ __inline; do
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #ifndef __cplusplus
17840 typedef int foo_t;
17841 static $ac_kw foo_t static_foo () {return 0; }
17842 $ac_kw foo_t foo () {return 0; }
17843 #endif
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (ac_try="$ac_compile"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17851 esac
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_compile") 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest.$ac_objext; then
17863 ac_cv_c_inline=$ac_kw
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 test "$ac_cv_c_inline" != no && break
17873 done
17876 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17877 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17880 case $ac_cv_c_inline in
17881 inline | yes) ;;
17883 case $ac_cv_c_inline in
17884 no) ac_val=;;
17885 *) ac_val=$ac_cv_c_inline;;
17886 esac
17887 cat >>confdefs.h <<_ACEOF
17888 #ifndef __cplusplus
17889 #define inline $ac_val
17890 #endif
17891 _ACEOF
17893 esac
17895 { echo "$as_me:$LINENO: checking for mode_t" >&5
17896 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17897 if test "${ac_cv_type_mode_t+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17899 else
17900 cat >conftest.$ac_ext <<_ACEOF
17901 /* confdefs.h. */
17902 _ACEOF
17903 cat confdefs.h >>conftest.$ac_ext
17904 cat >>conftest.$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 $ac_includes_default
17907 typedef mode_t ac__type_new_;
17909 main ()
17911 if ((ac__type_new_ *) 0)
17912 return 0;
17913 if (sizeof (ac__type_new_))
17914 return 0;
17916 return 0;
17918 _ACEOF
17919 rm -f conftest.$ac_objext
17920 if { (ac_try="$ac_compile"
17921 case "(($ac_try" in
17922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17923 *) ac_try_echo=$ac_try;;
17924 esac
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_compile") 2>conftest.er1
17927 ac_status=$?
17928 grep -v '^ *+' conftest.er1 >conftest.err
17929 rm -f conftest.er1
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } && {
17933 test -z "$ac_c_werror_flag" ||
17934 test ! -s conftest.err
17935 } && test -s conftest.$ac_objext; then
17936 ac_cv_type_mode_t=yes
17937 else
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17941 ac_cv_type_mode_t=no
17944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17947 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17948 if test $ac_cv_type_mode_t = yes; then
17950 cat >>confdefs.h <<_ACEOF
17951 #define HAVE_MODE_T 1
17952 _ACEOF
17956 { echo "$as_me:$LINENO: checking for off_t" >&5
17957 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17958 if test "${ac_cv_type_off_t+set}" = set; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17960 else
17961 cat >conftest.$ac_ext <<_ACEOF
17962 /* confdefs.h. */
17963 _ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17968 typedef off_t ac__type_new_;
17970 main ()
17972 if ((ac__type_new_ *) 0)
17973 return 0;
17974 if (sizeof (ac__type_new_))
17975 return 0;
17977 return 0;
17979 _ACEOF
17980 rm -f conftest.$ac_objext
17981 if { (ac_try="$ac_compile"
17982 case "(($ac_try" in
17983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17984 *) ac_try_echo=$ac_try;;
17985 esac
17986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17987 (eval "$ac_compile") 2>conftest.er1
17988 ac_status=$?
17989 grep -v '^ *+' conftest.er1 >conftest.err
17990 rm -f conftest.er1
17991 cat conftest.err >&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } && {
17994 test -z "$ac_c_werror_flag" ||
17995 test ! -s conftest.err
17996 } && test -s conftest.$ac_objext; then
17997 ac_cv_type_off_t=yes
17998 else
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.$ac_ext >&5
18002 ac_cv_type_off_t=no
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18008 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18009 if test $ac_cv_type_off_t = yes; then
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_OFF_T 1
18013 _ACEOF
18017 { echo "$as_me:$LINENO: checking for pid_t" >&5
18018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18019 if test "${ac_cv_type_pid_t+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 else
18022 cat >conftest.$ac_ext <<_ACEOF
18023 /* confdefs.h. */
18024 _ACEOF
18025 cat confdefs.h >>conftest.$ac_ext
18026 cat >>conftest.$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028 $ac_includes_default
18029 typedef pid_t ac__type_new_;
18031 main ()
18033 if ((ac__type_new_ *) 0)
18034 return 0;
18035 if (sizeof (ac__type_new_))
18036 return 0;
18038 return 0;
18040 _ACEOF
18041 rm -f conftest.$ac_objext
18042 if { (ac_try="$ac_compile"
18043 case "(($ac_try" in
18044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18045 *) ac_try_echo=$ac_try;;
18046 esac
18047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18048 (eval "$ac_compile") 2>conftest.er1
18049 ac_status=$?
18050 grep -v '^ *+' conftest.er1 >conftest.err
18051 rm -f conftest.er1
18052 cat conftest.err >&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } && {
18055 test -z "$ac_c_werror_flag" ||
18056 test ! -s conftest.err
18057 } && test -s conftest.$ac_objext; then
18058 ac_cv_type_pid_t=yes
18059 else
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18063 ac_cv_type_pid_t=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18070 if test $ac_cv_type_pid_t = yes; then
18072 cat >>confdefs.h <<_ACEOF
18073 #define HAVE_PID_T 1
18074 _ACEOF
18078 { echo "$as_me:$LINENO: checking for size_t" >&5
18079 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18080 if test "${ac_cv_type_size_t+set}" = set; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 $ac_includes_default
18090 typedef size_t ac__type_new_;
18092 main ()
18094 if ((ac__type_new_ *) 0)
18095 return 0;
18096 if (sizeof (ac__type_new_))
18097 return 0;
18099 return 0;
18101 _ACEOF
18102 rm -f conftest.$ac_objext
18103 if { (ac_try="$ac_compile"
18104 case "(($ac_try" in
18105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18106 *) ac_try_echo=$ac_try;;
18107 esac
18108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18109 (eval "$ac_compile") 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } && {
18116 test -z "$ac_c_werror_flag" ||
18117 test ! -s conftest.err
18118 } && test -s conftest.$ac_objext; then
18119 ac_cv_type_size_t=yes
18120 else
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18124 ac_cv_type_size_t=no
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18129 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18130 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18131 if test $ac_cv_type_size_t = yes; then
18133 cat >>confdefs.h <<_ACEOF
18134 #define HAVE_SIZE_T 1
18135 _ACEOF
18139 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18140 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18141 if test "${ac_cv_type_ssize_t+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 cat >conftest.$ac_ext <<_ACEOF
18145 /* confdefs.h. */
18146 _ACEOF
18147 cat confdefs.h >>conftest.$ac_ext
18148 cat >>conftest.$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18150 $ac_includes_default
18151 typedef ssize_t ac__type_new_;
18153 main ()
18155 if ((ac__type_new_ *) 0)
18156 return 0;
18157 if (sizeof (ac__type_new_))
18158 return 0;
18160 return 0;
18162 _ACEOF
18163 rm -f conftest.$ac_objext
18164 if { (ac_try="$ac_compile"
18165 case "(($ac_try" in
18166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18167 *) ac_try_echo=$ac_try;;
18168 esac
18169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18170 (eval "$ac_compile") 2>conftest.er1
18171 ac_status=$?
18172 grep -v '^ *+' conftest.er1 >conftest.err
18173 rm -f conftest.er1
18174 cat conftest.err >&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } && {
18177 test -z "$ac_c_werror_flag" ||
18178 test ! -s conftest.err
18179 } && test -s conftest.$ac_objext; then
18180 ac_cv_type_ssize_t=yes
18181 else
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 ac_cv_type_ssize_t=no
18188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18191 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18192 if test $ac_cv_type_ssize_t = yes; then
18194 cat >>confdefs.h <<_ACEOF
18195 #define HAVE_SSIZE_T 1
18196 _ACEOF
18200 { echo "$as_me:$LINENO: checking for long long" >&5
18201 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18202 if test "${ac_cv_type_long_long+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 else
18205 cat >conftest.$ac_ext <<_ACEOF
18206 /* confdefs.h. */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18211 $ac_includes_default
18212 typedef long long ac__type_new_;
18214 main ()
18216 if ((ac__type_new_ *) 0)
18217 return 0;
18218 if (sizeof (ac__type_new_))
18219 return 0;
18221 return 0;
18223 _ACEOF
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18229 esac
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18232 ac_status=$?
18233 grep -v '^ *+' conftest.er1 >conftest.err
18234 rm -f conftest.er1
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 ac_cv_type_long_long=yes
18242 else
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.$ac_ext >&5
18246 ac_cv_type_long_long=no
18249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18252 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18253 if test $ac_cv_type_long_long = yes; then
18255 cat >>confdefs.h <<_ACEOF
18256 #define HAVE_LONG_LONG 1
18257 _ACEOF
18261 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18262 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18263 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 $ac_includes_default
18273 typedef fsblkcnt_t ac__type_new_;
18275 main ()
18277 if ((ac__type_new_ *) 0)
18278 return 0;
18279 if (sizeof (ac__type_new_))
18280 return 0;
18282 return 0;
18284 _ACEOF
18285 rm -f conftest.$ac_objext
18286 if { (ac_try="$ac_compile"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_compile") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest.$ac_objext; then
18302 ac_cv_type_fsblkcnt_t=yes
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 ac_cv_type_fsblkcnt_t=no
18310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18313 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18314 if test $ac_cv_type_fsblkcnt_t = yes; then
18316 cat >>confdefs.h <<_ACEOF
18317 #define HAVE_FSBLKCNT_T 1
18318 _ACEOF
18322 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18323 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18324 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 else
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18334 typedef fsfilcnt_t ac__type_new_;
18336 main ()
18338 if ((ac__type_new_ *) 0)
18339 return 0;
18340 if (sizeof (ac__type_new_))
18341 return 0;
18343 return 0;
18345 _ACEOF
18346 rm -f conftest.$ac_objext
18347 if { (ac_try="$ac_compile"
18348 case "(($ac_try" in
18349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18350 *) ac_try_echo=$ac_try;;
18351 esac
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_compile") 2>conftest.er1
18354 ac_status=$?
18355 grep -v '^ *+' conftest.er1 >conftest.err
18356 rm -f conftest.er1
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } && {
18360 test -z "$ac_c_werror_flag" ||
18361 test ! -s conftest.err
18362 } && test -s conftest.$ac_objext; then
18363 ac_cv_type_fsfilcnt_t=yes
18364 else
18365 echo "$as_me: failed program was:" >&5
18366 sed 's/^/| /' conftest.$ac_ext >&5
18368 ac_cv_type_fsfilcnt_t=no
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18374 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18375 if test $ac_cv_type_fsfilcnt_t = yes; then
18377 cat >>confdefs.h <<_ACEOF
18378 #define HAVE_FSFILCNT_T 1
18379 _ACEOF
18384 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18385 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18386 if test "${ac_cv_type_sigset_t+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 else
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <signal.h>
18397 typedef sigset_t ac__type_new_;
18399 main ()
18401 if ((ac__type_new_ *) 0)
18402 return 0;
18403 if (sizeof (ac__type_new_))
18404 return 0;
18406 return 0;
18408 _ACEOF
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18414 esac
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18417 ac_status=$?
18418 grep -v '^ *+' conftest.er1 >conftest.err
18419 rm -f conftest.er1
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_c_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 ac_cv_type_sigset_t=yes
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 ac_cv_type_sigset_t=no
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18437 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18438 if test $ac_cv_type_sigset_t = yes; then
18440 cat >>confdefs.h <<_ACEOF
18441 #define HAVE_SIGSET_T 1
18442 _ACEOF
18447 { echo "$as_me:$LINENO: checking for request_sense" >&5
18448 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18449 if test "${ac_cv_type_request_sense+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 else
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h. */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <linux/cdrom.h>
18460 typedef request_sense ac__type_new_;
18462 main ()
18464 if ((ac__type_new_ *) 0)
18465 return 0;
18466 if (sizeof (ac__type_new_))
18467 return 0;
18469 return 0;
18471 _ACEOF
18472 rm -f conftest.$ac_objext
18473 if { (ac_try="$ac_compile"
18474 case "(($ac_try" in
18475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18476 *) ac_try_echo=$ac_try;;
18477 esac
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_compile") 2>conftest.er1
18480 ac_status=$?
18481 grep -v '^ *+' conftest.er1 >conftest.err
18482 rm -f conftest.er1
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } && {
18486 test -z "$ac_c_werror_flag" ||
18487 test ! -s conftest.err
18488 } && test -s conftest.$ac_objext; then
18489 ac_cv_type_request_sense=yes
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 ac_cv_type_request_sense=no
18497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18500 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18501 if test $ac_cv_type_request_sense = yes; then
18503 cat >>confdefs.h <<_ACEOF
18504 #define HAVE_REQUEST_SENSE 1
18505 _ACEOF
18511 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18512 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18513 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #ifdef HAVE_LINUX_INPUT_H
18523 #include <linux/input.h>
18524 #endif
18527 main ()
18529 static struct ff_effect ac_aggr;
18530 if (ac_aggr.direction)
18531 return 0;
18533 return 0;
18535 _ACEOF
18536 rm -f conftest.$ac_objext
18537 if { (ac_try="$ac_compile"
18538 case "(($ac_try" in
18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18541 esac
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_compile") 2>conftest.er1
18544 ac_status=$?
18545 grep -v '^ *+' conftest.er1 >conftest.err
18546 rm -f conftest.er1
18547 cat conftest.err >&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } && {
18550 test -z "$ac_c_werror_flag" ||
18551 test ! -s conftest.err
18552 } && test -s conftest.$ac_objext; then
18553 ac_cv_member_struct_ff_effect_direction=yes
18554 else
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18558 cat >conftest.$ac_ext <<_ACEOF
18559 /* confdefs.h. */
18560 _ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 #ifdef HAVE_LINUX_INPUT_H
18565 #include <linux/input.h>
18566 #endif
18569 main ()
18571 static struct ff_effect ac_aggr;
18572 if (sizeof ac_aggr.direction)
18573 return 0;
18575 return 0;
18577 _ACEOF
18578 rm -f conftest.$ac_objext
18579 if { (ac_try="$ac_compile"
18580 case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18583 esac
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_compile") 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } && {
18592 test -z "$ac_c_werror_flag" ||
18593 test ! -s conftest.err
18594 } && test -s conftest.$ac_objext; then
18595 ac_cv_member_struct_ff_effect_direction=yes
18596 else
18597 echo "$as_me: failed program was:" >&5
18598 sed 's/^/| /' conftest.$ac_ext >&5
18600 ac_cv_member_struct_ff_effect_direction=no
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18609 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18610 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18614 _ACEOF
18620 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18621 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18622 if test "${wine_cv_have_sigaddset+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 else
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 #include <signal.h>
18633 main ()
18635 sigset_t set; sigaddset(&set,SIGTERM);
18637 return 0;
18639 _ACEOF
18640 rm -f conftest.$ac_objext conftest$ac_exeext
18641 if { (ac_try="$ac_link"
18642 case "(($ac_try" in
18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18644 *) ac_try_echo=$ac_try;;
18645 esac
18646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18647 (eval "$ac_link") 2>conftest.er1
18648 ac_status=$?
18649 grep -v '^ *+' conftest.er1 >conftest.err
18650 rm -f conftest.er1
18651 cat conftest.err >&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } && {
18654 test -z "$ac_c_werror_flag" ||
18655 test ! -s conftest.err
18656 } && test -s conftest$ac_exeext &&
18657 $as_test_x conftest$ac_exeext; then
18658 wine_cv_have_sigaddset=yes
18659 else
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18663 wine_cv_have_sigaddset=no
18666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18667 conftest$ac_exeext conftest.$ac_ext
18669 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18670 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18671 if test "$wine_cv_have_sigaddset" = "yes"
18672 then
18674 cat >>confdefs.h <<\_ACEOF
18675 #define HAVE_SIGADDSET 1
18676 _ACEOF
18681 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18682 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18683 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18685 else
18686 cat >conftest.$ac_ext <<_ACEOF
18687 /* confdefs.h. */
18688 _ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 #include <netdb.h>
18694 main ()
18697 char *name=0;
18698 struct hostent he;
18699 struct hostent *result;
18700 char *buf=0;
18701 int bufsize=0;
18702 int res,errnr;
18703 char *addr=0;
18704 int addrlen=0;
18705 int addrtype=0;
18706 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18707 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18710 return 0;
18712 _ACEOF
18713 rm -f conftest.$ac_objext conftest$ac_exeext
18714 if { (ac_try="$ac_link"
18715 case "(($ac_try" in
18716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18717 *) ac_try_echo=$ac_try;;
18718 esac
18719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18720 (eval "$ac_link") 2>conftest.er1
18721 ac_status=$?
18722 grep -v '^ *+' conftest.er1 >conftest.err
18723 rm -f conftest.er1
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } && {
18727 test -z "$ac_c_werror_flag" ||
18728 test ! -s conftest.err
18729 } && test -s conftest$ac_exeext &&
18730 $as_test_x conftest$ac_exeext; then
18731 wine_cv_linux_gethostbyname_r_6=yes
18732 else
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 wine_cv_linux_gethostbyname_r_6=no
18740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18741 conftest$ac_exeext conftest.$ac_ext
18744 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18745 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18746 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18747 then
18749 cat >>confdefs.h <<\_ACEOF
18750 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18751 _ACEOF
18755 if test "$ac_cv_header_linux_joystick_h" = "yes"
18756 then
18757 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18758 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18759 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18761 else
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18769 #include <sys/ioctl.h>
18770 #include <sys/types.h>
18771 #include <linux/joystick.h>
18773 struct js_event blub;
18774 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18775 #error "no 2.2 header"
18776 #endif
18779 main ()
18781 /*empty*/
18783 return 0;
18785 _ACEOF
18786 rm -f conftest.$ac_objext
18787 if { (ac_try="$ac_compile"
18788 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18791 esac
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_compile") 2>conftest.er1
18794 ac_status=$?
18795 grep -v '^ *+' conftest.er1 >conftest.err
18796 rm -f conftest.er1
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest.$ac_objext; then
18803 wine_cv_linux_joystick_22_api=yes
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 wine_cv_linux_joystick_22_api=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18815 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18816 if test "$wine_cv_linux_joystick_22_api" = "yes"
18817 then
18819 cat >>confdefs.h <<\_ACEOF
18820 #define HAVE_LINUX_22_JOYSTICK_API 1
18821 _ACEOF
18827 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18828 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18829 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 else
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 #include <sys/types.h>
18839 #ifdef HAVE_SYS_PARAM_H
18840 # include <sys/param.h>
18841 #endif
18842 #ifdef HAVE_SYS_MOUNT_H
18843 # include <sys/mount.h>
18844 #endif
18845 #ifdef HAVE_SYS_VFS_H
18846 # include <sys/vfs.h>
18847 #endif
18848 #ifdef HAVE_SYS_STATFS_H
18849 # include <sys/statfs.h>
18850 #endif
18853 main ()
18855 static struct statfs ac_aggr;
18856 if (ac_aggr.f_bfree)
18857 return 0;
18859 return 0;
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (ac_try="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18867 esac
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18870 ac_status=$?
18871 grep -v '^ *+' conftest.er1 >conftest.err
18872 rm -f conftest.er1
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.$ac_objext; then
18879 ac_cv_member_struct_statfs_f_bfree=yes
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h. */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sys/types.h>
18891 #ifdef HAVE_SYS_PARAM_H
18892 # include <sys/param.h>
18893 #endif
18894 #ifdef HAVE_SYS_MOUNT_H
18895 # include <sys/mount.h>
18896 #endif
18897 #ifdef HAVE_SYS_VFS_H
18898 # include <sys/vfs.h>
18899 #endif
18900 #ifdef HAVE_SYS_STATFS_H
18901 # include <sys/statfs.h>
18902 #endif
18905 main ()
18907 static struct statfs ac_aggr;
18908 if (sizeof ac_aggr.f_bfree)
18909 return 0;
18911 return 0;
18913 _ACEOF
18914 rm -f conftest.$ac_objext
18915 if { (ac_try="$ac_compile"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18919 esac
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_compile") 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest.$ac_objext; then
18931 ac_cv_member_struct_statfs_f_bfree=yes
18932 else
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_member_struct_statfs_f_bfree=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18945 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18946 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_STATFS_F_BFREE 1
18950 _ACEOF
18954 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18955 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18956 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 else
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <sys/types.h>
18966 #ifdef HAVE_SYS_PARAM_H
18967 # include <sys/param.h>
18968 #endif
18969 #ifdef HAVE_SYS_MOUNT_H
18970 # include <sys/mount.h>
18971 #endif
18972 #ifdef HAVE_SYS_VFS_H
18973 # include <sys/vfs.h>
18974 #endif
18975 #ifdef HAVE_SYS_STATFS_H
18976 # include <sys/statfs.h>
18977 #endif
18980 main ()
18982 static struct statfs ac_aggr;
18983 if (ac_aggr.f_bavail)
18984 return 0;
18986 return 0;
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_member_struct_statfs_f_bavail=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 cat >conftest.$ac_ext <<_ACEOF
19012 /* confdefs.h. */
19013 _ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 #include <sys/types.h>
19018 #ifdef HAVE_SYS_PARAM_H
19019 # include <sys/param.h>
19020 #endif
19021 #ifdef HAVE_SYS_MOUNT_H
19022 # include <sys/mount.h>
19023 #endif
19024 #ifdef HAVE_SYS_VFS_H
19025 # include <sys/vfs.h>
19026 #endif
19027 #ifdef HAVE_SYS_STATFS_H
19028 # include <sys/statfs.h>
19029 #endif
19032 main ()
19034 static struct statfs ac_aggr;
19035 if (sizeof ac_aggr.f_bavail)
19036 return 0;
19038 return 0;
19040 _ACEOF
19041 rm -f conftest.$ac_objext
19042 if { (ac_try="$ac_compile"
19043 case "(($ac_try" in
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19045 *) ac_try_echo=$ac_try;;
19046 esac
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19048 (eval "$ac_compile") 2>conftest.er1
19049 ac_status=$?
19050 grep -v '^ *+' conftest.er1 >conftest.err
19051 rm -f conftest.er1
19052 cat conftest.err >&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } && {
19055 test -z "$ac_c_werror_flag" ||
19056 test ! -s conftest.err
19057 } && test -s conftest.$ac_objext; then
19058 ac_cv_member_struct_statfs_f_bavail=yes
19059 else
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 ac_cv_member_struct_statfs_f_bavail=no
19066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19071 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19072 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19073 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19077 _ACEOF
19081 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19082 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19083 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19085 else
19086 cat >conftest.$ac_ext <<_ACEOF
19087 /* confdefs.h. */
19088 _ACEOF
19089 cat confdefs.h >>conftest.$ac_ext
19090 cat >>conftest.$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 #include <sys/types.h>
19093 #ifdef HAVE_SYS_PARAM_H
19094 # include <sys/param.h>
19095 #endif
19096 #ifdef HAVE_SYS_MOUNT_H
19097 # include <sys/mount.h>
19098 #endif
19099 #ifdef HAVE_SYS_VFS_H
19100 # include <sys/vfs.h>
19101 #endif
19102 #ifdef HAVE_SYS_STATFS_H
19103 # include <sys/statfs.h>
19104 #endif
19107 main ()
19109 static struct statfs ac_aggr;
19110 if (ac_aggr.f_frsize)
19111 return 0;
19113 return 0;
19115 _ACEOF
19116 rm -f conftest.$ac_objext
19117 if { (ac_try="$ac_compile"
19118 case "(($ac_try" in
19119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19120 *) ac_try_echo=$ac_try;;
19121 esac
19122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19123 (eval "$ac_compile") 2>conftest.er1
19124 ac_status=$?
19125 grep -v '^ *+' conftest.er1 >conftest.err
19126 rm -f conftest.er1
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } && {
19130 test -z "$ac_c_werror_flag" ||
19131 test ! -s conftest.err
19132 } && test -s conftest.$ac_objext; then
19133 ac_cv_member_struct_statfs_f_frsize=yes
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 cat >conftest.$ac_ext <<_ACEOF
19139 /* confdefs.h. */
19140 _ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SYS_PARAM_H
19146 # include <sys/param.h>
19147 #endif
19148 #ifdef HAVE_SYS_MOUNT_H
19149 # include <sys/mount.h>
19150 #endif
19151 #ifdef HAVE_SYS_VFS_H
19152 # include <sys/vfs.h>
19153 #endif
19154 #ifdef HAVE_SYS_STATFS_H
19155 # include <sys/statfs.h>
19156 #endif
19159 main ()
19161 static struct statfs ac_aggr;
19162 if (sizeof ac_aggr.f_frsize)
19163 return 0;
19165 return 0;
19167 _ACEOF
19168 rm -f conftest.$ac_objext
19169 if { (ac_try="$ac_compile"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19172 *) ac_try_echo=$ac_try;;
19173 esac
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_compile") 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_c_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest.$ac_objext; then
19185 ac_cv_member_struct_statfs_f_frsize=yes
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19190 ac_cv_member_struct_statfs_f_frsize=no
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19199 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19200 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19204 _ACEOF
19208 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19209 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19210 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 else
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <sys/types.h>
19220 #ifdef HAVE_SYS_PARAM_H
19221 # include <sys/param.h>
19222 #endif
19223 #ifdef HAVE_SYS_MOUNT_H
19224 # include <sys/mount.h>
19225 #endif
19226 #ifdef HAVE_SYS_VFS_H
19227 # include <sys/vfs.h>
19228 #endif
19229 #ifdef HAVE_SYS_STATFS_H
19230 # include <sys/statfs.h>
19231 #endif
19234 main ()
19236 static struct statfs ac_aggr;
19237 if (ac_aggr.f_ffree)
19238 return 0;
19240 return 0;
19242 _ACEOF
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19248 esac
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 ac_cv_member_struct_statfs_f_ffree=yes
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 #include <sys/types.h>
19272 #ifdef HAVE_SYS_PARAM_H
19273 # include <sys/param.h>
19274 #endif
19275 #ifdef HAVE_SYS_MOUNT_H
19276 # include <sys/mount.h>
19277 #endif
19278 #ifdef HAVE_SYS_VFS_H
19279 # include <sys/vfs.h>
19280 #endif
19281 #ifdef HAVE_SYS_STATFS_H
19282 # include <sys/statfs.h>
19283 #endif
19286 main ()
19288 static struct statfs ac_aggr;
19289 if (sizeof ac_aggr.f_ffree)
19290 return 0;
19292 return 0;
19294 _ACEOF
19295 rm -f conftest.$ac_objext
19296 if { (ac_try="$ac_compile"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19300 esac
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_compile") 2>conftest.er1
19303 ac_status=$?
19304 grep -v '^ *+' conftest.er1 >conftest.err
19305 rm -f conftest.er1
19306 cat conftest.err >&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); } && {
19309 test -z "$ac_c_werror_flag" ||
19310 test ! -s conftest.err
19311 } && test -s conftest.$ac_objext; then
19312 ac_cv_member_struct_statfs_f_ffree=yes
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19317 ac_cv_member_struct_statfs_f_ffree=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19326 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19327 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19329 cat >>confdefs.h <<_ACEOF
19330 #define HAVE_STRUCT_STATFS_F_FFREE 1
19331 _ACEOF
19335 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19336 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19337 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 else
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346 #include <sys/types.h>
19347 #ifdef HAVE_SYS_PARAM_H
19348 # include <sys/param.h>
19349 #endif
19350 #ifdef HAVE_SYS_MOUNT_H
19351 # include <sys/mount.h>
19352 #endif
19353 #ifdef HAVE_SYS_VFS_H
19354 # include <sys/vfs.h>
19355 #endif
19356 #ifdef HAVE_SYS_STATFS_H
19357 # include <sys/statfs.h>
19358 #endif
19361 main ()
19363 static struct statfs ac_aggr;
19364 if (ac_aggr.f_favail)
19365 return 0;
19367 return 0;
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_member_struct_statfs_f_favail=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <sys/types.h>
19399 #ifdef HAVE_SYS_PARAM_H
19400 # include <sys/param.h>
19401 #endif
19402 #ifdef HAVE_SYS_MOUNT_H
19403 # include <sys/mount.h>
19404 #endif
19405 #ifdef HAVE_SYS_VFS_H
19406 # include <sys/vfs.h>
19407 #endif
19408 #ifdef HAVE_SYS_STATFS_H
19409 # include <sys/statfs.h>
19410 #endif
19413 main ()
19415 static struct statfs ac_aggr;
19416 if (sizeof ac_aggr.f_favail)
19417 return 0;
19419 return 0;
19421 _ACEOF
19422 rm -f conftest.$ac_objext
19423 if { (ac_try="$ac_compile"
19424 case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19427 esac
19428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19429 (eval "$ac_compile") 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } && {
19436 test -z "$ac_c_werror_flag" ||
19437 test ! -s conftest.err
19438 } && test -s conftest.$ac_objext; then
19439 ac_cv_member_struct_statfs_f_favail=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 ac_cv_member_struct_statfs_f_favail=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19454 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19456 cat >>confdefs.h <<_ACEOF
19457 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19458 _ACEOF
19462 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19463 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19464 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19465 echo $ECHO_N "(cached) $ECHO_C" >&6
19466 else
19467 cat >conftest.$ac_ext <<_ACEOF
19468 /* confdefs.h. */
19469 _ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 #include <sys/types.h>
19474 #ifdef HAVE_SYS_PARAM_H
19475 # include <sys/param.h>
19476 #endif
19477 #ifdef HAVE_SYS_MOUNT_H
19478 # include <sys/mount.h>
19479 #endif
19480 #ifdef HAVE_SYS_VFS_H
19481 # include <sys/vfs.h>
19482 #endif
19483 #ifdef HAVE_SYS_STATFS_H
19484 # include <sys/statfs.h>
19485 #endif
19488 main ()
19490 static struct statfs ac_aggr;
19491 if (ac_aggr.f_namelen)
19492 return 0;
19494 return 0;
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_cv_member_struct_statfs_f_namelen=yes
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h. */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <sys/types.h>
19526 #ifdef HAVE_SYS_PARAM_H
19527 # include <sys/param.h>
19528 #endif
19529 #ifdef HAVE_SYS_MOUNT_H
19530 # include <sys/mount.h>
19531 #endif
19532 #ifdef HAVE_SYS_VFS_H
19533 # include <sys/vfs.h>
19534 #endif
19535 #ifdef HAVE_SYS_STATFS_H
19536 # include <sys/statfs.h>
19537 #endif
19540 main ()
19542 static struct statfs ac_aggr;
19543 if (sizeof ac_aggr.f_namelen)
19544 return 0;
19546 return 0;
19548 _ACEOF
19549 rm -f conftest.$ac_objext
19550 if { (ac_try="$ac_compile"
19551 case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19554 esac
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_compile") 2>conftest.er1
19557 ac_status=$?
19558 grep -v '^ *+' conftest.er1 >conftest.err
19559 rm -f conftest.er1
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err
19565 } && test -s conftest.$ac_objext; then
19566 ac_cv_member_struct_statfs_f_namelen=yes
19567 else
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19571 ac_cv_member_struct_statfs_f_namelen=no
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19580 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19581 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19583 cat >>confdefs.h <<_ACEOF
19584 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19585 _ACEOF
19591 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19592 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19593 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 else
19596 cat >conftest.$ac_ext <<_ACEOF
19597 /* confdefs.h. */
19598 _ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 #ifdef HAVE_SYS_STATVFS_H
19603 #include <sys/statvfs.h>
19604 #endif
19607 main ()
19609 static struct statvfs ac_aggr;
19610 if (ac_aggr.f_blocks)
19611 return 0;
19613 return 0;
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19621 esac
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19624 ac_status=$?
19625 grep -v '^ *+' conftest.er1 >conftest.err
19626 rm -f conftest.er1
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 ac_cv_member_struct_statvfs_f_blocks=yes
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19638 cat >conftest.$ac_ext <<_ACEOF
19639 /* confdefs.h. */
19640 _ACEOF
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 #ifdef HAVE_SYS_STATVFS_H
19645 #include <sys/statvfs.h>
19646 #endif
19649 main ()
19651 static struct statvfs ac_aggr;
19652 if (sizeof ac_aggr.f_blocks)
19653 return 0;
19655 return 0;
19657 _ACEOF
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19663 esac
19664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19675 ac_cv_member_struct_statvfs_f_blocks=yes
19676 else
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 ac_cv_member_struct_statvfs_f_blocks=no
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19689 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19690 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19692 cat >>confdefs.h <<_ACEOF
19693 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19694 _ACEOF
19700 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19701 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19702 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19703 echo $ECHO_N "(cached) $ECHO_C" >&6
19704 else
19705 cat >conftest.$ac_ext <<_ACEOF
19706 /* confdefs.h. */
19707 _ACEOF
19708 cat confdefs.h >>conftest.$ac_ext
19709 cat >>conftest.$ac_ext <<_ACEOF
19710 /* end confdefs.h. */
19711 #include <sys/types.h>
19712 #ifdef HAVE_SYS_SOCKET_H
19713 # include <sys/socket.h>
19714 #endif
19715 #ifdef HAVE_SYS_UN_H
19716 # include <sys/un.h>
19717 #endif
19720 main ()
19722 static struct msghdr ac_aggr;
19723 if (ac_aggr.msg_accrights)
19724 return 0;
19726 return 0;
19728 _ACEOF
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_struct_msghdr_msg_accrights=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 cat >conftest.$ac_ext <<_ACEOF
19752 /* confdefs.h. */
19753 _ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #include <sys/types.h>
19758 #ifdef HAVE_SYS_SOCKET_H
19759 # include <sys/socket.h>
19760 #endif
19761 #ifdef HAVE_SYS_UN_H
19762 # include <sys/un.h>
19763 #endif
19766 main ()
19768 static struct msghdr ac_aggr;
19769 if (sizeof ac_aggr.msg_accrights)
19770 return 0;
19772 return 0;
19774 _ACEOF
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19783 ac_status=$?
19784 grep -v '^ *+' conftest.er1 >conftest.err
19785 rm -f conftest.er1
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 ac_cv_member_struct_msghdr_msg_accrights=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 ac_cv_member_struct_msghdr_msg_accrights=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19805 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19806 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19807 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19809 cat >>confdefs.h <<_ACEOF
19810 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19811 _ACEOF
19815 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19816 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19817 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 else
19820 cat >conftest.$ac_ext <<_ACEOF
19821 /* confdefs.h. */
19822 _ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826 #include <sys/types.h>
19827 #ifdef HAVE_SYS_SOCKET_H
19828 # include <sys/socket.h>
19829 #endif
19830 #ifdef HAVE_SYS_UN_H
19831 # include <sys/un.h>
19832 #endif
19835 main ()
19837 static struct sockaddr ac_aggr;
19838 if (ac_aggr.sa_len)
19839 return 0;
19841 return 0;
19843 _ACEOF
19844 rm -f conftest.$ac_objext
19845 if { (ac_try="$ac_compile"
19846 case "(($ac_try" in
19847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19849 esac
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_compile") 2>conftest.er1
19852 ac_status=$?
19853 grep -v '^ *+' conftest.er1 >conftest.err
19854 rm -f conftest.er1
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } && {
19858 test -z "$ac_c_werror_flag" ||
19859 test ! -s conftest.err
19860 } && test -s conftest.$ac_objext; then
19861 ac_cv_member_struct_sockaddr_sa_len=yes
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19866 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */
19868 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 #include <sys/types.h>
19873 #ifdef HAVE_SYS_SOCKET_H
19874 # include <sys/socket.h>
19875 #endif
19876 #ifdef HAVE_SYS_UN_H
19877 # include <sys/un.h>
19878 #endif
19881 main ()
19883 static struct sockaddr ac_aggr;
19884 if (sizeof ac_aggr.sa_len)
19885 return 0;
19887 return 0;
19889 _ACEOF
19890 rm -f conftest.$ac_objext
19891 if { (ac_try="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19895 esac
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 ac_cv_member_struct_sockaddr_sa_len=yes
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 ac_cv_member_struct_sockaddr_sa_len=no
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19921 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19922 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19924 cat >>confdefs.h <<_ACEOF
19925 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19926 _ACEOF
19930 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19931 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19932 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19934 else
19935 cat >conftest.$ac_ext <<_ACEOF
19936 /* confdefs.h. */
19937 _ACEOF
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 #include <sys/types.h>
19942 #ifdef HAVE_SYS_SOCKET_H
19943 # include <sys/socket.h>
19944 #endif
19945 #ifdef HAVE_SYS_UN_H
19946 # include <sys/un.h>
19947 #endif
19950 main ()
19952 static struct sockaddr_un ac_aggr;
19953 if (ac_aggr.sun_len)
19954 return 0;
19956 return 0;
19958 _ACEOF
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19964 esac
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_cv_member_struct_sockaddr_un_sun_len=yes
19977 else
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 #include <sys/types.h>
19988 #ifdef HAVE_SYS_SOCKET_H
19989 # include <sys/socket.h>
19990 #endif
19991 #ifdef HAVE_SYS_UN_H
19992 # include <sys/un.h>
19993 #endif
19996 main ()
19998 static struct sockaddr_un ac_aggr;
19999 if (sizeof ac_aggr.sun_len)
20000 return 0;
20002 return 0;
20004 _ACEOF
20005 rm -f conftest.$ac_objext
20006 if { (ac_try="$ac_compile"
20007 case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20010 esac
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_compile") 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } && {
20019 test -z "$ac_c_werror_flag" ||
20020 test ! -s conftest.err
20021 } && test -s conftest.$ac_objext; then
20022 ac_cv_member_struct_sockaddr_un_sun_len=yes
20023 else
20024 echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20027 ac_cv_member_struct_sockaddr_un_sun_len=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20036 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20037 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20039 cat >>confdefs.h <<_ACEOF
20040 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20041 _ACEOF
20047 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20048 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20049 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #include <sys/types.h>
20059 #ifdef HAVE_SCSI_SG_H
20060 #include <scsi/sg.h>
20061 #endif
20064 main ()
20066 static scsireq_t ac_aggr;
20067 if (ac_aggr.cmd)
20068 return 0;
20070 return 0;
20072 _ACEOF
20073 rm -f conftest.$ac_objext
20074 if { (ac_try="$ac_compile"
20075 case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20078 esac
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_compile") 2>conftest.er1
20081 ac_status=$?
20082 grep -v '^ *+' conftest.er1 >conftest.err
20083 rm -f conftest.er1
20084 cat conftest.err >&5
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); } && {
20087 test -z "$ac_c_werror_flag" ||
20088 test ! -s conftest.err
20089 } && test -s conftest.$ac_objext; then
20090 ac_cv_member_scsireq_t_cmd=yes
20091 else
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 #include <sys/types.h>
20102 #ifdef HAVE_SCSI_SG_H
20103 #include <scsi/sg.h>
20104 #endif
20107 main ()
20109 static scsireq_t ac_aggr;
20110 if (sizeof ac_aggr.cmd)
20111 return 0;
20113 return 0;
20115 _ACEOF
20116 rm -f conftest.$ac_objext
20117 if { (ac_try="$ac_compile"
20118 case "(($ac_try" in
20119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20120 *) ac_try_echo=$ac_try;;
20121 esac
20122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20123 (eval "$ac_compile") 2>conftest.er1
20124 ac_status=$?
20125 grep -v '^ *+' conftest.er1 >conftest.err
20126 rm -f conftest.er1
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && {
20130 test -z "$ac_c_werror_flag" ||
20131 test ! -s conftest.err
20132 } && test -s conftest.$ac_objext; then
20133 ac_cv_member_scsireq_t_cmd=yes
20134 else
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.$ac_ext >&5
20138 ac_cv_member_scsireq_t_cmd=no
20141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20147 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20148 if test $ac_cv_member_scsireq_t_cmd = yes; then
20150 cat >>confdefs.h <<_ACEOF
20151 #define HAVE_SCSIREQ_T_CMD 1
20152 _ACEOF
20156 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20157 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20158 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 else
20161 cat >conftest.$ac_ext <<_ACEOF
20162 /* confdefs.h. */
20163 _ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 #include <sys/types.h>
20168 #ifdef HAVE_SCSI_SG_H
20169 #include <scsi/sg.h>
20170 #endif
20173 main ()
20175 static sg_io_hdr_t ac_aggr;
20176 if (ac_aggr.interface_id)
20177 return 0;
20179 return 0;
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 ac_cv_member_sg_io_hdr_t_interface_id=yes
20200 else
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20204 cat >conftest.$ac_ext <<_ACEOF
20205 /* confdefs.h. */
20206 _ACEOF
20207 cat confdefs.h >>conftest.$ac_ext
20208 cat >>conftest.$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 #include <sys/types.h>
20211 #ifdef HAVE_SCSI_SG_H
20212 #include <scsi/sg.h>
20213 #endif
20216 main ()
20218 static sg_io_hdr_t ac_aggr;
20219 if (sizeof ac_aggr.interface_id)
20220 return 0;
20222 return 0;
20224 _ACEOF
20225 rm -f conftest.$ac_objext
20226 if { (ac_try="$ac_compile"
20227 case "(($ac_try" in
20228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20229 *) ac_try_echo=$ac_try;;
20230 esac
20231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20232 (eval "$ac_compile") 2>conftest.er1
20233 ac_status=$?
20234 grep -v '^ *+' conftest.er1 >conftest.err
20235 rm -f conftest.er1
20236 cat conftest.err >&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); } && {
20239 test -z "$ac_c_werror_flag" ||
20240 test ! -s conftest.err
20241 } && test -s conftest.$ac_objext; then
20242 ac_cv_member_sg_io_hdr_t_interface_id=yes
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20247 ac_cv_member_sg_io_hdr_t_interface_id=no
20250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20256 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20257 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20259 cat >>confdefs.h <<_ACEOF
20260 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20261 _ACEOF
20267 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20268 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20269 if test "${ac_cv_member_siginfo_t_si_fd+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 <signal.h>
20281 main ()
20283 static siginfo_t ac_aggr;
20284 if (ac_aggr.si_fd)
20285 return 0;
20287 return 0;
20289 _ACEOF
20290 rm -f conftest.$ac_objext
20291 if { (ac_try="$ac_compile"
20292 case "(($ac_try" in
20293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20294 *) ac_try_echo=$ac_try;;
20295 esac
20296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20297 (eval "$ac_compile") 2>conftest.er1
20298 ac_status=$?
20299 grep -v '^ *+' conftest.er1 >conftest.err
20300 rm -f conftest.er1
20301 cat conftest.err >&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } && {
20304 test -z "$ac_c_werror_flag" ||
20305 test ! -s conftest.err
20306 } && test -s conftest.$ac_objext; then
20307 ac_cv_member_siginfo_t_si_fd=yes
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 #include <signal.h>
20321 main ()
20323 static siginfo_t ac_aggr;
20324 if (sizeof ac_aggr.si_fd)
20325 return 0;
20327 return 0;
20329 _ACEOF
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20335 esac
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20338 ac_status=$?
20339 grep -v '^ *+' conftest.er1 >conftest.err
20340 rm -f conftest.er1
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20347 ac_cv_member_siginfo_t_si_fd=yes
20348 else
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 ac_cv_member_siginfo_t_si_fd=no
20355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20360 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20361 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20362 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20364 cat >>confdefs.h <<_ACEOF
20365 #define HAVE_SIGINFO_T_SI_FD 1
20366 _ACEOF
20372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20373 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20374 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 else
20377 cat >conftest.$ac_ext <<_ACEOF
20378 /* confdefs.h. */
20379 _ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 #include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20389 main ()
20391 static struct mtget ac_aggr;
20392 if (ac_aggr.mt_blksiz)
20393 return 0;
20395 return 0;
20397 _ACEOF
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20403 esac
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_cv_member_struct_mtget_mt_blksiz=yes
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20429 #endif
20432 main ()
20434 static struct mtget ac_aggr;
20435 if (sizeof ac_aggr.mt_blksiz)
20436 return 0;
20438 return 0;
20440 _ACEOF
20441 rm -f conftest.$ac_objext
20442 if { (ac_try="$ac_compile"
20443 case "(($ac_try" in
20444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20445 *) ac_try_echo=$ac_try;;
20446 esac
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_compile") 2>conftest.er1
20449 ac_status=$?
20450 grep -v '^ *+' conftest.er1 >conftest.err
20451 rm -f conftest.er1
20452 cat conftest.err >&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } && {
20455 test -z "$ac_c_werror_flag" ||
20456 test ! -s conftest.err
20457 } && test -s conftest.$ac_objext; then
20458 ac_cv_member_struct_mtget_mt_blksiz=yes
20459 else
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20463 ac_cv_member_struct_mtget_mt_blksiz=no
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20473 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20477 _ACEOF
20481 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20482 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20483 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 else
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 #include <sys/types.h>
20493 #ifdef HAVE_SYS_MTIO_H
20494 #include <sys/mtio.h>
20495 #endif
20498 main ()
20500 static struct mtget ac_aggr;
20501 if (ac_aggr.mt_gstat)
20502 return 0;
20504 return 0;
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20512 esac
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_cv_member_struct_mtget_mt_gstat=yes
20525 else
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535 #include <sys/types.h>
20536 #ifdef HAVE_SYS_MTIO_H
20537 #include <sys/mtio.h>
20538 #endif
20541 main ()
20543 static struct mtget ac_aggr;
20544 if (sizeof ac_aggr.mt_gstat)
20545 return 0;
20547 return 0;
20549 _ACEOF
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20567 ac_cv_member_struct_mtget_mt_gstat=yes
20568 else
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20572 ac_cv_member_struct_mtget_mt_gstat=no
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20581 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20582 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20584 cat >>confdefs.h <<_ACEOF
20585 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20586 _ACEOF
20590 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20591 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20592 if test "${ac_cv_member_struct_mtget_mt_blkno+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 #include <sys/types.h>
20602 #ifdef HAVE_SYS_MTIO_H
20603 #include <sys/mtio.h>
20604 #endif
20607 main ()
20609 static struct mtget ac_aggr;
20610 if (ac_aggr.mt_blkno)
20611 return 0;
20613 return 0;
20615 _ACEOF
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20621 esac
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_compile") 2>conftest.er1
20624 ac_status=$?
20625 grep -v '^ *+' conftest.er1 >conftest.err
20626 rm -f conftest.er1
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest.$ac_objext; then
20633 ac_cv_member_struct_mtget_mt_blkno=yes
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 #include <sys/types.h>
20645 #ifdef HAVE_SYS_MTIO_H
20646 #include <sys/mtio.h>
20647 #endif
20650 main ()
20652 static struct mtget ac_aggr;
20653 if (sizeof ac_aggr.mt_blkno)
20654 return 0;
20656 return 0;
20658 _ACEOF
20659 rm -f conftest.$ac_objext
20660 if { (ac_try="$ac_compile"
20661 case "(($ac_try" in
20662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20663 *) ac_try_echo=$ac_try;;
20664 esac
20665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20666 (eval "$ac_compile") 2>conftest.er1
20667 ac_status=$?
20668 grep -v '^ *+' conftest.er1 >conftest.err
20669 rm -f conftest.er1
20670 cat conftest.err >&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } && {
20673 test -z "$ac_c_werror_flag" ||
20674 test ! -s conftest.err
20675 } && test -s conftest.$ac_objext; then
20676 ac_cv_member_struct_mtget_mt_blkno=yes
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20681 ac_cv_member_struct_mtget_mt_blkno=no
20684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20690 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20691 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20693 cat >>confdefs.h <<_ACEOF
20694 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20695 _ACEOF
20701 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20702 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20703 if test "${ac_cv_member_struct_option_name+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 #ifdef HAVE_GETOPT_H
20713 #include <getopt.h>
20714 #endif
20717 main ()
20719 static struct option ac_aggr;
20720 if (ac_aggr.name)
20721 return 0;
20723 return 0;
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_struct_option_name=yes
20744 else
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #ifdef HAVE_GETOPT_H
20755 #include <getopt.h>
20756 #endif
20759 main ()
20761 static struct option ac_aggr;
20762 if (sizeof ac_aggr.name)
20763 return 0;
20765 return 0;
20767 _ACEOF
20768 rm -f conftest.$ac_objext
20769 if { (ac_try="$ac_compile"
20770 case "(($ac_try" in
20771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772 *) ac_try_echo=$ac_try;;
20773 esac
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_compile") 2>conftest.er1
20776 ac_status=$?
20777 grep -v '^ *+' conftest.er1 >conftest.err
20778 rm -f conftest.er1
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && {
20782 test -z "$ac_c_werror_flag" ||
20783 test ! -s conftest.err
20784 } && test -s conftest.$ac_objext; then
20785 ac_cv_member_struct_option_name=yes
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_member_struct_option_name=no
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20799 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20800 if test $ac_cv_member_struct_option_name = yes; then
20802 cat >>confdefs.h <<_ACEOF
20803 #define HAVE_STRUCT_OPTION_NAME 1
20804 _ACEOF
20810 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20811 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20812 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 else
20815 cat >conftest.$ac_ext <<_ACEOF
20816 /* confdefs.h. */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20823 main ()
20825 static struct stat ac_aggr;
20826 if (ac_aggr.st_blocks)
20827 return 0;
20829 return 0;
20831 _ACEOF
20832 rm -f conftest.$ac_objext
20833 if { (ac_try="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20837 esac
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20840 ac_status=$?
20841 grep -v '^ *+' conftest.er1 >conftest.err
20842 rm -f conftest.er1
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20849 ac_cv_member_struct_stat_st_blocks=yes
20850 else
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20854 cat >conftest.$ac_ext <<_ACEOF
20855 /* confdefs.h. */
20856 _ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20862 main ()
20864 static struct stat ac_aggr;
20865 if (sizeof ac_aggr.st_blocks)
20866 return 0;
20868 return 0;
20870 _ACEOF
20871 rm -f conftest.$ac_objext
20872 if { (ac_try="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20876 esac
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && {
20885 test -z "$ac_c_werror_flag" ||
20886 test ! -s conftest.err
20887 } && test -s conftest.$ac_objext; then
20888 ac_cv_member_struct_stat_st_blocks=yes
20889 else
20890 echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20893 ac_cv_member_struct_stat_st_blocks=no
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20901 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20902 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20903 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20907 _ACEOF
20913 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20914 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20915 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 else
20918 cat >conftest.$ac_ext <<_ACEOF
20919 /* confdefs.h. */
20920 _ACEOF
20921 cat confdefs.h >>conftest.$ac_ext
20922 cat >>conftest.$ac_ext <<_ACEOF
20923 /* end confdefs.h. */
20924 #ifdef HAVE_SYS_TYPES_H
20925 #include <sys/types.h>
20926 #endif
20927 #ifdef HAVE_NETINET_IN_H
20928 #include <netinet/in.h>
20929 #endif
20932 main ()
20934 static struct sockaddr_in6 ac_aggr;
20935 if (ac_aggr.sin6_scope_id)
20936 return 0;
20938 return 0;
20940 _ACEOF
20941 rm -f conftest.$ac_objext
20942 if { (ac_try="$ac_compile"
20943 case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20946 esac
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_compile") 2>conftest.er1
20949 ac_status=$?
20950 grep -v '^ *+' conftest.er1 >conftest.err
20951 rm -f conftest.er1
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } && {
20955 test -z "$ac_c_werror_flag" ||
20956 test ! -s conftest.err
20957 } && test -s conftest.$ac_objext; then
20958 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20963 cat >conftest.$ac_ext <<_ACEOF
20964 /* confdefs.h. */
20965 _ACEOF
20966 cat confdefs.h >>conftest.$ac_ext
20967 cat >>conftest.$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969 #ifdef HAVE_SYS_TYPES_H
20970 #include <sys/types.h>
20971 #endif
20972 #ifdef HAVE_NETINET_IN_H
20973 #include <netinet/in.h>
20974 #endif
20977 main ()
20979 static struct sockaddr_in6 ac_aggr;
20980 if (sizeof ac_aggr.sin6_scope_id)
20981 return 0;
20983 return 0;
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20991 esac
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.$ac_objext; then
21003 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21004 else
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.$ac_ext >&5
21008 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21017 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21018 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21020 cat >>confdefs.h <<_ACEOF
21021 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21022 _ACEOF
21028 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21029 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21030 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21031 echo $ECHO_N "(cached) $ECHO_C" >&6
21032 else
21033 cat >conftest.$ac_ext <<_ACEOF
21034 /* confdefs.h. */
21035 _ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 #ifdef HAVE_SYS_TYPES_H
21040 #include <sys/types.h>
21041 #endif
21042 #ifdef HAVE_NETINET_IN_H
21043 # include <netinet/in.h>
21044 #endif
21045 #ifdef HAVE_ARPA_NAMESER_H
21046 # include <arpa/nameser.h>
21047 #endif
21050 main ()
21052 static ns_msg ac_aggr;
21053 if (ac_aggr._msg_ptr)
21054 return 0;
21056 return 0;
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_member_ns_msg__msg_ptr=yes
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21081 cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h. */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 #ifdef HAVE_SYS_TYPES_H
21088 #include <sys/types.h>
21089 #endif
21090 #ifdef HAVE_NETINET_IN_H
21091 # include <netinet/in.h>
21092 #endif
21093 #ifdef HAVE_ARPA_NAMESER_H
21094 # include <arpa/nameser.h>
21095 #endif
21098 main ()
21100 static ns_msg ac_aggr;
21101 if (sizeof ac_aggr._msg_ptr)
21102 return 0;
21104 return 0;
21106 _ACEOF
21107 rm -f conftest.$ac_objext
21108 if { (ac_try="$ac_compile"
21109 case "(($ac_try" in
21110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21111 *) ac_try_echo=$ac_try;;
21112 esac
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_compile") 2>conftest.er1
21115 ac_status=$?
21116 grep -v '^ *+' conftest.er1 >conftest.err
21117 rm -f conftest.er1
21118 cat conftest.err >&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } && {
21121 test -z "$ac_c_werror_flag" ||
21122 test ! -s conftest.err
21123 } && test -s conftest.$ac_objext; then
21124 ac_cv_member_ns_msg__msg_ptr=yes
21125 else
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21129 ac_cv_member_ns_msg__msg_ptr=no
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21138 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21139 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21141 cat >>confdefs.h <<_ACEOF
21142 #define HAVE_NS_MSG__MSG_PTR 1
21143 _ACEOF
21149 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21150 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21151 if test "${ac_cv_have_timezone+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154 cat >conftest.$ac_ext <<_ACEOF
21155 /* confdefs.h. */
21156 _ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 #include <time.h>
21162 main ()
21164 timezone = 1
21166 return 0;
21168 _ACEOF
21169 rm -f conftest.$ac_objext conftest$ac_exeext
21170 if { (ac_try="$ac_link"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_link") 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest$ac_exeext &&
21186 $as_test_x conftest$ac_exeext; then
21187 ac_cv_have_timezone="yes"
21188 else
21189 echo "$as_me: failed program was:" >&5
21190 sed 's/^/| /' conftest.$ac_ext >&5
21192 ac_cv_have_timezone="no"
21195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21196 conftest$ac_exeext conftest.$ac_ext
21198 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21199 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21200 if test "$ac_cv_have_timezone" = "yes"
21201 then
21203 cat >>confdefs.h <<\_ACEOF
21204 #define HAVE_TIMEZONE 1
21205 _ACEOF
21208 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21209 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21210 if test "${ac_cv_have_daylight+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 #include <time.h>
21221 main ()
21223 daylight = 1
21225 return 0;
21227 _ACEOF
21228 rm -f conftest.$ac_objext conftest$ac_exeext
21229 if { (ac_try="$ac_link"
21230 case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21233 esac
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_link") 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest$ac_exeext &&
21245 $as_test_x conftest$ac_exeext; then
21246 ac_cv_have_daylight="yes"
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21251 ac_cv_have_daylight="no"
21254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21255 conftest$ac_exeext conftest.$ac_ext
21257 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21258 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21259 if test "$ac_cv_have_daylight" = "yes"
21260 then
21262 cat >>confdefs.h <<\_ACEOF
21263 #define HAVE_DAYLIGHT 1
21264 _ACEOF
21268 { echo "$as_me:$LINENO: checking for isinf" >&5
21269 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21270 if test "${ac_cv_have_isinf+set}" = set; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21272 else
21273 cat >conftest.$ac_ext <<_ACEOF
21274 /* confdefs.h. */
21275 _ACEOF
21276 cat confdefs.h >>conftest.$ac_ext
21277 cat >>conftest.$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21279 #include <math.h>
21281 main ()
21283 float f = 0.0; isinf(f)
21285 return 0;
21287 _ACEOF
21288 rm -f conftest.$ac_objext conftest$ac_exeext
21289 if { (ac_try="$ac_link"
21290 case "(($ac_try" in
21291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292 *) ac_try_echo=$ac_try;;
21293 esac
21294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21295 (eval "$ac_link") 2>conftest.er1
21296 ac_status=$?
21297 grep -v '^ *+' conftest.er1 >conftest.err
21298 rm -f conftest.er1
21299 cat conftest.err >&5
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); } && {
21302 test -z "$ac_c_werror_flag" ||
21303 test ! -s conftest.err
21304 } && test -s conftest$ac_exeext &&
21305 $as_test_x conftest$ac_exeext; then
21306 ac_cv_have_isinf="yes"
21307 else
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21311 ac_cv_have_isinf="no"
21314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21315 conftest$ac_exeext conftest.$ac_ext
21317 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21318 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21319 if test "$ac_cv_have_isinf" = "yes"
21320 then
21322 cat >>confdefs.h <<\_ACEOF
21323 #define HAVE_ISINF 1
21324 _ACEOF
21329 case $host_cpu in
21330 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21331 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21332 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 else
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #ifndef __i386__
21343 #endif
21344 _ACEOF
21345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21346 $EGREP "yes" >/dev/null 2>&1; then
21347 ac_cv_cpp_def___i386__=yes
21348 else
21349 ac_cv_cpp_def___i386__=no
21351 rm -f conftest*
21354 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21355 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21356 if test $ac_cv_cpp_def___i386__ = yes; then
21357 CFLAGS="$CFLAGS -D__i386__"
21358 LINTFLAGS="$LINTFLAGS -D__i386__"
21361 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21362 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21363 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21364 echo $ECHO_N "(cached) $ECHO_C" >&6
21365 else
21366 cat >conftest.$ac_ext <<_ACEOF
21367 /* confdefs.h. */
21368 _ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 #ifndef __x86_64__
21374 #endif
21375 _ACEOF
21376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21377 $EGREP "yes" >/dev/null 2>&1; then
21378 ac_cv_cpp_def___x86_64__=yes
21379 else
21380 ac_cv_cpp_def___x86_64__=no
21382 rm -f conftest*
21385 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21386 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21387 if test $ac_cv_cpp_def___x86_64__ = yes; then
21388 CFLAGS="$CFLAGS -D__x86_64__"
21389 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21392 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21393 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21394 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 else
21397 cat >conftest.$ac_ext <<_ACEOF
21398 /* confdefs.h. */
21399 _ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 #ifndef __ALPHA__
21405 #endif
21406 _ACEOF
21407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21408 $EGREP "yes" >/dev/null 2>&1; then
21409 ac_cv_cpp_def___ALPHA__=yes
21410 else
21411 ac_cv_cpp_def___ALPHA__=no
21413 rm -f conftest*
21416 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21417 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21418 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21419 CFLAGS="$CFLAGS -D__ALPHA__"
21420 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21423 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21424 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21425 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 else
21428 cat >conftest.$ac_ext <<_ACEOF
21429 /* confdefs.h. */
21430 _ACEOF
21431 cat confdefs.h >>conftest.$ac_ext
21432 cat >>conftest.$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434 #ifndef __sparc__
21436 #endif
21437 _ACEOF
21438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21439 $EGREP "yes" >/dev/null 2>&1; then
21440 ac_cv_cpp_def___sparc__=yes
21441 else
21442 ac_cv_cpp_def___sparc__=no
21444 rm -f conftest*
21447 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21448 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21449 if test $ac_cv_cpp_def___sparc__ = yes; then
21450 CFLAGS="$CFLAGS -D__sparc__"
21451 LINTFLAGS="$LINTFLAGS -D__sparc__"
21454 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21455 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21456 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 #ifndef __powerpc__
21467 #endif
21468 _ACEOF
21469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21470 $EGREP "yes" >/dev/null 2>&1; then
21471 ac_cv_cpp_def___powerpc__=yes
21472 else
21473 ac_cv_cpp_def___powerpc__=no
21475 rm -f conftest*
21478 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21479 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21480 if test $ac_cv_cpp_def___powerpc__ = yes; then
21481 CFLAGS="$CFLAGS -D__powerpc__"
21482 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21485 esac
21487 case $host_vendor in
21488 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21489 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21490 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 else
21493 cat >conftest.$ac_ext <<_ACEOF
21494 /* confdefs.h. */
21495 _ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 #ifndef __sun__
21501 #endif
21502 _ACEOF
21503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21504 $EGREP "yes" >/dev/null 2>&1; then
21505 ac_cv_cpp_def___sun__=yes
21506 else
21507 ac_cv_cpp_def___sun__=no
21509 rm -f conftest*
21512 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21513 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21514 if test $ac_cv_cpp_def___sun__ = yes; then
21515 CFLAGS="$CFLAGS -D__sun__"
21516 LINTFLAGS="$LINTFLAGS -D__sun__"
21519 esac
21522 DEPENDENCIES="### Dependencies:
21524 .INIT: Makefile
21525 .BEGIN: Makefile
21526 Makefile: dummy
21527 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21529 \$(OBJS): \$(IDL_GEN_HEADERS)
21530 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21531 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21532 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21533 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21539 ac_config_commands="$ac_config_commands include/stamp-h"
21542 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21544 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21546 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21548 ac_config_commands="$ac_config_commands dlls/user32/resources"
21550 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21552 ac_config_commands="$ac_config_commands include/wine"
21555 MAKE_RULES=Make.rules
21558 MAKE_DLL_RULES=dlls/Makedll.rules
21561 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21564 MAKE_TEST_RULES=dlls/Maketest.rules
21567 MAKE_PROG_RULES=programs/Makeprog.rules
21570 ac_config_files="$ac_config_files Make.rules"
21572 ac_config_files="$ac_config_files dlls/Makedll.rules"
21574 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21576 ac_config_files="$ac_config_files dlls/Maketest.rules"
21578 ac_config_files="$ac_config_files programs/Makeprog.rules"
21580 ac_config_files="$ac_config_files Makefile"
21582 ac_config_files="$ac_config_files dlls/Makefile"
21584 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21586 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21588 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21590 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21592 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21594 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21598 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21602 ac_config_files="$ac_config_files dlls/atl/Makefile"
21604 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21606 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21608 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21610 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21612 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21614 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21616 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21618 ac_config_files="$ac_config_files dlls/cards/Makefile"
21620 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21622 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21624 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21626 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21628 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21630 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21632 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21634 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21636 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21638 ac_config_files="$ac_config_files dlls/credui/Makefile"
21640 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21642 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21644 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21646 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21648 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21650 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21652 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21654 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21656 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21658 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21660 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21662 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21664 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21666 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21668 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21670 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21684 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21686 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21688 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21690 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21692 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21694 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21696 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21698 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21700 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21702 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21704 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21706 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21708 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21712 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21714 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21716 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21718 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21720 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21724 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21726 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21728 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21732 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21734 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21736 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21738 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21740 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21742 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21744 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21746 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21748 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21750 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21752 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21754 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21756 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21758 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21762 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21764 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21766 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21768 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21770 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21774 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21776 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21778 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21780 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21782 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21784 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21786 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21788 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21790 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21792 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21794 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21798 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21802 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21804 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21806 ac_config_files="$ac_config_files dlls/hal/Makefile"
21808 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21810 ac_config_files="$ac_config_files dlls/hid/Makefile"
21812 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21814 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21816 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21818 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21820 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21822 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21824 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21826 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21828 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21830 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21832 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21834 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21836 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21838 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21840 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21842 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21844 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21846 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21848 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21852 ac_config_files="$ac_config_files dlls/itss/Makefile"
21854 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21856 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21858 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21862 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21866 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21868 ac_config_files="$ac_config_files dlls/localui/Makefile"
21870 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21872 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21874 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21876 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21878 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21880 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21882 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21884 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21886 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21888 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21890 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21892 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21894 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21896 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21898 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21900 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21902 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21904 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21906 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21908 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21910 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21912 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21914 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21916 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21918 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21920 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21922 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21924 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21926 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21928 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21930 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/msi/Makefile"
21934 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21938 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21940 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21942 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21944 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21946 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21948 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21950 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21952 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21954 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21956 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21958 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21960 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21962 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21964 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21966 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21968 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21970 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21972 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21976 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21978 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21980 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21982 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21984 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21988 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21990 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21992 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21994 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21996 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21998 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22000 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22002 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22004 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22006 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22010 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22012 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22014 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22016 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22018 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22020 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22022 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22024 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22026 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22028 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22030 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22032 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22034 ac_config_files="$ac_config_files dlls/printui/Makefile"
22036 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22038 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22040 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22042 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22044 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22046 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22048 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22050 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22052 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22054 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22056 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22058 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/query/Makefile"
22062 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22064 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22066 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22068 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22072 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22074 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22076 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22080 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22082 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22086 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22088 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22090 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22092 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22094 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22096 ac_config_files="$ac_config_files dlls/security/Makefile"
22098 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22100 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22102 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22106 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22108 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22110 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22112 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22114 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22116 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22120 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22122 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22124 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22126 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22130 ac_config_files="$ac_config_files dlls/slc/Makefile"
22132 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22134 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22136 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22138 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22140 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22142 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22144 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22146 ac_config_files="$ac_config_files dlls/sti/Makefile"
22148 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22150 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22152 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22154 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22156 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22158 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22160 ac_config_files="$ac_config_files dlls/url/Makefile"
22162 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22164 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22166 ac_config_files="$ac_config_files dlls/user32/Makefile"
22168 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22170 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22172 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22174 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22176 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22178 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22180 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22182 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22184 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22186 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22188 ac_config_files="$ac_config_files dlls/version/Makefile"
22190 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22192 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22194 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22196 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22198 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22200 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22202 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22204 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22206 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22208 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22210 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22212 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22214 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22216 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22218 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22220 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22222 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22224 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22226 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22228 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22230 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22232 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22234 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22236 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22238 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22240 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22242 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22244 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22246 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22248 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22250 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22252 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22254 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22256 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22258 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22260 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22262 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22264 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22266 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22268 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22270 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22272 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22274 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22276 ac_config_files="$ac_config_files documentation/Makefile"
22278 ac_config_files="$ac_config_files fonts/Makefile"
22280 ac_config_files="$ac_config_files include/Makefile"
22282 ac_config_files="$ac_config_files libs/Makefile"
22284 ac_config_files="$ac_config_files libs/port/Makefile"
22286 ac_config_files="$ac_config_files libs/wine/Makefile"
22288 ac_config_files="$ac_config_files libs/wpp/Makefile"
22290 ac_config_files="$ac_config_files loader/Makefile"
22292 ac_config_files="$ac_config_files programs/Makefile"
22294 ac_config_files="$ac_config_files programs/clock/Makefile"
22296 ac_config_files="$ac_config_files programs/cmd/Makefile"
22298 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22300 ac_config_files="$ac_config_files programs/control/Makefile"
22302 ac_config_files="$ac_config_files programs/eject/Makefile"
22304 ac_config_files="$ac_config_files programs/expand/Makefile"
22306 ac_config_files="$ac_config_files programs/explorer/Makefile"
22308 ac_config_files="$ac_config_files programs/hh/Makefile"
22310 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22312 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22314 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22316 ac_config_files="$ac_config_files programs/net/Makefile"
22318 ac_config_files="$ac_config_files programs/notepad/Makefile"
22320 ac_config_files="$ac_config_files programs/oleview/Makefile"
22322 ac_config_files="$ac_config_files programs/progman/Makefile"
22324 ac_config_files="$ac_config_files programs/reg/Makefile"
22326 ac_config_files="$ac_config_files programs/regedit/Makefile"
22328 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22330 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22332 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22334 ac_config_files="$ac_config_files programs/secedit/Makefile"
22336 ac_config_files="$ac_config_files programs/services/Makefile"
22338 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22340 ac_config_files="$ac_config_files programs/start/Makefile"
22342 ac_config_files="$ac_config_files programs/svchost/Makefile"
22344 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22346 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22348 ac_config_files="$ac_config_files programs/view/Makefile"
22350 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22352 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22354 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22356 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22358 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22360 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22362 ac_config_files="$ac_config_files programs/winefile/Makefile"
22364 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22366 ac_config_files="$ac_config_files programs/winemine/Makefile"
22368 ac_config_files="$ac_config_files programs/winepath/Makefile"
22370 ac_config_files="$ac_config_files programs/winetest/Makefile"
22372 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22374 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22376 ac_config_files="$ac_config_files programs/winver/Makefile"
22378 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22380 ac_config_files="$ac_config_files programs/write/Makefile"
22382 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22384 ac_config_files="$ac_config_files server/Makefile"
22386 ac_config_files="$ac_config_files tools/Makefile"
22388 ac_config_files="$ac_config_files tools/widl/Makefile"
22390 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22392 ac_config_files="$ac_config_files tools/winedump/Makefile"
22394 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22396 ac_config_files="$ac_config_files tools/wmc/Makefile"
22398 ac_config_files="$ac_config_files tools/wrc/Makefile"
22401 cat >confcache <<\_ACEOF
22402 # This file is a shell script that caches the results of configure
22403 # tests run on this system so they can be shared between configure
22404 # scripts and configure runs, see configure's option --config-cache.
22405 # It is not useful on other systems. If it contains results you don't
22406 # want to keep, you may remove or edit it.
22408 # config.status only pays attention to the cache file if you give it
22409 # the --recheck option to rerun configure.
22411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22413 # following values.
22415 _ACEOF
22417 # The following way of writing the cache mishandles newlines in values,
22418 # but we know of no workaround that is simple, portable, and efficient.
22419 # So, we kill variables containing newlines.
22420 # Ultrix sh set writes to stderr and can't be redirected directly,
22421 # and sets the high bit in the cache file unless we assign to the vars.
22423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22424 eval ac_val=\$$ac_var
22425 case $ac_val in #(
22426 *${as_nl}*)
22427 case $ac_var in #(
22428 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22429 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22430 esac
22431 case $ac_var in #(
22432 _ | IFS | as_nl) ;; #(
22433 *) $as_unset $ac_var ;;
22434 esac ;;
22435 esac
22436 done
22438 (set) 2>&1 |
22439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22440 *${as_nl}ac_space=\ *)
22441 # `set' does not quote correctly, so add quotes (double-quote
22442 # substitution turns \\\\ into \\, and sed turns \\ into \).
22443 sed -n \
22444 "s/'/'\\\\''/g;
22445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22446 ;; #(
22448 # `set' quotes correctly as required by POSIX, so do not add quotes.
22449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22451 esac |
22452 sort
22454 sed '
22455 /^ac_cv_env_/b end
22456 t clear
22457 :clear
22458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22459 t end
22460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22461 :end' >>confcache
22462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22463 if test -w "$cache_file"; then
22464 test "x$cache_file" != "x/dev/null" &&
22465 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22466 echo "$as_me: updating cache $cache_file" >&6;}
22467 cat confcache >$cache_file
22468 else
22469 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22470 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22473 rm -f confcache
22475 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22476 # Let make expand exec_prefix.
22477 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22479 DEFS=-DHAVE_CONFIG_H
22481 ac_libobjs=
22482 ac_ltlibobjs=
22483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22484 # 1. Remove the extension, and $U if already installed.
22485 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22486 ac_i=`echo "$ac_i" | sed "$ac_script"`
22487 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22488 # will be set to the directory where LIBOBJS objects are built.
22489 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22490 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22491 done
22492 LIBOBJS=$ac_libobjs
22494 LTLIBOBJS=$ac_ltlibobjs
22498 : ${CONFIG_STATUS=./config.status}
22499 ac_clean_files_save=$ac_clean_files
22500 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22501 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22502 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22503 cat >$CONFIG_STATUS <<_ACEOF
22504 #! $SHELL
22505 # Generated by $as_me.
22506 # Run this file to recreate the current configuration.
22507 # Compiler output produced by configure, useful for debugging
22508 # configure, is in config.log if it exists.
22510 debug=false
22511 ac_cs_recheck=false
22512 ac_cs_silent=false
22513 SHELL=\${CONFIG_SHELL-$SHELL}
22514 _ACEOF
22516 cat >>$CONFIG_STATUS <<\_ACEOF
22517 ## --------------------- ##
22518 ## M4sh Initialization. ##
22519 ## --------------------- ##
22521 # Be more Bourne compatible
22522 DUALCASE=1; export DUALCASE # for MKS sh
22523 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22524 emulate sh
22525 NULLCMD=:
22526 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22527 # is contrary to our usage. Disable this feature.
22528 alias -g '${1+"$@"}'='"$@"'
22529 setopt NO_GLOB_SUBST
22530 else
22531 case `(set -o) 2>/dev/null` in
22532 *posix*) set -o posix ;;
22533 esac
22540 # PATH needs CR
22541 # Avoid depending upon Character Ranges.
22542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22545 as_cr_digits='0123456789'
22546 as_cr_alnum=$as_cr_Letters$as_cr_digits
22548 # The user is always right.
22549 if test "${PATH_SEPARATOR+set}" != set; then
22550 echo "#! /bin/sh" >conf$$.sh
22551 echo "exit 0" >>conf$$.sh
22552 chmod +x conf$$.sh
22553 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22554 PATH_SEPARATOR=';'
22555 else
22556 PATH_SEPARATOR=:
22558 rm -f conf$$.sh
22561 # Support unset when possible.
22562 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22563 as_unset=unset
22564 else
22565 as_unset=false
22569 # IFS
22570 # We need space, tab and new line, in precisely that order. Quoting is
22571 # there to prevent editors from complaining about space-tab.
22572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22573 # splitting by setting IFS to empty value.)
22574 as_nl='
22576 IFS=" "" $as_nl"
22578 # Find who we are. Look in the path if we contain no directory separator.
22579 case $0 in
22580 *[\\/]* ) as_myself=$0 ;;
22581 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22582 for as_dir in $PATH
22584 IFS=$as_save_IFS
22585 test -z "$as_dir" && as_dir=.
22586 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22587 done
22588 IFS=$as_save_IFS
22591 esac
22592 # We did not find ourselves, most probably we were run as `sh COMMAND'
22593 # in which case we are not to be found in the path.
22594 if test "x$as_myself" = x; then
22595 as_myself=$0
22597 if test ! -f "$as_myself"; then
22598 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22599 { (exit 1); exit 1; }
22602 # Work around bugs in pre-3.0 UWIN ksh.
22603 for as_var in ENV MAIL MAILPATH
22604 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22605 done
22606 PS1='$ '
22607 PS2='> '
22608 PS4='+ '
22610 # NLS nuisances.
22611 for as_var in \
22612 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22613 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22614 LC_TELEPHONE LC_TIME
22616 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22617 eval $as_var=C; export $as_var
22618 else
22619 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22621 done
22623 # Required to use basename.
22624 if expr a : '\(a\)' >/dev/null 2>&1 &&
22625 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22626 as_expr=expr
22627 else
22628 as_expr=false
22631 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22632 as_basename=basename
22633 else
22634 as_basename=false
22638 # Name of the executable.
22639 as_me=`$as_basename -- "$0" ||
22640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22641 X"$0" : 'X\(//\)$' \| \
22642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22643 echo X/"$0" |
22644 sed '/^.*\/\([^/][^/]*\)\/*$/{
22645 s//\1/
22648 /^X\/\(\/\/\)$/{
22649 s//\1/
22652 /^X\/\(\/\).*/{
22653 s//\1/
22656 s/.*/./; q'`
22658 # CDPATH.
22659 $as_unset CDPATH
22663 as_lineno_1=$LINENO
22664 as_lineno_2=$LINENO
22665 test "x$as_lineno_1" != "x$as_lineno_2" &&
22666 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22668 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22669 # uniformly replaced by the line number. The first 'sed' inserts a
22670 # line-number line after each line using $LINENO; the second 'sed'
22671 # does the real work. The second script uses 'N' to pair each
22672 # line-number line with the line containing $LINENO, and appends
22673 # trailing '-' during substitution so that $LINENO is not a special
22674 # case at line end.
22675 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22676 # scripts with optimization help from Paolo Bonzini. Blame Lee
22677 # E. McMahon (1931-1989) for sed's syntax. :-)
22678 sed -n '
22680 /[$]LINENO/=
22681 ' <$as_myself |
22682 sed '
22683 s/[$]LINENO.*/&-/
22684 t lineno
22686 :lineno
22688 :loop
22689 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22690 t loop
22691 s/-\n.*//
22692 ' >$as_me.lineno &&
22693 chmod +x "$as_me.lineno" ||
22694 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22695 { (exit 1); exit 1; }; }
22697 # Don't try to exec as it changes $[0], causing all sort of problems
22698 # (the dirname of $[0] is not the place where we might find the
22699 # original and so on. Autoconf is especially sensitive to this).
22700 . "./$as_me.lineno"
22701 # Exit status is that of the last command.
22702 exit
22706 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22707 as_dirname=dirname
22708 else
22709 as_dirname=false
22712 ECHO_C= ECHO_N= ECHO_T=
22713 case `echo -n x` in
22714 -n*)
22715 case `echo 'x\c'` in
22716 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22717 *) ECHO_C='\c';;
22718 esac;;
22720 ECHO_N='-n';;
22721 esac
22723 if expr a : '\(a\)' >/dev/null 2>&1 &&
22724 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22725 as_expr=expr
22726 else
22727 as_expr=false
22730 rm -f conf$$ conf$$.exe conf$$.file
22731 if test -d conf$$.dir; then
22732 rm -f conf$$.dir/conf$$.file
22733 else
22734 rm -f conf$$.dir
22735 mkdir conf$$.dir
22737 echo >conf$$.file
22738 if ln -s conf$$.file conf$$ 2>/dev/null; then
22739 as_ln_s='ln -s'
22740 # ... but there are two gotchas:
22741 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22742 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22743 # In both cases, we have to default to `cp -p'.
22744 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22745 as_ln_s='cp -p'
22746 elif ln conf$$.file conf$$ 2>/dev/null; then
22747 as_ln_s=ln
22748 else
22749 as_ln_s='cp -p'
22751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22752 rmdir conf$$.dir 2>/dev/null
22754 if mkdir -p . 2>/dev/null; then
22755 as_mkdir_p=:
22756 else
22757 test -d ./-p && rmdir ./-p
22758 as_mkdir_p=false
22761 if test -x / >/dev/null 2>&1; then
22762 as_test_x='test -x'
22763 else
22764 if ls -dL / >/dev/null 2>&1; then
22765 as_ls_L_option=L
22766 else
22767 as_ls_L_option=
22769 as_test_x='
22770 eval sh -c '\''
22771 if test -d "$1"; then
22772 test -d "$1/.";
22773 else
22774 case $1 in
22775 -*)set "./$1";;
22776 esac;
22777 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22778 ???[sx]*):;;*)false;;esac;fi
22779 '\'' sh
22782 as_executable_p=$as_test_x
22784 # Sed expression to map a string onto a valid CPP name.
22785 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22787 # Sed expression to map a string onto a valid variable name.
22788 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22791 exec 6>&1
22793 # Save the log message, to keep $[0] and so on meaningful, and to
22794 # report actual input values of CONFIG_FILES etc. instead of their
22795 # values after options handling.
22796 ac_log="
22797 This file was extended by Wine $as_me 1.0-rc1, which was
22798 generated by GNU Autoconf 2.61. Invocation command line was
22800 CONFIG_FILES = $CONFIG_FILES
22801 CONFIG_HEADERS = $CONFIG_HEADERS
22802 CONFIG_LINKS = $CONFIG_LINKS
22803 CONFIG_COMMANDS = $CONFIG_COMMANDS
22804 $ $0 $@
22806 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22809 _ACEOF
22811 cat >>$CONFIG_STATUS <<_ACEOF
22812 # Files that config.status was made for.
22813 config_files="$ac_config_files"
22814 config_headers="$ac_config_headers"
22815 config_commands="$ac_config_commands"
22817 _ACEOF
22819 cat >>$CONFIG_STATUS <<\_ACEOF
22820 ac_cs_usage="\
22821 \`$as_me' instantiates files from templates according to the
22822 current configuration.
22824 Usage: $0 [OPTIONS] [FILE]...
22826 -h, --help print this help, then exit
22827 -V, --version print version number and configuration settings, then exit
22828 -q, --quiet do not print progress messages
22829 -d, --debug don't remove temporary files
22830 --recheck update $as_me by reconfiguring in the same conditions
22831 --file=FILE[:TEMPLATE]
22832 instantiate the configuration file FILE
22833 --header=FILE[:TEMPLATE]
22834 instantiate the configuration header FILE
22836 Configuration files:
22837 $config_files
22839 Configuration headers:
22840 $config_headers
22842 Configuration commands:
22843 $config_commands
22845 Report bugs to <bug-autoconf@gnu.org>."
22847 _ACEOF
22848 cat >>$CONFIG_STATUS <<_ACEOF
22849 ac_cs_version="\\
22850 Wine config.status 1.0-rc1
22851 configured by $0, generated by GNU Autoconf 2.61,
22852 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22854 Copyright (C) 2006 Free Software Foundation, Inc.
22855 This config.status script is free software; the Free Software Foundation
22856 gives unlimited permission to copy, distribute and modify it."
22858 ac_pwd='$ac_pwd'
22859 srcdir='$srcdir'
22860 INSTALL='$INSTALL'
22861 _ACEOF
22863 cat >>$CONFIG_STATUS <<\_ACEOF
22864 # If no file are specified by the user, then we need to provide default
22865 # value. By we need to know if files were specified by the user.
22866 ac_need_defaults=:
22867 while test $# != 0
22869 case $1 in
22870 --*=*)
22871 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22872 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22873 ac_shift=:
22876 ac_option=$1
22877 ac_optarg=$2
22878 ac_shift=shift
22880 esac
22882 case $ac_option in
22883 # Handling of the options.
22884 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22885 ac_cs_recheck=: ;;
22886 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22887 echo "$ac_cs_version"; exit ;;
22888 --debug | --debu | --deb | --de | --d | -d )
22889 debug=: ;;
22890 --file | --fil | --fi | --f )
22891 $ac_shift
22892 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22893 ac_need_defaults=false;;
22894 --header | --heade | --head | --hea )
22895 $ac_shift
22896 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22897 ac_need_defaults=false;;
22898 --he | --h)
22899 # Conflict between --help and --header
22900 { echo "$as_me: error: ambiguous option: $1
22901 Try \`$0 --help' for more information." >&2
22902 { (exit 1); exit 1; }; };;
22903 --help | --hel | -h )
22904 echo "$ac_cs_usage"; exit ;;
22905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22906 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22907 ac_cs_silent=: ;;
22909 # This is an error.
22910 -*) { echo "$as_me: error: unrecognized option: $1
22911 Try \`$0 --help' for more information." >&2
22912 { (exit 1); exit 1; }; } ;;
22914 *) ac_config_targets="$ac_config_targets $1"
22915 ac_need_defaults=false ;;
22917 esac
22918 shift
22919 done
22921 ac_configure_extra_args=
22923 if $ac_cs_silent; then
22924 exec 6>/dev/null
22925 ac_configure_extra_args="$ac_configure_extra_args --silent"
22928 _ACEOF
22929 cat >>$CONFIG_STATUS <<_ACEOF
22930 if \$ac_cs_recheck; then
22931 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22932 CONFIG_SHELL=$SHELL
22933 export CONFIG_SHELL
22934 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22937 _ACEOF
22938 cat >>$CONFIG_STATUS <<\_ACEOF
22939 exec 5>>config.log
22941 echo
22942 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22943 ## Running $as_me. ##
22944 _ASBOX
22945 echo "$ac_log"
22946 } >&5
22948 _ACEOF
22949 cat >>$CONFIG_STATUS <<_ACEOF
22950 _ACEOF
22952 cat >>$CONFIG_STATUS <<\_ACEOF
22954 # Handling of arguments.
22955 for ac_config_target in $ac_config_targets
22957 case $ac_config_target in
22958 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22959 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22960 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22961 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22962 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22963 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22964 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22965 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22966 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22967 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22968 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22969 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22970 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22971 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22972 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22973 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22974 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22975 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22976 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22977 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22978 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22979 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22980 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22981 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22982 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22983 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22984 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22985 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22986 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22987 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22988 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22989 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22990 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22991 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22992 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22993 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22994 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22995 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22996 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22997 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22998 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22999 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23000 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23001 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23002 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23003 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23004 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23005 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23006 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23007 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23008 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23009 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23010 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23011 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23012 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23013 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23014 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23015 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23016 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23017 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23018 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23019 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23020 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23021 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23022 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23023 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23024 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23025 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23026 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23027 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23028 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23029 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23030 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23031 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23032 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23033 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23034 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23035 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23036 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23037 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23038 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23039 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23040 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23041 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23042 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23043 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23044 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23045 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23046 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23047 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23048 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23049 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23050 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23051 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23052 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23053 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23054 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23055 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23056 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23057 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23058 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23059 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23060 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23061 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23062 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23063 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23064 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23065 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23066 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23067 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23068 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23069 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23070 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23071 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23072 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23073 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23074 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23075 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23076 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23077 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23078 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23079 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23080 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23081 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23082 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23083 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23084 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23085 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23086 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23087 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23088 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23089 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23090 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23091 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23092 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23093 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23094 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23095 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23096 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23097 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23098 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23099 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23100 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23101 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23102 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23103 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23104 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23105 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23106 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23107 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23108 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23109 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23110 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23111 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23112 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23113 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23114 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23115 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23116 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23117 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23118 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23119 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23120 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23121 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23122 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23123 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23124 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23125 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23126 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23127 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23128 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23129 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23130 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23131 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23132 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23133 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23134 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23135 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23136 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23137 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23138 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23139 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23140 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23141 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23142 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23143 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23144 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23145 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23146 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23147 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23148 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23149 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23150 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23151 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23152 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23153 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23154 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23155 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23156 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23157 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23158 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23159 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23160 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23161 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23162 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23163 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23164 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23165 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23166 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23167 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23168 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23169 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23170 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23171 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23172 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23173 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23174 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23175 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23176 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23177 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23178 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23179 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23180 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23181 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23182 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23183 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23184 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23185 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23186 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23187 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23188 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23189 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23190 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23191 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23192 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23193 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23194 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23195 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23196 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23197 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23198 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23199 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23200 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23201 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23202 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23203 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23204 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23205 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23206 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23207 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23208 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23209 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23210 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23211 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23212 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23213 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23214 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23215 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23216 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23217 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23218 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23219 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23220 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23221 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23222 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23223 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23224 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23225 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23226 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23227 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23228 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23229 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23230 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23231 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23232 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23233 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23234 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23235 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23236 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23237 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23238 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23239 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23240 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23241 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23242 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23243 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23244 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23245 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23246 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23247 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23248 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23249 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23250 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23251 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23252 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23253 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23254 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23255 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23256 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23257 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23258 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23259 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23260 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23261 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23262 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23263 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23264 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23265 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23266 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23267 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23268 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23269 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23270 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23271 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23272 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23273 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23274 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23275 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23276 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23277 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23278 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23279 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23280 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23281 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23282 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23283 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23284 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23285 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23286 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23287 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23288 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23289 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23290 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23291 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23292 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23293 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23294 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23295 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23296 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23297 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23298 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23299 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23300 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23301 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23302 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23303 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23304 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23305 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23306 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23307 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23308 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23309 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23310 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23311 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23312 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23313 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23314 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23315 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23316 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23317 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23318 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23319 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23320 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23321 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23322 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23323 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23324 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23325 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23326 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23327 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23328 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23329 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23330 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23331 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23332 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23333 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23334 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23335 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23336 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23337 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23338 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23339 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23340 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23341 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23342 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23343 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23344 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23345 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23346 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23347 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23348 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23349 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23350 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23351 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23352 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23353 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23354 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23355 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23356 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23357 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23358 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23359 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23360 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23361 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23362 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23363 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23364 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23365 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23366 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23367 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23368 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23369 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23370 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23371 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23372 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23373 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23374 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23375 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23376 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23377 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23378 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23379 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23380 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23382 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23383 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23384 { (exit 1); exit 1; }; };;
23385 esac
23386 done
23389 # If the user did not use the arguments to specify the items to instantiate,
23390 # then the envvar interface is used. Set only those that are not.
23391 # We use the long form for the default assignment because of an extremely
23392 # bizarre bug on SunOS 4.1.3.
23393 if $ac_need_defaults; then
23394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23399 # Have a temporary directory for convenience. Make it in the build tree
23400 # simply because there is no reason against having it here, and in addition,
23401 # creating and moving files from /tmp can sometimes cause problems.
23402 # Hook for its removal unless debugging.
23403 # Note that there is a small window in which the directory will not be cleaned:
23404 # after its creation but before its name has been assigned to `$tmp'.
23405 $debug ||
23407 tmp=
23408 trap 'exit_status=$?
23409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23411 trap '{ (exit 1); exit 1; }' 1 2 13 15
23413 # Create a (secure) tmp directory for tmp files.
23416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23417 test -n "$tmp" && test -d "$tmp"
23418 } ||
23420 tmp=./conf$$-$RANDOM
23421 (umask 077 && mkdir "$tmp")
23422 } ||
23424 echo "$me: cannot create a temporary directory in ." >&2
23425 { (exit 1); exit 1; }
23429 # Set up the sed scripts for CONFIG_FILES section.
23432 # No need to generate the scripts if there are no CONFIG_FILES.
23433 # This happens for instance when ./config.status config.h
23434 if test -n "$CONFIG_FILES"; then
23436 _ACEOF
23438 # Create sed commands to just substitute file output variables.
23440 # Remaining file output variables are in a fragment that also has non-file
23441 # output varibles.
23445 ac_delim='%!_!# '
23446 for ac_last_try in false false false false false :; do
23447 cat >conf$$subs.sed <<_ACEOF
23448 SHELL!$SHELL$ac_delim
23449 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23450 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23451 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23452 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23453 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23454 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23455 exec_prefix!$exec_prefix$ac_delim
23456 prefix!$prefix$ac_delim
23457 program_transform_name!$program_transform_name$ac_delim
23458 bindir!$bindir$ac_delim
23459 sbindir!$sbindir$ac_delim
23460 libexecdir!$libexecdir$ac_delim
23461 datarootdir!$datarootdir$ac_delim
23462 datadir!$datadir$ac_delim
23463 sysconfdir!$sysconfdir$ac_delim
23464 sharedstatedir!$sharedstatedir$ac_delim
23465 localstatedir!$localstatedir$ac_delim
23466 includedir!$includedir$ac_delim
23467 oldincludedir!$oldincludedir$ac_delim
23468 docdir!$docdir$ac_delim
23469 infodir!$infodir$ac_delim
23470 htmldir!$htmldir$ac_delim
23471 dvidir!$dvidir$ac_delim
23472 pdfdir!$pdfdir$ac_delim
23473 psdir!$psdir$ac_delim
23474 libdir!$libdir$ac_delim
23475 localedir!$localedir$ac_delim
23476 mandir!$mandir$ac_delim
23477 DEFS!$DEFS$ac_delim
23478 ECHO_C!$ECHO_C$ac_delim
23479 ECHO_N!$ECHO_N$ac_delim
23480 ECHO_T!$ECHO_T$ac_delim
23481 LIBS!$LIBS$ac_delim
23482 build_alias!$build_alias$ac_delim
23483 host_alias!$host_alias$ac_delim
23484 target_alias!$target_alias$ac_delim
23485 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23486 build!$build$ac_delim
23487 build_cpu!$build_cpu$ac_delim
23488 build_vendor!$build_vendor$ac_delim
23489 build_os!$build_os$ac_delim
23490 host!$host$ac_delim
23491 host_cpu!$host_cpu$ac_delim
23492 host_vendor!$host_vendor$ac_delim
23493 host_os!$host_os$ac_delim
23494 WIN16_FILES!$WIN16_FILES$ac_delim
23495 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23496 SET_MAKE!$SET_MAKE$ac_delim
23497 CC!$CC$ac_delim
23498 CFLAGS!$CFLAGS$ac_delim
23499 LDFLAGS!$LDFLAGS$ac_delim
23500 CPPFLAGS!$CPPFLAGS$ac_delim
23501 ac_ct_CC!$ac_ct_CC$ac_delim
23502 EXEEXT!$EXEEXT$ac_delim
23503 OBJEXT!$OBJEXT$ac_delim
23504 CXX!$CXX$ac_delim
23505 CXXFLAGS!$CXXFLAGS$ac_delim
23506 ac_ct_CXX!$ac_ct_CXX$ac_delim
23507 CPPBIN!$CPPBIN$ac_delim
23508 TOOLSDIR!$TOOLSDIR$ac_delim
23509 XMKMF!$XMKMF$ac_delim
23510 CPP!$CPP$ac_delim
23511 X_CFLAGS!$X_CFLAGS$ac_delim
23512 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23513 X_LIBS!$X_LIBS$ac_delim
23514 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23515 FLEX!$FLEX$ac_delim
23516 BISON!$BISON$ac_delim
23517 AS!$AS$ac_delim
23518 ac_ct_AS!$ac_ct_AS$ac_delim
23519 LD!$LD$ac_delim
23520 AR!$AR$ac_delim
23521 ARFLAGS!$ARFLAGS$ac_delim
23522 RANLIB!$RANLIB$ac_delim
23523 STRIP!$STRIP$ac_delim
23524 WINDRES!$WINDRES$ac_delim
23525 LN_S!$LN_S$ac_delim
23526 LN!$LN$ac_delim
23527 GREP!$GREP$ac_delim
23528 EGREP!$EGREP$ac_delim
23529 LDCONFIG!$LDCONFIG$ac_delim
23530 _ACEOF
23532 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23533 break
23534 elif $ac_last_try; then
23535 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23536 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23537 { (exit 1); exit 1; }; }
23538 else
23539 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23541 done
23543 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23544 if test -n "$ac_eof"; then
23545 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23546 ac_eof=`expr $ac_eof + 1`
23549 cat >>$CONFIG_STATUS <<_ACEOF
23550 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23552 /^[ ]*@MAKE_RULES@[ ]*$/{
23553 r $MAKE_RULES
23556 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23557 r $MAKE_DLL_RULES
23560 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23561 r $MAKE_IMPLIB_RULES
23564 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23565 r $MAKE_TEST_RULES
23568 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23569 r $MAKE_PROG_RULES
23572 _ACEOF
23573 sed '
23574 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23575 s/^/s,@/; s/!/@,|#_!!_#|/
23578 s/'"$ac_delim"'$/,g/; t
23579 s/$/\\/; p
23580 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23581 ' >>$CONFIG_STATUS <conf$$subs.sed
23582 rm -f conf$$subs.sed
23583 cat >>$CONFIG_STATUS <<_ACEOF
23584 CEOF$ac_eof
23585 _ACEOF
23588 ac_delim='%!_!# '
23589 for ac_last_try in false false false false false :; do
23590 cat >conf$$subs.sed <<_ACEOF
23591 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23592 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23593 INSTALL_DATA!$INSTALL_DATA$ac_delim
23594 LINT!$LINT$ac_delim
23595 LINTFLAGS!$LINTFLAGS$ac_delim
23596 FONTFORGE!$FONTFORGE$ac_delim
23597 PKG_CONFIG!$PKG_CONFIG$ac_delim
23598 RSVG!$RSVG$ac_delim
23599 ICOTOOL!$ICOTOOL$ac_delim
23600 PRELINK!$PRELINK$ac_delim
23601 LIBPTHREAD!$LIBPTHREAD$ac_delim
23602 XLIB!$XLIB$ac_delim
23603 XFILES!$XFILES$ac_delim
23604 OPENGLFILES!$OPENGLFILES$ac_delim
23605 GLU32FILES!$GLU32FILES$ac_delim
23606 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23607 QUARTZFILES!$QUARTZFILES$ac_delim
23608 DLLEXT!$DLLEXT$ac_delim
23609 DLLFLAGS!$DLLFLAGS$ac_delim
23610 LDSHARED!$LDSHARED$ac_delim
23611 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23612 LIBEXT!$LIBEXT$ac_delim
23613 IMPLIBEXT!$IMPLIBEXT$ac_delim
23614 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23615 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23616 LDD!$LDD$ac_delim
23617 DLLTOOL!$DLLTOOL$ac_delim
23618 DLLWRAP!$DLLWRAP$ac_delim
23619 MINGWAR!$MINGWAR$ac_delim
23620 SECURITYLIB!$SECURITYLIB$ac_delim
23621 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23622 IOKITLIB!$IOKITLIB$ac_delim
23623 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23624 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23625 COREAUDIO!$COREAUDIO$ac_delim
23626 CARBONLIB!$CARBONLIB$ac_delim
23627 CROSSTEST!$CROSSTEST$ac_delim
23628 CROSSCC!$CROSSCC$ac_delim
23629 CROSSWINDRES!$CROSSWINDRES$ac_delim
23630 NASLIBS!$NASLIBS$ac_delim
23631 XML2LIBS!$XML2LIBS$ac_delim
23632 XML2INCL!$XML2INCL$ac_delim
23633 XSLTLIBS!$XSLTLIBS$ac_delim
23634 XSLTINCL!$XSLTINCL$ac_delim
23635 HALINCL!$HALINCL$ac_delim
23636 sane_devel!$sane_devel$ac_delim
23637 SANEINCL!$SANEINCL$ac_delim
23638 gphoto2_devel!$gphoto2_devel$ac_delim
23639 gphoto2port_devel!$gphoto2port_devel$ac_delim
23640 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23641 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23642 RESOLVLIBS!$RESOLVLIBS$ac_delim
23643 LCMSLIBS!$LCMSLIBS$ac_delim
23644 LDAPLIBS!$LDAPLIBS$ac_delim
23645 ft_devel!$ft_devel$ac_delim
23646 FREETYPELIBS!$FREETYPELIBS$ac_delim
23647 FREETYPEINCL!$FREETYPEINCL$ac_delim
23648 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23649 ESDCONFIG!$ESDCONFIG$ac_delim
23650 ESDLIBS!$ESDLIBS$ac_delim
23651 ESDINCL!$ESDINCL$ac_delim
23652 ALSALIBS!$ALSALIBS$ac_delim
23653 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23654 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23655 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23656 BUILTINFLAG!$BUILTINFLAG$ac_delim
23657 LDPATH!$LDPATH$ac_delim
23658 CRTLIBS!$CRTLIBS$ac_delim
23659 SOCKETLIBS!$SOCKETLIBS$ac_delim
23660 MAIN_BINARY!$MAIN_BINARY$ac_delim
23661 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23662 LIBDL!$LIBDL$ac_delim
23663 LIBPOLL!$LIBPOLL$ac_delim
23664 DEPENDENCIES!$DEPENDENCIES$ac_delim
23665 LIBOBJS!$LIBOBJS$ac_delim
23666 LTLIBOBJS!$LTLIBOBJS$ac_delim
23667 _ACEOF
23669 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23670 break
23671 elif $ac_last_try; then
23672 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23673 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23674 { (exit 1); exit 1; }; }
23675 else
23676 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23678 done
23680 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23681 if test -n "$ac_eof"; then
23682 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23683 ac_eof=`expr $ac_eof + 1`
23686 cat >>$CONFIG_STATUS <<_ACEOF
23687 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23689 _ACEOF
23690 sed '
23691 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23692 s/^/s,@/; s/!/@,|#_!!_#|/
23695 s/'"$ac_delim"'$/,g/; t
23696 s/$/\\/; p
23697 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23698 ' >>$CONFIG_STATUS <conf$$subs.sed
23699 rm -f conf$$subs.sed
23700 cat >>$CONFIG_STATUS <<_ACEOF
23701 :end
23702 s/|#_!!_#|//g
23703 CEOF$ac_eof
23704 _ACEOF
23707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23709 # trailing colons and then remove the whole line if VPATH becomes empty
23710 # (actually we leave an empty line to preserve line numbers).
23711 if test "x$srcdir" = x.; then
23712 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23713 s/:*\$(srcdir):*/:/
23714 s/:*\${srcdir}:*/:/
23715 s/:*@srcdir@:*/:/
23716 s/^\([^=]*=[ ]*\):*/\1/
23717 s/:*$//
23718 s/^[^=]*=[ ]*$//
23722 cat >>$CONFIG_STATUS <<\_ACEOF
23723 fi # test -n "$CONFIG_FILES"
23726 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23728 case $ac_tag in
23729 :[FHLC]) ac_mode=$ac_tag; continue;;
23730 esac
23731 case $ac_mode$ac_tag in
23732 :[FHL]*:*);;
23733 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23734 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23735 { (exit 1); exit 1; }; };;
23736 :[FH]-) ac_tag=-:-;;
23737 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23738 esac
23739 ac_save_IFS=$IFS
23740 IFS=:
23741 set x $ac_tag
23742 IFS=$ac_save_IFS
23743 shift
23744 ac_file=$1
23745 shift
23747 case $ac_mode in
23748 :L) ac_source=$1;;
23749 :[FH])
23750 ac_file_inputs=
23751 for ac_f
23753 case $ac_f in
23754 -) ac_f="$tmp/stdin";;
23755 *) # Look for the file first in the build tree, then in the source tree
23756 # (if the path is not absolute). The absolute path cannot be DOS-style,
23757 # because $ac_f cannot contain `:'.
23758 test -f "$ac_f" ||
23759 case $ac_f in
23760 [\\/$]*) false;;
23761 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23762 esac ||
23763 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23764 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23765 { (exit 1); exit 1; }; };;
23766 esac
23767 ac_file_inputs="$ac_file_inputs $ac_f"
23768 done
23770 # Let's still pretend it is `configure' which instantiates (i.e., don't
23771 # use $as_me), people would be surprised to read:
23772 # /* config.h. Generated by config.status. */
23773 configure_input="Generated from "`IFS=:
23774 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23775 if test x"$ac_file" != x-; then
23776 configure_input="$ac_file. $configure_input"
23777 { echo "$as_me:$LINENO: creating $ac_file" >&5
23778 echo "$as_me: creating $ac_file" >&6;}
23781 case $ac_tag in
23782 *:-:* | *:-) cat >"$tmp/stdin";;
23783 esac
23785 esac
23787 ac_dir=`$as_dirname -- "$ac_file" ||
23788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23789 X"$ac_file" : 'X\(//\)[^/]' \| \
23790 X"$ac_file" : 'X\(//\)$' \| \
23791 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23792 echo X"$ac_file" |
23793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23794 s//\1/
23797 /^X\(\/\/\)[^/].*/{
23798 s//\1/
23801 /^X\(\/\/\)$/{
23802 s//\1/
23805 /^X\(\/\).*/{
23806 s//\1/
23809 s/.*/./; q'`
23810 { as_dir="$ac_dir"
23811 case $as_dir in #(
23812 -*) as_dir=./$as_dir;;
23813 esac
23814 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23815 as_dirs=
23816 while :; do
23817 case $as_dir in #(
23818 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23819 *) as_qdir=$as_dir;;
23820 esac
23821 as_dirs="'$as_qdir' $as_dirs"
23822 as_dir=`$as_dirname -- "$as_dir" ||
23823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23824 X"$as_dir" : 'X\(//\)[^/]' \| \
23825 X"$as_dir" : 'X\(//\)$' \| \
23826 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23827 echo X"$as_dir" |
23828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23829 s//\1/
23832 /^X\(\/\/\)[^/].*/{
23833 s//\1/
23836 /^X\(\/\/\)$/{
23837 s//\1/
23840 /^X\(\/\).*/{
23841 s//\1/
23844 s/.*/./; q'`
23845 test -d "$as_dir" && break
23846 done
23847 test -z "$as_dirs" || eval "mkdir $as_dirs"
23848 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23849 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23850 { (exit 1); exit 1; }; }; }
23851 ac_builddir=.
23853 case "$ac_dir" in
23854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23857 # A ".." for each directory in $ac_dir_suffix.
23858 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23859 case $ac_top_builddir_sub in
23860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23862 esac ;;
23863 esac
23864 ac_abs_top_builddir=$ac_pwd
23865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23866 # for backward compatibility:
23867 ac_top_builddir=$ac_top_build_prefix
23869 case $srcdir in
23870 .) # We are building in place.
23871 ac_srcdir=.
23872 ac_top_srcdir=$ac_top_builddir_sub
23873 ac_abs_top_srcdir=$ac_pwd ;;
23874 [\\/]* | ?:[\\/]* ) # Absolute name.
23875 ac_srcdir=$srcdir$ac_dir_suffix;
23876 ac_top_srcdir=$srcdir
23877 ac_abs_top_srcdir=$srcdir ;;
23878 *) # Relative name.
23879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23880 ac_top_srcdir=$ac_top_build_prefix$srcdir
23881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23882 esac
23883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23886 case $ac_mode in
23889 # CONFIG_FILE
23892 case $INSTALL in
23893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23895 esac
23896 _ACEOF
23898 cat >>$CONFIG_STATUS <<\_ACEOF
23899 # If the template does not know about datarootdir, expand it.
23900 # FIXME: This hack should be removed a few years after 2.60.
23901 ac_datarootdir_hack=; ac_datarootdir_seen=
23903 case `sed -n '/datarootdir/ {
23907 /@datadir@/p
23908 /@docdir@/p
23909 /@infodir@/p
23910 /@localedir@/p
23911 /@mandir@/p
23912 ' $ac_file_inputs` in
23913 *datarootdir*) ac_datarootdir_seen=yes;;
23914 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23915 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23916 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23917 _ACEOF
23918 cat >>$CONFIG_STATUS <<_ACEOF
23919 ac_datarootdir_hack='
23920 s&@datadir@&$datadir&g
23921 s&@docdir@&$docdir&g
23922 s&@infodir@&$infodir&g
23923 s&@localedir@&$localedir&g
23924 s&@mandir@&$mandir&g
23925 s&\\\${datarootdir}&$datarootdir&g' ;;
23926 esac
23927 _ACEOF
23929 # Neutralize VPATH when `$srcdir' = `.'.
23930 # Shell code in configure.ac might set extrasub.
23931 # FIXME: do we really want to maintain this feature?
23932 cat >>$CONFIG_STATUS <<_ACEOF
23933 sed "$ac_vpsub
23934 $extrasub
23935 _ACEOF
23936 cat >>$CONFIG_STATUS <<\_ACEOF
23938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23939 s&@configure_input@&$configure_input&;t t
23940 s&@top_builddir@&$ac_top_builddir_sub&;t t
23941 s&@srcdir@&$ac_srcdir&;t t
23942 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23943 s&@top_srcdir@&$ac_top_srcdir&;t t
23944 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23945 s&@builddir@&$ac_builddir&;t t
23946 s&@abs_builddir@&$ac_abs_builddir&;t t
23947 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23948 s&@INSTALL@&$ac_INSTALL&;t t
23949 $ac_datarootdir_hack
23950 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23952 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23953 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23954 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23955 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23956 which seems to be undefined. Please make sure it is defined." >&5
23957 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23958 which seems to be undefined. Please make sure it is defined." >&2;}
23960 rm -f "$tmp/stdin"
23961 case $ac_file in
23962 -) cat "$tmp/out"; rm -f "$tmp/out";;
23963 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23964 esac
23968 # CONFIG_HEADER
23970 _ACEOF
23972 # Transform confdefs.h into a sed script `conftest.defines', that
23973 # substitutes the proper values into config.h.in to produce config.h.
23974 rm -f conftest.defines conftest.tail
23975 # First, append a space to every undef/define line, to ease matching.
23976 echo 's/$/ /' >conftest.defines
23977 # Then, protect against being on the right side of a sed subst, or in
23978 # an unquoted here document, in config.status. If some macros were
23979 # called several times there might be several #defines for the same
23980 # symbol, which is useless. But do not sort them, since the last
23981 # AC_DEFINE must be honored.
23982 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23983 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23984 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23985 # PARAMS is the parameter list in the macro definition--in most cases, it's
23986 # just an empty string.
23987 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23988 ac_dB='\\)[ (].*,\\1define\\2'
23989 ac_dC=' '
23990 ac_dD=' ,'
23992 uniq confdefs.h |
23993 sed -n '
23994 t rset
23995 :rset
23996 s/^[ ]*#[ ]*define[ ][ ]*//
23997 t ok
24000 s/[\\&,]/\\&/g
24001 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24002 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24003 ' >>conftest.defines
24005 # Remove the space that was appended to ease matching.
24006 # Then replace #undef with comments. This is necessary, for
24007 # example, in the case of _POSIX_SOURCE, which is predefined and required
24008 # on some systems where configure will not decide to define it.
24009 # (The regexp can be short, since the line contains either #define or #undef.)
24010 echo 's/ $//
24011 s,^[ #]*u.*,/* & */,' >>conftest.defines
24013 # Break up conftest.defines:
24014 ac_max_sed_lines=50
24016 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24017 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24018 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24019 # et cetera.
24020 ac_in='$ac_file_inputs'
24021 ac_out='"$tmp/out1"'
24022 ac_nxt='"$tmp/out2"'
24024 while :
24026 # Write a here document:
24027 cat >>$CONFIG_STATUS <<_ACEOF
24028 # First, check the format of the line:
24029 cat >"\$tmp/defines.sed" <<\\CEOF
24030 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24031 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24033 :def
24034 _ACEOF
24035 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24036 echo 'CEOF
24037 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24038 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24039 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24040 grep . conftest.tail >/dev/null || break
24041 rm -f conftest.defines
24042 mv conftest.tail conftest.defines
24043 done
24044 rm -f conftest.defines conftest.tail
24046 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24047 cat >>$CONFIG_STATUS <<\_ACEOF
24048 if test x"$ac_file" != x-; then
24049 echo "/* $configure_input */" >"$tmp/config.h"
24050 cat "$ac_result" >>"$tmp/config.h"
24051 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24053 echo "$as_me: $ac_file is unchanged" >&6;}
24054 else
24055 rm -f $ac_file
24056 mv "$tmp/config.h" $ac_file
24058 else
24059 echo "/* $configure_input */"
24060 cat "$ac_result"
24062 rm -f "$tmp/out12"
24065 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24066 echo "$as_me: executing $ac_file commands" >&6;}
24068 esac
24071 case $ac_file$ac_mode in
24072 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24073 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24074 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24075 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24076 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24077 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24078 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24079 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24080 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24081 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24082 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24083 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24084 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24086 esac
24087 done # for ac_tag
24090 { (exit 0); exit 0; }
24091 _ACEOF
24092 chmod +x $CONFIG_STATUS
24093 ac_clean_files=$ac_clean_files_save
24096 # configure is writing to config.log, and then calls config.status.
24097 # config.status does its own redirection, appending to config.log.
24098 # Unfortunately, on DOS this fails, as config.log is still kept open
24099 # by configure, so config.status won't be able to write to it; its
24100 # output is simply discarded. So we exec the FD to /dev/null,
24101 # effectively closing config.log, so it can be properly (re)opened and
24102 # appended to by config.status. When coming back to configure, we
24103 # need to make the FD available again.
24104 if test "$no_create" != yes; then
24105 ac_cs_success=:
24106 ac_config_status_args=
24107 test "$silent" = yes &&
24108 ac_config_status_args="$ac_config_status_args --quiet"
24109 exec 5>/dev/null
24110 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24111 exec 5>>config.log
24112 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24113 # would make configure fail if this is the last instruction.
24114 $ac_cs_success || { (exit 1); exit 1; }
24118 if test "$no_create" = "yes"
24119 then
24120 exit 0
24123 ac_save_IFS="$IFS"
24124 IFS="|"
24125 if test "x$wine_notices != "x; then
24126 echo >&6
24127 for msg in $wine_notices; do
24128 if test -n "$msg"; then
24129 { echo "$as_me:$LINENO: $msg" >&5
24130 echo "$as_me: $msg" >&6;}
24132 done
24134 for msg in $wine_warnings; do
24135 if test -n "$msg"; then
24136 echo >&2
24137 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24138 echo "$as_me: WARNING: $msg" >&2;}
24140 done
24141 IFS="$ac_save_IFS"
24143 echo "
24144 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24145 " >&6