oleaut32: Simplify two conditions based on the fact that unsigned variables cannot...
[wine/wine64.git] / configure
blob63ae5239c698d73f44f9037e6bd8717a5c6d8abb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.49.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.49'
578 PACKAGE_STRING='Wine 0.9.49'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 RESOLVLIBS
747 LCMSLIBS
748 LDAPLIBS
749 ft_devel
750 FREETYPELIBS
751 FREETYPEINCL
752 FONTSSUBDIRS
753 ESDCONFIG
754 ESDLIBS
755 ESDINCL
756 ALSALIBS
757 AUDIOIOLIBS
758 FONTCONFIGINCL
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.49 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.49:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.49
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.49, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$CXX"|| CXX="g++ -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
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 shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6320 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lpthread $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char pthread_create ();
6341 main ()
6343 return pthread_create ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_pthread_pthread_create=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_pthread_pthread_create=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6379 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6380 if test $ac_cv_lib_pthread_pthread_create = yes; then
6381 LIBPTHREAD="-lpthread"
6386 XLIB=""
6388 XFILES=""
6390 OPENGLFILES=""
6392 GLU32FILES=""
6394 OPENGL_LIBS=""
6396 QUARTZFILES=""
6400 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6402 if test "${ac_cv_header_stdc+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 else
6405 cat >conftest.$ac_ext <<_ACEOF
6406 /* confdefs.h. */
6407 _ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6411 #include <stdlib.h>
6412 #include <stdarg.h>
6413 #include <string.h>
6414 #include <float.h>
6417 main ()
6421 return 0;
6423 _ACEOF
6424 rm -f conftest.$ac_objext
6425 if { (ac_try="$ac_compile"
6426 case "(($ac_try" in
6427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6429 esac
6430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431 (eval "$ac_compile") 2>conftest.er1
6432 ac_status=$?
6433 grep -v '^ *+' conftest.er1 >conftest.err
6434 rm -f conftest.er1
6435 cat conftest.err >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && {
6438 test -z "$ac_c_werror_flag" ||
6439 test ! -s conftest.err
6440 } && test -s conftest.$ac_objext; then
6441 ac_cv_header_stdc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_cv_header_stdc=no
6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6451 if test $ac_cv_header_stdc = yes; then
6452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 #include <string.h>
6461 _ACEOF
6462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6463 $EGREP "memchr" >/dev/null 2>&1; then
6465 else
6466 ac_cv_header_stdc=no
6468 rm -f conftest*
6472 if test $ac_cv_header_stdc = yes; then
6473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6474 cat >conftest.$ac_ext <<_ACEOF
6475 /* confdefs.h. */
6476 _ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <stdlib.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "free" >/dev/null 2>&1; then
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6495 if test "$cross_compiling" = yes; then
6497 else
6498 cat >conftest.$ac_ext <<_ACEOF
6499 /* confdefs.h. */
6500 _ACEOF
6501 cat confdefs.h >>conftest.$ac_ext
6502 cat >>conftest.$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include <ctype.h>
6505 #include <stdlib.h>
6506 #if ((' ' & 0x0FF) == 0x020)
6507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6509 #else
6510 # define ISLOWER(c) \
6511 (('a' <= (c) && (c) <= 'i') \
6512 || ('j' <= (c) && (c) <= 'r') \
6513 || ('s' <= (c) && (c) <= 'z'))
6514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6515 #endif
6517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6519 main ()
6521 int i;
6522 for (i = 0; i < 256; i++)
6523 if (XOR (islower (i), ISLOWER (i))
6524 || toupper (i) != TOUPPER (i))
6525 return 2;
6526 return 0;
6528 _ACEOF
6529 rm -f conftest$ac_exeext
6530 if { (ac_try="$ac_link"
6531 case "(($ac_try" in
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6534 esac
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_link") 2>&5
6537 ac_status=$?
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6540 { (case "(($ac_try" in
6541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6542 *) ac_try_echo=$ac_try;;
6543 esac
6544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6545 (eval "$ac_try") 2>&5
6546 ac_status=$?
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6550 else
6551 echo "$as_me: program exited with status $ac_status" >&5
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ( exit $ac_status )
6556 ac_cv_header_stdc=no
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6564 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6568 cat >>confdefs.h <<\_ACEOF
6569 #define STDC_HEADERS 1
6570 _ACEOF
6574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6585 inttypes.h stdint.h unistd.h
6587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 else
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 $ac_includes_default
6601 #include <$ac_header>
6602 _ACEOF
6603 rm -f conftest.$ac_objext
6604 if { (ac_try="$ac_compile"
6605 case "(($ac_try" in
6606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6608 esac
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_compile") 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } && {
6617 test -z "$ac_c_werror_flag" ||
6618 test ! -s conftest.err
6619 } && test -s conftest.$ac_objext; then
6620 eval "$as_ac_Header=yes"
6621 else
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 eval "$as_ac_Header=no"
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 ac_res=`eval echo '${'$as_ac_Header'}'`
6631 { echo "$as_me:$LINENO: result: $ac_res" >&5
6632 echo "${ECHO_T}$ac_res" >&6; }
6633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 _ACEOF
6640 done
6753 for ac_header in \
6754 AudioUnit/AudioUnit.h \
6755 Carbon/Carbon.h \
6756 CoreAudio/CoreAudio.h \
6757 DiskArbitration/DiskArbitration.h \
6758 IOKit/IOKitLib.h \
6759 alsa/asoundlib.h \
6760 arpa/inet.h \
6761 arpa/nameser.h \
6762 asm/types.h \
6763 capi20.h \
6764 cups/cups.h \
6765 curses.h \
6766 direct.h \
6767 dlfcn.h \
6768 elf.h \
6769 float.h \
6770 fontconfig/fontconfig.h \
6771 getopt.h \
6772 ieeefp.h \
6773 io.h \
6774 jack/jack.h \
6775 jpeglib.h \
6776 lber.h \
6777 lcms.h \
6778 lcms/lcms.h \
6779 ldap.h \
6780 libaudioio.h \
6781 link.h \
6782 linux/cdrom.h \
6783 linux/compiler.h \
6784 linux/hdreg.h \
6785 linux/input.h \
6786 linux/ioctl.h \
6787 linux/joystick.h \
6788 linux/major.h \
6789 linux/param.h \
6790 linux/serial.h \
6791 linux/ucdrom.h \
6792 mach/mach.h \
6793 mach/machine.h \
6794 machine/cpu.h \
6795 machine/limits.h \
6796 machine/soundcard.h \
6797 mntent.h \
6798 ncurses.h \
6799 netdb.h \
6800 netinet/in.h \
6801 netinet/in_systm.h \
6802 netinet/tcp.h \
6803 netinet/tcp_fsm.h \
6804 openssl/err.h \
6805 openssl/ssl.h \
6806 png.h \
6807 poll.h \
6808 process.h \
6809 pthread.h \
6810 pwd.h \
6811 regex.h \
6812 sched.h \
6813 scsi/scsi.h \
6814 scsi/scsi_ioctl.h \
6815 scsi/sg.h \
6816 soundcard.h \
6817 stdint.h \
6818 strings.h \
6819 sys/asoundlib.h \
6820 sys/cdio.h \
6821 sys/elf32.h \
6822 sys/epoll.h \
6823 sys/errno.h \
6824 sys/event.h \
6825 sys/exec_elf.h \
6826 sys/filio.h \
6827 sys/ioctl.h \
6828 sys/ipc.h \
6829 sys/limits.h \
6830 sys/link.h \
6831 sys/lwp.h \
6832 sys/mman.h \
6833 sys/modem.h \
6834 sys/msg.h \
6835 sys/mtio.h \
6836 sys/param.h \
6837 sys/poll.h \
6838 sys/prctl.h \
6839 sys/ptrace.h \
6840 sys/reg.h \
6841 sys/resource.h \
6842 sys/scsiio.h \
6843 sys/shm.h \
6844 sys/signal.h \
6845 sys/socket.h \
6846 sys/socketvar.h \
6847 sys/sockio.h \
6848 sys/soundcard.h \
6849 sys/statvfs.h \
6850 sys/strtio.h \
6851 sys/syscall.h \
6852 sys/sysctl.h \
6853 sys/time.h \
6854 sys/times.h \
6855 sys/uio.h \
6856 sys/un.h \
6857 sys/vm86.h \
6858 sys/wait.h \
6859 syscall.h \
6860 termios.h \
6861 unistd.h \
6862 utime.h \
6863 valgrind/memcheck.h
6866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 ac_res=`eval echo '${'$as_ac_Header'}'`
6874 { echo "$as_me:$LINENO: result: $ac_res" >&5
6875 echo "${ECHO_T}$ac_res" >&6; }
6876 else
6877 # Is the header compilable?
6878 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6880 cat >conftest.$ac_ext <<_ACEOF
6881 /* confdefs.h. */
6882 _ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 $ac_includes_default
6887 #include <$ac_header>
6888 _ACEOF
6889 rm -f conftest.$ac_objext
6890 if { (ac_try="$ac_compile"
6891 case "(($ac_try" in
6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6893 *) ac_try_echo=$ac_try;;
6894 esac
6895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6896 (eval "$ac_compile") 2>conftest.er1
6897 ac_status=$?
6898 grep -v '^ *+' conftest.er1 >conftest.err
6899 rm -f conftest.er1
6900 cat conftest.err >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } && {
6903 test -z "$ac_c_werror_flag" ||
6904 test ! -s conftest.err
6905 } && test -s conftest.$ac_objext; then
6906 ac_header_compiler=yes
6907 else
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ac_header_compiler=no
6914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6915 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6916 echo "${ECHO_T}$ac_header_compiler" >&6; }
6918 # Is the header present?
6919 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
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 #include <$ac_header>
6928 _ACEOF
6929 if { (ac_try="$ac_cpp conftest.$ac_ext"
6930 case "(($ac_try" in
6931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6932 *) ac_try_echo=$ac_try;;
6933 esac
6934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6935 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6936 ac_status=$?
6937 grep -v '^ *+' conftest.er1 >conftest.err
6938 rm -f conftest.er1
6939 cat conftest.err >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } >/dev/null && {
6942 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6943 test ! -s conftest.err
6944 }; then
6945 ac_header_preproc=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 ac_header_preproc=no
6953 rm -f conftest.err conftest.$ac_ext
6954 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6955 echo "${ECHO_T}$ac_header_preproc" >&6; }
6957 # So? What about this header?
6958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6959 yes:no: )
6960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6964 ac_header_preproc=yes
6966 no:yes:* )
6967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6979 ( cat <<\_ASBOX
6980 ## ------------------------------------ ##
6981 ## Report this to wine-devel@winehq.org ##
6982 ## ------------------------------------ ##
6983 _ASBOX
6984 ) | sed "s/^/$as_me: WARNING: /" >&2
6986 esac
6987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 else
6992 eval "$as_ac_Header=\$ac_header_preproc"
6994 ac_res=`eval echo '${'$as_ac_Header'}'`
6995 { echo "$as_me:$LINENO: result: $ac_res" >&5
6996 echo "${ECHO_T}$ac_res" >&6; }
6999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7008 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7009 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7010 if test "${ac_cv_header_stat_broken+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 else
7013 cat >conftest.$ac_ext <<_ACEOF
7014 /* confdefs.h. */
7015 _ACEOF
7016 cat confdefs.h >>conftest.$ac_ext
7017 cat >>conftest.$ac_ext <<_ACEOF
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 #include <sys/stat.h>
7022 #if defined S_ISBLK && defined S_IFDIR
7023 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7024 #endif
7026 #if defined S_ISBLK && defined S_IFCHR
7027 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7028 #endif
7030 #if defined S_ISLNK && defined S_IFREG
7031 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7032 #endif
7034 #if defined S_ISSOCK && defined S_IFREG
7035 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7036 #endif
7038 _ACEOF
7039 rm -f conftest.$ac_objext
7040 if { (ac_try="$ac_compile"
7041 case "(($ac_try" in
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7044 esac
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_compile") 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } && {
7053 test -z "$ac_c_werror_flag" ||
7054 test ! -s conftest.err
7055 } && test -s conftest.$ac_objext; then
7056 ac_cv_header_stat_broken=no
7057 else
7058 echo "$as_me: failed program was:" >&5
7059 sed 's/^/| /' conftest.$ac_ext >&5
7061 ac_cv_header_stat_broken=yes
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7067 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7068 if test $ac_cv_header_stat_broken = yes; then
7070 cat >>confdefs.h <<\_ACEOF
7071 #define STAT_MACROS_BROKEN 1
7072 _ACEOF
7082 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 else
7090 cat >conftest.$ac_ext <<_ACEOF
7091 /* confdefs.h. */
7092 _ACEOF
7093 cat confdefs.h >>conftest.$ac_ext
7094 cat >>conftest.$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 #include <sys/types.h>
7097 #if HAVE_SYS_PARAM_H
7098 # include <sys/param.h>
7099 #endif
7101 #include <$ac_header>
7102 _ACEOF
7103 rm -f conftest.$ac_objext
7104 if { (ac_try="$ac_compile"
7105 case "(($ac_try" in
7106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7107 *) ac_try_echo=$ac_try;;
7108 esac
7109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 (eval "$ac_compile") 2>conftest.er1
7111 ac_status=$?
7112 grep -v '^ *+' conftest.er1 >conftest.err
7113 rm -f conftest.er1
7114 cat conftest.err >&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } && {
7117 test -z "$ac_c_werror_flag" ||
7118 test ! -s conftest.err
7119 } && test -s conftest.$ac_objext; then
7120 eval "$as_ac_Header=yes"
7121 else
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.$ac_ext >&5
7125 eval "$as_ac_Header=no"
7128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 ac_res=`eval echo '${'$as_ac_Header'}'`
7131 { echo "$as_me:$LINENO: result: $ac_res" >&5
7132 echo "${ECHO_T}$ac_res" >&6; }
7133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7134 cat >>confdefs.h <<_ACEOF
7135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7151 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
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <sys/types.h>
7166 #if HAVE_SYS_SOCKET_H
7167 # include <sys/socket.h>
7168 #endif
7169 #if HAVE_SYS_SOCKETVAR_H
7170 # include <sys/socketvar.h>
7171 #endif
7172 #if HAVE_NETINET_IN_H
7173 # include <netinet/in.h>
7174 #endif
7176 #include <$ac_header>
7177 _ACEOF
7178 rm -f conftest.$ac_objext
7179 if { (ac_try="$ac_compile"
7180 case "(($ac_try" in
7181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7182 *) ac_try_echo=$ac_try;;
7183 esac
7184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7185 (eval "$ac_compile") 2>conftest.er1
7186 ac_status=$?
7187 grep -v '^ *+' conftest.er1 >conftest.err
7188 rm -f conftest.er1
7189 cat conftest.err >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); } && {
7192 test -z "$ac_c_werror_flag" ||
7193 test ! -s conftest.err
7194 } && test -s conftest.$ac_objext; then
7195 eval "$as_ac_Header=yes"
7196 else
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 eval "$as_ac_Header=no"
7203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7205 ac_res=`eval echo '${'$as_ac_Header'}'`
7206 { echo "$as_me:$LINENO: result: $ac_res" >&5
7207 echo "${ECHO_T}$ac_res" >&6; }
7208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7209 cat >>confdefs.h <<_ACEOF
7210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7211 _ACEOF
7215 done
7219 for ac_header in netinet/tcp_var.h
7221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 else
7227 cat >conftest.$ac_ext <<_ACEOF
7228 /* confdefs.h. */
7229 _ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 #include <sys/types.h>
7234 #if HAVE_SYS_SOCKET_H
7235 # include <sys/socket.h>
7236 #endif
7237 #if HAVE_SYS_SOCKETVAR_H
7238 # include <sys/socketvar.h>
7239 #endif
7240 #if HAVE_NETINET_IN_H
7241 # include <netinet/in.h>
7242 #endif
7243 #ifdef HAVE_NETINET_TCP_H
7244 # include <netinet/tcp.h>
7245 #endif
7247 #include <$ac_header>
7248 _ACEOF
7249 rm -f conftest.$ac_objext
7250 if { (ac_try="$ac_compile"
7251 case "(($ac_try" in
7252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7253 *) ac_try_echo=$ac_try;;
7254 esac
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256 (eval "$ac_compile") 2>conftest.er1
7257 ac_status=$?
7258 grep -v '^ *+' conftest.er1 >conftest.err
7259 rm -f conftest.er1
7260 cat conftest.err >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } && {
7263 test -z "$ac_c_werror_flag" ||
7264 test ! -s conftest.err
7265 } && test -s conftest.$ac_objext; then
7266 eval "$as_ac_Header=yes"
7267 else
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7271 eval "$as_ac_Header=no"
7274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7276 ac_res=`eval echo '${'$as_ac_Header'}'`
7277 { echo "$as_me:$LINENO: result: $ac_res" >&5
7278 echo "${ECHO_T}$ac_res" >&6; }
7279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7280 cat >>confdefs.h <<_ACEOF
7281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 _ACEOF
7286 done
7290 for ac_header in linux/ipx.h
7292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 else
7298 cat >conftest.$ac_ext <<_ACEOF
7299 /* confdefs.h. */
7300 _ACEOF
7301 cat confdefs.h >>conftest.$ac_ext
7302 cat >>conftest.$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 #include <sys/types.h>
7305 #ifdef HAVE_ASM_TYPES_H
7306 # include <asm/types.h>
7307 #endif
7308 #if HAVE_SYS_SOCKET_H
7309 # include <sys/socket.h>
7310 #endif
7312 #include <$ac_header>
7313 _ACEOF
7314 rm -f conftest.$ac_objext
7315 if { (ac_try="$ac_compile"
7316 case "(($ac_try" in
7317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318 *) ac_try_echo=$ac_try;;
7319 esac
7320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321 (eval "$ac_compile") 2>conftest.er1
7322 ac_status=$?
7323 grep -v '^ *+' conftest.er1 >conftest.err
7324 rm -f conftest.er1
7325 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && {
7328 test -z "$ac_c_werror_flag" ||
7329 test ! -s conftest.err
7330 } && test -s conftest.$ac_objext; then
7331 eval "$as_ac_Header=yes"
7332 else
7333 echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7336 eval "$as_ac_Header=no"
7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7341 ac_res=`eval echo '${'$as_ac_Header'}'`
7342 { echo "$as_me:$LINENO: result: $ac_res" >&5
7343 echo "${ECHO_T}$ac_res" >&6; }
7344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7345 cat >>confdefs.h <<_ACEOF
7346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 _ACEOF
7351 done
7355 for ac_header in resolv.h
7357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7362 else
7363 cat >conftest.$ac_ext <<_ACEOF
7364 /* confdefs.h. */
7365 _ACEOF
7366 cat confdefs.h >>conftest.$ac_ext
7367 cat >>conftest.$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 #include <sys/types.h>
7370 #if HAVE_SYS_SOCKET_H
7371 # include <sys/socket.h>
7372 #endif
7373 #if HAVE_NETINET_IN_H
7374 # include <netinet/in.h>
7375 #endif
7376 #if HAVE_ARPA_NAMESER_H
7377 # include <arpa/nameser.h>
7378 #endif
7380 #include <$ac_header>
7381 _ACEOF
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7384 case "(($ac_try" in
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7387 esac
7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7389 (eval "$ac_compile") 2>conftest.er1
7390 ac_status=$?
7391 grep -v '^ *+' conftest.er1 >conftest.err
7392 rm -f conftest.er1
7393 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && {
7396 test -z "$ac_c_werror_flag" ||
7397 test ! -s conftest.err
7398 } && test -s conftest.$ac_objext; then
7399 eval "$as_ac_Header=yes"
7400 else
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 eval "$as_ac_Header=no"
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409 ac_res=`eval echo '${'$as_ac_Header'}'`
7410 { echo "$as_me:$LINENO: result: $ac_res" >&5
7411 echo "${ECHO_T}$ac_res" >&6; }
7412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7413 cat >>confdefs.h <<_ACEOF
7414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 _ACEOF
7419 done
7423 for ac_header in ucontext.h
7425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 else
7431 cat >conftest.$ac_ext <<_ACEOF
7432 /* confdefs.h. */
7433 _ACEOF
7434 cat confdefs.h >>conftest.$ac_ext
7435 cat >>conftest.$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 #include <signal.h>
7439 #include <$ac_header>
7440 _ACEOF
7441 rm -f conftest.$ac_objext
7442 if { (ac_try="$ac_compile"
7443 case "(($ac_try" in
7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7446 esac
7447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7448 (eval "$ac_compile") 2>conftest.er1
7449 ac_status=$?
7450 grep -v '^ *+' conftest.er1 >conftest.err
7451 rm -f conftest.er1
7452 cat conftest.err >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); } && {
7455 test -z "$ac_c_werror_flag" ||
7456 test ! -s conftest.err
7457 } && test -s conftest.$ac_objext; then
7458 eval "$as_ac_Header=yes"
7459 else
7460 echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.$ac_ext >&5
7463 eval "$as_ac_Header=no"
7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7468 ac_res=`eval echo '${'$as_ac_Header'}'`
7469 { echo "$as_me:$LINENO: result: $ac_res" >&5
7470 echo "${ECHO_T}$ac_res" >&6; }
7471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7472 cat >>confdefs.h <<_ACEOF
7473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 _ACEOF
7478 done
7482 for ac_header in sys/thr.h
7484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7485 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7488 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 else
7490 cat >conftest.$ac_ext <<_ACEOF
7491 /* confdefs.h. */
7492 _ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7496 #include <sys/types.h>
7497 #if HAVE_UCONTEXT_H
7498 #include <ucontext.h>
7499 #endif
7501 #include <$ac_header>
7502 _ACEOF
7503 rm -f conftest.$ac_objext
7504 if { (ac_try="$ac_compile"
7505 case "(($ac_try" in
7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7507 *) ac_try_echo=$ac_try;;
7508 esac
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_compile") 2>conftest.er1
7511 ac_status=$?
7512 grep -v '^ *+' conftest.er1 >conftest.err
7513 rm -f conftest.er1
7514 cat conftest.err >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } && {
7517 test -z "$ac_c_werror_flag" ||
7518 test ! -s conftest.err
7519 } && test -s conftest.$ac_objext; then
7520 eval "$as_ac_Header=yes"
7521 else
7522 echo "$as_me: failed program was:" >&5
7523 sed 's/^/| /' conftest.$ac_ext >&5
7525 eval "$as_ac_Header=no"
7528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7530 ac_res=`eval echo '${'$as_ac_Header'}'`
7531 { echo "$as_me:$LINENO: result: $ac_res" >&5
7532 echo "${ECHO_T}$ac_res" >&6; }
7533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7534 cat >>confdefs.h <<_ACEOF
7535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7536 _ACEOF
7540 done
7544 for ac_header in pthread_np.h
7546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 else
7552 cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h. */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #ifdef HAVE_PTHREAD_H
7559 #include <pthread.h>
7560 #endif
7562 #include <$ac_header>
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (ac_try="$ac_compile"
7566 case "(($ac_try" in
7567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7568 *) ac_try_echo=$ac_try;;
7569 esac
7570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7571 (eval "$ac_compile") 2>conftest.er1
7572 ac_status=$?
7573 grep -v '^ *+' conftest.er1 >conftest.err
7574 rm -f conftest.er1
7575 cat conftest.err >&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } && {
7578 test -z "$ac_c_werror_flag" ||
7579 test ! -s conftest.err
7580 } && test -s conftest.$ac_objext; then
7581 eval "$as_ac_Header=yes"
7582 else
7583 echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.$ac_ext >&5
7586 eval "$as_ac_Header=no"
7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7591 ac_res=`eval echo '${'$as_ac_Header'}'`
7592 { echo "$as_me:$LINENO: result: $ac_res" >&5
7593 echo "${ECHO_T}$ac_res" >&6; }
7594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7595 cat >>confdefs.h <<_ACEOF
7596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 _ACEOF
7601 done
7605 for ac_header in linux/videodev.h
7607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7612 else
7613 cat >conftest.$ac_ext <<_ACEOF
7614 /* confdefs.h. */
7615 _ACEOF
7616 cat confdefs.h >>conftest.$ac_ext
7617 cat >>conftest.$ac_ext <<_ACEOF
7618 /* end confdefs.h. */
7619 #ifdef HAVE_SYS_TIME_H
7620 #include <sys/time.h>
7621 #endif
7622 #include <sys/types.h>
7623 #ifdef HAVE_ASM_TYPES_H
7624 #include <asm/types.h>
7625 #endif
7627 #include <$ac_header>
7628 _ACEOF
7629 rm -f conftest.$ac_objext
7630 if { (ac_try="$ac_compile"
7631 case "(($ac_try" in
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7634 esac
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_compile") 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && {
7643 test -z "$ac_c_werror_flag" ||
7644 test ! -s conftest.err
7645 } && test -s conftest.$ac_objext; then
7646 eval "$as_ac_Header=yes"
7647 else
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.$ac_ext >&5
7651 eval "$as_ac_Header=no"
7654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7656 ac_res=`eval echo '${'$as_ac_Header'}'`
7657 { echo "$as_me:$LINENO: result: $ac_res" >&5
7658 echo "${ECHO_T}$ac_res" >&6; }
7659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7660 cat >>confdefs.h <<_ACEOF
7661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7670 for ac_header in linux/capi.h
7672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 else
7678 cat >conftest.$ac_ext <<_ACEOF
7679 /* confdefs.h. */
7680 _ACEOF
7681 cat confdefs.h >>conftest.$ac_ext
7682 cat >>conftest.$ac_ext <<_ACEOF
7683 /* end confdefs.h. */
7684 #define __user
7686 #include <$ac_header>
7687 _ACEOF
7688 rm -f conftest.$ac_objext
7689 if { (ac_try="$ac_compile"
7690 case "(($ac_try" in
7691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7692 *) ac_try_echo=$ac_try;;
7693 esac
7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7695 (eval "$ac_compile") 2>conftest.er1
7696 ac_status=$?
7697 grep -v '^ *+' conftest.er1 >conftest.err
7698 rm -f conftest.er1
7699 cat conftest.err >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } && {
7702 test -z "$ac_c_werror_flag" ||
7703 test ! -s conftest.err
7704 } && test -s conftest.$ac_objext; then
7705 eval "$as_ac_Header=yes"
7706 else
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7710 eval "$as_ac_Header=no"
7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7715 ac_res=`eval echo '${'$as_ac_Header'}'`
7716 { echo "$as_me:$LINENO: result: $ac_res" >&5
7717 echo "${ECHO_T}$ac_res" >&6; }
7718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7719 cat >>confdefs.h <<_ACEOF
7720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7729 DLLEXT=""
7731 DLLFLAGS="-D_REENTRANT"
7733 LDSHARED=""
7735 LDDLLFLAGS=""
7737 LIBEXT="so"
7739 IMPLIBEXT="def"
7741 LDRPATH_INSTALL=""
7743 LDRPATH_LOCAL=""
7745 # Extract the first word of "ldd", so it can be a program name with args.
7746 set dummy ldd; ac_word=$2
7747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7749 if test "${ac_cv_path_LDD+set}" = set; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 else
7752 case $LDD in
7753 [\\/]* | ?:[\\/]*)
7754 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 as_dummy="/sbin:/usr/sbin:$PATH"
7759 for as_dir in $as_dummy
7761 IFS=$as_save_IFS
7762 test -z "$as_dir" && as_dir=.
7763 for ac_exec_ext in '' $ac_executable_extensions; do
7764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7765 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7767 break 2
7769 done
7770 done
7771 IFS=$as_save_IFS
7773 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7775 esac
7777 LDD=$ac_cv_path_LDD
7778 if test -n "$LDD"; then
7779 { echo "$as_me:$LINENO: result: $LDD" >&5
7780 echo "${ECHO_T}$LDD" >&6; }
7781 else
7782 { echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6; }
7788 case $host_os in
7789 cygwin*|mingw32*)
7790 if test -n "$ac_tool_prefix"; then
7791 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7792 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7795 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 else
7798 if test -n "$DLLTOOL"; then
7799 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7800 else
7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 for as_dir in $PATH
7804 IFS=$as_save_IFS
7805 test -z "$as_dir" && as_dir=.
7806 for ac_exec_ext in '' $ac_executable_extensions; do
7807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7808 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7810 break 2
7812 done
7813 done
7814 IFS=$as_save_IFS
7818 DLLTOOL=$ac_cv_prog_DLLTOOL
7819 if test -n "$DLLTOOL"; then
7820 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7821 echo "${ECHO_T}$DLLTOOL" >&6; }
7822 else
7823 { echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6; }
7829 if test -z "$ac_cv_prog_DLLTOOL"; then
7830 ac_ct_DLLTOOL=$DLLTOOL
7831 # Extract the first word of "dlltool", so it can be a program name with args.
7832 set dummy dlltool; ac_word=$2
7833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7835 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7836 echo $ECHO_N "(cached) $ECHO_C" >&6
7837 else
7838 if test -n "$ac_ct_DLLTOOL"; then
7839 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7840 else
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 for as_dir in $PATH
7844 IFS=$as_save_IFS
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7848 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7850 break 2
7852 done
7853 done
7854 IFS=$as_save_IFS
7858 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7861 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7862 else
7863 { echo "$as_me:$LINENO: result: no" >&5
7864 echo "${ECHO_T}no" >&6; }
7867 if test "x$ac_ct_DLLTOOL" = x; then
7868 DLLTOOL="false"
7869 else
7870 case $cross_compiling:$ac_tool_warned in
7871 yes:)
7872 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7873 whose name does not start with the host triplet. If you think this
7874 configuration is useful to you, please write to autoconf@gnu.org." >&5
7875 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7876 whose name does not start with the host triplet. If you think this
7877 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7878 ac_tool_warned=yes ;;
7879 esac
7880 DLLTOOL=$ac_ct_DLLTOOL
7882 else
7883 DLLTOOL="$ac_cv_prog_DLLTOOL"
7886 if test -n "$ac_tool_prefix"; then
7887 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7888 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7891 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 else
7894 if test -n "$DLLWRAP"; then
7895 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7896 else
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 for as_dir in $PATH
7900 IFS=$as_save_IFS
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7904 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 break 2
7908 done
7909 done
7910 IFS=$as_save_IFS
7914 DLLWRAP=$ac_cv_prog_DLLWRAP
7915 if test -n "$DLLWRAP"; then
7916 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7917 echo "${ECHO_T}$DLLWRAP" >&6; }
7918 else
7919 { echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6; }
7925 if test -z "$ac_cv_prog_DLLWRAP"; then
7926 ac_ct_DLLWRAP=$DLLWRAP
7927 # Extract the first word of "dllwrap", so it can be a program name with args.
7928 set dummy dllwrap; ac_word=$2
7929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7931 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 else
7934 if test -n "$ac_ct_DLLWRAP"; then
7935 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7936 else
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 for as_dir in $PATH
7940 IFS=$as_save_IFS
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7944 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 break 2
7948 done
7949 done
7950 IFS=$as_save_IFS
7954 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7955 if test -n "$ac_ct_DLLWRAP"; then
7956 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7957 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7958 else
7959 { echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6; }
7963 if test "x$ac_ct_DLLWRAP" = x; then
7964 DLLWRAP="false"
7965 else
7966 case $cross_compiling:$ac_tool_warned in
7967 yes:)
7968 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7969 whose name does not start with the host triplet. If you think this
7970 configuration is useful to you, please write to autoconf@gnu.org." >&5
7971 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7972 whose name does not start with the host triplet. If you think this
7973 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7974 ac_tool_warned=yes ;;
7975 esac
7976 DLLWRAP=$ac_ct_DLLWRAP
7978 else
7979 DLLWRAP="$ac_cv_prog_DLLWRAP"
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}ar; ac_word=$2
7985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7987 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7988 echo $ECHO_N "(cached) $ECHO_C" >&6
7989 else
7990 if test -n "$MINGWAR"; then
7991 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7992 else
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 for as_dir in $PATH
7996 IFS=$as_save_IFS
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8000 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 break 2
8004 done
8005 done
8006 IFS=$as_save_IFS
8010 MINGWAR=$ac_cv_prog_MINGWAR
8011 if test -n "$MINGWAR"; then
8012 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8013 echo "${ECHO_T}$MINGWAR" >&6; }
8014 else
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8021 if test -z "$ac_cv_prog_MINGWAR"; then
8022 ac_ct_MINGWAR=$MINGWAR
8023 # Extract the first word of "ar", so it can be a program name with args.
8024 set dummy ar; ac_word=$2
8025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8027 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8028 echo $ECHO_N "(cached) $ECHO_C" >&6
8029 else
8030 if test -n "$ac_ct_MINGWAR"; then
8031 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_ac_ct_MINGWAR="ar"
8041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8044 done
8045 done
8046 IFS=$as_save_IFS
8050 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8051 if test -n "$ac_ct_MINGWAR"; then
8052 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8053 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8054 else
8055 { echo "$as_me:$LINENO: result: no" >&5
8056 echo "${ECHO_T}no" >&6; }
8059 if test "x$ac_ct_MINGWAR" = x; then
8060 MINGWAR="false"
8061 else
8062 case $cross_compiling:$ac_tool_warned in
8063 yes:)
8064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8065 whose name does not start with the host triplet. If you think this
8066 configuration is useful to you, please write to autoconf@gnu.org." >&5
8067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8068 whose name does not start with the host triplet. If you think this
8069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 MINGWAR=$ac_ct_MINGWAR
8074 else
8075 MINGWAR="$ac_cv_prog_MINGWAR"
8078 if test "$DLLWRAP" = "false"; then
8079 LIBEXT="a"
8080 else
8081 LIBEXT="dll"
8083 IMPLIBEXT="a"
8084 WIN16_FILES=""
8085 WIN16_INSTALL=""
8087 darwin*|macosx*)
8088 DLLEXT=".so"
8089 LIBEXT="dylib"
8090 DLLFLAGS="$DLLFLAGS -fPIC"
8091 LDDLLFLAGS="-bundle -multiply_defined suppress"
8092 LIBWINE_LDFLAGS="-multiply_defined suppress"
8093 LDSHARED="\$(CC) -dynamiclib"
8094 STRIP="$STRIP -x"
8095 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8096 COREFOUNDATIONLIB="-framework CoreFoundation"
8098 IOKITLIB="-framework IOKit -framework CoreFoundation"
8100 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8102 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8103 then
8104 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8107 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8108 then
8109 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8112 case $host_cpu in
8113 *powerpc*)
8114 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8115 esac
8116 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8117 then
8118 CARBONLIB="-framework Carbon"
8120 QUARTZFILES='$(QUARTZFILES)'
8124 DLLFLAGS="$DLLFLAGS -fPIC"
8125 DLLEXT=".so"
8126 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8127 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8128 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8129 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 else
8131 ac_wine_try_cflags_saved=$CFLAGS
8132 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8133 cat >conftest.$ac_ext <<_ACEOF
8134 void myfunc() {}
8135 _ACEOF
8136 rm -f conftest.$ac_objext conftest$ac_exeext
8137 if { (ac_try="$ac_link"
8138 case "(($ac_try" in
8139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8140 *) ac_try_echo=$ac_try;;
8141 esac
8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8143 (eval "$ac_link") 2>conftest.er1
8144 ac_status=$?
8145 grep -v '^ *+' conftest.er1 >conftest.err
8146 rm -f conftest.er1
8147 cat conftest.err >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } && {
8150 test -z "$ac_c_werror_flag" ||
8151 test ! -s conftest.err
8152 } && test -s conftest$ac_exeext &&
8153 $as_test_x conftest$ac_exeext; then
8154 ac_cv_c_dll_gnuelf="yes"
8155 else
8156 echo "$as_me: failed program was:" >&5
8157 sed 's/^/| /' conftest.$ac_ext >&5
8159 ac_cv_c_dll_gnuelf="no"
8162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8163 conftest$ac_exeext conftest.$ac_ext
8164 CFLAGS=$ac_wine_try_cflags_saved
8166 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8167 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8168 if test "$ac_cv_c_dll_gnuelf" = "yes"
8169 then
8170 LDSHARED="\$(CC) -shared"
8171 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8172 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8173 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8174 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 else
8177 ac_wine_try_cflags_saved=$CFLAGS
8178 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8179 cat >conftest.$ac_ext <<_ACEOF
8180 /* confdefs.h. */
8181 _ACEOF
8182 cat confdefs.h >>conftest.$ac_ext
8183 cat >>conftest.$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8187 main ()
8191 return 0;
8193 _ACEOF
8194 rm -f conftest.$ac_objext conftest$ac_exeext
8195 if { (ac_try="$ac_link"
8196 case "(($ac_try" in
8197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8198 *) ac_try_echo=$ac_try;;
8199 esac
8200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8201 (eval "$ac_link") 2>conftest.er1
8202 ac_status=$?
8203 grep -v '^ *+' conftest.er1 >conftest.err
8204 rm -f conftest.er1
8205 cat conftest.err >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } && {
8208 test -z "$ac_c_werror_flag" ||
8209 test ! -s conftest.err
8210 } && test -s conftest$ac_exeext &&
8211 $as_test_x conftest$ac_exeext; then
8212 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8213 else
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8221 conftest$ac_exeext conftest.$ac_ext
8222 CFLAGS=$ac_wine_try_cflags_saved
8224 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8225 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8226 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8227 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8228 else
8229 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8230 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8231 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8236 cat >conftest.$ac_ext <<_ACEOF
8237 /* confdefs.h. */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8244 main ()
8248 return 0;
8250 _ACEOF
8251 rm -f conftest.$ac_objext conftest$ac_exeext
8252 if { (ac_try="$ac_link"
8253 case "(($ac_try" in
8254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8255 *) ac_try_echo=$ac_try;;
8256 esac
8257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8258 (eval "$ac_link") 2>conftest.er1
8259 ac_status=$?
8260 grep -v '^ *+' conftest.er1 >conftest.err
8261 rm -f conftest.er1
8262 cat conftest.err >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); } && {
8265 test -z "$ac_c_werror_flag" ||
8266 test ! -s conftest.err
8267 } && test -s conftest$ac_exeext &&
8268 $as_test_x conftest$ac_exeext; then
8269 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8270 else
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.$ac_ext >&5
8274 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8278 conftest$ac_exeext conftest.$ac_ext
8279 CFLAGS=$ac_wine_try_cflags_saved
8281 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8282 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8283 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8284 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8290 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8291 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8292 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8297 cat >conftest.$ac_ext <<_ACEOF
8298 /* confdefs.h. */
8299 _ACEOF
8300 cat confdefs.h >>conftest.$ac_ext
8301 cat >>conftest.$ac_ext <<_ACEOF
8302 /* end confdefs.h. */
8305 main ()
8309 return 0;
8311 _ACEOF
8312 rm -f conftest.$ac_objext conftest$ac_exeext
8313 if { (ac_try="$ac_link"
8314 case "(($ac_try" in
8315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8316 *) ac_try_echo=$ac_try;;
8317 esac
8318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8319 (eval "$ac_link") 2>conftest.er1
8320 ac_status=$?
8321 grep -v '^ *+' conftest.er1 >conftest.err
8322 rm -f conftest.er1
8323 cat conftest.err >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } && {
8326 test -z "$ac_c_werror_flag" ||
8327 test ! -s conftest.err
8328 } && test -s conftest$ac_exeext &&
8329 $as_test_x conftest$ac_exeext; then
8330 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8331 else
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.$ac_ext >&5
8335 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8339 conftest$ac_exeext conftest.$ac_ext
8340 CFLAGS=$ac_wine_try_cflags_saved
8342 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8343 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8344 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8345 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8349 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8350 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8351 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8352 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 else
8354 ac_wine_try_cflags_saved=$CFLAGS
8355 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8356 cat >conftest.$ac_ext <<_ACEOF
8357 /* confdefs.h. */
8358 _ACEOF
8359 cat confdefs.h >>conftest.$ac_ext
8360 cat >>conftest.$ac_ext <<_ACEOF
8361 /* end confdefs.h. */
8364 main ()
8368 return 0;
8370 _ACEOF
8371 rm -f conftest.$ac_objext conftest$ac_exeext
8372 if { (ac_try="$ac_link"
8373 case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8376 esac
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_link") 2>conftest.er1
8379 ac_status=$?
8380 grep -v '^ *+' conftest.er1 >conftest.err
8381 rm -f conftest.er1
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } && {
8385 test -z "$ac_c_werror_flag" ||
8386 test ! -s conftest.err
8387 } && test -s conftest$ac_exeext &&
8388 $as_test_x conftest$ac_exeext; then
8389 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8390 else
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8398 conftest$ac_exeext conftest.$ac_ext
8399 CFLAGS=$ac_wine_try_cflags_saved
8401 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8402 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8403 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8404 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8408 echo '{ global: *; };' >conftest.map
8409 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8410 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8411 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 else
8414 ac_wine_try_cflags_saved=$CFLAGS
8415 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8416 cat >conftest.$ac_ext <<_ACEOF
8417 /* confdefs.h. */
8418 _ACEOF
8419 cat confdefs.h >>conftest.$ac_ext
8420 cat >>conftest.$ac_ext <<_ACEOF
8421 /* end confdefs.h. */
8424 main ()
8428 return 0;
8430 _ACEOF
8431 rm -f conftest.$ac_objext conftest$ac_exeext
8432 if { (ac_try="$ac_link"
8433 case "(($ac_try" in
8434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8435 *) ac_try_echo=$ac_try;;
8436 esac
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_link") 2>conftest.er1
8439 ac_status=$?
8440 grep -v '^ *+' conftest.er1 >conftest.err
8441 rm -f conftest.er1
8442 cat conftest.err >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } && {
8445 test -z "$ac_c_werror_flag" ||
8446 test ! -s conftest.err
8447 } && test -s conftest$ac_exeext &&
8448 $as_test_x conftest$ac_exeext; then
8449 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8450 else
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8454 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8462 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8463 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8464 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8467 rm -f conftest.map
8469 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8470 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8471 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8472 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8476 cat >conftest.$ac_ext <<_ACEOF
8477 /* confdefs.h. */
8478 _ACEOF
8479 cat confdefs.h >>conftest.$ac_ext
8480 cat >>conftest.$ac_ext <<_ACEOF
8481 /* end confdefs.h. */
8484 main ()
8488 return 0;
8490 _ACEOF
8491 rm -f conftest.$ac_objext conftest$ac_exeext
8492 if { (ac_try="$ac_link"
8493 case "(($ac_try" in
8494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8495 *) ac_try_echo=$ac_try;;
8496 esac
8497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8498 (eval "$ac_link") 2>conftest.er1
8499 ac_status=$?
8500 grep -v '^ *+' conftest.er1 >conftest.err
8501 rm -f conftest.er1
8502 cat conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } && {
8505 test -z "$ac_c_werror_flag" ||
8506 test ! -s conftest.err
8507 } && test -s conftest$ac_exeext &&
8508 $as_test_x conftest$ac_exeext; then
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8510 else
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8514 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8522 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8523 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8524 LDEXECFLAGS="-Wl,--export-dynamic"
8529 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8530 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8531 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 else
8535 ac_wine_try_cflags_saved=$CFLAGS
8536 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8537 cat >conftest.$ac_ext <<_ACEOF
8538 /* confdefs.h. */
8539 _ACEOF
8540 cat confdefs.h >>conftest.$ac_ext
8541 cat >>conftest.$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8545 main ()
8549 return 0;
8551 _ACEOF
8552 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (ac_try="$ac_link"
8554 case "(($ac_try" in
8555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8556 *) ac_try_echo=$ac_try;;
8557 esac
8558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8559 (eval "$ac_link") 2>conftest.er1
8560 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && {
8566 test -z "$ac_c_werror_flag" ||
8567 test ! -s conftest.err
8568 } && test -s conftest$ac_exeext &&
8569 $as_test_x conftest$ac_exeext; then
8570 eval "$as_ac_var=yes"
8571 else
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 eval "$as_ac_var=no"
8578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8579 conftest$ac_exeext conftest.$ac_ext
8580 CFLAGS=$ac_wine_try_cflags_saved
8582 ac_res=`eval echo '${'$as_ac_var'}'`
8583 { echo "$as_me:$LINENO: result: $ac_res" >&5
8584 echo "${ECHO_T}$ac_res" >&6; }
8585 if test `eval echo '${'$as_ac_var'}'` = yes; then
8586 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8587 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8588 else
8589 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8590 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8591 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8594 else
8595 ac_wine_try_cflags_saved=$CFLAGS
8596 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8597 cat >conftest.$ac_ext <<_ACEOF
8598 /* confdefs.h. */
8599 _ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8605 main ()
8609 return 0;
8611 _ACEOF
8612 rm -f conftest.$ac_objext conftest$ac_exeext
8613 if { (ac_try="$ac_link"
8614 case "(($ac_try" in
8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8616 *) ac_try_echo=$ac_try;;
8617 esac
8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8619 (eval "$ac_link") 2>conftest.er1
8620 ac_status=$?
8621 grep -v '^ *+' conftest.er1 >conftest.err
8622 rm -f conftest.er1
8623 cat conftest.err >&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } && {
8626 test -z "$ac_c_werror_flag" ||
8627 test ! -s conftest.err
8628 } && test -s conftest$ac_exeext &&
8629 $as_test_x conftest$ac_exeext; then
8630 eval "$as_ac_var=yes"
8631 else
8632 echo "$as_me: failed program was:" >&5
8633 sed 's/^/| /' conftest.$ac_ext >&5
8635 eval "$as_ac_var=no"
8638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8639 conftest$ac_exeext conftest.$ac_ext
8640 CFLAGS=$ac_wine_try_cflags_saved
8642 ac_res=`eval echo '${'$as_ac_var'}'`
8643 { echo "$as_me:$LINENO: result: $ac_res" >&5
8644 echo "${ECHO_T}$ac_res" >&6; }
8645 if test `eval echo '${'$as_ac_var'}'` = yes; then
8646 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8647 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8653 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8654 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8655 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8660 cat >conftest.$ac_ext <<_ACEOF
8661 /* confdefs.h. */
8662 _ACEOF
8663 cat confdefs.h >>conftest.$ac_ext
8664 cat >>conftest.$ac_ext <<_ACEOF
8665 /* end confdefs.h. */
8668 main ()
8672 return 0;
8674 _ACEOF
8675 rm -f conftest.$ac_objext conftest$ac_exeext
8676 if { (ac_try="$ac_link"
8677 case "(($ac_try" in
8678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8679 *) ac_try_echo=$ac_try;;
8680 esac
8681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8682 (eval "$ac_link") 2>conftest.er1
8683 ac_status=$?
8684 grep -v '^ *+' conftest.er1 >conftest.err
8685 rm -f conftest.er1
8686 cat conftest.err >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); } && {
8689 test -z "$ac_c_werror_flag" ||
8690 test ! -s conftest.err
8691 } && test -s conftest$ac_exeext &&
8692 $as_test_x conftest$ac_exeext; then
8693 ac_cv_cflags__Wl___enable_new_dtags=yes
8694 else
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 ac_cv_cflags__Wl___enable_new_dtags=no
8701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8706 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8707 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8708 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8712 case $host_cpu in
8713 *i[3456789]86* | x86_64)
8714 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8715 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8716 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 else
8719 ac_wine_try_cflags_saved=$CFLAGS
8720 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8721 cat >conftest.$ac_ext <<_ACEOF
8722 /* confdefs.h. */
8723 _ACEOF
8724 cat confdefs.h >>conftest.$ac_ext
8725 cat >>conftest.$ac_ext <<_ACEOF
8726 /* end confdefs.h. */
8729 main ()
8733 return 0;
8735 _ACEOF
8736 rm -f conftest.$ac_objext conftest$ac_exeext
8737 if { (ac_try="$ac_link"
8738 case "(($ac_try" in
8739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8740 *) ac_try_echo=$ac_try;;
8741 esac
8742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8743 (eval "$ac_link") 2>conftest.er1
8744 ac_status=$?
8745 grep -v '^ *+' conftest.er1 >conftest.err
8746 rm -f conftest.er1
8747 cat conftest.err >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } && {
8750 test -z "$ac_c_werror_flag" ||
8751 test ! -s conftest.err
8752 } && test -s conftest$ac_exeext &&
8753 $as_test_x conftest$ac_exeext; then
8754 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8755 else
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8759 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8767 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8768 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8769 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8773 esac
8775 else
8776 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8777 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8778 if test "${ac_cv_c_dll_unixware+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8783 cat >conftest.$ac_ext <<_ACEOF
8784 void myfunc() {}
8785 _ACEOF
8786 rm -f conftest.$ac_objext conftest$ac_exeext
8787 if { (ac_try="$ac_link"
8788 case "(($ac_try" in
8789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8790 *) ac_try_echo=$ac_try;;
8791 esac
8792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8793 (eval "$ac_link") 2>conftest.er1
8794 ac_status=$?
8795 grep -v '^ *+' conftest.er1 >conftest.err
8796 rm -f conftest.er1
8797 cat conftest.err >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); } && {
8800 test -z "$ac_c_werror_flag" ||
8801 test ! -s conftest.err
8802 } && test -s conftest$ac_exeext &&
8803 $as_test_x conftest$ac_exeext; then
8804 ac_cv_c_dll_unixware="yes"
8805 else
8806 echo "$as_me: failed program was:" >&5
8807 sed 's/^/| /' conftest.$ac_ext >&5
8809 ac_cv_c_dll_unixware="no"
8812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8813 conftest$ac_exeext conftest.$ac_ext
8814 CFLAGS=$ac_wine_try_cflags_saved
8816 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8817 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8818 if test "$ac_cv_c_dll_unixware" = "yes"
8819 then
8820 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8821 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8823 else
8824 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8825 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8826 if test "${ac_cv_c_dll_hpux+set}" = set; then
8827 echo $ECHO_N "(cached) $ECHO_C" >&6
8828 else
8829 ac_wine_try_cflags_saved=$CFLAGS
8830 CFLAGS="$CFLAGS -shared"
8831 cat >conftest.$ac_ext <<_ACEOF
8832 void myfunc() {}
8833 _ACEOF
8834 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (ac_try="$ac_link"
8836 case "(($ac_try" in
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_link") 2>conftest.er1
8842 ac_status=$?
8843 grep -v '^ *+' conftest.er1 >conftest.err
8844 rm -f conftest.er1
8845 cat conftest.err >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && {
8848 test -z "$ac_c_werror_flag" ||
8849 test ! -s conftest.err
8850 } && test -s conftest$ac_exeext &&
8851 $as_test_x conftest$ac_exeext; then
8852 ac_cv_c_dll_hpux="yes"
8853 else
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 ac_cv_c_dll_hpux="no"
8860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8865 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8866 if test "$ac_cv_c_dll_hpux" = "yes"
8867 then
8868 LIBEXT="sl"
8869 DLLEXT=".sl"
8870 LDDLLFLAGS="-shared -fPIC"
8871 LDSHARED="\$(CC) -shared"
8876 CROSSTEST=""
8878 if test "$cross_compiling" = "no"
8879 then
8880 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8882 # Extract the first word of "$ac_prog", so it can be a program name with args.
8883 set dummy $ac_prog; ac_word=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 else
8889 if test -n "$CROSSCC"; then
8890 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8891 else
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 for as_dir in $PATH
8895 IFS=$as_save_IFS
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_CROSSCC="$ac_prog"
8900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 break 2
8903 done
8904 done
8905 IFS=$as_save_IFS
8909 CROSSCC=$ac_cv_prog_CROSSCC
8910 if test -n "$CROSSCC"; then
8911 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8912 echo "${ECHO_T}$CROSSCC" >&6; }
8913 else
8914 { echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6; }
8919 test -n "$CROSSCC" && break
8920 done
8921 test -n "$CROSSCC" || CROSSCC="false"
8923 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8925 # Extract the first word of "$ac_prog", so it can be a program name with args.
8926 set dummy $ac_prog; ac_word=$2
8927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8929 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932 if test -n "$DLLTOOL"; then
8933 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8934 else
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936 for as_dir in $PATH
8938 IFS=$as_save_IFS
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8942 ac_cv_prog_DLLTOOL="$ac_prog"
8943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8944 break 2
8946 done
8947 done
8948 IFS=$as_save_IFS
8952 DLLTOOL=$ac_cv_prog_DLLTOOL
8953 if test -n "$DLLTOOL"; then
8954 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8955 echo "${ECHO_T}$DLLTOOL" >&6; }
8956 else
8957 { echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6; }
8962 test -n "$DLLTOOL" && break
8963 done
8964 test -n "$DLLTOOL" || DLLTOOL="false"
8966 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8968 # Extract the first word of "$ac_prog", so it can be a program name with args.
8969 set dummy $ac_prog; ac_word=$2
8970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8972 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975 if test -n "$CROSSWINDRES"; then
8976 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8977 else
8978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8979 for as_dir in $PATH
8981 IFS=$as_save_IFS
8982 test -z "$as_dir" && as_dir=.
8983 for ac_exec_ext in '' $ac_executable_extensions; do
8984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8985 ac_cv_prog_CROSSWINDRES="$ac_prog"
8986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8987 break 2
8989 done
8990 done
8991 IFS=$as_save_IFS
8995 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8996 if test -n "$CROSSWINDRES"; then
8997 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8998 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8999 else
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9005 test -n "$CROSSWINDRES" && break
9006 done
9007 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9009 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9011 # Extract the first word of "$ac_prog", so it can be a program name with args.
9012 set dummy $ac_prog; ac_word=$2
9013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9015 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9016 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 else
9018 if test -n "$MINGWAR"; then
9019 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9020 else
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 for as_dir in $PATH
9024 IFS=$as_save_IFS
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_prog_MINGWAR="$ac_prog"
9029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 break 2
9032 done
9033 done
9034 IFS=$as_save_IFS
9038 MINGWAR=$ac_cv_prog_MINGWAR
9039 if test -n "$MINGWAR"; then
9040 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9041 echo "${ECHO_T}$MINGWAR" >&6; }
9042 else
9043 { echo "$as_me:$LINENO: result: no" >&5
9044 echo "${ECHO_T}no" >&6; }
9048 test -n "$MINGWAR" && break
9049 done
9050 test -n "$MINGWAR" || MINGWAR="false"
9052 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9055 esac
9057 if test "$LIBEXT" = "a"; then
9058 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9059 It is currently not possible to build Wine without shared library
9060 (.so) support to allow transparent switch between .so and .dll files.
9061 If you are using Linux, you will need a newer binutils.
9062 " >&5
9063 echo "$as_me: error: could not find a way to build shared libraries.
9064 It is currently not possible to build Wine without shared library
9065 (.so) support to allow transparent switch between .so and .dll files.
9066 If you are using Linux, you will need a newer binutils.
9067 " >&2;}
9068 { (exit 1); exit 1; }; }
9072 if test "$have_x" = "yes"
9073 then
9074 XLIB="-lXext -lX11"
9075 ac_save_CPPFLAGS="$CPPFLAGS"
9076 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9078 { echo "$as_me:$LINENO: checking for -lX11" >&5
9079 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9080 if test "${ac_cv_lib_soname_X11+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 else
9083 ac_check_soname_save_LIBS=$LIBS
9084 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9085 cat >conftest.$ac_ext <<_ACEOF
9086 /* confdefs.h. */
9087 _ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9095 #ifdef __cplusplus
9096 extern "C"
9097 #endif
9098 char XCreateWindow ();
9100 main ()
9102 return XCreateWindow ();
9104 return 0;
9106 _ACEOF
9107 rm -f conftest.$ac_objext conftest$ac_exeext
9108 if { (ac_try="$ac_link"
9109 case "(($ac_try" in
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9111 *) ac_try_echo=$ac_try;;
9112 esac
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_link") 2>conftest.er1
9115 ac_status=$?
9116 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } && {
9121 test -z "$ac_c_werror_flag" ||
9122 test ! -s conftest.err
9123 } && test -s conftest$ac_exeext &&
9124 $as_test_x conftest$ac_exeext; then
9125 case "$LIBEXT" in
9126 dll) ;;
9127 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'` ;;
9128 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9129 esac
9130 else
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9138 conftest$ac_exeext conftest.$ac_ext
9139 LIBS=$ac_check_soname_save_LIBS
9141 if test "x$ac_cv_lib_soname_X11" = "x"; then
9142 { echo "$as_me:$LINENO: result: not found" >&5
9143 echo "${ECHO_T}not found" >&6; }
9145 else
9146 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9147 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9149 cat >>confdefs.h <<_ACEOF
9150 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9151 _ACEOF
9156 { echo "$as_me:$LINENO: checking for -lXext" >&5
9157 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9158 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 else
9161 ac_check_soname_save_LIBS=$LIBS
9162 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9163 cat >conftest.$ac_ext <<_ACEOF
9164 /* confdefs.h. */
9165 _ACEOF
9166 cat confdefs.h >>conftest.$ac_ext
9167 cat >>conftest.$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9170 /* Override any GCC internal prototype to avoid an error.
9171 Use char because int might match the return type of a GCC
9172 builtin and then its argument prototype would still apply. */
9173 #ifdef __cplusplus
9174 extern "C"
9175 #endif
9176 char XextCreateExtension ();
9178 main ()
9180 return XextCreateExtension ();
9182 return 0;
9184 _ACEOF
9185 rm -f conftest.$ac_objext conftest$ac_exeext
9186 if { (ac_try="$ac_link"
9187 case "(($ac_try" in
9188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9189 *) ac_try_echo=$ac_try;;
9190 esac
9191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9192 (eval "$ac_link") 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } && {
9199 test -z "$ac_c_werror_flag" ||
9200 test ! -s conftest.err
9201 } && test -s conftest$ac_exeext &&
9202 $as_test_x conftest$ac_exeext; then
9203 case "$LIBEXT" in
9204 dll) ;;
9205 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'` ;;
9206 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9207 esac
9208 else
9209 echo "$as_me: failed program was:" >&5
9210 sed 's/^/| /' conftest.$ac_ext >&5
9215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_soname_save_LIBS
9219 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9220 { echo "$as_me:$LINENO: result: not found" >&5
9221 echo "${ECHO_T}not found" >&6; }
9223 else
9224 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9225 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9227 cat >>confdefs.h <<_ACEOF
9228 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9229 _ACEOF
9247 for ac_header in X11/Xlib.h \
9248 X11/XKBlib.h \
9249 X11/Xutil.h \
9250 X11/Xcursor/Xcursor.h \
9251 X11/extensions/shape.h \
9252 X11/extensions/XInput.h \
9253 X11/extensions/XShm.h \
9254 X11/extensions/Xcomposite.h \
9255 X11/extensions/Xinerama.h \
9256 X11/extensions/Xrandr.h \
9257 X11/extensions/Xrender.h \
9258 X11/extensions/xf86vmode.h
9260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 else
9266 cat >conftest.$ac_ext <<_ACEOF
9267 /* confdefs.h. */
9268 _ACEOF
9269 cat confdefs.h >>conftest.$ac_ext
9270 cat >>conftest.$ac_ext <<_ACEOF
9271 /* end confdefs.h. */
9272 #ifdef HAVE_X11_XLIB_H
9273 # include <X11/Xlib.h>
9274 #endif
9275 #ifdef HAVE_X11_XUTIL_H
9276 # include <X11/Xutil.h>
9277 #endif
9279 #include <$ac_header>
9280 _ACEOF
9281 rm -f conftest.$ac_objext
9282 if { (ac_try="$ac_compile"
9283 case "(($ac_try" in
9284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9285 *) ac_try_echo=$ac_try;;
9286 esac
9287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9288 (eval "$ac_compile") 2>conftest.er1
9289 ac_status=$?
9290 grep -v '^ *+' conftest.er1 >conftest.err
9291 rm -f conftest.er1
9292 cat conftest.err >&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } && {
9295 test -z "$ac_c_werror_flag" ||
9296 test ! -s conftest.err
9297 } && test -s conftest.$ac_objext; then
9298 eval "$as_ac_Header=yes"
9299 else
9300 echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9303 eval "$as_ac_Header=no"
9306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9308 ac_res=`eval echo '${'$as_ac_Header'}'`
9309 { echo "$as_me:$LINENO: result: $ac_res" >&5
9310 echo "${ECHO_T}$ac_res" >&6; }
9311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9312 cat >>confdefs.h <<_ACEOF
9313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9314 _ACEOF
9318 done
9321 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9322 then
9323 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9324 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9325 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9327 else
9328 ac_check_lib_save_LIBS=$LIBS
9329 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9330 cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h. */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9340 #ifdef __cplusplus
9341 extern "C"
9342 #endif
9343 char XkbQueryExtension ();
9345 main ()
9347 return XkbQueryExtension ();
9349 return 0;
9351 _ACEOF
9352 rm -f conftest.$ac_objext conftest$ac_exeext
9353 if { (ac_try="$ac_link"
9354 case "(($ac_try" in
9355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9356 *) ac_try_echo=$ac_try;;
9357 esac
9358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9359 (eval "$ac_link") 2>conftest.er1
9360 ac_status=$?
9361 grep -v '^ *+' conftest.er1 >conftest.err
9362 rm -f conftest.er1
9363 cat conftest.err >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } && {
9366 test -z "$ac_c_werror_flag" ||
9367 test ! -s conftest.err
9368 } && test -s conftest$ac_exeext &&
9369 $as_test_x conftest$ac_exeext; then
9370 ac_cv_lib_X11_XkbQueryExtension=yes
9371 else
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9375 ac_cv_lib_X11_XkbQueryExtension=no
9378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9383 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9384 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9386 cat >>confdefs.h <<\_ACEOF
9387 #define HAVE_XKB 1
9388 _ACEOF
9394 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9395 then
9396 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9397 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9398 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9399 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 else
9401 ac_check_soname_save_LIBS=$LIBS
9402 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9403 cat >conftest.$ac_ext <<_ACEOF
9404 /* confdefs.h. */
9405 _ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char XcursorImageLoadCursor ();
9418 main ()
9420 return XcursorImageLoadCursor ();
9422 return 0;
9424 _ACEOF
9425 rm -f conftest.$ac_objext conftest$ac_exeext
9426 if { (ac_try="$ac_link"
9427 case "(($ac_try" in
9428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9429 *) ac_try_echo=$ac_try;;
9430 esac
9431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9432 (eval "$ac_link") 2>conftest.er1
9433 ac_status=$?
9434 grep -v '^ *+' conftest.er1 >conftest.err
9435 rm -f conftest.er1
9436 cat conftest.err >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && {
9439 test -z "$ac_c_werror_flag" ||
9440 test ! -s conftest.err
9441 } && test -s conftest$ac_exeext &&
9442 $as_test_x conftest$ac_exeext; then
9443 case "$LIBEXT" in
9444 dll) ;;
9445 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'` ;;
9446 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9447 esac
9448 else
9449 echo "$as_me: failed program was:" >&5
9450 sed 's/^/| /' conftest.$ac_ext >&5
9455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9456 conftest$ac_exeext conftest.$ac_ext
9457 LIBS=$ac_check_soname_save_LIBS
9459 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9460 { echo "$as_me:$LINENO: result: not found" >&5
9461 echo "${ECHO_T}not found" >&6; }
9463 else
9464 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9465 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9467 cat >>confdefs.h <<_ACEOF
9468 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9469 _ACEOF
9476 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9477 then
9478 { echo "$as_me:$LINENO: checking for -lXi" >&5
9479 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9480 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 else
9483 ac_check_soname_save_LIBS=$LIBS
9484 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9485 cat >conftest.$ac_ext <<_ACEOF
9486 /* confdefs.h. */
9487 _ACEOF
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char XOpenDevice ();
9500 main ()
9502 return XOpenDevice ();
9504 return 0;
9506 _ACEOF
9507 rm -f conftest.$ac_objext conftest$ac_exeext
9508 if { (ac_try="$ac_link"
9509 case "(($ac_try" in
9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9512 esac
9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_link") 2>conftest.er1
9515 ac_status=$?
9516 grep -v '^ *+' conftest.er1 >conftest.err
9517 rm -f conftest.er1
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } && {
9521 test -z "$ac_c_werror_flag" ||
9522 test ! -s conftest.err
9523 } && test -s conftest$ac_exeext &&
9524 $as_test_x conftest$ac_exeext; then
9525 case "$LIBEXT" in
9526 dll) ;;
9527 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'` ;;
9528 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9529 esac
9530 else
9531 echo "$as_me: failed program was:" >&5
9532 sed 's/^/| /' conftest.$ac_ext >&5
9537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_soname_save_LIBS
9541 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9542 { echo "$as_me:$LINENO: result: not found" >&5
9543 echo "${ECHO_T}not found" >&6; }
9545 else
9546 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9547 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9549 cat >>confdefs.h <<_ACEOF
9550 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9551 _ACEOF
9558 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9559 then
9560 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9561 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9562 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 else
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9567 cat >conftest.$ac_ext <<_ACEOF
9568 /* confdefs.h. */
9569 _ACEOF
9570 cat confdefs.h >>conftest.$ac_ext
9571 cat >>conftest.$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9574 /* Override any GCC internal prototype to avoid an error.
9575 Use char because int might match the return type of a GCC
9576 builtin and then its argument prototype would still apply. */
9577 #ifdef __cplusplus
9578 extern "C"
9579 #endif
9580 char XShmQueryExtension ();
9582 main ()
9584 return XShmQueryExtension ();
9586 return 0;
9588 _ACEOF
9589 rm -f conftest.$ac_objext conftest$ac_exeext
9590 if { (ac_try="$ac_link"
9591 case "(($ac_try" in
9592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9593 *) ac_try_echo=$ac_try;;
9594 esac
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_link") 2>conftest.er1
9597 ac_status=$?
9598 grep -v '^ *+' conftest.er1 >conftest.err
9599 rm -f conftest.er1
9600 cat conftest.err >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); } && {
9603 test -z "$ac_c_werror_flag" ||
9604 test ! -s conftest.err
9605 } && test -s conftest$ac_exeext &&
9606 $as_test_x conftest$ac_exeext; then
9607 ac_cv_lib_Xext_XShmQueryExtension=yes
9608 else
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.$ac_ext >&5
9612 ac_cv_lib_Xext_XShmQueryExtension=no
9615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9616 conftest$ac_exeext conftest.$ac_ext
9617 LIBS=$ac_check_lib_save_LIBS
9619 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9620 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9621 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9623 cat >>confdefs.h <<\_ACEOF
9624 #define HAVE_LIBXXSHM 1
9625 _ACEOF
9630 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9631 wine_notices="$wine_notices|XShm development files not found.
9632 Wine will be built without XShm support. (winex11.drv)"
9636 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9637 then
9638 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9639 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9640 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9645 cat >conftest.$ac_ext <<_ACEOF
9646 /* confdefs.h. */
9647 _ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char XShapeQueryExtension ();
9660 main ()
9662 return XShapeQueryExtension ();
9664 return 0;
9666 _ACEOF
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (ac_try="$ac_link"
9669 case "(($ac_try" in
9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9672 esac
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_link") 2>conftest.er1
9675 ac_status=$?
9676 grep -v '^ *+' conftest.er1 >conftest.err
9677 rm -f conftest.er1
9678 cat conftest.err >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } && {
9681 test -z "$ac_c_werror_flag" ||
9682 test ! -s conftest.err
9683 } && test -s conftest$ac_exeext &&
9684 $as_test_x conftest$ac_exeext; then
9685 ac_cv_lib_Xext_XShapeQueryExtension=yes
9686 else
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.$ac_ext >&5
9690 ac_cv_lib_Xext_XShapeQueryExtension=no
9693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_lib_save_LIBS
9697 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9698 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9699 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9701 cat >>confdefs.h <<\_ACEOF
9702 #define HAVE_LIBXSHAPE 1
9703 _ACEOF
9708 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9709 wine_notices="$wine_notices|XShape development files not found.
9710 Wine will be built without XShape support. (winex11.drv)"
9714 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9715 then
9716 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9717 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9718 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 else
9721 ac_check_lib_save_LIBS=$LIBS
9722 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9723 cat >conftest.$ac_ext <<_ACEOF
9724 /* confdefs.h. */
9725 _ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XF86VidModeQueryExtension ();
9738 main ()
9740 return XF86VidModeQueryExtension ();
9742 return 0;
9744 _ACEOF
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (ac_try="$ac_link"
9747 case "(($ac_try" in
9748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9749 *) ac_try_echo=$ac_try;;
9750 esac
9751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9752 (eval "$ac_link") 2>conftest.er1
9753 ac_status=$?
9754 grep -v '^ *+' conftest.er1 >conftest.err
9755 rm -f conftest.er1
9756 cat conftest.err >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } && {
9759 test -z "$ac_c_werror_flag" ||
9760 test ! -s conftest.err
9761 } && test -s conftest$ac_exeext &&
9762 $as_test_x conftest$ac_exeext; then
9763 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9764 else
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9768 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9772 conftest$ac_exeext conftest.$ac_ext
9773 LIBS=$ac_check_lib_save_LIBS
9775 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9776 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9777 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9779 cat >>confdefs.h <<\_ACEOF
9780 #define HAVE_LIBXXF86VM 1
9781 _ACEOF
9783 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9788 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9789 wine_notices="$wine_notices|Xxf86vm development files not found.
9790 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9794 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"
9795 then
9796 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9797 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9798 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 else
9801 ac_check_soname_save_LIBS=$LIBS
9802 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9803 cat >conftest.$ac_ext <<_ACEOF
9804 /* confdefs.h. */
9805 _ACEOF
9806 cat confdefs.h >>conftest.$ac_ext
9807 cat >>conftest.$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9813 #ifdef __cplusplus
9814 extern "C"
9815 #endif
9816 char XRenderQueryExtension ();
9818 main ()
9820 return XRenderQueryExtension ();
9822 return 0;
9824 _ACEOF
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (ac_try="$ac_link"
9827 case "(($ac_try" in
9828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9829 *) ac_try_echo=$ac_try;;
9830 esac
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_link") 2>conftest.er1
9833 ac_status=$?
9834 grep -v '^ *+' conftest.er1 >conftest.err
9835 rm -f conftest.er1
9836 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest$ac_exeext &&
9842 $as_test_x conftest$ac_exeext; then
9843 case "$LIBEXT" in
9844 dll) ;;
9845 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'` ;;
9846 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9847 esac
9848 else
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.$ac_ext >&5
9855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9856 conftest$ac_exeext conftest.$ac_ext
9857 LIBS=$ac_check_soname_save_LIBS
9859 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9860 { echo "$as_me:$LINENO: result: not found" >&5
9861 echo "${ECHO_T}not found" >&6; }
9863 else
9864 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9865 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9867 cat >>confdefs.h <<_ACEOF
9868 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9869 _ACEOF
9871 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9872 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9873 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9875 else
9876 ac_check_lib_save_LIBS=$LIBS
9877 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9878 cat >conftest.$ac_ext <<_ACEOF
9879 /* confdefs.h. */
9880 _ACEOF
9881 cat confdefs.h >>conftest.$ac_ext
9882 cat >>conftest.$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9888 #ifdef __cplusplus
9889 extern "C"
9890 #endif
9891 char XRenderSetPictureTransform ();
9893 main ()
9895 return XRenderSetPictureTransform ();
9897 return 0;
9899 _ACEOF
9900 rm -f conftest.$ac_objext conftest$ac_exeext
9901 if { (ac_try="$ac_link"
9902 case "(($ac_try" in
9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9905 esac
9906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9907 (eval "$ac_link") 2>conftest.er1
9908 ac_status=$?
9909 grep -v '^ *+' conftest.er1 >conftest.err
9910 rm -f conftest.er1
9911 cat conftest.err >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } && {
9914 test -z "$ac_c_werror_flag" ||
9915 test ! -s conftest.err
9916 } && test -s conftest$ac_exeext &&
9917 $as_test_x conftest$ac_exeext; then
9918 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9919 else
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9931 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9932 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9934 cat >>confdefs.h <<\_ACEOF
9935 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9936 _ACEOF
9944 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9945 wine_notices="$wine_notices|XRender development files not found.
9946 Wine will be built without XRender support. (winex11.drv)"
9950 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9951 then
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 #include <X11/Xlib.h>
9959 #include <X11/extensions/Xrandr.h>
9961 main ()
9963 static typeof(XRRSetScreenConfigAndRate) * func;
9965 return 0;
9967 _ACEOF
9968 rm -f conftest.$ac_objext
9969 if { (ac_try="$ac_compile"
9970 case "(($ac_try" in
9971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9972 *) ac_try_echo=$ac_try;;
9973 esac
9974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9975 (eval "$ac_compile") 2>conftest.er1
9976 ac_status=$?
9977 grep -v '^ *+' conftest.er1 >conftest.err
9978 rm -f conftest.er1
9979 cat conftest.err >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } && {
9982 test -z "$ac_c_werror_flag" ||
9983 test ! -s conftest.err
9984 } && test -s conftest.$ac_objext; then
9985 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9986 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9987 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9988 echo $ECHO_N "(cached) $ECHO_C" >&6
9989 else
9990 ac_check_soname_save_LIBS=$LIBS
9991 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9992 cat >conftest.$ac_ext <<_ACEOF
9993 /* confdefs.h. */
9994 _ACEOF
9995 cat confdefs.h >>conftest.$ac_ext
9996 cat >>conftest.$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 char XRRQueryExtension ();
10007 main ()
10009 return XRRQueryExtension ();
10011 return 0;
10013 _ACEOF
10014 rm -f conftest.$ac_objext conftest$ac_exeext
10015 if { (ac_try="$ac_link"
10016 case "(($ac_try" in
10017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10018 *) ac_try_echo=$ac_try;;
10019 esac
10020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10021 (eval "$ac_link") 2>conftest.er1
10022 ac_status=$?
10023 grep -v '^ *+' conftest.er1 >conftest.err
10024 rm -f conftest.er1
10025 cat conftest.err >&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } && {
10028 test -z "$ac_c_werror_flag" ||
10029 test ! -s conftest.err
10030 } && test -s conftest$ac_exeext &&
10031 $as_test_x conftest$ac_exeext; then
10032 case "$LIBEXT" in
10033 dll) ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10036 esac
10037 else
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_soname_save_LIBS
10048 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10049 { echo "$as_me:$LINENO: result: not found" >&5
10050 echo "${ECHO_T}not found" >&6; }
10052 else
10053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10054 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10056 cat >>confdefs.h <<_ACEOF
10057 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10058 _ACEOF
10063 else
10064 echo "$as_me: failed program was:" >&5
10065 sed 's/^/| /' conftest.$ac_ext >&5
10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10072 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10073 wine_notices="$wine_notices|XRandr development files not found.
10074 Wine will be built without XRandr support. (winex11.drv)"
10078 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10079 then
10080 cat >conftest.$ac_ext <<_ACEOF
10081 /* confdefs.h. */
10082 _ACEOF
10083 cat confdefs.h >>conftest.$ac_ext
10084 cat >>conftest.$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10086 #include <X11/Xlib.h>
10087 #include <X11/extensions/Xinerama.h>
10089 main ()
10091 static typeof(XineramaQueryScreens) * func;
10093 return 0;
10095 _ACEOF
10096 rm -f conftest.$ac_objext
10097 if { (ac_try="$ac_compile"
10098 case "(($ac_try" in
10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10100 *) ac_try_echo=$ac_try;;
10101 esac
10102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10103 (eval "$ac_compile") 2>conftest.er1
10104 ac_status=$?
10105 grep -v '^ *+' conftest.er1 >conftest.err
10106 rm -f conftest.er1
10107 cat conftest.err >&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } && {
10110 test -z "$ac_c_werror_flag" ||
10111 test ! -s conftest.err
10112 } && test -s conftest.$ac_objext; then
10113 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10114 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10115 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10116 echo $ECHO_N "(cached) $ECHO_C" >&6
10117 else
10118 ac_check_soname_save_LIBS=$LIBS
10119 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10120 cat >conftest.$ac_ext <<_ACEOF
10121 /* confdefs.h. */
10122 _ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XineramaQueryScreens ();
10135 main ()
10137 return XineramaQueryScreens ();
10139 return 0;
10141 _ACEOF
10142 rm -f conftest.$ac_objext conftest$ac_exeext
10143 if { (ac_try="$ac_link"
10144 case "(($ac_try" in
10145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10146 *) ac_try_echo=$ac_try;;
10147 esac
10148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149 (eval "$ac_link") 2>conftest.er1
10150 ac_status=$?
10151 grep -v '^ *+' conftest.er1 >conftest.err
10152 rm -f conftest.er1
10153 cat conftest.err >&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } && {
10156 test -z "$ac_c_werror_flag" ||
10157 test ! -s conftest.err
10158 } && test -s conftest$ac_exeext &&
10159 $as_test_x conftest$ac_exeext; then
10160 case "$LIBEXT" in
10161 dll) ;;
10162 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'` ;;
10163 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10164 esac
10165 else
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.$ac_ext >&5
10172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10177 { echo "$as_me:$LINENO: result: not found" >&5
10178 echo "${ECHO_T}not found" >&6; }
10180 else
10181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10182 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10186 _ACEOF
10191 else
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10200 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10201 wine_notices="$wine_notices|Xinerama development files not found.
10202 Wine will be built without Xinerama support. (winex11.drv)"
10206 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10207 then
10208 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10209 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10210 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10211 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 else
10213 ac_check_soname_save_LIBS=$LIBS
10214 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10215 cat >conftest.$ac_ext <<_ACEOF
10216 /* confdefs.h. */
10217 _ACEOF
10218 cat confdefs.h >>conftest.$ac_ext
10219 cat >>conftest.$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10225 #ifdef __cplusplus
10226 extern "C"
10227 #endif
10228 char XCompositeRedirectWindow ();
10230 main ()
10232 return XCompositeRedirectWindow ();
10234 return 0;
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (ac_try="$ac_link"
10239 case "(($ac_try" in
10240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 *) ac_try_echo=$ac_try;;
10242 esac
10243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 (eval "$ac_link") 2>conftest.er1
10245 ac_status=$?
10246 grep -v '^ *+' conftest.er1 >conftest.err
10247 rm -f conftest.er1
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } && {
10251 test -z "$ac_c_werror_flag" ||
10252 test ! -s conftest.err
10253 } && test -s conftest$ac_exeext &&
10254 $as_test_x conftest$ac_exeext; then
10255 case "$LIBEXT" in
10256 dll) ;;
10257 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'` ;;
10258 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10259 esac
10260 else
10261 echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10268 conftest$ac_exeext conftest.$ac_ext
10269 LIBS=$ac_check_soname_save_LIBS
10271 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10272 { echo "$as_me:$LINENO: result: not found" >&5
10273 echo "${ECHO_T}not found" >&6; }
10275 else
10276 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10277 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10279 cat >>confdefs.h <<_ACEOF
10280 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10281 _ACEOF
10287 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10288 wine_notices="$wine_notices|XComposite development files not found.
10289 Wine will be built without XComposite support. (winex11.drv)"
10294 if test "x$with_opengl" != "xno"
10295 then
10300 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 cat >conftest.$ac_ext <<_ACEOF
10309 /* confdefs.h. */
10310 _ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 #ifdef HAVE_GL_GLX_H
10315 # include <GL/glx.h>
10316 #endif
10318 #include <$ac_header>
10319 _ACEOF
10320 rm -f conftest.$ac_objext
10321 if { (ac_try="$ac_compile"
10322 case "(($ac_try" in
10323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;;
10325 esac
10326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10327 (eval "$ac_compile") 2>conftest.er1
10328 ac_status=$?
10329 grep -v '^ *+' conftest.er1 >conftest.err
10330 rm -f conftest.er1
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } && {
10334 test -z "$ac_c_werror_flag" ||
10335 test ! -s conftest.err
10336 } && test -s conftest.$ac_objext; then
10337 eval "$as_ac_Header=yes"
10338 else
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.$ac_ext >&5
10342 eval "$as_ac_Header=no"
10345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10347 ac_res=`eval echo '${'$as_ac_Header'}'`
10348 { echo "$as_me:$LINENO: result: $ac_res" >&5
10349 echo "${ECHO_T}$ac_res" >&6; }
10350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10351 cat >>confdefs.h <<_ACEOF
10352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10353 _ACEOF
10357 done
10359 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10360 then
10361 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10362 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10363 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10365 else
10366 cat >conftest.$ac_ext <<_ACEOF
10367 /* confdefs.h. */
10368 _ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10372 #include <GL/gl.h>
10374 main ()
10376 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10378 return 0;
10380 _ACEOF
10381 rm -f conftest.$ac_objext
10382 if { (ac_try="$ac_compile"
10383 case "(($ac_try" in
10384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10385 *) ac_try_echo=$ac_try;;
10386 esac
10387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10388 (eval "$ac_compile") 2>conftest.er1
10389 ac_status=$?
10390 grep -v '^ *+' conftest.er1 >conftest.err
10391 rm -f conftest.er1
10392 cat conftest.err >&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); } && {
10395 test -z "$ac_c_werror_flag" ||
10396 test ! -s conftest.err
10397 } && test -s conftest.$ac_objext; then
10398 wine_cv_opengl_header_version_OK="yes"
10399 else
10400 echo "$as_me: failed program was:" >&5
10401 sed 's/^/| /' conftest.$ac_ext >&5
10403 wine_cv_opengl_header_version_OK="no"
10406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10408 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10409 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10411 if test "$wine_cv_opengl_header_version_OK" = "yes"
10412 then
10413 { echo "$as_me:$LINENO: checking for -lGL" >&5
10414 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10415 if test "${ac_cv_lib_soname_GL+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 else
10418 ac_check_soname_save_LIBS=$LIBS
10419 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10420 cat >conftest.$ac_ext <<_ACEOF
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10430 #ifdef __cplusplus
10431 extern "C"
10432 #endif
10433 char glXCreateContext ();
10435 main ()
10437 return glXCreateContext ();
10439 return 0;
10441 _ACEOF
10442 rm -f conftest.$ac_objext conftest$ac_exeext
10443 if { (ac_try="$ac_link"
10444 case "(($ac_try" in
10445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10446 *) ac_try_echo=$ac_try;;
10447 esac
10448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10449 (eval "$ac_link") 2>conftest.er1
10450 ac_status=$?
10451 grep -v '^ *+' conftest.er1 >conftest.err
10452 rm -f conftest.er1
10453 cat conftest.err >&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } && {
10456 test -z "$ac_c_werror_flag" ||
10457 test ! -s conftest.err
10458 } && test -s conftest$ac_exeext &&
10459 $as_test_x conftest$ac_exeext; then
10460 case "$LIBEXT" in
10461 dll) ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10464 esac
10465 else
10466 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.$ac_ext >&5
10472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_soname_save_LIBS
10476 if test "x$ac_cv_lib_soname_GL" = "x"; then
10477 { echo "$as_me:$LINENO: result: not found" >&5
10478 echo "${ECHO_T}not found" >&6; }
10479 if test -f /usr/X11R6/lib/libGL.a
10480 then
10481 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10482 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10483 else
10484 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10485 Wine will be built without OpenGL or Direct3D support."
10487 else
10488 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10489 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10491 cat >>confdefs.h <<_ACEOF
10492 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10493 _ACEOF
10495 OPENGL_LIBS="-lGL"
10496 OPENGLFILES='$(OPENGLFILES)'
10498 cat >>confdefs.h <<\_ACEOF
10499 #define HAVE_OPENGL 1
10500 _ACEOF
10505 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10506 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10507 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 else
10510 ac_check_lib_save_LIBS=$LIBS
10511 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10522 #ifdef __cplusplus
10523 extern "C"
10524 #endif
10525 char gluLookAt ();
10527 main ()
10529 return gluLookAt ();
10531 return 0;
10533 _ACEOF
10534 rm -f conftest.$ac_objext conftest$ac_exeext
10535 if { (ac_try="$ac_link"
10536 case "(($ac_try" in
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538 *) ac_try_echo=$ac_try;;
10539 esac
10540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10541 (eval "$ac_link") 2>conftest.er1
10542 ac_status=$?
10543 grep -v '^ *+' conftest.er1 >conftest.err
10544 rm -f conftest.er1
10545 cat conftest.err >&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } && {
10548 test -z "$ac_c_werror_flag" ||
10549 test ! -s conftest.err
10550 } && test -s conftest$ac_exeext &&
10551 $as_test_x conftest$ac_exeext; then
10552 ac_cv_lib_GLU_gluLookAt=yes
10553 else
10554 echo "$as_me: failed program was:" >&5
10555 sed 's/^/| /' conftest.$ac_ext >&5
10557 ac_cv_lib_GLU_gluLookAt=no
10560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_lib_save_LIBS
10564 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10565 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10566 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10567 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10568 GLU32FILES='$(GLU32FILES)'
10572 else
10573 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10574 Wine will be built without OpenGL or Direct3D support."
10576 else
10577 wine_warnings="$wine_warnings|OpenGL development headers not found.
10578 Wine will be built without OpenGL or Direct3D support."
10582 NASLIBS=""
10585 for ac_header in audio/audiolib.h
10587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 ac_res=`eval echo '${'$as_ac_Header'}'`
10595 { echo "$as_me:$LINENO: result: $ac_res" >&5
10596 echo "${ECHO_T}$ac_res" >&6; }
10597 else
10598 # Is the header compilable?
10599 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10601 cat >conftest.$ac_ext <<_ACEOF
10602 /* confdefs.h. */
10603 _ACEOF
10604 cat confdefs.h >>conftest.$ac_ext
10605 cat >>conftest.$ac_ext <<_ACEOF
10606 /* end confdefs.h. */
10607 $ac_includes_default
10608 #include <$ac_header>
10609 _ACEOF
10610 rm -f conftest.$ac_objext
10611 if { (ac_try="$ac_compile"
10612 case "(($ac_try" in
10613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10614 *) ac_try_echo=$ac_try;;
10615 esac
10616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10617 (eval "$ac_compile") 2>conftest.er1
10618 ac_status=$?
10619 grep -v '^ *+' conftest.er1 >conftest.err
10620 rm -f conftest.er1
10621 cat conftest.err >&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } && {
10624 test -z "$ac_c_werror_flag" ||
10625 test ! -s conftest.err
10626 } && test -s conftest.$ac_objext; then
10627 ac_header_compiler=yes
10628 else
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ac_header_compiler=no
10635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10637 echo "${ECHO_T}$ac_header_compiler" >&6; }
10639 # Is the header present?
10640 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10642 cat >conftest.$ac_ext <<_ACEOF
10643 /* confdefs.h. */
10644 _ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 #include <$ac_header>
10649 _ACEOF
10650 if { (ac_try="$ac_cpp conftest.$ac_ext"
10651 case "(($ac_try" in
10652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10653 *) ac_try_echo=$ac_try;;
10654 esac
10655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10657 ac_status=$?
10658 grep -v '^ *+' conftest.er1 >conftest.err
10659 rm -f conftest.er1
10660 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } >/dev/null && {
10663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10664 test ! -s conftest.err
10665 }; then
10666 ac_header_preproc=yes
10667 else
10668 echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.$ac_ext >&5
10671 ac_header_preproc=no
10674 rm -f conftest.err conftest.$ac_ext
10675 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10676 echo "${ECHO_T}$ac_header_preproc" >&6; }
10678 # So? What about this header?
10679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10680 yes:no: )
10681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10684 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10685 ac_header_preproc=yes
10687 no:yes:* )
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10689 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10691 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10693 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10695 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10699 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10700 ( cat <<\_ASBOX
10701 ## ------------------------------------ ##
10702 ## Report this to wine-devel@winehq.org ##
10703 ## ------------------------------------ ##
10704 _ASBOX
10705 ) | sed "s/^/$as_me: WARNING: /" >&2
10707 esac
10708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 else
10713 eval "$as_ac_Header=\$ac_header_preproc"
10715 ac_res=`eval echo '${'$as_ac_Header'}'`
10716 { echo "$as_me:$LINENO: result: $ac_res" >&5
10717 echo "${ECHO_T}$ac_res" >&6; }
10720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10721 cat >>confdefs.h <<_ACEOF
10722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10723 _ACEOF
10725 for ac_header in audio/soundlib.h
10727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10731 echo $ECHO_N "(cached) $ECHO_C" >&6
10732 else
10733 cat >conftest.$ac_ext <<_ACEOF
10734 /* confdefs.h. */
10735 _ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10739 #include <audio/audiolib.h>
10741 #include <$ac_header>
10742 _ACEOF
10743 rm -f conftest.$ac_objext
10744 if { (ac_try="$ac_compile"
10745 case "(($ac_try" in
10746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10747 *) ac_try_echo=$ac_try;;
10748 esac
10749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10750 (eval "$ac_compile") 2>conftest.er1
10751 ac_status=$?
10752 grep -v '^ *+' conftest.er1 >conftest.err
10753 rm -f conftest.er1
10754 cat conftest.err >&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } && {
10757 test -z "$ac_c_werror_flag" ||
10758 test ! -s conftest.err
10759 } && test -s conftest.$ac_objext; then
10760 eval "$as_ac_Header=yes"
10761 else
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 eval "$as_ac_Header=no"
10768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10770 ac_res=`eval echo '${'$as_ac_Header'}'`
10771 { echo "$as_me:$LINENO: result: $ac_res" >&5
10772 echo "${ECHO_T}$ac_res" >&6; }
10773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10774 cat >>confdefs.h <<_ACEOF
10775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10776 _ACEOF
10780 done
10782 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10783 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10784 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10789 cat >conftest.$ac_ext <<_ACEOF
10790 /* confdefs.h. */
10791 _ACEOF
10792 cat confdefs.h >>conftest.$ac_ext
10793 cat >>conftest.$ac_ext <<_ACEOF
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char AuCreateFlow ();
10804 main ()
10806 return AuCreateFlow ();
10808 return 0;
10810 _ACEOF
10811 rm -f conftest.$ac_objext conftest$ac_exeext
10812 if { (ac_try="$ac_link"
10813 case "(($ac_try" in
10814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10815 *) ac_try_echo=$ac_try;;
10816 esac
10817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10818 (eval "$ac_link") 2>conftest.er1
10819 ac_status=$?
10820 grep -v '^ *+' conftest.er1 >conftest.err
10821 rm -f conftest.er1
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } && {
10825 test -z "$ac_c_werror_flag" ||
10826 test ! -s conftest.err
10827 } && test -s conftest$ac_exeext &&
10828 $as_test_x conftest$ac_exeext; then
10829 ac_cv_lib_audio_AuCreateFlow=yes
10830 else
10831 echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5
10834 ac_cv_lib_audio_AuCreateFlow=no
10837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10838 conftest$ac_exeext conftest.$ac_ext
10839 LIBS=$ac_check_lib_save_LIBS
10841 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10842 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10843 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10845 cat >>confdefs.h <<\_ACEOF
10846 #define HAVE_NAS 1
10847 _ACEOF
10849 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10850 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-lXau $X_LIBS $LIBS"
10856 cat >conftest.$ac_ext <<_ACEOF
10857 /* confdefs.h. */
10858 _ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char XauGetBestAuthByAddr ();
10871 main ()
10873 return XauGetBestAuthByAddr ();
10875 return 0;
10877 _ACEOF
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (ac_try="$ac_link"
10880 case "(($ac_try" in
10881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10883 esac
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10886 ac_status=$?
10887 grep -v '^ *+' conftest.er1 >conftest.err
10888 rm -f conftest.er1
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext &&
10895 $as_test_x conftest$ac_exeext; then
10896 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10897 else
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10901 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10909 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10910 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10911 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10912 else
10913 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10921 done
10924 CPPFLAGS="$ac_save_CPPFLAGS"
10925 XFILES='$(XFILES)'
10926 else
10927 XLIB=""
10928 X_CFLAGS=""
10929 X_LIBS=""
10930 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10931 without X support, which probably isn't what you want. You will need to install
10932 development packages of Xlib/Xfree86 at the very least."
10936 XML2LIBS=""
10938 XML2INCL=""
10940 XSLTLIBS=""
10942 XSLTINCL=""
10944 ac_save_CPPFLAGS="$CPPFLAGS"
10945 if test "$PKG_CONFIG" != "false"
10946 then
10947 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10948 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10949 else
10950 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10951 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10953 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10955 for ac_header in libxml/parser.h
10957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10964 ac_res=`eval echo '${'$as_ac_Header'}'`
10965 { echo "$as_me:$LINENO: result: $ac_res" >&5
10966 echo "${ECHO_T}$ac_res" >&6; }
10967 else
10968 # Is the header compilable?
10969 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10971 cat >conftest.$ac_ext <<_ACEOF
10972 /* confdefs.h. */
10973 _ACEOF
10974 cat confdefs.h >>conftest.$ac_ext
10975 cat >>conftest.$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 $ac_includes_default
10978 #include <$ac_header>
10979 _ACEOF
10980 rm -f conftest.$ac_objext
10981 if { (ac_try="$ac_compile"
10982 case "(($ac_try" in
10983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10984 *) ac_try_echo=$ac_try;;
10985 esac
10986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10987 (eval "$ac_compile") 2>conftest.er1
10988 ac_status=$?
10989 grep -v '^ *+' conftest.er1 >conftest.err
10990 rm -f conftest.er1
10991 cat conftest.err >&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } && {
10994 test -z "$ac_c_werror_flag" ||
10995 test ! -s conftest.err
10996 } && test -s conftest.$ac_objext; then
10997 ac_header_compiler=yes
10998 else
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.$ac_ext >&5
11002 ac_header_compiler=no
11005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11006 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11007 echo "${ECHO_T}$ac_header_compiler" >&6; }
11009 # Is the header present?
11010 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11012 cat >conftest.$ac_ext <<_ACEOF
11013 /* confdefs.h. */
11014 _ACEOF
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11018 #include <$ac_header>
11019 _ACEOF
11020 if { (ac_try="$ac_cpp conftest.$ac_ext"
11021 case "(($ac_try" in
11022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;;
11024 esac
11025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11027 ac_status=$?
11028 grep -v '^ *+' conftest.er1 >conftest.err
11029 rm -f conftest.er1
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } >/dev/null && {
11033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11034 test ! -s conftest.err
11035 }; then
11036 ac_header_preproc=yes
11037 else
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11041 ac_header_preproc=no
11044 rm -f conftest.err conftest.$ac_ext
11045 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11046 echo "${ECHO_T}$ac_header_preproc" >&6; }
11048 # So? What about this header?
11049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11050 yes:no: )
11051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11055 ac_header_preproc=yes
11057 no:yes:* )
11058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11070 ( cat <<\_ASBOX
11071 ## ------------------------------------ ##
11072 ## Report this to wine-devel@winehq.org ##
11073 ## ------------------------------------ ##
11074 _ASBOX
11075 ) | sed "s/^/$as_me: WARNING: /" >&2
11077 esac
11078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 else
11083 eval "$as_ac_Header=\$ac_header_preproc"
11085 ac_res=`eval echo '${'$as_ac_Header'}'`
11086 { echo "$as_me:$LINENO: result: $ac_res" >&5
11087 echo "${ECHO_T}$ac_res" >&6; }
11090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11091 cat >>confdefs.h <<_ACEOF
11092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11093 _ACEOF
11094 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11095 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11096 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $ac_xml_libs $LIBS"
11101 cat >conftest.$ac_ext <<_ACEOF
11102 /* confdefs.h. */
11103 _ACEOF
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char xmlParseMemory ();
11116 main ()
11118 return xmlParseMemory ();
11120 return 0;
11122 _ACEOF
11123 rm -f conftest.$ac_objext conftest$ac_exeext
11124 if { (ac_try="$ac_link"
11125 case "(($ac_try" in
11126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11127 *) ac_try_echo=$ac_try;;
11128 esac
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_link") 2>conftest.er1
11131 ac_status=$?
11132 grep -v '^ *+' conftest.er1 >conftest.err
11133 rm -f conftest.er1
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && {
11137 test -z "$ac_c_werror_flag" ||
11138 test ! -s conftest.err
11139 } && test -s conftest$ac_exeext &&
11140 $as_test_x conftest$ac_exeext; then
11141 ac_cv_lib_xml2_xmlParseMemory=yes
11142 else
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.$ac_ext >&5
11146 ac_cv_lib_xml2_xmlParseMemory=no
11149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11153 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11154 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11155 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11157 cat >>confdefs.h <<\_ACEOF
11158 #define HAVE_LIBXML2 1
11159 _ACEOF
11161 XML2LIBS="$ac_xml_libs"
11162 XML2INCL="$ac_xml_cflags"
11165 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11166 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11167 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-lxml2 $ac_xml_libs $LIBS"
11172 cat >conftest.$ac_ext <<_ACEOF
11173 /* confdefs.h. */
11174 _ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char xmlReadMemory ();
11187 main ()
11189 return xmlReadMemory ();
11191 return 0;
11193 _ACEOF
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (ac_try="$ac_link"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11199 esac
11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_link") 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest$ac_exeext &&
11211 $as_test_x conftest$ac_exeext; then
11212 ac_cv_lib_xml2_xmlReadMemory=yes
11213 else
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_cv_lib_xml2_xmlReadMemory=no
11220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11225 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11226 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11228 cat >>confdefs.h <<\_ACEOF
11229 #define HAVE_XMLREADMEMORY 1
11230 _ACEOF
11234 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11235 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11236 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239 ac_check_lib_save_LIBS=$LIBS
11240 LIBS="-lxml2 $ac_xml_libs $LIBS"
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char xmlNewDocPI ();
11256 main ()
11258 return xmlNewDocPI ();
11260 return 0;
11262 _ACEOF
11263 rm -f conftest.$ac_objext conftest$ac_exeext
11264 if { (ac_try="$ac_link"
11265 case "(($ac_try" in
11266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11267 *) ac_try_echo=$ac_try;;
11268 esac
11269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11270 (eval "$ac_link") 2>conftest.er1
11271 ac_status=$?
11272 grep -v '^ *+' conftest.er1 >conftest.err
11273 rm -f conftest.er1
11274 cat conftest.err >&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } && {
11277 test -z "$ac_c_werror_flag" ||
11278 test ! -s conftest.err
11279 } && test -s conftest$ac_exeext &&
11280 $as_test_x conftest$ac_exeext; then
11281 ac_cv_lib_xml2_xmlNewDocPI=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11286 ac_cv_lib_xml2_xmlNewDocPI=no
11289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11294 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11295 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11297 cat >>confdefs.h <<\_ACEOF
11298 #define HAVE_XMLNEWDOCPI 1
11299 _ACEOF
11306 done
11308 CPPFLAGS="$ac_save_CPPFLAGS"
11309 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11310 wine_notices="$wine_notices|libxml2 development files not found.
11311 Wine will be built without XML support. (msxml.dll)"
11315 if test "$PKG_CONFIG" != "false"
11316 then
11317 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11318 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11319 else
11320 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11321 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11323 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11326 for ac_header in libxslt/pattern.h libxslt/transform.h
11328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 else
11334 cat >conftest.$ac_ext <<_ACEOF
11335 /* confdefs.h. */
11336 _ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #ifdef HAVE_LIBXSLT_PATTERN_H
11341 # include <libxslt/pattern.h>
11342 #endif
11344 #include <$ac_header>
11345 _ACEOF
11346 rm -f conftest.$ac_objext
11347 if { (ac_try="$ac_compile"
11348 case "(($ac_try" in
11349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11350 *) ac_try_echo=$ac_try;;
11351 esac
11352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11353 (eval "$ac_compile") 2>conftest.er1
11354 ac_status=$?
11355 grep -v '^ *+' conftest.er1 >conftest.err
11356 rm -f conftest.er1
11357 cat conftest.err >&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); } && {
11360 test -z "$ac_c_werror_flag" ||
11361 test ! -s conftest.err
11362 } && test -s conftest.$ac_objext; then
11363 eval "$as_ac_Header=yes"
11364 else
11365 echo "$as_me: failed program was:" >&5
11366 sed 's/^/| /' conftest.$ac_ext >&5
11368 eval "$as_ac_Header=no"
11371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11373 ac_res=`eval echo '${'$as_ac_Header'}'`
11374 { echo "$as_me:$LINENO: result: $ac_res" >&5
11375 echo "${ECHO_T}$ac_res" >&6; }
11376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11377 cat >>confdefs.h <<_ACEOF
11378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11379 _ACEOF
11380 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11381 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11382 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-lxslt $ac_xslt_libs $LIBS"
11387 cat >conftest.$ac_ext <<_ACEOF
11388 /* confdefs.h. */
11389 _ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char xsltCompilePattern ();
11402 main ()
11404 return xsltCompilePattern ();
11406 return 0;
11408 _ACEOF
11409 rm -f conftest.$ac_objext conftest$ac_exeext
11410 if { (ac_try="$ac_link"
11411 case "(($ac_try" in
11412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11413 *) ac_try_echo=$ac_try;;
11414 esac
11415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11416 (eval "$ac_link") 2>conftest.er1
11417 ac_status=$?
11418 grep -v '^ *+' conftest.er1 >conftest.err
11419 rm -f conftest.er1
11420 cat conftest.err >&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); } && {
11423 test -z "$ac_c_werror_flag" ||
11424 test ! -s conftest.err
11425 } && test -s conftest$ac_exeext &&
11426 $as_test_x conftest$ac_exeext; then
11427 ac_cv_lib_xslt_xsltCompilePattern=yes
11428 else
11429 echo "$as_me: failed program was:" >&5
11430 sed 's/^/| /' conftest.$ac_ext >&5
11432 ac_cv_lib_xslt_xsltCompilePattern=no
11435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11440 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11441 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11443 cat >>confdefs.h <<\_ACEOF
11444 #define HAVE_LIBXSLT 1
11445 _ACEOF
11447 XSLTLIBS="$ac_xslt_libs"
11448 XSLTINCL="$ac_xslt_cflags"
11454 done
11456 CPPFLAGS="$ac_save_CPPFLAGS"
11457 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11458 wine_notices="$wine_notices|libxslt development files not found.
11459 Wine will be built without xslt support. (msxml.dll)"
11463 HALINCL=""
11465 if test "$PKG_CONFIG" != "false"
11466 then
11467 ac_save_CPPFLAGS="$CPPFLAGS"
11468 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11469 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11470 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11473 for ac_header in dbus/dbus.h hal/libhal.h
11475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 ac_res=`eval echo '${'$as_ac_Header'}'`
11483 { echo "$as_me:$LINENO: result: $ac_res" >&5
11484 echo "${ECHO_T}$ac_res" >&6; }
11485 else
11486 # Is the header compilable?
11487 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
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. */
11495 $ac_includes_default
11496 #include <$ac_header>
11497 _ACEOF
11498 rm -f conftest.$ac_objext
11499 if { (ac_try="$ac_compile"
11500 case "(($ac_try" in
11501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11502 *) ac_try_echo=$ac_try;;
11503 esac
11504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 (eval "$ac_compile") 2>conftest.er1
11506 ac_status=$?
11507 grep -v '^ *+' conftest.er1 >conftest.err
11508 rm -f conftest.er1
11509 cat conftest.err >&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } && {
11512 test -z "$ac_c_werror_flag" ||
11513 test ! -s conftest.err
11514 } && test -s conftest.$ac_objext; then
11515 ac_header_compiler=yes
11516 else
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11520 ac_header_compiler=no
11523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11525 echo "${ECHO_T}$ac_header_compiler" >&6; }
11527 # Is the header present?
11528 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11530 cat >conftest.$ac_ext <<_ACEOF
11531 /* confdefs.h. */
11532 _ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11536 #include <$ac_header>
11537 _ACEOF
11538 if { (ac_try="$ac_cpp conftest.$ac_ext"
11539 case "(($ac_try" in
11540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541 *) ac_try_echo=$ac_try;;
11542 esac
11543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11545 ac_status=$?
11546 grep -v '^ *+' conftest.er1 >conftest.err
11547 rm -f conftest.er1
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } >/dev/null && {
11551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 }; then
11554 ac_header_preproc=yes
11555 else
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_header_preproc=no
11562 rm -f conftest.err conftest.$ac_ext
11563 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11564 echo "${ECHO_T}$ac_header_preproc" >&6; }
11566 # So? What about this header?
11567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11568 yes:no: )
11569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11573 ac_header_preproc=yes
11575 no:yes:* )
11576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11588 ( cat <<\_ASBOX
11589 ## ------------------------------------ ##
11590 ## Report this to wine-devel@winehq.org ##
11591 ## ------------------------------------ ##
11592 _ASBOX
11593 ) | sed "s/^/$as_me: WARNING: /" >&2
11595 esac
11596 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11599 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 else
11601 eval "$as_ac_Header=\$ac_header_preproc"
11603 ac_res=`eval echo '${'$as_ac_Header'}'`
11604 { echo "$as_me:$LINENO: result: $ac_res" >&5
11605 echo "${ECHO_T}$ac_res" >&6; }
11608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11609 cat >>confdefs.h <<_ACEOF
11610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11611 _ACEOF
11615 done
11617 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11618 then
11619 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11620 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11621 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 else
11624 ac_check_lib_save_LIBS=$LIBS
11625 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11626 cat >conftest.$ac_ext <<_ACEOF
11627 /* confdefs.h. */
11628 _ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11636 #ifdef __cplusplus
11637 extern "C"
11638 #endif
11639 char dbus_connection_close ();
11641 main ()
11643 return dbus_connection_close ();
11645 return 0;
11647 _ACEOF
11648 rm -f conftest.$ac_objext conftest$ac_exeext
11649 if { (ac_try="$ac_link"
11650 case "(($ac_try" in
11651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11652 *) ac_try_echo=$ac_try;;
11653 esac
11654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11655 (eval "$ac_link") 2>conftest.er1
11656 ac_status=$?
11657 grep -v '^ *+' conftest.er1 >conftest.err
11658 rm -f conftest.er1
11659 cat conftest.err >&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } && {
11662 test -z "$ac_c_werror_flag" ||
11663 test ! -s conftest.err
11664 } && test -s conftest$ac_exeext &&
11665 $as_test_x conftest$ac_exeext; then
11666 ac_cv_lib_dbus_1_dbus_connection_close=yes
11667 else
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11671 ac_cv_lib_dbus_1_dbus_connection_close=no
11674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11675 conftest$ac_exeext conftest.$ac_ext
11676 LIBS=$ac_check_lib_save_LIBS
11678 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11679 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11680 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11681 { echo "$as_me:$LINENO: checking for -lhal" >&5
11682 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11683 if test "${ac_cv_lib_soname_hal+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 else
11686 ac_check_soname_save_LIBS=$LIBS
11687 LIBS="-lhal $ac_hal_libs $LIBS"
11688 cat >conftest.$ac_ext <<_ACEOF
11689 /* confdefs.h. */
11690 _ACEOF
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char libhal_ctx_new ();
11703 main ()
11705 return libhal_ctx_new ();
11707 return 0;
11709 _ACEOF
11710 rm -f conftest.$ac_objext conftest$ac_exeext
11711 if { (ac_try="$ac_link"
11712 case "(($ac_try" in
11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11715 esac
11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>conftest.er1
11718 ac_status=$?
11719 grep -v '^ *+' conftest.er1 >conftest.err
11720 rm -f conftest.er1
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } && {
11724 test -z "$ac_c_werror_flag" ||
11725 test ! -s conftest.err
11726 } && test -s conftest$ac_exeext &&
11727 $as_test_x conftest$ac_exeext; then
11728 case "$LIBEXT" in
11729 dll) ;;
11730 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'` ;;
11731 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11732 esac
11733 else
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11741 conftest$ac_exeext conftest.$ac_ext
11742 LIBS=$ac_check_soname_save_LIBS
11744 if test "x$ac_cv_lib_soname_hal" = "x"; then
11745 { echo "$as_me:$LINENO: result: not found" >&5
11746 echo "${ECHO_T}not found" >&6; }
11748 else
11749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11750 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11752 cat >>confdefs.h <<_ACEOF
11753 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11754 _ACEOF
11756 HALINCL="$ac_hal_cflags"
11762 CPPFLAGS="$ac_save_CPPFLAGS"
11764 if test "x$ac_cv_lib_soname_hal" = "x"; then
11765 wine_notices="$wine_notices|libhal development files not found.
11766 Wine will be built without dynamic device support. (explorer.exe)"
11770 CURSESLIBS=""
11771 if test "$ac_cv_header_ncurses_h" = "yes"
11772 then
11773 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11774 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11775 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 else
11778 ac_check_soname_save_LIBS=$LIBS
11779 LIBS="-lncurses $LIBS"
11780 cat >conftest.$ac_ext <<_ACEOF
11781 /* confdefs.h. */
11782 _ACEOF
11783 cat confdefs.h >>conftest.$ac_ext
11784 cat >>conftest.$ac_ext <<_ACEOF
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 #ifdef __cplusplus
11791 extern "C"
11792 #endif
11793 char waddch ();
11795 main ()
11797 return waddch ();
11799 return 0;
11801 _ACEOF
11802 rm -f conftest.$ac_objext conftest$ac_exeext
11803 if { (ac_try="$ac_link"
11804 case "(($ac_try" in
11805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11806 *) ac_try_echo=$ac_try;;
11807 esac
11808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11809 (eval "$ac_link") 2>conftest.er1
11810 ac_status=$?
11811 grep -v '^ *+' conftest.er1 >conftest.err
11812 rm -f conftest.er1
11813 cat conftest.err >&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } && {
11816 test -z "$ac_c_werror_flag" ||
11817 test ! -s conftest.err
11818 } && test -s conftest$ac_exeext &&
11819 $as_test_x conftest$ac_exeext; then
11820 case "$LIBEXT" in
11821 dll) ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11824 esac
11825 else
11826 echo "$as_me: failed program was:" >&5
11827 sed 's/^/| /' conftest.$ac_ext >&5
11832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_soname_save_LIBS
11836 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11837 { echo "$as_me:$LINENO: result: not found" >&5
11838 echo "${ECHO_T}not found" >&6; }
11840 else
11841 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11842 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11844 cat >>confdefs.h <<_ACEOF
11845 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11846 _ACEOF
11848 CURSESLIBS="-lncurses"
11851 elif test "$ac_cv_header_curses_h" = "yes"
11852 then
11853 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11854 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11855 if test "${ac_cv_lib_soname_curses+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 else
11858 ac_check_soname_save_LIBS=$LIBS
11859 LIBS="-lcurses $LIBS"
11860 cat >conftest.$ac_ext <<_ACEOF
11861 /* confdefs.h. */
11862 _ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11870 #ifdef __cplusplus
11871 extern "C"
11872 #endif
11873 char waddch ();
11875 main ()
11877 return waddch ();
11879 return 0;
11881 _ACEOF
11882 rm -f conftest.$ac_objext conftest$ac_exeext
11883 if { (ac_try="$ac_link"
11884 case "(($ac_try" in
11885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11886 *) ac_try_echo=$ac_try;;
11887 esac
11888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11889 (eval "$ac_link") 2>conftest.er1
11890 ac_status=$?
11891 grep -v '^ *+' conftest.er1 >conftest.err
11892 rm -f conftest.er1
11893 cat conftest.err >&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); } && {
11896 test -z "$ac_c_werror_flag" ||
11897 test ! -s conftest.err
11898 } && test -s conftest$ac_exeext &&
11899 $as_test_x conftest$ac_exeext; then
11900 case "$LIBEXT" in
11901 dll) ;;
11902 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'` ;;
11903 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11904 esac
11905 else
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_soname_save_LIBS
11916 if test "x$ac_cv_lib_soname_curses" = "x"; then
11917 { echo "$as_me:$LINENO: result: not found" >&5
11918 echo "${ECHO_T}not found" >&6; }
11920 else
11921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11922 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11924 cat >>confdefs.h <<_ACEOF
11925 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11926 _ACEOF
11928 CURSESLIBS="-lcurses"
11932 ac_save_LIBS="$LIBS"
11933 LIBS="$LIBS $CURSESLIBS"
11935 for ac_func in mousemask
11937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 else
11943 cat >conftest.$ac_ext <<_ACEOF
11944 /* confdefs.h. */
11945 _ACEOF
11946 cat confdefs.h >>conftest.$ac_ext
11947 cat >>conftest.$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11951 #define $ac_func innocuous_$ac_func
11953 /* System header to define __stub macros and hopefully few prototypes,
11954 which can conflict with char $ac_func (); below.
11955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 <limits.h> exists even on freestanding compilers. */
11958 #ifdef __STDC__
11959 # include <limits.h>
11960 #else
11961 # include <assert.h>
11962 #endif
11964 #undef $ac_func
11966 /* Override any GCC internal prototype to avoid an error.
11967 Use char because int might match the return type of a GCC
11968 builtin and then its argument prototype would still apply. */
11969 #ifdef __cplusplus
11970 extern "C"
11971 #endif
11972 char $ac_func ();
11973 /* The GNU C library defines this for functions which it implements
11974 to always fail with ENOSYS. Some functions are actually named
11975 something starting with __ and the normal name is an alias. */
11976 #if defined __stub_$ac_func || defined __stub___$ac_func
11977 choke me
11978 #endif
11981 main ()
11983 return $ac_func ();
11985 return 0;
11987 _ACEOF
11988 rm -f conftest.$ac_objext conftest$ac_exeext
11989 if { (ac_try="$ac_link"
11990 case "(($ac_try" in
11991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11992 *) ac_try_echo=$ac_try;;
11993 esac
11994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11995 (eval "$ac_link") 2>conftest.er1
11996 ac_status=$?
11997 grep -v '^ *+' conftest.er1 >conftest.err
11998 rm -f conftest.er1
11999 cat conftest.err >&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } && {
12002 test -z "$ac_c_werror_flag" ||
12003 test ! -s conftest.err
12004 } && test -s conftest$ac_exeext &&
12005 $as_test_x conftest$ac_exeext; then
12006 eval "$as_ac_var=yes"
12007 else
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12011 eval "$as_ac_var=no"
12014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12015 conftest$ac_exeext conftest.$ac_ext
12017 ac_res=`eval echo '${'$as_ac_var'}'`
12018 { echo "$as_me:$LINENO: result: $ac_res" >&5
12019 echo "${ECHO_T}$ac_res" >&6; }
12020 if test `eval echo '${'$as_ac_var'}'` = yes; then
12021 cat >>confdefs.h <<_ACEOF
12022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12023 _ACEOF
12026 done
12028 LIBS="$ac_save_LIBS"
12029 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12030 wine_notices="$wine_notices|lib(n)curses development files not found.
12031 Wine will be built without (n)curses support. (wineconsole.exe)"
12035 # Extract the first word of "sane-config", so it can be a program name with args.
12036 set dummy sane-config; ac_word=$2
12037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12039 if test "${ac_cv_prog_sane_devel+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 if test -n "$sane_devel"; then
12043 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12044 else
12045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12046 for as_dir in $PATH
12048 IFS=$as_save_IFS
12049 test -z "$as_dir" && as_dir=.
12050 for ac_exec_ext in '' $ac_executable_extensions; do
12051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12052 ac_cv_prog_sane_devel="sane-config"
12053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 break 2
12056 done
12057 done
12058 IFS=$as_save_IFS
12060 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12063 sane_devel=$ac_cv_prog_sane_devel
12064 if test -n "$sane_devel"; then
12065 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12066 echo "${ECHO_T}$sane_devel" >&6; }
12067 else
12068 { echo "$as_me:$LINENO: result: no" >&5
12069 echo "${ECHO_T}no" >&6; }
12073 if test "$sane_devel" != "no"
12074 then
12075 ac_sane_incl="`$sane_devel --cflags`"
12076 ac_save_CPPFLAGS="$CPPFLAGS"
12077 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12078 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12079 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12080 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12081 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12085 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12086 else
12087 # Is the header compilable?
12088 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12089 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12090 cat >conftest.$ac_ext <<_ACEOF
12091 /* confdefs.h. */
12092 _ACEOF
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 $ac_includes_default
12097 #include <sane/sane.h>
12098 _ACEOF
12099 rm -f conftest.$ac_objext
12100 if { (ac_try="$ac_compile"
12101 case "(($ac_try" in
12102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12104 esac
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_compile") 2>conftest.er1
12107 ac_status=$?
12108 grep -v '^ *+' conftest.er1 >conftest.err
12109 rm -f conftest.er1
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest.$ac_objext; then
12116 ac_header_compiler=yes
12117 else
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 ac_header_compiler=no
12124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12126 echo "${ECHO_T}$ac_header_compiler" >&6; }
12128 # Is the header present?
12129 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12130 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12131 cat >conftest.$ac_ext <<_ACEOF
12132 /* confdefs.h. */
12133 _ACEOF
12134 cat confdefs.h >>conftest.$ac_ext
12135 cat >>conftest.$ac_ext <<_ACEOF
12136 /* end confdefs.h. */
12137 #include <sane/sane.h>
12138 _ACEOF
12139 if { (ac_try="$ac_cpp conftest.$ac_ext"
12140 case "(($ac_try" in
12141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12142 *) ac_try_echo=$ac_try;;
12143 esac
12144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12146 ac_status=$?
12147 grep -v '^ *+' conftest.er1 >conftest.err
12148 rm -f conftest.er1
12149 cat conftest.err >&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } >/dev/null && {
12152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12153 test ! -s conftest.err
12154 }; then
12155 ac_header_preproc=yes
12156 else
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 ac_header_preproc=no
12163 rm -f conftest.err conftest.$ac_ext
12164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12165 echo "${ECHO_T}$ac_header_preproc" >&6; }
12167 # So? What about this header?
12168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12169 yes:no: )
12170 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12171 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12172 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12173 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12174 ac_header_preproc=yes
12176 no:yes:* )
12177 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12178 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12179 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12180 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12181 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12182 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12184 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12185 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12186 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12187 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12188 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12189 ( cat <<\_ASBOX
12190 ## ------------------------------------ ##
12191 ## Report this to wine-devel@winehq.org ##
12192 ## ------------------------------------ ##
12193 _ASBOX
12194 ) | sed "s/^/$as_me: WARNING: /" >&2
12196 esac
12197 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12198 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12199 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 else
12202 ac_cv_header_sane_sane_h=$ac_header_preproc
12204 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12205 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12208 if test $ac_cv_header_sane_sane_h = yes; then
12209 { echo "$as_me:$LINENO: checking for -lsane" >&5
12210 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12211 if test "${ac_cv_lib_soname_sane+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 else
12214 ac_check_soname_save_LIBS=$LIBS
12215 LIBS="-lsane $LIBS"
12216 cat >conftest.$ac_ext <<_ACEOF
12217 /* confdefs.h. */
12218 _ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12223 /* Override any GCC internal prototype to avoid an error.
12224 Use char because int might match the return type of a GCC
12225 builtin and then its argument prototype would still apply. */
12226 #ifdef __cplusplus
12227 extern "C"
12228 #endif
12229 char sane_init ();
12231 main ()
12233 return sane_init ();
12235 return 0;
12237 _ACEOF
12238 rm -f conftest.$ac_objext conftest$ac_exeext
12239 if { (ac_try="$ac_link"
12240 case "(($ac_try" in
12241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12242 *) ac_try_echo=$ac_try;;
12243 esac
12244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12245 (eval "$ac_link") 2>conftest.er1
12246 ac_status=$?
12247 grep -v '^ *+' conftest.er1 >conftest.err
12248 rm -f conftest.er1
12249 cat conftest.err >&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } && {
12252 test -z "$ac_c_werror_flag" ||
12253 test ! -s conftest.err
12254 } && test -s conftest$ac_exeext &&
12255 $as_test_x conftest$ac_exeext; then
12256 case "$LIBEXT" in
12257 dll) ;;
12258 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'` ;;
12259 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12260 esac
12261 else
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.$ac_ext >&5
12268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12269 conftest$ac_exeext conftest.$ac_ext
12270 LIBS=$ac_check_soname_save_LIBS
12272 if test "x$ac_cv_lib_soname_sane" = "x"; then
12273 { echo "$as_me:$LINENO: result: not found" >&5
12274 echo "${ECHO_T}not found" >&6; }
12276 else
12277 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12278 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12280 cat >>confdefs.h <<_ACEOF
12281 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12282 _ACEOF
12284 SANEINCL="$ac_sane_incl"
12291 CPPFLAGS="$ac_save_CPPFLAGS"
12293 if test "x$ac_cv_lib_soname_sane" = "x"; then
12294 wine_notices="$wine_notices|libsane development files not found.
12295 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12299 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12300 set dummy gphoto2-config; ac_word=$2
12301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12303 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12306 if test -n "$gphoto2_devel"; then
12307 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12308 else
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12312 IFS=$as_save_IFS
12313 test -z "$as_dir" && as_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12316 ac_cv_prog_gphoto2_devel="gphoto2-config"
12317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12318 break 2
12320 done
12321 done
12322 IFS=$as_save_IFS
12324 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12327 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12328 if test -n "$gphoto2_devel"; then
12329 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12330 echo "${ECHO_T}$gphoto2_devel" >&6; }
12331 else
12332 { echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6; }
12337 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12338 set dummy gphoto2-port-config; ac_word=$2
12339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12341 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 else
12344 if test -n "$gphoto2port_devel"; then
12345 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12346 else
12347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12348 for as_dir in $PATH
12350 IFS=$as_save_IFS
12351 test -z "$as_dir" && as_dir=.
12352 for ac_exec_ext in '' $ac_executable_extensions; do
12353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12354 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12356 break 2
12358 done
12359 done
12360 IFS=$as_save_IFS
12362 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12365 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12366 if test -n "$gphoto2port_devel"; then
12367 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12368 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12369 else
12370 { echo "$as_me:$LINENO: result: no" >&5
12371 echo "${ECHO_T}no" >&6; }
12375 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12376 then
12377 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12378 ac_gphoto2_libs=""
12379 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12381 case "$i" in
12382 -L/usr/lib|-L/usr/lib64) ;;
12383 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12384 esac
12385 done
12386 ac_save_CPPFLAGS="$CPPFLAGS"
12387 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12388 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12389 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12390 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12391 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12395 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12396 else
12397 # Is the header compilable?
12398 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12399 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12400 cat >conftest.$ac_ext <<_ACEOF
12401 /* confdefs.h. */
12402 _ACEOF
12403 cat confdefs.h >>conftest.$ac_ext
12404 cat >>conftest.$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12406 $ac_includes_default
12407 #include <gphoto2-camera.h>
12408 _ACEOF
12409 rm -f conftest.$ac_objext
12410 if { (ac_try="$ac_compile"
12411 case "(($ac_try" in
12412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12413 *) ac_try_echo=$ac_try;;
12414 esac
12415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12416 (eval "$ac_compile") 2>conftest.er1
12417 ac_status=$?
12418 grep -v '^ *+' conftest.er1 >conftest.err
12419 rm -f conftest.er1
12420 cat conftest.err >&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } && {
12423 test -z "$ac_c_werror_flag" ||
12424 test ! -s conftest.err
12425 } && test -s conftest.$ac_objext; then
12426 ac_header_compiler=yes
12427 else
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.$ac_ext >&5
12431 ac_header_compiler=no
12434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12435 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12436 echo "${ECHO_T}$ac_header_compiler" >&6; }
12438 # Is the header present?
12439 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12440 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12441 cat >conftest.$ac_ext <<_ACEOF
12442 /* confdefs.h. */
12443 _ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12447 #include <gphoto2-camera.h>
12448 _ACEOF
12449 if { (ac_try="$ac_cpp conftest.$ac_ext"
12450 case "(($ac_try" in
12451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12452 *) ac_try_echo=$ac_try;;
12453 esac
12454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12456 ac_status=$?
12457 grep -v '^ *+' conftest.er1 >conftest.err
12458 rm -f conftest.er1
12459 cat conftest.err >&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } >/dev/null && {
12462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12463 test ! -s conftest.err
12464 }; then
12465 ac_header_preproc=yes
12466 else
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.$ac_ext >&5
12470 ac_header_preproc=no
12473 rm -f conftest.err conftest.$ac_ext
12474 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12475 echo "${ECHO_T}$ac_header_preproc" >&6; }
12477 # So? What about this header?
12478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12479 yes:no: )
12480 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12481 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12483 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12484 ac_header_preproc=yes
12486 no:yes:* )
12487 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12488 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12489 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12490 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12491 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12492 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12493 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12494 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12495 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12496 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12497 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12498 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12499 ( cat <<\_ASBOX
12500 ## ------------------------------------ ##
12501 ## Report this to wine-devel@winehq.org ##
12502 ## ------------------------------------ ##
12503 _ASBOX
12504 ) | sed "s/^/$as_me: WARNING: /" >&2
12506 esac
12507 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12508 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12509 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 else
12512 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12514 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12515 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12518 if test $ac_cv_header_gphoto2_camera_h = yes; then
12519 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12520 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12521 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 else
12524 ac_check_lib_save_LIBS=$LIBS
12525 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12526 cat >conftest.$ac_ext <<_ACEOF
12527 /* confdefs.h. */
12528 _ACEOF
12529 cat confdefs.h >>conftest.$ac_ext
12530 cat >>conftest.$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char gp_camera_new ();
12541 main ()
12543 return gp_camera_new ();
12545 return 0;
12547 _ACEOF
12548 rm -f conftest.$ac_objext conftest$ac_exeext
12549 if { (ac_try="$ac_link"
12550 case "(($ac_try" in
12551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12552 *) ac_try_echo=$ac_try;;
12553 esac
12554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12555 (eval "$ac_link") 2>conftest.er1
12556 ac_status=$?
12557 grep -v '^ *+' conftest.er1 >conftest.err
12558 rm -f conftest.er1
12559 cat conftest.err >&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); } && {
12562 test -z "$ac_c_werror_flag" ||
12563 test ! -s conftest.err
12564 } && test -s conftest$ac_exeext &&
12565 $as_test_x conftest$ac_exeext; then
12566 ac_cv_lib_gphoto2_gp_camera_new=yes
12567 else
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.$ac_ext >&5
12571 ac_cv_lib_gphoto2_gp_camera_new=no
12574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12575 conftest$ac_exeext conftest.$ac_ext
12576 LIBS=$ac_check_lib_save_LIBS
12578 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12579 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12580 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12582 cat >>confdefs.h <<\_ACEOF
12583 #define HAVE_GPHOTO2 1
12584 _ACEOF
12586 GPHOTO2LIBS="$ac_gphoto2_libs"
12588 GPHOTO2INCL="$ac_gphoto2_incl"
12595 CPPFLAGS="$ac_save_CPPFLAGS"
12597 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12598 wine_notices="$wine_notices|libgphoto2 development files not found.
12599 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12604 RESOLVLIBS=""
12606 if test "$ac_cv_header_resolv_h" = "yes"
12607 then
12608 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12609 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12610 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12612 else
12613 ac_check_lib_save_LIBS=$LIBS
12614 LIBS="-lresolv $LIBS"
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12625 #ifdef __cplusplus
12626 extern "C"
12627 #endif
12628 char res_query ();
12630 main ()
12632 return res_query ();
12634 return 0;
12636 _ACEOF
12637 rm -f conftest.$ac_objext conftest$ac_exeext
12638 if { (ac_try="$ac_link"
12639 case "(($ac_try" in
12640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12641 *) ac_try_echo=$ac_try;;
12642 esac
12643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12644 (eval "$ac_link") 2>conftest.er1
12645 ac_status=$?
12646 grep -v '^ *+' conftest.er1 >conftest.err
12647 rm -f conftest.er1
12648 cat conftest.err >&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); } && {
12651 test -z "$ac_c_werror_flag" ||
12652 test ! -s conftest.err
12653 } && test -s conftest$ac_exeext &&
12654 $as_test_x conftest$ac_exeext; then
12655 ac_cv_lib_resolv_res_query=yes
12656 else
12657 echo "$as_me: failed program was:" >&5
12658 sed 's/^/| /' conftest.$ac_ext >&5
12660 ac_cv_lib_resolv_res_query=no
12663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12664 conftest$ac_exeext conftest.$ac_ext
12665 LIBS=$ac_check_lib_save_LIBS
12667 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12668 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12669 if test $ac_cv_lib_resolv_res_query = yes; then
12671 cat >>confdefs.h <<\_ACEOF
12672 #define HAVE_RESOLV 1
12673 _ACEOF
12675 RESOLVLIBS="-lresolv"
12680 LCMSLIBS=""
12682 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12683 then
12684 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12685 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12686 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 else
12689 ac_check_lib_save_LIBS=$LIBS
12690 LIBS="-llcms $LIBS"
12691 cat >conftest.$ac_ext <<_ACEOF
12692 /* confdefs.h. */
12693 _ACEOF
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12698 /* Override any GCC internal prototype to avoid an error.
12699 Use char because int might match the return type of a GCC
12700 builtin and then its argument prototype would still apply. */
12701 #ifdef __cplusplus
12702 extern "C"
12703 #endif
12704 char cmsOpenProfileFromFile ();
12706 main ()
12708 return cmsOpenProfileFromFile ();
12710 return 0;
12712 _ACEOF
12713 rm -f conftest.$ac_objext conftest$ac_exeext
12714 if { (ac_try="$ac_link"
12715 case "(($ac_try" in
12716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12717 *) ac_try_echo=$ac_try;;
12718 esac
12719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12720 (eval "$ac_link") 2>conftest.er1
12721 ac_status=$?
12722 grep -v '^ *+' conftest.er1 >conftest.err
12723 rm -f conftest.er1
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } && {
12727 test -z "$ac_c_werror_flag" ||
12728 test ! -s conftest.err
12729 } && test -s conftest$ac_exeext &&
12730 $as_test_x conftest$ac_exeext; then
12731 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12732 else
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12736 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12740 conftest$ac_exeext conftest.$ac_ext
12741 LIBS=$ac_check_lib_save_LIBS
12743 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12744 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12745 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12747 cat >>confdefs.h <<\_ACEOF
12748 #define HAVE_LCMS 1
12749 _ACEOF
12751 LCMSLIBS="-llcms"
12755 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12756 wine_notices="$wine_notices|liblcms development files not found.
12757 Wine will be built without Color Management support. (mscms.dll)"
12761 LDAPLIBS=""
12763 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12764 then
12765 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12766 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12767 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770 ac_check_lib_save_LIBS=$LIBS
12771 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12772 cat >conftest.$ac_ext <<_ACEOF
12773 /* confdefs.h. */
12774 _ACEOF
12775 cat confdefs.h >>conftest.$ac_ext
12776 cat >>conftest.$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12782 #ifdef __cplusplus
12783 extern "C"
12784 #endif
12785 char ldap_initialize ();
12787 main ()
12789 return ldap_initialize ();
12791 return 0;
12793 _ACEOF
12794 rm -f conftest.$ac_objext conftest$ac_exeext
12795 if { (ac_try="$ac_link"
12796 case "(($ac_try" in
12797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798 *) ac_try_echo=$ac_try;;
12799 esac
12800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12801 (eval "$ac_link") 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } && {
12808 test -z "$ac_c_werror_flag" ||
12809 test ! -s conftest.err
12810 } && test -s conftest$ac_exeext &&
12811 $as_test_x conftest$ac_exeext; then
12812 ac_cv_lib_ldap_r_ldap_initialize=yes
12813 else
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.$ac_ext >&5
12817 ac_cv_lib_ldap_r_ldap_initialize=no
12820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12825 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12826 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12827 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12828 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12829 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 else
12832 ac_check_lib_save_LIBS=$LIBS
12833 LIBS="-llber $LIBPTHREAD $LIBS"
12834 cat >conftest.$ac_ext <<_ACEOF
12835 /* confdefs.h. */
12836 _ACEOF
12837 cat confdefs.h >>conftest.$ac_ext
12838 cat >>conftest.$ac_ext <<_ACEOF
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char ber_init ();
12849 main ()
12851 return ber_init ();
12853 return 0;
12855 _ACEOF
12856 rm -f conftest.$ac_objext conftest$ac_exeext
12857 if { (ac_try="$ac_link"
12858 case "(($ac_try" in
12859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12860 *) ac_try_echo=$ac_try;;
12861 esac
12862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12863 (eval "$ac_link") 2>conftest.er1
12864 ac_status=$?
12865 grep -v '^ *+' conftest.er1 >conftest.err
12866 rm -f conftest.er1
12867 cat conftest.err >&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } && {
12870 test -z "$ac_c_werror_flag" ||
12871 test ! -s conftest.err
12872 } && test -s conftest$ac_exeext &&
12873 $as_test_x conftest$ac_exeext; then
12874 ac_cv_lib_lber_ber_init=yes
12875 else
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.$ac_ext >&5
12879 ac_cv_lib_lber_ber_init=no
12882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_lib_save_LIBS
12886 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12887 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12888 if test $ac_cv_lib_lber_ber_init = yes; then
12890 cat >>confdefs.h <<\_ACEOF
12891 #define HAVE_LDAP 1
12892 _ACEOF
12894 LDAPLIBS="-lldap_r -llber"
12899 ac_wine_check_funcs_save_LIBS="$LIBS"
12900 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12909 for ac_func in \
12910 ldap_count_references \
12911 ldap_first_reference \
12912 ldap_next_reference \
12913 ldap_parse_reference \
12914 ldap_parse_sort_control \
12915 ldap_parse_sortresponse_control \
12916 ldap_parse_vlv_control \
12917 ldap_parse_vlvresponse_control
12919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12923 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 else
12925 cat >conftest.$ac_ext <<_ACEOF
12926 /* confdefs.h. */
12927 _ACEOF
12928 cat confdefs.h >>conftest.$ac_ext
12929 cat >>conftest.$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12933 #define $ac_func innocuous_$ac_func
12935 /* System header to define __stub macros and hopefully few prototypes,
12936 which can conflict with char $ac_func (); below.
12937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12938 <limits.h> exists even on freestanding compilers. */
12940 #ifdef __STDC__
12941 # include <limits.h>
12942 #else
12943 # include <assert.h>
12944 #endif
12946 #undef $ac_func
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 #ifdef __cplusplus
12952 extern "C"
12953 #endif
12954 char $ac_func ();
12955 /* The GNU C library defines this for functions which it implements
12956 to always fail with ENOSYS. Some functions are actually named
12957 something starting with __ and the normal name is an alias. */
12958 #if defined __stub_$ac_func || defined __stub___$ac_func
12959 choke me
12960 #endif
12963 main ()
12965 return $ac_func ();
12967 return 0;
12969 _ACEOF
12970 rm -f conftest.$ac_objext conftest$ac_exeext
12971 if { (ac_try="$ac_link"
12972 case "(($ac_try" in
12973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12974 *) ac_try_echo=$ac_try;;
12975 esac
12976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12977 (eval "$ac_link") 2>conftest.er1
12978 ac_status=$?
12979 grep -v '^ *+' conftest.er1 >conftest.err
12980 rm -f conftest.er1
12981 cat conftest.err >&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } && {
12984 test -z "$ac_c_werror_flag" ||
12985 test ! -s conftest.err
12986 } && test -s conftest$ac_exeext &&
12987 $as_test_x conftest$ac_exeext; then
12988 eval "$as_ac_var=yes"
12989 else
12990 echo "$as_me: failed program was:" >&5
12991 sed 's/^/| /' conftest.$ac_ext >&5
12993 eval "$as_ac_var=no"
12996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12997 conftest$ac_exeext conftest.$ac_ext
12999 ac_res=`eval echo '${'$as_ac_var'}'`
13000 { echo "$as_me:$LINENO: result: $ac_res" >&5
13001 echo "${ECHO_T}$ac_res" >&6; }
13002 if test `eval echo '${'$as_ac_var'}'` = yes; then
13003 cat >>confdefs.h <<_ACEOF
13004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13005 _ACEOF
13008 done
13010 LIBS="$ac_wine_check_funcs_save_LIBS"
13012 if test "x$LDAPLIBS" = "x"; then
13013 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13014 Wine will be built without LDAP support. (wldap32.dll)"
13018 for ac_prog in freetype-config freetype2-config
13020 # Extract the first word of "$ac_prog", so it can be a program name with args.
13021 set dummy $ac_prog; ac_word=$2
13022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13024 if test "${ac_cv_prog_ft_devel+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 else
13027 if test -n "$ft_devel"; then
13028 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13029 else
13030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031 for as_dir in $PATH
13033 IFS=$as_save_IFS
13034 test -z "$as_dir" && as_dir=.
13035 for ac_exec_ext in '' $ac_executable_extensions; do
13036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13037 ac_cv_prog_ft_devel="$ac_prog"
13038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13039 break 2
13041 done
13042 done
13043 IFS=$as_save_IFS
13047 ft_devel=$ac_cv_prog_ft_devel
13048 if test -n "$ft_devel"; then
13049 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13050 echo "${ECHO_T}$ft_devel" >&6; }
13051 else
13052 { echo "$as_me:$LINENO: result: no" >&5
13053 echo "${ECHO_T}no" >&6; }
13057 test -n "$ft_devel" && break
13058 done
13059 test -n "$ft_devel" || ft_devel="false"
13061 if test "$ft_devel" != "false"
13062 then
13063 ac_freetype_libs=`$ft_devel --libs`
13064 ac_freetype_incl=`$ft_devel --cflags`
13065 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13066 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13067 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 ac_check_soname_save_LIBS=$LIBS
13071 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13072 cat >conftest.$ac_ext <<_ACEOF
13073 /* confdefs.h. */
13074 _ACEOF
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13079 /* Override any GCC internal prototype to avoid an error.
13080 Use char because int might match the return type of a GCC
13081 builtin and then its argument prototype would still apply. */
13082 #ifdef __cplusplus
13083 extern "C"
13084 #endif
13085 char FT_Init_FreeType ();
13087 main ()
13089 return FT_Init_FreeType ();
13091 return 0;
13093 _ACEOF
13094 rm -f conftest.$ac_objext conftest$ac_exeext
13095 if { (ac_try="$ac_link"
13096 case "(($ac_try" in
13097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13098 *) ac_try_echo=$ac_try;;
13099 esac
13100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13101 (eval "$ac_link") 2>conftest.er1
13102 ac_status=$?
13103 grep -v '^ *+' conftest.er1 >conftest.err
13104 rm -f conftest.er1
13105 cat conftest.err >&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); } && {
13108 test -z "$ac_c_werror_flag" ||
13109 test ! -s conftest.err
13110 } && test -s conftest$ac_exeext &&
13111 $as_test_x conftest$ac_exeext; then
13112 case "$LIBEXT" in
13113 dll) ;;
13114 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'` ;;
13115 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13116 esac
13117 else
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.$ac_ext >&5
13124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13125 conftest$ac_exeext conftest.$ac_ext
13126 LIBS=$ac_check_soname_save_LIBS
13128 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13129 { echo "$as_me:$LINENO: result: not found" >&5
13130 echo "${ECHO_T}not found" >&6; }
13131 ft_lib=no
13132 else
13133 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13134 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13136 cat >>confdefs.h <<_ACEOF
13137 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13138 _ACEOF
13140 ft_lib=yes
13143 if test "$ft_lib" = "yes"
13144 then
13145 ac_save_CPPFLAGS="$CPPFLAGS"
13146 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13159 for ac_header in ft2build.h \
13160 freetype/freetype.h \
13161 freetype/ftglyph.h \
13162 freetype/fttypes.h \
13163 freetype/tttables.h \
13164 freetype/ftnames.h \
13165 freetype/ftsnames.h \
13166 freetype/ttnameid.h \
13167 freetype/ftoutln.h \
13168 freetype/ftwinfnt.h \
13169 freetype/ftmodapi.h \
13170 freetype/internal/sfnt.h
13172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13177 else
13178 cat >conftest.$ac_ext <<_ACEOF
13179 /* confdefs.h. */
13180 _ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 #if HAVE_FT2BUILD_H
13185 #include <ft2build.h>
13186 #endif
13188 #include <$ac_header>
13189 _ACEOF
13190 rm -f conftest.$ac_objext
13191 if { (ac_try="$ac_compile"
13192 case "(($ac_try" in
13193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13194 *) ac_try_echo=$ac_try;;
13195 esac
13196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13197 (eval "$ac_compile") 2>conftest.er1
13198 ac_status=$?
13199 grep -v '^ *+' conftest.er1 >conftest.err
13200 rm -f conftest.er1
13201 cat conftest.err >&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); } && {
13204 test -z "$ac_c_werror_flag" ||
13205 test ! -s conftest.err
13206 } && test -s conftest.$ac_objext; then
13207 eval "$as_ac_Header=yes"
13208 else
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13212 eval "$as_ac_Header=no"
13215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217 ac_res=`eval echo '${'$as_ac_Header'}'`
13218 { echo "$as_me:$LINENO: result: $ac_res" >&5
13219 echo "${ECHO_T}$ac_res" >&6; }
13220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13221 cat >>confdefs.h <<_ACEOF
13222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13223 _ACEOF
13227 done
13229 cat >conftest.$ac_ext <<_ACEOF
13230 /* confdefs.h. */
13231 _ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 #include <ft2build.h>
13236 #include <freetype/fttrigon.h>
13237 _ACEOF
13238 if { (ac_try="$ac_cpp conftest.$ac_ext"
13239 case "(($ac_try" in
13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13241 *) ac_try_echo=$ac_try;;
13242 esac
13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13245 ac_status=$?
13246 grep -v '^ *+' conftest.er1 >conftest.err
13247 rm -f conftest.er1
13248 cat conftest.err >&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); } >/dev/null && {
13251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13252 test ! -s conftest.err
13253 }; then
13255 cat >>confdefs.h <<\_ACEOF
13256 #define HAVE_FREETYPE_FTTRIGON_H 1
13257 _ACEOF
13259 wine_cv_fttrigon=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 wine_cv_fttrigon=no
13267 rm -f conftest.err conftest.$ac_ext
13268 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13269 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13270 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13272 else
13273 cat >conftest.$ac_ext <<_ACEOF
13274 /* confdefs.h. */
13275 _ACEOF
13276 cat confdefs.h >>conftest.$ac_ext
13277 cat >>conftest.$ac_ext <<_ACEOF
13278 /* end confdefs.h. */
13279 #include <freetype/ftmodapi.h>
13281 typedef FT_TrueTypeEngineType ac__type_new_;
13283 main ()
13285 if ((ac__type_new_ *) 0)
13286 return 0;
13287 if (sizeof (ac__type_new_))
13288 return 0;
13290 return 0;
13292 _ACEOF
13293 rm -f conftest.$ac_objext
13294 if { (ac_try="$ac_compile"
13295 case "(($ac_try" in
13296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13297 *) ac_try_echo=$ac_try;;
13298 esac
13299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13300 (eval "$ac_compile") 2>conftest.er1
13301 ac_status=$?
13302 grep -v '^ *+' conftest.er1 >conftest.err
13303 rm -f conftest.er1
13304 cat conftest.err >&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } && {
13307 test -z "$ac_c_werror_flag" ||
13308 test ! -s conftest.err
13309 } && test -s conftest.$ac_objext; then
13310 ac_cv_type_FT_TrueTypeEngineType=yes
13311 else
13312 echo "$as_me: failed program was:" >&5
13313 sed 's/^/| /' conftest.$ac_ext >&5
13315 ac_cv_type_FT_TrueTypeEngineType=no
13318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13320 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13321 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13322 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13324 cat >>confdefs.h <<_ACEOF
13325 #define HAVE_FT_TRUETYPEENGINETYPE 1
13326 _ACEOF
13331 ac_save_CFLAGS="$CFLAGS"
13332 CFLAGS="$CFLAGS $ac_freetype_libs"
13334 for ac_func in FT_Load_Sfnt_Table
13336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 else
13342 cat >conftest.$ac_ext <<_ACEOF
13343 /* confdefs.h. */
13344 _ACEOF
13345 cat confdefs.h >>conftest.$ac_ext
13346 cat >>conftest.$ac_ext <<_ACEOF
13347 /* end confdefs.h. */
13348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13350 #define $ac_func innocuous_$ac_func
13352 /* System header to define __stub macros and hopefully few prototypes,
13353 which can conflict with char $ac_func (); below.
13354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13355 <limits.h> exists even on freestanding compilers. */
13357 #ifdef __STDC__
13358 # include <limits.h>
13359 #else
13360 # include <assert.h>
13361 #endif
13363 #undef $ac_func
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 #ifdef __cplusplus
13369 extern "C"
13370 #endif
13371 char $ac_func ();
13372 /* The GNU C library defines this for functions which it implements
13373 to always fail with ENOSYS. Some functions are actually named
13374 something starting with __ and the normal name is an alias. */
13375 #if defined __stub_$ac_func || defined __stub___$ac_func
13376 choke me
13377 #endif
13380 main ()
13382 return $ac_func ();
13384 return 0;
13386 _ACEOF
13387 rm -f conftest.$ac_objext conftest$ac_exeext
13388 if { (ac_try="$ac_link"
13389 case "(($ac_try" in
13390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13392 esac
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_link") 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest$ac_exeext &&
13404 $as_test_x conftest$ac_exeext; then
13405 eval "$as_ac_var=yes"
13406 else
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 eval "$as_ac_var=no"
13413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13414 conftest$ac_exeext conftest.$ac_ext
13416 ac_res=`eval echo '${'$as_ac_var'}'`
13417 { echo "$as_me:$LINENO: result: $ac_res" >&5
13418 echo "${ECHO_T}$ac_res" >&6; }
13419 if test `eval echo '${'$as_ac_var'}'` = yes; then
13420 cat >>confdefs.h <<_ACEOF
13421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13422 _ACEOF
13425 done
13427 CFLAGS="$ac_save_CFLAGS"
13428 CPPFLAGS="$ac_save_CPPFLAGS"
13429 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13430 then
13432 cat >>confdefs.h <<\_ACEOF
13433 #define HAVE_FREETYPE 1
13434 _ACEOF
13436 FREETYPELIBS="$ac_freetype_libs"
13438 FREETYPEINCL="$ac_freetype_incl"
13444 if test "$FONTFORGE" = "false"
13445 then
13446 wine_warnings="$wine_warnings|FontForge is missing.
13447 Fonts will not be built. Dialog text may be invisible or unaligned."
13448 elif test "x$FREETYPELIBS" = "x"
13449 then
13450 wine_warnings="$wine_warnings|FreeType development files not found.
13451 Fonts will not be built. Dialog text may be invisible or unaligned."
13452 else
13453 FONTSSUBDIRS="fonts"
13457 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13458 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13459 if test "${ac_cv_c_ppdev+set}" = set; then
13460 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 else
13462 cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h. */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13468 #include <linux/ppdev.h>
13470 main ()
13472 ioctl (1,PPCLAIM,0)
13474 return 0;
13476 _ACEOF
13477 rm -f conftest.$ac_objext
13478 if { (ac_try="$ac_compile"
13479 case "(($ac_try" in
13480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13481 *) ac_try_echo=$ac_try;;
13482 esac
13483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13484 (eval "$ac_compile") 2>conftest.er1
13485 ac_status=$?
13486 grep -v '^ *+' conftest.er1 >conftest.err
13487 rm -f conftest.er1
13488 cat conftest.err >&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } && {
13491 test -z "$ac_c_werror_flag" ||
13492 test ! -s conftest.err
13493 } && test -s conftest.$ac_objext; then
13494 ac_cv_c_ppdev="yes"
13495 else
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.$ac_ext >&5
13499 ac_cv_c_ppdev="no"
13502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13504 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13505 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13506 if test "$ac_cv_c_ppdev" = "yes"
13507 then
13509 cat >>confdefs.h <<\_ACEOF
13510 #define HAVE_PPDEV 1
13511 _ACEOF
13515 { echo "$as_me:$LINENO: checking for va_copy" >&5
13516 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13517 if test "${ac_cv_c_va_copy+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 else
13520 cat >conftest.$ac_ext <<_ACEOF
13521 /* confdefs.h. */
13522 _ACEOF
13523 cat confdefs.h >>conftest.$ac_ext
13524 cat >>conftest.$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526 #include <stdarg.h>
13528 main ()
13530 va_list ap1, ap2; va_copy(ap1,ap2);
13532 return 0;
13534 _ACEOF
13535 rm -f conftest.$ac_objext conftest$ac_exeext
13536 if { (ac_try="$ac_link"
13537 case "(($ac_try" in
13538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13539 *) ac_try_echo=$ac_try;;
13540 esac
13541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13542 (eval "$ac_link") 2>conftest.er1
13543 ac_status=$?
13544 grep -v '^ *+' conftest.er1 >conftest.err
13545 rm -f conftest.er1
13546 cat conftest.err >&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); } && {
13549 test -z "$ac_c_werror_flag" ||
13550 test ! -s conftest.err
13551 } && test -s conftest$ac_exeext &&
13552 $as_test_x conftest$ac_exeext; then
13553 ac_cv_c_va_copy="yes"
13554 else
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.$ac_ext >&5
13558 ac_cv_c_va_copy="no"
13561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13562 conftest$ac_exeext conftest.$ac_ext
13565 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13566 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13567 if test "$ac_cv_c_va_copy" = "yes"
13568 then
13570 cat >>confdefs.h <<\_ACEOF
13571 #define HAVE_VA_COPY 1
13572 _ACEOF
13575 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13576 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13577 if test "${ac_cv_c___va_copy+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 else
13580 cat >conftest.$ac_ext <<_ACEOF
13581 /* confdefs.h. */
13582 _ACEOF
13583 cat confdefs.h >>conftest.$ac_ext
13584 cat >>conftest.$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13586 #include <stdarg.h>
13588 main ()
13590 va_list ap1, ap2; __va_copy(ap1,ap2);
13592 return 0;
13594 _ACEOF
13595 rm -f conftest.$ac_objext conftest$ac_exeext
13596 if { (ac_try="$ac_link"
13597 case "(($ac_try" in
13598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13599 *) ac_try_echo=$ac_try;;
13600 esac
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13602 (eval "$ac_link") 2>conftest.er1
13603 ac_status=$?
13604 grep -v '^ *+' conftest.er1 >conftest.err
13605 rm -f conftest.er1
13606 cat conftest.err >&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } && {
13609 test -z "$ac_c_werror_flag" ||
13610 test ! -s conftest.err
13611 } && test -s conftest$ac_exeext &&
13612 $as_test_x conftest$ac_exeext; then
13613 ac_cv_c___va_copy="yes"
13614 else
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.$ac_ext >&5
13618 ac_cv_c___va_copy="no"
13621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13622 conftest$ac_exeext conftest.$ac_ext
13625 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13626 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13627 if test "$ac_cv_c___va_copy" = "yes"
13628 then
13630 cat >>confdefs.h <<\_ACEOF
13631 #define HAVE___VA_COPY 1
13632 _ACEOF
13636 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13637 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13638 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 else
13641 cat >conftest.$ac_ext <<_ACEOF
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #include <setjmp.h>
13649 main ()
13651 sigjmp_buf buf;
13652 sigsetjmp( buf, 1 );
13653 siglongjmp( buf, 1 );
13655 return 0;
13657 _ACEOF
13658 rm -f conftest.$ac_objext conftest$ac_exeext
13659 if { (ac_try="$ac_link"
13660 case "(($ac_try" in
13661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13662 *) ac_try_echo=$ac_try;;
13663 esac
13664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13665 (eval "$ac_link") 2>conftest.er1
13666 ac_status=$?
13667 grep -v '^ *+' conftest.er1 >conftest.err
13668 rm -f conftest.er1
13669 cat conftest.err >&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); } && {
13672 test -z "$ac_c_werror_flag" ||
13673 test ! -s conftest.err
13674 } && test -s conftest$ac_exeext &&
13675 $as_test_x conftest$ac_exeext; then
13676 ac_cv_c_sigsetjmp="yes"
13677 else
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13681 ac_cv_c_sigsetjmp="no"
13684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13685 conftest$ac_exeext conftest.$ac_ext
13688 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13689 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13690 if test "$ac_cv_c_sigsetjmp" = "yes"
13691 then
13693 cat >>confdefs.h <<\_ACEOF
13694 #define HAVE_SIGSETJMP 1
13695 _ACEOF
13699 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13700 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13701 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13704 cat >conftest.$ac_ext <<_ACEOF
13705 /* confdefs.h. */
13706 _ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #define _GNU_SOURCE
13711 #include <pthread.h>
13713 typedef pthread_rwlock_t ac__type_new_;
13715 main ()
13717 if ((ac__type_new_ *) 0)
13718 return 0;
13719 if (sizeof (ac__type_new_))
13720 return 0;
13722 return 0;
13724 _ACEOF
13725 rm -f conftest.$ac_objext
13726 if { (ac_try="$ac_compile"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13730 esac
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && {
13739 test -z "$ac_c_werror_flag" ||
13740 test ! -s conftest.err
13741 } && test -s conftest.$ac_objext; then
13742 ac_cv_type_pthread_rwlock_t=yes
13743 else
13744 echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.$ac_ext >&5
13747 ac_cv_type_pthread_rwlock_t=no
13750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13752 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13753 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13754 if test $ac_cv_type_pthread_rwlock_t = yes; then
13756 cat >>confdefs.h <<_ACEOF
13757 #define HAVE_PTHREAD_RWLOCK_T 1
13758 _ACEOF
13762 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13763 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13764 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 cat >conftest.$ac_ext <<_ACEOF
13768 /* confdefs.h. */
13769 _ACEOF
13770 cat confdefs.h >>conftest.$ac_ext
13771 cat >>conftest.$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 #define _GNU_SOURCE
13774 #include <pthread.h>
13776 typedef pthread_rwlockattr_t ac__type_new_;
13778 main ()
13780 if ((ac__type_new_ *) 0)
13781 return 0;
13782 if (sizeof (ac__type_new_))
13783 return 0;
13785 return 0;
13787 _ACEOF
13788 rm -f conftest.$ac_objext
13789 if { (ac_try="$ac_compile"
13790 case "(($ac_try" in
13791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13792 *) ac_try_echo=$ac_try;;
13793 esac
13794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795 (eval "$ac_compile") 2>conftest.er1
13796 ac_status=$?
13797 grep -v '^ *+' conftest.er1 >conftest.err
13798 rm -f conftest.er1
13799 cat conftest.err >&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } && {
13802 test -z "$ac_c_werror_flag" ||
13803 test ! -s conftest.err
13804 } && test -s conftest.$ac_objext; then
13805 ac_cv_type_pthread_rwlockattr_t=yes
13806 else
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13810 ac_cv_type_pthread_rwlockattr_t=no
13813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13815 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13816 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13817 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13819 cat >>confdefs.h <<_ACEOF
13820 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13821 _ACEOF
13827 ac_wine_check_funcs_save_LIBS="$LIBS"
13828 LIBS="$LIBS $LIBPTHREAD"
13833 for ac_func in \
13834 pthread_attr_get_np \
13835 pthread_getattr_np \
13836 pthread_get_stackaddr_np \
13837 pthread_get_stacksize_np
13839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13843 echo $ECHO_N "(cached) $ECHO_C" >&6
13844 else
13845 cat >conftest.$ac_ext <<_ACEOF
13846 /* confdefs.h. */
13847 _ACEOF
13848 cat confdefs.h >>conftest.$ac_ext
13849 cat >>conftest.$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13853 #define $ac_func innocuous_$ac_func
13855 /* System header to define __stub macros and hopefully few prototypes,
13856 which can conflict with char $ac_func (); below.
13857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13858 <limits.h> exists even on freestanding compilers. */
13860 #ifdef __STDC__
13861 # include <limits.h>
13862 #else
13863 # include <assert.h>
13864 #endif
13866 #undef $ac_func
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13871 #ifdef __cplusplus
13872 extern "C"
13873 #endif
13874 char $ac_func ();
13875 /* The GNU C library defines this for functions which it implements
13876 to always fail with ENOSYS. Some functions are actually named
13877 something starting with __ and the normal name is an alias. */
13878 #if defined __stub_$ac_func || defined __stub___$ac_func
13879 choke me
13880 #endif
13883 main ()
13885 return $ac_func ();
13887 return 0;
13889 _ACEOF
13890 rm -f conftest.$ac_objext conftest$ac_exeext
13891 if { (ac_try="$ac_link"
13892 case "(($ac_try" in
13893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13894 *) ac_try_echo=$ac_try;;
13895 esac
13896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13897 (eval "$ac_link") 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } && {
13904 test -z "$ac_c_werror_flag" ||
13905 test ! -s conftest.err
13906 } && test -s conftest$ac_exeext &&
13907 $as_test_x conftest$ac_exeext; then
13908 eval "$as_ac_var=yes"
13909 else
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.$ac_ext >&5
13913 eval "$as_ac_var=no"
13916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13917 conftest$ac_exeext conftest.$ac_ext
13919 ac_res=`eval echo '${'$as_ac_var'}'`
13920 { echo "$as_me:$LINENO: result: $ac_res" >&5
13921 echo "${ECHO_T}$ac_res" >&6; }
13922 if test `eval echo '${'$as_ac_var'}'` = yes; then
13923 cat >>confdefs.h <<_ACEOF
13924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13925 _ACEOF
13928 done
13930 LIBS="$ac_wine_check_funcs_save_LIBS"
13932 # Extract the first word of "esd-config", so it can be a program name with args.
13933 set dummy esd-config; ac_word=$2
13934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13936 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13939 case $ESDCONFIG in
13940 [\\/]* | ?:[\\/]*)
13941 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13947 IFS=$as_save_IFS
13948 test -z "$as_dir" && as_dir=.
13949 for ac_exec_ext in '' $ac_executable_extensions; do
13950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13953 break 2
13955 done
13956 done
13957 IFS=$as_save_IFS
13960 esac
13962 ESDCONFIG=$ac_cv_path_ESDCONFIG
13963 if test -n "$ESDCONFIG"; then
13964 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13965 echo "${ECHO_T}$ESDCONFIG" >&6; }
13966 else
13967 { echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6; }
13972 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13973 then
13974 ESD_CFLAGS=""
13975 for i in `$ESDCONFIG --cflags`
13977 case "$i" in
13978 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13979 esac
13980 done
13981 ESD_LIBS=`$ESDCONFIG --libs`
13982 save_CFLAGS="$CFLAGS"
13983 CFLAGS="$CFLAGS $ESD_CFLAGS"
13984 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13985 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13986 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 else
13989 ac_check_lib_save_LIBS=$LIBS
13990 LIBS="-lesd $LIBS"
13991 cat >conftest.$ac_ext <<_ACEOF
13992 /* confdefs.h. */
13993 _ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14001 #ifdef __cplusplus
14002 extern "C"
14003 #endif
14004 char esd_open_sound ();
14006 main ()
14008 return esd_open_sound ();
14010 return 0;
14012 _ACEOF
14013 rm -f conftest.$ac_objext conftest$ac_exeext
14014 if { (ac_try="$ac_link"
14015 case "(($ac_try" in
14016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14017 *) ac_try_echo=$ac_try;;
14018 esac
14019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14020 (eval "$ac_link") 2>conftest.er1
14021 ac_status=$?
14022 grep -v '^ *+' conftest.er1 >conftest.err
14023 rm -f conftest.er1
14024 cat conftest.err >&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } && {
14027 test -z "$ac_c_werror_flag" ||
14028 test ! -s conftest.err
14029 } && test -s conftest$ac_exeext &&
14030 $as_test_x conftest$ac_exeext; then
14031 ac_cv_lib_esd_esd_open_sound=yes
14032 else
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14036 ac_cv_lib_esd_esd_open_sound=no
14039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14040 conftest$ac_exeext conftest.$ac_ext
14041 LIBS=$ac_check_lib_save_LIBS
14043 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14044 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14045 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14046 ESDLIBS=$ESD_LIBS
14048 ESDINCL=$ESD_CFLAGS
14051 cat >>confdefs.h <<\_ACEOF
14052 #define HAVE_ESD 1
14053 _ACEOF
14057 CFLAGS="$save_CFLAGS"
14060 ALSALIBS=""
14062 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14063 then
14064 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14065 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14066 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14069 ac_check_lib_save_LIBS=$LIBS
14070 LIBS="-lasound $LIBS"
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14078 /* Override any GCC internal prototype to avoid an error.
14079 Use char because int might match the return type of a GCC
14080 builtin and then its argument prototype would still apply. */
14081 #ifdef __cplusplus
14082 extern "C"
14083 #endif
14084 char snd_pcm_hw_params_get_access ();
14086 main ()
14088 return snd_pcm_hw_params_get_access ();
14090 return 0;
14092 _ACEOF
14093 rm -f conftest.$ac_objext conftest$ac_exeext
14094 if { (ac_try="$ac_link"
14095 case "(($ac_try" in
14096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14097 *) ac_try_echo=$ac_try;;
14098 esac
14099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14100 (eval "$ac_link") 2>conftest.er1
14101 ac_status=$?
14102 grep -v '^ *+' conftest.er1 >conftest.err
14103 rm -f conftest.er1
14104 cat conftest.err >&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } && {
14107 test -z "$ac_c_werror_flag" ||
14108 test ! -s conftest.err
14109 } && test -s conftest$ac_exeext &&
14110 $as_test_x conftest$ac_exeext; then
14111 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14112 else
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.$ac_ext >&5
14116 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14124 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14125 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14126 cat >conftest.$ac_ext <<_ACEOF
14127 /* confdefs.h. */
14128 _ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 #ifdef HAVE_ALSA_ASOUNDLIB_H
14133 #include <alsa/asoundlib.h>
14134 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14135 #include <sys/asoundlib.h>
14136 #endif
14138 main ()
14140 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14142 return 0;
14144 _ACEOF
14145 rm -f conftest.$ac_objext
14146 if { (ac_try="$ac_compile"
14147 case "(($ac_try" in
14148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14149 *) ac_try_echo=$ac_try;;
14150 esac
14151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14152 (eval "$ac_compile") 2>conftest.er1
14153 ac_status=$?
14154 grep -v '^ *+' conftest.er1 >conftest.err
14155 rm -f conftest.er1
14156 cat conftest.err >&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } && {
14159 test -z "$ac_c_werror_flag" ||
14160 test ! -s conftest.err
14161 } && test -s conftest.$ac_objext; then
14163 cat >>confdefs.h <<\_ACEOF
14164 #define HAVE_ALSA 1
14165 _ACEOF
14167 ALSALIBS="-lasound"
14168 else
14169 echo "$as_me: failed program was:" >&5
14170 sed 's/^/| /' conftest.$ac_ext >&5
14175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14180 AUDIOIOLIBS=""
14182 if test "$ac_cv_header_libaudioio_h" = "yes"
14183 then
14184 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14185 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14186 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14187 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 else
14189 ac_check_lib_save_LIBS=$LIBS
14190 LIBS="-laudioio $LIBS"
14191 cat >conftest.$ac_ext <<_ACEOF
14192 /* confdefs.h. */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14198 /* Override any GCC internal prototype to avoid an error.
14199 Use char because int might match the return type of a GCC
14200 builtin and then its argument prototype would still apply. */
14201 #ifdef __cplusplus
14202 extern "C"
14203 #endif
14204 char AudioIOGetVersion ();
14206 main ()
14208 return AudioIOGetVersion ();
14210 return 0;
14212 _ACEOF
14213 rm -f conftest.$ac_objext conftest$ac_exeext
14214 if { (ac_try="$ac_link"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218 esac
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link") 2>conftest.er1
14221 ac_status=$?
14222 grep -v '^ *+' conftest.er1 >conftest.err
14223 rm -f conftest.er1
14224 cat conftest.err >&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } && {
14227 test -z "$ac_c_werror_flag" ||
14228 test ! -s conftest.err
14229 } && test -s conftest$ac_exeext &&
14230 $as_test_x conftest$ac_exeext; then
14231 ac_cv_lib_audioio_AudioIOGetVersion=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14236 ac_cv_lib_audioio_AudioIOGetVersion=no
14239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14240 conftest$ac_exeext conftest.$ac_ext
14241 LIBS=$ac_check_lib_save_LIBS
14243 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14244 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14245 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14246 AUDIOIOLIBS="-laudioio"
14248 cat >>confdefs.h <<\_ACEOF
14249 #define HAVE_LIBAUDIOIO 1
14250 _ACEOF
14257 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14258 then
14259 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14260 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14261 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264 ac_check_soname_save_LIBS=$LIBS
14265 LIBS="-lcapi20 $LIBS"
14266 cat >conftest.$ac_ext <<_ACEOF
14267 /* confdefs.h. */
14268 _ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14273 /* Override any GCC internal prototype to avoid an error.
14274 Use char because int might match the return type of a GCC
14275 builtin and then its argument prototype would still apply. */
14276 #ifdef __cplusplus
14277 extern "C"
14278 #endif
14279 char capi20_register ();
14281 main ()
14283 return capi20_register ();
14285 return 0;
14287 _ACEOF
14288 rm -f conftest.$ac_objext conftest$ac_exeext
14289 if { (ac_try="$ac_link"
14290 case "(($ac_try" in
14291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14292 *) ac_try_echo=$ac_try;;
14293 esac
14294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14295 (eval "$ac_link") 2>conftest.er1
14296 ac_status=$?
14297 grep -v '^ *+' conftest.er1 >conftest.err
14298 rm -f conftest.er1
14299 cat conftest.err >&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); } && {
14302 test -z "$ac_c_werror_flag" ||
14303 test ! -s conftest.err
14304 } && test -s conftest$ac_exeext &&
14305 $as_test_x conftest$ac_exeext; then
14306 case "$LIBEXT" in
14307 dll) ;;
14308 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'` ;;
14309 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14310 esac
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14319 conftest$ac_exeext conftest.$ac_ext
14320 LIBS=$ac_check_soname_save_LIBS
14322 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14323 { echo "$as_me:$LINENO: result: not found" >&5
14324 echo "${ECHO_T}not found" >&6; }
14326 else
14327 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14328 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14330 cat >>confdefs.h <<_ACEOF
14331 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14332 _ACEOF
14338 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14339 wine_notices="$wine_notices|libcapi20 development files not found.
14340 Wine will be built without ISDN support. (capi2032.dll)"
14344 if test "$ac_cv_header_cups_cups_h" = "yes"
14345 then
14346 { echo "$as_me:$LINENO: checking for -lcups" >&5
14347 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14348 if test "${ac_cv_lib_soname_cups+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 else
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lcups $LIBS"
14353 cat >conftest.$ac_ext <<_ACEOF
14354 /* confdefs.h. */
14355 _ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14360 /* Override any GCC internal prototype to avoid an error.
14361 Use char because int might match the return type of a GCC
14362 builtin and then its argument prototype would still apply. */
14363 #ifdef __cplusplus
14364 extern "C"
14365 #endif
14366 char cupsGetDefault ();
14368 main ()
14370 return cupsGetDefault ();
14372 return 0;
14374 _ACEOF
14375 rm -f conftest.$ac_objext conftest$ac_exeext
14376 if { (ac_try="$ac_link"
14377 case "(($ac_try" in
14378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14379 *) ac_try_echo=$ac_try;;
14380 esac
14381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14382 (eval "$ac_link") 2>conftest.er1
14383 ac_status=$?
14384 grep -v '^ *+' conftest.er1 >conftest.err
14385 rm -f conftest.er1
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } && {
14389 test -z "$ac_c_werror_flag" ||
14390 test ! -s conftest.err
14391 } && test -s conftest$ac_exeext &&
14392 $as_test_x conftest$ac_exeext; then
14393 case "$LIBEXT" in
14394 dll) ;;
14395 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'` ;;
14396 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14397 esac
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LIBS=$ac_check_soname_save_LIBS
14409 if test "x$ac_cv_lib_soname_cups" = "x"; then
14410 { echo "$as_me:$LINENO: result: not found" >&5
14411 echo "${ECHO_T}not found" >&6; }
14413 else
14414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14415 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14417 cat >>confdefs.h <<_ACEOF
14418 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14419 _ACEOF
14425 if test "x$ac_cv_lib_soname_cups" = "x"; then
14426 wine_notices="$wine_notices|libcups development files not found.
14427 Wine will be built without CUPS support."
14431 if test "$ac_cv_header_jack_jack_h" = "yes"
14432 then
14433 { echo "$as_me:$LINENO: checking for -ljack" >&5
14434 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14435 if test "${ac_cv_lib_soname_jack+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 else
14438 ac_check_soname_save_LIBS=$LIBS
14439 LIBS="-ljack $LIBS"
14440 cat >conftest.$ac_ext <<_ACEOF
14441 /* confdefs.h. */
14442 _ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14450 #ifdef __cplusplus
14451 extern "C"
14452 #endif
14453 char jack_client_new ();
14455 main ()
14457 return jack_client_new ();
14459 return 0;
14461 _ACEOF
14462 rm -f conftest.$ac_objext conftest$ac_exeext
14463 if { (ac_try="$ac_link"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_link") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest$ac_exeext &&
14479 $as_test_x conftest$ac_exeext; then
14480 case "$LIBEXT" in
14481 dll) ;;
14482 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'` ;;
14483 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14484 esac
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS=$ac_check_soname_save_LIBS
14496 if test "x$ac_cv_lib_soname_jack" = "x"; then
14497 { echo "$as_me:$LINENO: result: not found" >&5
14498 echo "${ECHO_T}not found" >&6; }
14500 else
14501 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14502 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14504 cat >>confdefs.h <<_ACEOF
14505 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14506 _ACEOF
14513 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14514 then
14515 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14516 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14517 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520 ac_check_soname_save_LIBS=$LIBS
14521 LIBS="-lfontconfig $LIBS"
14522 cat >conftest.$ac_ext <<_ACEOF
14523 /* confdefs.h. */
14524 _ACEOF
14525 cat confdefs.h >>conftest.$ac_ext
14526 cat >>conftest.$ac_ext <<_ACEOF
14527 /* end confdefs.h. */
14529 /* Override any GCC internal prototype to avoid an error.
14530 Use char because int might match the return type of a GCC
14531 builtin and then its argument prototype would still apply. */
14532 #ifdef __cplusplus
14533 extern "C"
14534 #endif
14535 char FcInit ();
14537 main ()
14539 return FcInit ();
14541 return 0;
14543 _ACEOF
14544 rm -f conftest.$ac_objext conftest$ac_exeext
14545 if { (ac_try="$ac_link"
14546 case "(($ac_try" in
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14549 esac
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_link") 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } && {
14558 test -z "$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14560 } && test -s conftest$ac_exeext &&
14561 $as_test_x conftest$ac_exeext; then
14562 case "$LIBEXT" in
14563 dll) ;;
14564 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'` ;;
14565 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14566 esac
14567 else
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.$ac_ext >&5
14574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14575 conftest$ac_exeext conftest.$ac_ext
14576 LIBS=$ac_check_soname_save_LIBS
14578 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14579 { echo "$as_me:$LINENO: result: not found" >&5
14580 echo "${ECHO_T}not found" >&6; }
14582 else
14583 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14584 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14586 cat >>confdefs.h <<_ACEOF
14587 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14588 _ACEOF
14593 elif test -n "$X_CFLAGS"
14594 then
14595 ac_save_CPPFLAGS="$CPPFLAGS"
14596 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14597 $as_unset ac_cv_header_fontconfig_fontconfig_h
14599 for ac_header in fontconfig/fontconfig.h
14601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 ac_res=`eval echo '${'$as_ac_Header'}'`
14609 { echo "$as_me:$LINENO: result: $ac_res" >&5
14610 echo "${ECHO_T}$ac_res" >&6; }
14611 else
14612 # Is the header compilable?
14613 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14615 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */
14617 _ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 $ac_includes_default
14622 #include <$ac_header>
14623 _ACEOF
14624 rm -f conftest.$ac_objext
14625 if { (ac_try="$ac_compile"
14626 case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compile") 2>conftest.er1
14632 ac_status=$?
14633 grep -v '^ *+' conftest.er1 >conftest.err
14634 rm -f conftest.er1
14635 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } && {
14638 test -z "$ac_c_werror_flag" ||
14639 test ! -s conftest.err
14640 } && test -s conftest.$ac_objext; then
14641 ac_header_compiler=yes
14642 else
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14646 ac_header_compiler=no
14649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14651 echo "${ECHO_T}$ac_header_compiler" >&6; }
14653 # Is the header present?
14654 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 #include <$ac_header>
14663 _ACEOF
14664 if { (ac_try="$ac_cpp conftest.$ac_ext"
14665 case "(($ac_try" in
14666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14667 *) ac_try_echo=$ac_try;;
14668 esac
14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14671 ac_status=$?
14672 grep -v '^ *+' conftest.er1 >conftest.err
14673 rm -f conftest.er1
14674 cat conftest.err >&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } >/dev/null && {
14677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14678 test ! -s conftest.err
14679 }; then
14680 ac_header_preproc=yes
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 ac_header_preproc=no
14688 rm -f conftest.err conftest.$ac_ext
14689 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14690 echo "${ECHO_T}$ac_header_preproc" >&6; }
14692 # So? What about this header?
14693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14694 yes:no: )
14695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14699 ac_header_preproc=yes
14701 no:yes:* )
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14714 ( cat <<\_ASBOX
14715 ## ------------------------------------ ##
14716 ## Report this to wine-devel@winehq.org ##
14717 ## ------------------------------------ ##
14718 _ASBOX
14719 ) | sed "s/^/$as_me: WARNING: /" >&2
14721 esac
14722 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14726 else
14727 eval "$as_ac_Header=\$ac_header_preproc"
14729 ac_res=`eval echo '${'$as_ac_Header'}'`
14730 { echo "$as_me:$LINENO: result: $ac_res" >&5
14731 echo "${ECHO_T}$ac_res" >&6; }
14734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14735 cat >>confdefs.h <<_ACEOF
14736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14737 _ACEOF
14741 done
14743 CPPFLAGS="$ac_save_CPPFLAGS"
14744 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14745 then
14746 FONTCONFIGINCL="$X_CFLAGS"
14748 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14749 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14750 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 else
14753 ac_check_soname_save_LIBS=$LIBS
14754 LIBS="-lfontconfig $X_LIBS $LIBS"
14755 cat >conftest.$ac_ext <<_ACEOF
14756 /* confdefs.h. */
14757 _ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 char FcInit ();
14770 main ()
14772 return FcInit ();
14774 return 0;
14776 _ACEOF
14777 rm -f conftest.$ac_objext conftest$ac_exeext
14778 if { (ac_try="$ac_link"
14779 case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14782 esac
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_link") 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } && {
14791 test -z "$ac_c_werror_flag" ||
14792 test ! -s conftest.err
14793 } && test -s conftest$ac_exeext &&
14794 $as_test_x conftest$ac_exeext; then
14795 case "$LIBEXT" in
14796 dll) ;;
14797 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'` ;;
14798 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14799 esac
14800 else
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_soname_save_LIBS
14811 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14812 { echo "$as_me:$LINENO: result: not found" >&5
14813 echo "${ECHO_T}not found" >&6; }
14815 else
14816 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14817 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14819 cat >>confdefs.h <<_ACEOF
14820 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14821 _ACEOF
14828 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14829 wine_notices="$wine_notices|fontconfig development files not found.
14830 Wine will be built without fontconfig support."
14834 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14835 then
14836 { echo "$as_me:$LINENO: checking for -lssl" >&5
14837 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14838 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 ac_check_soname_save_LIBS=$LIBS
14842 LIBS="-lssl $LIBS"
14843 cat >conftest.$ac_ext <<_ACEOF
14844 /* confdefs.h. */
14845 _ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14850 /* Override any GCC internal prototype to avoid an error.
14851 Use char because int might match the return type of a GCC
14852 builtin and then its argument prototype would still apply. */
14853 #ifdef __cplusplus
14854 extern "C"
14855 #endif
14856 char SSL_library_init ();
14858 main ()
14860 return SSL_library_init ();
14862 return 0;
14864 _ACEOF
14865 rm -f conftest.$ac_objext conftest$ac_exeext
14866 if { (ac_try="$ac_link"
14867 case "(($ac_try" in
14868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14870 esac
14871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14872 (eval "$ac_link") 2>conftest.er1
14873 ac_status=$?
14874 grep -v '^ *+' conftest.er1 >conftest.err
14875 rm -f conftest.er1
14876 cat conftest.err >&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } && {
14879 test -z "$ac_c_werror_flag" ||
14880 test ! -s conftest.err
14881 } && test -s conftest$ac_exeext &&
14882 $as_test_x conftest$ac_exeext; then
14883 case "$LIBEXT" in
14884 dll) ;;
14885 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'` ;;
14886 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14887 esac
14888 else
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.$ac_ext >&5
14895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14896 conftest$ac_exeext conftest.$ac_ext
14897 LIBS=$ac_check_soname_save_LIBS
14899 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14900 { echo "$as_me:$LINENO: result: not found" >&5
14901 echo "${ECHO_T}not found" >&6; }
14903 else
14904 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14905 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14907 cat >>confdefs.h <<_ACEOF
14908 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14909 _ACEOF
14914 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14915 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14916 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14917 echo $ECHO_N "(cached) $ECHO_C" >&6
14918 else
14919 ac_check_soname_save_LIBS=$LIBS
14920 LIBS="-lcrypto $LIBS"
14921 cat >conftest.$ac_ext <<_ACEOF
14922 /* confdefs.h. */
14923 _ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14928 /* Override any GCC internal prototype to avoid an error.
14929 Use char because int might match the return type of a GCC
14930 builtin and then its argument prototype would still apply. */
14931 #ifdef __cplusplus
14932 extern "C"
14933 #endif
14934 char BIO_new_socket ();
14936 main ()
14938 return BIO_new_socket ();
14940 return 0;
14942 _ACEOF
14943 rm -f conftest.$ac_objext conftest$ac_exeext
14944 if { (ac_try="$ac_link"
14945 case "(($ac_try" in
14946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14947 *) ac_try_echo=$ac_try;;
14948 esac
14949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14950 (eval "$ac_link") 2>conftest.er1
14951 ac_status=$?
14952 grep -v '^ *+' conftest.er1 >conftest.err
14953 rm -f conftest.er1
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest$ac_exeext &&
14960 $as_test_x conftest$ac_exeext; then
14961 case "$LIBEXT" in
14962 dll) ;;
14963 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'` ;;
14964 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14965 esac
14966 else
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14974 conftest$ac_exeext conftest.$ac_ext
14975 LIBS=$ac_check_soname_save_LIBS
14977 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14978 { echo "$as_me:$LINENO: result: not found" >&5
14979 echo "${ECHO_T}not found" >&6; }
14981 else
14982 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14983 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14985 cat >>confdefs.h <<_ACEOF
14986 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14987 _ACEOF
14993 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14994 wine_notices="$wine_notices|OpenSSL development files not found.
14995 Wine will be built without SSL support. (wininet.dll)"
14999 if test "$ac_cv_header_jpeglib_h" = "yes"
15000 then
15001 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15002 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15003 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 ac_check_soname_save_LIBS=$LIBS
15007 LIBS="-ljpeg $LIBS"
15008 cat >conftest.$ac_ext <<_ACEOF
15009 /* confdefs.h. */
15010 _ACEOF
15011 cat confdefs.h >>conftest.$ac_ext
15012 cat >>conftest.$ac_ext <<_ACEOF
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 #ifdef __cplusplus
15019 extern "C"
15020 #endif
15021 char jpeg_start_decompress ();
15023 main ()
15025 return jpeg_start_decompress ();
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext conftest$ac_exeext
15031 if { (ac_try="$ac_link"
15032 case "(($ac_try" in
15033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15034 *) ac_try_echo=$ac_try;;
15035 esac
15036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15037 (eval "$ac_link") 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } && {
15044 test -z "$ac_c_werror_flag" ||
15045 test ! -s conftest.err
15046 } && test -s conftest$ac_exeext &&
15047 $as_test_x conftest$ac_exeext; then
15048 case "$LIBEXT" in
15049 dll) ;;
15050 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'` ;;
15051 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15052 esac
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15061 conftest$ac_exeext conftest.$ac_ext
15062 LIBS=$ac_check_soname_save_LIBS
15064 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15065 { echo "$as_me:$LINENO: result: not found" >&5
15066 echo "${ECHO_T}not found" >&6; }
15068 else
15069 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15070 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15072 cat >>confdefs.h <<_ACEOF
15073 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15074 _ACEOF
15080 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15081 wine_notices="$wine_notices|libjpeg development files not found.
15082 Wine will be built without JPEG support. (oleaut32.dll)"
15086 if test "$ac_cv_header_png_h" = "yes"
15087 then
15088 { echo "$as_me:$LINENO: checking for -lpng" >&5
15089 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15090 if test "${ac_cv_lib_soname_png+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 else
15093 ac_check_soname_save_LIBS=$LIBS
15094 LIBS="-lpng $LIBS"
15095 cat >conftest.$ac_ext <<_ACEOF
15096 /* confdefs.h. */
15097 _ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15102 /* Override any GCC internal prototype to avoid an error.
15103 Use char because int might match the return type of a GCC
15104 builtin and then its argument prototype would still apply. */
15105 #ifdef __cplusplus
15106 extern "C"
15107 #endif
15108 char png_create_read_struct ();
15110 main ()
15112 return png_create_read_struct ();
15114 return 0;
15116 _ACEOF
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (ac_try="$ac_link"
15119 case "(($ac_try" in
15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15121 *) ac_try_echo=$ac_try;;
15122 esac
15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15124 (eval "$ac_link") 2>conftest.er1
15125 ac_status=$?
15126 grep -v '^ *+' conftest.er1 >conftest.err
15127 rm -f conftest.er1
15128 cat conftest.err >&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } && {
15131 test -z "$ac_c_werror_flag" ||
15132 test ! -s conftest.err
15133 } && test -s conftest$ac_exeext &&
15134 $as_test_x conftest$ac_exeext; then
15135 case "$LIBEXT" in
15136 dll) ;;
15137 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'` ;;
15138 *) 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'` ;;
15139 esac
15140 else
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_soname_save_LIBS
15151 if test "x$ac_cv_lib_soname_png" = "x"; then
15152 { echo "$as_me:$LINENO: result: not found" >&5
15153 echo "${ECHO_T}not found" >&6; }
15155 else
15156 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15157 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15159 cat >>confdefs.h <<_ACEOF
15160 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15161 _ACEOF
15167 if test "x$ac_cv_lib_soname_png" = "x"; then
15168 wine_notices="$wine_notices|libpng development files not found.
15169 Wine will be built without PNG support. (oleaut32.dll)"
15173 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15174 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15175 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15176 "$ac_cv_header_soundcard_h" != "yes"; then
15177 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15182 EXTRACFLAGS=""
15184 if test "x${GCC}" = "xyes"
15185 then
15186 EXTRACFLAGS="-Wall -pipe"
15188 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15189 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15190 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15192 else
15193 if test "$cross_compiling" = yes; then
15194 ac_cv_c_gcc_strength_bug="yes"
15195 else
15196 cat >conftest.$ac_ext <<_ACEOF
15197 /* confdefs.h. */
15198 _ACEOF
15199 cat confdefs.h >>conftest.$ac_ext
15200 cat >>conftest.$ac_ext <<_ACEOF
15201 /* end confdefs.h. */
15202 int L[4] = {0,1,2,3};
15204 main ()
15206 static int Array[3];
15207 unsigned int B = 3;
15208 int i;
15209 for(i=0; i<B; i++) Array[i] = i - 3;
15210 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15211 L[i] = 4;
15212 exit( Array[1] != -2 || L[2] != 3)
15214 return 0;
15216 _ACEOF
15217 rm -f conftest$ac_exeext
15218 if { (ac_try="$ac_link"
15219 case "(($ac_try" in
15220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15221 *) ac_try_echo=$ac_try;;
15222 esac
15223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15224 (eval "$ac_link") 2>&5
15225 ac_status=$?
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15228 { (case "(($ac_try" in
15229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 *) ac_try_echo=$ac_try;;
15231 esac
15232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_try") 2>&5
15234 ac_status=$?
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; }; then
15237 ac_cv_c_gcc_strength_bug="no"
15238 else
15239 echo "$as_me: program exited with status $ac_status" >&5
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.$ac_ext >&5
15243 ( exit $ac_status )
15244 ac_cv_c_gcc_strength_bug="yes"
15246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15251 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15252 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15253 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15254 then
15255 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15259 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15260 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15261 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264 ac_wine_try_cflags_saved=$CFLAGS
15265 CFLAGS="$CFLAGS -fshort-wchar"
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15274 main ()
15278 return 0;
15280 _ACEOF
15281 rm -f conftest.$ac_objext conftest$ac_exeext
15282 if { (ac_try="$ac_link"
15283 case "(($ac_try" in
15284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15285 *) ac_try_echo=$ac_try;;
15286 esac
15287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15288 (eval "$ac_link") 2>conftest.er1
15289 ac_status=$?
15290 grep -v '^ *+' conftest.er1 >conftest.err
15291 rm -f conftest.er1
15292 cat conftest.err >&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); } && {
15295 test -z "$ac_c_werror_flag" ||
15296 test ! -s conftest.err
15297 } && test -s conftest$ac_exeext &&
15298 $as_test_x conftest$ac_exeext; then
15299 ac_cv_cflags__fshort_wchar=yes
15300 else
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15304 ac_cv_cflags__fshort_wchar=no
15307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15308 conftest$ac_exeext conftest.$ac_ext
15309 CFLAGS=$ac_wine_try_cflags_saved
15311 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15312 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15313 if test $ac_cv_cflags__fshort_wchar = yes; then
15315 cat >>confdefs.h <<\_ACEOF
15316 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15317 _ACEOF
15321 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15322 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15323 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 else
15326 ac_wine_try_cflags_saved=$CFLAGS
15327 CFLAGS="$CFLAGS -fno-strict-aliasing"
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15336 main ()
15340 return 0;
15342 _ACEOF
15343 rm -f conftest.$ac_objext conftest$ac_exeext
15344 if { (ac_try="$ac_link"
15345 case "(($ac_try" in
15346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15347 *) ac_try_echo=$ac_try;;
15348 esac
15349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15350 (eval "$ac_link") 2>conftest.er1
15351 ac_status=$?
15352 grep -v '^ *+' conftest.er1 >conftest.err
15353 rm -f conftest.er1
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } && {
15357 test -z "$ac_c_werror_flag" ||
15358 test ! -s conftest.err
15359 } && test -s conftest$ac_exeext &&
15360 $as_test_x conftest$ac_exeext; then
15361 ac_cv_cflags__fno_strict_aliasing=yes
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15366 ac_cv_cflags__fno_strict_aliasing=no
15369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15370 conftest$ac_exeext conftest.$ac_ext
15371 CFLAGS=$ac_wine_try_cflags_saved
15373 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15374 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15375 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15376 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15379 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15380 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15381 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15382 echo $ECHO_N "(cached) $ECHO_C" >&6
15383 else
15384 ac_wine_try_cflags_saved=$CFLAGS
15385 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15394 main ()
15398 return 0;
15400 _ACEOF
15401 rm -f conftest.$ac_objext conftest$ac_exeext
15402 if { (ac_try="$ac_link"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_link") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest$ac_exeext &&
15418 $as_test_x conftest$ac_exeext; then
15419 ac_cv_cflags__Wdeclaration_after_statement=yes
15420 else
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 ac_cv_cflags__Wdeclaration_after_statement=no
15427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15428 conftest$ac_exeext conftest.$ac_ext
15429 CFLAGS=$ac_wine_try_cflags_saved
15431 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15432 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15433 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15434 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15437 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15438 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15439 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 else
15442 ac_wine_try_cflags_saved=$CFLAGS
15443 CFLAGS="$CFLAGS -Wwrite-strings"
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h. */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15452 main ()
15456 return 0;
15458 _ACEOF
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15464 esac
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15477 ac_cv_cflags__Wwrite_strings=yes
15478 else
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15482 ac_cv_cflags__Wwrite_strings=no
15485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15486 conftest$ac_exeext conftest.$ac_ext
15487 CFLAGS=$ac_wine_try_cflags_saved
15489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15490 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15491 if test $ac_cv_cflags__Wwrite_strings = yes; then
15492 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15496 saved_CFLAGS="$CFLAGS"
15497 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15498 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15499 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15500 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 else
15503 cat >conftest.$ac_ext <<_ACEOF
15504 /* confdefs.h. */
15505 _ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 #include <string.h>
15511 main ()
15515 return 0;
15517 _ACEOF
15518 rm -f conftest.$ac_objext
15519 if { (ac_try="$ac_compile"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15523 esac
15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_compile") 2>conftest.er1
15526 ac_status=$?
15527 grep -v '^ *+' conftest.er1 >conftest.err
15528 rm -f conftest.er1
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest.$ac_objext; then
15535 ac_cv_c_string_h_warnings=no
15536 else
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15540 ac_cv_c_string_h_warnings=yes
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15546 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15547 CFLAGS="$saved_CFLAGS"
15548 if test "$ac_cv_c_string_h_warnings" = "no"
15549 then
15550 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15553 BUILTINFLAG=""
15555 saved_CFLAGS="$CFLAGS"
15556 CFLAGS="$CFLAGS -Werror"
15557 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15558 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15559 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15560 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 else
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15570 main ()
15572 int iswlower(unsigned short);
15574 return 0;
15576 _ACEOF
15577 rm -f conftest.$ac_objext
15578 if { (ac_try="$ac_compile"
15579 case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15582 esac
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_compile") 2>conftest.er1
15585 ac_status=$?
15586 grep -v '^ *+' conftest.er1 >conftest.err
15587 rm -f conftest.er1
15588 cat conftest.err >&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } && {
15591 test -z "$ac_c_werror_flag" ||
15592 test ! -s conftest.err
15593 } && test -s conftest.$ac_objext; then
15594 ac_cv_c_builtin_wchar_ctype=no
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15599 ac_cv_c_builtin_wchar_ctype=yes
15602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15604 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15605 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15606 CFLAGS="$saved_CFLAGS"
15607 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15608 then
15609 BUILTINFLAG="-fno-builtin"
15614 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15615 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15616 if test "${ac_cv_asm_func_def+set}" = set; then
15617 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 else
15619 cat >conftest.$ac_ext <<_ACEOF
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15627 main ()
15629 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15631 return 0;
15633 _ACEOF
15634 rm -f conftest.$ac_objext conftest$ac_exeext
15635 if { (ac_try="$ac_link"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_link") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest$ac_exeext &&
15651 $as_test_x conftest$ac_exeext; then
15652 ac_cv_asm_func_def=".def"
15653 else
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h. */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15665 main ()
15667 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15669 return 0;
15671 _ACEOF
15672 rm -f conftest.$ac_objext conftest$ac_exeext
15673 if { (ac_try="$ac_link"
15674 case "(($ac_try" in
15675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15676 *) ac_try_echo=$ac_try;;
15677 esac
15678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15679 (eval "$ac_link") 2>conftest.er1
15680 ac_status=$?
15681 grep -v '^ *+' conftest.er1 >conftest.err
15682 rm -f conftest.er1
15683 cat conftest.err >&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } && {
15686 test -z "$ac_c_werror_flag" ||
15687 test ! -s conftest.err
15688 } && test -s conftest$ac_exeext &&
15689 $as_test_x conftest$ac_exeext; then
15690 ac_cv_asm_func_def=".type @function"
15691 else
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15703 main ()
15705 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15707 return 0;
15709 _ACEOF
15710 rm -f conftest.$ac_objext conftest$ac_exeext
15711 if { (ac_try="$ac_link"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15715 esac
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_link") 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest$ac_exeext &&
15727 $as_test_x conftest$ac_exeext; then
15728 ac_cv_asm_func_def=".type 2"
15729 else
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15733 ac_cv_asm_func_def="unknown"
15736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15737 conftest$ac_exeext conftest.$ac_ext
15740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15741 conftest$ac_exeext conftest.$ac_ext
15744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15745 conftest$ac_exeext conftest.$ac_ext
15747 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15748 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15752 case "$ac_cv_asm_func_def" in
15753 ".def")
15754 cat >>confdefs.h <<\_ACEOF
15755 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15756 _ACEOF
15758 ".type @function")
15759 cat >>confdefs.h <<\_ACEOF
15760 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15761 _ACEOF
15763 ".type 2")
15764 cat >>confdefs.h <<\_ACEOF
15765 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15766 _ACEOF
15769 cat >>confdefs.h <<\_ACEOF
15770 #define __ASM_FUNC(name) ""
15771 _ACEOF
15773 esac
15776 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15777 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15778 if test "${ac_cv_c_extern_prefix+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 extern int ac_test;
15789 main ()
15791 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15793 return 0;
15795 _ACEOF
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (ac_try="$ac_link"
15798 case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15801 esac
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_link") 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest$ac_exeext &&
15813 $as_test_x conftest$ac_exeext; then
15814 ac_cv_c_extern_prefix="yes"
15815 else
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.$ac_ext >&5
15819 ac_cv_c_extern_prefix="no"
15822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15823 conftest$ac_exeext conftest.$ac_ext
15825 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15826 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15830 if test "$ac_cv_c_extern_prefix" = "yes"
15831 then
15832 cat >>confdefs.h <<\_ACEOF
15833 #define __ASM_NAME(name) "_" name
15834 _ACEOF
15836 else
15837 cat >>confdefs.h <<\_ACEOF
15838 #define __ASM_NAME(name) name
15839 _ACEOF
15844 LDPATH=""
15846 case $build_os in
15847 cygwin*|mingw32*)
15848 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15850 darwin*|macosx*)
15852 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15853 then
15854 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15858 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15860 esac
15862 case $host_os in
15863 mingw32*)
15864 CRTLIBS="-lmsvcrt"
15866 SOCKETLIBS="-lws2_32"
15869 esac
15871 MAIN_BINARY="wine-pthread"
15872 case $host_cpu in
15873 *i[3456789]86*)
15874 case $host_os in
15875 linux* | k*bsd*-gnu)
15876 MAIN_BINARY="wine-glibc"
15878 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15880 freebsd*)
15881 MAIN_BINARY="wine-freebsd"
15883 EXTRA_BINARIES="wine-pthread"
15885 esac
15887 esac
15954 for ac_func in \
15955 _pclose \
15956 _popen \
15957 _snprintf \
15958 _spawnvp \
15959 _strdup \
15960 _stricmp \
15961 _strnicmp \
15962 _vsnprintf \
15963 asctime_r \
15964 chsize \
15965 clone \
15966 dlopen \
15967 epoll_create \
15968 ffs \
15969 finite \
15970 fork \
15971 fpclass \
15972 fstatfs \
15973 fstatvfs \
15974 ftruncate \
15975 futimes \
15976 futimesat \
15977 getdirentries \
15978 getopt_long \
15979 getpagesize \
15980 getpwuid \
15981 gettid \
15982 gettimeofday \
15983 getuid \
15984 inet_pton \
15985 kqueue \
15986 lstat \
15987 memmove \
15988 mmap \
15989 pclose \
15990 poll \
15991 popen \
15992 prctl \
15993 pread \
15994 pwrite \
15995 readlink \
15996 rfork \
15997 sched_yield \
15998 select \
15999 setrlimit \
16000 settimeofday \
16001 sigaltstack \
16002 sigprocmask \
16003 snprintf \
16004 spawnvp \
16005 statfs \
16006 statvfs \
16007 strcasecmp \
16008 strdup \
16009 strerror \
16010 strncasecmp \
16011 strtold \
16012 tcgetattr \
16013 thr_kill2 \
16014 timegm \
16015 usleep \
16016 vsnprintf \
16017 wait4 \
16018 waitpid \
16021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 else
16027 cat >conftest.$ac_ext <<_ACEOF
16028 /* confdefs.h. */
16029 _ACEOF
16030 cat confdefs.h >>conftest.$ac_ext
16031 cat >>conftest.$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16035 #define $ac_func innocuous_$ac_func
16037 /* System header to define __stub macros and hopefully few prototypes,
16038 which can conflict with char $ac_func (); below.
16039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16040 <limits.h> exists even on freestanding compilers. */
16042 #ifdef __STDC__
16043 # include <limits.h>
16044 #else
16045 # include <assert.h>
16046 #endif
16048 #undef $ac_func
16050 /* Override any GCC internal prototype to avoid an error.
16051 Use char because int might match the return type of a GCC
16052 builtin and then its argument prototype would still apply. */
16053 #ifdef __cplusplus
16054 extern "C"
16055 #endif
16056 char $ac_func ();
16057 /* The GNU C library defines this for functions which it implements
16058 to always fail with ENOSYS. Some functions are actually named
16059 something starting with __ and the normal name is an alias. */
16060 #if defined __stub_$ac_func || defined __stub___$ac_func
16061 choke me
16062 #endif
16065 main ()
16067 return $ac_func ();
16069 return 0;
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (ac_try="$ac_link"
16074 case "(($ac_try" in
16075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16076 *) ac_try_echo=$ac_try;;
16077 esac
16078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079 (eval "$ac_link") 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } && {
16086 test -z "$ac_c_werror_flag" ||
16087 test ! -s conftest.err
16088 } && test -s conftest$ac_exeext &&
16089 $as_test_x conftest$ac_exeext; then
16090 eval "$as_ac_var=yes"
16091 else
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16095 eval "$as_ac_var=no"
16098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16099 conftest$ac_exeext conftest.$ac_ext
16101 ac_res=`eval echo '${'$as_ac_var'}'`
16102 { echo "$as_me:$LINENO: result: $ac_res" >&5
16103 echo "${ECHO_T}$ac_res" >&6; }
16104 if test `eval echo '${'$as_ac_var'}'` = yes; then
16105 cat >>confdefs.h <<_ACEOF
16106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16107 _ACEOF
16110 done
16113 if test "$ac_cv_func_dlopen" = no
16114 then
16115 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16116 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16117 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 ac_check_lib_save_LIBS=$LIBS
16121 LIBS="-ldl $LIBS"
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16129 /* Override any GCC internal prototype to avoid an error.
16130 Use char because int might match the return type of a GCC
16131 builtin and then its argument prototype would still apply. */
16132 #ifdef __cplusplus
16133 extern "C"
16134 #endif
16135 char dlopen ();
16137 main ()
16139 return dlopen ();
16141 return 0;
16143 _ACEOF
16144 rm -f conftest.$ac_objext conftest$ac_exeext
16145 if { (ac_try="$ac_link"
16146 case "(($ac_try" in
16147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16148 *) ac_try_echo=$ac_try;;
16149 esac
16150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16151 (eval "$ac_link") 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } && {
16158 test -z "$ac_c_werror_flag" ||
16159 test ! -s conftest.err
16160 } && test -s conftest$ac_exeext &&
16161 $as_test_x conftest$ac_exeext; then
16162 ac_cv_lib_dl_dlopen=yes
16163 else
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.$ac_ext >&5
16167 ac_cv_lib_dl_dlopen=no
16170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16171 conftest$ac_exeext conftest.$ac_ext
16172 LIBS=$ac_check_lib_save_LIBS
16174 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16175 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16176 if test $ac_cv_lib_dl_dlopen = yes; then
16177 cat >>confdefs.h <<\_ACEOF
16178 #define HAVE_DLOPEN 1
16179 _ACEOF
16180 LIBDL="-ldl"
16185 ac_wine_check_funcs_save_LIBS="$LIBS"
16186 LIBS="$LIBS $LIBDL"
16188 for ac_func in dladdr
16190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 cat >conftest.$ac_ext <<_ACEOF
16197 /* confdefs.h. */
16198 _ACEOF
16199 cat confdefs.h >>conftest.$ac_ext
16200 cat >>conftest.$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16204 #define $ac_func innocuous_$ac_func
16206 /* System header to define __stub macros and hopefully few prototypes,
16207 which can conflict with char $ac_func (); below.
16208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16209 <limits.h> exists even on freestanding compilers. */
16211 #ifdef __STDC__
16212 # include <limits.h>
16213 #else
16214 # include <assert.h>
16215 #endif
16217 #undef $ac_func
16219 /* Override any GCC internal prototype to avoid an error.
16220 Use char because int might match the return type of a GCC
16221 builtin and then its argument prototype would still apply. */
16222 #ifdef __cplusplus
16223 extern "C"
16224 #endif
16225 char $ac_func ();
16226 /* The GNU C library defines this for functions which it implements
16227 to always fail with ENOSYS. Some functions are actually named
16228 something starting with __ and the normal name is an alias. */
16229 #if defined __stub_$ac_func || defined __stub___$ac_func
16230 choke me
16231 #endif
16234 main ()
16236 return $ac_func ();
16238 return 0;
16240 _ACEOF
16241 rm -f conftest.$ac_objext conftest$ac_exeext
16242 if { (ac_try="$ac_link"
16243 case "(($ac_try" in
16244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16246 esac
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_link") 2>conftest.er1
16249 ac_status=$?
16250 grep -v '^ *+' conftest.er1 >conftest.err
16251 rm -f conftest.er1
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest$ac_exeext &&
16258 $as_test_x conftest$ac_exeext; then
16259 eval "$as_ac_var=yes"
16260 else
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 eval "$as_ac_var=no"
16267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16268 conftest$ac_exeext conftest.$ac_ext
16270 ac_res=`eval echo '${'$as_ac_var'}'`
16271 { echo "$as_me:$LINENO: result: $ac_res" >&5
16272 echo "${ECHO_T}$ac_res" >&6; }
16273 if test `eval echo '${'$as_ac_var'}'` = yes; then
16274 cat >>confdefs.h <<_ACEOF
16275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16276 _ACEOF
16279 done
16281 LIBS="$ac_wine_check_funcs_save_LIBS"
16283 if test "$ac_cv_func_poll" = no
16284 then
16285 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16286 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16287 if test "${ac_cv_lib_poll_poll+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 else
16290 ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lpoll $LIBS"
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16299 /* Override any GCC internal prototype to avoid an error.
16300 Use char because int might match the return type of a GCC
16301 builtin and then its argument prototype would still apply. */
16302 #ifdef __cplusplus
16303 extern "C"
16304 #endif
16305 char poll ();
16307 main ()
16309 return poll ();
16311 return 0;
16313 _ACEOF
16314 rm -f conftest.$ac_objext conftest$ac_exeext
16315 if { (ac_try="$ac_link"
16316 case "(($ac_try" in
16317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16318 *) ac_try_echo=$ac_try;;
16319 esac
16320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16321 (eval "$ac_link") 2>conftest.er1
16322 ac_status=$?
16323 grep -v '^ *+' conftest.er1 >conftest.err
16324 rm -f conftest.er1
16325 cat conftest.err >&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && {
16328 test -z "$ac_c_werror_flag" ||
16329 test ! -s conftest.err
16330 } && test -s conftest$ac_exeext &&
16331 $as_test_x conftest$ac_exeext; then
16332 ac_cv_lib_poll_poll=yes
16333 else
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16337 ac_cv_lib_poll_poll=no
16340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16341 conftest$ac_exeext conftest.$ac_ext
16342 LIBS=$ac_check_lib_save_LIBS
16344 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16345 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16346 if test $ac_cv_lib_poll_poll = yes; then
16347 cat >>confdefs.h <<\_ACEOF
16348 #define HAVE_POLL 1
16349 _ACEOF
16350 LIBPOLL="-lpoll"
16356 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16357 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16358 if test "${ac_cv_search_gethostbyname+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 else
16361 ac_func_search_save_LIBS=$LIBS
16362 cat >conftest.$ac_ext <<_ACEOF
16363 /* confdefs.h. */
16364 _ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16369 /* Override any GCC internal prototype to avoid an error.
16370 Use char because int might match the return type of a GCC
16371 builtin and then its argument prototype would still apply. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 char gethostbyname ();
16377 main ()
16379 return gethostbyname ();
16381 return 0;
16383 _ACEOF
16384 for ac_lib in '' nsl; do
16385 if test -z "$ac_lib"; then
16386 ac_res="none required"
16387 else
16388 ac_res=-l$ac_lib
16389 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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_search_gethostbyname=$ac_res
16410 else
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16418 conftest$ac_exeext
16419 if test "${ac_cv_search_gethostbyname+set}" = set; then
16420 break
16422 done
16423 if test "${ac_cv_search_gethostbyname+set}" = set; then
16425 else
16426 ac_cv_search_gethostbyname=no
16428 rm conftest.$ac_ext
16429 LIBS=$ac_func_search_save_LIBS
16431 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16432 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16433 ac_res=$ac_cv_search_gethostbyname
16434 if test "$ac_res" != no; then
16435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16440 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16441 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16442 if test "${ac_cv_search_connect+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 else
16445 ac_func_search_save_LIBS=$LIBS
16446 cat >conftest.$ac_ext <<_ACEOF
16447 /* confdefs.h. */
16448 _ACEOF
16449 cat confdefs.h >>conftest.$ac_ext
16450 cat >>conftest.$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16453 /* Override any GCC internal prototype to avoid an error.
16454 Use char because int might match the return type of a GCC
16455 builtin and then its argument prototype would still apply. */
16456 #ifdef __cplusplus
16457 extern "C"
16458 #endif
16459 char connect ();
16461 main ()
16463 return connect ();
16465 return 0;
16467 _ACEOF
16468 for ac_lib in '' socket; do
16469 if test -z "$ac_lib"; then
16470 ac_res="none required"
16471 else
16472 ac_res=-l$ac_lib
16473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16475 rm -f conftest.$ac_objext conftest$ac_exeext
16476 if { (ac_try="$ac_link"
16477 case "(($ac_try" in
16478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16479 *) ac_try_echo=$ac_try;;
16480 esac
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_link") 2>conftest.er1
16483 ac_status=$?
16484 grep -v '^ *+' conftest.er1 >conftest.err
16485 rm -f conftest.er1
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } && {
16489 test -z "$ac_c_werror_flag" ||
16490 test ! -s conftest.err
16491 } && test -s conftest$ac_exeext &&
16492 $as_test_x conftest$ac_exeext; then
16493 ac_cv_search_connect=$ac_res
16494 else
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16502 conftest$ac_exeext
16503 if test "${ac_cv_search_connect+set}" = set; then
16504 break
16506 done
16507 if test "${ac_cv_search_connect+set}" = set; then
16509 else
16510 ac_cv_search_connect=no
16512 rm conftest.$ac_ext
16513 LIBS=$ac_func_search_save_LIBS
16515 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16516 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16517 ac_res=$ac_cv_search_connect
16518 if test "$ac_res" != no; then
16519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16524 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16525 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16526 if test "${ac_cv_search_inet_aton+set}" = set; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 else
16529 ac_func_search_save_LIBS=$LIBS
16530 cat >conftest.$ac_ext <<_ACEOF
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16537 /* Override any GCC internal prototype to avoid an error.
16538 Use char because int might match the return type of a GCC
16539 builtin and then its argument prototype would still apply. */
16540 #ifdef __cplusplus
16541 extern "C"
16542 #endif
16543 char inet_aton ();
16545 main ()
16547 return inet_aton ();
16549 return 0;
16551 _ACEOF
16552 for ac_lib in '' resolv; do
16553 if test -z "$ac_lib"; then
16554 ac_res="none required"
16555 else
16556 ac_res=-l$ac_lib
16557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16559 rm -f conftest.$ac_objext conftest$ac_exeext
16560 if { (ac_try="$ac_link"
16561 case "(($ac_try" in
16562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16563 *) ac_try_echo=$ac_try;;
16564 esac
16565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16566 (eval "$ac_link") 2>conftest.er1
16567 ac_status=$?
16568 grep -v '^ *+' conftest.er1 >conftest.err
16569 rm -f conftest.er1
16570 cat conftest.err >&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } && {
16573 test -z "$ac_c_werror_flag" ||
16574 test ! -s conftest.err
16575 } && test -s conftest$ac_exeext &&
16576 $as_test_x conftest$ac_exeext; then
16577 ac_cv_search_inet_aton=$ac_res
16578 else
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16586 conftest$ac_exeext
16587 if test "${ac_cv_search_inet_aton+set}" = set; then
16588 break
16590 done
16591 if test "${ac_cv_search_inet_aton+set}" = set; then
16593 else
16594 ac_cv_search_inet_aton=no
16596 rm conftest.$ac_ext
16597 LIBS=$ac_func_search_save_LIBS
16599 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16600 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16601 ac_res=$ac_cv_search_inet_aton
16602 if test "$ac_res" != no; then
16603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16616 for ac_func in \
16617 getaddrinfo \
16618 getnameinfo \
16619 getnetbyname \
16620 getprotobyname \
16621 getprotobynumber \
16622 getservbyport \
16623 inet_network \
16624 sendmsg \
16627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633 cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h. */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16641 #define $ac_func innocuous_$ac_func
16643 /* System header to define __stub macros and hopefully few prototypes,
16644 which can conflict with char $ac_func (); below.
16645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16646 <limits.h> exists even on freestanding compilers. */
16648 #ifdef __STDC__
16649 # include <limits.h>
16650 #else
16651 # include <assert.h>
16652 #endif
16654 #undef $ac_func
16656 /* Override any GCC internal prototype to avoid an error.
16657 Use char because int might match the return type of a GCC
16658 builtin and then its argument prototype would still apply. */
16659 #ifdef __cplusplus
16660 extern "C"
16661 #endif
16662 char $ac_func ();
16663 /* The GNU C library defines this for functions which it implements
16664 to always fail with ENOSYS. Some functions are actually named
16665 something starting with __ and the normal name is an alias. */
16666 #if defined __stub_$ac_func || defined __stub___$ac_func
16667 choke me
16668 #endif
16671 main ()
16673 return $ac_func ();
16675 return 0;
16677 _ACEOF
16678 rm -f conftest.$ac_objext conftest$ac_exeext
16679 if { (ac_try="$ac_link"
16680 case "(($ac_try" in
16681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16682 *) ac_try_echo=$ac_try;;
16683 esac
16684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16685 (eval "$ac_link") 2>conftest.er1
16686 ac_status=$?
16687 grep -v '^ *+' conftest.er1 >conftest.err
16688 rm -f conftest.er1
16689 cat conftest.err >&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } && {
16692 test -z "$ac_c_werror_flag" ||
16693 test ! -s conftest.err
16694 } && test -s conftest$ac_exeext &&
16695 $as_test_x conftest$ac_exeext; then
16696 eval "$as_ac_var=yes"
16697 else
16698 echo "$as_me: failed program was:" >&5
16699 sed 's/^/| /' conftest.$ac_ext >&5
16701 eval "$as_ac_var=no"
16704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16705 conftest$ac_exeext conftest.$ac_ext
16707 ac_res=`eval echo '${'$as_ac_var'}'`
16708 { echo "$as_me:$LINENO: result: $ac_res" >&5
16709 echo "${ECHO_T}$ac_res" >&6; }
16710 if test `eval echo '${'$as_ac_var'}'` = yes; then
16711 cat >>confdefs.h <<_ACEOF
16712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16713 _ACEOF
16716 done
16720 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16721 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16722 if test "${ac_cv_c_const+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725 cat >conftest.$ac_ext <<_ACEOF
16726 /* confdefs.h. */
16727 _ACEOF
16728 cat confdefs.h >>conftest.$ac_ext
16729 cat >>conftest.$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16733 main ()
16735 /* FIXME: Include the comments suggested by Paul. */
16736 #ifndef __cplusplus
16737 /* Ultrix mips cc rejects this. */
16738 typedef int charset[2];
16739 const charset cs;
16740 /* SunOS 4.1.1 cc rejects this. */
16741 char const *const *pcpcc;
16742 char **ppc;
16743 /* NEC SVR4.0.2 mips cc rejects this. */
16744 struct point {int x, y;};
16745 static struct point const zero = {0,0};
16746 /* AIX XL C 1.02.0.0 rejects this.
16747 It does not let you subtract one const X* pointer from another in
16748 an arm of an if-expression whose if-part is not a constant
16749 expression */
16750 const char *g = "string";
16751 pcpcc = &g + (g ? g-g : 0);
16752 /* HPUX 7.0 cc rejects these. */
16753 ++pcpcc;
16754 ppc = (char**) pcpcc;
16755 pcpcc = (char const *const *) ppc;
16756 { /* SCO 3.2v4 cc rejects this. */
16757 char *t;
16758 char const *s = 0 ? (char *) 0 : (char const *) 0;
16760 *t++ = 0;
16761 if (s) return 0;
16763 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16764 int x[] = {25, 17};
16765 const int *foo = &x[0];
16766 ++foo;
16768 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16769 typedef const int *iptr;
16770 iptr p = 0;
16771 ++p;
16773 { /* AIX XL C 1.02.0.0 rejects this saying
16774 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16775 struct s { int j; const int *ap[3]; };
16776 struct s *b; b->j = 5;
16778 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16779 const int foo = 10;
16780 if (!foo) return 0;
16782 return !cs[0] && !zero.x;
16783 #endif
16786 return 0;
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (ac_try="$ac_compile"
16791 case "(($ac_try" in
16792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16793 *) ac_try_echo=$ac_try;;
16794 esac
16795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16796 (eval "$ac_compile") 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest.$ac_objext; then
16806 ac_cv_c_const=yes
16807 else
16808 echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16811 ac_cv_c_const=no
16814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16817 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16818 if test $ac_cv_c_const = no; then
16820 cat >>confdefs.h <<\_ACEOF
16821 #define const
16822 _ACEOF
16826 { echo "$as_me:$LINENO: checking for inline" >&5
16827 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16828 if test "${ac_cv_c_inline+set}" = set; then
16829 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 else
16831 ac_cv_c_inline=no
16832 for ac_kw in inline __inline__ __inline; do
16833 cat >conftest.$ac_ext <<_ACEOF
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #ifndef __cplusplus
16840 typedef int foo_t;
16841 static $ac_kw foo_t static_foo () {return 0; }
16842 $ac_kw foo_t foo () {return 0; }
16843 #endif
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_c_inline=$ac_kw
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 test "$ac_cv_c_inline" != no && break
16873 done
16876 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16877 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16880 case $ac_cv_c_inline in
16881 inline | yes) ;;
16883 case $ac_cv_c_inline in
16884 no) ac_val=;;
16885 *) ac_val=$ac_cv_c_inline;;
16886 esac
16887 cat >>confdefs.h <<_ACEOF
16888 #ifndef __cplusplus
16889 #define inline $ac_val
16890 #endif
16891 _ACEOF
16893 esac
16895 { echo "$as_me:$LINENO: checking for mode_t" >&5
16896 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16897 if test "${ac_cv_type_mode_t+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 cat >conftest.$ac_ext <<_ACEOF
16901 /* confdefs.h. */
16902 _ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 $ac_includes_default
16907 typedef mode_t ac__type_new_;
16909 main ()
16911 if ((ac__type_new_ *) 0)
16912 return 0;
16913 if (sizeof (ac__type_new_))
16914 return 0;
16916 return 0;
16918 _ACEOF
16919 rm -f conftest.$ac_objext
16920 if { (ac_try="$ac_compile"
16921 case "(($ac_try" in
16922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16923 *) ac_try_echo=$ac_try;;
16924 esac
16925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926 (eval "$ac_compile") 2>conftest.er1
16927 ac_status=$?
16928 grep -v '^ *+' conftest.er1 >conftest.err
16929 rm -f conftest.er1
16930 cat conftest.err >&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } && {
16933 test -z "$ac_c_werror_flag" ||
16934 test ! -s conftest.err
16935 } && test -s conftest.$ac_objext; then
16936 ac_cv_type_mode_t=yes
16937 else
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 ac_cv_type_mode_t=no
16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16946 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16947 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16948 if test $ac_cv_type_mode_t = yes; then
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_MODE_T 1
16952 _ACEOF
16956 { echo "$as_me:$LINENO: checking for off_t" >&5
16957 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16958 if test "${ac_cv_type_off_t+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 $ac_includes_default
16968 typedef off_t ac__type_new_;
16970 main ()
16972 if ((ac__type_new_ *) 0)
16973 return 0;
16974 if (sizeof (ac__type_new_))
16975 return 0;
16977 return 0;
16979 _ACEOF
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 ac_cv_type_off_t=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17002 ac_cv_type_off_t=no
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17008 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17009 if test $ac_cv_type_off_t = yes; then
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_OFF_T 1
17013 _ACEOF
17017 { echo "$as_me:$LINENO: checking for pid_t" >&5
17018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17019 if test "${ac_cv_type_pid_t+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h. */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 $ac_includes_default
17029 typedef pid_t ac__type_new_;
17031 main ()
17033 if ((ac__type_new_ *) 0)
17034 return 0;
17035 if (sizeof (ac__type_new_))
17036 return 0;
17038 return 0;
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17046 esac
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_c_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 ac_cv_type_pid_t=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_cv_type_pid_t=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17070 if test $ac_cv_type_pid_t = yes; then
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_PID_T 1
17074 _ACEOF
17078 { echo "$as_me:$LINENO: checking for size_t" >&5
17079 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17080 if test "${ac_cv_type_size_t+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 else
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17090 typedef size_t ac__type_new_;
17092 main ()
17094 if ((ac__type_new_ *) 0)
17095 return 0;
17096 if (sizeof (ac__type_new_))
17097 return 0;
17099 return 0;
17101 _ACEOF
17102 rm -f conftest.$ac_objext
17103 if { (ac_try="$ac_compile"
17104 case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17107 esac
17108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_compile") 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } && {
17116 test -z "$ac_c_werror_flag" ||
17117 test ! -s conftest.err
17118 } && test -s conftest.$ac_objext; then
17119 ac_cv_type_size_t=yes
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 ac_cv_type_size_t=no
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17130 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17131 if test $ac_cv_type_size_t = yes; then
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_SIZE_T 1
17135 _ACEOF
17139 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17140 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17141 if test "${ac_cv_type_ssize_t+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 else
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 $ac_includes_default
17151 typedef ssize_t ac__type_new_;
17153 main ()
17155 if ((ac__type_new_ *) 0)
17156 return 0;
17157 if (sizeof (ac__type_new_))
17158 return 0;
17160 return 0;
17162 _ACEOF
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17171 ac_status=$?
17172 grep -v '^ *+' conftest.er1 >conftest.err
17173 rm -f conftest.er1
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.$ac_objext; then
17180 ac_cv_type_ssize_t=yes
17181 else
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17185 ac_cv_type_ssize_t=no
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17191 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17192 if test $ac_cv_type_ssize_t = yes; then
17194 cat >>confdefs.h <<_ACEOF
17195 #define HAVE_SSIZE_T 1
17196 _ACEOF
17200 { echo "$as_me:$LINENO: checking for long long" >&5
17201 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17202 if test "${ac_cv_type_long_long+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 cat >conftest.$ac_ext <<_ACEOF
17206 /* confdefs.h. */
17207 _ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17211 $ac_includes_default
17212 typedef long long ac__type_new_;
17214 main ()
17216 if ((ac__type_new_ *) 0)
17217 return 0;
17218 if (sizeof (ac__type_new_))
17219 return 0;
17221 return 0;
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (ac_try="$ac_compile"
17226 case "(($ac_try" in
17227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17229 esac
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_compile") 2>conftest.er1
17232 ac_status=$?
17233 grep -v '^ *+' conftest.er1 >conftest.err
17234 rm -f conftest.er1
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } && {
17238 test -z "$ac_c_werror_flag" ||
17239 test ! -s conftest.err
17240 } && test -s conftest.$ac_objext; then
17241 ac_cv_type_long_long=yes
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 ac_cv_type_long_long=no
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17251 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17252 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17253 if test $ac_cv_type_long_long = yes; then
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_LONG_LONG 1
17257 _ACEOF
17261 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17262 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17263 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 else
17266 cat >conftest.$ac_ext <<_ACEOF
17267 /* confdefs.h. */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17272 $ac_includes_default
17273 typedef fsblkcnt_t ac__type_new_;
17275 main ()
17277 if ((ac__type_new_ *) 0)
17278 return 0;
17279 if (sizeof (ac__type_new_))
17280 return 0;
17282 return 0;
17284 _ACEOF
17285 rm -f conftest.$ac_objext
17286 if { (ac_try="$ac_compile"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17290 esac
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_compile") 2>conftest.er1
17293 ac_status=$?
17294 grep -v '^ *+' conftest.er1 >conftest.err
17295 rm -f conftest.er1
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest.$ac_objext; then
17302 ac_cv_type_fsblkcnt_t=yes
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_cv_type_fsblkcnt_t=no
17310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17312 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17313 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17314 if test $ac_cv_type_fsblkcnt_t = yes; then
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_FSBLKCNT_T 1
17318 _ACEOF
17322 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17323 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17324 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 else
17327 cat >conftest.$ac_ext <<_ACEOF
17328 /* confdefs.h. */
17329 _ACEOF
17330 cat confdefs.h >>conftest.$ac_ext
17331 cat >>conftest.$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 $ac_includes_default
17334 typedef fsfilcnt_t ac__type_new_;
17336 main ()
17338 if ((ac__type_new_ *) 0)
17339 return 0;
17340 if (sizeof (ac__type_new_))
17341 return 0;
17343 return 0;
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (ac_try="$ac_compile"
17348 case "(($ac_try" in
17349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17350 *) ac_try_echo=$ac_try;;
17351 esac
17352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17353 (eval "$ac_compile") 2>conftest.er1
17354 ac_status=$?
17355 grep -v '^ *+' conftest.er1 >conftest.err
17356 rm -f conftest.er1
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } && {
17360 test -z "$ac_c_werror_flag" ||
17361 test ! -s conftest.err
17362 } && test -s conftest.$ac_objext; then
17363 ac_cv_type_fsfilcnt_t=yes
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 ac_cv_type_fsfilcnt_t=no
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17374 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17375 if test $ac_cv_type_fsfilcnt_t = yes; then
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_FSFILCNT_T 1
17379 _ACEOF
17384 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17385 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17386 if test "${ac_cv_type_sigset_t+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #include <signal.h>
17397 typedef sigset_t ac__type_new_;
17399 main ()
17401 if ((ac__type_new_ *) 0)
17402 return 0;
17403 if (sizeof (ac__type_new_))
17404 return 0;
17406 return 0;
17408 _ACEOF
17409 rm -f conftest.$ac_objext
17410 if { (ac_try="$ac_compile"
17411 case "(($ac_try" in
17412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17413 *) ac_try_echo=$ac_try;;
17414 esac
17415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416 (eval "$ac_compile") 2>conftest.er1
17417 ac_status=$?
17418 grep -v '^ *+' conftest.er1 >conftest.err
17419 rm -f conftest.er1
17420 cat conftest.err >&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && {
17423 test -z "$ac_c_werror_flag" ||
17424 test ! -s conftest.err
17425 } && test -s conftest.$ac_objext; then
17426 ac_cv_type_sigset_t=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 ac_cv_type_sigset_t=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17437 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17438 if test $ac_cv_type_sigset_t = yes; then
17440 cat >>confdefs.h <<_ACEOF
17441 #define HAVE_SIGSET_T 1
17442 _ACEOF
17447 { echo "$as_me:$LINENO: checking for request_sense" >&5
17448 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17449 if test "${ac_cv_type_request_sense+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 #include <linux/cdrom.h>
17460 typedef request_sense ac__type_new_;
17462 main ()
17464 if ((ac__type_new_ *) 0)
17465 return 0;
17466 if (sizeof (ac__type_new_))
17467 return 0;
17469 return 0;
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_c_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 ac_cv_type_request_sense=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17494 ac_cv_type_request_sense=no
17497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17500 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17501 if test $ac_cv_type_request_sense = yes; then
17503 cat >>confdefs.h <<_ACEOF
17504 #define HAVE_REQUEST_SENSE 1
17505 _ACEOF
17511 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17512 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17513 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h. */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17522 #ifdef HAVE_LINUX_INPUT_H
17523 #include <linux/input.h>
17524 #endif
17527 main ()
17529 static struct ff_effect ac_aggr;
17530 if (ac_aggr.direction)
17531 return 0;
17533 return 0;
17535 _ACEOF
17536 rm -f conftest.$ac_objext
17537 if { (ac_try="$ac_compile"
17538 case "(($ac_try" in
17539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17540 *) ac_try_echo=$ac_try;;
17541 esac
17542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17543 (eval "$ac_compile") 2>conftest.er1
17544 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } && {
17550 test -z "$ac_c_werror_flag" ||
17551 test ! -s conftest.err
17552 } && test -s conftest.$ac_objext; then
17553 ac_cv_member_struct_ff_effect_direction=yes
17554 else
17555 echo "$as_me: failed program was:" >&5
17556 sed 's/^/| /' conftest.$ac_ext >&5
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564 #ifdef HAVE_LINUX_INPUT_H
17565 #include <linux/input.h>
17566 #endif
17569 main ()
17571 static struct ff_effect ac_aggr;
17572 if (sizeof ac_aggr.direction)
17573 return 0;
17575 return 0;
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (ac_try="$ac_compile"
17580 case "(($ac_try" in
17581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17582 *) ac_try_echo=$ac_try;;
17583 esac
17584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17585 (eval "$ac_compile") 2>conftest.er1
17586 ac_status=$?
17587 grep -v '^ *+' conftest.er1 >conftest.err
17588 rm -f conftest.er1
17589 cat conftest.err >&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } && {
17592 test -z "$ac_c_werror_flag" ||
17593 test ! -s conftest.err
17594 } && test -s conftest.$ac_objext; then
17595 ac_cv_member_struct_ff_effect_direction=yes
17596 else
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17600 ac_cv_member_struct_ff_effect_direction=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17608 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17609 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17610 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17612 cat >>confdefs.h <<_ACEOF
17613 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17614 _ACEOF
17620 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17621 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17622 if test "${wine_cv_have_sigaddset+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <signal.h>
17633 main ()
17635 sigset_t set; sigaddset(&set,SIGTERM);
17637 return 0;
17639 _ACEOF
17640 rm -f conftest.$ac_objext conftest$ac_exeext
17641 if { (ac_try="$ac_link"
17642 case "(($ac_try" in
17643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17645 esac
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_link") 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } && {
17654 test -z "$ac_c_werror_flag" ||
17655 test ! -s conftest.err
17656 } && test -s conftest$ac_exeext &&
17657 $as_test_x conftest$ac_exeext; then
17658 wine_cv_have_sigaddset=yes
17659 else
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.$ac_ext >&5
17663 wine_cv_have_sigaddset=no
17666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17667 conftest$ac_exeext conftest.$ac_ext
17669 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17670 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17671 if test "$wine_cv_have_sigaddset" = "yes"
17672 then
17674 cat >>confdefs.h <<\_ACEOF
17675 #define HAVE_SIGADDSET 1
17676 _ACEOF
17681 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17682 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17683 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692 #include <netdb.h>
17694 main ()
17697 char *name=0;
17698 struct hostent he;
17699 struct hostent *result;
17700 char *buf=0;
17701 int bufsize=0;
17702 int res,errnr;
17703 char *addr=0;
17704 int addrlen=0;
17705 int addrtype=0;
17706 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17707 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17710 return 0;
17712 _ACEOF
17713 rm -f conftest.$ac_objext conftest$ac_exeext
17714 if { (ac_try="$ac_link"
17715 case "(($ac_try" in
17716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17717 *) ac_try_echo=$ac_try;;
17718 esac
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720 (eval "$ac_link") 2>conftest.er1
17721 ac_status=$?
17722 grep -v '^ *+' conftest.er1 >conftest.err
17723 rm -f conftest.er1
17724 cat conftest.err >&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } && {
17727 test -z "$ac_c_werror_flag" ||
17728 test ! -s conftest.err
17729 } && test -s conftest$ac_exeext &&
17730 $as_test_x conftest$ac_exeext; then
17731 wine_cv_linux_gethostbyname_r_6=yes
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17736 wine_cv_linux_gethostbyname_r_6=no
17740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17741 conftest$ac_exeext conftest.$ac_ext
17744 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17745 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17746 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17747 then
17749 cat >>confdefs.h <<\_ACEOF
17750 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17751 _ACEOF
17755 if test "$ac_cv_header_linux_joystick_h" = "yes"
17756 then
17757 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17758 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17759 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17769 #include <sys/ioctl.h>
17770 #include <sys/types.h>
17771 #include <linux/joystick.h>
17773 struct js_event blub;
17774 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17775 #error "no 2.2 header"
17776 #endif
17779 main ()
17781 /*empty*/
17783 return 0;
17785 _ACEOF
17786 rm -f conftest.$ac_objext
17787 if { (ac_try="$ac_compile"
17788 case "(($ac_try" in
17789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17790 *) ac_try_echo=$ac_try;;
17791 esac
17792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17793 (eval "$ac_compile") 2>conftest.er1
17794 ac_status=$?
17795 grep -v '^ *+' conftest.er1 >conftest.err
17796 rm -f conftest.er1
17797 cat conftest.err >&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } && {
17800 test -z "$ac_c_werror_flag" ||
17801 test ! -s conftest.err
17802 } && test -s conftest.$ac_objext; then
17803 wine_cv_linux_joystick_22_api=yes
17804 else
17805 echo "$as_me: failed program was:" >&5
17806 sed 's/^/| /' conftest.$ac_ext >&5
17808 wine_cv_linux_joystick_22_api=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17815 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17816 if test "$wine_cv_linux_joystick_22_api" = "yes"
17817 then
17819 cat >>confdefs.h <<\_ACEOF
17820 #define HAVE_LINUX_22_JOYSTICK_API 1
17821 _ACEOF
17827 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17828 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17829 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 #include <sys/types.h>
17839 #ifdef HAVE_SYS_PARAM_H
17840 # include <sys/param.h>
17841 #endif
17842 #ifdef HAVE_SYS_MOUNT_H
17843 # include <sys/mount.h>
17844 #endif
17845 #ifdef HAVE_SYS_VFS_H
17846 # include <sys/vfs.h>
17847 #endif
17848 #ifdef HAVE_SYS_STATFS_H
17849 # include <sys/statfs.h>
17850 #endif
17853 main ()
17855 static struct statfs ac_aggr;
17856 if (ac_aggr.f_bfree)
17857 return 0;
17859 return 0;
17861 _ACEOF
17862 rm -f conftest.$ac_objext
17863 if { (ac_try="$ac_compile"
17864 case "(($ac_try" in
17865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17866 *) ac_try_echo=$ac_try;;
17867 esac
17868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869 (eval "$ac_compile") 2>conftest.er1
17870 ac_status=$?
17871 grep -v '^ *+' conftest.er1 >conftest.err
17872 rm -f conftest.er1
17873 cat conftest.err >&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_c_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest.$ac_objext; then
17879 ac_cv_member_struct_statfs_f_bfree=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <sys/types.h>
17891 #ifdef HAVE_SYS_PARAM_H
17892 # include <sys/param.h>
17893 #endif
17894 #ifdef HAVE_SYS_MOUNT_H
17895 # include <sys/mount.h>
17896 #endif
17897 #ifdef HAVE_SYS_VFS_H
17898 # include <sys/vfs.h>
17899 #endif
17900 #ifdef HAVE_SYS_STATFS_H
17901 # include <sys/statfs.h>
17902 #endif
17905 main ()
17907 static struct statfs ac_aggr;
17908 if (sizeof ac_aggr.f_bfree)
17909 return 0;
17911 return 0;
17913 _ACEOF
17914 rm -f conftest.$ac_objext
17915 if { (ac_try="$ac_compile"
17916 case "(($ac_try" in
17917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17918 *) ac_try_echo=$ac_try;;
17919 esac
17920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17921 (eval "$ac_compile") 2>conftest.er1
17922 ac_status=$?
17923 grep -v '^ *+' conftest.er1 >conftest.err
17924 rm -f conftest.er1
17925 cat conftest.err >&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } && {
17928 test -z "$ac_c_werror_flag" ||
17929 test ! -s conftest.err
17930 } && test -s conftest.$ac_objext; then
17931 ac_cv_member_struct_statfs_f_bfree=yes
17932 else
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 ac_cv_member_struct_statfs_f_bfree=no
17939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17945 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17946 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17948 cat >>confdefs.h <<_ACEOF
17949 #define HAVE_STRUCT_STATFS_F_BFREE 1
17950 _ACEOF
17954 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17955 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17956 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 else
17959 cat >conftest.$ac_ext <<_ACEOF
17960 /* confdefs.h. */
17961 _ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965 #include <sys/types.h>
17966 #ifdef HAVE_SYS_PARAM_H
17967 # include <sys/param.h>
17968 #endif
17969 #ifdef HAVE_SYS_MOUNT_H
17970 # include <sys/mount.h>
17971 #endif
17972 #ifdef HAVE_SYS_VFS_H
17973 # include <sys/vfs.h>
17974 #endif
17975 #ifdef HAVE_SYS_STATFS_H
17976 # include <sys/statfs.h>
17977 #endif
17980 main ()
17982 static struct statfs ac_aggr;
17983 if (ac_aggr.f_bavail)
17984 return 0;
17986 return 0;
17988 _ACEOF
17989 rm -f conftest.$ac_objext
17990 if { (ac_try="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17994 esac
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 ac_cv_member_struct_statfs_f_bavail=yes
18007 else
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18011 cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 #include <sys/types.h>
18018 #ifdef HAVE_SYS_PARAM_H
18019 # include <sys/param.h>
18020 #endif
18021 #ifdef HAVE_SYS_MOUNT_H
18022 # include <sys/mount.h>
18023 #endif
18024 #ifdef HAVE_SYS_VFS_H
18025 # include <sys/vfs.h>
18026 #endif
18027 #ifdef HAVE_SYS_STATFS_H
18028 # include <sys/statfs.h>
18029 #endif
18032 main ()
18034 static struct statfs ac_aggr;
18035 if (sizeof ac_aggr.f_bavail)
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_member_struct_statfs_f_bavail=yes
18059 else
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18063 ac_cv_member_struct_statfs_f_bavail=no
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18072 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18073 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18075 cat >>confdefs.h <<_ACEOF
18076 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18077 _ACEOF
18081 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18082 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18083 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086 cat >conftest.$ac_ext <<_ACEOF
18087 /* confdefs.h. */
18088 _ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 #include <sys/types.h>
18093 #ifdef HAVE_SYS_PARAM_H
18094 # include <sys/param.h>
18095 #endif
18096 #ifdef HAVE_SYS_MOUNT_H
18097 # include <sys/mount.h>
18098 #endif
18099 #ifdef HAVE_SYS_VFS_H
18100 # include <sys/vfs.h>
18101 #endif
18102 #ifdef HAVE_SYS_STATFS_H
18103 # include <sys/statfs.h>
18104 #endif
18107 main ()
18109 static struct statfs ac_aggr;
18110 if (ac_aggr.f_frsize)
18111 return 0;
18113 return 0;
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (ac_try="$ac_compile"
18118 case "(($ac_try" in
18119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18120 *) ac_try_echo=$ac_try;;
18121 esac
18122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18123 (eval "$ac_compile") 2>conftest.er1
18124 ac_status=$?
18125 grep -v '^ *+' conftest.er1 >conftest.err
18126 rm -f conftest.er1
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } && {
18130 test -z "$ac_c_werror_flag" ||
18131 test ! -s conftest.err
18132 } && test -s conftest.$ac_objext; then
18133 ac_cv_member_struct_statfs_f_frsize=yes
18134 else
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18138 cat >conftest.$ac_ext <<_ACEOF
18139 /* confdefs.h. */
18140 _ACEOF
18141 cat confdefs.h >>conftest.$ac_ext
18142 cat >>conftest.$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 #include <sys/types.h>
18145 #ifdef HAVE_SYS_PARAM_H
18146 # include <sys/param.h>
18147 #endif
18148 #ifdef HAVE_SYS_MOUNT_H
18149 # include <sys/mount.h>
18150 #endif
18151 #ifdef HAVE_SYS_VFS_H
18152 # include <sys/vfs.h>
18153 #endif
18154 #ifdef HAVE_SYS_STATFS_H
18155 # include <sys/statfs.h>
18156 #endif
18159 main ()
18161 static struct statfs ac_aggr;
18162 if (sizeof ac_aggr.f_frsize)
18163 return 0;
18165 return 0;
18167 _ACEOF
18168 rm -f conftest.$ac_objext
18169 if { (ac_try="$ac_compile"
18170 case "(($ac_try" in
18171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18172 *) ac_try_echo=$ac_try;;
18173 esac
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_compile") 2>conftest.er1
18176 ac_status=$?
18177 grep -v '^ *+' conftest.er1 >conftest.err
18178 rm -f conftest.er1
18179 cat conftest.err >&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } && {
18182 test -z "$ac_c_werror_flag" ||
18183 test ! -s conftest.err
18184 } && test -s conftest.$ac_objext; then
18185 ac_cv_member_struct_statfs_f_frsize=yes
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18190 ac_cv_member_struct_statfs_f_frsize=no
18193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18199 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18200 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18204 _ACEOF
18208 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18209 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18210 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213 cat >conftest.$ac_ext <<_ACEOF
18214 /* confdefs.h. */
18215 _ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 #include <sys/types.h>
18220 #ifdef HAVE_SYS_PARAM_H
18221 # include <sys/param.h>
18222 #endif
18223 #ifdef HAVE_SYS_MOUNT_H
18224 # include <sys/mount.h>
18225 #endif
18226 #ifdef HAVE_SYS_VFS_H
18227 # include <sys/vfs.h>
18228 #endif
18229 #ifdef HAVE_SYS_STATFS_H
18230 # include <sys/statfs.h>
18231 #endif
18234 main ()
18236 static struct statfs ac_aggr;
18237 if (ac_aggr.f_ffree)
18238 return 0;
18240 return 0;
18242 _ACEOF
18243 rm -f conftest.$ac_objext
18244 if { (ac_try="$ac_compile"
18245 case "(($ac_try" in
18246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247 *) ac_try_echo=$ac_try;;
18248 esac
18249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250 (eval "$ac_compile") 2>conftest.er1
18251 ac_status=$?
18252 grep -v '^ *+' conftest.er1 >conftest.err
18253 rm -f conftest.er1
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } && {
18257 test -z "$ac_c_werror_flag" ||
18258 test ! -s conftest.err
18259 } && test -s conftest.$ac_objext; then
18260 ac_cv_member_struct_statfs_f_ffree=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 #include <sys/types.h>
18272 #ifdef HAVE_SYS_PARAM_H
18273 # include <sys/param.h>
18274 #endif
18275 #ifdef HAVE_SYS_MOUNT_H
18276 # include <sys/mount.h>
18277 #endif
18278 #ifdef HAVE_SYS_VFS_H
18279 # include <sys/vfs.h>
18280 #endif
18281 #ifdef HAVE_SYS_STATFS_H
18282 # include <sys/statfs.h>
18283 #endif
18286 main ()
18288 static struct statfs ac_aggr;
18289 if (sizeof ac_aggr.f_ffree)
18290 return 0;
18292 return 0;
18294 _ACEOF
18295 rm -f conftest.$ac_objext
18296 if { (ac_try="$ac_compile"
18297 case "(($ac_try" in
18298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18299 *) ac_try_echo=$ac_try;;
18300 esac
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_compile") 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } && {
18309 test -z "$ac_c_werror_flag" ||
18310 test ! -s conftest.err
18311 } && test -s conftest.$ac_objext; then
18312 ac_cv_member_struct_statfs_f_ffree=yes
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 ac_cv_member_struct_statfs_f_ffree=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18325 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18326 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18327 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18329 cat >>confdefs.h <<_ACEOF
18330 #define HAVE_STRUCT_STATFS_F_FFREE 1
18331 _ACEOF
18335 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18336 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18337 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 else
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #include <sys/types.h>
18347 #ifdef HAVE_SYS_PARAM_H
18348 # include <sys/param.h>
18349 #endif
18350 #ifdef HAVE_SYS_MOUNT_H
18351 # include <sys/mount.h>
18352 #endif
18353 #ifdef HAVE_SYS_VFS_H
18354 # include <sys/vfs.h>
18355 #endif
18356 #ifdef HAVE_SYS_STATFS_H
18357 # include <sys/statfs.h>
18358 #endif
18361 main ()
18363 static struct statfs ac_aggr;
18364 if (ac_aggr.f_favail)
18365 return 0;
18367 return 0;
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (ac_try="$ac_compile"
18372 case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18375 esac
18376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18377 (eval "$ac_compile") 2>conftest.er1
18378 ac_status=$?
18379 grep -v '^ *+' conftest.er1 >conftest.err
18380 rm -f conftest.er1
18381 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && {
18384 test -z "$ac_c_werror_flag" ||
18385 test ! -s conftest.err
18386 } && test -s conftest.$ac_objext; then
18387 ac_cv_member_struct_statfs_f_favail=yes
18388 else
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <sys/types.h>
18399 #ifdef HAVE_SYS_PARAM_H
18400 # include <sys/param.h>
18401 #endif
18402 #ifdef HAVE_SYS_MOUNT_H
18403 # include <sys/mount.h>
18404 #endif
18405 #ifdef HAVE_SYS_VFS_H
18406 # include <sys/vfs.h>
18407 #endif
18408 #ifdef HAVE_SYS_STATFS_H
18409 # include <sys/statfs.h>
18410 #endif
18413 main ()
18415 static struct statfs ac_aggr;
18416 if (sizeof ac_aggr.f_favail)
18417 return 0;
18419 return 0;
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (ac_try="$ac_compile"
18424 case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18427 esac
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_compile") 2>conftest.er1
18430 ac_status=$?
18431 grep -v '^ *+' conftest.er1 >conftest.err
18432 rm -f conftest.er1
18433 cat conftest.err >&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } && {
18436 test -z "$ac_c_werror_flag" ||
18437 test ! -s conftest.err
18438 } && test -s conftest.$ac_objext; then
18439 ac_cv_member_struct_statfs_f_favail=yes
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18444 ac_cv_member_struct_statfs_f_favail=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18453 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18454 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18456 cat >>confdefs.h <<_ACEOF
18457 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18458 _ACEOF
18462 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18463 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18464 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 else
18467 cat >conftest.$ac_ext <<_ACEOF
18468 /* confdefs.h. */
18469 _ACEOF
18470 cat confdefs.h >>conftest.$ac_ext
18471 cat >>conftest.$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 #include <sys/types.h>
18474 #ifdef HAVE_SYS_PARAM_H
18475 # include <sys/param.h>
18476 #endif
18477 #ifdef HAVE_SYS_MOUNT_H
18478 # include <sys/mount.h>
18479 #endif
18480 #ifdef HAVE_SYS_VFS_H
18481 # include <sys/vfs.h>
18482 #endif
18483 #ifdef HAVE_SYS_STATFS_H
18484 # include <sys/statfs.h>
18485 #endif
18488 main ()
18490 static struct statfs ac_aggr;
18491 if (ac_aggr.f_namelen)
18492 return 0;
18494 return 0;
18496 _ACEOF
18497 rm -f conftest.$ac_objext
18498 if { (ac_try="$ac_compile"
18499 case "(($ac_try" in
18500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18501 *) ac_try_echo=$ac_try;;
18502 esac
18503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_compile") 2>conftest.er1
18505 ac_status=$?
18506 grep -v '^ *+' conftest.er1 >conftest.err
18507 rm -f conftest.er1
18508 cat conftest.err >&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } && {
18511 test -z "$ac_c_werror_flag" ||
18512 test ! -s conftest.err
18513 } && test -s conftest.$ac_objext; then
18514 ac_cv_member_struct_statfs_f_namelen=yes
18515 else
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18519 cat >conftest.$ac_ext <<_ACEOF
18520 /* confdefs.h. */
18521 _ACEOF
18522 cat confdefs.h >>conftest.$ac_ext
18523 cat >>conftest.$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 #include <sys/types.h>
18526 #ifdef HAVE_SYS_PARAM_H
18527 # include <sys/param.h>
18528 #endif
18529 #ifdef HAVE_SYS_MOUNT_H
18530 # include <sys/mount.h>
18531 #endif
18532 #ifdef HAVE_SYS_VFS_H
18533 # include <sys/vfs.h>
18534 #endif
18535 #ifdef HAVE_SYS_STATFS_H
18536 # include <sys/statfs.h>
18537 #endif
18540 main ()
18542 static struct statfs ac_aggr;
18543 if (sizeof ac_aggr.f_namelen)
18544 return 0;
18546 return 0;
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (ac_try="$ac_compile"
18551 case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_compile") 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } && {
18563 test -z "$ac_c_werror_flag" ||
18564 test ! -s conftest.err
18565 } && test -s conftest.$ac_objext; then
18566 ac_cv_member_struct_statfs_f_namelen=yes
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 ac_cv_member_struct_statfs_f_namelen=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18580 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18581 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18585 _ACEOF
18591 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18592 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18593 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18594 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 else
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 #ifdef HAVE_SYS_STATVFS_H
18603 #include <sys/statvfs.h>
18604 #endif
18607 main ()
18609 static struct statvfs ac_aggr;
18610 if (ac_aggr.f_blocks)
18611 return 0;
18613 return 0;
18615 _ACEOF
18616 rm -f conftest.$ac_objext
18617 if { (ac_try="$ac_compile"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_compile") 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } && {
18630 test -z "$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 } && test -s conftest.$ac_objext; then
18633 ac_cv_member_struct_statvfs_f_blocks=yes
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 #ifdef HAVE_SYS_STATVFS_H
18645 #include <sys/statvfs.h>
18646 #endif
18649 main ()
18651 static struct statvfs ac_aggr;
18652 if (sizeof ac_aggr.f_blocks)
18653 return 0;
18655 return 0;
18657 _ACEOF
18658 rm -f conftest.$ac_objext
18659 if { (ac_try="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18662 *) ac_try_echo=$ac_try;;
18663 esac
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18666 ac_status=$?
18667 grep -v '^ *+' conftest.er1 >conftest.err
18668 rm -f conftest.er1
18669 cat conftest.err >&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_c_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.$ac_objext; then
18675 ac_cv_member_struct_statvfs_f_blocks=yes
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18680 ac_cv_member_struct_statvfs_f_blocks=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18689 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18690 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18694 _ACEOF
18700 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18701 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18702 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 else
18705 cat >conftest.$ac_ext <<_ACEOF
18706 /* confdefs.h. */
18707 _ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 #include <sys/types.h>
18712 #ifdef HAVE_SYS_SOCKET_H
18713 # include <sys/socket.h>
18714 #endif
18715 #ifdef HAVE_SYS_UN_H
18716 # include <sys/un.h>
18717 #endif
18720 main ()
18722 static struct msghdr ac_aggr;
18723 if (ac_aggr.msg_accrights)
18724 return 0;
18726 return 0;
18728 _ACEOF
18729 rm -f conftest.$ac_objext
18730 if { (ac_try="$ac_compile"
18731 case "(($ac_try" in
18732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18734 esac
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_compile") 2>conftest.er1
18737 ac_status=$?
18738 grep -v '^ *+' conftest.er1 >conftest.err
18739 rm -f conftest.er1
18740 cat conftest.err >&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } && {
18743 test -z "$ac_c_werror_flag" ||
18744 test ! -s conftest.err
18745 } && test -s conftest.$ac_objext; then
18746 ac_cv_member_struct_msghdr_msg_accrights=yes
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 #include <sys/types.h>
18758 #ifdef HAVE_SYS_SOCKET_H
18759 # include <sys/socket.h>
18760 #endif
18761 #ifdef HAVE_SYS_UN_H
18762 # include <sys/un.h>
18763 #endif
18766 main ()
18768 static struct msghdr ac_aggr;
18769 if (sizeof ac_aggr.msg_accrights)
18770 return 0;
18772 return 0;
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (ac_try="$ac_compile"
18777 case "(($ac_try" in
18778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18780 esac
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_compile") 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } && {
18789 test -z "$ac_c_werror_flag" ||
18790 test ! -s conftest.err
18791 } && test -s conftest.$ac_objext; then
18792 ac_cv_member_struct_msghdr_msg_accrights=yes
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 ac_cv_member_struct_msghdr_msg_accrights=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18806 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18807 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18811 _ACEOF
18815 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18816 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18817 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 else
18820 cat >conftest.$ac_ext <<_ACEOF
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 #include <sys/types.h>
18827 #ifdef HAVE_SYS_SOCKET_H
18828 # include <sys/socket.h>
18829 #endif
18830 #ifdef HAVE_SYS_UN_H
18831 # include <sys/un.h>
18832 #endif
18835 main ()
18837 static struct sockaddr ac_aggr;
18838 if (ac_aggr.sa_len)
18839 return 0;
18841 return 0;
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (ac_try="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18849 esac
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.$ac_objext; then
18861 ac_cv_member_struct_sockaddr_sa_len=yes
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <sys/types.h>
18873 #ifdef HAVE_SYS_SOCKET_H
18874 # include <sys/socket.h>
18875 #endif
18876 #ifdef HAVE_SYS_UN_H
18877 # include <sys/un.h>
18878 #endif
18881 main ()
18883 static struct sockaddr ac_aggr;
18884 if (sizeof ac_aggr.sa_len)
18885 return 0;
18887 return 0;
18889 _ACEOF
18890 rm -f conftest.$ac_objext
18891 if { (ac_try="$ac_compile"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18895 esac
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_compile") 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } && {
18904 test -z "$ac_c_werror_flag" ||
18905 test ! -s conftest.err
18906 } && test -s conftest.$ac_objext; then
18907 ac_cv_member_struct_sockaddr_sa_len=yes
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18912 ac_cv_member_struct_sockaddr_sa_len=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18921 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18922 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18926 _ACEOF
18930 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18931 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18932 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 else
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h. */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 #include <sys/types.h>
18942 #ifdef HAVE_SYS_SOCKET_H
18943 # include <sys/socket.h>
18944 #endif
18945 #ifdef HAVE_SYS_UN_H
18946 # include <sys/un.h>
18947 #endif
18950 main ()
18952 static struct sockaddr_un ac_aggr;
18953 if (ac_aggr.sun_len)
18954 return 0;
18956 return 0;
18958 _ACEOF
18959 rm -f conftest.$ac_objext
18960 if { (ac_try="$ac_compile"
18961 case "(($ac_try" in
18962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18963 *) ac_try_echo=$ac_try;;
18964 esac
18965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18966 (eval "$ac_compile") 2>conftest.er1
18967 ac_status=$?
18968 grep -v '^ *+' conftest.er1 >conftest.err
18969 rm -f conftest.er1
18970 cat conftest.err >&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } && {
18973 test -z "$ac_c_werror_flag" ||
18974 test ! -s conftest.err
18975 } && test -s conftest.$ac_objext; then
18976 ac_cv_member_struct_sockaddr_un_sun_len=yes
18977 else
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <sys/types.h>
18988 #ifdef HAVE_SYS_SOCKET_H
18989 # include <sys/socket.h>
18990 #endif
18991 #ifdef HAVE_SYS_UN_H
18992 # include <sys/un.h>
18993 #endif
18996 main ()
18998 static struct sockaddr_un ac_aggr;
18999 if (sizeof ac_aggr.sun_len)
19000 return 0;
19002 return 0;
19004 _ACEOF
19005 rm -f conftest.$ac_objext
19006 if { (ac_try="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19010 esac
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19013 ac_status=$?
19014 grep -v '^ *+' conftest.er1 >conftest.err
19015 rm -f conftest.er1
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_c_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 ac_cv_member_struct_sockaddr_un_sun_len=yes
19023 else
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19027 ac_cv_member_struct_sockaddr_un_sun_len=no
19030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19036 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19037 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19041 _ACEOF
19047 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19048 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19049 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19050 echo $ECHO_N "(cached) $ECHO_C" >&6
19051 else
19052 cat >conftest.$ac_ext <<_ACEOF
19053 /* confdefs.h. */
19054 _ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 #include <sys/types.h>
19059 #ifdef HAVE_SCSI_SG_H
19060 #include <scsi/sg.h>
19061 #endif
19064 main ()
19066 static scsireq_t ac_aggr;
19067 if (ac_aggr.cmd)
19068 return 0;
19070 return 0;
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (ac_try="$ac_compile"
19075 case "(($ac_try" in
19076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19077 *) ac_try_echo=$ac_try;;
19078 esac
19079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19080 (eval "$ac_compile") 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } && {
19087 test -z "$ac_c_werror_flag" ||
19088 test ! -s conftest.err
19089 } && test -s conftest.$ac_objext; then
19090 ac_cv_member_scsireq_t_cmd=yes
19091 else
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.$ac_ext >&5
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #include <sys/types.h>
19102 #ifdef HAVE_SCSI_SG_H
19103 #include <scsi/sg.h>
19104 #endif
19107 main ()
19109 static scsireq_t ac_aggr;
19110 if (sizeof ac_aggr.cmd)
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_scsireq_t_cmd=yes
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 ac_cv_member_scsireq_t_cmd=no
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19147 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19148 if test $ac_cv_member_scsireq_t_cmd = yes; then
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_SCSIREQ_T_CMD 1
19152 _ACEOF
19156 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19157 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19158 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 #include <sys/types.h>
19168 #ifdef HAVE_SCSI_SG_H
19169 #include <scsi/sg.h>
19170 #endif
19173 main ()
19175 static sg_io_hdr_t ac_aggr;
19176 if (ac_aggr.interface_id)
19177 return 0;
19179 return 0;
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (ac_try="$ac_compile"
19184 case "(($ac_try" in
19185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19186 *) ac_try_echo=$ac_try;;
19187 esac
19188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19189 (eval "$ac_compile") 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } && {
19196 test -z "$ac_c_werror_flag" ||
19197 test ! -s conftest.err
19198 } && test -s conftest.$ac_objext; then
19199 ac_cv_member_sg_io_hdr_t_interface_id=yes
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19204 cat >conftest.$ac_ext <<_ACEOF
19205 /* confdefs.h. */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h. */
19210 #include <sys/types.h>
19211 #ifdef HAVE_SCSI_SG_H
19212 #include <scsi/sg.h>
19213 #endif
19216 main ()
19218 static sg_io_hdr_t ac_aggr;
19219 if (sizeof ac_aggr.interface_id)
19220 return 0;
19222 return 0;
19224 _ACEOF
19225 rm -f conftest.$ac_objext
19226 if { (ac_try="$ac_compile"
19227 case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19230 esac
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_compile") 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } && {
19239 test -z "$ac_c_werror_flag" ||
19240 test ! -s conftest.err
19241 } && test -s conftest.$ac_objext; then
19242 ac_cv_member_sg_io_hdr_t_interface_id=yes
19243 else
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19247 ac_cv_member_sg_io_hdr_t_interface_id=no
19250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19255 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19256 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19257 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19261 _ACEOF
19267 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19268 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19269 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 else
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 #include <signal.h>
19281 main ()
19283 static siginfo_t ac_aggr;
19284 if (ac_aggr.si_fd)
19285 return 0;
19287 return 0;
19289 _ACEOF
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19295 esac
19296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19298 ac_status=$?
19299 grep -v '^ *+' conftest.er1 >conftest.err
19300 rm -f conftest.er1
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19307 ac_cv_member_siginfo_t_si_fd=yes
19308 else
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 #include <signal.h>
19321 main ()
19323 static siginfo_t ac_aggr;
19324 if (sizeof ac_aggr.si_fd)
19325 return 0;
19327 return 0;
19329 _ACEOF
19330 rm -f conftest.$ac_objext
19331 if { (ac_try="$ac_compile"
19332 case "(($ac_try" in
19333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19334 *) ac_try_echo=$ac_try;;
19335 esac
19336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19337 (eval "$ac_compile") 2>conftest.er1
19338 ac_status=$?
19339 grep -v '^ *+' conftest.er1 >conftest.err
19340 rm -f conftest.er1
19341 cat conftest.err >&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); } && {
19344 test -z "$ac_c_werror_flag" ||
19345 test ! -s conftest.err
19346 } && test -s conftest.$ac_objext; then
19347 ac_cv_member_siginfo_t_si_fd=yes
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 ac_cv_member_siginfo_t_si_fd=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19361 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19362 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_SIGINFO_T_SI_FD 1
19366 _ACEOF
19372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19373 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19374 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 else
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <sys/types.h>
19384 #ifdef HAVE_SYS_MTIO_H
19385 #include <sys/mtio.h>
19386 #endif
19389 main ()
19391 static struct mtget ac_aggr;
19392 if (ac_aggr.mt_blksiz)
19393 return 0;
19395 return 0;
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 ac_cv_member_struct_mtget_mt_blksiz=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <sys/types.h>
19427 #ifdef HAVE_SYS_MTIO_H
19428 #include <sys/mtio.h>
19429 #endif
19432 main ()
19434 static struct mtget ac_aggr;
19435 if (sizeof ac_aggr.mt_blksiz)
19436 return 0;
19438 return 0;
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_mtget_mt_blksiz=yes
19459 else
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 ac_cv_member_struct_mtget_mt_blksiz=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19473 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19475 cat >>confdefs.h <<_ACEOF
19476 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19477 _ACEOF
19481 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19482 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19483 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_MTIO_H
19494 #include <sys/mtio.h>
19495 #endif
19498 main ()
19500 static struct mtget ac_aggr;
19501 if (ac_aggr.mt_gstat)
19502 return 0;
19504 return 0;
19506 _ACEOF
19507 rm -f conftest.$ac_objext
19508 if { (ac_try="$ac_compile"
19509 case "(($ac_try" in
19510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19511 *) ac_try_echo=$ac_try;;
19512 esac
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19514 (eval "$ac_compile") 2>conftest.er1
19515 ac_status=$?
19516 grep -v '^ *+' conftest.er1 >conftest.err
19517 rm -f conftest.er1
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && {
19521 test -z "$ac_c_werror_flag" ||
19522 test ! -s conftest.err
19523 } && test -s conftest.$ac_objext; then
19524 ac_cv_member_struct_mtget_mt_gstat=yes
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 cat >conftest.$ac_ext <<_ACEOF
19530 /* confdefs.h. */
19531 _ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 #include <sys/types.h>
19536 #ifdef HAVE_SYS_MTIO_H
19537 #include <sys/mtio.h>
19538 #endif
19541 main ()
19543 static struct mtget ac_aggr;
19544 if (sizeof ac_aggr.mt_gstat)
19545 return 0;
19547 return 0;
19549 _ACEOF
19550 rm -f conftest.$ac_objext
19551 if { (ac_try="$ac_compile"
19552 case "(($ac_try" in
19553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19554 *) ac_try_echo=$ac_try;;
19555 esac
19556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19557 (eval "$ac_compile") 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } && {
19564 test -z "$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 } && test -s conftest.$ac_objext; then
19567 ac_cv_member_struct_mtget_mt_gstat=yes
19568 else
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19572 ac_cv_member_struct_mtget_mt_gstat=no
19575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19581 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19582 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19586 _ACEOF
19590 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19591 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19592 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 else
19595 cat >conftest.$ac_ext <<_ACEOF
19596 /* confdefs.h. */
19597 _ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 #include <sys/types.h>
19602 #ifdef HAVE_SYS_MTIO_H
19603 #include <sys/mtio.h>
19604 #endif
19607 main ()
19609 static struct mtget ac_aggr;
19610 if (ac_aggr.mt_blkno)
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_mtget_mt_blkno=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 #include <sys/types.h>
19645 #ifdef HAVE_SYS_MTIO_H
19646 #include <sys/mtio.h>
19647 #endif
19650 main ()
19652 static struct mtget ac_aggr;
19653 if (sizeof ac_aggr.mt_blkno)
19654 return 0;
19656 return 0;
19658 _ACEOF
19659 rm -f conftest.$ac_objext
19660 if { (ac_try="$ac_compile"
19661 case "(($ac_try" in
19662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19663 *) ac_try_echo=$ac_try;;
19664 esac
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_compile") 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } && {
19673 test -z "$ac_c_werror_flag" ||
19674 test ! -s conftest.err
19675 } && test -s conftest.$ac_objext; then
19676 ac_cv_member_struct_mtget_mt_blkno=yes
19677 else
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 ac_cv_member_struct_mtget_mt_blkno=no
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19690 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19691 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19693 cat >>confdefs.h <<_ACEOF
19694 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19695 _ACEOF
19701 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19702 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19703 if test "${ac_cv_member_struct_option_name+set}" = set; then
19704 echo $ECHO_N "(cached) $ECHO_C" >&6
19705 else
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 #ifdef HAVE_GETOPT_H
19713 #include <getopt.h>
19714 #endif
19717 main ()
19719 static struct option ac_aggr;
19720 if (ac_aggr.name)
19721 return 0;
19723 return 0;
19725 _ACEOF
19726 rm -f conftest.$ac_objext
19727 if { (ac_try="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19730 *) ac_try_echo=$ac_try;;
19731 esac
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_c_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.$ac_objext; then
19743 ac_cv_member_struct_option_name=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 #ifdef HAVE_GETOPT_H
19755 #include <getopt.h>
19756 #endif
19759 main ()
19761 static struct option ac_aggr;
19762 if (sizeof ac_aggr.name)
19763 return 0;
19765 return 0;
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (ac_try="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19773 esac
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19776 ac_status=$?
19777 grep -v '^ *+' conftest.er1 >conftest.err
19778 rm -f conftest.er1
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 ac_cv_member_struct_option_name=yes
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_cv_member_struct_option_name=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19799 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19800 if test $ac_cv_member_struct_option_name = yes; then
19802 cat >>confdefs.h <<_ACEOF
19803 #define HAVE_STRUCT_OPTION_NAME 1
19804 _ACEOF
19810 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19811 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19812 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 else
19815 cat >conftest.$ac_ext <<_ACEOF
19816 /* confdefs.h. */
19817 _ACEOF
19818 cat confdefs.h >>conftest.$ac_ext
19819 cat >>conftest.$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 $ac_includes_default
19823 main ()
19825 static struct stat ac_aggr;
19826 if (ac_aggr.st_blocks)
19827 return 0;
19829 return 0;
19831 _ACEOF
19832 rm -f conftest.$ac_objext
19833 if { (ac_try="$ac_compile"
19834 case "(($ac_try" in
19835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19836 *) ac_try_echo=$ac_try;;
19837 esac
19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_compile") 2>conftest.er1
19840 ac_status=$?
19841 grep -v '^ *+' conftest.er1 >conftest.err
19842 rm -f conftest.er1
19843 cat conftest.err >&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } && {
19846 test -z "$ac_c_werror_flag" ||
19847 test ! -s conftest.err
19848 } && test -s conftest.$ac_objext; then
19849 ac_cv_member_struct_stat_st_blocks=yes
19850 else
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 $ac_includes_default
19862 main ()
19864 static struct stat ac_aggr;
19865 if (sizeof ac_aggr.st_blocks)
19866 return 0;
19868 return 0;
19870 _ACEOF
19871 rm -f conftest.$ac_objext
19872 if { (ac_try="$ac_compile"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19876 esac
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_compile") 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && {
19885 test -z "$ac_c_werror_flag" ||
19886 test ! -s conftest.err
19887 } && test -s conftest.$ac_objext; then
19888 ac_cv_member_struct_stat_st_blocks=yes
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19893 ac_cv_member_struct_stat_st_blocks=no
19896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19902 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19903 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19905 cat >>confdefs.h <<_ACEOF
19906 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19907 _ACEOF
19913 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19914 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19915 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 cat >conftest.$ac_ext <<_ACEOF
19919 /* confdefs.h. */
19920 _ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 #ifdef HAVE_SYS_TYPES_H
19925 #include <sys/types.h>
19926 #endif
19927 #ifdef HAVE_NETINET_IN_H
19928 #include <netinet/in.h>
19929 #endif
19932 main ()
19934 static struct sockaddr_in6 ac_aggr;
19935 if (ac_aggr.sin6_scope_id)
19936 return 0;
19938 return 0;
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (ac_try="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19958 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19959 else
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 cat >conftest.$ac_ext <<_ACEOF
19964 /* confdefs.h. */
19965 _ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 #ifdef HAVE_SYS_TYPES_H
19970 #include <sys/types.h>
19971 #endif
19972 #ifdef HAVE_NETINET_IN_H
19973 #include <netinet/in.h>
19974 #endif
19977 main ()
19979 static struct sockaddr_in6 ac_aggr;
19980 if (sizeof ac_aggr.sin6_scope_id)
19981 return 0;
19983 return 0;
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20017 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20018 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20022 _ACEOF
20028 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20029 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #ifdef HAVE_SYS_TYPES_H
20040 #include <sys/types.h>
20041 #endif
20042 #ifdef HAVE_NETINET_IN_H
20043 # include <netinet/in.h>
20044 #endif
20045 #ifdef HAVE_ARPA_NAMESER_H
20046 # include <arpa/nameser.h>
20047 #endif
20050 main ()
20052 static ns_msg ac_aggr;
20053 if (ac_aggr._msg_ptr)
20054 return 0;
20056 return 0;
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.$ac_objext; then
20076 ac_cv_member_ns_msg__msg_ptr=yes
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 #ifdef HAVE_SYS_TYPES_H
20088 #include <sys/types.h>
20089 #endif
20090 #ifdef HAVE_NETINET_IN_H
20091 # include <netinet/in.h>
20092 #endif
20093 #ifdef HAVE_ARPA_NAMESER_H
20094 # include <arpa/nameser.h>
20095 #endif
20098 main ()
20100 static ns_msg ac_aggr;
20101 if (sizeof ac_aggr._msg_ptr)
20102 return 0;
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (ac_try="$ac_compile"
20109 case "(($ac_try" in
20110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20111 *) ac_try_echo=$ac_try;;
20112 esac
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_compile") 2>conftest.er1
20115 ac_status=$?
20116 grep -v '^ *+' conftest.er1 >conftest.err
20117 rm -f conftest.er1
20118 cat conftest.err >&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } && {
20121 test -z "$ac_c_werror_flag" ||
20122 test ! -s conftest.err
20123 } && test -s conftest.$ac_objext; then
20124 ac_cv_member_ns_msg__msg_ptr=yes
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20129 ac_cv_member_ns_msg__msg_ptr=no
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20138 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20139 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20141 cat >>confdefs.h <<_ACEOF
20142 #define HAVE_NS_MSG__MSG_PTR 1
20143 _ACEOF
20149 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20150 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20151 if test "${ac_cv_have_timezone+set}" = set; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 else
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 #include <time.h>
20162 main ()
20164 timezone = 1
20166 return 0;
20168 _ACEOF
20169 rm -f conftest.$ac_objext conftest$ac_exeext
20170 if { (ac_try="$ac_link"
20171 case "(($ac_try" in
20172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20173 *) ac_try_echo=$ac_try;;
20174 esac
20175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20176 (eval "$ac_link") 2>conftest.er1
20177 ac_status=$?
20178 grep -v '^ *+' conftest.er1 >conftest.err
20179 rm -f conftest.er1
20180 cat conftest.err >&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } && {
20183 test -z "$ac_c_werror_flag" ||
20184 test ! -s conftest.err
20185 } && test -s conftest$ac_exeext &&
20186 $as_test_x conftest$ac_exeext; then
20187 ac_cv_have_timezone="yes"
20188 else
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20192 ac_cv_have_timezone="no"
20195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20196 conftest$ac_exeext conftest.$ac_ext
20198 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20199 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20200 if test "$ac_cv_have_timezone" = "yes"
20201 then
20203 cat >>confdefs.h <<\_ACEOF
20204 #define HAVE_TIMEZONE 1
20205 _ACEOF
20208 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20209 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20210 if test "${ac_cv_have_daylight+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 else
20213 cat >conftest.$ac_ext <<_ACEOF
20214 /* confdefs.h. */
20215 _ACEOF
20216 cat confdefs.h >>conftest.$ac_ext
20217 cat >>conftest.$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20219 #include <time.h>
20221 main ()
20223 daylight = 1
20225 return 0;
20227 _ACEOF
20228 rm -f conftest.$ac_objext conftest$ac_exeext
20229 if { (ac_try="$ac_link"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_link") 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest$ac_exeext &&
20245 $as_test_x conftest$ac_exeext; then
20246 ac_cv_have_daylight="yes"
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20251 ac_cv_have_daylight="no"
20254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20255 conftest$ac_exeext conftest.$ac_ext
20257 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20258 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20259 if test "$ac_cv_have_daylight" = "yes"
20260 then
20262 cat >>confdefs.h <<\_ACEOF
20263 #define HAVE_DAYLIGHT 1
20264 _ACEOF
20269 case $host_cpu in
20270 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20271 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20272 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 else
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 #ifndef __i386__
20283 #endif
20284 _ACEOF
20285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20286 $EGREP "yes" >/dev/null 2>&1; then
20287 ac_cv_cpp_def___i386__=yes
20288 else
20289 ac_cv_cpp_def___i386__=no
20291 rm -f conftest*
20294 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20295 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20296 if test $ac_cv_cpp_def___i386__ = yes; then
20297 CFLAGS="$CFLAGS -D__i386__"
20298 LINTFLAGS="$LINTFLAGS -D__i386__"
20301 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20302 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20303 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20304 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 else
20306 cat >conftest.$ac_ext <<_ACEOF
20307 /* confdefs.h. */
20308 _ACEOF
20309 cat confdefs.h >>conftest.$ac_ext
20310 cat >>conftest.$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 #ifndef __x86_64__
20314 #endif
20315 _ACEOF
20316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20317 $EGREP "yes" >/dev/null 2>&1; then
20318 ac_cv_cpp_def___x86_64__=yes
20319 else
20320 ac_cv_cpp_def___x86_64__=no
20322 rm -f conftest*
20325 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20326 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20327 if test $ac_cv_cpp_def___x86_64__ = yes; then
20328 CFLAGS="$CFLAGS -D__x86_64__"
20329 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20332 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20333 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20334 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 else
20337 cat >conftest.$ac_ext <<_ACEOF
20338 /* confdefs.h. */
20339 _ACEOF
20340 cat confdefs.h >>conftest.$ac_ext
20341 cat >>conftest.$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20343 #ifndef __ALPHA__
20345 #endif
20346 _ACEOF
20347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20348 $EGREP "yes" >/dev/null 2>&1; then
20349 ac_cv_cpp_def___ALPHA__=yes
20350 else
20351 ac_cv_cpp_def___ALPHA__=no
20353 rm -f conftest*
20356 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20357 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20358 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20359 CFLAGS="$CFLAGS -D__ALPHA__"
20360 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20363 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20364 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20365 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20366 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 else
20368 cat >conftest.$ac_ext <<_ACEOF
20369 /* confdefs.h. */
20370 _ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 #ifndef __sparc__
20376 #endif
20377 _ACEOF
20378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20379 $EGREP "yes" >/dev/null 2>&1; then
20380 ac_cv_cpp_def___sparc__=yes
20381 else
20382 ac_cv_cpp_def___sparc__=no
20384 rm -f conftest*
20387 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20388 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20389 if test $ac_cv_cpp_def___sparc__ = yes; then
20390 CFLAGS="$CFLAGS -D__sparc__"
20391 LINTFLAGS="$LINTFLAGS -D__sparc__"
20394 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20395 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20396 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 else
20399 cat >conftest.$ac_ext <<_ACEOF
20400 /* confdefs.h. */
20401 _ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 #ifndef __powerpc__
20407 #endif
20408 _ACEOF
20409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20410 $EGREP "yes" >/dev/null 2>&1; then
20411 ac_cv_cpp_def___powerpc__=yes
20412 else
20413 ac_cv_cpp_def___powerpc__=no
20415 rm -f conftest*
20418 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20419 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20420 if test $ac_cv_cpp_def___powerpc__ = yes; then
20421 CFLAGS="$CFLAGS -D__powerpc__"
20422 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20425 esac
20427 case $host_vendor in
20428 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20429 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20430 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20431 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 else
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 #ifndef __sun__
20441 #endif
20442 _ACEOF
20443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20444 $EGREP "yes" >/dev/null 2>&1; then
20445 ac_cv_cpp_def___sun__=yes
20446 else
20447 ac_cv_cpp_def___sun__=no
20449 rm -f conftest*
20452 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20453 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20454 if test $ac_cv_cpp_def___sun__ = yes; then
20455 CFLAGS="$CFLAGS -D__sun__"
20456 LINTFLAGS="$LINTFLAGS -D__sun__"
20459 esac
20462 DEPENDENCIES="### Dependencies:
20464 .INIT: Makefile
20465 .BEGIN: Makefile
20466 Makefile: dummy
20467 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20469 \$(OBJS): \$(IDL_GEN_HEADERS)
20470 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20471 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20472 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20478 ac_config_commands="$ac_config_commands include/stamp-h"
20481 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20483 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20485 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20487 ac_config_commands="$ac_config_commands dlls/user32/resources"
20489 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20491 ac_config_commands="$ac_config_commands include/wine"
20494 MAKE_RULES=Make.rules
20497 MAKE_DLL_RULES=dlls/Makedll.rules
20500 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20503 MAKE_TEST_RULES=dlls/Maketest.rules
20506 MAKE_PROG_RULES=programs/Makeprog.rules
20509 ac_config_files="$ac_config_files Make.rules"
20511 ac_config_files="$ac_config_files dlls/Makedll.rules"
20513 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20515 ac_config_files="$ac_config_files dlls/Maketest.rules"
20517 ac_config_files="$ac_config_files programs/Makeprog.rules"
20519 ac_config_files="$ac_config_files Makefile"
20521 ac_config_files="$ac_config_files dlls/Makefile"
20523 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20525 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20527 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20529 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20531 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20533 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20537 ac_config_files="$ac_config_files dlls/atl/Makefile"
20539 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20541 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20543 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20545 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20547 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20549 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20551 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20553 ac_config_files="$ac_config_files dlls/cards/Makefile"
20555 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20557 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20559 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20561 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20563 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20565 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20569 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20573 ac_config_files="$ac_config_files dlls/credui/Makefile"
20575 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20579 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20581 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20583 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20585 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20587 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20591 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20593 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20595 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20597 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20601 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20605 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20607 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20611 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20615 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20617 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20619 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20621 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20625 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20627 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20629 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20631 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20633 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20635 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20637 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20639 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20641 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20643 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20645 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20647 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20649 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20651 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20653 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20657 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20659 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20661 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20663 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20665 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20667 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20669 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20671 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20673 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20675 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20677 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20679 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20681 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20683 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20685 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20687 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20689 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20693 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20695 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20697 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20699 ac_config_files="$ac_config_files dlls/hal/Makefile"
20701 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20703 ac_config_files="$ac_config_files dlls/hid/Makefile"
20705 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20707 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20711 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20713 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20715 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20717 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20719 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20721 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20723 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20725 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20727 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20729 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20731 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20733 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20735 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20737 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20739 ac_config_files="$ac_config_files dlls/itss/Makefile"
20741 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20745 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20747 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20749 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/localui/Makefile"
20753 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20757 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20761 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20763 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20765 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20767 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20769 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20771 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20773 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20775 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20777 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20779 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20781 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20783 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20785 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20787 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20789 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20791 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20793 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20795 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20797 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20799 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20801 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20803 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20805 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20807 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20809 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20811 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/msi/Makefile"
20815 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20819 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20821 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20823 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20825 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20827 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20829 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20831 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20833 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20835 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20837 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20839 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20841 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20843 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20845 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20847 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20849 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20851 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20853 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20855 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20857 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20859 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20861 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20863 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20865 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20867 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20869 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20871 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20873 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20875 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20877 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20879 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20881 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20883 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20885 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20887 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20889 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20891 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20893 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20895 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20897 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20899 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20901 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20903 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20905 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20907 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20909 ac_config_files="$ac_config_files dlls/printui/Makefile"
20911 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20913 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20915 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20917 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20919 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20921 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20923 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20925 ac_config_files="$ac_config_files dlls/query/Makefile"
20927 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20929 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20931 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20933 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20935 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20937 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20939 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20941 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20943 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20945 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20947 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20949 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20951 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20953 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20955 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20957 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20959 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20961 ac_config_files="$ac_config_files dlls/security/Makefile"
20963 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20965 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20967 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20969 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20971 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20973 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20975 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20977 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20979 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20981 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20983 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20985 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20987 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20989 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20991 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20993 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20995 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20997 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20999 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21001 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21003 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21005 ac_config_files="$ac_config_files dlls/sti/Makefile"
21007 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21009 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21011 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21013 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21015 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21017 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21019 ac_config_files="$ac_config_files dlls/url/Makefile"
21021 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21023 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21025 ac_config_files="$ac_config_files dlls/user32/Makefile"
21027 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21029 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21031 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21033 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21035 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21037 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21039 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21041 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21043 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21045 ac_config_files="$ac_config_files dlls/version/Makefile"
21047 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21049 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21051 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21053 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21055 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21057 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21059 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21061 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21063 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21065 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21067 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21069 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21071 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21073 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21075 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21077 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21079 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21081 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21083 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21085 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21087 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21089 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21091 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21093 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21095 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21097 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21099 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21101 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21103 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21105 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21107 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21109 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21111 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21113 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21115 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21117 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21119 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21121 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21123 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21125 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21127 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21129 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21131 ac_config_files="$ac_config_files documentation/Makefile"
21133 ac_config_files="$ac_config_files fonts/Makefile"
21135 ac_config_files="$ac_config_files include/Makefile"
21137 ac_config_files="$ac_config_files libs/Makefile"
21139 ac_config_files="$ac_config_files libs/port/Makefile"
21141 ac_config_files="$ac_config_files libs/wine/Makefile"
21143 ac_config_files="$ac_config_files libs/wpp/Makefile"
21145 ac_config_files="$ac_config_files loader/Makefile"
21147 ac_config_files="$ac_config_files programs/Makefile"
21149 ac_config_files="$ac_config_files programs/clock/Makefile"
21151 ac_config_files="$ac_config_files programs/cmd/Makefile"
21153 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21155 ac_config_files="$ac_config_files programs/control/Makefile"
21157 ac_config_files="$ac_config_files programs/eject/Makefile"
21159 ac_config_files="$ac_config_files programs/expand/Makefile"
21161 ac_config_files="$ac_config_files programs/explorer/Makefile"
21163 ac_config_files="$ac_config_files programs/hh/Makefile"
21165 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21167 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21169 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21171 ac_config_files="$ac_config_files programs/net/Makefile"
21173 ac_config_files="$ac_config_files programs/notepad/Makefile"
21175 ac_config_files="$ac_config_files programs/oleview/Makefile"
21177 ac_config_files="$ac_config_files programs/progman/Makefile"
21179 ac_config_files="$ac_config_files programs/regedit/Makefile"
21181 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21183 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21185 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21187 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21189 ac_config_files="$ac_config_files programs/start/Makefile"
21191 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21193 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21195 ac_config_files="$ac_config_files programs/view/Makefile"
21197 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21199 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21201 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21203 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21205 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21207 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21209 ac_config_files="$ac_config_files programs/winefile/Makefile"
21211 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21213 ac_config_files="$ac_config_files programs/winemine/Makefile"
21215 ac_config_files="$ac_config_files programs/winepath/Makefile"
21217 ac_config_files="$ac_config_files programs/winetest/Makefile"
21219 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21221 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21223 ac_config_files="$ac_config_files programs/winver/Makefile"
21225 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21227 ac_config_files="$ac_config_files programs/write/Makefile"
21229 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21231 ac_config_files="$ac_config_files server/Makefile"
21233 ac_config_files="$ac_config_files tools/Makefile"
21235 ac_config_files="$ac_config_files tools/widl/Makefile"
21237 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21239 ac_config_files="$ac_config_files tools/winedump/Makefile"
21241 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21243 ac_config_files="$ac_config_files tools/wmc/Makefile"
21245 ac_config_files="$ac_config_files tools/wrc/Makefile"
21248 cat >confcache <<\_ACEOF
21249 # This file is a shell script that caches the results of configure
21250 # tests run on this system so they can be shared between configure
21251 # scripts and configure runs, see configure's option --config-cache.
21252 # It is not useful on other systems. If it contains results you don't
21253 # want to keep, you may remove or edit it.
21255 # config.status only pays attention to the cache file if you give it
21256 # the --recheck option to rerun configure.
21258 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21259 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21260 # following values.
21262 _ACEOF
21264 # The following way of writing the cache mishandles newlines in values,
21265 # but we know of no workaround that is simple, portable, and efficient.
21266 # So, we kill variables containing newlines.
21267 # Ultrix sh set writes to stderr and can't be redirected directly,
21268 # and sets the high bit in the cache file unless we assign to the vars.
21270 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21271 eval ac_val=\$$ac_var
21272 case $ac_val in #(
21273 *${as_nl}*)
21274 case $ac_var in #(
21275 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21276 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21277 esac
21278 case $ac_var in #(
21279 _ | IFS | as_nl) ;; #(
21280 *) $as_unset $ac_var ;;
21281 esac ;;
21282 esac
21283 done
21285 (set) 2>&1 |
21286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21287 *${as_nl}ac_space=\ *)
21288 # `set' does not quote correctly, so add quotes (double-quote
21289 # substitution turns \\\\ into \\, and sed turns \\ into \).
21290 sed -n \
21291 "s/'/'\\\\''/g;
21292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21293 ;; #(
21295 # `set' quotes correctly as required by POSIX, so do not add quotes.
21296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21298 esac |
21299 sort
21301 sed '
21302 /^ac_cv_env_/b end
21303 t clear
21304 :clear
21305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21306 t end
21307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21308 :end' >>confcache
21309 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21310 if test -w "$cache_file"; then
21311 test "x$cache_file" != "x/dev/null" &&
21312 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21313 echo "$as_me: updating cache $cache_file" >&6;}
21314 cat confcache >$cache_file
21315 else
21316 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21317 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21320 rm -f confcache
21322 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21323 # Let make expand exec_prefix.
21324 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21326 DEFS=-DHAVE_CONFIG_H
21328 ac_libobjs=
21329 ac_ltlibobjs=
21330 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21331 # 1. Remove the extension, and $U if already installed.
21332 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21333 ac_i=`echo "$ac_i" | sed "$ac_script"`
21334 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21335 # will be set to the directory where LIBOBJS objects are built.
21336 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21337 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21338 done
21339 LIBOBJS=$ac_libobjs
21341 LTLIBOBJS=$ac_ltlibobjs
21345 : ${CONFIG_STATUS=./config.status}
21346 ac_clean_files_save=$ac_clean_files
21347 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21348 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21349 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21350 cat >$CONFIG_STATUS <<_ACEOF
21351 #! $SHELL
21352 # Generated by $as_me.
21353 # Run this file to recreate the current configuration.
21354 # Compiler output produced by configure, useful for debugging
21355 # configure, is in config.log if it exists.
21357 debug=false
21358 ac_cs_recheck=false
21359 ac_cs_silent=false
21360 SHELL=\${CONFIG_SHELL-$SHELL}
21361 _ACEOF
21363 cat >>$CONFIG_STATUS <<\_ACEOF
21364 ## --------------------- ##
21365 ## M4sh Initialization. ##
21366 ## --------------------- ##
21368 # Be more Bourne compatible
21369 DUALCASE=1; export DUALCASE # for MKS sh
21370 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21371 emulate sh
21372 NULLCMD=:
21373 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21374 # is contrary to our usage. Disable this feature.
21375 alias -g '${1+"$@"}'='"$@"'
21376 setopt NO_GLOB_SUBST
21377 else
21378 case `(set -o) 2>/dev/null` in
21379 *posix*) set -o posix ;;
21380 esac
21387 # PATH needs CR
21388 # Avoid depending upon Character Ranges.
21389 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21390 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21391 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21392 as_cr_digits='0123456789'
21393 as_cr_alnum=$as_cr_Letters$as_cr_digits
21395 # The user is always right.
21396 if test "${PATH_SEPARATOR+set}" != set; then
21397 echo "#! /bin/sh" >conf$$.sh
21398 echo "exit 0" >>conf$$.sh
21399 chmod +x conf$$.sh
21400 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21401 PATH_SEPARATOR=';'
21402 else
21403 PATH_SEPARATOR=:
21405 rm -f conf$$.sh
21408 # Support unset when possible.
21409 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21410 as_unset=unset
21411 else
21412 as_unset=false
21416 # IFS
21417 # We need space, tab and new line, in precisely that order. Quoting is
21418 # there to prevent editors from complaining about space-tab.
21419 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21420 # splitting by setting IFS to empty value.)
21421 as_nl='
21423 IFS=" "" $as_nl"
21425 # Find who we are. Look in the path if we contain no directory separator.
21426 case $0 in
21427 *[\\/]* ) as_myself=$0 ;;
21428 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21429 for as_dir in $PATH
21431 IFS=$as_save_IFS
21432 test -z "$as_dir" && as_dir=.
21433 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21434 done
21435 IFS=$as_save_IFS
21438 esac
21439 # We did not find ourselves, most probably we were run as `sh COMMAND'
21440 # in which case we are not to be found in the path.
21441 if test "x$as_myself" = x; then
21442 as_myself=$0
21444 if test ! -f "$as_myself"; then
21445 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21446 { (exit 1); exit 1; }
21449 # Work around bugs in pre-3.0 UWIN ksh.
21450 for as_var in ENV MAIL MAILPATH
21451 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21452 done
21453 PS1='$ '
21454 PS2='> '
21455 PS4='+ '
21457 # NLS nuisances.
21458 for as_var in \
21459 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21460 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21461 LC_TELEPHONE LC_TIME
21463 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21464 eval $as_var=C; export $as_var
21465 else
21466 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21468 done
21470 # Required to use basename.
21471 if expr a : '\(a\)' >/dev/null 2>&1 &&
21472 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21473 as_expr=expr
21474 else
21475 as_expr=false
21478 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21479 as_basename=basename
21480 else
21481 as_basename=false
21485 # Name of the executable.
21486 as_me=`$as_basename -- "$0" ||
21487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21488 X"$0" : 'X\(//\)$' \| \
21489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21490 echo X/"$0" |
21491 sed '/^.*\/\([^/][^/]*\)\/*$/{
21492 s//\1/
21495 /^X\/\(\/\/\)$/{
21496 s//\1/
21499 /^X\/\(\/\).*/{
21500 s//\1/
21503 s/.*/./; q'`
21505 # CDPATH.
21506 $as_unset CDPATH
21510 as_lineno_1=$LINENO
21511 as_lineno_2=$LINENO
21512 test "x$as_lineno_1" != "x$as_lineno_2" &&
21513 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21515 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21516 # uniformly replaced by the line number. The first 'sed' inserts a
21517 # line-number line after each line using $LINENO; the second 'sed'
21518 # does the real work. The second script uses 'N' to pair each
21519 # line-number line with the line containing $LINENO, and appends
21520 # trailing '-' during substitution so that $LINENO is not a special
21521 # case at line end.
21522 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21523 # scripts with optimization help from Paolo Bonzini. Blame Lee
21524 # E. McMahon (1931-1989) for sed's syntax. :-)
21525 sed -n '
21527 /[$]LINENO/=
21528 ' <$as_myself |
21529 sed '
21530 s/[$]LINENO.*/&-/
21531 t lineno
21533 :lineno
21535 :loop
21536 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21537 t loop
21538 s/-\n.*//
21539 ' >$as_me.lineno &&
21540 chmod +x "$as_me.lineno" ||
21541 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21542 { (exit 1); exit 1; }; }
21544 # Don't try to exec as it changes $[0], causing all sort of problems
21545 # (the dirname of $[0] is not the place where we might find the
21546 # original and so on. Autoconf is especially sensitive to this).
21547 . "./$as_me.lineno"
21548 # Exit status is that of the last command.
21549 exit
21553 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21554 as_dirname=dirname
21555 else
21556 as_dirname=false
21559 ECHO_C= ECHO_N= ECHO_T=
21560 case `echo -n x` in
21561 -n*)
21562 case `echo 'x\c'` in
21563 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21564 *) ECHO_C='\c';;
21565 esac;;
21567 ECHO_N='-n';;
21568 esac
21570 if expr a : '\(a\)' >/dev/null 2>&1 &&
21571 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21572 as_expr=expr
21573 else
21574 as_expr=false
21577 rm -f conf$$ conf$$.exe conf$$.file
21578 if test -d conf$$.dir; then
21579 rm -f conf$$.dir/conf$$.file
21580 else
21581 rm -f conf$$.dir
21582 mkdir conf$$.dir
21584 echo >conf$$.file
21585 if ln -s conf$$.file conf$$ 2>/dev/null; then
21586 as_ln_s='ln -s'
21587 # ... but there are two gotchas:
21588 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21589 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21590 # In both cases, we have to default to `cp -p'.
21591 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21592 as_ln_s='cp -p'
21593 elif ln conf$$.file conf$$ 2>/dev/null; then
21594 as_ln_s=ln
21595 else
21596 as_ln_s='cp -p'
21598 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21599 rmdir conf$$.dir 2>/dev/null
21601 if mkdir -p . 2>/dev/null; then
21602 as_mkdir_p=:
21603 else
21604 test -d ./-p && rmdir ./-p
21605 as_mkdir_p=false
21608 if test -x / >/dev/null 2>&1; then
21609 as_test_x='test -x'
21610 else
21611 if ls -dL / >/dev/null 2>&1; then
21612 as_ls_L_option=L
21613 else
21614 as_ls_L_option=
21616 as_test_x='
21617 eval sh -c '\''
21618 if test -d "$1"; then
21619 test -d "$1/.";
21620 else
21621 case $1 in
21622 -*)set "./$1";;
21623 esac;
21624 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21625 ???[sx]*):;;*)false;;esac;fi
21626 '\'' sh
21629 as_executable_p=$as_test_x
21631 # Sed expression to map a string onto a valid CPP name.
21632 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21634 # Sed expression to map a string onto a valid variable name.
21635 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21638 exec 6>&1
21640 # Save the log message, to keep $[0] and so on meaningful, and to
21641 # report actual input values of CONFIG_FILES etc. instead of their
21642 # values after options handling.
21643 ac_log="
21644 This file was extended by Wine $as_me 0.9.49, which was
21645 generated by GNU Autoconf 2.61. Invocation command line was
21647 CONFIG_FILES = $CONFIG_FILES
21648 CONFIG_HEADERS = $CONFIG_HEADERS
21649 CONFIG_LINKS = $CONFIG_LINKS
21650 CONFIG_COMMANDS = $CONFIG_COMMANDS
21651 $ $0 $@
21653 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21656 _ACEOF
21658 cat >>$CONFIG_STATUS <<_ACEOF
21659 # Files that config.status was made for.
21660 config_files="$ac_config_files"
21661 config_headers="$ac_config_headers"
21662 config_commands="$ac_config_commands"
21664 _ACEOF
21666 cat >>$CONFIG_STATUS <<\_ACEOF
21667 ac_cs_usage="\
21668 \`$as_me' instantiates files from templates according to the
21669 current configuration.
21671 Usage: $0 [OPTIONS] [FILE]...
21673 -h, --help print this help, then exit
21674 -V, --version print version number and configuration settings, then exit
21675 -q, --quiet do not print progress messages
21676 -d, --debug don't remove temporary files
21677 --recheck update $as_me by reconfiguring in the same conditions
21678 --file=FILE[:TEMPLATE]
21679 instantiate the configuration file FILE
21680 --header=FILE[:TEMPLATE]
21681 instantiate the configuration header FILE
21683 Configuration files:
21684 $config_files
21686 Configuration headers:
21687 $config_headers
21689 Configuration commands:
21690 $config_commands
21692 Report bugs to <bug-autoconf@gnu.org>."
21694 _ACEOF
21695 cat >>$CONFIG_STATUS <<_ACEOF
21696 ac_cs_version="\\
21697 Wine config.status 0.9.49
21698 configured by $0, generated by GNU Autoconf 2.61,
21699 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21701 Copyright (C) 2006 Free Software Foundation, Inc.
21702 This config.status script is free software; the Free Software Foundation
21703 gives unlimited permission to copy, distribute and modify it."
21705 ac_pwd='$ac_pwd'
21706 srcdir='$srcdir'
21707 INSTALL='$INSTALL'
21708 _ACEOF
21710 cat >>$CONFIG_STATUS <<\_ACEOF
21711 # If no file are specified by the user, then we need to provide default
21712 # value. By we need to know if files were specified by the user.
21713 ac_need_defaults=:
21714 while test $# != 0
21716 case $1 in
21717 --*=*)
21718 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21719 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21720 ac_shift=:
21723 ac_option=$1
21724 ac_optarg=$2
21725 ac_shift=shift
21727 esac
21729 case $ac_option in
21730 # Handling of the options.
21731 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21732 ac_cs_recheck=: ;;
21733 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21734 echo "$ac_cs_version"; exit ;;
21735 --debug | --debu | --deb | --de | --d | -d )
21736 debug=: ;;
21737 --file | --fil | --fi | --f )
21738 $ac_shift
21739 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21740 ac_need_defaults=false;;
21741 --header | --heade | --head | --hea )
21742 $ac_shift
21743 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21744 ac_need_defaults=false;;
21745 --he | --h)
21746 # Conflict between --help and --header
21747 { echo "$as_me: error: ambiguous option: $1
21748 Try \`$0 --help' for more information." >&2
21749 { (exit 1); exit 1; }; };;
21750 --help | --hel | -h )
21751 echo "$ac_cs_usage"; exit ;;
21752 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21753 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21754 ac_cs_silent=: ;;
21756 # This is an error.
21757 -*) { echo "$as_me: error: unrecognized option: $1
21758 Try \`$0 --help' for more information." >&2
21759 { (exit 1); exit 1; }; } ;;
21761 *) ac_config_targets="$ac_config_targets $1"
21762 ac_need_defaults=false ;;
21764 esac
21765 shift
21766 done
21768 ac_configure_extra_args=
21770 if $ac_cs_silent; then
21771 exec 6>/dev/null
21772 ac_configure_extra_args="$ac_configure_extra_args --silent"
21775 _ACEOF
21776 cat >>$CONFIG_STATUS <<_ACEOF
21777 if \$ac_cs_recheck; then
21778 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21779 CONFIG_SHELL=$SHELL
21780 export CONFIG_SHELL
21781 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21784 _ACEOF
21785 cat >>$CONFIG_STATUS <<\_ACEOF
21786 exec 5>>config.log
21788 echo
21789 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21790 ## Running $as_me. ##
21791 _ASBOX
21792 echo "$ac_log"
21793 } >&5
21795 _ACEOF
21796 cat >>$CONFIG_STATUS <<_ACEOF
21797 _ACEOF
21799 cat >>$CONFIG_STATUS <<\_ACEOF
21801 # Handling of arguments.
21802 for ac_config_target in $ac_config_targets
21804 case $ac_config_target in
21805 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21806 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21807 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21808 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21809 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21810 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21811 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21812 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21813 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21814 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21815 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21816 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21817 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21818 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21819 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21820 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21821 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21822 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21823 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21824 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21825 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21826 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21827 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21828 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21829 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21830 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21831 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21832 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21833 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21834 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21835 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21836 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21837 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21838 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21839 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21840 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21841 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21842 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21843 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21844 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21845 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21846 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21847 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21848 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21849 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21850 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21851 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21852 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21853 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21854 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21855 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21856 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21857 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21858 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21859 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21860 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21861 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21862 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21863 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21864 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21865 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21866 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21867 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21868 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21869 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21870 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21871 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21872 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21873 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21874 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21875 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21876 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21877 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21878 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21879 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21880 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21881 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21882 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21883 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21884 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21885 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21886 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21887 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21888 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21889 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21890 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21891 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21892 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21893 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21894 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21895 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21896 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21897 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21898 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21899 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21900 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21901 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21902 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21903 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21904 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21905 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21906 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21907 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21908 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21909 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21910 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21911 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21912 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21913 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21914 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21915 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21916 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21917 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21918 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21919 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21920 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21921 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21922 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21923 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21924 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21925 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21926 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21927 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21928 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21929 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21930 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21931 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21932 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21933 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21934 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21935 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21936 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21937 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21938 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21939 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21940 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21941 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21942 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21943 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21944 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21945 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21946 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21947 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21948 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21949 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21950 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21951 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21952 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21953 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21954 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21955 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21956 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21957 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21958 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21959 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21960 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21961 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21962 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21963 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21964 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21965 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21966 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21967 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21968 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21969 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21970 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21971 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21972 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21973 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21974 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21975 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21976 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21977 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21978 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21979 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21980 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21981 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21982 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21983 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21984 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21985 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21986 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21987 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21988 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21989 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21990 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21991 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21992 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21993 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21994 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21995 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21996 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21997 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21998 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21999 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22000 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22001 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22002 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22003 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22004 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22005 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22006 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22007 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22008 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22009 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22010 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22011 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22012 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22013 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22014 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22015 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22016 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22017 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22018 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22019 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22020 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22021 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22022 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22023 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22024 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22025 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22026 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22027 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22028 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22029 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22030 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22031 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22032 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22033 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22034 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22035 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22036 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22037 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22038 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22039 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22040 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22041 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22042 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22043 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22044 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22045 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22046 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22047 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22048 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22049 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22050 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22051 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22052 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22053 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22054 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22055 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22056 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22057 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22058 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22059 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22060 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22061 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22062 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22063 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22064 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22065 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22066 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22067 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22068 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22069 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22070 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22071 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22072 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22073 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22074 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22075 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22076 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22077 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22078 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22079 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22080 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22081 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22082 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22083 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22084 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22085 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22086 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22087 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22088 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22089 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22090 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22091 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22092 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22093 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22094 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22095 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22096 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22097 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22098 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22099 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22100 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22101 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22102 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22103 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22104 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22105 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22106 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22107 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22108 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22109 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22110 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22111 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22112 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22113 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22114 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22115 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22116 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22117 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22118 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22119 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22120 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22121 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22122 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22123 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22124 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22125 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22126 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22127 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22128 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22129 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22130 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22131 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22132 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22133 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22134 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22135 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22136 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22137 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22138 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22139 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22140 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22141 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22142 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22143 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22144 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22145 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22146 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22147 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22148 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22149 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22150 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22151 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22152 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22153 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22154 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22155 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22156 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22157 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22158 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22159 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22160 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22161 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22162 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22163 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22164 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22165 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22166 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22167 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22168 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22169 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22170 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22171 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22172 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22173 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22174 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22175 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22176 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22177 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22178 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22179 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22180 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22181 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22183 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22184 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22185 { (exit 1); exit 1; }; };;
22186 esac
22187 done
22190 # If the user did not use the arguments to specify the items to instantiate,
22191 # then the envvar interface is used. Set only those that are not.
22192 # We use the long form for the default assignment because of an extremely
22193 # bizarre bug on SunOS 4.1.3.
22194 if $ac_need_defaults; then
22195 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22196 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22197 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22200 # Have a temporary directory for convenience. Make it in the build tree
22201 # simply because there is no reason against having it here, and in addition,
22202 # creating and moving files from /tmp can sometimes cause problems.
22203 # Hook for its removal unless debugging.
22204 # Note that there is a small window in which the directory will not be cleaned:
22205 # after its creation but before its name has been assigned to `$tmp'.
22206 $debug ||
22208 tmp=
22209 trap 'exit_status=$?
22210 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22212 trap '{ (exit 1); exit 1; }' 1 2 13 15
22214 # Create a (secure) tmp directory for tmp files.
22217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22218 test -n "$tmp" && test -d "$tmp"
22219 } ||
22221 tmp=./conf$$-$RANDOM
22222 (umask 077 && mkdir "$tmp")
22223 } ||
22225 echo "$me: cannot create a temporary directory in ." >&2
22226 { (exit 1); exit 1; }
22230 # Set up the sed scripts for CONFIG_FILES section.
22233 # No need to generate the scripts if there are no CONFIG_FILES.
22234 # This happens for instance when ./config.status config.h
22235 if test -n "$CONFIG_FILES"; then
22237 _ACEOF
22239 # Create sed commands to just substitute file output variables.
22241 # Remaining file output variables are in a fragment that also has non-file
22242 # output varibles.
22246 ac_delim='%!_!# '
22247 for ac_last_try in false false false false false :; do
22248 cat >conf$$subs.sed <<_ACEOF
22249 SHELL!$SHELL$ac_delim
22250 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22251 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22252 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22253 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22254 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22255 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22256 exec_prefix!$exec_prefix$ac_delim
22257 prefix!$prefix$ac_delim
22258 program_transform_name!$program_transform_name$ac_delim
22259 bindir!$bindir$ac_delim
22260 sbindir!$sbindir$ac_delim
22261 libexecdir!$libexecdir$ac_delim
22262 datarootdir!$datarootdir$ac_delim
22263 datadir!$datadir$ac_delim
22264 sysconfdir!$sysconfdir$ac_delim
22265 sharedstatedir!$sharedstatedir$ac_delim
22266 localstatedir!$localstatedir$ac_delim
22267 includedir!$includedir$ac_delim
22268 oldincludedir!$oldincludedir$ac_delim
22269 docdir!$docdir$ac_delim
22270 infodir!$infodir$ac_delim
22271 htmldir!$htmldir$ac_delim
22272 dvidir!$dvidir$ac_delim
22273 pdfdir!$pdfdir$ac_delim
22274 psdir!$psdir$ac_delim
22275 libdir!$libdir$ac_delim
22276 localedir!$localedir$ac_delim
22277 mandir!$mandir$ac_delim
22278 DEFS!$DEFS$ac_delim
22279 ECHO_C!$ECHO_C$ac_delim
22280 ECHO_N!$ECHO_N$ac_delim
22281 ECHO_T!$ECHO_T$ac_delim
22282 LIBS!$LIBS$ac_delim
22283 build_alias!$build_alias$ac_delim
22284 host_alias!$host_alias$ac_delim
22285 target_alias!$target_alias$ac_delim
22286 build!$build$ac_delim
22287 build_cpu!$build_cpu$ac_delim
22288 build_vendor!$build_vendor$ac_delim
22289 build_os!$build_os$ac_delim
22290 host!$host$ac_delim
22291 host_cpu!$host_cpu$ac_delim
22292 host_vendor!$host_vendor$ac_delim
22293 host_os!$host_os$ac_delim
22294 WIN16_FILES!$WIN16_FILES$ac_delim
22295 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22296 SET_MAKE!$SET_MAKE$ac_delim
22297 CC!$CC$ac_delim
22298 CFLAGS!$CFLAGS$ac_delim
22299 LDFLAGS!$LDFLAGS$ac_delim
22300 CPPFLAGS!$CPPFLAGS$ac_delim
22301 ac_ct_CC!$ac_ct_CC$ac_delim
22302 EXEEXT!$EXEEXT$ac_delim
22303 OBJEXT!$OBJEXT$ac_delim
22304 CXX!$CXX$ac_delim
22305 CXXFLAGS!$CXXFLAGS$ac_delim
22306 ac_ct_CXX!$ac_ct_CXX$ac_delim
22307 CPPBIN!$CPPBIN$ac_delim
22308 TOOLSDIR!$TOOLSDIR$ac_delim
22309 XMKMF!$XMKMF$ac_delim
22310 CPP!$CPP$ac_delim
22311 X_CFLAGS!$X_CFLAGS$ac_delim
22312 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22313 X_LIBS!$X_LIBS$ac_delim
22314 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22315 FLEX!$FLEX$ac_delim
22316 BISON!$BISON$ac_delim
22317 AS!$AS$ac_delim
22318 ac_ct_AS!$ac_ct_AS$ac_delim
22319 LD!$LD$ac_delim
22320 AR!$AR$ac_delim
22321 RANLIB!$RANLIB$ac_delim
22322 STRIP!$STRIP$ac_delim
22323 WINDRES!$WINDRES$ac_delim
22324 LN_S!$LN_S$ac_delim
22325 LN!$LN$ac_delim
22326 GREP!$GREP$ac_delim
22327 EGREP!$EGREP$ac_delim
22328 LDCONFIG!$LDCONFIG$ac_delim
22329 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22330 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22331 _ACEOF
22333 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22334 break
22335 elif $ac_last_try; then
22336 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22337 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22338 { (exit 1); exit 1; }; }
22339 else
22340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22342 done
22344 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22345 if test -n "$ac_eof"; then
22346 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22347 ac_eof=`expr $ac_eof + 1`
22350 cat >>$CONFIG_STATUS <<_ACEOF
22351 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22352 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22353 /^[ ]*@MAKE_RULES@[ ]*$/{
22354 r $MAKE_RULES
22357 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22358 r $MAKE_DLL_RULES
22361 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22362 r $MAKE_IMPLIB_RULES
22365 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22366 r $MAKE_TEST_RULES
22369 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22370 r $MAKE_PROG_RULES
22373 _ACEOF
22374 sed '
22375 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22376 s/^/s,@/; s/!/@,|#_!!_#|/
22379 s/'"$ac_delim"'$/,g/; t
22380 s/$/\\/; p
22381 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22382 ' >>$CONFIG_STATUS <conf$$subs.sed
22383 rm -f conf$$subs.sed
22384 cat >>$CONFIG_STATUS <<_ACEOF
22385 CEOF$ac_eof
22386 _ACEOF
22389 ac_delim='%!_!# '
22390 for ac_last_try in false false false false false :; do
22391 cat >conf$$subs.sed <<_ACEOF
22392 INSTALL_DATA!$INSTALL_DATA$ac_delim
22393 LINT!$LINT$ac_delim
22394 LINTFLAGS!$LINTFLAGS$ac_delim
22395 FONTFORGE!$FONTFORGE$ac_delim
22396 PKG_CONFIG!$PKG_CONFIG$ac_delim
22397 PRELINK!$PRELINK$ac_delim
22398 LIBPTHREAD!$LIBPTHREAD$ac_delim
22399 XLIB!$XLIB$ac_delim
22400 XFILES!$XFILES$ac_delim
22401 OPENGLFILES!$OPENGLFILES$ac_delim
22402 GLU32FILES!$GLU32FILES$ac_delim
22403 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22404 QUARTZFILES!$QUARTZFILES$ac_delim
22405 DLLEXT!$DLLEXT$ac_delim
22406 DLLFLAGS!$DLLFLAGS$ac_delim
22407 LDSHARED!$LDSHARED$ac_delim
22408 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22409 LIBEXT!$LIBEXT$ac_delim
22410 IMPLIBEXT!$IMPLIBEXT$ac_delim
22411 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22412 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22413 LDD!$LDD$ac_delim
22414 DLLTOOL!$DLLTOOL$ac_delim
22415 DLLWRAP!$DLLWRAP$ac_delim
22416 MINGWAR!$MINGWAR$ac_delim
22417 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22418 IOKITLIB!$IOKITLIB$ac_delim
22419 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22420 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22421 COREAUDIO!$COREAUDIO$ac_delim
22422 CARBONLIB!$CARBONLIB$ac_delim
22423 CROSSTEST!$CROSSTEST$ac_delim
22424 CROSSCC!$CROSSCC$ac_delim
22425 CROSSWINDRES!$CROSSWINDRES$ac_delim
22426 NASLIBS!$NASLIBS$ac_delim
22427 XML2LIBS!$XML2LIBS$ac_delim
22428 XML2INCL!$XML2INCL$ac_delim
22429 XSLTLIBS!$XSLTLIBS$ac_delim
22430 XSLTINCL!$XSLTINCL$ac_delim
22431 HALINCL!$HALINCL$ac_delim
22432 sane_devel!$sane_devel$ac_delim
22433 SANEINCL!$SANEINCL$ac_delim
22434 gphoto2_devel!$gphoto2_devel$ac_delim
22435 gphoto2port_devel!$gphoto2port_devel$ac_delim
22436 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22437 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22438 RESOLVLIBS!$RESOLVLIBS$ac_delim
22439 LCMSLIBS!$LCMSLIBS$ac_delim
22440 LDAPLIBS!$LDAPLIBS$ac_delim
22441 ft_devel!$ft_devel$ac_delim
22442 FREETYPELIBS!$FREETYPELIBS$ac_delim
22443 FREETYPEINCL!$FREETYPEINCL$ac_delim
22444 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22445 ESDCONFIG!$ESDCONFIG$ac_delim
22446 ESDLIBS!$ESDLIBS$ac_delim
22447 ESDINCL!$ESDINCL$ac_delim
22448 ALSALIBS!$ALSALIBS$ac_delim
22449 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22450 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22451 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22452 BUILTINFLAG!$BUILTINFLAG$ac_delim
22453 LDPATH!$LDPATH$ac_delim
22454 CRTLIBS!$CRTLIBS$ac_delim
22455 SOCKETLIBS!$SOCKETLIBS$ac_delim
22456 MAIN_BINARY!$MAIN_BINARY$ac_delim
22457 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22458 LIBDL!$LIBDL$ac_delim
22459 LIBPOLL!$LIBPOLL$ac_delim
22460 DEPENDENCIES!$DEPENDENCIES$ac_delim
22461 LIBOBJS!$LIBOBJS$ac_delim
22462 LTLIBOBJS!$LTLIBOBJS$ac_delim
22463 _ACEOF
22465 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22466 break
22467 elif $ac_last_try; then
22468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22470 { (exit 1); exit 1; }; }
22471 else
22472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22474 done
22476 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22477 if test -n "$ac_eof"; then
22478 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22479 ac_eof=`expr $ac_eof + 1`
22482 cat >>$CONFIG_STATUS <<_ACEOF
22483 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22485 _ACEOF
22486 sed '
22487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22488 s/^/s,@/; s/!/@,|#_!!_#|/
22491 s/'"$ac_delim"'$/,g/; t
22492 s/$/\\/; p
22493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22494 ' >>$CONFIG_STATUS <conf$$subs.sed
22495 rm -f conf$$subs.sed
22496 cat >>$CONFIG_STATUS <<_ACEOF
22497 :end
22498 s/|#_!!_#|//g
22499 CEOF$ac_eof
22500 _ACEOF
22503 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22504 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22505 # trailing colons and then remove the whole line if VPATH becomes empty
22506 # (actually we leave an empty line to preserve line numbers).
22507 if test "x$srcdir" = x.; then
22508 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22509 s/:*\$(srcdir):*/:/
22510 s/:*\${srcdir}:*/:/
22511 s/:*@srcdir@:*/:/
22512 s/^\([^=]*=[ ]*\):*/\1/
22513 s/:*$//
22514 s/^[^=]*=[ ]*$//
22518 cat >>$CONFIG_STATUS <<\_ACEOF
22519 fi # test -n "$CONFIG_FILES"
22522 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22524 case $ac_tag in
22525 :[FHLC]) ac_mode=$ac_tag; continue;;
22526 esac
22527 case $ac_mode$ac_tag in
22528 :[FHL]*:*);;
22529 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22530 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22531 { (exit 1); exit 1; }; };;
22532 :[FH]-) ac_tag=-:-;;
22533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22534 esac
22535 ac_save_IFS=$IFS
22536 IFS=:
22537 set x $ac_tag
22538 IFS=$ac_save_IFS
22539 shift
22540 ac_file=$1
22541 shift
22543 case $ac_mode in
22544 :L) ac_source=$1;;
22545 :[FH])
22546 ac_file_inputs=
22547 for ac_f
22549 case $ac_f in
22550 -) ac_f="$tmp/stdin";;
22551 *) # Look for the file first in the build tree, then in the source tree
22552 # (if the path is not absolute). The absolute path cannot be DOS-style,
22553 # because $ac_f cannot contain `:'.
22554 test -f "$ac_f" ||
22555 case $ac_f in
22556 [\\/$]*) false;;
22557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22558 esac ||
22559 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22560 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22561 { (exit 1); exit 1; }; };;
22562 esac
22563 ac_file_inputs="$ac_file_inputs $ac_f"
22564 done
22566 # Let's still pretend it is `configure' which instantiates (i.e., don't
22567 # use $as_me), people would be surprised to read:
22568 # /* config.h. Generated by config.status. */
22569 configure_input="Generated from "`IFS=:
22570 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22571 if test x"$ac_file" != x-; then
22572 configure_input="$ac_file. $configure_input"
22573 { echo "$as_me:$LINENO: creating $ac_file" >&5
22574 echo "$as_me: creating $ac_file" >&6;}
22577 case $ac_tag in
22578 *:-:* | *:-) cat >"$tmp/stdin";;
22579 esac
22581 esac
22583 ac_dir=`$as_dirname -- "$ac_file" ||
22584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22585 X"$ac_file" : 'X\(//\)[^/]' \| \
22586 X"$ac_file" : 'X\(//\)$' \| \
22587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22588 echo X"$ac_file" |
22589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22590 s//\1/
22593 /^X\(\/\/\)[^/].*/{
22594 s//\1/
22597 /^X\(\/\/\)$/{
22598 s//\1/
22601 /^X\(\/\).*/{
22602 s//\1/
22605 s/.*/./; q'`
22606 { as_dir="$ac_dir"
22607 case $as_dir in #(
22608 -*) as_dir=./$as_dir;;
22609 esac
22610 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22611 as_dirs=
22612 while :; do
22613 case $as_dir in #(
22614 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22615 *) as_qdir=$as_dir;;
22616 esac
22617 as_dirs="'$as_qdir' $as_dirs"
22618 as_dir=`$as_dirname -- "$as_dir" ||
22619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22620 X"$as_dir" : 'X\(//\)[^/]' \| \
22621 X"$as_dir" : 'X\(//\)$' \| \
22622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22623 echo X"$as_dir" |
22624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22625 s//\1/
22628 /^X\(\/\/\)[^/].*/{
22629 s//\1/
22632 /^X\(\/\/\)$/{
22633 s//\1/
22636 /^X\(\/\).*/{
22637 s//\1/
22640 s/.*/./; q'`
22641 test -d "$as_dir" && break
22642 done
22643 test -z "$as_dirs" || eval "mkdir $as_dirs"
22644 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22646 { (exit 1); exit 1; }; }; }
22647 ac_builddir=.
22649 case "$ac_dir" in
22650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22652 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22653 # A ".." for each directory in $ac_dir_suffix.
22654 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22655 case $ac_top_builddir_sub in
22656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22658 esac ;;
22659 esac
22660 ac_abs_top_builddir=$ac_pwd
22661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22662 # for backward compatibility:
22663 ac_top_builddir=$ac_top_build_prefix
22665 case $srcdir in
22666 .) # We are building in place.
22667 ac_srcdir=.
22668 ac_top_srcdir=$ac_top_builddir_sub
22669 ac_abs_top_srcdir=$ac_pwd ;;
22670 [\\/]* | ?:[\\/]* ) # Absolute name.
22671 ac_srcdir=$srcdir$ac_dir_suffix;
22672 ac_top_srcdir=$srcdir
22673 ac_abs_top_srcdir=$srcdir ;;
22674 *) # Relative name.
22675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22676 ac_top_srcdir=$ac_top_build_prefix$srcdir
22677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22678 esac
22679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22682 case $ac_mode in
22685 # CONFIG_FILE
22688 case $INSTALL in
22689 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22690 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22691 esac
22692 _ACEOF
22694 cat >>$CONFIG_STATUS <<\_ACEOF
22695 # If the template does not know about datarootdir, expand it.
22696 # FIXME: This hack should be removed a few years after 2.60.
22697 ac_datarootdir_hack=; ac_datarootdir_seen=
22699 case `sed -n '/datarootdir/ {
22703 /@datadir@/p
22704 /@docdir@/p
22705 /@infodir@/p
22706 /@localedir@/p
22707 /@mandir@/p
22708 ' $ac_file_inputs` in
22709 *datarootdir*) ac_datarootdir_seen=yes;;
22710 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22711 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22712 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22713 _ACEOF
22714 cat >>$CONFIG_STATUS <<_ACEOF
22715 ac_datarootdir_hack='
22716 s&@datadir@&$datadir&g
22717 s&@docdir@&$docdir&g
22718 s&@infodir@&$infodir&g
22719 s&@localedir@&$localedir&g
22720 s&@mandir@&$mandir&g
22721 s&\\\${datarootdir}&$datarootdir&g' ;;
22722 esac
22723 _ACEOF
22725 # Neutralize VPATH when `$srcdir' = `.'.
22726 # Shell code in configure.ac might set extrasub.
22727 # FIXME: do we really want to maintain this feature?
22728 cat >>$CONFIG_STATUS <<_ACEOF
22729 sed "$ac_vpsub
22730 $extrasub
22731 _ACEOF
22732 cat >>$CONFIG_STATUS <<\_ACEOF
22734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22735 s&@configure_input@&$configure_input&;t t
22736 s&@top_builddir@&$ac_top_builddir_sub&;t t
22737 s&@srcdir@&$ac_srcdir&;t t
22738 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22739 s&@top_srcdir@&$ac_top_srcdir&;t t
22740 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22741 s&@builddir@&$ac_builddir&;t t
22742 s&@abs_builddir@&$ac_abs_builddir&;t t
22743 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22744 s&@INSTALL@&$ac_INSTALL&;t t
22745 $ac_datarootdir_hack
22746 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22748 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22749 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22750 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22751 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22752 which seems to be undefined. Please make sure it is defined." >&5
22753 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22754 which seems to be undefined. Please make sure it is defined." >&2;}
22756 rm -f "$tmp/stdin"
22757 case $ac_file in
22758 -) cat "$tmp/out"; rm -f "$tmp/out";;
22759 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22760 esac
22764 # CONFIG_HEADER
22766 _ACEOF
22768 # Transform confdefs.h into a sed script `conftest.defines', that
22769 # substitutes the proper values into config.h.in to produce config.h.
22770 rm -f conftest.defines conftest.tail
22771 # First, append a space to every undef/define line, to ease matching.
22772 echo 's/$/ /' >conftest.defines
22773 # Then, protect against being on the right side of a sed subst, or in
22774 # an unquoted here document, in config.status. If some macros were
22775 # called several times there might be several #defines for the same
22776 # symbol, which is useless. But do not sort them, since the last
22777 # AC_DEFINE must be honored.
22778 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22779 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22780 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22781 # PARAMS is the parameter list in the macro definition--in most cases, it's
22782 # just an empty string.
22783 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22784 ac_dB='\\)[ (].*,\\1define\\2'
22785 ac_dC=' '
22786 ac_dD=' ,'
22788 uniq confdefs.h |
22789 sed -n '
22790 t rset
22791 :rset
22792 s/^[ ]*#[ ]*define[ ][ ]*//
22793 t ok
22796 s/[\\&,]/\\&/g
22797 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22798 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22799 ' >>conftest.defines
22801 # Remove the space that was appended to ease matching.
22802 # Then replace #undef with comments. This is necessary, for
22803 # example, in the case of _POSIX_SOURCE, which is predefined and required
22804 # on some systems where configure will not decide to define it.
22805 # (The regexp can be short, since the line contains either #define or #undef.)
22806 echo 's/ $//
22807 s,^[ #]*u.*,/* & */,' >>conftest.defines
22809 # Break up conftest.defines:
22810 ac_max_sed_lines=50
22812 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22813 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22814 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22815 # et cetera.
22816 ac_in='$ac_file_inputs'
22817 ac_out='"$tmp/out1"'
22818 ac_nxt='"$tmp/out2"'
22820 while :
22822 # Write a here document:
22823 cat >>$CONFIG_STATUS <<_ACEOF
22824 # First, check the format of the line:
22825 cat >"\$tmp/defines.sed" <<\\CEOF
22826 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22827 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22829 :def
22830 _ACEOF
22831 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22832 echo 'CEOF
22833 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22834 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22835 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22836 grep . conftest.tail >/dev/null || break
22837 rm -f conftest.defines
22838 mv conftest.tail conftest.defines
22839 done
22840 rm -f conftest.defines conftest.tail
22842 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22843 cat >>$CONFIG_STATUS <<\_ACEOF
22844 if test x"$ac_file" != x-; then
22845 echo "/* $configure_input */" >"$tmp/config.h"
22846 cat "$ac_result" >>"$tmp/config.h"
22847 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22848 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22849 echo "$as_me: $ac_file is unchanged" >&6;}
22850 else
22851 rm -f $ac_file
22852 mv "$tmp/config.h" $ac_file
22854 else
22855 echo "/* $configure_input */"
22856 cat "$ac_result"
22858 rm -f "$tmp/out12"
22861 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22862 echo "$as_me: executing $ac_file commands" >&6;}
22864 esac
22867 case $ac_file$ac_mode in
22868 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22869 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22870 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22871 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22872 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22873 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22874 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22875 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22876 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22877 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22878 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22879 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22880 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22882 esac
22883 done # for ac_tag
22886 { (exit 0); exit 0; }
22887 _ACEOF
22888 chmod +x $CONFIG_STATUS
22889 ac_clean_files=$ac_clean_files_save
22892 # configure is writing to config.log, and then calls config.status.
22893 # config.status does its own redirection, appending to config.log.
22894 # Unfortunately, on DOS this fails, as config.log is still kept open
22895 # by configure, so config.status won't be able to write to it; its
22896 # output is simply discarded. So we exec the FD to /dev/null,
22897 # effectively closing config.log, so it can be properly (re)opened and
22898 # appended to by config.status. When coming back to configure, we
22899 # need to make the FD available again.
22900 if test "$no_create" != yes; then
22901 ac_cs_success=:
22902 ac_config_status_args=
22903 test "$silent" = yes &&
22904 ac_config_status_args="$ac_config_status_args --quiet"
22905 exec 5>/dev/null
22906 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22907 exec 5>>config.log
22908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22909 # would make configure fail if this is the last instruction.
22910 $ac_cs_success || { (exit 1); exit 1; }
22914 if test "$no_create" = "yes"
22915 then
22916 exit 0
22919 ac_save_IFS="$IFS"
22920 IFS="|"
22921 if test "$verbose" = "yes"; then
22922 for msg in $wine_notices; do
22923 if test -n "$msg"; then
22924 echo >&2
22925 { echo "$as_me:$LINENO: $msg" >&5
22926 echo "$as_me: $msg" >&6;}
22928 done
22930 for msg in $wine_warnings; do
22931 if test -n "$msg"; then
22932 echo >&2
22933 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22934 echo "$as_me: WARNING: $msg" >&2;}
22936 done
22937 IFS="$ac_save_IFS"
22939 echo
22940 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22941 echo