push 0c258732cb75565633c2f709ca58b227c9f8ae60
[wine/hacks.git] / configure
blob446d1631827e20e67a3284c746dae4d97c66bc85
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.42.
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.42'
578 PACKAGE_STRING='Wine 0.9.42'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 COREFOUNDATIONLIB
728 IOKITLIB
729 LDEXECFLAGS
730 DISKARBITRATIONLIB
731 COREAUDIO
732 CARBONLIB
733 CROSSTEST
734 CROSSCC
735 CROSSWINDRES
736 NASLIBS
737 XML2LIBS
738 XML2INCL
739 XSLTLIBS
740 XSLTINCL
741 HALINCL
742 sane_devel
743 SANEINCL
744 gphoto2_devel
745 gphoto2port_devel
746 GPHOTO2LIBS
747 GPHOTO2INCL
748 ICULIBS
749 RESOLVLIBS
750 LCMSLIBS
751 LDAPLIBS
752 ft_devel
753 FREETYPELIBS
754 FREETYPEINCL
755 FONTSSUBDIRS
756 ESDCONFIG
757 ESDLIBS
758 ESDINCL
759 ALSALIBS
760 AUDIOIOLIBS
761 EXTRACFLAGS
762 BUILTINFLAG
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
768 LIBDL
769 LIBPOLL
770 DEPENDENCIES
771 LIBOBJS
772 LTLIBOBJS'
773 ac_subst_files='MAKE_RULES
774 MAKE_DLL_RULES
775 MAKE_IMPLIB_RULES
776 MAKE_TEST_RULES
777 MAKE_PROG_RULES'
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS
787 CXXFLAGS
789 XMKMF
790 CPP'
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
846 ac_prev=
847 continue
850 case $ac_option in
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 docdir=$ac_optarg ;;
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 ac_prev=dvidir ;;
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 dvidir=$ac_optarg ;;
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 ac_prev=sbindir ;;
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 | --sbi=* | --sb=*)
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1073 | --sha | --sh)
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 | --sha=* | --sh=*)
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1082 ac_prev=site ;;
1083 -site=* | --site=* | --sit=*)
1084 site=$ac_optarg ;;
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 ac_prev=srcdir ;;
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 verbose=yes ;;
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1109 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1150 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1189 done
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1194 build=$build_alias
1195 host=$host_alias
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes
1209 ac_tool_prefix=
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 echo X"$0" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1243 /^X\(\/\/\)$/{
1244 s//\1/
1247 /^X\(\/\).*/{
1248 s//\1/
1251 s/.*/./; q'`
1252 srcdir=$ac_confdir
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 srcdir=..
1256 else
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1268 pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 srcdir=.
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1292 cat <<_ACEOF
1293 \`configure' configures Wine 0.9.42 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1302 Configuration:
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1346 _ACEOF
1348 cat <<\_ACEOF
1350 X features:
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 _ACEOF
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.42:";;
1363 esac
1364 cat <<\_ACEOF
1366 Optional Features:
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1371 binaries)
1372 --disable-tests do not build the testsuites
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.42
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.42, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 ac_build_alias=$build_alias
1902 test "x$ac_build_alias" = x &&
1903 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x &&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1917 *-*-*) ;;
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1921 esac
1922 build=$ac_cv_build
1923 ac_save_IFS=$IFS; IFS='-'
1924 set x $ac_cv_build
1925 shift
1926 build_cpu=$1
1927 build_vendor=$2
1928 shift; shift
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1931 build_os=$*
1932 IFS=$ac_save_IFS
1933 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test "x$host_alias" = x; then
1942 ac_cv_host=$ac_cv_build
1943 else
1944 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 case $ac_cv_host in
1954 *-*-*) ;;
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1958 esac
1959 host=$ac_cv_host
1960 ac_save_IFS=$IFS; IFS='-'
1961 set x $ac_cv_host
1962 shift
1963 host_cpu=$1
1964 host_vendor=$2
1965 shift; shift
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1968 host_os=$*
1969 IFS=$ac_save_IFS
1970 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 case $host in
1974 x86_64*linux*)
1975 if test "x$enable_win64" != "xyes"
1976 then
1977 test -n "$CC" || CC="gcc -m32"
1978 test -n "$CXX"|| CXX="g++ -m32"
1979 test -n "$LD" || LD="ld -m elf_i386"
1980 test -n "$AS" || AS="as --32"
1981 host_cpu="i386"
1984 esac
1986 case $host_cpu in
1987 *i[3456789]86*)
1988 if test "x$enable_win16" != "xno"
1989 then
1990 enable_win16="yes"
1993 esac
1995 WIN16_FILES="\$(WIN16_FILES)"
1997 WIN16_INSTALL="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2000 then
2001 WIN16_FILES=""
2002 WIN16_INSTALL=""
2005 if test "x$enable_tests" == "xno"
2006 then
2007 TESTSUBDIRS=""
2009 WINETEST=""
2011 else
2012 TESTSUBDIRS="\$(TESTSUBDIRS)"
2014 WINETEST="winetest"
2018 case "$srcdir" in
2019 .) ;;
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2026 fi ;;
2027 esac
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 cat >conftest.make <<\_ACEOF
2037 SHELL = /bin/sh
2038 all:
2039 @echo '@@@%%%=$(MAKE)=@@@%%%'
2040 _ACEOF
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 *@@@%%%=?*=@@@%%%*)
2044 eval ac_cv_prog_make_${ac_make}_set=yes;;
2046 eval ac_cv_prog_make_${ac_make}_set=no;;
2047 esac
2048 rm -f conftest.make
2050 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2053 SET_MAKE=
2054 else
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE="MAKE=${MAKE-make}"
2060 ac_ext=c
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2087 done
2088 done
2089 IFS=$as_save_IFS
2093 CC=$ac_cv_prog_CC
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2097 else
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2105 ac_ct_CC=$CC
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2127 done
2128 done
2129 IFS=$as_save_IFS
2133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 else
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x; then
2143 CC=""
2144 else
2145 case $cross_compiling:$ac_tool_warned in
2146 yes:)
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned=yes ;;
2154 esac
2155 CC=$ac_ct_CC
2157 else
2158 CC="$ac_cv_prog_CC"
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}cc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2184 done
2185 done
2186 IFS=$as_save_IFS
2190 CC=$ac_cv_prog_CC
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2194 else
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 else
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 else
2213 ac_prog_rejected=no
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH
2217 IFS=$as_save_IFS
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected=yes
2223 continue
2225 ac_cv_prog_CC="cc"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2229 done
2230 done
2231 IFS=$as_save_IFS
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy $ac_cv_prog_CC
2236 shift
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2241 shift
2242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2247 CC=$ac_cv_prog_CC
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2251 else
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 else
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2271 else
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2275 IFS=$as_save_IFS
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 break 2
2283 done
2284 done
2285 IFS=$as_save_IFS
2289 CC=$ac_cv_prog_CC
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2293 else
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2300 done
2302 if test -z "$CC"; then
2303 ac_ct_CC=$CC
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy $ac_prog; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2315 else
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 break 2
2327 done
2328 done
2329 IFS=$as_save_IFS
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2344 done
2346 if test "x$ac_ct_CC" = x; then
2347 CC=""
2348 else
2349 case $cross_compiling:$ac_tool_warned in
2350 yes:)
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned=yes ;;
2358 esac
2359 CC=$ac_ct_CC
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (ac_try="$ac_compiler --version >&5"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2386 case "(($ac_try" in
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2389 esac
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2392 ac_status=$?
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try="$ac_compiler -V >&5"
2396 case "(($ac_try" in
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2399 esac
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2402 ac_status=$?
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2407 /* confdefs.h. */
2408 _ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2414 main ()
2418 return 0;
2420 _ACEOF
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2425 # of exeext.
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2438 ac_rmfiles=
2439 for ac_file in $ac_files
2441 case $ac_file in
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2444 esac
2445 done
2446 rm -f $ac_rmfiles
2448 if { (ac_try="$ac_link_default"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2462 # Autoconf.
2463 for ac_file in $ac_files ''
2465 test -f "$ac_file" || continue
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2469 [ab].out )
2470 # We found the default executable, but exeext='' is most
2471 # certainly right.
2472 break;;
2473 *.* )
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2475 then :; else
2476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2482 # actually working.
2483 break;;
2485 break;;
2486 esac
2487 done
2488 test "$ac_cv_exeext" = no && ac_cv_exeext=
2490 else
2491 ac_file=''
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2526 cross_compiling=no
2527 else
2528 if test "$cross_compiling" = maybe; then
2529 cross_compiling=yes
2530 else
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe'), while it won't with
2568 # `rm'.
2569 for ac_file in conftest.exe conftest conftest.*; do
2570 test -f "$ac_file" || continue
2571 case $ac_file in
2572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2574 break;;
2575 * ) break;;
2576 esac
2577 done
2578 else
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.$ac_ext
2591 EXEEXT=$ac_cv_exeext
2592 ac_exeext=$EXEEXT
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598 cat >conftest.$ac_ext <<_ACEOF
2599 /* confdefs.h. */
2600 _ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2606 main ()
2610 return 0;
2612 _ACEOF
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try="$ac_compile"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2629 break;;
2630 esac
2631 done
2632 else
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2648 ac_objext=$OBJEXT
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2664 #ifndef __GNUC__
2665 choke me
2666 #endif
2669 return 0;
2671 _ACEOF
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2680 ac_status=$?
2681 grep -v '^ *+' conftest.er1 >conftest.err
2682 rm -f conftest.er1
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2689 ac_compiler_gnu=yes
2690 else
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_compiler_gnu=no
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2713 ac_cv_prog_cc_g=no
2714 CFLAGS="-g"
2715 cat >conftest.$ac_ext <<_ACEOF
2716 /* confdefs.h. */
2717 _ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2723 main ()
2727 return 0;
2729 _ACEOF
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2732 case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735 esac
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2738 ac_status=$?
2739 grep -v '^ *+' conftest.er1 >conftest.err
2740 rm -f conftest.er1
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2747 ac_cv_prog_cc_g=yes
2748 else
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 CFLAGS=""
2753 cat >conftest.$ac_ext <<_ACEOF
2754 /* confdefs.h. */
2755 _ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2761 main ()
2765 return 0;
2767 _ACEOF
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2776 ac_status=$?
2777 grep -v '^ *+' conftest.er1 >conftest.err
2778 rm -f conftest.er1
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2786 else
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2791 CFLAGS="-g"
2792 cat >conftest.$ac_ext <<_ACEOF
2793 /* confdefs.h. */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2800 main ()
2804 return 0;
2806 _ACEOF
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2815 ac_status=$?
2816 grep -v '^ *+' conftest.er1 >conftest.err
2817 rm -f conftest.er1
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2824 ac_cv_prog_cc_g=yes
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2847 CFLAGS="-g -O2"
2848 else
2849 CFLAGS="-g"
2851 else
2852 if test "$GCC" = yes; then
2853 CFLAGS="-O2"
2854 else
2855 CFLAGS=
2858 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2859 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 else
2863 ac_cv_prog_cc_c89=no
2864 ac_save_CC=$CC
2865 cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2871 #include <stdarg.h>
2872 #include <stdio.h>
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2879 char **p;
2880 int i;
2882 return p[i];
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2886 char *s;
2887 va_list v;
2888 va_start (v,p);
2889 s = g (p, va_arg (v,int));
2890 va_end (v);
2891 return s;
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2905 #define FOO(x) 'x'
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912 int argc;
2913 char **argv;
2915 main ()
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2919 return 0;
2921 _ACEOF
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2934 ac_status=$?
2935 grep -v '^ *+' conftest.er1 >conftest.err
2936 rm -f conftest.er1
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2944 else
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x$ac_cv_prog_cc_c89" != "xno" && break
2953 done
2954 rm -f conftest.$ac_ext
2955 CC=$ac_save_CC
2958 # AC_CACHE_VAL
2959 case "x$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6; } ;;
2963 xno)
2964 { echo "$as_me:$LINENO: result: unsupported" >&5
2965 echo "${ECHO_T}unsupported" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2970 esac
2973 ac_ext=c
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_ext=cpp
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2986 CXX=$CCC
2987 else
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 else
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 CXX=$ac_cv_prog_CXX
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3022 else
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3028 test -n "$CXX" && break
3029 done
3031 if test -z "$CXX"; then
3032 ac_ct_CXX=$CXX
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 else
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 else
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 break 2
3056 done
3057 done
3058 IFS=$as_save_IFS
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 else
3067 { echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6; }
3072 test -n "$ac_ct_CXX" && break
3073 done
3075 if test "x$ac_ct_CXX" = x; then
3076 CXX="g++"
3077 else
3078 case $cross_compiling:$ac_tool_warned in
3079 yes:)
3080 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3081 whose name does not start with the host triplet. If you think this
3082 configuration is useful to you, please write to autoconf@gnu.org." >&5
3083 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3084 whose name does not start with the host triplet. If you think this
3085 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3086 ac_tool_warned=yes ;;
3087 esac
3088 CXX=$ac_ct_CXX
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3141 main ()
3143 #ifndef __GNUC__
3144 choke me
3145 #endif
3148 return 0;
3150 _ACEOF
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3153 case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3156 esac
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3159 ac_status=$?
3160 grep -v '^ *+' conftest.er1 >conftest.err
3161 rm -f conftest.er1
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3168 ac_compiler_gnu=yes
3169 else
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_compiler_gnu=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3186 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3192 ac_cv_prog_cxx_g=no
3193 CXXFLAGS="-g"
3194 cat >conftest.$ac_ext <<_ACEOF
3195 /* confdefs.h. */
3196 _ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3202 main ()
3206 return 0;
3208 _ACEOF
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3211 case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3214 esac
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3227 else
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 CXXFLAGS=""
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3240 main ()
3244 return 0;
3246 _ACEOF
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3249 case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3252 esac
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 CXXFLAGS="-g"
3271 cat >conftest.$ac_ext <<_ACEOF
3272 /* confdefs.h. */
3273 _ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3279 main ()
3283 return 0;
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3288 case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3304 else
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3326 CXXFLAGS="-g -O2"
3327 else
3328 CXXFLAGS="-g"
3330 else
3331 if test "$GXX" = yes; then
3332 CXXFLAGS="-O2"
3333 else
3334 CXXFLAGS=
3337 ac_ext=c
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 else
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3375 else
3376 { echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 else
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 else
3416 { echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6; }
3420 if test "x$ac_ct_CPPBIN" = x; then
3421 CPPBIN="cpp"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3426 whose name does not start with the host triplet. If you think this
3427 configuration is useful to you, please write to autoconf@gnu.org." >&5
3428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3429 whose name does not start with the host triplet. If you think this
3430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3431 ac_tool_warned=yes ;;
3432 esac
3433 CPPBIN=$ac_ct_CPPBIN
3435 else
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3441 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3448 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3449 { (exit 1); exit 1; }; }
3450 else
3451 wine_cv_toolsdir="\$(TOPOBJDIR)"
3453 elif test -d "$with_wine_tools/tools/winebuild"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3457 esac
3458 else
3459 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3460 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3479 CPP=
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 else
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3488 ac_preproc_ok=false
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #ifdef __STDC__
3504 # include <limits.h>
3505 #else
3506 # include <assert.h>
3507 #endif
3508 Syntax error
3509 _ACEOF
3510 if { (ac_try="$ac_cpp conftest.$ac_ext"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3517 ac_status=$?
3518 grep -v '^ *+' conftest.er1 >conftest.err
3519 rm -f conftest.er1
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3525 }; then
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3532 continue
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h. */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3546 _ACEOF
3547 if { (ac_try="$ac_cpp conftest.$ac_ext"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 }; then
3563 # Broken: success on invalid input.
3564 continue
3565 else
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3570 ac_preproc_ok=:
3571 break
3574 rm -f conftest.err conftest.$ac_ext
3576 done
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3580 break
3583 done
3584 ac_cv_prog_CPP=$CPP
3587 CPP=$ac_cv_prog_CPP
3588 else
3589 ac_cv_prog_CPP=$CPP
3591 { echo "$as_me:$LINENO: result: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3593 ac_preproc_ok=false
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3603 /* confdefs.h. */
3604 _ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3608 #ifdef __STDC__
3609 # include <limits.h>
3610 #else
3611 # include <assert.h>
3612 #endif
3613 Syntax error
3614 _ACEOF
3615 if { (ac_try="$ac_cpp conftest.$ac_ext"
3616 case "(($ac_try" in
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3619 esac
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3622 ac_status=$?
3623 grep -v '^ *+' conftest.er1 >conftest.err
3624 rm -f conftest.er1
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 }; then
3632 else
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3637 continue
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3645 /* confdefs.h. */
3646 _ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3651 _ACEOF
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3653 case "(($ac_try" in
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3656 esac
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3659 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3667 }; then
3668 # Broken: success on invalid input.
3669 continue
3670 else
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3675 ac_preproc_ok=:
3676 break
3679 rm -f conftest.err conftest.$ac_ext
3681 done
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3686 else
3687 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3688 See \`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3694 ac_ext=c
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3707 withval=$with_x;
3710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3713 have_x=disabled
3714 else
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3726 cd conftest.dir
3727 cat >Imakefile <<'_ACEOF'
3728 incroot:
3729 @echo incroot='${INCROOT}'
3730 usrlibdir:
3731 @echo usrlibdir='${USRLIBDIR}'
3732 libdir:
3733 @echo libdir='${LIBDIR}'
3734 _ACEOF
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3739 done
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3746 done
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 esac
3754 case $ac_im_usrlibdir in
3755 /usr/lib | /lib) ;;
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3757 esac
3759 cd ..
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3765 ac_x_header_dirs='
3766 /usr/X11/include
3767 /usr/X11R6/include
3768 /usr/X11R5/include
3769 /usr/X11R4/include
3771 /usr/include/X11
3772 /usr/include/X11R6
3773 /usr/include/X11R5
3774 /usr/include/X11R4
3776 /usr/local/X11/include
3777 /usr/local/X11R6/include
3778 /usr/local/X11R5/include
3779 /usr/local/X11R4/include
3781 /usr/local/include/X11
3782 /usr/local/include/X11R6
3783 /usr/local/include/X11R5
3784 /usr/local/include/X11R4
3786 /usr/X386/include
3787 /usr/x386/include
3788 /usr/XFree86/include/X11
3790 /usr/include
3791 /usr/local/include
3792 /usr/unsupported/include
3793 /usr/athena/include
3794 /usr/local/x11r5/include
3795 /usr/lpp/Xamples/include
3797 /usr/openwin/include
3798 /usr/openwin/share/include'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3804 /* confdefs.h. */
3805 _ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3810 _ACEOF
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 case "(($ac_try" in
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3815 esac
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 ac_status=$?
3819 grep -v '^ *+' conftest.er1 >conftest.err
3820 rm -f conftest.er1
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3826 }; then
3827 # We can compile using X headers with no special include directory.
3828 ac_x_includes=
3829 else
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3836 break
3838 done
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to $LIBS permanently.
3848 ac_save_LIBS=$LIBS
3849 LIBS="-lX11 $LIBS"
3850 cat >conftest.$ac_ext <<_ACEOF
3851 /* confdefs.h. */
3852 _ACEOF
3853 cat confdefs.h >>conftest.$ac_ext
3854 cat >>conftest.$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3858 main ()
3860 XrmInitialize ()
3862 return 0;
3864 _ACEOF
3865 rm -f conftest.$ac_objext conftest$ac_exeext
3866 if { (ac_try="$ac_link"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3873 ac_status=$?
3874 grep -v '^ *+' conftest.er1 >conftest.err
3875 rm -f conftest.er1
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3883 LIBS=$ac_save_LIBS
3884 # We can link X programs with no special library path.
3885 ac_x_libraries=
3886 else
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3890 LIBS=$ac_save_LIBS
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3897 break 2
3899 done
3900 done
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3908 no,* | *,no | *\'*)
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3916 esac
3918 ;; #(
3919 *) have_x=yes;;
3920 esac
3921 eval "$ac_cv_have_x"
3922 fi # $with_x != no
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3927 no_x=yes
3928 else
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3945 _ACEOF
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 else
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3964 /* confdefs.h. */
3965 _ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3986 ac_status=$?
3987 grep -v '^ *+' conftest.er1 >conftest.err
3988 rm -f conftest.er1
3989 cat conftest.err >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest$ac_exeext &&
3995 $as_test_x conftest$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS="$X_LIBS -R$x_libraries"
3999 else
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4003 LIBS="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.$ac_ext <<_ACEOF
4005 /* confdefs.h. */
4006 _ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4012 main ()
4016 return 0;
4018 _ACEOF
4019 rm -f conftest.$ac_objext conftest$ac_exeext
4020 if { (ac_try="$ac_link"
4021 case "(($ac_try" in
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4024 esac
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4027 ac_status=$?
4028 grep -v '^ *+' conftest.er1 >conftest.err
4029 rm -f conftest.er1
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4040 else
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4055 LIBS=$ac_xsave_LIBS
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 else
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4079 #ifdef __cplusplus
4080 extern "C"
4081 #endif
4082 char XOpenDisplay ();
4084 main ()
4086 return XOpenDisplay ();
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 else
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 else
4119 ac_check_lib_save_LIBS=$LIBS
4120 LIBS="-ldnet $LIBS"
4121 cat >conftest.$ac_ext <<_ACEOF
4122 /* confdefs.h. */
4123 _ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4131 #ifdef __cplusplus
4132 extern "C"
4133 #endif
4134 char dnet_ntoa ();
4136 main ()
4138 return dnet_ntoa ();
4140 return 0;
4142 _ACEOF
4143 rm -f conftest.$ac_objext conftest$ac_exeext
4144 if { (ac_try="$ac_link"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 else
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4197 #ifdef __cplusplus
4198 extern "C"
4199 #endif
4200 char dnet_ntoa ();
4202 main ()
4204 return dnet_ntoa ();
4206 return 0;
4208 _ACEOF
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4217 ac_status=$?
4218 grep -v '^ *+' conftest.er1 >conftest.err
4219 rm -f conftest.er1
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest$ac_exeext &&
4226 $as_test_x conftest$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4228 else
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa=no
4235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4236 conftest$ac_exeext conftest.$ac_ext
4237 LIBS=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # needs -lnsl.
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 else
4265 cat >conftest.$ac_ext <<_ACEOF
4266 /* confdefs.h. */
4267 _ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4280 #ifdef __STDC__
4281 # include <limits.h>
4282 #else
4283 # include <assert.h>
4284 #endif
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4291 #ifdef __cplusplus
4292 extern "C"
4293 #endif
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4299 choke me
4300 #endif
4303 main ()
4305 return gethostbyname ();
4307 return 0;
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4318 ac_status=$?
4319 grep -v '^ *+' conftest.er1 >conftest.err
4320 rm -f conftest.er1
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 else
4348 ac_check_lib_save_LIBS=$LIBS
4349 LIBS="-lnsl $LIBS"
4350 cat >conftest.$ac_ext <<_ACEOF
4351 /* confdefs.h. */
4352 _ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4360 #ifdef __cplusplus
4361 extern "C"
4362 #endif
4363 char gethostbyname ();
4365 main ()
4367 return gethostbyname ();
4369 return 0;
4371 _ACEOF
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4374 case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4380 ac_status=$?
4381 grep -v '^ *+' conftest.er1 >conftest.err
4382 rm -f conftest.er1
4383 cat conftest.err >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest$ac_exeext &&
4389 $as_test_x conftest$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname=yes
4391 else
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname=no
4398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4399 conftest$ac_exeext conftest.$ac_ext
4400 LIBS=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 else
4414 ac_check_lib_save_LIBS=$LIBS
4415 LIBS="-lbsd $LIBS"
4416 cat >conftest.$ac_ext <<_ACEOF
4417 /* confdefs.h. */
4418 _ACEOF
4419 cat confdefs.h >>conftest.$ac_ext
4420 cat >>conftest.$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4426 #ifdef __cplusplus
4427 extern "C"
4428 #endif
4429 char gethostbyname ();
4431 main ()
4433 return gethostbyname ();
4435 return 0;
4437 _ACEOF
4438 rm -f conftest.$ac_objext conftest$ac_exeext
4439 if { (ac_try="$ac_link"
4440 case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4446 ac_status=$?
4447 grep -v '^ *+' conftest.er1 >conftest.err
4448 rm -f conftest.er1
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4457 else
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4510 #undef connect
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4515 #ifdef __cplusplus
4516 extern "C"
4517 #endif
4518 char connect ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4523 choke me
4524 #endif
4527 main ()
4529 return connect ();
4531 return 0;
4533 _ACEOF
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_connect=yes
4553 else
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_connect=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else
4572 ac_check_lib_save_LIBS=$LIBS
4573 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4584 #ifdef __cplusplus
4585 extern "C"
4586 #endif
4587 char connect ();
4589 main ()
4591 return connect ();
4593 return 0;
4595 _ACEOF
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4615 else
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4661 #undef remove
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4666 #ifdef __cplusplus
4667 extern "C"
4668 #endif
4669 char remove ();
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4674 choke me
4675 #endif
4678 main ()
4680 return remove ();
4682 return 0;
4684 _ACEOF
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4693 ac_status=$?
4694 grep -v '^ *+' conftest.er1 >conftest.err
4695 rm -f conftest.er1
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest$ac_exeext &&
4702 $as_test_x conftest$ac_exeext; then
4703 ac_cv_func_remove=yes
4704 else
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.$ac_ext >&5
4708 ac_cv_func_remove=no
4711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4712 conftest$ac_exeext conftest.$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 else
4723 ac_check_lib_save_LIBS=$LIBS
4724 LIBS="-lposix $LIBS"
4725 cat >conftest.$ac_ext <<_ACEOF
4726 /* confdefs.h. */
4727 _ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4735 #ifdef __cplusplus
4736 extern "C"
4737 #endif
4738 char remove ();
4740 main ()
4742 return remove ();
4744 return 0;
4746 _ACEOF
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (ac_try="$ac_link"
4749 case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752 esac
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4766 else
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 cat >conftest.$ac_ext <<_ACEOF
4792 /* confdefs.h. */
4793 _ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4806 #ifdef __STDC__
4807 # include <limits.h>
4808 #else
4809 # include <assert.h>
4810 #endif
4812 #undef shmat
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4817 #ifdef __cplusplus
4818 extern "C"
4819 #endif
4820 char shmat ();
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4825 choke me
4826 #endif
4829 main ()
4831 return shmat ();
4833 return 0;
4835 _ACEOF
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest$ac_exeext &&
4853 $as_test_x conftest$ac_exeext; then
4854 ac_cv_func_shmat=yes
4855 else
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4859 ac_cv_func_shmat=no
4862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4863 conftest$ac_exeext conftest.$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 else
4874 ac_check_lib_save_LIBS=$LIBS
4875 LIBS="-lipc $LIBS"
4876 cat >conftest.$ac_ext <<_ACEOF
4877 /* confdefs.h. */
4878 _ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4886 #ifdef __cplusplus
4887 extern "C"
4888 #endif
4889 char shmat ();
4891 main ()
4893 return shmat ();
4895 return 0;
4897 _ACEOF
4898 rm -f conftest.$ac_objext conftest$ac_exeext
4899 if { (ac_try="$ac_link"
4900 case "(($ac_try" in
4901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4903 esac
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4917 else
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 else
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4954 /* confdefs.h. */
4955 _ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4963 #ifdef __cplusplus
4964 extern "C"
4965 #endif
4966 char IceConnectionNumber ();
4968 main ()
4970 return IceConnectionNumber ();
4972 return 0;
4974 _ACEOF
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4977 case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4980 esac
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest$ac_exeext &&
4992 $as_test_x conftest$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber=yes
4994 else
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber=no
5001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5002 conftest$ac_exeext conftest.$ac_ext
5003 LIBS=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS=$ac_save_LDFLAGS
5016 for ac_prog in flex
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy $ac_prog; ac_word=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 else
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 FLEX=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5049 else
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5056 done
5057 test -n "$FLEX" || FLEX="none"
5059 if test "$FLEX" = "none"
5060 then
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy $ac_prog; ac_word=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 else
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 BISON=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5099 else
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5106 done
5107 test -n "$BISON" || BISON="none"
5109 if test "$BISON" = "none"
5110 then
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 else
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS="$AS" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 AS=$ac_cv_prog_AS
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5150 else
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5157 done
5159 if test -z "$AS"; then
5160 ac_ct_AS=$AS
5161 for ac_prog in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 else
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5201 done
5203 if test "x$ac_ct_AS" = x; then
5204 AS="as"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 AS=$ac_ct_AS
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}ld; ac_word=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD="$LD" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 LD=$ac_cv_prog_LD
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5252 else
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5260 ac_ct_LD=$LD
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld; ac_word=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 else
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 else
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x; then
5298 LD="ld"
5299 else
5300 case $cross_compiling:$ac_tool_warned in
5301 yes:)
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 LD=$ac_ct_LD
5312 else
5313 LD="$ac_cv_prog_LD"
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy ${ac_tool_prefix}ar; ac_word=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR="$AR" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5330 IFS=$as_save_IFS
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 break 2
5338 done
5339 done
5340 IFS=$as_save_IFS
5344 AR=$ac_cv_prog_AR
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5356 ac_ct_AR=$AR
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy ar; ac_word=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 else
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x; then
5394 AR="ar"
5395 else
5396 case $cross_compiling:$ac_tool_warned in
5397 yes:)
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406 AR=$ac_ct_AR
5408 else
5409 AR="$ac_cv_prog_AR"
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 RANLIB=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5444 else
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib; ac_word=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 else
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x; then
5490 RANLIB=":"
5491 else
5492 case $cross_compiling:$ac_tool_warned in
5493 yes:)
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 RANLIB=$ac_ct_RANLIB
5504 else
5505 RANLIB="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}strip; ac_word=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 STRIP=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5540 else
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5548 ac_ct_STRIP=$STRIP
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip; ac_word=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 else
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 else
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x; then
5586 STRIP="strip"
5587 else
5588 case $cross_compiling:$ac_tool_warned in
5589 yes:)
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598 STRIP=$ac_ct_STRIP
5600 else
5601 STRIP="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy ${ac_tool_prefix}windres; ac_word=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 else
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 WINDRES=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5636 else
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres; ac_word=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 else
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5668 IFS=$as_save_IFS
5672 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 else
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x; then
5682 WINDRES="false"
5683 else
5684 case $cross_compiling:$ac_tool_warned in
5685 yes:)
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned=yes ;;
5693 esac
5694 WINDRES=$ac_ct_WINDRES
5696 else
5697 WINDRES="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 LN_S=$as_ln_s
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5706 else
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.file
5714 echo >conf$$.file
5715 if ln conf$$.file conf$$ 2>/dev/null; then
5716 LN=ln
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5720 else
5721 LN="cp -p"
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy grep ggrep; ac_prog_name=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 else
5738 ac_path_GREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in grep ggrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5755 ac_count=0
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 ac_count=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP="$ac_path_GREP"
5769 ac_path_GREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5778 $ac_path_GREP_found && break 3
5779 done
5780 done
5782 done
5783 IFS=$as_save_IFS
5788 GREP="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5795 else
5796 ac_cv_path_GREP=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 else
5811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5812 then ac_cv_path_EGREP="$GREP -E"
5813 else
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy egrep; ac_prog_name=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 else
5820 ac_path_EGREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in egrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5837 ac_count=0
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5839 while :
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 ac_count=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP="$ac_path_EGREP"
5851 ac_path_EGREP_max=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5860 $ac_path_EGREP_found && break 3
5861 done
5862 done
5864 done
5865 IFS=$as_save_IFS
5870 EGREP="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5877 else
5878 ac_cv_path_EGREP=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig; ac_word=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896 case $LDCONFIG in
5897 [\\/]* | ?:[\\/]*)
5898 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in /sbin /usr/sbin $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5918 esac
5920 LDCONFIG=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 else
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5936 # AIX /bin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 # Account for people who put trailing slashes in PATH elements.
5955 case $as_dir/ in
5956 ./ | .// | /cC/* | \
5957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5958 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5959 /usr/ucb/* ) ;;
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5963 # by default.
5964 for ac_prog in ginstall scoinst install; do
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5975 else
5976 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5977 break 3
5980 done
5981 done
5983 esac
5984 done
5985 IFS=$as_save_IFS
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL=$ac_cv_path_install
5991 else
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6010 case "$INSTALL" in
6011 [\\/$]* | ?:[\\/]* ) ;;
6012 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6013 esac
6015 for ac_prog in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 else
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 LINT=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6048 else
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6055 done
6057 if test "$LINT" = "lint"
6058 then
6059 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy $ac_prog; ac_word=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 else
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 FONTFORGE=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 else
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6104 done
6105 test -n "$FONTFORGE" || FONTFORGE="false"
6107 for ac_prog in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy $ac_prog; ac_word=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 else
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 else
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6147 done
6148 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6151 case $host_cpu in
6152 *i[3456789]86*)
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink; ac_word=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 else
6160 case $PRELINK in
6161 [\\/]* | ?:[\\/]*)
6162 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in /sbin /usr/sbin $PATH
6168 IFS=$as_save_IFS
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 break 2
6176 done
6177 done
6178 IFS=$as_save_IFS
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6182 esac
6184 PRELINK=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6188 else
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6195 esac
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 else
6204 ac_check_lib_save_LIBS=$LIBS
6205 LIBS="-li386 $LIBS"
6206 cat >conftest.$ac_ext <<_ACEOF
6207 /* confdefs.h. */
6208 _ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6216 #ifdef __cplusplus
6217 extern "C"
6218 #endif
6219 char i386_set_ldt ();
6221 main ()
6223 return i386_set_ldt ();
6225 return 0;
6227 _ACEOF
6228 rm -f conftest.$ac_objext conftest$ac_exeext
6229 if { (ac_try="$ac_link"
6230 case "(($ac_try" in
6231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6233 esac
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6236 ac_status=$?
6237 grep -v '^ *+' conftest.er1 >conftest.err
6238 rm -f conftest.er1
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6247 else
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6263 _ACEOF
6265 LIBS="-li386 $LIBS"
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6278 /* confdefs.h. */
6279 _ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6287 #ifdef __cplusplus
6288 extern "C"
6289 #endif
6290 char _oss_ioctl ();
6292 main ()
6294 return _oss_ioctl ();
6296 return 0;
6298 _ACEOF
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6301 case "(($ac_try" in
6302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303 *) ac_try_echo=$ac_try;;
6304 esac
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6307 ac_status=$?
6308 grep -v '^ *+' conftest.er1 >conftest.err
6309 rm -f conftest.er1
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest$ac_exeext &&
6316 $as_test_x conftest$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl=yes
6318 else
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl=no
6325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6326 conftest$ac_exeext conftest.$ac_ext
6327 LIBS=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h <<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6334 _ACEOF
6336 LIBS="-lossaudio $LIBS"
6341 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6342 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 else
6346 ac_check_lib_save_LIBS=$LIBS
6347 LIBS="-lxpg4 $LIBS"
6348 cat >conftest.$ac_ext <<_ACEOF
6349 /* confdefs.h. */
6350 _ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6358 #ifdef __cplusplus
6359 extern "C"
6360 #endif
6361 char _xpg4_setrunelocale ();
6363 main ()
6365 return _xpg4_setrunelocale ();
6367 return 0;
6369 _ACEOF
6370 rm -f conftest.$ac_objext conftest$ac_exeext
6371 if { (ac_try="$ac_link"
6372 case "(($ac_try" in
6373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6375 esac
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6378 ac_status=$?
6379 grep -v '^ *+' conftest.er1 >conftest.err
6380 rm -f conftest.er1
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6389 else
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6401 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6402 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_LIBXPG4 1
6405 _ACEOF
6407 LIBS="-lxpg4 $LIBS"
6411 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6412 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 else
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-lpthread $LIBS"
6418 cat >conftest.$ac_ext <<_ACEOF
6419 /* confdefs.h. */
6420 _ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6428 #ifdef __cplusplus
6429 extern "C"
6430 #endif
6431 char pthread_create ();
6433 main ()
6435 return pthread_create ();
6437 return 0;
6439 _ACEOF
6440 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (ac_try="$ac_link"
6442 case "(($ac_try" in
6443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6445 esac
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest$ac_exeext &&
6457 $as_test_x conftest$ac_exeext; then
6458 ac_cv_lib_pthread_pthread_create=yes
6459 else
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6463 ac_cv_lib_pthread_pthread_create=no
6466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6467 conftest$ac_exeext conftest.$ac_ext
6468 LIBS=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6471 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6472 if test $ac_cv_lib_pthread_pthread_create = yes; then
6473 LIBPTHREAD="-lpthread"
6478 XLIB=""
6480 XFILES=""
6482 OPENGLFILES=""
6484 GLU32FILES=""
6486 OPENGL_LIBS=""
6488 QUARTZFILES=""
6492 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6493 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_stdc+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 else
6497 cat >conftest.$ac_ext <<_ACEOF
6498 /* confdefs.h. */
6499 _ACEOF
6500 cat confdefs.h >>conftest.$ac_ext
6501 cat >>conftest.$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6503 #include <stdlib.h>
6504 #include <stdarg.h>
6505 #include <string.h>
6506 #include <float.h>
6509 main ()
6513 return 0;
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (ac_try="$ac_compile"
6518 case "(($ac_try" in
6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6521 esac
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6524 ac_status=$?
6525 grep -v '^ *+' conftest.er1 >conftest.err
6526 rm -f conftest.er1
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && {
6530 test -z "$ac_c_werror_flag" ||
6531 test ! -s conftest.err
6532 } && test -s conftest.$ac_objext; then
6533 ac_cv_header_stdc=yes
6534 else
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_header_stdc=no
6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 if test $ac_cv_header_stdc = yes; then
6544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <string.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "memchr" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6566 cat >conftest.$ac_ext <<_ACEOF
6567 /* confdefs.h. */
6568 _ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 #include <stdlib.h>
6574 _ACEOF
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "free" >/dev/null 2>&1; then
6578 else
6579 ac_cv_header_stdc=no
6581 rm -f conftest*
6585 if test $ac_cv_header_stdc = yes; then
6586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6587 if test "$cross_compiling" = yes; then
6589 else
6590 cat >conftest.$ac_ext <<_ACEOF
6591 /* confdefs.h. */
6592 _ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6596 #include <ctype.h>
6597 #include <stdlib.h>
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6601 #else
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6607 #endif
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6611 main ()
6613 int i;
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6617 return 2;
6618 return 0;
6620 _ACEOF
6621 rm -f conftest$ac_exeext
6622 if { (ac_try="$ac_link"
6623 case "(($ac_try" in
6624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6625 *) ac_try_echo=$ac_try;;
6626 esac
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_link") 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6632 { (case "(($ac_try" in
6633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6635 esac
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_try") 2>&5
6638 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6642 else
6643 echo "$as_me: program exited with status $ac_status" >&5
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 ( exit $ac_status )
6648 ac_cv_header_stdc=no
6650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6656 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6657 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6658 if test $ac_cv_header_stdc = yes; then
6660 cat >>confdefs.h <<\_ACEOF
6661 #define STDC_HEADERS 1
6662 _ACEOF
6666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 else
6685 cat >conftest.$ac_ext <<_ACEOF
6686 /* confdefs.h. */
6687 _ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6693 #include <$ac_header>
6694 _ACEOF
6695 rm -f conftest.$ac_objext
6696 if { (ac_try="$ac_compile"
6697 case "(($ac_try" in
6698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6699 *) ac_try_echo=$ac_try;;
6700 esac
6701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6703 ac_status=$?
6704 grep -v '^ *+' conftest.er1 >conftest.err
6705 rm -f conftest.er1
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.$ac_objext; then
6712 eval "$as_ac_Header=yes"
6713 else
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 eval "$as_ac_Header=no"
6720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6722 ac_res=`eval echo '${'$as_ac_Header'}'`
6723 { echo "$as_me:$LINENO: result: $ac_res" >&5
6724 echo "${ECHO_T}$ac_res" >&6; }
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h <<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6728 _ACEOF
6732 done
6846 for ac_header in \
6847 AudioUnit/AudioUnit.h \
6848 Carbon/Carbon.h \
6849 CoreAudio/CoreAudio.h \
6850 DiskArbitration/DiskArbitration.h \
6851 IOKit/IOKitLib.h \
6852 alsa/asoundlib.h \
6853 arpa/inet.h \
6854 arpa/nameser.h \
6855 asm/types.h \
6856 capi20.h \
6857 cups/cups.h \
6858 curses.h \
6859 direct.h \
6860 dlfcn.h \
6861 elf.h \
6862 float.h \
6863 fontconfig/fontconfig.h \
6864 getopt.h \
6865 ieeefp.h \
6866 io.h \
6867 jack/jack.h \
6868 jpeglib.h \
6869 lber.h \
6870 lcms.h \
6871 lcms/lcms.h \
6872 ldap.h \
6873 libaudioio.h \
6874 link.h \
6875 linux/cdrom.h \
6876 linux/compiler.h \
6877 linux/hdreg.h \
6878 linux/input.h \
6879 linux/ioctl.h \
6880 linux/joystick.h \
6881 linux/major.h \
6882 linux/param.h \
6883 linux/serial.h \
6884 linux/ucdrom.h \
6885 mach/mach.h \
6886 mach/machine.h \
6887 machine/cpu.h \
6888 machine/limits.h \
6889 machine/soundcard.h \
6890 mntent.h \
6891 ncurses.h \
6892 netdb.h \
6893 netinet/in.h \
6894 netinet/in_systm.h \
6895 netinet/tcp.h \
6896 netinet/tcp_fsm.h \
6897 openssl/err.h \
6898 openssl/ssl.h \
6899 png.h \
6900 poll.h \
6901 process.h \
6902 pthread.h \
6903 pwd.h \
6904 regex.h \
6905 sched.h \
6906 scsi/scsi.h \
6907 scsi/scsi_ioctl.h \
6908 scsi/sg.h \
6909 soundcard.h \
6910 stdint.h \
6911 strings.h \
6912 sys/asoundlib.h \
6913 sys/cdio.h \
6914 sys/elf32.h \
6915 sys/epoll.h \
6916 sys/errno.h \
6917 sys/event.h \
6918 sys/exec_elf.h \
6919 sys/filio.h \
6920 sys/ioctl.h \
6921 sys/ipc.h \
6922 sys/limits.h \
6923 sys/link.h \
6924 sys/lwp.h \
6925 sys/mman.h \
6926 sys/modem.h \
6927 sys/msg.h \
6928 sys/mtio.h \
6929 sys/param.h \
6930 sys/poll.h \
6931 sys/prctl.h \
6932 sys/ptrace.h \
6933 sys/reg.h \
6934 sys/resource.h \
6935 sys/scsiio.h \
6936 sys/shm.h \
6937 sys/signal.h \
6938 sys/socket.h \
6939 sys/socketvar.h \
6940 sys/sockio.h \
6941 sys/soundcard.h \
6942 sys/statvfs.h \
6943 sys/strtio.h \
6944 sys/syscall.h \
6945 sys/sysctl.h \
6946 sys/time.h \
6947 sys/times.h \
6948 sys/uio.h \
6949 sys/un.h \
6950 sys/vm86.h \
6951 sys/wait.h \
6952 syscall.h \
6953 termios.h \
6954 unicode/ubidi.h \
6955 unistd.h \
6956 utime.h \
6957 valgrind/memcheck.h
6960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 ac_res=`eval echo '${'$as_ac_Header'}'`
6968 { echo "$as_me:$LINENO: result: $ac_res" >&5
6969 echo "${ECHO_T}$ac_res" >&6; }
6970 else
6971 # Is the header compilable?
6972 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6974 cat >conftest.$ac_ext <<_ACEOF
6975 /* confdefs.h. */
6976 _ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6981 #include <$ac_header>
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (ac_try="$ac_compile"
6985 case "(($ac_try" in
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6988 esac
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_compile") 2>conftest.er1
6991 ac_status=$?
6992 grep -v '^ *+' conftest.er1 >conftest.err
6993 rm -f conftest.er1
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } && {
6997 test -z "$ac_c_werror_flag" ||
6998 test ! -s conftest.err
6999 } && test -s conftest.$ac_objext; then
7000 ac_header_compiler=yes
7001 else
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 ac_header_compiler=no
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7009 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7010 echo "${ECHO_T}$ac_header_compiler" >&6; }
7012 # Is the header present?
7013 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7015 cat >conftest.$ac_ext <<_ACEOF
7016 /* confdefs.h. */
7017 _ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7021 #include <$ac_header>
7022 _ACEOF
7023 if { (ac_try="$ac_cpp conftest.$ac_ext"
7024 case "(($ac_try" in
7025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7026 *) ac_try_echo=$ac_try;;
7027 esac
7028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7030 ac_status=$?
7031 grep -v '^ *+' conftest.er1 >conftest.err
7032 rm -f conftest.er1
7033 cat conftest.err >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } >/dev/null && {
7036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7037 test ! -s conftest.err
7038 }; then
7039 ac_header_preproc=yes
7040 else
7041 echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7044 ac_header_preproc=no
7047 rm -f conftest.err conftest.$ac_ext
7048 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7049 echo "${ECHO_T}$ac_header_preproc" >&6; }
7051 # So? What about this header?
7052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7053 yes:no: )
7054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7058 ac_header_preproc=yes
7060 no:yes:* )
7061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7073 ( cat <<\_ASBOX
7074 ## ------------------------------------ ##
7075 ## Report this to wine-devel@winehq.org ##
7076 ## ------------------------------------ ##
7077 _ASBOX
7078 ) | sed "s/^/$as_me: WARNING: /" >&2
7080 esac
7081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 else
7086 eval "$as_ac_Header=\$ac_header_preproc"
7088 ac_res=`eval echo '${'$as_ac_Header'}'`
7089 { echo "$as_me:$LINENO: result: $ac_res" >&5
7090 echo "${ECHO_T}$ac_res" >&6; }
7093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7096 _ACEOF
7100 done
7102 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7103 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7104 if test "${ac_cv_header_stat_broken+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 else
7107 cat >conftest.$ac_ext <<_ACEOF
7108 /* confdefs.h. */
7109 _ACEOF
7110 cat confdefs.h >>conftest.$ac_ext
7111 cat >>conftest.$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7113 #include <sys/types.h>
7114 #include <sys/stat.h>
7116 #if defined S_ISBLK && defined S_IFDIR
7117 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7118 #endif
7120 #if defined S_ISBLK && defined S_IFCHR
7121 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7122 #endif
7124 #if defined S_ISLNK && defined S_IFREG
7125 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7126 #endif
7128 #if defined S_ISSOCK && defined S_IFREG
7129 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7130 #endif
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (ac_try="$ac_compile"
7135 case "(($ac_try" in
7136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7138 esac
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_compile") 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } && {
7147 test -z "$ac_c_werror_flag" ||
7148 test ! -s conftest.err
7149 } && test -s conftest.$ac_objext; then
7150 ac_cv_header_stat_broken=no
7151 else
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7155 ac_cv_header_stat_broken=yes
7158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7160 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7161 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7162 if test $ac_cv_header_stat_broken = yes; then
7164 cat >>confdefs.h <<\_ACEOF
7165 #define STAT_MACROS_BROKEN 1
7166 _ACEOF
7176 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7178 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7183 else
7184 cat >conftest.$ac_ext <<_ACEOF
7185 /* confdefs.h. */
7186 _ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <sys/types.h>
7191 #if HAVE_SYS_PARAM_H
7192 # include <sys/param.h>
7193 #endif
7195 #include <$ac_header>
7196 _ACEOF
7197 rm -f conftest.$ac_objext
7198 if { (ac_try="$ac_compile"
7199 case "(($ac_try" in
7200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7201 *) ac_try_echo=$ac_try;;
7202 esac
7203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7204 (eval "$ac_compile") 2>conftest.er1
7205 ac_status=$?
7206 grep -v '^ *+' conftest.er1 >conftest.err
7207 rm -f conftest.er1
7208 cat conftest.err >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } && {
7211 test -z "$ac_c_werror_flag" ||
7212 test ! -s conftest.err
7213 } && test -s conftest.$ac_objext; then
7214 eval "$as_ac_Header=yes"
7215 else
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.$ac_ext >&5
7219 eval "$as_ac_Header=no"
7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7224 ac_res=`eval echo '${'$as_ac_Header'}'`
7225 { echo "$as_me:$LINENO: result: $ac_res" >&5
7226 echo "${ECHO_T}$ac_res" >&6; }
7227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7228 cat >>confdefs.h <<_ACEOF
7229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7230 _ACEOF
7234 done
7245 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
7247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 else
7253 cat >conftest.$ac_ext <<_ACEOF
7254 /* confdefs.h. */
7255 _ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 #include <sys/types.h>
7260 #if HAVE_SYS_SOCKET_H
7261 # include <sys/socket.h>
7262 #endif
7264 #include <$ac_header>
7265 _ACEOF
7266 rm -f conftest.$ac_objext
7267 if { (ac_try="$ac_compile"
7268 case "(($ac_try" in
7269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7271 esac
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7274 ac_status=$?
7275 grep -v '^ *+' conftest.er1 >conftest.err
7276 rm -f conftest.er1
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7284 else
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7305 #if HAVE_SYS_SOCKETVAR_H
7306 # include <sys/socketvar.h>
7307 #endif
7310 for ac_header in netinet/tcp_var.h
7312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7313 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 else
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <sys/types.h>
7325 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7327 #endif
7328 #if HAVE_SYS_SOCKETVAR_H
7329 # include <sys/socketvar.h>
7330 #endif
7331 #if HAVE_NETINET_IN_H
7332 # include <netinet/in.h>
7333 #endif
7334 #ifdef HAVE_NETINET_TCP_H
7335 # include <netinet/tcp.h>
7336 #endif
7338 #include <$ac_header>
7339 _ACEOF
7340 rm -f conftest.$ac_objext
7341 if { (ac_try="$ac_compile"
7342 case "(($ac_try" in
7343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7345 esac
7346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7347 (eval "$ac_compile") 2>conftest.er1
7348 ac_status=$?
7349 grep -v '^ *+' conftest.er1 >conftest.err
7350 rm -f conftest.er1
7351 cat conftest.err >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } && {
7354 test -z "$ac_c_werror_flag" ||
7355 test ! -s conftest.err
7356 } && test -s conftest.$ac_objext; then
7357 eval "$as_ac_Header=yes"
7358 else
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.$ac_ext >&5
7362 eval "$as_ac_Header=no"
7365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7367 ac_res=`eval echo '${'$as_ac_Header'}'`
7368 { echo "$as_me:$LINENO: result: $ac_res" >&5
7369 echo "${ECHO_T}$ac_res" >&6; }
7370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7371 cat >>confdefs.h <<_ACEOF
7372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7373 _ACEOF
7377 done
7381 for ac_header in linux/ipx.h
7383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 else
7389 cat >conftest.$ac_ext <<_ACEOF
7390 /* confdefs.h. */
7391 _ACEOF
7392 cat confdefs.h >>conftest.$ac_ext
7393 cat >>conftest.$ac_ext <<_ACEOF
7394 /* end confdefs.h. */
7395 #include <sys/types.h>
7396 #ifdef HAVE_ASM_TYPES_H
7397 # include <asm/types.h>
7398 #endif
7399 #if HAVE_SYS_SOCKET_H
7400 # include <sys/socket.h>
7401 #endif
7403 #include <$ac_header>
7404 _ACEOF
7405 rm -f conftest.$ac_objext
7406 if { (ac_try="$ac_compile"
7407 case "(($ac_try" in
7408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7410 esac
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_compile") 2>conftest.er1
7413 ac_status=$?
7414 grep -v '^ *+' conftest.er1 >conftest.err
7415 rm -f conftest.er1
7416 cat conftest.err >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } && {
7419 test -z "$ac_c_werror_flag" ||
7420 test ! -s conftest.err
7421 } && test -s conftest.$ac_objext; then
7422 eval "$as_ac_Header=yes"
7423 else
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 eval "$as_ac_Header=no"
7430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7432 ac_res=`eval echo '${'$as_ac_Header'}'`
7433 { echo "$as_me:$LINENO: result: $ac_res" >&5
7434 echo "${ECHO_T}$ac_res" >&6; }
7435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7436 cat >>confdefs.h <<_ACEOF
7437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7438 _ACEOF
7442 done
7446 for ac_header in resolv.h
7448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 else
7454 cat >conftest.$ac_ext <<_ACEOF
7455 /* confdefs.h. */
7456 _ACEOF
7457 cat confdefs.h >>conftest.$ac_ext
7458 cat >>conftest.$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 #include <sys/types.h>
7461 #if HAVE_SYS_SOCKET_H
7462 # include <sys/socket.h>
7463 #endif
7464 #if HAVE_NETINET_IN_H
7465 # include <netinet/in.h>
7466 #endif
7467 #if HAVE_ARPA_NAMESER_H
7468 # include <arpa/nameser.h>
7469 #endif
7471 #include <$ac_header>
7472 _ACEOF
7473 rm -f conftest.$ac_objext
7474 if { (ac_try="$ac_compile"
7475 case "(($ac_try" in
7476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7477 *) ac_try_echo=$ac_try;;
7478 esac
7479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7480 (eval "$ac_compile") 2>conftest.er1
7481 ac_status=$?
7482 grep -v '^ *+' conftest.er1 >conftest.err
7483 rm -f conftest.er1
7484 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && {
7487 test -z "$ac_c_werror_flag" ||
7488 test ! -s conftest.err
7489 } && test -s conftest.$ac_objext; then
7490 eval "$as_ac_Header=yes"
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7495 eval "$as_ac_Header=no"
7498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7500 ac_res=`eval echo '${'$as_ac_Header'}'`
7501 { echo "$as_me:$LINENO: result: $ac_res" >&5
7502 echo "${ECHO_T}$ac_res" >&6; }
7503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7504 cat >>confdefs.h <<_ACEOF
7505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7506 _ACEOF
7510 done
7514 for ac_header in ucontext.h
7516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7520 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 else
7522 cat >conftest.$ac_ext <<_ACEOF
7523 /* confdefs.h. */
7524 _ACEOF
7525 cat confdefs.h >>conftest.$ac_ext
7526 cat >>conftest.$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 #include <signal.h>
7530 #include <$ac_header>
7531 _ACEOF
7532 rm -f conftest.$ac_objext
7533 if { (ac_try="$ac_compile"
7534 case "(($ac_try" in
7535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7536 *) ac_try_echo=$ac_try;;
7537 esac
7538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7539 (eval "$ac_compile") 2>conftest.er1
7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); } && {
7546 test -z "$ac_c_werror_flag" ||
7547 test ! -s conftest.err
7548 } && test -s conftest.$ac_objext; then
7549 eval "$as_ac_Header=yes"
7550 else
7551 echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7554 eval "$as_ac_Header=no"
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7559 ac_res=`eval echo '${'$as_ac_Header'}'`
7560 { echo "$as_me:$LINENO: result: $ac_res" >&5
7561 echo "${ECHO_T}$ac_res" >&6; }
7562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7563 cat >>confdefs.h <<_ACEOF
7564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7565 _ACEOF
7569 done
7573 for ac_header in pthread_np.h
7575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 else
7581 cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h. */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587 #ifdef HAVE_PTHREAD_H
7588 #include <pthread.h>
7589 #endif
7591 #include <$ac_header>
7592 _ACEOF
7593 rm -f conftest.$ac_objext
7594 if { (ac_try="$ac_compile"
7595 case "(($ac_try" in
7596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7597 *) ac_try_echo=$ac_try;;
7598 esac
7599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7600 (eval "$ac_compile") 2>conftest.er1
7601 ac_status=$?
7602 grep -v '^ *+' conftest.er1 >conftest.err
7603 rm -f conftest.er1
7604 cat conftest.err >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } && {
7607 test -z "$ac_c_werror_flag" ||
7608 test ! -s conftest.err
7609 } && test -s conftest.$ac_objext; then
7610 eval "$as_ac_Header=yes"
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 eval "$as_ac_Header=no"
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7620 ac_res=`eval echo '${'$as_ac_Header'}'`
7621 { echo "$as_me:$LINENO: result: $ac_res" >&5
7622 echo "${ECHO_T}$ac_res" >&6; }
7623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7624 cat >>confdefs.h <<_ACEOF
7625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 _ACEOF
7630 done
7634 for ac_header in linux/videodev.h
7636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7640 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 else
7642 cat >conftest.$ac_ext <<_ACEOF
7643 /* confdefs.h. */
7644 _ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 #ifdef HAVE_SYS_TIME_H
7649 #include <sys/time.h>
7650 #endif
7651 #include <sys/types.h>
7652 #ifdef HAVE_ASM_TYPES_H
7653 #include <asm/types.h>
7654 #endif
7656 #include <$ac_header>
7657 _ACEOF
7658 rm -f conftest.$ac_objext
7659 if { (ac_try="$ac_compile"
7660 case "(($ac_try" in
7661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7662 *) ac_try_echo=$ac_try;;
7663 esac
7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7665 (eval "$ac_compile") 2>conftest.er1
7666 ac_status=$?
7667 grep -v '^ *+' conftest.er1 >conftest.err
7668 rm -f conftest.er1
7669 cat conftest.err >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && {
7672 test -z "$ac_c_werror_flag" ||
7673 test ! -s conftest.err
7674 } && test -s conftest.$ac_objext; then
7675 eval "$as_ac_Header=yes"
7676 else
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.$ac_ext >&5
7680 eval "$as_ac_Header=no"
7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7685 ac_res=`eval echo '${'$as_ac_Header'}'`
7686 { echo "$as_me:$LINENO: result: $ac_res" >&5
7687 echo "${ECHO_T}$ac_res" >&6; }
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h <<_ACEOF
7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7691 _ACEOF
7695 done
7699 for ac_header in linux/capi.h
7701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 else
7707 cat >conftest.$ac_ext <<_ACEOF
7708 /* confdefs.h. */
7709 _ACEOF
7710 cat confdefs.h >>conftest.$ac_ext
7711 cat >>conftest.$ac_ext <<_ACEOF
7712 /* end confdefs.h. */
7713 #define __user
7715 #include <$ac_header>
7716 _ACEOF
7717 rm -f conftest.$ac_objext
7718 if { (ac_try="$ac_compile"
7719 case "(($ac_try" in
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7722 esac
7723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7725 ac_status=$?
7726 grep -v '^ *+' conftest.er1 >conftest.err
7727 rm -f conftest.er1
7728 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.$ac_objext; then
7734 eval "$as_ac_Header=yes"
7735 else
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 eval "$as_ac_Header=no"
7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744 ac_res=`eval echo '${'$as_ac_Header'}'`
7745 { echo "$as_me:$LINENO: result: $ac_res" >&5
7746 echo "${ECHO_T}$ac_res" >&6; }
7747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7748 cat >>confdefs.h <<_ACEOF
7749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7754 done
7758 DLLEXT=""
7760 DLLFLAGS="-D_REENTRANT"
7762 LDSHARED=""
7764 LDDLLFLAGS=""
7766 LIBEXT="so"
7768 IMPLIBEXT="def"
7770 LDRPATH_INSTALL=""
7772 LDRPATH_LOCAL=""
7774 # Extract the first word of "ldd", so it can be a program name with args.
7775 set dummy ldd; ac_word=$2
7776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7778 if test "${ac_cv_path_LDD+set}" = set; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 else
7781 case $LDD in
7782 [\\/]* | ?:[\\/]*)
7783 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787 as_dummy="/sbin:/usr/sbin:$PATH"
7788 for as_dir in $as_dummy
7790 IFS=$as_save_IFS
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 break 2
7798 done
7799 done
7800 IFS=$as_save_IFS
7802 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7804 esac
7806 LDD=$ac_cv_path_LDD
7807 if test -n "$LDD"; then
7808 { echo "$as_me:$LINENO: result: $LDD" >&5
7809 echo "${ECHO_T}$LDD" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7817 case $host_os in
7818 cygwin*|mingw32*)
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7821 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7824 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827 if test -n "$DLLTOOL"; then
7828 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7829 else
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 for as_dir in $PATH
7833 IFS=$as_save_IFS
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 break 2
7841 done
7842 done
7843 IFS=$as_save_IFS
7847 DLLTOOL=$ac_cv_prog_DLLTOOL
7848 if test -n "$DLLTOOL"; then
7849 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7850 echo "${ECHO_T}$DLLTOOL" >&6; }
7851 else
7852 { echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6; }
7858 if test -z "$ac_cv_prog_DLLTOOL"; then
7859 ac_ct_DLLTOOL=$DLLTOOL
7860 # Extract the first word of "dlltool", so it can be a program name with args.
7861 set dummy dlltool; ac_word=$2
7862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 else
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7869 else
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 for as_dir in $PATH
7873 IFS=$as_save_IFS
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 break 2
7881 done
7882 done
7883 IFS=$as_save_IFS
7887 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7888 if test -n "$ac_ct_DLLTOOL"; then
7889 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7890 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7891 else
7892 { echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6; }
7896 if test "x$ac_ct_DLLTOOL" = x; then
7897 DLLTOOL="false"
7898 else
7899 case $cross_compiling:$ac_tool_warned in
7900 yes:)
7901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&5
7904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7905 whose name does not start with the host triplet. If you think this
7906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7907 ac_tool_warned=yes ;;
7908 esac
7909 DLLTOOL=$ac_ct_DLLTOOL
7911 else
7912 DLLTOOL="$ac_cv_prog_DLLTOOL"
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7917 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7920 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 else
7923 if test -n "$DLLWRAP"; then
7924 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7933 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 DLLWRAP=$ac_cv_prog_DLLWRAP
7944 if test -n "$DLLWRAP"; then
7945 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7946 echo "${ECHO_T}$DLLWRAP" >&6; }
7947 else
7948 { echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6; }
7954 if test -z "$ac_cv_prog_DLLWRAP"; then
7955 ac_ct_DLLWRAP=$DLLWRAP
7956 # Extract the first word of "dllwrap", so it can be a program name with args.
7957 set dummy dllwrap; ac_word=$2
7958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7960 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 else
7963 if test -n "$ac_ct_DLLWRAP"; then
7964 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7983 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7984 if test -n "$ac_ct_DLLWRAP"; then
7985 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7986 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7987 else
7988 { echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6; }
7992 if test "x$ac_ct_DLLWRAP" = x; then
7993 DLLWRAP="false"
7994 else
7995 case $cross_compiling:$ac_tool_warned in
7996 yes:)
7997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&5
8000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8001 whose name does not start with the host triplet. If you think this
8002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8003 ac_tool_warned=yes ;;
8004 esac
8005 DLLWRAP=$ac_ct_DLLWRAP
8007 else
8008 DLLWRAP="$ac_cv_prog_DLLWRAP"
8011 if test -n "$ac_tool_prefix"; then
8012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8013 set dummy ${ac_tool_prefix}ar; ac_word=$2
8014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8016 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 else
8019 if test -n "$MINGWAR"; then
8020 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 MINGWAR=$ac_cv_prog_MINGWAR
8040 if test -n "$MINGWAR"; then
8041 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8042 echo "${ECHO_T}$MINGWAR" >&6; }
8043 else
8044 { echo "$as_me:$LINENO: result: no" >&5
8045 echo "${ECHO_T}no" >&6; }
8050 if test -z "$ac_cv_prog_MINGWAR"; then
8051 ac_ct_MINGWAR=$MINGWAR
8052 # Extract the first word of "ar", so it can be a program name with args.
8053 set dummy ar; ac_word=$2
8054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8056 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 else
8059 if test -n "$ac_ct_MINGWAR"; then
8060 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8061 else
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 for as_dir in $PATH
8065 IFS=$as_save_IFS
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_prog_ac_ct_MINGWAR="ar"
8070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 break 2
8073 done
8074 done
8075 IFS=$as_save_IFS
8079 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8080 if test -n "$ac_ct_MINGWAR"; then
8081 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8082 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8083 else
8084 { echo "$as_me:$LINENO: result: no" >&5
8085 echo "${ECHO_T}no" >&6; }
8088 if test "x$ac_ct_MINGWAR" = x; then
8089 MINGWAR="false"
8090 else
8091 case $cross_compiling:$ac_tool_warned in
8092 yes:)
8093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8094 whose name does not start with the host triplet. If you think this
8095 configuration is useful to you, please write to autoconf@gnu.org." >&5
8096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8097 whose name does not start with the host triplet. If you think this
8098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8099 ac_tool_warned=yes ;;
8100 esac
8101 MINGWAR=$ac_ct_MINGWAR
8103 else
8104 MINGWAR="$ac_cv_prog_MINGWAR"
8107 if test "$DLLWRAP" = "false"; then
8108 LIBEXT="a"
8109 else
8110 LIBEXT="dll"
8112 IMPLIBEXT="a"
8113 WIN16_FILES=""
8114 WIN16_INSTALL=""
8116 darwin*|macosx*)
8117 DLLEXT=".so"
8118 LIBEXT="dylib"
8119 DLLFLAGS="$DLLFLAGS -fPIC"
8120 LDDLLFLAGS="-bundle -multiply_defined suppress"
8121 LIBWINE_LDFLAGS="-multiply_defined suppress"
8122 LDSHARED="\$(CC) -dynamiclib"
8123 STRIP="$STRIP -x"
8124 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8125 COREFOUNDATIONLIB="-framework CoreFoundation"
8127 IOKITLIB="-framework IOKit -framework CoreFoundation"
8129 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8131 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8132 then
8133 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8136 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8137 then
8138 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8141 case $host_cpu in
8142 *powerpc*)
8143 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8144 esac
8145 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8146 then
8147 CARBONLIB="-framework Carbon"
8149 QUARTZFILES='$(QUARTZFILES)'
8153 DLLFLAGS="$DLLFLAGS -fPIC"
8154 DLLEXT=".so"
8155 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8156 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8157 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 else
8160 ac_wine_try_cflags_saved=$CFLAGS
8161 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8162 cat >conftest.$ac_ext <<_ACEOF
8163 void myfunc() {}
8164 _ACEOF
8165 rm -f conftest.$ac_objext conftest$ac_exeext
8166 if { (ac_try="$ac_link"
8167 case "(($ac_try" in
8168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8169 *) ac_try_echo=$ac_try;;
8170 esac
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8172 (eval "$ac_link") 2>conftest.er1
8173 ac_status=$?
8174 grep -v '^ *+' conftest.er1 >conftest.err
8175 rm -f conftest.er1
8176 cat conftest.err >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err
8181 } && test -s conftest$ac_exeext &&
8182 $as_test_x conftest$ac_exeext; then
8183 ac_cv_c_dll_gnuelf="yes"
8184 else
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.$ac_ext >&5
8188 ac_cv_c_dll_gnuelf="no"
8191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8192 conftest$ac_exeext conftest.$ac_ext
8193 CFLAGS=$ac_wine_try_cflags_saved
8195 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8196 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8197 if test "$ac_cv_c_dll_gnuelf" = "yes"
8198 then
8199 LDSHARED="\$(CC) -shared"
8200 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8201 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8202 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8203 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 else
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8208 cat >conftest.$ac_ext <<_ACEOF
8209 /* confdefs.h. */
8210 _ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8216 main ()
8220 return 0;
8222 _ACEOF
8223 rm -f conftest.$ac_objext conftest$ac_exeext
8224 if { (ac_try="$ac_link"
8225 case "(($ac_try" in
8226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8227 *) ac_try_echo=$ac_try;;
8228 esac
8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8230 (eval "$ac_link") 2>conftest.er1
8231 ac_status=$?
8232 grep -v '^ *+' conftest.er1 >conftest.err
8233 rm -f conftest.er1
8234 cat conftest.err >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } && {
8237 test -z "$ac_c_werror_flag" ||
8238 test ! -s conftest.err
8239 } && test -s conftest$ac_exeext &&
8240 $as_test_x conftest$ac_exeext; then
8241 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8242 else
8243 echo "$as_me: failed program was:" >&5
8244 sed 's/^/| /' conftest.$ac_ext >&5
8246 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8250 conftest$ac_exeext conftest.$ac_ext
8251 CFLAGS=$ac_wine_try_cflags_saved
8253 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8254 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8255 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8256 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8257 else
8258 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8259 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8260 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 else
8263 ac_wine_try_cflags_saved=$CFLAGS
8264 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8265 cat >conftest.$ac_ext <<_ACEOF
8266 /* confdefs.h. */
8267 _ACEOF
8268 cat confdefs.h >>conftest.$ac_ext
8269 cat >>conftest.$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8273 main ()
8277 return 0;
8279 _ACEOF
8280 rm -f conftest.$ac_objext conftest$ac_exeext
8281 if { (ac_try="$ac_link"
8282 case "(($ac_try" in
8283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;;
8285 esac
8286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8287 (eval "$ac_link") 2>conftest.er1
8288 ac_status=$?
8289 grep -v '^ *+' conftest.er1 >conftest.err
8290 rm -f conftest.er1
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } && {
8294 test -z "$ac_c_werror_flag" ||
8295 test ! -s conftest.err
8296 } && test -s conftest$ac_exeext &&
8297 $as_test_x conftest$ac_exeext; then
8298 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8299 else
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.$ac_ext >&5
8303 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8311 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8312 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8313 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8319 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8320 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8321 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8326 cat >conftest.$ac_ext <<_ACEOF
8327 /* confdefs.h. */
8328 _ACEOF
8329 cat confdefs.h >>conftest.$ac_ext
8330 cat >>conftest.$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8334 main ()
8338 return 0;
8340 _ACEOF
8341 rm -f conftest.$ac_objext conftest$ac_exeext
8342 if { (ac_try="$ac_link"
8343 case "(($ac_try" in
8344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8345 *) ac_try_echo=$ac_try;;
8346 esac
8347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8348 (eval "$ac_link") 2>conftest.er1
8349 ac_status=$?
8350 grep -v '^ *+' conftest.er1 >conftest.err
8351 rm -f conftest.er1
8352 cat conftest.err >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); } && {
8355 test -z "$ac_c_werror_flag" ||
8356 test ! -s conftest.err
8357 } && test -s conftest$ac_exeext &&
8358 $as_test_x conftest$ac_exeext; then
8359 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8360 else
8361 echo "$as_me: failed program was:" >&5
8362 sed 's/^/| /' conftest.$ac_ext >&5
8364 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8368 conftest$ac_exeext conftest.$ac_ext
8369 CFLAGS=$ac_wine_try_cflags_saved
8371 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8372 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8373 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8374 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8378 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8379 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8380 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8382 else
8383 ac_wine_try_cflags_saved=$CFLAGS
8384 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8385 cat >conftest.$ac_ext <<_ACEOF
8386 /* confdefs.h. */
8387 _ACEOF
8388 cat confdefs.h >>conftest.$ac_ext
8389 cat >>conftest.$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8393 main ()
8397 return 0;
8399 _ACEOF
8400 rm -f conftest.$ac_objext conftest$ac_exeext
8401 if { (ac_try="$ac_link"
8402 case "(($ac_try" in
8403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8404 *) ac_try_echo=$ac_try;;
8405 esac
8406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8407 (eval "$ac_link") 2>conftest.er1
8408 ac_status=$?
8409 grep -v '^ *+' conftest.er1 >conftest.err
8410 rm -f conftest.er1
8411 cat conftest.err >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } && {
8414 test -z "$ac_c_werror_flag" ||
8415 test ! -s conftest.err
8416 } && test -s conftest$ac_exeext &&
8417 $as_test_x conftest$ac_exeext; then
8418 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8419 else
8420 echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8423 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8431 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8432 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8433 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8437 echo '{ global: *; };' >conftest.map
8438 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8439 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8440 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8445 cat >conftest.$ac_ext <<_ACEOF
8446 /* confdefs.h. */
8447 _ACEOF
8448 cat confdefs.h >>conftest.$ac_ext
8449 cat >>conftest.$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8453 main ()
8457 return 0;
8459 _ACEOF
8460 rm -f conftest.$ac_objext conftest$ac_exeext
8461 if { (ac_try="$ac_link"
8462 case "(($ac_try" in
8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8464 *) ac_try_echo=$ac_try;;
8465 esac
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_link") 2>conftest.er1
8468 ac_status=$?
8469 grep -v '^ *+' conftest.er1 >conftest.err
8470 rm -f conftest.er1
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } && {
8474 test -z "$ac_c_werror_flag" ||
8475 test ! -s conftest.err
8476 } && test -s conftest$ac_exeext &&
8477 $as_test_x conftest$ac_exeext; then
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8479 else
8480 echo "$as_me: failed program was:" >&5
8481 sed 's/^/| /' conftest.$ac_ext >&5
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8491 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8492 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8493 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8496 rm -f conftest.map
8498 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8499 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8500 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8505 cat >conftest.$ac_ext <<_ACEOF
8506 /* confdefs.h. */
8507 _ACEOF
8508 cat confdefs.h >>conftest.$ac_ext
8509 cat >>conftest.$ac_ext <<_ACEOF
8510 /* end confdefs.h. */
8513 main ()
8517 return 0;
8519 _ACEOF
8520 rm -f conftest.$ac_objext conftest$ac_exeext
8521 if { (ac_try="$ac_link"
8522 case "(($ac_try" in
8523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8524 *) ac_try_echo=$ac_try;;
8525 esac
8526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8527 (eval "$ac_link") 2>conftest.er1
8528 ac_status=$?
8529 grep -v '^ *+' conftest.er1 >conftest.err
8530 rm -f conftest.er1
8531 cat conftest.err >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } && {
8534 test -z "$ac_c_werror_flag" ||
8535 test ! -s conftest.err
8536 } && test -s conftest$ac_exeext &&
8537 $as_test_x conftest$ac_exeext; then
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8539 else
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8547 conftest$ac_exeext conftest.$ac_ext
8548 CFLAGS=$ac_wine_try_cflags_saved
8550 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8551 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8552 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8553 LDEXECFLAGS="-Wl,--export-dynamic"
8558 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8559 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8560 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 else
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8566 cat >conftest.$ac_ext <<_ACEOF
8567 /* confdefs.h. */
8568 _ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8574 main ()
8578 return 0;
8580 _ACEOF
8581 rm -f conftest.$ac_objext conftest$ac_exeext
8582 if { (ac_try="$ac_link"
8583 case "(($ac_try" in
8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8585 *) ac_try_echo=$ac_try;;
8586 esac
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_link") 2>conftest.er1
8589 ac_status=$?
8590 grep -v '^ *+' conftest.er1 >conftest.err
8591 rm -f conftest.er1
8592 cat conftest.err >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } && {
8595 test -z "$ac_c_werror_flag" ||
8596 test ! -s conftest.err
8597 } && test -s conftest$ac_exeext &&
8598 $as_test_x conftest$ac_exeext; then
8599 eval "$as_ac_var=yes"
8600 else
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8604 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 ac_res=`eval echo '${'$as_ac_var'}'`
8612 { echo "$as_me:$LINENO: result: $ac_res" >&5
8613 echo "${ECHO_T}$ac_res" >&6; }
8614 if test `eval echo '${'$as_ac_var'}'` = yes; then
8615 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8616 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8617 else
8618 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8619 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8620 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 else
8624 ac_wine_try_cflags_saved=$CFLAGS
8625 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8626 cat >conftest.$ac_ext <<_ACEOF
8627 /* confdefs.h. */
8628 _ACEOF
8629 cat confdefs.h >>conftest.$ac_ext
8630 cat >>conftest.$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8634 main ()
8638 return 0;
8640 _ACEOF
8641 rm -f conftest.$ac_objext conftest$ac_exeext
8642 if { (ac_try="$ac_link"
8643 case "(($ac_try" in
8644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8645 *) ac_try_echo=$ac_try;;
8646 esac
8647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8648 (eval "$ac_link") 2>conftest.er1
8649 ac_status=$?
8650 grep -v '^ *+' conftest.er1 >conftest.err
8651 rm -f conftest.er1
8652 cat conftest.err >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } && {
8655 test -z "$ac_c_werror_flag" ||
8656 test ! -s conftest.err
8657 } && test -s conftest$ac_exeext &&
8658 $as_test_x conftest$ac_exeext; then
8659 eval "$as_ac_var=yes"
8660 else
8661 echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.$ac_ext >&5
8664 eval "$as_ac_var=no"
8667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8668 conftest$ac_exeext conftest.$ac_ext
8669 CFLAGS=$ac_wine_try_cflags_saved
8671 ac_res=`eval echo '${'$as_ac_var'}'`
8672 { echo "$as_me:$LINENO: result: $ac_res" >&5
8673 echo "${ECHO_T}$ac_res" >&6; }
8674 if test `eval echo '${'$as_ac_var'}'` = yes; then
8675 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8676 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8682 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8683 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8684 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 else
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8689 cat >conftest.$ac_ext <<_ACEOF
8690 /* confdefs.h. */
8691 _ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8697 main ()
8701 return 0;
8703 _ACEOF
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (ac_try="$ac_link"
8706 case "(($ac_try" in
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8709 esac
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_link") 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest$ac_exeext &&
8721 $as_test_x conftest$ac_exeext; then
8722 ac_cv_cflags__Wl___enable_new_dtags=yes
8723 else
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8727 ac_cv_cflags__Wl___enable_new_dtags=no
8730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8735 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8736 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8737 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8741 case $host_cpu in
8742 *i[3456789]86* | x86_64)
8743 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8744 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8745 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 else
8748 ac_wine_try_cflags_saved=$CFLAGS
8749 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8750 cat >conftest.$ac_ext <<_ACEOF
8751 /* confdefs.h. */
8752 _ACEOF
8753 cat confdefs.h >>conftest.$ac_ext
8754 cat >>conftest.$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8758 main ()
8762 return 0;
8764 _ACEOF
8765 rm -f conftest.$ac_objext conftest$ac_exeext
8766 if { (ac_try="$ac_link"
8767 case "(($ac_try" in
8768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8769 *) ac_try_echo=$ac_try;;
8770 esac
8771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8772 (eval "$ac_link") 2>conftest.er1
8773 ac_status=$?
8774 grep -v '^ *+' conftest.er1 >conftest.err
8775 rm -f conftest.er1
8776 cat conftest.err >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } && {
8779 test -z "$ac_c_werror_flag" ||
8780 test ! -s conftest.err
8781 } && test -s conftest$ac_exeext &&
8782 $as_test_x conftest$ac_exeext; then
8783 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8784 else
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8788 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8796 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8797 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8798 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8802 esac
8804 else
8805 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8806 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8807 if test "${ac_cv_c_dll_unixware+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8809 else
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8812 cat >conftest.$ac_ext <<_ACEOF
8813 void myfunc() {}
8814 _ACEOF
8815 rm -f conftest.$ac_objext conftest$ac_exeext
8816 if { (ac_try="$ac_link"
8817 case "(($ac_try" in
8818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8819 *) ac_try_echo=$ac_try;;
8820 esac
8821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8822 (eval "$ac_link") 2>conftest.er1
8823 ac_status=$?
8824 grep -v '^ *+' conftest.er1 >conftest.err
8825 rm -f conftest.er1
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } && {
8829 test -z "$ac_c_werror_flag" ||
8830 test ! -s conftest.err
8831 } && test -s conftest$ac_exeext &&
8832 $as_test_x conftest$ac_exeext; then
8833 ac_cv_c_dll_unixware="yes"
8834 else
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.$ac_ext >&5
8838 ac_cv_c_dll_unixware="no"
8841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8842 conftest$ac_exeext conftest.$ac_ext
8843 CFLAGS=$ac_wine_try_cflags_saved
8845 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8846 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8847 if test "$ac_cv_c_dll_unixware" = "yes"
8848 then
8849 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8850 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8852 else
8853 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8854 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8855 if test "${ac_cv_c_dll_hpux+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 else
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -shared"
8860 cat >conftest.$ac_ext <<_ACEOF
8861 void myfunc() {}
8862 _ACEOF
8863 rm -f conftest.$ac_objext conftest$ac_exeext
8864 if { (ac_try="$ac_link"
8865 case "(($ac_try" in
8866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8867 *) ac_try_echo=$ac_try;;
8868 esac
8869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8870 (eval "$ac_link") 2>conftest.er1
8871 ac_status=$?
8872 grep -v '^ *+' conftest.er1 >conftest.err
8873 rm -f conftest.er1
8874 cat conftest.err >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } && {
8877 test -z "$ac_c_werror_flag" ||
8878 test ! -s conftest.err
8879 } && test -s conftest$ac_exeext &&
8880 $as_test_x conftest$ac_exeext; then
8881 ac_cv_c_dll_hpux="yes"
8882 else
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.$ac_ext >&5
8886 ac_cv_c_dll_hpux="no"
8889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8890 conftest$ac_exeext conftest.$ac_ext
8891 CFLAGS=$ac_wine_try_cflags_saved
8893 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8894 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8895 if test "$ac_cv_c_dll_hpux" = "yes"
8896 then
8897 LIBEXT="sl"
8898 DLLEXT=".sl"
8899 LDDLLFLAGS="-shared -fPIC"
8900 LDSHARED="\$(CC) -shared"
8905 CROSSTEST=""
8907 if test "$cross_compiling" = "no"
8908 then
8909 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8911 # Extract the first word of "$ac_prog", so it can be a program name with args.
8912 set dummy $ac_prog; ac_word=$2
8913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8915 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 else
8918 if test -n "$CROSSCC"; then
8919 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8920 else
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8922 for as_dir in $PATH
8924 IFS=$as_save_IFS
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_prog_CROSSCC="$ac_prog"
8929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 break 2
8932 done
8933 done
8934 IFS=$as_save_IFS
8938 CROSSCC=$ac_cv_prog_CROSSCC
8939 if test -n "$CROSSCC"; then
8940 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8941 echo "${ECHO_T}$CROSSCC" >&6; }
8942 else
8943 { echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6; }
8948 test -n "$CROSSCC" && break
8949 done
8950 test -n "$CROSSCC" || CROSSCC="false"
8952 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8954 # Extract the first word of "$ac_prog", so it can be a program name with args.
8955 set dummy $ac_prog; ac_word=$2
8956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8958 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 else
8961 if test -n "$DLLTOOL"; then
8962 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8963 else
8964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8965 for as_dir in $PATH
8967 IFS=$as_save_IFS
8968 test -z "$as_dir" && as_dir=.
8969 for ac_exec_ext in '' $ac_executable_extensions; do
8970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8971 ac_cv_prog_DLLTOOL="$ac_prog"
8972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8973 break 2
8975 done
8976 done
8977 IFS=$as_save_IFS
8981 DLLTOOL=$ac_cv_prog_DLLTOOL
8982 if test -n "$DLLTOOL"; then
8983 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8984 echo "${ECHO_T}$DLLTOOL" >&6; }
8985 else
8986 { echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6; }
8991 test -n "$DLLTOOL" && break
8992 done
8993 test -n "$DLLTOOL" || DLLTOOL="false"
8995 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8997 # Extract the first word of "$ac_prog", so it can be a program name with args.
8998 set dummy $ac_prog; ac_word=$2
8999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9001 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 else
9004 if test -n "$CROSSWINDRES"; then
9005 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9006 else
9007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9008 for as_dir in $PATH
9010 IFS=$as_save_IFS
9011 test -z "$as_dir" && as_dir=.
9012 for ac_exec_ext in '' $ac_executable_extensions; do
9013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9014 ac_cv_prog_CROSSWINDRES="$ac_prog"
9015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 break 2
9018 done
9019 done
9020 IFS=$as_save_IFS
9024 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9025 if test -n "$CROSSWINDRES"; then
9026 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9027 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9028 else
9029 { echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6; }
9034 test -n "$CROSSWINDRES" && break
9035 done
9036 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9038 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9040 # Extract the first word of "$ac_prog", so it can be a program name with args.
9041 set dummy $ac_prog; ac_word=$2
9042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9044 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 else
9047 if test -n "$MINGWAR"; then
9048 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9049 else
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 for as_dir in $PATH
9053 IFS=$as_save_IFS
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057 ac_cv_prog_MINGWAR="$ac_prog"
9058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 break 2
9061 done
9062 done
9063 IFS=$as_save_IFS
9067 MINGWAR=$ac_cv_prog_MINGWAR
9068 if test -n "$MINGWAR"; then
9069 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9070 echo "${ECHO_T}$MINGWAR" >&6; }
9071 else
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9077 test -n "$MINGWAR" && break
9078 done
9079 test -n "$MINGWAR" || MINGWAR="false"
9081 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9084 esac
9086 if test "$LIBEXT" = "a"; then
9087 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9088 It is currently not possible to build Wine without shared library
9089 (.so) support to allow transparent switch between .so and .dll files.
9090 If you are using Linux, you will need a newer binutils.
9091 " >&5
9092 echo "$as_me: error: could not find a way to build shared libraries.
9093 It is currently not possible to build Wine without shared library
9094 (.so) support to allow transparent switch between .so and .dll files.
9095 If you are using Linux, you will need a newer binutils.
9096 " >&2;}
9097 { (exit 1); exit 1; }; }
9101 if test "$have_x" = "yes"
9102 then
9103 XLIB="-lXext -lX11"
9104 ac_save_CPPFLAGS="$CPPFLAGS"
9105 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9107 { echo "$as_me:$LINENO: checking for -lX11" >&5
9108 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9109 if test "${ac_cv_lib_soname_X11+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 else
9112 ac_check_soname_save_LIBS=$LIBS
9113 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9114 cat >conftest.$ac_ext <<_ACEOF
9115 /* confdefs.h. */
9116 _ACEOF
9117 cat confdefs.h >>conftest.$ac_ext
9118 cat >>conftest.$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9124 #ifdef __cplusplus
9125 extern "C"
9126 #endif
9127 char XCreateWindow ();
9129 main ()
9131 return XCreateWindow ();
9133 return 0;
9135 _ACEOF
9136 rm -f conftest.$ac_objext conftest$ac_exeext
9137 if { (ac_try="$ac_link"
9138 case "(($ac_try" in
9139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9140 *) ac_try_echo=$ac_try;;
9141 esac
9142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9143 (eval "$ac_link") 2>conftest.er1
9144 ac_status=$?
9145 grep -v '^ *+' conftest.er1 >conftest.err
9146 rm -f conftest.er1
9147 cat conftest.err >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); } && {
9150 test -z "$ac_c_werror_flag" ||
9151 test ! -s conftest.err
9152 } && test -s conftest$ac_exeext &&
9153 $as_test_x conftest$ac_exeext; then
9154 case "$LIBEXT" in
9155 dll) ;;
9156 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'` ;;
9157 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9158 esac
9159 else
9160 echo "$as_me: failed program was:" >&5
9161 sed 's/^/| /' conftest.$ac_ext >&5
9166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9167 conftest$ac_exeext conftest.$ac_ext
9168 LIBS=$ac_check_soname_save_LIBS
9170 if test "x$ac_cv_lib_soname_X11" = "x"; then
9171 { echo "$as_me:$LINENO: result: not found" >&5
9172 echo "${ECHO_T}not found" >&6; }
9174 else
9175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9176 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9178 cat >>confdefs.h <<_ACEOF
9179 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9180 _ACEOF
9185 { echo "$as_me:$LINENO: checking for -lXext" >&5
9186 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9187 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 else
9190 ac_check_soname_save_LIBS=$LIBS
9191 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9192 cat >conftest.$ac_ext <<_ACEOF
9193 /* confdefs.h. */
9194 _ACEOF
9195 cat confdefs.h >>conftest.$ac_ext
9196 cat >>conftest.$ac_ext <<_ACEOF
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9202 #ifdef __cplusplus
9203 extern "C"
9204 #endif
9205 char XextCreateExtension ();
9207 main ()
9209 return XextCreateExtension ();
9211 return 0;
9213 _ACEOF
9214 rm -f conftest.$ac_objext conftest$ac_exeext
9215 if { (ac_try="$ac_link"
9216 case "(($ac_try" in
9217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9218 *) ac_try_echo=$ac_try;;
9219 esac
9220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9221 (eval "$ac_link") 2>conftest.er1
9222 ac_status=$?
9223 grep -v '^ *+' conftest.er1 >conftest.err
9224 rm -f conftest.er1
9225 cat conftest.err >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && {
9228 test -z "$ac_c_werror_flag" ||
9229 test ! -s conftest.err
9230 } && test -s conftest$ac_exeext &&
9231 $as_test_x conftest$ac_exeext; then
9232 case "$LIBEXT" in
9233 dll) ;;
9234 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'` ;;
9235 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9236 esac
9237 else
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.$ac_ext >&5
9244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_soname_save_LIBS
9248 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9249 { echo "$as_me:$LINENO: result: not found" >&5
9250 echo "${ECHO_T}not found" >&6; }
9252 else
9253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9254 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9256 cat >>confdefs.h <<_ACEOF
9257 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9258 _ACEOF
9275 for ac_header in X11/Xlib.h \
9276 X11/XKBlib.h \
9277 X11/Xutil.h \
9278 X11/Xcursor/Xcursor.h \
9279 X11/extensions/shape.h \
9280 X11/extensions/XInput.h \
9281 X11/extensions/XShm.h \
9282 X11/extensions/Xinerama.h \
9283 X11/extensions/Xrandr.h \
9284 X11/extensions/Xrender.h \
9285 X11/extensions/xf86vmode.h
9287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 else
9293 cat >conftest.$ac_ext <<_ACEOF
9294 /* confdefs.h. */
9295 _ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9299 #ifdef HAVE_X11_XLIB_H
9300 # include <X11/Xlib.h>
9301 #endif
9302 #ifdef HAVE_X11_XUTIL_H
9303 # include <X11/Xutil.h>
9304 #endif
9306 #include <$ac_header>
9307 _ACEOF
9308 rm -f conftest.$ac_objext
9309 if { (ac_try="$ac_compile"
9310 case "(($ac_try" in
9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9312 *) ac_try_echo=$ac_try;;
9313 esac
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_compile") 2>conftest.er1
9316 ac_status=$?
9317 grep -v '^ *+' conftest.er1 >conftest.err
9318 rm -f conftest.er1
9319 cat conftest.err >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest.$ac_objext; then
9325 eval "$as_ac_Header=yes"
9326 else
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.$ac_ext >&5
9330 eval "$as_ac_Header=no"
9333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9335 ac_res=`eval echo '${'$as_ac_Header'}'`
9336 { echo "$as_me:$LINENO: result: $ac_res" >&5
9337 echo "${ECHO_T}$ac_res" >&6; }
9338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9339 cat >>confdefs.h <<_ACEOF
9340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9341 _ACEOF
9345 done
9348 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9349 then
9350 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9351 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9352 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9355 ac_check_lib_save_LIBS=$LIBS
9356 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9357 cat >conftest.$ac_ext <<_ACEOF
9358 /* confdefs.h. */
9359 _ACEOF
9360 cat confdefs.h >>conftest.$ac_ext
9361 cat >>conftest.$ac_ext <<_ACEOF
9362 /* end confdefs.h. */
9364 /* Override any GCC internal prototype to avoid an error.
9365 Use char because int might match the return type of a GCC
9366 builtin and then its argument prototype would still apply. */
9367 #ifdef __cplusplus
9368 extern "C"
9369 #endif
9370 char XkbQueryExtension ();
9372 main ()
9374 return XkbQueryExtension ();
9376 return 0;
9378 _ACEOF
9379 rm -f conftest.$ac_objext conftest$ac_exeext
9380 if { (ac_try="$ac_link"
9381 case "(($ac_try" in
9382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9383 *) ac_try_echo=$ac_try;;
9384 esac
9385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9386 (eval "$ac_link") 2>conftest.er1
9387 ac_status=$?
9388 grep -v '^ *+' conftest.er1 >conftest.err
9389 rm -f conftest.er1
9390 cat conftest.err >&5
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); } && {
9393 test -z "$ac_c_werror_flag" ||
9394 test ! -s conftest.err
9395 } && test -s conftest$ac_exeext &&
9396 $as_test_x conftest$ac_exeext; then
9397 ac_cv_lib_X11_XkbQueryExtension=yes
9398 else
9399 echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9402 ac_cv_lib_X11_XkbQueryExtension=no
9405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9410 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9411 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9413 cat >>confdefs.h <<\_ACEOF
9414 #define HAVE_XKB 1
9415 _ACEOF
9421 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9422 then
9423 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9424 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9425 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 else
9428 ac_check_soname_save_LIBS=$LIBS
9429 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9430 cat >conftest.$ac_ext <<_ACEOF
9431 /* confdefs.h. */
9432 _ACEOF
9433 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9437 /* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
9440 #ifdef __cplusplus
9441 extern "C"
9442 #endif
9443 char XcursorImageLoadCursor ();
9445 main ()
9447 return XcursorImageLoadCursor ();
9449 return 0;
9451 _ACEOF
9452 rm -f conftest.$ac_objext conftest$ac_exeext
9453 if { (ac_try="$ac_link"
9454 case "(($ac_try" in
9455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9456 *) ac_try_echo=$ac_try;;
9457 esac
9458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9459 (eval "$ac_link") 2>conftest.er1
9460 ac_status=$?
9461 grep -v '^ *+' conftest.er1 >conftest.err
9462 rm -f conftest.er1
9463 cat conftest.err >&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } && {
9466 test -z "$ac_c_werror_flag" ||
9467 test ! -s conftest.err
9468 } && test -s conftest$ac_exeext &&
9469 $as_test_x conftest$ac_exeext; then
9470 case "$LIBEXT" in
9471 dll) ;;
9472 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'` ;;
9473 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9474 esac
9475 else
9476 echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_soname_save_LIBS
9486 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9487 { echo "$as_me:$LINENO: result: not found" >&5
9488 echo "${ECHO_T}not found" >&6; }
9490 else
9491 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9492 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9494 cat >>confdefs.h <<_ACEOF
9495 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9496 _ACEOF
9503 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9504 then
9505 { echo "$as_me:$LINENO: checking for -lXi" >&5
9506 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9507 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 else
9510 ac_check_soname_save_LIBS=$LIBS
9511 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9512 cat >conftest.$ac_ext <<_ACEOF
9513 /* confdefs.h. */
9514 _ACEOF
9515 cat confdefs.h >>conftest.$ac_ext
9516 cat >>conftest.$ac_ext <<_ACEOF
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9522 #ifdef __cplusplus
9523 extern "C"
9524 #endif
9525 char XOpenDevice ();
9527 main ()
9529 return XOpenDevice ();
9531 return 0;
9533 _ACEOF
9534 rm -f conftest.$ac_objext conftest$ac_exeext
9535 if { (ac_try="$ac_link"
9536 case "(($ac_try" in
9537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9538 *) ac_try_echo=$ac_try;;
9539 esac
9540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9541 (eval "$ac_link") 2>conftest.er1
9542 ac_status=$?
9543 grep -v '^ *+' conftest.er1 >conftest.err
9544 rm -f conftest.er1
9545 cat conftest.err >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } && {
9548 test -z "$ac_c_werror_flag" ||
9549 test ! -s conftest.err
9550 } && test -s conftest$ac_exeext &&
9551 $as_test_x conftest$ac_exeext; then
9552 case "$LIBEXT" in
9553 dll) ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9556 esac
9557 else
9558 echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.$ac_ext >&5
9564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_soname_save_LIBS
9568 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9569 { echo "$as_me:$LINENO: result: not found" >&5
9570 echo "${ECHO_T}not found" >&6; }
9572 else
9573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9574 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9576 cat >>confdefs.h <<_ACEOF
9577 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9578 _ACEOF
9585 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9586 then
9587 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9588 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9589 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 else
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9594 cat >conftest.$ac_ext <<_ACEOF
9595 /* confdefs.h. */
9596 _ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 #endif
9607 char XShmQueryExtension ();
9609 main ()
9611 return XShmQueryExtension ();
9613 return 0;
9615 _ACEOF
9616 rm -f conftest.$ac_objext conftest$ac_exeext
9617 if { (ac_try="$ac_link"
9618 case "(($ac_try" in
9619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9620 *) ac_try_echo=$ac_try;;
9621 esac
9622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9623 (eval "$ac_link") 2>conftest.er1
9624 ac_status=$?
9625 grep -v '^ *+' conftest.er1 >conftest.err
9626 rm -f conftest.er1
9627 cat conftest.err >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } && {
9630 test -z "$ac_c_werror_flag" ||
9631 test ! -s conftest.err
9632 } && test -s conftest$ac_exeext &&
9633 $as_test_x conftest$ac_exeext; then
9634 ac_cv_lib_Xext_XShmQueryExtension=yes
9635 else
9636 echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.$ac_ext >&5
9639 ac_cv_lib_Xext_XShmQueryExtension=no
9642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9647 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9648 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9650 cat >>confdefs.h <<\_ACEOF
9651 #define HAVE_LIBXXSHM 1
9652 _ACEOF
9657 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9658 wine_notices="$wine_notices|XShm development files not found.
9659 Wine will be built without XShm support. (winex11.drv)"
9663 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9664 then
9665 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9666 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9667 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9672 cat >conftest.$ac_ext <<_ACEOF
9673 /* confdefs.h. */
9674 _ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char XShapeQueryExtension ();
9687 main ()
9689 return XShapeQueryExtension ();
9691 return 0;
9693 _ACEOF
9694 rm -f conftest.$ac_objext conftest$ac_exeext
9695 if { (ac_try="$ac_link"
9696 case "(($ac_try" in
9697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9698 *) ac_try_echo=$ac_try;;
9699 esac
9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9701 (eval "$ac_link") 2>conftest.er1
9702 ac_status=$?
9703 grep -v '^ *+' conftest.er1 >conftest.err
9704 rm -f conftest.er1
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } && {
9708 test -z "$ac_c_werror_flag" ||
9709 test ! -s conftest.err
9710 } && test -s conftest$ac_exeext &&
9711 $as_test_x conftest$ac_exeext; then
9712 ac_cv_lib_Xext_XShapeQueryExtension=yes
9713 else
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.$ac_ext >&5
9717 ac_cv_lib_Xext_XShapeQueryExtension=no
9720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9725 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9726 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9728 cat >>confdefs.h <<\_ACEOF
9729 #define HAVE_LIBXSHAPE 1
9730 _ACEOF
9735 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9736 wine_notices="$wine_notices|XShape development files not found.
9737 Wine will be built without XShape support. (winex11.drv)"
9741 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9742 then
9743 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9744 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9745 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9746 echo $ECHO_N "(cached) $ECHO_C" >&6
9747 else
9748 ac_check_lib_save_LIBS=$LIBS
9749 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9750 cat >conftest.$ac_ext <<_ACEOF
9751 /* confdefs.h. */
9752 _ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9760 #ifdef __cplusplus
9761 extern "C"
9762 #endif
9763 char XF86VidModeQueryExtension ();
9765 main ()
9767 return XF86VidModeQueryExtension ();
9769 return 0;
9771 _ACEOF
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (ac_try="$ac_link"
9774 case "(($ac_try" in
9775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9776 *) ac_try_echo=$ac_try;;
9777 esac
9778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9779 (eval "$ac_link") 2>conftest.er1
9780 ac_status=$?
9781 grep -v '^ *+' conftest.er1 >conftest.err
9782 rm -f conftest.er1
9783 cat conftest.err >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } && {
9786 test -z "$ac_c_werror_flag" ||
9787 test ! -s conftest.err
9788 } && test -s conftest$ac_exeext &&
9789 $as_test_x conftest$ac_exeext; then
9790 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9791 else
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9795 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_lib_save_LIBS
9802 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9803 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9804 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9806 cat >>confdefs.h <<\_ACEOF
9807 #define HAVE_LIBXXF86VM 1
9808 _ACEOF
9810 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9815 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9816 wine_notices="$wine_notices|Xxf86vm development files not found.
9817 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9821 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"
9822 then
9823 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9824 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9825 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 else
9828 ac_check_soname_save_LIBS=$LIBS
9829 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9830 cat >conftest.$ac_ext <<_ACEOF
9831 /* confdefs.h. */
9832 _ACEOF
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char XRenderQueryExtension ();
9845 main ()
9847 return XRenderQueryExtension ();
9849 return 0;
9851 _ACEOF
9852 rm -f conftest.$ac_objext conftest$ac_exeext
9853 if { (ac_try="$ac_link"
9854 case "(($ac_try" in
9855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9856 *) ac_try_echo=$ac_try;;
9857 esac
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_link") 2>conftest.er1
9860 ac_status=$?
9861 grep -v '^ *+' conftest.er1 >conftest.err
9862 rm -f conftest.er1
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext &&
9869 $as_test_x conftest$ac_exeext; then
9870 case "$LIBEXT" in
9871 dll) ;;
9872 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'` ;;
9873 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9874 esac
9875 else
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.$ac_ext >&5
9882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9883 conftest$ac_exeext conftest.$ac_ext
9884 LIBS=$ac_check_soname_save_LIBS
9886 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9887 { echo "$as_me:$LINENO: result: not found" >&5
9888 echo "${ECHO_T}not found" >&6; }
9890 else
9891 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9892 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9894 cat >>confdefs.h <<_ACEOF
9895 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9896 _ACEOF
9898 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9899 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9900 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 else
9903 ac_check_lib_save_LIBS=$LIBS
9904 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h. */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XRenderSetPictureTransform ();
9920 main ()
9922 return XRenderSetPictureTransform ();
9924 return 0;
9926 _ACEOF
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (ac_try="$ac_link"
9929 case "(($ac_try" in
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9932 esac
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_link") 2>conftest.er1
9935 ac_status=$?
9936 grep -v '^ *+' conftest.er1 >conftest.err
9937 rm -f conftest.er1
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest$ac_exeext &&
9944 $as_test_x conftest$ac_exeext; then
9945 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9946 else
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.$ac_ext >&5
9950 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_lib_save_LIBS
9957 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9958 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9959 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9961 cat >>confdefs.h <<\_ACEOF
9962 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9963 _ACEOF
9971 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9972 wine_notices="$wine_notices|XRender development files not found.
9973 Wine will be built without XRender support. (winex11.drv)"
9977 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9978 then
9979 cat >conftest.$ac_ext <<_ACEOF
9980 /* confdefs.h. */
9981 _ACEOF
9982 cat confdefs.h >>conftest.$ac_ext
9983 cat >>conftest.$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9985 #include <X11/Xlib.h>
9986 #include <X11/extensions/Xrandr.h>
9988 main ()
9990 static typeof(XRRSetScreenConfigAndRate) * func;
9992 return 0;
9994 _ACEOF
9995 rm -f conftest.$ac_objext
9996 if { (ac_try="$ac_compile"
9997 case "(($ac_try" in
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10000 esac
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10003 ac_status=$?
10004 grep -v '^ *+' conftest.er1 >conftest.err
10005 rm -f conftest.er1
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest.$ac_objext; then
10012 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10013 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 else
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.$ac_ext <<_ACEOF
10020 /* confdefs.h. */
10021 _ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XRRQueryExtension ();
10034 main ()
10036 return XRRQueryExtension ();
10038 return 0;
10040 _ACEOF
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (ac_try="$ac_link"
10043 case "(($ac_try" in
10044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10046 esac
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10049 ac_status=$?
10050 grep -v '^ *+' conftest.er1 >conftest.err
10051 rm -f conftest.er1
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest$ac_exeext &&
10058 $as_test_x conftest$ac_exeext; then
10059 case "$LIBEXT" in
10060 dll) ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10063 esac
10064 else
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.$ac_ext >&5
10071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 { echo "$as_me:$LINENO: result: not found" >&5
10077 echo "${ECHO_T}not found" >&6; }
10079 else
10080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10081 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10083 cat >>confdefs.h <<_ACEOF
10084 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10085 _ACEOF
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10099 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10100 wine_notices="$wine_notices|XRandr development files not found.
10101 Wine will be built without XRandr support. (winex11.drv)"
10105 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10106 then
10107 cat >conftest.$ac_ext <<_ACEOF
10108 /* confdefs.h. */
10109 _ACEOF
10110 cat confdefs.h >>conftest.$ac_ext
10111 cat >>conftest.$ac_ext <<_ACEOF
10112 /* end confdefs.h. */
10113 #include <X11/Xlib.h>
10114 #include <X11/extensions/Xinerama.h>
10116 main ()
10118 static typeof(XineramaQueryScreens) * func;
10120 return 0;
10122 _ACEOF
10123 rm -f conftest.$ac_objext
10124 if { (ac_try="$ac_compile"
10125 case "(($ac_try" in
10126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10127 *) ac_try_echo=$ac_try;;
10128 esac
10129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10130 (eval "$ac_compile") 2>conftest.er1
10131 ac_status=$?
10132 grep -v '^ *+' conftest.er1 >conftest.err
10133 rm -f conftest.er1
10134 cat conftest.err >&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); } && {
10137 test -z "$ac_c_werror_flag" ||
10138 test ! -s conftest.err
10139 } && test -s conftest.$ac_objext; then
10140 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10141 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10142 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10143 echo $ECHO_N "(cached) $ECHO_C" >&6
10144 else
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10147 cat >conftest.$ac_ext <<_ACEOF
10148 /* confdefs.h. */
10149 _ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10157 #ifdef __cplusplus
10158 extern "C"
10159 #endif
10160 char XineramaQueryScreens ();
10162 main ()
10164 return XineramaQueryScreens ();
10166 return 0;
10168 _ACEOF
10169 rm -f conftest.$ac_objext conftest$ac_exeext
10170 if { (ac_try="$ac_link"
10171 case "(($ac_try" in
10172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10173 *) ac_try_echo=$ac_try;;
10174 esac
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_link") 2>conftest.er1
10177 ac_status=$?
10178 grep -v '^ *+' conftest.er1 >conftest.err
10179 rm -f conftest.er1
10180 cat conftest.err >&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } && {
10183 test -z "$ac_c_werror_flag" ||
10184 test ! -s conftest.err
10185 } && test -s conftest$ac_exeext &&
10186 $as_test_x conftest$ac_exeext; then
10187 case "$LIBEXT" in
10188 dll) ;;
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10191 esac
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 { echo "$as_me:$LINENO: result: not found" >&5
10205 echo "${ECHO_T}not found" >&6; }
10207 else
10208 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10209 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10211 cat >>confdefs.h <<_ACEOF
10212 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10213 _ACEOF
10218 else
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10228 wine_notices="$wine_notices|Xinerama development files not found.
10229 Wine will be built without Xinerama support. (winex11.drv)"
10234 if test "x$with_opengl" != "xno"
10235 then
10240 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 else
10248 cat >conftest.$ac_ext <<_ACEOF
10249 /* confdefs.h. */
10250 _ACEOF
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 #ifdef HAVE_GL_GLX_H
10255 # include <GL/glx.h>
10256 #endif
10258 #include <$ac_header>
10259 _ACEOF
10260 rm -f conftest.$ac_objext
10261 if { (ac_try="$ac_compile"
10262 case "(($ac_try" in
10263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10265 esac
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_compile") 2>conftest.er1
10268 ac_status=$?
10269 grep -v '^ *+' conftest.er1 >conftest.err
10270 rm -f conftest.er1
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } && {
10274 test -z "$ac_c_werror_flag" ||
10275 test ! -s conftest.err
10276 } && test -s conftest.$ac_objext; then
10277 eval "$as_ac_Header=yes"
10278 else
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 eval "$as_ac_Header=no"
10285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10287 ac_res=`eval echo '${'$as_ac_Header'}'`
10288 { echo "$as_me:$LINENO: result: $ac_res" >&5
10289 echo "${ECHO_T}$ac_res" >&6; }
10290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10291 cat >>confdefs.h <<_ACEOF
10292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10293 _ACEOF
10297 done
10299 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10300 then
10301 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10302 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10303 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 cat >conftest.$ac_ext <<_ACEOF
10307 /* confdefs.h. */
10308 _ACEOF
10309 cat confdefs.h >>conftest.$ac_ext
10310 cat >>conftest.$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10312 #include <GL/gl.h>
10314 main ()
10316 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10318 return 0;
10320 _ACEOF
10321 rm -f conftest.$ac_objext
10322 if { (ac_try="$ac_compile"
10323 case "(($ac_try" in
10324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10325 *) ac_try_echo=$ac_try;;
10326 esac
10327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10328 (eval "$ac_compile") 2>conftest.er1
10329 ac_status=$?
10330 grep -v '^ *+' conftest.er1 >conftest.err
10331 rm -f conftest.er1
10332 cat conftest.err >&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } && {
10335 test -z "$ac_c_werror_flag" ||
10336 test ! -s conftest.err
10337 } && test -s conftest.$ac_objext; then
10338 wine_cv_opengl_header_version_OK="yes"
10339 else
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10343 wine_cv_opengl_header_version_OK="no"
10346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10348 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10349 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10351 if test "$wine_cv_opengl_header_version_OK" = "yes"
10352 then
10353 { echo "$as_me:$LINENO: checking for -lGL" >&5
10354 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10355 if test "${ac_cv_lib_soname_GL+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10357 else
10358 ac_check_soname_save_LIBS=$LIBS
10359 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10360 cat >conftest.$ac_ext <<_ACEOF
10361 /* confdefs.h. */
10362 _ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char glXCreateContext ();
10375 main ()
10377 return glXCreateContext ();
10379 return 0;
10381 _ACEOF
10382 rm -f conftest.$ac_objext conftest$ac_exeext
10383 if { (ac_try="$ac_link"
10384 case "(($ac_try" in
10385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10386 *) ac_try_echo=$ac_try;;
10387 esac
10388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10389 (eval "$ac_link") 2>conftest.er1
10390 ac_status=$?
10391 grep -v '^ *+' conftest.er1 >conftest.err
10392 rm -f conftest.er1
10393 cat conftest.err >&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); } && {
10396 test -z "$ac_c_werror_flag" ||
10397 test ! -s conftest.err
10398 } && test -s conftest$ac_exeext &&
10399 $as_test_x conftest$ac_exeext; then
10400 case "$LIBEXT" in
10401 dll) ;;
10402 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'` ;;
10403 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10404 esac
10405 else
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10413 conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_soname_save_LIBS
10416 if test "x$ac_cv_lib_soname_GL" = "x"; then
10417 { echo "$as_me:$LINENO: result: not found" >&5
10418 echo "${ECHO_T}not found" >&6; }
10419 if test -f /usr/X11R6/lib/libGL.a
10420 then
10421 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10422 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10423 else
10424 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10425 Wine will be build without OpenGL or Direct3D support."
10427 else
10428 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10429 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10433 _ACEOF
10435 OPENGL_LIBS="-lGL"
10436 OPENGLFILES='$(OPENGLFILES)'
10438 cat >>confdefs.h <<\_ACEOF
10439 #define HAVE_OPENGL 1
10440 _ACEOF
10445 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10446 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10447 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450 ac_check_lib_save_LIBS=$LIBS
10451 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10452 cat >conftest.$ac_ext <<_ACEOF
10453 /* confdefs.h. */
10454 _ACEOF
10455 cat confdefs.h >>conftest.$ac_ext
10456 cat >>conftest.$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char gluLookAt ();
10467 main ()
10469 return gluLookAt ();
10471 return 0;
10473 _ACEOF
10474 rm -f conftest.$ac_objext conftest$ac_exeext
10475 if { (ac_try="$ac_link"
10476 case "(($ac_try" in
10477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10478 *) ac_try_echo=$ac_try;;
10479 esac
10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10481 (eval "$ac_link") 2>conftest.er1
10482 ac_status=$?
10483 grep -v '^ *+' conftest.er1 >conftest.err
10484 rm -f conftest.er1
10485 cat conftest.err >&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && {
10488 test -z "$ac_c_werror_flag" ||
10489 test ! -s conftest.err
10490 } && test -s conftest$ac_exeext &&
10491 $as_test_x conftest$ac_exeext; then
10492 ac_cv_lib_GLU_gluLookAt=yes
10493 else
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.$ac_ext >&5
10497 ac_cv_lib_GLU_gluLookAt=no
10500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10505 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10506 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10507 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10508 GLU32FILES='$(GLU32FILES)'
10512 else
10513 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10514 Wine will be build without OpenGL or Direct3D support."
10516 else
10517 wine_warnings="$wine_warnings|OpenGL development headers not found.
10518 Wine will be build without OpenGL or Direct3D support."
10522 NASLIBS=""
10525 for ac_header in audio/audiolib.h
10527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 ac_res=`eval echo '${'$as_ac_Header'}'`
10535 { echo "$as_me:$LINENO: result: $ac_res" >&5
10536 echo "${ECHO_T}$ac_res" >&6; }
10537 else
10538 # Is the header compilable?
10539 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10541 cat >conftest.$ac_ext <<_ACEOF
10542 /* confdefs.h. */
10543 _ACEOF
10544 cat confdefs.h >>conftest.$ac_ext
10545 cat >>conftest.$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10547 $ac_includes_default
10548 #include <$ac_header>
10549 _ACEOF
10550 rm -f conftest.$ac_objext
10551 if { (ac_try="$ac_compile"
10552 case "(($ac_try" in
10553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10555 esac
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_compile") 2>conftest.er1
10558 ac_status=$?
10559 grep -v '^ *+' conftest.er1 >conftest.err
10560 rm -f conftest.er1
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest.$ac_objext; then
10567 ac_header_compiler=yes
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 ac_header_compiler=no
10575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10576 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10577 echo "${ECHO_T}$ac_header_compiler" >&6; }
10579 # Is the header present?
10580 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <$ac_header>
10589 _ACEOF
10590 if { (ac_try="$ac_cpp conftest.$ac_ext"
10591 case "(($ac_try" in
10592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593 *) ac_try_echo=$ac_try;;
10594 esac
10595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10597 ac_status=$?
10598 grep -v '^ *+' conftest.er1 >conftest.err
10599 rm -f conftest.er1
10600 cat conftest.err >&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } >/dev/null && {
10603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10605 }; then
10606 ac_header_preproc=yes
10607 else
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.$ac_ext >&5
10611 ac_header_preproc=no
10614 rm -f conftest.err conftest.$ac_ext
10615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10616 echo "${ECHO_T}$ac_header_preproc" >&6; }
10618 # So? What about this header?
10619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10620 yes:no: )
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10625 ac_header_preproc=yes
10627 no:yes:* )
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10640 ( cat <<\_ASBOX
10641 ## ------------------------------------ ##
10642 ## Report this to wine-devel@winehq.org ##
10643 ## ------------------------------------ ##
10644 _ASBOX
10645 ) | sed "s/^/$as_me: WARNING: /" >&2
10647 esac
10648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 else
10653 eval "$as_ac_Header=\$ac_header_preproc"
10655 ac_res=`eval echo '${'$as_ac_Header'}'`
10656 { echo "$as_me:$LINENO: result: $ac_res" >&5
10657 echo "${ECHO_T}$ac_res" >&6; }
10660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10661 cat >>confdefs.h <<_ACEOF
10662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10663 _ACEOF
10665 for ac_header in audio/soundlib.h
10667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 else
10673 cat >conftest.$ac_ext <<_ACEOF
10674 /* confdefs.h. */
10675 _ACEOF
10676 cat confdefs.h >>conftest.$ac_ext
10677 cat >>conftest.$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10679 #include <audio/audiolib.h>
10681 #include <$ac_header>
10682 _ACEOF
10683 rm -f conftest.$ac_objext
10684 if { (ac_try="$ac_compile"
10685 case "(($ac_try" in
10686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10688 esac
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_compile") 2>conftest.er1
10691 ac_status=$?
10692 grep -v '^ *+' conftest.er1 >conftest.err
10693 rm -f conftest.er1
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } && {
10697 test -z "$ac_c_werror_flag" ||
10698 test ! -s conftest.err
10699 } && test -s conftest.$ac_objext; then
10700 eval "$as_ac_Header=yes"
10701 else
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.$ac_ext >&5
10705 eval "$as_ac_Header=no"
10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10710 ac_res=`eval echo '${'$as_ac_Header'}'`
10711 { echo "$as_me:$LINENO: result: $ac_res" >&5
10712 echo "${ECHO_T}$ac_res" >&6; }
10713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10714 cat >>confdefs.h <<_ACEOF
10715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10716 _ACEOF
10720 done
10722 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10723 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10724 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 else
10727 ac_check_lib_save_LIBS=$LIBS
10728 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10739 #ifdef __cplusplus
10740 extern "C"
10741 #endif
10742 char AuCreateFlow ();
10744 main ()
10746 return AuCreateFlow ();
10748 return 0;
10750 _ACEOF
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (ac_try="$ac_link"
10753 case "(($ac_try" in
10754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10755 *) ac_try_echo=$ac_try;;
10756 esac
10757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 (eval "$ac_link") 2>conftest.er1
10759 ac_status=$?
10760 grep -v '^ *+' conftest.er1 >conftest.err
10761 rm -f conftest.er1
10762 cat conftest.err >&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err
10767 } && test -s conftest$ac_exeext &&
10768 $as_test_x conftest$ac_exeext; then
10769 ac_cv_lib_audio_AuCreateFlow=yes
10770 else
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.$ac_ext >&5
10774 ac_cv_lib_audio_AuCreateFlow=no
10777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10782 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10783 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10785 cat >>confdefs.h <<\_ACEOF
10786 #define HAVE_NAS 1
10787 _ACEOF
10789 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10790 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10791 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-lXau $X_LIBS $LIBS"
10796 cat >conftest.$ac_ext <<_ACEOF
10797 /* confdefs.h. */
10798 _ACEOF
10799 cat confdefs.h >>conftest.$ac_ext
10800 cat >>conftest.$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char XauGetBestAuthByAddr ();
10811 main ()
10813 return XauGetBestAuthByAddr ();
10815 return 0;
10817 _ACEOF
10818 rm -f conftest.$ac_objext conftest$ac_exeext
10819 if { (ac_try="$ac_link"
10820 case "(($ac_try" in
10821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10822 *) ac_try_echo=$ac_try;;
10823 esac
10824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10825 (eval "$ac_link") 2>conftest.er1
10826 ac_status=$?
10827 grep -v '^ *+' conftest.er1 >conftest.err
10828 rm -f conftest.er1
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } && {
10832 test -z "$ac_c_werror_flag" ||
10833 test ! -s conftest.err
10834 } && test -s conftest$ac_exeext &&
10835 $as_test_x conftest$ac_exeext; then
10836 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10837 else
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10849 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10850 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10851 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10852 else
10853 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10861 done
10864 CPPFLAGS="$ac_save_CPPFLAGS"
10865 XFILES='$(XFILES)'
10866 else
10867 XLIB=""
10868 X_CFLAGS=""
10869 X_LIBS=""
10870 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10871 without X support, which probably isn't what you want. You will need to install
10872 development packages of Xlib/Xfree86 at the very least."
10876 XML2LIBS=""
10878 XML2INCL=""
10880 XSLTLIBS=""
10882 XSLTINCL=""
10884 ac_save_CPPFLAGS="$CPPFLAGS"
10885 if test "$PKG_CONFIG" != "false"
10886 then
10887 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10888 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10889 else
10890 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10891 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10893 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10895 for ac_header in libxml/parser.h
10897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10902 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 ac_res=`eval echo '${'$as_ac_Header'}'`
10905 { echo "$as_me:$LINENO: result: $ac_res" >&5
10906 echo "${ECHO_T}$ac_res" >&6; }
10907 else
10908 # Is the header compilable?
10909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10911 cat >conftest.$ac_ext <<_ACEOF
10912 /* confdefs.h. */
10913 _ACEOF
10914 cat confdefs.h >>conftest.$ac_ext
10915 cat >>conftest.$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10917 $ac_includes_default
10918 #include <$ac_header>
10919 _ACEOF
10920 rm -f conftest.$ac_objext
10921 if { (ac_try="$ac_compile"
10922 case "(($ac_try" in
10923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10924 *) ac_try_echo=$ac_try;;
10925 esac
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.$ac_objext; then
10937 ac_header_compiler=yes
10938 else
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.$ac_ext >&5
10942 ac_header_compiler=no
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10947 echo "${ECHO_T}$ac_header_compiler" >&6; }
10949 # Is the header present?
10950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10952 cat >conftest.$ac_ext <<_ACEOF
10953 /* confdefs.h. */
10954 _ACEOF
10955 cat confdefs.h >>conftest.$ac_ext
10956 cat >>conftest.$ac_ext <<_ACEOF
10957 /* end confdefs.h. */
10958 #include <$ac_header>
10959 _ACEOF
10960 if { (ac_try="$ac_cpp conftest.$ac_ext"
10961 case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10964 esac
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10967 ac_status=$?
10968 grep -v '^ *+' conftest.er1 >conftest.err
10969 rm -f conftest.er1
10970 cat conftest.err >&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } >/dev/null && {
10973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10974 test ! -s conftest.err
10975 }; then
10976 ac_header_preproc=yes
10977 else
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.$ac_ext >&5
10981 ac_header_preproc=no
10984 rm -f conftest.err conftest.$ac_ext
10985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10986 echo "${ECHO_T}$ac_header_preproc" >&6; }
10988 # So? What about this header?
10989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10990 yes:no: )
10991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10995 ac_header_preproc=yes
10997 no:yes:* )
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11010 ( cat <<\_ASBOX
11011 ## ------------------------------------ ##
11012 ## Report this to wine-devel@winehq.org ##
11013 ## ------------------------------------ ##
11014 _ASBOX
11015 ) | sed "s/^/$as_me: WARNING: /" >&2
11017 esac
11018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11023 eval "$as_ac_Header=\$ac_header_preproc"
11025 ac_res=`eval echo '${'$as_ac_Header'}'`
11026 { echo "$as_me:$LINENO: result: $ac_res" >&5
11027 echo "${ECHO_T}$ac_res" >&6; }
11030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11031 cat >>confdefs.h <<_ACEOF
11032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11033 _ACEOF
11034 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11035 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11036 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 else
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-lxml2 $ac_xml_libs $LIBS"
11041 cat >conftest.$ac_ext <<_ACEOF
11042 /* confdefs.h. */
11043 _ACEOF
11044 cat confdefs.h >>conftest.$ac_ext
11045 cat >>conftest.$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11051 #ifdef __cplusplus
11052 extern "C"
11053 #endif
11054 char xmlParseMemory ();
11056 main ()
11058 return xmlParseMemory ();
11060 return 0;
11062 _ACEOF
11063 rm -f conftest.$ac_objext conftest$ac_exeext
11064 if { (ac_try="$ac_link"
11065 case "(($ac_try" in
11066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11067 *) ac_try_echo=$ac_try;;
11068 esac
11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11070 (eval "$ac_link") 2>conftest.er1
11071 ac_status=$?
11072 grep -v '^ *+' conftest.er1 >conftest.err
11073 rm -f conftest.er1
11074 cat conftest.err >&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && {
11077 test -z "$ac_c_werror_flag" ||
11078 test ! -s conftest.err
11079 } && test -s conftest$ac_exeext &&
11080 $as_test_x conftest$ac_exeext; then
11081 ac_cv_lib_xml2_xmlParseMemory=yes
11082 else
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11086 ac_cv_lib_xml2_xmlParseMemory=no
11089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS=$ac_check_lib_save_LIBS
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11094 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11095 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11097 cat >>confdefs.h <<\_ACEOF
11098 #define HAVE_LIBXML2 1
11099 _ACEOF
11101 XML2LIBS="$ac_xml_libs"
11102 XML2INCL="$ac_xml_cflags"
11105 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11106 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11107 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else
11110 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lxml2 $ac_xml_libs $LIBS"
11112 cat >conftest.$ac_ext <<_ACEOF
11113 /* confdefs.h. */
11114 _ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char xmlReadMemory ();
11127 main ()
11129 return xmlReadMemory ();
11131 return 0;
11133 _ACEOF
11134 rm -f conftest.$ac_objext conftest$ac_exeext
11135 if { (ac_try="$ac_link"
11136 case "(($ac_try" in
11137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11139 esac
11140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_link") 2>conftest.er1
11142 ac_status=$?
11143 grep -v '^ *+' conftest.er1 >conftest.err
11144 rm -f conftest.er1
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_c_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest$ac_exeext &&
11151 $as_test_x conftest$ac_exeext; then
11152 ac_cv_lib_xml2_xmlReadMemory=yes
11153 else
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.$ac_ext >&5
11157 ac_cv_lib_xml2_xmlReadMemory=no
11160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_lib_save_LIBS
11164 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11165 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11166 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11168 cat >>confdefs.h <<\_ACEOF
11169 #define HAVE_XMLREADMEMORY 1
11170 _ACEOF
11174 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11175 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11176 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11178 else
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lxml2 $ac_xml_libs $LIBS"
11181 cat >conftest.$ac_ext <<_ACEOF
11182 /* confdefs.h. */
11183 _ACEOF
11184 cat confdefs.h >>conftest.$ac_ext
11185 cat >>conftest.$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char xmlNewDocPI ();
11196 main ()
11198 return xmlNewDocPI ();
11200 return 0;
11202 _ACEOF
11203 rm -f conftest.$ac_objext conftest$ac_exeext
11204 if { (ac_try="$ac_link"
11205 case "(($ac_try" in
11206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11207 *) ac_try_echo=$ac_try;;
11208 esac
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_link") 2>conftest.er1
11211 ac_status=$?
11212 grep -v '^ *+' conftest.er1 >conftest.err
11213 rm -f conftest.er1
11214 cat conftest.err >&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } && {
11217 test -z "$ac_c_werror_flag" ||
11218 test ! -s conftest.err
11219 } && test -s conftest$ac_exeext &&
11220 $as_test_x conftest$ac_exeext; then
11221 ac_cv_lib_xml2_xmlNewDocPI=yes
11222 else
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11226 ac_cv_lib_xml2_xmlNewDocPI=no
11229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_lib_save_LIBS
11233 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11234 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11235 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11237 cat >>confdefs.h <<\_ACEOF
11238 #define HAVE_XMLNEWDOCPI 1
11239 _ACEOF
11246 done
11248 CPPFLAGS="$ac_save_CPPFLAGS"
11249 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11250 wine_notices="$wine_notices|libxml2 development files not found.
11251 Wine will be built without XML support. (msxml.dll)"
11255 if test "$PKG_CONFIG" != "false"
11256 then
11257 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11258 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11259 else
11260 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11261 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11263 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11266 for ac_header in libxslt/pattern.h libxslt/transform.h
11268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11269 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274 cat >conftest.$ac_ext <<_ACEOF
11275 /* confdefs.h. */
11276 _ACEOF
11277 cat confdefs.h >>conftest.$ac_ext
11278 cat >>conftest.$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11280 #ifdef HAVE_LIBXSLT_PATTERN_H
11281 # include <libxslt/pattern.h>
11282 #endif
11284 #include <$ac_header>
11285 _ACEOF
11286 rm -f conftest.$ac_objext
11287 if { (ac_try="$ac_compile"
11288 case "(($ac_try" in
11289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11290 *) ac_try_echo=$ac_try;;
11291 esac
11292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11293 (eval "$ac_compile") 2>conftest.er1
11294 ac_status=$?
11295 grep -v '^ *+' conftest.er1 >conftest.err
11296 rm -f conftest.er1
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } && {
11300 test -z "$ac_c_werror_flag" ||
11301 test ! -s conftest.err
11302 } && test -s conftest.$ac_objext; then
11303 eval "$as_ac_Header=yes"
11304 else
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11308 eval "$as_ac_Header=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11313 ac_res=`eval echo '${'$as_ac_Header'}'`
11314 { echo "$as_me:$LINENO: result: $ac_res" >&5
11315 echo "${ECHO_T}$ac_res" >&6; }
11316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11317 cat >>confdefs.h <<_ACEOF
11318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11319 _ACEOF
11320 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11321 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11322 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxslt $ac_xslt_libs $LIBS"
11327 cat >conftest.$ac_ext <<_ACEOF
11328 /* confdefs.h. */
11329 _ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char xsltCompilePattern ();
11342 main ()
11344 return xsltCompilePattern ();
11346 return 0;
11348 _ACEOF
11349 rm -f conftest.$ac_objext conftest$ac_exeext
11350 if { (ac_try="$ac_link"
11351 case "(($ac_try" in
11352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11353 *) ac_try_echo=$ac_try;;
11354 esac
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_link") 2>conftest.er1
11357 ac_status=$?
11358 grep -v '^ *+' conftest.er1 >conftest.err
11359 rm -f conftest.er1
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest$ac_exeext &&
11366 $as_test_x conftest$ac_exeext; then
11367 ac_cv_lib_xslt_xsltCompilePattern=yes
11368 else
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11372 ac_cv_lib_xslt_xsltCompilePattern=no
11375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11380 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11381 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11383 cat >>confdefs.h <<\_ACEOF
11384 #define HAVE_LIBXSLT 1
11385 _ACEOF
11387 XSLTLIBS="$ac_xslt_libs"
11388 XSLTINCL="$ac_xslt_cflags"
11394 done
11396 CPPFLAGS="$ac_save_CPPFLAGS"
11397 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11398 wine_notices="$wine_notices|libxslt development files not found.
11399 Wine will be built without xslt support. (msxml.dll)"
11403 HALINCL=""
11405 if test "$PKG_CONFIG" != "false"
11406 then
11407 ac_save_CPPFLAGS="$CPPFLAGS"
11408 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11409 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11410 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11413 for ac_header in dbus/dbus.h hal/libhal.h
11415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 ac_res=`eval echo '${'$as_ac_Header'}'`
11423 { echo "$as_me:$LINENO: result: $ac_res" >&5
11424 echo "${ECHO_T}$ac_res" >&6; }
11425 else
11426 # Is the header compilable?
11427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 $ac_includes_default
11436 #include <$ac_header>
11437 _ACEOF
11438 rm -f conftest.$ac_objext
11439 if { (ac_try="$ac_compile"
11440 case "(($ac_try" in
11441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11442 *) ac_try_echo=$ac_try;;
11443 esac
11444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 (eval "$ac_compile") 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } && {
11452 test -z "$ac_c_werror_flag" ||
11453 test ! -s conftest.err
11454 } && test -s conftest.$ac_objext; then
11455 ac_header_compiler=yes
11456 else
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11460 ac_header_compiler=no
11463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11465 echo "${ECHO_T}$ac_header_compiler" >&6; }
11467 # Is the header present?
11468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11470 cat >conftest.$ac_ext <<_ACEOF
11471 /* confdefs.h. */
11472 _ACEOF
11473 cat confdefs.h >>conftest.$ac_ext
11474 cat >>conftest.$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11476 #include <$ac_header>
11477 _ACEOF
11478 if { (ac_try="$ac_cpp conftest.$ac_ext"
11479 case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11482 esac
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11485 ac_status=$?
11486 grep -v '^ *+' conftest.er1 >conftest.err
11487 rm -f conftest.er1
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } >/dev/null && {
11491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11492 test ! -s conftest.err
11493 }; then
11494 ac_header_preproc=yes
11495 else
11496 echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.$ac_ext >&5
11499 ac_header_preproc=no
11502 rm -f conftest.err conftest.$ac_ext
11503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11504 echo "${ECHO_T}$ac_header_preproc" >&6; }
11506 # So? What about this header?
11507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11508 yes:no: )
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11513 ac_header_preproc=yes
11515 no:yes:* )
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11528 ( cat <<\_ASBOX
11529 ## ------------------------------------ ##
11530 ## Report this to wine-devel@winehq.org ##
11531 ## ------------------------------------ ##
11532 _ASBOX
11533 ) | sed "s/^/$as_me: WARNING: /" >&2
11535 esac
11536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 eval "$as_ac_Header=\$ac_header_preproc"
11543 ac_res=`eval echo '${'$as_ac_Header'}'`
11544 { echo "$as_me:$LINENO: result: $ac_res" >&5
11545 echo "${ECHO_T}$ac_res" >&6; }
11548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11549 cat >>confdefs.h <<_ACEOF
11550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11551 _ACEOF
11555 done
11557 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11558 then
11559 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11560 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11561 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 else
11564 ac_check_lib_save_LIBS=$LIBS
11565 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11566 cat >conftest.$ac_ext <<_ACEOF
11567 /* confdefs.h. */
11568 _ACEOF
11569 cat confdefs.h >>conftest.$ac_ext
11570 cat >>conftest.$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11576 #ifdef __cplusplus
11577 extern "C"
11578 #endif
11579 char dbus_connection_close ();
11581 main ()
11583 return dbus_connection_close ();
11585 return 0;
11587 _ACEOF
11588 rm -f conftest.$ac_objext conftest$ac_exeext
11589 if { (ac_try="$ac_link"
11590 case "(($ac_try" in
11591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11592 *) ac_try_echo=$ac_try;;
11593 esac
11594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11595 (eval "$ac_link") 2>conftest.er1
11596 ac_status=$?
11597 grep -v '^ *+' conftest.er1 >conftest.err
11598 rm -f conftest.er1
11599 cat conftest.err >&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); } && {
11602 test -z "$ac_c_werror_flag" ||
11603 test ! -s conftest.err
11604 } && test -s conftest$ac_exeext &&
11605 $as_test_x conftest$ac_exeext; then
11606 ac_cv_lib_dbus_1_dbus_connection_close=yes
11607 else
11608 echo "$as_me: failed program was:" >&5
11609 sed 's/^/| /' conftest.$ac_ext >&5
11611 ac_cv_lib_dbus_1_dbus_connection_close=no
11614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11615 conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_lib_save_LIBS
11618 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11619 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11620 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11621 { echo "$as_me:$LINENO: checking for -lhal" >&5
11622 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11623 if test "${ac_cv_lib_soname_hal+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 else
11626 ac_check_soname_save_LIBS=$LIBS
11627 LIBS="-lhal $ac_hal_libs $LIBS"
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11638 #ifdef __cplusplus
11639 extern "C"
11640 #endif
11641 char libhal_ctx_new ();
11643 main ()
11645 return libhal_ctx_new ();
11647 return 0;
11649 _ACEOF
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (ac_try="$ac_link"
11652 case "(($ac_try" in
11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11654 *) ac_try_echo=$ac_try;;
11655 esac
11656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_link") 2>conftest.er1
11658 ac_status=$?
11659 grep -v '^ *+' conftest.er1 >conftest.err
11660 rm -f conftest.er1
11661 cat conftest.err >&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } && {
11664 test -z "$ac_c_werror_flag" ||
11665 test ! -s conftest.err
11666 } && test -s conftest$ac_exeext &&
11667 $as_test_x conftest$ac_exeext; then
11668 case "$LIBEXT" in
11669 dll) ;;
11670 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'` ;;
11671 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11672 esac
11673 else
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LIBS=$ac_check_soname_save_LIBS
11684 if test "x$ac_cv_lib_soname_hal" = "x"; then
11685 { echo "$as_me:$LINENO: result: not found" >&5
11686 echo "${ECHO_T}not found" >&6; }
11688 else
11689 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11690 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11692 cat >>confdefs.h <<_ACEOF
11693 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11694 _ACEOF
11696 HALINCL="$ac_hal_cflags"
11702 CPPFLAGS="$ac_save_CPPFLAGS"
11704 if test "x$ac_cv_lib_soname_hal" = "x"; then
11705 wine_notices="$wine_notices|libhal development files not found.
11706 Wine will be built without dynamic device support. (explorer.exe)"
11710 CURSESLIBS=""
11711 if test "$ac_cv_header_ncurses_h" = "yes"
11712 then
11713 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11714 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11715 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 else
11718 ac_check_soname_save_LIBS=$LIBS
11719 LIBS="-lncurses $LIBS"
11720 cat >conftest.$ac_ext <<_ACEOF
11721 /* confdefs.h. */
11722 _ACEOF
11723 cat confdefs.h >>conftest.$ac_ext
11724 cat >>conftest.$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char waddch ();
11735 main ()
11737 return waddch ();
11739 return 0;
11741 _ACEOF
11742 rm -f conftest.$ac_objext conftest$ac_exeext
11743 if { (ac_try="$ac_link"
11744 case "(($ac_try" in
11745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11746 *) ac_try_echo=$ac_try;;
11747 esac
11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11749 (eval "$ac_link") 2>conftest.er1
11750 ac_status=$?
11751 grep -v '^ *+' conftest.er1 >conftest.err
11752 rm -f conftest.er1
11753 cat conftest.err >&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } && {
11756 test -z "$ac_c_werror_flag" ||
11757 test ! -s conftest.err
11758 } && test -s conftest$ac_exeext &&
11759 $as_test_x conftest$ac_exeext; then
11760 case "$LIBEXT" in
11761 dll) ;;
11762 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'` ;;
11763 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11764 esac
11765 else
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11777 { echo "$as_me:$LINENO: result: not found" >&5
11778 echo "${ECHO_T}not found" >&6; }
11780 else
11781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11782 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11786 _ACEOF
11788 CURSESLIBS="-lncurses"
11791 elif test "$ac_cv_header_curses_h" = "yes"
11792 then
11793 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11794 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11795 if test "${ac_cv_lib_soname_curses+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lcurses $LIBS"
11800 cat >conftest.$ac_ext <<_ACEOF
11801 /* confdefs.h. */
11802 _ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char waddch ();
11815 main ()
11817 return waddch ();
11819 return 0;
11821 _ACEOF
11822 rm -f conftest.$ac_objext conftest$ac_exeext
11823 if { (ac_try="$ac_link"
11824 case "(($ac_try" in
11825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11826 *) ac_try_echo=$ac_try;;
11827 esac
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_link") 2>conftest.er1
11830 ac_status=$?
11831 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && {
11836 test -z "$ac_c_werror_flag" ||
11837 test ! -s conftest.err
11838 } && test -s conftest$ac_exeext &&
11839 $as_test_x conftest$ac_exeext; then
11840 case "$LIBEXT" in
11841 dll) ;;
11842 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'` ;;
11843 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11844 esac
11845 else
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_soname_save_LIBS
11856 if test "x$ac_cv_lib_soname_curses" = "x"; then
11857 { echo "$as_me:$LINENO: result: not found" >&5
11858 echo "${ECHO_T}not found" >&6; }
11860 else
11861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11862 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11864 cat >>confdefs.h <<_ACEOF
11865 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11866 _ACEOF
11868 CURSESLIBS="-lcurses"
11872 ac_save_LIBS="$LIBS"
11873 LIBS="$LIBS $CURSESLIBS"
11875 for ac_func in mousemask
11877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 else
11883 cat >conftest.$ac_ext <<_ACEOF
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11891 #define $ac_func innocuous_$ac_func
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below.
11895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 <limits.h> exists even on freestanding compilers. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11904 #undef $ac_func
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char $ac_func ();
11913 /* The GNU C library defines this for functions which it implements
11914 to always fail with ENOSYS. Some functions are actually named
11915 something starting with __ and the normal name is an alias. */
11916 #if defined __stub_$ac_func || defined __stub___$ac_func
11917 choke me
11918 #endif
11921 main ()
11923 return $ac_func ();
11925 return 0;
11927 _ACEOF
11928 rm -f conftest.$ac_objext conftest$ac_exeext
11929 if { (ac_try="$ac_link"
11930 case "(($ac_try" in
11931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11932 *) ac_try_echo=$ac_try;;
11933 esac
11934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11935 (eval "$ac_link") 2>conftest.er1
11936 ac_status=$?
11937 grep -v '^ *+' conftest.er1 >conftest.err
11938 rm -f conftest.er1
11939 cat conftest.err >&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } && {
11942 test -z "$ac_c_werror_flag" ||
11943 test ! -s conftest.err
11944 } && test -s conftest$ac_exeext &&
11945 $as_test_x conftest$ac_exeext; then
11946 eval "$as_ac_var=yes"
11947 else
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11951 eval "$as_ac_var=no"
11954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11955 conftest$ac_exeext conftest.$ac_ext
11957 ac_res=`eval echo '${'$as_ac_var'}'`
11958 { echo "$as_me:$LINENO: result: $ac_res" >&5
11959 echo "${ECHO_T}$ac_res" >&6; }
11960 if test `eval echo '${'$as_ac_var'}'` = yes; then
11961 cat >>confdefs.h <<_ACEOF
11962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11963 _ACEOF
11966 done
11968 LIBS="$ac_save_LIBS"
11969 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11970 wine_notices="$wine_notices|lib(n)curses development files not found.
11971 Wine will be built without (n)curses support. (wineconsole.exe)"
11975 # Extract the first word of "sane-config", so it can be a program name with args.
11976 set dummy sane-config; ac_word=$2
11977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11979 if test "${ac_cv_prog_sane_devel+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else
11982 if test -n "$sane_devel"; then
11983 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11984 else
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11988 IFS=$as_save_IFS
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_prog_sane_devel="sane-config"
11993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 break 2
11996 done
11997 done
11998 IFS=$as_save_IFS
12000 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12003 sane_devel=$ac_cv_prog_sane_devel
12004 if test -n "$sane_devel"; then
12005 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12006 echo "${ECHO_T}$sane_devel" >&6; }
12007 else
12008 { echo "$as_me:$LINENO: result: no" >&5
12009 echo "${ECHO_T}no" >&6; }
12013 if test "$sane_devel" != "no"
12014 then
12015 ac_sane_incl="`$sane_devel --cflags`"
12016 ac_save_CPPFLAGS="$CPPFLAGS"
12017 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12018 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12019 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12020 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12021 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12025 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12026 else
12027 # Is the header compilable?
12028 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12029 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12030 cat >conftest.$ac_ext <<_ACEOF
12031 /* confdefs.h. */
12032 _ACEOF
12033 cat confdefs.h >>conftest.$ac_ext
12034 cat >>conftest.$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12036 $ac_includes_default
12037 #include <sane/sane.h>
12038 _ACEOF
12039 rm -f conftest.$ac_objext
12040 if { (ac_try="$ac_compile"
12041 case "(($ac_try" in
12042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12043 *) ac_try_echo=$ac_try;;
12044 esac
12045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12046 (eval "$ac_compile") 2>conftest.er1
12047 ac_status=$?
12048 grep -v '^ *+' conftest.er1 >conftest.err
12049 rm -f conftest.er1
12050 cat conftest.err >&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); } && {
12053 test -z "$ac_c_werror_flag" ||
12054 test ! -s conftest.err
12055 } && test -s conftest.$ac_objext; then
12056 ac_header_compiler=yes
12057 else
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.$ac_ext >&5
12061 ac_header_compiler=no
12064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12065 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12066 echo "${ECHO_T}$ac_header_compiler" >&6; }
12068 # Is the header present?
12069 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12070 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077 #include <sane/sane.h>
12078 _ACEOF
12079 if { (ac_try="$ac_cpp conftest.$ac_ext"
12080 case "(($ac_try" in
12081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12082 *) ac_try_echo=$ac_try;;
12083 esac
12084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12086 ac_status=$?
12087 grep -v '^ *+' conftest.er1 >conftest.err
12088 rm -f conftest.er1
12089 cat conftest.err >&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } >/dev/null && {
12092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12093 test ! -s conftest.err
12094 }; then
12095 ac_header_preproc=yes
12096 else
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12100 ac_header_preproc=no
12103 rm -f conftest.err conftest.$ac_ext
12104 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12105 echo "${ECHO_T}$ac_header_preproc" >&6; }
12107 # So? What about this header?
12108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12109 yes:no: )
12110 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12111 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12113 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12114 ac_header_preproc=yes
12116 no:yes:* )
12117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12118 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12120 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12122 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12124 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12126 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12128 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12129 ( cat <<\_ASBOX
12130 ## ------------------------------------ ##
12131 ## Report this to wine-devel@winehq.org ##
12132 ## ------------------------------------ ##
12133 _ASBOX
12134 ) | sed "s/^/$as_me: WARNING: /" >&2
12136 esac
12137 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12138 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12139 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 ac_cv_header_sane_sane_h=$ac_header_preproc
12144 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12145 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12148 if test $ac_cv_header_sane_sane_h = yes; then
12149 { echo "$as_me:$LINENO: checking for -lsane" >&5
12150 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12151 if test "${ac_cv_lib_soname_sane+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 else
12154 ac_check_soname_save_LIBS=$LIBS
12155 LIBS="-lsane $LIBS"
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12166 #ifdef __cplusplus
12167 extern "C"
12168 #endif
12169 char sane_init ();
12171 main ()
12173 return sane_init ();
12175 return 0;
12177 _ACEOF
12178 rm -f conftest.$ac_objext conftest$ac_exeext
12179 if { (ac_try="$ac_link"
12180 case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12183 esac
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_link") 2>conftest.er1
12186 ac_status=$?
12187 grep -v '^ *+' conftest.er1 >conftest.err
12188 rm -f conftest.er1
12189 cat conftest.err >&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } && {
12192 test -z "$ac_c_werror_flag" ||
12193 test ! -s conftest.err
12194 } && test -s conftest$ac_exeext &&
12195 $as_test_x conftest$ac_exeext; then
12196 case "$LIBEXT" in
12197 dll) ;;
12198 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'` ;;
12199 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12200 esac
12201 else
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_soname_save_LIBS
12212 if test "x$ac_cv_lib_soname_sane" = "x"; then
12213 { echo "$as_me:$LINENO: result: not found" >&5
12214 echo "${ECHO_T}not found" >&6; }
12216 else
12217 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12218 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12220 cat >>confdefs.h <<_ACEOF
12221 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12222 _ACEOF
12224 SANEINCL="$ac_sane_incl"
12231 CPPFLAGS="$ac_save_CPPFLAGS"
12233 if test "x$ac_cv_lib_soname_sane" = "x"; then
12234 wine_notices="$wine_notices|libsane development files not found.
12235 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12239 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12240 set dummy gphoto2-config; ac_word=$2
12241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12243 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 else
12246 if test -n "$gphoto2_devel"; then
12247 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12248 else
12249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12250 for as_dir in $PATH
12252 IFS=$as_save_IFS
12253 test -z "$as_dir" && as_dir=.
12254 for ac_exec_ext in '' $ac_executable_extensions; do
12255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12256 ac_cv_prog_gphoto2_devel="gphoto2-config"
12257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12258 break 2
12260 done
12261 done
12262 IFS=$as_save_IFS
12264 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12267 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12268 if test -n "$gphoto2_devel"; then
12269 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12270 echo "${ECHO_T}$gphoto2_devel" >&6; }
12271 else
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12277 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12278 set dummy gphoto2-port-config; ac_word=$2
12279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12281 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 if test -n "$gphoto2port_devel"; then
12285 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12286 else
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12290 IFS=$as_save_IFS
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12294 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12296 break 2
12298 done
12299 done
12300 IFS=$as_save_IFS
12302 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12305 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12306 if test -n "$gphoto2port_devel"; then
12307 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12308 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12309 else
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12315 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12316 then
12317 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12318 ac_gphoto2_libs=""
12319 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12321 case "$i" in
12322 -L/usr/lib|-L/usr/lib64) ;;
12323 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12324 esac
12325 done
12326 ac_save_CPPFLAGS="$CPPFLAGS"
12327 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12328 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12329 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12330 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12331 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12335 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12336 else
12337 # Is the header compilable?
12338 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12339 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12340 cat >conftest.$ac_ext <<_ACEOF
12341 /* confdefs.h. */
12342 _ACEOF
12343 cat confdefs.h >>conftest.$ac_ext
12344 cat >>conftest.$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 $ac_includes_default
12347 #include <gphoto2-camera.h>
12348 _ACEOF
12349 rm -f conftest.$ac_objext
12350 if { (ac_try="$ac_compile"
12351 case "(($ac_try" in
12352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12353 *) ac_try_echo=$ac_try;;
12354 esac
12355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12356 (eval "$ac_compile") 2>conftest.er1
12357 ac_status=$?
12358 grep -v '^ *+' conftest.er1 >conftest.err
12359 rm -f conftest.er1
12360 cat conftest.err >&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } && {
12363 test -z "$ac_c_werror_flag" ||
12364 test ! -s conftest.err
12365 } && test -s conftest.$ac_objext; then
12366 ac_header_compiler=yes
12367 else
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12371 ac_header_compiler=no
12374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12376 echo "${ECHO_T}$ac_header_compiler" >&6; }
12378 # Is the header present?
12379 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12380 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12381 cat >conftest.$ac_ext <<_ACEOF
12382 /* confdefs.h. */
12383 _ACEOF
12384 cat confdefs.h >>conftest.$ac_ext
12385 cat >>conftest.$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12387 #include <gphoto2-camera.h>
12388 _ACEOF
12389 if { (ac_try="$ac_cpp conftest.$ac_ext"
12390 case "(($ac_try" in
12391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392 *) ac_try_echo=$ac_try;;
12393 esac
12394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12396 ac_status=$?
12397 grep -v '^ *+' conftest.er1 >conftest.err
12398 rm -f conftest.er1
12399 cat conftest.err >&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); } >/dev/null && {
12402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12403 test ! -s conftest.err
12404 }; then
12405 ac_header_preproc=yes
12406 else
12407 echo "$as_me: failed program was:" >&5
12408 sed 's/^/| /' conftest.$ac_ext >&5
12410 ac_header_preproc=no
12413 rm -f conftest.err conftest.$ac_ext
12414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12415 echo "${ECHO_T}$ac_header_preproc" >&6; }
12417 # So? What about this header?
12418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12419 yes:no: )
12420 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12421 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12423 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12424 ac_header_preproc=yes
12426 no:yes:* )
12427 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12428 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12429 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12430 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12431 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12432 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12433 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12434 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12435 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12436 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12437 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12438 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12439 ( cat <<\_ASBOX
12440 ## ------------------------------------ ##
12441 ## Report this to wine-devel@winehq.org ##
12442 ## ------------------------------------ ##
12443 _ASBOX
12444 ) | sed "s/^/$as_me: WARNING: /" >&2
12446 esac
12447 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12448 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12449 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 else
12452 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12454 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12455 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12458 if test $ac_cv_header_gphoto2_camera_h = yes; then
12459 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12460 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12461 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 else
12464 ac_check_lib_save_LIBS=$LIBS
12465 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12466 cat >conftest.$ac_ext <<_ACEOF
12467 /* confdefs.h. */
12468 _ACEOF
12469 cat confdefs.h >>conftest.$ac_ext
12470 cat >>conftest.$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 #ifdef __cplusplus
12477 extern "C"
12478 #endif
12479 char gp_camera_new ();
12481 main ()
12483 return gp_camera_new ();
12485 return 0;
12487 _ACEOF
12488 rm -f conftest.$ac_objext conftest$ac_exeext
12489 if { (ac_try="$ac_link"
12490 case "(($ac_try" in
12491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12493 esac
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_link") 2>conftest.er1
12496 ac_status=$?
12497 grep -v '^ *+' conftest.er1 >conftest.err
12498 rm -f conftest.er1
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } && {
12502 test -z "$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12504 } && test -s conftest$ac_exeext &&
12505 $as_test_x conftest$ac_exeext; then
12506 ac_cv_lib_gphoto2_gp_camera_new=yes
12507 else
12508 echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.$ac_ext >&5
12511 ac_cv_lib_gphoto2_gp_camera_new=no
12514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_lib_save_LIBS
12518 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12519 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12520 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12522 cat >>confdefs.h <<\_ACEOF
12523 #define HAVE_GPHOTO2 1
12524 _ACEOF
12526 GPHOTO2LIBS="$ac_gphoto2_libs"
12528 GPHOTO2INCL="$ac_gphoto2_incl"
12535 CPPFLAGS="$ac_save_CPPFLAGS"
12537 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12538 wine_notices="$wine_notices|libgphoto2 development files not found.
12539 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12544 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12545 then
12546 saved_libs="$LIBS"
12547 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12548 if test -n "$ICU_LIB_DIR"
12549 then
12550 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12552 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12553 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12554 LIBS="$saved_libs $icu_libs"
12555 if test "$cross_compiling" = yes; then
12556 { echo "$as_me:$LINENO: result: no" >&5
12557 echo "${ECHO_T}no" >&6; }
12558 else
12559 cat >conftest.$ac_ext <<_ACEOF
12560 /* confdefs.h. */
12561 _ACEOF
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12565 #include <unicode/ubidi.h>
12567 main ()
12569 ubidi_open()
12571 return 0;
12573 _ACEOF
12574 rm -f conftest$ac_exeext
12575 if { (ac_try="$ac_link"
12576 case "(($ac_try" in
12577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12579 esac
12580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 (eval "$ac_link") 2>&5
12582 ac_status=$?
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12585 { (case "(($ac_try" in
12586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12587 *) ac_try_echo=$ac_try;;
12588 esac
12589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12590 (eval "$ac_try") 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12595 cat >>confdefs.h <<\_ACEOF
12596 #define HAVE_ICU 1
12597 _ACEOF
12599 ICULIBS="$icu_libs"
12601 { echo "$as_me:$LINENO: result: yes" >&5
12602 echo "${ECHO_T}yes" >&6; }
12603 else
12604 echo "$as_me: program exited with status $ac_status" >&5
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.$ac_ext >&5
12608 ( exit $ac_status )
12609 { echo "$as_me:$LINENO: result: no" >&5
12610 echo "${ECHO_T}no" >&6; }
12612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12616 LIBS="$saved_libs"
12618 if test "x$ICULIBS" = "x"; then
12619 wine_notices="$wine_notices|libicu development files not found.
12620 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12624 RESOLVLIBS=""
12626 if test "$ac_cv_header_resolv_h" = "yes"
12627 then
12628 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12629 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12630 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-lresolv $LIBS"
12635 cat >conftest.$ac_ext <<_ACEOF
12636 /* confdefs.h. */
12637 _ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char res_query ();
12650 main ()
12652 return res_query ();
12654 return 0;
12656 _ACEOF
12657 rm -f conftest.$ac_objext conftest$ac_exeext
12658 if { (ac_try="$ac_link"
12659 case "(($ac_try" in
12660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12661 *) ac_try_echo=$ac_try;;
12662 esac
12663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12664 (eval "$ac_link") 2>conftest.er1
12665 ac_status=$?
12666 grep -v '^ *+' conftest.er1 >conftest.err
12667 rm -f conftest.er1
12668 cat conftest.err >&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } && {
12671 test -z "$ac_c_werror_flag" ||
12672 test ! -s conftest.err
12673 } && test -s conftest$ac_exeext &&
12674 $as_test_x conftest$ac_exeext; then
12675 ac_cv_lib_resolv_res_query=yes
12676 else
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12680 ac_cv_lib_resolv_res_query=no
12683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_lib_save_LIBS
12687 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12688 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12689 if test $ac_cv_lib_resolv_res_query = yes; then
12691 cat >>confdefs.h <<\_ACEOF
12692 #define HAVE_RESOLV 1
12693 _ACEOF
12695 RESOLVLIBS="-lresolv"
12700 LCMSLIBS=""
12702 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12703 then
12704 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12705 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12706 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 else
12709 ac_check_lib_save_LIBS=$LIBS
12710 LIBS="-llcms $LIBS"
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12721 #ifdef __cplusplus
12722 extern "C"
12723 #endif
12724 char cmsOpenProfileFromFile ();
12726 main ()
12728 return cmsOpenProfileFromFile ();
12730 return 0;
12732 _ACEOF
12733 rm -f conftest.$ac_objext conftest$ac_exeext
12734 if { (ac_try="$ac_link"
12735 case "(($ac_try" in
12736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12738 esac
12739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12740 (eval "$ac_link") 2>conftest.er1
12741 ac_status=$?
12742 grep -v '^ *+' conftest.er1 >conftest.err
12743 rm -f conftest.er1
12744 cat conftest.err >&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } && {
12747 test -z "$ac_c_werror_flag" ||
12748 test ! -s conftest.err
12749 } && test -s conftest$ac_exeext &&
12750 $as_test_x conftest$ac_exeext; then
12751 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12752 else
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12756 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12764 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12765 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12767 cat >>confdefs.h <<\_ACEOF
12768 #define HAVE_LCMS 1
12769 _ACEOF
12771 LCMSLIBS="-llcms"
12775 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12776 wine_notices="$wine_notices|liblcms development files not found.
12777 Wine will be built without Color Management support. (mscms.dll)"
12781 LDAPLIBS=""
12783 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12784 then
12785 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12786 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12787 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 else
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12792 cat >conftest.$ac_ext <<_ACEOF
12793 /* confdefs.h. */
12794 _ACEOF
12795 cat confdefs.h >>conftest.$ac_ext
12796 cat >>conftest.$ac_ext <<_ACEOF
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char ldap_initialize ();
12807 main ()
12809 return ldap_initialize ();
12811 return 0;
12813 _ACEOF
12814 rm -f conftest.$ac_objext conftest$ac_exeext
12815 if { (ac_try="$ac_link"
12816 case "(($ac_try" in
12817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12818 *) ac_try_echo=$ac_try;;
12819 esac
12820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12821 (eval "$ac_link") 2>conftest.er1
12822 ac_status=$?
12823 grep -v '^ *+' conftest.er1 >conftest.err
12824 rm -f conftest.er1
12825 cat conftest.err >&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } && {
12828 test -z "$ac_c_werror_flag" ||
12829 test ! -s conftest.err
12830 } && test -s conftest$ac_exeext &&
12831 $as_test_x conftest$ac_exeext; then
12832 ac_cv_lib_ldap_r_ldap_initialize=yes
12833 else
12834 echo "$as_me: failed program was:" >&5
12835 sed 's/^/| /' conftest.$ac_ext >&5
12837 ac_cv_lib_ldap_r_ldap_initialize=no
12840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12841 conftest$ac_exeext conftest.$ac_ext
12842 LIBS=$ac_check_lib_save_LIBS
12844 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12845 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12846 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12847 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12848 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12849 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12850 echo $ECHO_N "(cached) $ECHO_C" >&6
12851 else
12852 ac_check_lib_save_LIBS=$LIBS
12853 LIBS="-llber $LIBPTHREAD $LIBS"
12854 cat >conftest.$ac_ext <<_ACEOF
12855 /* confdefs.h. */
12856 _ACEOF
12857 cat confdefs.h >>conftest.$ac_ext
12858 cat >>conftest.$ac_ext <<_ACEOF
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12864 #ifdef __cplusplus
12865 extern "C"
12866 #endif
12867 char ber_init ();
12869 main ()
12871 return ber_init ();
12873 return 0;
12875 _ACEOF
12876 rm -f conftest.$ac_objext conftest$ac_exeext
12877 if { (ac_try="$ac_link"
12878 case "(($ac_try" in
12879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12880 *) ac_try_echo=$ac_try;;
12881 esac
12882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12883 (eval "$ac_link") 2>conftest.er1
12884 ac_status=$?
12885 grep -v '^ *+' conftest.er1 >conftest.err
12886 rm -f conftest.er1
12887 cat conftest.err >&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } && {
12890 test -z "$ac_c_werror_flag" ||
12891 test ! -s conftest.err
12892 } && test -s conftest$ac_exeext &&
12893 $as_test_x conftest$ac_exeext; then
12894 ac_cv_lib_lber_ber_init=yes
12895 else
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 ac_cv_lib_lber_ber_init=no
12902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12903 conftest$ac_exeext conftest.$ac_ext
12904 LIBS=$ac_check_lib_save_LIBS
12906 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12907 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12908 if test $ac_cv_lib_lber_ber_init = yes; then
12910 cat >>confdefs.h <<\_ACEOF
12911 #define HAVE_LDAP 1
12912 _ACEOF
12914 LDAPLIBS="-lldap_r -llber"
12919 ac_wine_check_funcs_save_LIBS="$LIBS"
12920 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12925 for ac_func in \
12926 ldap_count_references \
12927 ldap_first_reference \
12928 ldap_next_reference \
12929 ldap_parse_reference
12931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 else
12937 cat >conftest.$ac_ext <<_ACEOF
12938 /* confdefs.h. */
12939 _ACEOF
12940 cat confdefs.h >>conftest.$ac_ext
12941 cat >>conftest.$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12945 #define $ac_func innocuous_$ac_func
12947 /* System header to define __stub macros and hopefully few prototypes,
12948 which can conflict with char $ac_func (); below.
12949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12950 <limits.h> exists even on freestanding compilers. */
12952 #ifdef __STDC__
12953 # include <limits.h>
12954 #else
12955 # include <assert.h>
12956 #endif
12958 #undef $ac_func
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char $ac_func ();
12967 /* The GNU C library defines this for functions which it implements
12968 to always fail with ENOSYS. Some functions are actually named
12969 something starting with __ and the normal name is an alias. */
12970 #if defined __stub_$ac_func || defined __stub___$ac_func
12971 choke me
12972 #endif
12975 main ()
12977 return $ac_func ();
12979 return 0;
12981 _ACEOF
12982 rm -f conftest.$ac_objext conftest$ac_exeext
12983 if { (ac_try="$ac_link"
12984 case "(($ac_try" in
12985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12986 *) ac_try_echo=$ac_try;;
12987 esac
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_link") 2>conftest.er1
12990 ac_status=$?
12991 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && {
12996 test -z "$ac_c_werror_flag" ||
12997 test ! -s conftest.err
12998 } && test -s conftest$ac_exeext &&
12999 $as_test_x conftest$ac_exeext; then
13000 eval "$as_ac_var=yes"
13001 else
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13005 eval "$as_ac_var=no"
13008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13009 conftest$ac_exeext conftest.$ac_ext
13011 ac_res=`eval echo '${'$as_ac_var'}'`
13012 { echo "$as_me:$LINENO: result: $ac_res" >&5
13013 echo "${ECHO_T}$ac_res" >&6; }
13014 if test `eval echo '${'$as_ac_var'}'` = yes; then
13015 cat >>confdefs.h <<_ACEOF
13016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13017 _ACEOF
13020 done
13022 LIBS="$ac_wine_check_funcs_save_LIBS"
13024 if test "x$LDAPLIBS" = "x"; then
13025 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13026 Wine will be built without LDAP support. (wldap32.dll)"
13030 for ac_prog in freetype-config freetype2-config
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy $ac_prog; ac_word=$2
13034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13036 if test "${ac_cv_prog_ft_devel+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 else
13039 if test -n "$ft_devel"; then
13040 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13041 else
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $PATH
13045 IFS=$as_save_IFS
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_ft_devel="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 break 2
13053 done
13054 done
13055 IFS=$as_save_IFS
13059 ft_devel=$ac_cv_prog_ft_devel
13060 if test -n "$ft_devel"; then
13061 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13062 echo "${ECHO_T}$ft_devel" >&6; }
13063 else
13064 { echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6; }
13069 test -n "$ft_devel" && break
13070 done
13071 test -n "$ft_devel" || ft_devel="false"
13073 if test "$ft_devel" != "false"
13074 then
13075 ac_freetype_libs=`$ft_devel --libs`
13076 ac_freetype_incl=`$ft_devel --cflags`
13077 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13078 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13079 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 else
13082 ac_check_soname_save_LIBS=$LIBS
13083 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13084 cat >conftest.$ac_ext <<_ACEOF
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13094 #ifdef __cplusplus
13095 extern "C"
13096 #endif
13097 char FT_Init_FreeType ();
13099 main ()
13101 return FT_Init_FreeType ();
13103 return 0;
13105 _ACEOF
13106 rm -f conftest.$ac_objext conftest$ac_exeext
13107 if { (ac_try="$ac_link"
13108 case "(($ac_try" in
13109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13110 *) ac_try_echo=$ac_try;;
13111 esac
13112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13113 (eval "$ac_link") 2>conftest.er1
13114 ac_status=$?
13115 grep -v '^ *+' conftest.er1 >conftest.err
13116 rm -f conftest.er1
13117 cat conftest.err >&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); } && {
13120 test -z "$ac_c_werror_flag" ||
13121 test ! -s conftest.err
13122 } && test -s conftest$ac_exeext &&
13123 $as_test_x conftest$ac_exeext; then
13124 case "$LIBEXT" in
13125 dll) ;;
13126 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'` ;;
13127 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13128 esac
13129 else
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.$ac_ext >&5
13136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_soname_save_LIBS
13140 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13141 { echo "$as_me:$LINENO: result: not found" >&5
13142 echo "${ECHO_T}not found" >&6; }
13143 ft_lib=no
13144 else
13145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13146 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13148 cat >>confdefs.h <<_ACEOF
13149 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13150 _ACEOF
13152 ft_lib=yes
13155 if test "$ft_lib" = "yes"
13156 then
13157 ac_save_CPPFLAGS="$CPPFLAGS"
13158 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13170 for ac_header in ft2build.h \
13171 freetype/freetype.h \
13172 freetype/ftglyph.h \
13173 freetype/tttables.h \
13174 freetype/ftnames.h \
13175 freetype/ftsnames.h \
13176 freetype/ttnameid.h \
13177 freetype/ftoutln.h \
13178 freetype/ftwinfnt.h \
13179 freetype/ftmodapi.h \
13180 freetype/internal/sfnt.h
13182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 else
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 #if HAVE_FT2BUILD_H
13195 #include <ft2build.h>
13196 #endif
13198 #include <$ac_header>
13199 _ACEOF
13200 rm -f conftest.$ac_objext
13201 if { (ac_try="$ac_compile"
13202 case "(($ac_try" in
13203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13204 *) ac_try_echo=$ac_try;;
13205 esac
13206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13207 (eval "$ac_compile") 2>conftest.er1
13208 ac_status=$?
13209 grep -v '^ *+' conftest.er1 >conftest.err
13210 rm -f conftest.er1
13211 cat conftest.err >&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } && {
13214 test -z "$ac_c_werror_flag" ||
13215 test ! -s conftest.err
13216 } && test -s conftest.$ac_objext; then
13217 eval "$as_ac_Header=yes"
13218 else
13219 echo "$as_me: failed program was:" >&5
13220 sed 's/^/| /' conftest.$ac_ext >&5
13222 eval "$as_ac_Header=no"
13225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13227 ac_res=`eval echo '${'$as_ac_Header'}'`
13228 { echo "$as_me:$LINENO: result: $ac_res" >&5
13229 echo "${ECHO_T}$ac_res" >&6; }
13230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13231 cat >>confdefs.h <<_ACEOF
13232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13233 _ACEOF
13237 done
13239 cat >conftest.$ac_ext <<_ACEOF
13240 /* confdefs.h. */
13241 _ACEOF
13242 cat confdefs.h >>conftest.$ac_ext
13243 cat >>conftest.$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 #include <ft2build.h>
13246 #include <freetype/fttrigon.h>
13247 _ACEOF
13248 if { (ac_try="$ac_cpp conftest.$ac_ext"
13249 case "(($ac_try" in
13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13252 esac
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13255 ac_status=$?
13256 grep -v '^ *+' conftest.er1 >conftest.err
13257 rm -f conftest.er1
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } >/dev/null && {
13261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13262 test ! -s conftest.err
13263 }; then
13265 cat >>confdefs.h <<\_ACEOF
13266 #define HAVE_FREETYPE_FTTRIGON_H 1
13267 _ACEOF
13269 wine_cv_fttrigon=yes
13270 else
13271 echo "$as_me: failed program was:" >&5
13272 sed 's/^/| /' conftest.$ac_ext >&5
13274 wine_cv_fttrigon=no
13277 rm -f conftest.err conftest.$ac_ext
13278 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13279 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13280 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 else
13283 cat >conftest.$ac_ext <<_ACEOF
13284 /* confdefs.h. */
13285 _ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 #include <freetype/ftmodapi.h>
13291 typedef FT_TrueTypeEngineType ac__type_new_;
13293 main ()
13295 if ((ac__type_new_ *) 0)
13296 return 0;
13297 if (sizeof (ac__type_new_))
13298 return 0;
13300 return 0;
13302 _ACEOF
13303 rm -f conftest.$ac_objext
13304 if { (ac_try="$ac_compile"
13305 case "(($ac_try" in
13306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13308 esac
13309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13310 (eval "$ac_compile") 2>conftest.er1
13311 ac_status=$?
13312 grep -v '^ *+' conftest.er1 >conftest.err
13313 rm -f conftest.er1
13314 cat conftest.err >&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } && {
13317 test -z "$ac_c_werror_flag" ||
13318 test ! -s conftest.err
13319 } && test -s conftest.$ac_objext; then
13320 ac_cv_type_FT_TrueTypeEngineType=yes
13321 else
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13325 ac_cv_type_FT_TrueTypeEngineType=no
13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13330 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13331 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13332 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13334 cat >>confdefs.h <<_ACEOF
13335 #define HAVE_FT_TRUETYPEENGINETYPE 1
13336 _ACEOF
13341 ac_save_CFLAGS="$CFLAGS"
13342 CFLAGS="$CFLAGS $ac_freetype_libs"
13344 for ac_func in FT_Load_Sfnt_Table
13346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 else
13352 cat >conftest.$ac_ext <<_ACEOF
13353 /* confdefs.h. */
13354 _ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13360 #define $ac_func innocuous_$ac_func
13362 /* System header to define __stub macros and hopefully few prototypes,
13363 which can conflict with char $ac_func (); below.
13364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13365 <limits.h> exists even on freestanding compilers. */
13367 #ifdef __STDC__
13368 # include <limits.h>
13369 #else
13370 # include <assert.h>
13371 #endif
13373 #undef $ac_func
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char $ac_func ();
13382 /* The GNU C library defines this for functions which it implements
13383 to always fail with ENOSYS. Some functions are actually named
13384 something starting with __ and the normal name is an alias. */
13385 #if defined __stub_$ac_func || defined __stub___$ac_func
13386 choke me
13387 #endif
13390 main ()
13392 return $ac_func ();
13394 return 0;
13396 _ACEOF
13397 rm -f conftest.$ac_objext conftest$ac_exeext
13398 if { (ac_try="$ac_link"
13399 case "(($ac_try" in
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13402 esac
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_link") 2>conftest.er1
13405 ac_status=$?
13406 grep -v '^ *+' conftest.er1 >conftest.err
13407 rm -f conftest.er1
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } && {
13411 test -z "$ac_c_werror_flag" ||
13412 test ! -s conftest.err
13413 } && test -s conftest$ac_exeext &&
13414 $as_test_x conftest$ac_exeext; then
13415 eval "$as_ac_var=yes"
13416 else
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13420 eval "$as_ac_var=no"
13423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13424 conftest$ac_exeext conftest.$ac_ext
13426 ac_res=`eval echo '${'$as_ac_var'}'`
13427 { echo "$as_me:$LINENO: result: $ac_res" >&5
13428 echo "${ECHO_T}$ac_res" >&6; }
13429 if test `eval echo '${'$as_ac_var'}'` = yes; then
13430 cat >>confdefs.h <<_ACEOF
13431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13432 _ACEOF
13435 done
13437 CFLAGS="$ac_save_CFLAGS"
13438 CPPFLAGS="$ac_save_CPPFLAGS"
13439 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13440 then
13442 cat >>confdefs.h <<\_ACEOF
13443 #define HAVE_FREETYPE 1
13444 _ACEOF
13446 FREETYPELIBS="$ac_freetype_libs"
13448 FREETYPEINCL="$ac_freetype_incl"
13454 if test "$FONTFORGE" = "false"
13455 then
13456 wine_warnings="$wine_warnings|FontForge is missing.
13457 Fonts will not be built. Dialog text may be invisible or unaligned."
13458 elif test "x$FREETYPELIBS" = "x"
13459 then
13460 wine_warnings="$wine_warnings|FreeType development files not found.
13461 Fonts will not be built. Dialog text may be invisible or unaligned."
13462 else
13463 FONTSSUBDIRS="fonts"
13467 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13468 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13469 if test "${ac_cv_c_ppdev+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13472 cat >conftest.$ac_ext <<_ACEOF
13473 /* confdefs.h. */
13474 _ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478 #include <linux/ppdev.h>
13480 main ()
13482 ioctl (1,PPCLAIM,0)
13484 return 0;
13486 _ACEOF
13487 rm -f conftest.$ac_objext
13488 if { (ac_try="$ac_compile"
13489 case "(($ac_try" in
13490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13491 *) ac_try_echo=$ac_try;;
13492 esac
13493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13494 (eval "$ac_compile") 2>conftest.er1
13495 ac_status=$?
13496 grep -v '^ *+' conftest.er1 >conftest.err
13497 rm -f conftest.er1
13498 cat conftest.err >&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); } && {
13501 test -z "$ac_c_werror_flag" ||
13502 test ! -s conftest.err
13503 } && test -s conftest.$ac_objext; then
13504 ac_cv_c_ppdev="yes"
13505 else
13506 echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13509 ac_cv_c_ppdev="no"
13512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13514 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13515 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13516 if test "$ac_cv_c_ppdev" = "yes"
13517 then
13519 cat >>confdefs.h <<\_ACEOF
13520 #define HAVE_PPDEV 1
13521 _ACEOF
13525 { echo "$as_me:$LINENO: checking for va_copy" >&5
13526 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13527 if test "${ac_cv_c_va_copy+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 cat >conftest.$ac_ext <<_ACEOF
13531 /* confdefs.h. */
13532 _ACEOF
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <stdarg.h>
13538 main ()
13540 va_list ap1, ap2; va_copy(ap1,ap2);
13542 return 0;
13544 _ACEOF
13545 rm -f conftest.$ac_objext conftest$ac_exeext
13546 if { (ac_try="$ac_link"
13547 case "(($ac_try" in
13548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13549 *) ac_try_echo=$ac_try;;
13550 esac
13551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13552 (eval "$ac_link") 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } && {
13559 test -z "$ac_c_werror_flag" ||
13560 test ! -s conftest.err
13561 } && test -s conftest$ac_exeext &&
13562 $as_test_x conftest$ac_exeext; then
13563 ac_cv_c_va_copy="yes"
13564 else
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13568 ac_cv_c_va_copy="no"
13571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13572 conftest$ac_exeext conftest.$ac_ext
13575 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13576 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13577 if test "$ac_cv_c_va_copy" = "yes"
13578 then
13580 cat >>confdefs.h <<\_ACEOF
13581 #define HAVE_VA_COPY 1
13582 _ACEOF
13585 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13586 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13587 if test "${ac_cv_c___va_copy+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 else
13590 cat >conftest.$ac_ext <<_ACEOF
13591 /* confdefs.h. */
13592 _ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13596 #include <stdarg.h>
13598 main ()
13600 va_list ap1, ap2; __va_copy(ap1,ap2);
13602 return 0;
13604 _ACEOF
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (ac_try="$ac_link"
13607 case "(($ac_try" in
13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13609 *) ac_try_echo=$ac_try;;
13610 esac
13611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13612 (eval "$ac_link") 2>conftest.er1
13613 ac_status=$?
13614 grep -v '^ *+' conftest.er1 >conftest.err
13615 rm -f conftest.er1
13616 cat conftest.err >&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } && {
13619 test -z "$ac_c_werror_flag" ||
13620 test ! -s conftest.err
13621 } && test -s conftest$ac_exeext &&
13622 $as_test_x conftest$ac_exeext; then
13623 ac_cv_c___va_copy="yes"
13624 else
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.$ac_ext >&5
13628 ac_cv_c___va_copy="no"
13631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13632 conftest$ac_exeext conftest.$ac_ext
13635 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13636 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13637 if test "$ac_cv_c___va_copy" = "yes"
13638 then
13640 cat >>confdefs.h <<\_ACEOF
13641 #define HAVE___VA_COPY 1
13642 _ACEOF
13646 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13647 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13648 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 else
13651 cat >conftest.$ac_ext <<_ACEOF
13652 /* confdefs.h. */
13653 _ACEOF
13654 cat confdefs.h >>conftest.$ac_ext
13655 cat >>conftest.$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657 #include <setjmp.h>
13659 main ()
13661 sigjmp_buf buf;
13662 sigsetjmp( buf, 1 );
13663 siglongjmp( buf, 1 );
13665 return 0;
13667 _ACEOF
13668 rm -f conftest.$ac_objext conftest$ac_exeext
13669 if { (ac_try="$ac_link"
13670 case "(($ac_try" in
13671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13672 *) ac_try_echo=$ac_try;;
13673 esac
13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13675 (eval "$ac_link") 2>conftest.er1
13676 ac_status=$?
13677 grep -v '^ *+' conftest.er1 >conftest.err
13678 rm -f conftest.er1
13679 cat conftest.err >&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } && {
13682 test -z "$ac_c_werror_flag" ||
13683 test ! -s conftest.err
13684 } && test -s conftest$ac_exeext &&
13685 $as_test_x conftest$ac_exeext; then
13686 ac_cv_c_sigsetjmp="yes"
13687 else
13688 echo "$as_me: failed program was:" >&5
13689 sed 's/^/| /' conftest.$ac_ext >&5
13691 ac_cv_c_sigsetjmp="no"
13694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13695 conftest$ac_exeext conftest.$ac_ext
13698 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13699 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13700 if test "$ac_cv_c_sigsetjmp" = "yes"
13701 then
13703 cat >>confdefs.h <<\_ACEOF
13704 #define HAVE_SIGSETJMP 1
13705 _ACEOF
13709 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13710 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13711 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13712 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 else
13714 cat >conftest.$ac_ext <<_ACEOF
13715 /* confdefs.h. */
13716 _ACEOF
13717 cat confdefs.h >>conftest.$ac_ext
13718 cat >>conftest.$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13720 #define _GNU_SOURCE
13721 #include <pthread.h>
13723 typedef pthread_rwlock_t ac__type_new_;
13725 main ()
13727 if ((ac__type_new_ *) 0)
13728 return 0;
13729 if (sizeof (ac__type_new_))
13730 return 0;
13732 return 0;
13734 _ACEOF
13735 rm -f conftest.$ac_objext
13736 if { (ac_try="$ac_compile"
13737 case "(($ac_try" in
13738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13739 *) ac_try_echo=$ac_try;;
13740 esac
13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13742 (eval "$ac_compile") 2>conftest.er1
13743 ac_status=$?
13744 grep -v '^ *+' conftest.er1 >conftest.err
13745 rm -f conftest.er1
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && {
13749 test -z "$ac_c_werror_flag" ||
13750 test ! -s conftest.err
13751 } && test -s conftest.$ac_objext; then
13752 ac_cv_type_pthread_rwlock_t=yes
13753 else
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13757 ac_cv_type_pthread_rwlock_t=no
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13763 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13764 if test $ac_cv_type_pthread_rwlock_t = yes; then
13766 cat >>confdefs.h <<_ACEOF
13767 #define HAVE_PTHREAD_RWLOCK_T 1
13768 _ACEOF
13772 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13773 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13774 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 else
13777 cat >conftest.$ac_ext <<_ACEOF
13778 /* confdefs.h. */
13779 _ACEOF
13780 cat confdefs.h >>conftest.$ac_ext
13781 cat >>conftest.$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 #define _GNU_SOURCE
13784 #include <pthread.h>
13786 typedef pthread_rwlockattr_t ac__type_new_;
13788 main ()
13790 if ((ac__type_new_ *) 0)
13791 return 0;
13792 if (sizeof (ac__type_new_))
13793 return 0;
13795 return 0;
13797 _ACEOF
13798 rm -f conftest.$ac_objext
13799 if { (ac_try="$ac_compile"
13800 case "(($ac_try" in
13801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13802 *) ac_try_echo=$ac_try;;
13803 esac
13804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13805 (eval "$ac_compile") 2>conftest.er1
13806 ac_status=$?
13807 grep -v '^ *+' conftest.er1 >conftest.err
13808 rm -f conftest.er1
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } && {
13812 test -z "$ac_c_werror_flag" ||
13813 test ! -s conftest.err
13814 } && test -s conftest.$ac_objext; then
13815 ac_cv_type_pthread_rwlockattr_t=yes
13816 else
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13820 ac_cv_type_pthread_rwlockattr_t=no
13823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13825 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13826 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13827 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13829 cat >>confdefs.h <<_ACEOF
13830 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13831 _ACEOF
13837 ac_wine_check_funcs_save_LIBS="$LIBS"
13838 LIBS="$LIBS $LIBPTHREAD"
13843 for ac_func in \
13844 pthread_attr_get_np \
13845 pthread_getattr_np \
13846 pthread_get_stackaddr_np \
13847 pthread_get_stacksize_np
13849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 else
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13863 #define $ac_func innocuous_$ac_func
13865 /* System header to define __stub macros and hopefully few prototypes,
13866 which can conflict with char $ac_func (); below.
13867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13868 <limits.h> exists even on freestanding compilers. */
13870 #ifdef __STDC__
13871 # include <limits.h>
13872 #else
13873 # include <assert.h>
13874 #endif
13876 #undef $ac_func
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13881 #ifdef __cplusplus
13882 extern "C"
13883 #endif
13884 char $ac_func ();
13885 /* The GNU C library defines this for functions which it implements
13886 to always fail with ENOSYS. Some functions are actually named
13887 something starting with __ and the normal name is an alias. */
13888 #if defined __stub_$ac_func || defined __stub___$ac_func
13889 choke me
13890 #endif
13893 main ()
13895 return $ac_func ();
13897 return 0;
13899 _ACEOF
13900 rm -f conftest.$ac_objext conftest$ac_exeext
13901 if { (ac_try="$ac_link"
13902 case "(($ac_try" in
13903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13904 *) ac_try_echo=$ac_try;;
13905 esac
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_link") 2>conftest.er1
13908 ac_status=$?
13909 grep -v '^ *+' conftest.er1 >conftest.err
13910 rm -f conftest.er1
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } && {
13914 test -z "$ac_c_werror_flag" ||
13915 test ! -s conftest.err
13916 } && test -s conftest$ac_exeext &&
13917 $as_test_x conftest$ac_exeext; then
13918 eval "$as_ac_var=yes"
13919 else
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.$ac_ext >&5
13923 eval "$as_ac_var=no"
13926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13927 conftest$ac_exeext conftest.$ac_ext
13929 ac_res=`eval echo '${'$as_ac_var'}'`
13930 { echo "$as_me:$LINENO: result: $ac_res" >&5
13931 echo "${ECHO_T}$ac_res" >&6; }
13932 if test `eval echo '${'$as_ac_var'}'` = yes; then
13933 cat >>confdefs.h <<_ACEOF
13934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13935 _ACEOF
13938 done
13940 LIBS="$ac_wine_check_funcs_save_LIBS"
13942 # Extract the first word of "esd-config", so it can be a program name with args.
13943 set dummy esd-config; ac_word=$2
13944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13946 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13947 echo $ECHO_N "(cached) $ECHO_C" >&6
13948 else
13949 case $ESDCONFIG in
13950 [\\/]* | ?:[\\/]*)
13951 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13955 for as_dir in $PATH
13957 IFS=$as_save_IFS
13958 test -z "$as_dir" && as_dir=.
13959 for ac_exec_ext in '' $ac_executable_extensions; do
13960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13961 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13963 break 2
13965 done
13966 done
13967 IFS=$as_save_IFS
13970 esac
13972 ESDCONFIG=$ac_cv_path_ESDCONFIG
13973 if test -n "$ESDCONFIG"; then
13974 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13975 echo "${ECHO_T}$ESDCONFIG" >&6; }
13976 else
13977 { echo "$as_me:$LINENO: result: no" >&5
13978 echo "${ECHO_T}no" >&6; }
13982 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13983 then
13984 ESD_CFLAGS=""
13985 for i in `$ESDCONFIG --cflags`
13987 case "$i" in
13988 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13989 esac
13990 done
13991 ESD_LIBS=`$ESDCONFIG --libs`
13992 save_CFLAGS="$CFLAGS"
13993 CFLAGS="$CFLAGS $ESD_CFLAGS"
13994 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13995 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13996 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 else
13999 ac_check_lib_save_LIBS=$LIBS
14000 LIBS="-lesd $LIBS"
14001 cat >conftest.$ac_ext <<_ACEOF
14002 /* confdefs.h. */
14003 _ACEOF
14004 cat confdefs.h >>conftest.$ac_ext
14005 cat >>conftest.$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char esd_open_sound ();
14016 main ()
14018 return esd_open_sound ();
14020 return 0;
14022 _ACEOF
14023 rm -f conftest.$ac_objext conftest$ac_exeext
14024 if { (ac_try="$ac_link"
14025 case "(($ac_try" in
14026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14027 *) ac_try_echo=$ac_try;;
14028 esac
14029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14030 (eval "$ac_link") 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } && {
14037 test -z "$ac_c_werror_flag" ||
14038 test ! -s conftest.err
14039 } && test -s conftest$ac_exeext &&
14040 $as_test_x conftest$ac_exeext; then
14041 ac_cv_lib_esd_esd_open_sound=yes
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 ac_cv_lib_esd_esd_open_sound=no
14049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_lib_save_LIBS
14053 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14054 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14055 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14056 ESDLIBS=$ESD_LIBS
14058 ESDINCL=$ESD_CFLAGS
14061 cat >>confdefs.h <<\_ACEOF
14062 #define HAVE_ESD 1
14063 _ACEOF
14067 CFLAGS="$save_CFLAGS"
14070 ALSALIBS=""
14072 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14073 then
14074 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14075 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14076 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 ac_check_lib_save_LIBS=$LIBS
14080 LIBS="-lasound $LIBS"
14081 cat >conftest.$ac_ext <<_ACEOF
14082 /* confdefs.h. */
14083 _ACEOF
14084 cat confdefs.h >>conftest.$ac_ext
14085 cat >>conftest.$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14091 #ifdef __cplusplus
14092 extern "C"
14093 #endif
14094 char snd_pcm_hw_params_get_access ();
14096 main ()
14098 return snd_pcm_hw_params_get_access ();
14100 return 0;
14102 _ACEOF
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (ac_try="$ac_link"
14105 case "(($ac_try" in
14106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14107 *) ac_try_echo=$ac_try;;
14108 esac
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } && {
14117 test -z "$ac_c_werror_flag" ||
14118 test ! -s conftest.err
14119 } && test -s conftest$ac_exeext &&
14120 $as_test_x conftest$ac_exeext; then
14121 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14134 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14135 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #ifdef HAVE_ALSA_ASOUNDLIB_H
14143 #include <alsa/asoundlib.h>
14144 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14145 #include <sys/asoundlib.h>
14146 #endif
14148 main ()
14150 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14152 return 0;
14154 _ACEOF
14155 rm -f conftest.$ac_objext
14156 if { (ac_try="$ac_compile"
14157 case "(($ac_try" in
14158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14159 *) ac_try_echo=$ac_try;;
14160 esac
14161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14162 (eval "$ac_compile") 2>conftest.er1
14163 ac_status=$?
14164 grep -v '^ *+' conftest.er1 >conftest.err
14165 rm -f conftest.er1
14166 cat conftest.err >&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } && {
14169 test -z "$ac_c_werror_flag" ||
14170 test ! -s conftest.err
14171 } && test -s conftest.$ac_objext; then
14173 cat >>confdefs.h <<\_ACEOF
14174 #define HAVE_ALSA 1
14175 _ACEOF
14177 ALSALIBS="-lasound"
14178 else
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.$ac_ext >&5
14185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14190 AUDIOIOLIBS=""
14192 if test "$ac_cv_header_libaudioio_h" = "yes"
14193 then
14194 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14195 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14196 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 else
14199 ac_check_lib_save_LIBS=$LIBS
14200 LIBS="-laudioio $LIBS"
14201 cat >conftest.$ac_ext <<_ACEOF
14202 /* confdefs.h. */
14203 _ACEOF
14204 cat confdefs.h >>conftest.$ac_ext
14205 cat >>conftest.$ac_ext <<_ACEOF
14206 /* end confdefs.h. */
14208 /* Override any GCC internal prototype to avoid an error.
14209 Use char because int might match the return type of a GCC
14210 builtin and then its argument prototype would still apply. */
14211 #ifdef __cplusplus
14212 extern "C"
14213 #endif
14214 char AudioIOGetVersion ();
14216 main ()
14218 return AudioIOGetVersion ();
14220 return 0;
14222 _ACEOF
14223 rm -f conftest.$ac_objext conftest$ac_exeext
14224 if { (ac_try="$ac_link"
14225 case "(($ac_try" in
14226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14227 *) ac_try_echo=$ac_try;;
14228 esac
14229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14230 (eval "$ac_link") 2>conftest.er1
14231 ac_status=$?
14232 grep -v '^ *+' conftest.er1 >conftest.err
14233 rm -f conftest.er1
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } && {
14237 test -z "$ac_c_werror_flag" ||
14238 test ! -s conftest.err
14239 } && test -s conftest$ac_exeext &&
14240 $as_test_x conftest$ac_exeext; then
14241 ac_cv_lib_audioio_AudioIOGetVersion=yes
14242 else
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14246 ac_cv_lib_audioio_AudioIOGetVersion=no
14249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_lib_save_LIBS
14253 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14254 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14255 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14256 AUDIOIOLIBS="-laudioio"
14258 cat >>confdefs.h <<\_ACEOF
14259 #define HAVE_LIBAUDIOIO 1
14260 _ACEOF
14267 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14268 then
14269 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14270 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14271 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 else
14274 ac_check_soname_save_LIBS=$LIBS
14275 LIBS="-lcapi20 $LIBS"
14276 cat >conftest.$ac_ext <<_ACEOF
14277 /* confdefs.h. */
14278 _ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply. */
14286 #ifdef __cplusplus
14287 extern "C"
14288 #endif
14289 char capi20_register ();
14291 main ()
14293 return capi20_register ();
14295 return 0;
14297 _ACEOF
14298 rm -f conftest.$ac_objext conftest$ac_exeext
14299 if { (ac_try="$ac_link"
14300 case "(($ac_try" in
14301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14302 *) ac_try_echo=$ac_try;;
14303 esac
14304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14305 (eval "$ac_link") 2>conftest.er1
14306 ac_status=$?
14307 grep -v '^ *+' conftest.er1 >conftest.err
14308 rm -f conftest.er1
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } && {
14312 test -z "$ac_c_werror_flag" ||
14313 test ! -s conftest.err
14314 } && test -s conftest$ac_exeext &&
14315 $as_test_x conftest$ac_exeext; then
14316 case "$LIBEXT" in
14317 dll) ;;
14318 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'` ;;
14319 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14320 esac
14321 else
14322 echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.$ac_ext >&5
14328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_soname_save_LIBS
14332 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14333 { echo "$as_me:$LINENO: result: not found" >&5
14334 echo "${ECHO_T}not found" >&6; }
14336 else
14337 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14338 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14340 cat >>confdefs.h <<_ACEOF
14341 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14342 _ACEOF
14348 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14349 wine_notices="$wine_notices|libcapi20 development files not found.
14350 Wine will be built without ISDN support. (capi2032.dll)"
14354 if test "$ac_cv_header_cups_cups_h" = "yes"
14355 then
14356 { echo "$as_me:$LINENO: checking for -lcups" >&5
14357 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14358 if test "${ac_cv_lib_soname_cups+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 else
14361 ac_check_soname_save_LIBS=$LIBS
14362 LIBS="-lcups $LIBS"
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char cupsGetDefault ();
14378 main ()
14380 return cupsGetDefault ();
14382 return 0;
14384 _ACEOF
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14393 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest$ac_exeext &&
14402 $as_test_x conftest$ac_exeext; then
14403 case "$LIBEXT" in
14404 dll) ;;
14405 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'` ;;
14406 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14407 esac
14408 else
14409 echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.$ac_ext >&5
14415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14416 conftest$ac_exeext conftest.$ac_ext
14417 LIBS=$ac_check_soname_save_LIBS
14419 if test "x$ac_cv_lib_soname_cups" = "x"; then
14420 { echo "$as_me:$LINENO: result: not found" >&5
14421 echo "${ECHO_T}not found" >&6; }
14423 else
14424 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14425 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14427 cat >>confdefs.h <<_ACEOF
14428 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14429 _ACEOF
14435 if test "x$ac_cv_lib_soname_cups" = "x"; then
14436 wine_notices="$wine_notices|libcups development files not found.
14437 Wine will be built without CUPS support."
14441 if test "$ac_cv_header_jack_jack_h" = "yes"
14442 then
14443 { echo "$as_me:$LINENO: checking for -ljack" >&5
14444 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14445 if test "${ac_cv_lib_soname_jack+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14447 else
14448 ac_check_soname_save_LIBS=$LIBS
14449 LIBS="-ljack $LIBS"
14450 cat >conftest.$ac_ext <<_ACEOF
14451 /* confdefs.h. */
14452 _ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 #ifdef __cplusplus
14461 extern "C"
14462 #endif
14463 char jack_client_new ();
14465 main ()
14467 return jack_client_new ();
14469 return 0;
14471 _ACEOF
14472 rm -f conftest.$ac_objext conftest$ac_exeext
14473 if { (ac_try="$ac_link"
14474 case "(($ac_try" in
14475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14476 *) ac_try_echo=$ac_try;;
14477 esac
14478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14479 (eval "$ac_link") 2>conftest.er1
14480 ac_status=$?
14481 grep -v '^ *+' conftest.er1 >conftest.err
14482 rm -f conftest.er1
14483 cat conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_c_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest$ac_exeext &&
14489 $as_test_x conftest$ac_exeext; then
14490 case "$LIBEXT" in
14491 dll) ;;
14492 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'` ;;
14493 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14494 esac
14495 else
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_soname_save_LIBS
14506 if test "x$ac_cv_lib_soname_jack" = "x"; then
14507 { echo "$as_me:$LINENO: result: not found" >&5
14508 echo "${ECHO_T}not found" >&6; }
14510 else
14511 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14512 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14514 cat >>confdefs.h <<_ACEOF
14515 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14516 _ACEOF
14523 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14524 then
14525 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14526 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14527 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 else
14530 ac_check_soname_save_LIBS=$LIBS
14531 LIBS="-lfontconfig $LIBS"
14532 cat >conftest.$ac_ext <<_ACEOF
14533 /* confdefs.h. */
14534 _ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14539 /* Override any GCC internal prototype to avoid an error.
14540 Use char because int might match the return type of a GCC
14541 builtin and then its argument prototype would still apply. */
14542 #ifdef __cplusplus
14543 extern "C"
14544 #endif
14545 char FcInit ();
14547 main ()
14549 return FcInit ();
14551 return 0;
14553 _ACEOF
14554 rm -f conftest.$ac_objext conftest$ac_exeext
14555 if { (ac_try="$ac_link"
14556 case "(($ac_try" in
14557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14558 *) ac_try_echo=$ac_try;;
14559 esac
14560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14561 (eval "$ac_link") 2>conftest.er1
14562 ac_status=$?
14563 grep -v '^ *+' conftest.er1 >conftest.err
14564 rm -f conftest.er1
14565 cat conftest.err >&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } && {
14568 test -z "$ac_c_werror_flag" ||
14569 test ! -s conftest.err
14570 } && test -s conftest$ac_exeext &&
14571 $as_test_x conftest$ac_exeext; then
14572 case "$LIBEXT" in
14573 dll) ;;
14574 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'` ;;
14575 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14576 esac
14577 else
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14585 conftest$ac_exeext conftest.$ac_ext
14586 LIBS=$ac_check_soname_save_LIBS
14588 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14589 { echo "$as_me:$LINENO: result: not found" >&5
14590 echo "${ECHO_T}not found" >&6; }
14592 else
14593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14594 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14596 cat >>confdefs.h <<_ACEOF
14597 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14598 _ACEOF
14604 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14605 wine_notices="$wine_notices|fontconfig development files not found.
14606 Wine will be built without fontconfig support."
14610 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14611 then
14612 { echo "$as_me:$LINENO: checking for -lssl" >&5
14613 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14614 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 else
14617 ac_check_soname_save_LIBS=$LIBS
14618 LIBS="-lssl $LIBS"
14619 cat >conftest.$ac_ext <<_ACEOF
14620 /* confdefs.h. */
14621 _ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 #ifdef __cplusplus
14630 extern "C"
14631 #endif
14632 char SSL_library_init ();
14634 main ()
14636 return SSL_library_init ();
14638 return 0;
14640 _ACEOF
14641 rm -f conftest.$ac_objext conftest$ac_exeext
14642 if { (ac_try="$ac_link"
14643 case "(($ac_try" in
14644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14645 *) ac_try_echo=$ac_try;;
14646 esac
14647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14648 (eval "$ac_link") 2>conftest.er1
14649 ac_status=$?
14650 grep -v '^ *+' conftest.er1 >conftest.err
14651 rm -f conftest.er1
14652 cat conftest.err >&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } && {
14655 test -z "$ac_c_werror_flag" ||
14656 test ! -s conftest.err
14657 } && test -s conftest$ac_exeext &&
14658 $as_test_x conftest$ac_exeext; then
14659 case "$LIBEXT" in
14660 dll) ;;
14661 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'` ;;
14662 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14663 esac
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_soname_save_LIBS
14675 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14676 { echo "$as_me:$LINENO: result: not found" >&5
14677 echo "${ECHO_T}not found" >&6; }
14679 else
14680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14681 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14683 cat >>confdefs.h <<_ACEOF
14684 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14685 _ACEOF
14690 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14691 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14692 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 else
14695 ac_check_soname_save_LIBS=$LIBS
14696 LIBS="-lcrypto $LIBS"
14697 cat >conftest.$ac_ext <<_ACEOF
14698 /* confdefs.h. */
14699 _ACEOF
14700 cat confdefs.h >>conftest.$ac_ext
14701 cat >>conftest.$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 #ifdef __cplusplus
14708 extern "C"
14709 #endif
14710 char BIO_new_socket ();
14712 main ()
14714 return BIO_new_socket ();
14716 return 0;
14718 _ACEOF
14719 rm -f conftest.$ac_objext conftest$ac_exeext
14720 if { (ac_try="$ac_link"
14721 case "(($ac_try" in
14722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14723 *) ac_try_echo=$ac_try;;
14724 esac
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_link") 2>conftest.er1
14727 ac_status=$?
14728 grep -v '^ *+' conftest.er1 >conftest.err
14729 rm -f conftest.er1
14730 cat conftest.err >&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } && {
14733 test -z "$ac_c_werror_flag" ||
14734 test ! -s conftest.err
14735 } && test -s conftest$ac_exeext &&
14736 $as_test_x conftest$ac_exeext; then
14737 case "$LIBEXT" in
14738 dll) ;;
14739 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'` ;;
14740 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14741 esac
14742 else
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.$ac_ext >&5
14749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_soname_save_LIBS
14753 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14754 { echo "$as_me:$LINENO: result: not found" >&5
14755 echo "${ECHO_T}not found" >&6; }
14757 else
14758 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14759 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14761 cat >>confdefs.h <<_ACEOF
14762 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14763 _ACEOF
14769 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14770 wine_notices="$wine_notices|OpenSSL development files not found.
14771 Wine will be built without SSL support. (wininet.dll)"
14775 if test "$ac_cv_header_jpeglib_h" = "yes"
14776 then
14777 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14778 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14779 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 else
14782 ac_check_soname_save_LIBS=$LIBS
14783 LIBS="-ljpeg $LIBS"
14784 cat >conftest.$ac_ext <<_ACEOF
14785 /* confdefs.h. */
14786 _ACEOF
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14794 #ifdef __cplusplus
14795 extern "C"
14796 #endif
14797 char jpeg_start_decompress ();
14799 main ()
14801 return jpeg_start_decompress ();
14803 return 0;
14805 _ACEOF
14806 rm -f conftest.$ac_objext conftest$ac_exeext
14807 if { (ac_try="$ac_link"
14808 case "(($ac_try" in
14809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14810 *) ac_try_echo=$ac_try;;
14811 esac
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_link") 2>conftest.er1
14814 ac_status=$?
14815 grep -v '^ *+' conftest.er1 >conftest.err
14816 rm -f conftest.er1
14817 cat conftest.err >&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } && {
14820 test -z "$ac_c_werror_flag" ||
14821 test ! -s conftest.err
14822 } && test -s conftest$ac_exeext &&
14823 $as_test_x conftest$ac_exeext; then
14824 case "$LIBEXT" in
14825 dll) ;;
14826 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'` ;;
14827 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14828 esac
14829 else
14830 echo "$as_me: failed program was:" >&5
14831 sed 's/^/| /' conftest.$ac_ext >&5
14836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_soname_save_LIBS
14840 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14841 { echo "$as_me:$LINENO: result: not found" >&5
14842 echo "${ECHO_T}not found" >&6; }
14844 else
14845 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14846 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14848 cat >>confdefs.h <<_ACEOF
14849 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14850 _ACEOF
14856 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14857 wine_notices="$wine_notices|libjpeg development files not found.
14858 Wine will be built without JPEG support. (oleaut32.dll)"
14862 if test "$ac_cv_header_png_h" = "yes"
14863 then
14864 { echo "$as_me:$LINENO: checking for -lpng" >&5
14865 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14866 if test "${ac_cv_lib_soname_png+set}" = set; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 else
14869 ac_check_soname_save_LIBS=$LIBS
14870 LIBS="-lpng $LIBS"
14871 cat >conftest.$ac_ext <<_ACEOF
14872 /* confdefs.h. */
14873 _ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14881 #ifdef __cplusplus
14882 extern "C"
14883 #endif
14884 char png_create_read_struct ();
14886 main ()
14888 return png_create_read_struct ();
14890 return 0;
14892 _ACEOF
14893 rm -f conftest.$ac_objext conftest$ac_exeext
14894 if { (ac_try="$ac_link"
14895 case "(($ac_try" in
14896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14897 *) ac_try_echo=$ac_try;;
14898 esac
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_link") 2>conftest.er1
14901 ac_status=$?
14902 grep -v '^ *+' conftest.er1 >conftest.err
14903 rm -f conftest.er1
14904 cat conftest.err >&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } && {
14907 test -z "$ac_c_werror_flag" ||
14908 test ! -s conftest.err
14909 } && test -s conftest$ac_exeext &&
14910 $as_test_x conftest$ac_exeext; then
14911 case "$LIBEXT" in
14912 dll) ;;
14913 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'` ;;
14914 *) 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'` ;;
14915 esac
14916 else
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_soname_save_LIBS
14927 if test "x$ac_cv_lib_soname_png" = "x"; then
14928 { echo "$as_me:$LINENO: result: not found" >&5
14929 echo "${ECHO_T}not found" >&6; }
14931 else
14932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14933 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14935 cat >>confdefs.h <<_ACEOF
14936 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14937 _ACEOF
14943 if test "x$ac_cv_lib_soname_png" = "x"; then
14944 wine_notices="$wine_notices|libpng development files not found.
14945 Wine will be built without PNG support. (oleaut32.dll)"
14949 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14950 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14951 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14952 "$ac_cv_header_soundcard_h" != "yes"; then
14953 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14958 EXTRACFLAGS=""
14960 if test "x${GCC}" = "xyes"
14961 then
14962 EXTRACFLAGS="-Wall -pipe"
14964 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14965 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14966 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 else
14969 if test "$cross_compiling" = yes; then
14970 ac_cv_c_gcc_strength_bug="yes"
14971 else
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 int L[4] = {0,1,2,3};
14980 main ()
14982 static int Array[3];
14983 unsigned int B = 3;
14984 int i;
14985 for(i=0; i<B; i++) Array[i] = i - 3;
14986 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14987 L[i] = 4;
14988 exit( Array[1] != -2 || L[2] != 3)
14990 return 0;
14992 _ACEOF
14993 rm -f conftest$ac_exeext
14994 if { (ac_try="$ac_link"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14998 esac
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_link") 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15004 { (case "(($ac_try" in
15005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15006 *) ac_try_echo=$ac_try;;
15007 esac
15008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15009 (eval "$ac_try") 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 ac_cv_c_gcc_strength_bug="no"
15014 else
15015 echo "$as_me: program exited with status $ac_status" >&5
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15019 ( exit $ac_status )
15020 ac_cv_c_gcc_strength_bug="yes"
15022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15027 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15028 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15029 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15030 then
15031 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15035 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15036 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15037 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15039 else
15040 ac_wine_try_cflags_saved=$CFLAGS
15041 CFLAGS="$CFLAGS -fshort-wchar"
15042 cat >conftest.$ac_ext <<_ACEOF
15043 /* confdefs.h. */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15050 main ()
15054 return 0;
15056 _ACEOF
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (ac_try="$ac_link"
15059 case "(($ac_try" in
15060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15062 esac
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_link") 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest$ac_exeext &&
15074 $as_test_x conftest$ac_exeext; then
15075 ac_cv_cflags__fshort_wchar=yes
15076 else
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.$ac_ext >&5
15080 ac_cv_cflags__fshort_wchar=no
15083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15084 conftest$ac_exeext conftest.$ac_ext
15085 CFLAGS=$ac_wine_try_cflags_saved
15087 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15088 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15089 if test $ac_cv_cflags__fshort_wchar = yes; then
15091 cat >>confdefs.h <<\_ACEOF
15092 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15093 _ACEOF
15097 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15098 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15099 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 else
15102 ac_wine_try_cflags_saved=$CFLAGS
15103 CFLAGS="$CFLAGS -fno-strict-aliasing"
15104 cat >conftest.$ac_ext <<_ACEOF
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15112 main ()
15116 return 0;
15118 _ACEOF
15119 rm -f conftest.$ac_objext conftest$ac_exeext
15120 if { (ac_try="$ac_link"
15121 case "(($ac_try" in
15122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15124 esac
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_link") 2>conftest.er1
15127 ac_status=$?
15128 grep -v '^ *+' conftest.er1 >conftest.err
15129 rm -f conftest.er1
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest$ac_exeext &&
15136 $as_test_x conftest$ac_exeext; then
15137 ac_cv_cflags__fno_strict_aliasing=yes
15138 else
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 ac_cv_cflags__fno_strict_aliasing=no
15145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15146 conftest$ac_exeext conftest.$ac_ext
15147 CFLAGS=$ac_wine_try_cflags_saved
15149 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15150 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15151 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15152 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15155 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15156 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15157 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 ac_wine_try_cflags_saved=$CFLAGS
15161 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15162 cat >conftest.$ac_ext <<_ACEOF
15163 /* confdefs.h. */
15164 _ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15170 main ()
15174 return 0;
15176 _ACEOF
15177 rm -f conftest.$ac_objext conftest$ac_exeext
15178 if { (ac_try="$ac_link"
15179 case "(($ac_try" in
15180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15181 *) ac_try_echo=$ac_try;;
15182 esac
15183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15184 (eval "$ac_link") 2>conftest.er1
15185 ac_status=$?
15186 grep -v '^ *+' conftest.er1 >conftest.err
15187 rm -f conftest.er1
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } && {
15191 test -z "$ac_c_werror_flag" ||
15192 test ! -s conftest.err
15193 } && test -s conftest$ac_exeext &&
15194 $as_test_x conftest$ac_exeext; then
15195 ac_cv_cflags__Wdeclaration_after_statement=yes
15196 else
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15200 ac_cv_cflags__Wdeclaration_after_statement=no
15203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15204 conftest$ac_exeext conftest.$ac_ext
15205 CFLAGS=$ac_wine_try_cflags_saved
15207 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15208 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15209 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15210 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15213 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15214 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15215 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 else
15218 ac_wine_try_cflags_saved=$CFLAGS
15219 CFLAGS="$CFLAGS -Wwrite-strings"
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h. */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15228 main ()
15232 return 0;
15234 _ACEOF
15235 rm -f conftest.$ac_objext conftest$ac_exeext
15236 if { (ac_try="$ac_link"
15237 case "(($ac_try" in
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15240 esac
15241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15242 (eval "$ac_link") 2>conftest.er1
15243 ac_status=$?
15244 grep -v '^ *+' conftest.er1 >conftest.err
15245 rm -f conftest.er1
15246 cat conftest.err >&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && {
15249 test -z "$ac_c_werror_flag" ||
15250 test ! -s conftest.err
15251 } && test -s conftest$ac_exeext &&
15252 $as_test_x conftest$ac_exeext; then
15253 ac_cv_cflags__Wwrite_strings=yes
15254 else
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_cv_cflags__Wwrite_strings=no
15261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15262 conftest$ac_exeext conftest.$ac_ext
15263 CFLAGS=$ac_wine_try_cflags_saved
15265 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15266 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15267 if test $ac_cv_cflags__Wwrite_strings = yes; then
15268 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15272 saved_CFLAGS="$CFLAGS"
15273 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15274 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15275 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15276 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 else
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <string.h>
15287 main ()
15291 return 0;
15293 _ACEOF
15294 rm -f conftest.$ac_objext
15295 if { (ac_try="$ac_compile"
15296 case "(($ac_try" in
15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15299 esac
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_compile") 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_c_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest.$ac_objext; then
15311 ac_cv_c_string_h_warnings=no
15312 else
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15316 ac_cv_c_string_h_warnings=yes
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15322 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15323 CFLAGS="$saved_CFLAGS"
15324 if test "$ac_cv_c_string_h_warnings" = "no"
15325 then
15326 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15329 BUILTINFLAG=""
15331 saved_CFLAGS="$CFLAGS"
15332 CFLAGS="$CFLAGS -Werror"
15333 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15334 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15335 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 else
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15346 main ()
15348 int iswlower(unsigned short);
15350 return 0;
15352 _ACEOF
15353 rm -f conftest.$ac_objext
15354 if { (ac_try="$ac_compile"
15355 case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15358 esac
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_compile") 2>conftest.er1
15361 ac_status=$?
15362 grep -v '^ *+' conftest.er1 >conftest.err
15363 rm -f conftest.er1
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest.$ac_objext; then
15370 ac_cv_c_builtin_wchar_ctype=no
15371 else
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15375 ac_cv_c_builtin_wchar_ctype=yes
15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15381 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15382 CFLAGS="$saved_CFLAGS"
15383 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15384 then
15385 BUILTINFLAG="-fno-builtin"
15390 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15391 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15392 if test "${ac_cv_asm_func_def+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 else
15395 cat >conftest.$ac_ext <<_ACEOF
15396 /* confdefs.h. */
15397 _ACEOF
15398 cat confdefs.h >>conftest.$ac_ext
15399 cat >>conftest.$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15403 main ()
15405 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15407 return 0;
15409 _ACEOF
15410 rm -f conftest.$ac_objext conftest$ac_exeext
15411 if { (ac_try="$ac_link"
15412 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15415 esac
15416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_link") 2>conftest.er1
15418 ac_status=$?
15419 grep -v '^ *+' conftest.er1 >conftest.err
15420 rm -f conftest.er1
15421 cat conftest.err >&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } && {
15424 test -z "$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15426 } && test -s conftest$ac_exeext &&
15427 $as_test_x conftest$ac_exeext; then
15428 ac_cv_asm_func_def=".def"
15429 else
15430 echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.$ac_ext >&5
15433 cat >conftest.$ac_ext <<_ACEOF
15434 /* confdefs.h. */
15435 _ACEOF
15436 cat confdefs.h >>conftest.$ac_ext
15437 cat >>conftest.$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15441 main ()
15443 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15445 return 0;
15447 _ACEOF
15448 rm -f conftest.$ac_objext conftest$ac_exeext
15449 if { (ac_try="$ac_link"
15450 case "(($ac_try" in
15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15453 esac
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15456 ac_status=$?
15457 grep -v '^ *+' conftest.er1 >conftest.err
15458 rm -f conftest.er1
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15466 ac_cv_asm_func_def=".type @function"
15467 else
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15479 main ()
15481 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15483 return 0;
15485 _ACEOF
15486 rm -f conftest.$ac_objext conftest$ac_exeext
15487 if { (ac_try="$ac_link"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15491 esac
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_link") 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest$ac_exeext &&
15503 $as_test_x conftest$ac_exeext; then
15504 ac_cv_asm_func_def=".type 2"
15505 else
15506 echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.$ac_ext >&5
15509 ac_cv_asm_func_def="unknown"
15512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15513 conftest$ac_exeext conftest.$ac_ext
15516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15517 conftest$ac_exeext conftest.$ac_ext
15520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15521 conftest$ac_exeext conftest.$ac_ext
15523 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15524 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15528 case "$ac_cv_asm_func_def" in
15529 ".def")
15530 cat >>confdefs.h <<\_ACEOF
15531 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15532 _ACEOF
15534 ".type @function")
15535 cat >>confdefs.h <<\_ACEOF
15536 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15537 _ACEOF
15539 ".type 2")
15540 cat >>confdefs.h <<\_ACEOF
15541 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15542 _ACEOF
15545 cat >>confdefs.h <<\_ACEOF
15546 #define __ASM_FUNC(name) ""
15547 _ACEOF
15549 esac
15552 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15553 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15554 if test "${ac_cv_c_extern_prefix+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 extern int ac_test;
15565 main ()
15567 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15569 return 0;
15571 _ACEOF
15572 rm -f conftest.$ac_objext conftest$ac_exeext
15573 if { (ac_try="$ac_link"
15574 case "(($ac_try" in
15575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15576 *) ac_try_echo=$ac_try;;
15577 esac
15578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15579 (eval "$ac_link") 2>conftest.er1
15580 ac_status=$?
15581 grep -v '^ *+' conftest.er1 >conftest.err
15582 rm -f conftest.er1
15583 cat conftest.err >&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } && {
15586 test -z "$ac_c_werror_flag" ||
15587 test ! -s conftest.err
15588 } && test -s conftest$ac_exeext &&
15589 $as_test_x conftest$ac_exeext; then
15590 ac_cv_c_extern_prefix="yes"
15591 else
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5
15595 ac_cv_c_extern_prefix="no"
15598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15599 conftest$ac_exeext conftest.$ac_ext
15601 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15602 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15606 if test "$ac_cv_c_extern_prefix" = "yes"
15607 then
15608 cat >>confdefs.h <<\_ACEOF
15609 #define __ASM_NAME(name) "_" name
15610 _ACEOF
15612 else
15613 cat >>confdefs.h <<\_ACEOF
15614 #define __ASM_NAME(name) name
15615 _ACEOF
15620 LDPATH=""
15622 case $build_os in
15623 cygwin*|mingw32*)
15624 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15626 darwin*|macosx*)
15628 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15629 then
15630 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15634 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15636 esac
15638 case $host_os in
15639 mingw32*)
15640 CRTLIBS="-lmsvcrt"
15642 SOCKETLIBS="-lws2_32"
15645 esac
15647 MAIN_BINARY="wine-pthread"
15648 case $host_cpu in
15649 *i[3456789]86*)
15650 case $host_os in
15651 linux* | k*bsd*-gnu)
15652 MAIN_BINARY="wine-glibc"
15654 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15656 esac
15658 esac
15722 for ac_func in \
15723 _pclose \
15724 _popen \
15725 _snprintf \
15726 _spawnvp \
15727 _stricmp \
15728 _strnicmp \
15729 _vsnprintf \
15730 asctime_r \
15731 chsize \
15732 clone \
15733 dlopen \
15734 epoll_create \
15735 ffs \
15736 finite \
15737 fork \
15738 fpclass \
15739 fstatfs \
15740 fstatvfs \
15741 ftruncate \
15742 futimes \
15743 futimesat \
15744 getdirentries \
15745 getopt_long \
15746 getpagesize \
15747 getpwuid \
15748 gettid \
15749 gettimeofday \
15750 getuid \
15751 inet_pton \
15752 kqueue \
15753 lstat \
15754 memmove \
15755 mmap \
15756 pclose \
15757 poll \
15758 popen \
15759 prctl \
15760 pread \
15761 pwrite \
15762 readlink \
15763 rfork \
15764 sched_yield \
15765 select \
15766 setrlimit \
15767 settimeofday \
15768 sigaltstack \
15769 sigprocmask \
15770 snprintf \
15771 spawnvp \
15772 statfs \
15773 statvfs \
15774 strcasecmp \
15775 strerror \
15776 strncasecmp \
15777 strtold \
15778 tcgetattr \
15779 timegm \
15780 usleep \
15781 vsnprintf \
15782 wait4 \
15783 waitpid \
15786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15791 else
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15800 #define $ac_func innocuous_$ac_func
15802 /* System header to define __stub macros and hopefully few prototypes,
15803 which can conflict with char $ac_func (); below.
15804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15805 <limits.h> exists even on freestanding compilers. */
15807 #ifdef __STDC__
15808 # include <limits.h>
15809 #else
15810 # include <assert.h>
15811 #endif
15813 #undef $ac_func
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15818 #ifdef __cplusplus
15819 extern "C"
15820 #endif
15821 char $ac_func ();
15822 /* The GNU C library defines this for functions which it implements
15823 to always fail with ENOSYS. Some functions are actually named
15824 something starting with __ and the normal name is an alias. */
15825 #if defined __stub_$ac_func || defined __stub___$ac_func
15826 choke me
15827 #endif
15830 main ()
15832 return $ac_func ();
15834 return 0;
15836 _ACEOF
15837 rm -f conftest.$ac_objext conftest$ac_exeext
15838 if { (ac_try="$ac_link"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15842 esac
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_link") 2>conftest.er1
15845 ac_status=$?
15846 grep -v '^ *+' conftest.er1 >conftest.err
15847 rm -f conftest.er1
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest$ac_exeext &&
15854 $as_test_x conftest$ac_exeext; then
15855 eval "$as_ac_var=yes"
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15860 eval "$as_ac_var=no"
15863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15864 conftest$ac_exeext conftest.$ac_ext
15866 ac_res=`eval echo '${'$as_ac_var'}'`
15867 { echo "$as_me:$LINENO: result: $ac_res" >&5
15868 echo "${ECHO_T}$ac_res" >&6; }
15869 if test `eval echo '${'$as_ac_var'}'` = yes; then
15870 cat >>confdefs.h <<_ACEOF
15871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15872 _ACEOF
15875 done
15878 if test "$ac_cv_func_dlopen" = no
15879 then
15880 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15881 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 else
15885 ac_check_lib_save_LIBS=$LIBS
15886 LIBS="-ldl $LIBS"
15887 cat >conftest.$ac_ext <<_ACEOF
15888 /* confdefs.h. */
15889 _ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15897 #ifdef __cplusplus
15898 extern "C"
15899 #endif
15900 char dlopen ();
15902 main ()
15904 return dlopen ();
15906 return 0;
15908 _ACEOF
15909 rm -f conftest.$ac_objext conftest$ac_exeext
15910 if { (ac_try="$ac_link"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15914 esac
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_link") 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest$ac_exeext &&
15926 $as_test_x conftest$ac_exeext; then
15927 ac_cv_lib_dl_dlopen=yes
15928 else
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15932 ac_cv_lib_dl_dlopen=no
15935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15936 conftest$ac_exeext conftest.$ac_ext
15937 LIBS=$ac_check_lib_save_LIBS
15939 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15940 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15941 if test $ac_cv_lib_dl_dlopen = yes; then
15942 cat >>confdefs.h <<\_ACEOF
15943 #define HAVE_DLOPEN 1
15944 _ACEOF
15945 LIBDL="-ldl"
15950 ac_wine_check_funcs_save_LIBS="$LIBS"
15951 LIBS="$LIBS $LIBDL"
15953 for ac_func in dladdr
15955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15959 echo $ECHO_N "(cached) $ECHO_C" >&6
15960 else
15961 cat >conftest.$ac_ext <<_ACEOF
15962 /* confdefs.h. */
15963 _ACEOF
15964 cat confdefs.h >>conftest.$ac_ext
15965 cat >>conftest.$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15969 #define $ac_func innocuous_$ac_func
15971 /* System header to define __stub macros and hopefully few prototypes,
15972 which can conflict with char $ac_func (); below.
15973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15974 <limits.h> exists even on freestanding compilers. */
15976 #ifdef __STDC__
15977 # include <limits.h>
15978 #else
15979 # include <assert.h>
15980 #endif
15982 #undef $ac_func
15984 /* Override any GCC internal prototype to avoid an error.
15985 Use char because int might match the return type of a GCC
15986 builtin and then its argument prototype would still apply. */
15987 #ifdef __cplusplus
15988 extern "C"
15989 #endif
15990 char $ac_func ();
15991 /* The GNU C library defines this for functions which it implements
15992 to always fail with ENOSYS. Some functions are actually named
15993 something starting with __ and the normal name is an alias. */
15994 #if defined __stub_$ac_func || defined __stub___$ac_func
15995 choke me
15996 #endif
15999 main ()
16001 return $ac_func ();
16003 return 0;
16005 _ACEOF
16006 rm -f conftest.$ac_objext conftest$ac_exeext
16007 if { (ac_try="$ac_link"
16008 case "(($ac_try" in
16009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16010 *) ac_try_echo=$ac_try;;
16011 esac
16012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16013 (eval "$ac_link") 2>conftest.er1
16014 ac_status=$?
16015 grep -v '^ *+' conftest.er1 >conftest.err
16016 rm -f conftest.er1
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } && {
16020 test -z "$ac_c_werror_flag" ||
16021 test ! -s conftest.err
16022 } && test -s conftest$ac_exeext &&
16023 $as_test_x conftest$ac_exeext; then
16024 eval "$as_ac_var=yes"
16025 else
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16029 eval "$as_ac_var=no"
16032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16033 conftest$ac_exeext conftest.$ac_ext
16035 ac_res=`eval echo '${'$as_ac_var'}'`
16036 { echo "$as_me:$LINENO: result: $ac_res" >&5
16037 echo "${ECHO_T}$ac_res" >&6; }
16038 if test `eval echo '${'$as_ac_var'}'` = yes; then
16039 cat >>confdefs.h <<_ACEOF
16040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16041 _ACEOF
16044 done
16046 LIBS="$ac_wine_check_funcs_save_LIBS"
16048 if test "$ac_cv_func_poll" = no
16049 then
16050 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16051 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16052 if test "${ac_cv_lib_poll_poll+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 else
16055 ac_check_lib_save_LIBS=$LIBS
16056 LIBS="-lpoll $LIBS"
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 #ifdef __cplusplus
16068 extern "C"
16069 #endif
16070 char poll ();
16072 main ()
16074 return poll ();
16076 return 0;
16078 _ACEOF
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16084 esac
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16087 ac_status=$?
16088 grep -v '^ *+' conftest.er1 >conftest.err
16089 rm -f conftest.er1
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest$ac_exeext &&
16096 $as_test_x conftest$ac_exeext; then
16097 ac_cv_lib_poll_poll=yes
16098 else
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16102 ac_cv_lib_poll_poll=no
16105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16106 conftest$ac_exeext conftest.$ac_ext
16107 LIBS=$ac_check_lib_save_LIBS
16109 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16110 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16111 if test $ac_cv_lib_poll_poll = yes; then
16112 cat >>confdefs.h <<\_ACEOF
16113 #define HAVE_POLL 1
16114 _ACEOF
16115 LIBPOLL="-lpoll"
16121 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16122 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16123 if test "${ac_cv_search_gethostbyname+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 else
16126 ac_func_search_save_LIBS=$LIBS
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16134 /* Override any GCC internal prototype to avoid an error.
16135 Use char because int might match the return type of a GCC
16136 builtin and then its argument prototype would still apply. */
16137 #ifdef __cplusplus
16138 extern "C"
16139 #endif
16140 char gethostbyname ();
16142 main ()
16144 return gethostbyname ();
16146 return 0;
16148 _ACEOF
16149 for ac_lib in '' nsl; do
16150 if test -z "$ac_lib"; then
16151 ac_res="none required"
16152 else
16153 ac_res=-l$ac_lib
16154 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16156 rm -f conftest.$ac_objext conftest$ac_exeext
16157 if { (ac_try="$ac_link"
16158 case "(($ac_try" in
16159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16161 esac
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_link") 2>conftest.er1
16164 ac_status=$?
16165 grep -v '^ *+' conftest.er1 >conftest.err
16166 rm -f conftest.er1
16167 cat conftest.err >&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } && {
16170 test -z "$ac_c_werror_flag" ||
16171 test ! -s conftest.err
16172 } && test -s conftest$ac_exeext &&
16173 $as_test_x conftest$ac_exeext; then
16174 ac_cv_search_gethostbyname=$ac_res
16175 else
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.$ac_ext >&5
16182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16183 conftest$ac_exeext
16184 if test "${ac_cv_search_gethostbyname+set}" = set; then
16185 break
16187 done
16188 if test "${ac_cv_search_gethostbyname+set}" = set; then
16190 else
16191 ac_cv_search_gethostbyname=no
16193 rm conftest.$ac_ext
16194 LIBS=$ac_func_search_save_LIBS
16196 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16197 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16198 ac_res=$ac_cv_search_gethostbyname
16199 if test "$ac_res" != no; then
16200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16205 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16206 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16207 if test "${ac_cv_search_connect+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 else
16210 ac_func_search_save_LIBS=$LIBS
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16221 #ifdef __cplusplus
16222 extern "C"
16223 #endif
16224 char connect ();
16226 main ()
16228 return connect ();
16230 return 0;
16232 _ACEOF
16233 for ac_lib in '' socket; do
16234 if test -z "$ac_lib"; then
16235 ac_res="none required"
16236 else
16237 ac_res=-l$ac_lib
16238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16240 rm -f conftest.$ac_objext conftest$ac_exeext
16241 if { (ac_try="$ac_link"
16242 case "(($ac_try" in
16243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16245 esac
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_link") 2>conftest.er1
16248 ac_status=$?
16249 grep -v '^ *+' conftest.er1 >conftest.err
16250 rm -f conftest.er1
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && {
16254 test -z "$ac_c_werror_flag" ||
16255 test ! -s conftest.err
16256 } && test -s conftest$ac_exeext &&
16257 $as_test_x conftest$ac_exeext; then
16258 ac_cv_search_connect=$ac_res
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16267 conftest$ac_exeext
16268 if test "${ac_cv_search_connect+set}" = set; then
16269 break
16271 done
16272 if test "${ac_cv_search_connect+set}" = set; then
16274 else
16275 ac_cv_search_connect=no
16277 rm conftest.$ac_ext
16278 LIBS=$ac_func_search_save_LIBS
16280 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16281 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16282 ac_res=$ac_cv_search_connect
16283 if test "$ac_res" != no; then
16284 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16289 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16290 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16291 if test "${ac_cv_search_inet_aton+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 else
16294 ac_func_search_save_LIBS=$LIBS
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char inet_aton ();
16310 main ()
16312 return inet_aton ();
16314 return 0;
16316 _ACEOF
16317 for ac_lib in '' resolv; do
16318 if test -z "$ac_lib"; then
16319 ac_res="none required"
16320 else
16321 ac_res=-l$ac_lib
16322 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16324 rm -f conftest.$ac_objext conftest$ac_exeext
16325 if { (ac_try="$ac_link"
16326 case "(($ac_try" in
16327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16328 *) ac_try_echo=$ac_try;;
16329 esac
16330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16331 (eval "$ac_link") 2>conftest.er1
16332 ac_status=$?
16333 grep -v '^ *+' conftest.er1 >conftest.err
16334 rm -f conftest.er1
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } && {
16338 test -z "$ac_c_werror_flag" ||
16339 test ! -s conftest.err
16340 } && test -s conftest$ac_exeext &&
16341 $as_test_x conftest$ac_exeext; then
16342 ac_cv_search_inet_aton=$ac_res
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16351 conftest$ac_exeext
16352 if test "${ac_cv_search_inet_aton+set}" = set; then
16353 break
16355 done
16356 if test "${ac_cv_search_inet_aton+set}" = set; then
16358 else
16359 ac_cv_search_inet_aton=no
16361 rm conftest.$ac_ext
16362 LIBS=$ac_func_search_save_LIBS
16364 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16365 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16366 ac_res=$ac_cv_search_inet_aton
16367 if test "$ac_res" != no; then
16368 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16381 for ac_func in \
16382 getaddrinfo \
16383 getnameinfo \
16384 getnetbyname \
16385 getprotobyname \
16386 getprotobynumber \
16387 getservbyport \
16388 inet_network \
16389 sendmsg \
16392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16406 #define $ac_func innocuous_$ac_func
16408 /* System header to define __stub macros and hopefully few prototypes,
16409 which can conflict with char $ac_func (); below.
16410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16411 <limits.h> exists even on freestanding compilers. */
16413 #ifdef __STDC__
16414 # include <limits.h>
16415 #else
16416 # include <assert.h>
16417 #endif
16419 #undef $ac_func
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16424 #ifdef __cplusplus
16425 extern "C"
16426 #endif
16427 char $ac_func ();
16428 /* The GNU C library defines this for functions which it implements
16429 to always fail with ENOSYS. Some functions are actually named
16430 something starting with __ and the normal name is an alias. */
16431 #if defined __stub_$ac_func || defined __stub___$ac_func
16432 choke me
16433 #endif
16436 main ()
16438 return $ac_func ();
16440 return 0;
16442 _ACEOF
16443 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (ac_try="$ac_link"
16445 case "(($ac_try" in
16446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16447 *) ac_try_echo=$ac_try;;
16448 esac
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_link") 2>conftest.er1
16451 ac_status=$?
16452 grep -v '^ *+' conftest.er1 >conftest.err
16453 rm -f conftest.er1
16454 cat conftest.err >&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } && {
16457 test -z "$ac_c_werror_flag" ||
16458 test ! -s conftest.err
16459 } && test -s conftest$ac_exeext &&
16460 $as_test_x conftest$ac_exeext; then
16461 eval "$as_ac_var=yes"
16462 else
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16466 eval "$as_ac_var=no"
16469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16470 conftest$ac_exeext conftest.$ac_ext
16472 ac_res=`eval echo '${'$as_ac_var'}'`
16473 { echo "$as_me:$LINENO: result: $ac_res" >&5
16474 echo "${ECHO_T}$ac_res" >&6; }
16475 if test `eval echo '${'$as_ac_var'}'` = yes; then
16476 cat >>confdefs.h <<_ACEOF
16477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16478 _ACEOF
16481 done
16485 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16486 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16487 if test "${ac_cv_c_const+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16498 main ()
16500 /* FIXME: Include the comments suggested by Paul. */
16501 #ifndef __cplusplus
16502 /* Ultrix mips cc rejects this. */
16503 typedef int charset[2];
16504 const charset cs;
16505 /* SunOS 4.1.1 cc rejects this. */
16506 char const *const *pcpcc;
16507 char **ppc;
16508 /* NEC SVR4.0.2 mips cc rejects this. */
16509 struct point {int x, y;};
16510 static struct point const zero = {0,0};
16511 /* AIX XL C 1.02.0.0 rejects this.
16512 It does not let you subtract one const X* pointer from another in
16513 an arm of an if-expression whose if-part is not a constant
16514 expression */
16515 const char *g = "string";
16516 pcpcc = &g + (g ? g-g : 0);
16517 /* HPUX 7.0 cc rejects these. */
16518 ++pcpcc;
16519 ppc = (char**) pcpcc;
16520 pcpcc = (char const *const *) ppc;
16521 { /* SCO 3.2v4 cc rejects this. */
16522 char *t;
16523 char const *s = 0 ? (char *) 0 : (char const *) 0;
16525 *t++ = 0;
16526 if (s) return 0;
16528 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16529 int x[] = {25, 17};
16530 const int *foo = &x[0];
16531 ++foo;
16533 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16534 typedef const int *iptr;
16535 iptr p = 0;
16536 ++p;
16538 { /* AIX XL C 1.02.0.0 rejects this saying
16539 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16540 struct s { int j; const int *ap[3]; };
16541 struct s *b; b->j = 5;
16543 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16544 const int foo = 10;
16545 if (!foo) return 0;
16547 return !cs[0] && !zero.x;
16548 #endif
16551 return 0;
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (ac_try="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16562 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && {
16568 test -z "$ac_c_werror_flag" ||
16569 test ! -s conftest.err
16570 } && test -s conftest.$ac_objext; then
16571 ac_cv_c_const=yes
16572 else
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.$ac_ext >&5
16576 ac_cv_c_const=no
16579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16582 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16583 if test $ac_cv_c_const = no; then
16585 cat >>confdefs.h <<\_ACEOF
16586 #define const
16587 _ACEOF
16591 { echo "$as_me:$LINENO: checking for inline" >&5
16592 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16593 if test "${ac_cv_c_inline+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 else
16596 ac_cv_c_inline=no
16597 for ac_kw in inline __inline__ __inline; do
16598 cat >conftest.$ac_ext <<_ACEOF
16599 /* confdefs.h. */
16600 _ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16604 #ifndef __cplusplus
16605 typedef int foo_t;
16606 static $ac_kw foo_t static_foo () {return 0; }
16607 $ac_kw foo_t foo () {return 0; }
16608 #endif
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (ac_try="$ac_compile"
16613 case "(($ac_try" in
16614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16615 *) ac_try_echo=$ac_try;;
16616 esac
16617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16618 (eval "$ac_compile") 2>conftest.er1
16619 ac_status=$?
16620 grep -v '^ *+' conftest.er1 >conftest.err
16621 rm -f conftest.er1
16622 cat conftest.err >&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); } && {
16625 test -z "$ac_c_werror_flag" ||
16626 test ! -s conftest.err
16627 } && test -s conftest.$ac_objext; then
16628 ac_cv_c_inline=$ac_kw
16629 else
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16637 test "$ac_cv_c_inline" != no && break
16638 done
16641 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16642 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16645 case $ac_cv_c_inline in
16646 inline | yes) ;;
16648 case $ac_cv_c_inline in
16649 no) ac_val=;;
16650 *) ac_val=$ac_cv_c_inline;;
16651 esac
16652 cat >>confdefs.h <<_ACEOF
16653 #ifndef __cplusplus
16654 #define inline $ac_val
16655 #endif
16656 _ACEOF
16658 esac
16660 { echo "$as_me:$LINENO: checking for mode_t" >&5
16661 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16662 if test "${ac_cv_type_mode_t+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 else
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h. */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16672 typedef mode_t ac__type_new_;
16674 main ()
16676 if ((ac__type_new_ *) 0)
16677 return 0;
16678 if (sizeof (ac__type_new_))
16679 return 0;
16681 return 0;
16683 _ACEOF
16684 rm -f conftest.$ac_objext
16685 if { (ac_try="$ac_compile"
16686 case "(($ac_try" in
16687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16688 *) ac_try_echo=$ac_try;;
16689 esac
16690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16691 (eval "$ac_compile") 2>conftest.er1
16692 ac_status=$?
16693 grep -v '^ *+' conftest.er1 >conftest.err
16694 rm -f conftest.er1
16695 cat conftest.err >&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } && {
16698 test -z "$ac_c_werror_flag" ||
16699 test ! -s conftest.err
16700 } && test -s conftest.$ac_objext; then
16701 ac_cv_type_mode_t=yes
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 ac_cv_type_mode_t=no
16709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16711 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16712 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16713 if test $ac_cv_type_mode_t = yes; then
16715 cat >>confdefs.h <<_ACEOF
16716 #define HAVE_MODE_T 1
16717 _ACEOF
16721 { echo "$as_me:$LINENO: checking for off_t" >&5
16722 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16723 if test "${ac_cv_type_off_t+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 else
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 typedef off_t ac__type_new_;
16735 main ()
16737 if ((ac__type_new_ *) 0)
16738 return 0;
16739 if (sizeof (ac__type_new_))
16740 return 0;
16742 return 0;
16744 _ACEOF
16745 rm -f conftest.$ac_objext
16746 if { (ac_try="$ac_compile"
16747 case "(($ac_try" in
16748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;;
16750 esac
16751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16752 (eval "$ac_compile") 2>conftest.er1
16753 ac_status=$?
16754 grep -v '^ *+' conftest.er1 >conftest.err
16755 rm -f conftest.er1
16756 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && {
16759 test -z "$ac_c_werror_flag" ||
16760 test ! -s conftest.err
16761 } && test -s conftest.$ac_objext; then
16762 ac_cv_type_off_t=yes
16763 else
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16767 ac_cv_type_off_t=no
16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16772 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16773 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16774 if test $ac_cv_type_off_t = yes; then
16776 cat >>confdefs.h <<_ACEOF
16777 #define HAVE_OFF_T 1
16778 _ACEOF
16782 { echo "$as_me:$LINENO: checking for pid_t" >&5
16783 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16784 if test "${ac_cv_type_pid_t+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 cat >conftest.$ac_ext <<_ACEOF
16788 /* confdefs.h. */
16789 _ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16794 typedef pid_t ac__type_new_;
16796 main ()
16798 if ((ac__type_new_ *) 0)
16799 return 0;
16800 if (sizeof (ac__type_new_))
16801 return 0;
16803 return 0;
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16811 esac
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16814 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 ac_cv_type_pid_t=yes
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16828 ac_cv_type_pid_t=no
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16834 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16835 if test $ac_cv_type_pid_t = yes; then
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_PID_T 1
16839 _ACEOF
16843 { echo "$as_me:$LINENO: checking for size_t" >&5
16844 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16845 if test "${ac_cv_type_size_t+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 else
16848 cat >conftest.$ac_ext <<_ACEOF
16849 /* confdefs.h. */
16850 _ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 $ac_includes_default
16855 typedef size_t ac__type_new_;
16857 main ()
16859 if ((ac__type_new_ *) 0)
16860 return 0;
16861 if (sizeof (ac__type_new_))
16862 return 0;
16864 return 0;
16866 _ACEOF
16867 rm -f conftest.$ac_objext
16868 if { (ac_try="$ac_compile"
16869 case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16872 esac
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_compile") 2>conftest.er1
16875 ac_status=$?
16876 grep -v '^ *+' conftest.er1 >conftest.err
16877 rm -f conftest.er1
16878 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest.$ac_objext; then
16884 ac_cv_type_size_t=yes
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16889 ac_cv_type_size_t=no
16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16894 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16895 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16896 if test $ac_cv_type_size_t = yes; then
16898 cat >>confdefs.h <<_ACEOF
16899 #define HAVE_SIZE_T 1
16900 _ACEOF
16904 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16905 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16906 if test "${ac_cv_type_ssize_t+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 else
16909 cat >conftest.$ac_ext <<_ACEOF
16910 /* confdefs.h. */
16911 _ACEOF
16912 cat confdefs.h >>conftest.$ac_ext
16913 cat >>conftest.$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16916 typedef ssize_t ac__type_new_;
16918 main ()
16920 if ((ac__type_new_ *) 0)
16921 return 0;
16922 if (sizeof (ac__type_new_))
16923 return 0;
16925 return 0;
16927 _ACEOF
16928 rm -f conftest.$ac_objext
16929 if { (ac_try="$ac_compile"
16930 case "(($ac_try" in
16931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16932 *) ac_try_echo=$ac_try;;
16933 esac
16934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16935 (eval "$ac_compile") 2>conftest.er1
16936 ac_status=$?
16937 grep -v '^ *+' conftest.er1 >conftest.err
16938 rm -f conftest.er1
16939 cat conftest.err >&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } && {
16942 test -z "$ac_c_werror_flag" ||
16943 test ! -s conftest.err
16944 } && test -s conftest.$ac_objext; then
16945 ac_cv_type_ssize_t=yes
16946 else
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.$ac_ext >&5
16950 ac_cv_type_ssize_t=no
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16956 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16957 if test $ac_cv_type_ssize_t = yes; then
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_SSIZE_T 1
16961 _ACEOF
16965 { echo "$as_me:$LINENO: checking for long long" >&5
16966 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16967 if test "${ac_cv_type_long_long+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 else
16970 cat >conftest.$ac_ext <<_ACEOF
16971 /* confdefs.h. */
16972 _ACEOF
16973 cat confdefs.h >>conftest.$ac_ext
16974 cat >>conftest.$ac_ext <<_ACEOF
16975 /* end confdefs.h. */
16976 $ac_includes_default
16977 typedef long long ac__type_new_;
16979 main ()
16981 if ((ac__type_new_ *) 0)
16982 return 0;
16983 if (sizeof (ac__type_new_))
16984 return 0;
16986 return 0;
16988 _ACEOF
16989 rm -f conftest.$ac_objext
16990 if { (ac_try="$ac_compile"
16991 case "(($ac_try" in
16992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16993 *) ac_try_echo=$ac_try;;
16994 esac
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_compile") 2>conftest.er1
16997 ac_status=$?
16998 grep -v '^ *+' conftest.er1 >conftest.err
16999 rm -f conftest.er1
17000 cat conftest.err >&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } && {
17003 test -z "$ac_c_werror_flag" ||
17004 test ! -s conftest.err
17005 } && test -s conftest.$ac_objext; then
17006 ac_cv_type_long_long=yes
17007 else
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17011 ac_cv_type_long_long=no
17014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17017 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17018 if test $ac_cv_type_long_long = yes; then
17020 cat >>confdefs.h <<_ACEOF
17021 #define HAVE_LONG_LONG 1
17022 _ACEOF
17026 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17027 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17028 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 typedef fsblkcnt_t ac__type_new_;
17040 main ()
17042 if ((ac__type_new_ *) 0)
17043 return 0;
17044 if (sizeof (ac__type_new_))
17045 return 0;
17047 return 0;
17049 _ACEOF
17050 rm -f conftest.$ac_objext
17051 if { (ac_try="$ac_compile"
17052 case "(($ac_try" in
17053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17054 *) ac_try_echo=$ac_try;;
17055 esac
17056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17057 (eval "$ac_compile") 2>conftest.er1
17058 ac_status=$?
17059 grep -v '^ *+' conftest.er1 >conftest.err
17060 rm -f conftest.er1
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } && {
17064 test -z "$ac_c_werror_flag" ||
17065 test ! -s conftest.err
17066 } && test -s conftest.$ac_objext; then
17067 ac_cv_type_fsblkcnt_t=yes
17068 else
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17072 ac_cv_type_fsblkcnt_t=no
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17077 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17078 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17079 if test $ac_cv_type_fsblkcnt_t = yes; then
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_FSBLKCNT_T 1
17083 _ACEOF
17087 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17088 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17089 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 else
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17099 typedef fsfilcnt_t ac__type_new_;
17101 main ()
17103 if ((ac__type_new_ *) 0)
17104 return 0;
17105 if (sizeof (ac__type_new_))
17106 return 0;
17108 return 0;
17110 _ACEOF
17111 rm -f conftest.$ac_objext
17112 if { (ac_try="$ac_compile"
17113 case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17116 esac
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_compile") 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } && {
17125 test -z "$ac_c_werror_flag" ||
17126 test ! -s conftest.err
17127 } && test -s conftest.$ac_objext; then
17128 ac_cv_type_fsfilcnt_t=yes
17129 else
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.$ac_ext >&5
17133 ac_cv_type_fsfilcnt_t=no
17136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17139 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17140 if test $ac_cv_type_fsfilcnt_t = yes; then
17142 cat >>confdefs.h <<_ACEOF
17143 #define HAVE_FSFILCNT_T 1
17144 _ACEOF
17149 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17150 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17151 if test "${ac_cv_type_sigset_t+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154 cat >conftest.$ac_ext <<_ACEOF
17155 /* confdefs.h. */
17156 _ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <signal.h>
17162 typedef sigset_t ac__type_new_;
17164 main ()
17166 if ((ac__type_new_ *) 0)
17167 return 0;
17168 if (sizeof (ac__type_new_))
17169 return 0;
17171 return 0;
17173 _ACEOF
17174 rm -f conftest.$ac_objext
17175 if { (ac_try="$ac_compile"
17176 case "(($ac_try" in
17177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17178 *) ac_try_echo=$ac_try;;
17179 esac
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_compile") 2>conftest.er1
17182 ac_status=$?
17183 grep -v '^ *+' conftest.er1 >conftest.err
17184 rm -f conftest.er1
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } && {
17188 test -z "$ac_c_werror_flag" ||
17189 test ! -s conftest.err
17190 } && test -s conftest.$ac_objext; then
17191 ac_cv_type_sigset_t=yes
17192 else
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.$ac_ext >&5
17196 ac_cv_type_sigset_t=no
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17202 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17203 if test $ac_cv_type_sigset_t = yes; then
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_SIGSET_T 1
17207 _ACEOF
17212 { echo "$as_me:$LINENO: checking for request_sense" >&5
17213 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17214 if test "${ac_cv_type_request_sense+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17216 else
17217 cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h. */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 #include <linux/cdrom.h>
17225 typedef request_sense ac__type_new_;
17227 main ()
17229 if ((ac__type_new_ *) 0)
17230 return 0;
17231 if (sizeof (ac__type_new_))
17232 return 0;
17234 return 0;
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 ac_cv_type_request_sense=yes
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17259 ac_cv_type_request_sense=no
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17264 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17265 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17266 if test $ac_cv_type_request_sense = yes; then
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_REQUEST_SENSE 1
17270 _ACEOF
17276 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17277 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17278 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 else
17281 cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h. */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 #ifdef HAVE_LINUX_INPUT_H
17288 #include <linux/input.h>
17289 #endif
17292 main ()
17294 static struct ff_effect ac_aggr;
17295 if (ac_aggr.direction)
17296 return 0;
17298 return 0;
17300 _ACEOF
17301 rm -f conftest.$ac_objext
17302 if { (ac_try="$ac_compile"
17303 case "(($ac_try" in
17304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17305 *) ac_try_echo=$ac_try;;
17306 esac
17307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17308 (eval "$ac_compile") 2>conftest.er1
17309 ac_status=$?
17310 grep -v '^ *+' conftest.er1 >conftest.err
17311 rm -f conftest.er1
17312 cat conftest.err >&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } && {
17315 test -z "$ac_c_werror_flag" ||
17316 test ! -s conftest.err
17317 } && test -s conftest.$ac_objext; then
17318 ac_cv_member_struct_ff_effect_direction=yes
17319 else
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 #ifdef HAVE_LINUX_INPUT_H
17330 #include <linux/input.h>
17331 #endif
17334 main ()
17336 static struct ff_effect ac_aggr;
17337 if (sizeof ac_aggr.direction)
17338 return 0;
17340 return 0;
17342 _ACEOF
17343 rm -f conftest.$ac_objext
17344 if { (ac_try="$ac_compile"
17345 case "(($ac_try" in
17346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17347 *) ac_try_echo=$ac_try;;
17348 esac
17349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17350 (eval "$ac_compile") 2>conftest.er1
17351 ac_status=$?
17352 grep -v '^ *+' conftest.er1 >conftest.err
17353 rm -f conftest.er1
17354 cat conftest.err >&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } && {
17357 test -z "$ac_c_werror_flag" ||
17358 test ! -s conftest.err
17359 } && test -s conftest.$ac_objext; then
17360 ac_cv_member_struct_ff_effect_direction=yes
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 ac_cv_member_struct_ff_effect_direction=no
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17374 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17375 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17379 _ACEOF
17385 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17386 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17387 if test "${wine_cv_have_sigaddset+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 else
17390 cat >conftest.$ac_ext <<_ACEOF
17391 /* confdefs.h. */
17392 _ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 #include <signal.h>
17398 main ()
17400 sigset_t set; sigaddset(&set,SIGTERM);
17402 return 0;
17404 _ACEOF
17405 rm -f conftest.$ac_objext conftest$ac_exeext
17406 if { (ac_try="$ac_link"
17407 case "(($ac_try" in
17408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17409 *) ac_try_echo=$ac_try;;
17410 esac
17411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17412 (eval "$ac_link") 2>conftest.er1
17413 ac_status=$?
17414 grep -v '^ *+' conftest.er1 >conftest.err
17415 rm -f conftest.er1
17416 cat conftest.err >&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); } && {
17419 test -z "$ac_c_werror_flag" ||
17420 test ! -s conftest.err
17421 } && test -s conftest$ac_exeext &&
17422 $as_test_x conftest$ac_exeext; then
17423 wine_cv_have_sigaddset=yes
17424 else
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 wine_cv_have_sigaddset=no
17431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17432 conftest$ac_exeext conftest.$ac_ext
17434 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17435 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17436 if test "$wine_cv_have_sigaddset" = "yes"
17437 then
17439 cat >>confdefs.h <<\_ACEOF
17440 #define HAVE_SIGADDSET 1
17441 _ACEOF
17446 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17447 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17448 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 else
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457 #include <netdb.h>
17459 main ()
17462 char *name=NULL;
17463 struct hostent he;
17464 struct hostent *result;
17465 char *buf=NULL;
17466 int bufsize=0;
17467 int res,errnr;
17468 char *addr=NULL;
17469 int addrlen=0;
17470 int addrtype=0;
17471 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17472 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17475 return 0;
17477 _ACEOF
17478 rm -f conftest.$ac_objext conftest$ac_exeext
17479 if { (ac_try="$ac_link"
17480 case "(($ac_try" in
17481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17482 *) ac_try_echo=$ac_try;;
17483 esac
17484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17485 (eval "$ac_link") 2>conftest.er1
17486 ac_status=$?
17487 grep -v '^ *+' conftest.er1 >conftest.err
17488 rm -f conftest.er1
17489 cat conftest.err >&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); } && {
17492 test -z "$ac_c_werror_flag" ||
17493 test ! -s conftest.err
17494 } && test -s conftest$ac_exeext &&
17495 $as_test_x conftest$ac_exeext; then
17496 wine_cv_linux_gethostbyname_r_6=yes
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17501 wine_cv_linux_gethostbyname_r_6=no
17505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17506 conftest$ac_exeext conftest.$ac_ext
17509 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17510 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17511 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17512 then
17514 cat >>confdefs.h <<\_ACEOF
17515 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17516 _ACEOF
17520 if test "$ac_cv_header_linux_joystick_h" = "yes"
17521 then
17522 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17523 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17524 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17526 else
17527 cat >conftest.$ac_ext <<_ACEOF
17528 /* confdefs.h. */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17534 #include <sys/ioctl.h>
17535 #include <sys/types.h>
17536 #include <linux/joystick.h>
17538 struct js_event blub;
17539 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17540 #error "no 2.2 header"
17541 #endif
17544 main ()
17546 /*empty*/
17548 return 0;
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17556 esac
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 wine_cv_linux_joystick_22_api=yes
17569 else
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 wine_cv_linux_joystick_22_api=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17580 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17581 if test "$wine_cv_linux_joystick_22_api" = "yes"
17582 then
17584 cat >>confdefs.h <<\_ACEOF
17585 #define HAVE_LINUX_22_JOYSTICK_API 1
17586 _ACEOF
17592 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17593 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17594 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 else
17597 cat >conftest.$ac_ext <<_ACEOF
17598 /* confdefs.h. */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17604 #ifdef HAVE_SYS_PARAM_H
17605 # include <sys/param.h>
17606 #endif
17607 #ifdef HAVE_SYS_MOUNT_H
17608 # include <sys/mount.h>
17609 #endif
17610 #ifdef HAVE_SYS_VFS_H
17611 # include <sys/vfs.h>
17612 #endif
17613 #ifdef HAVE_SYS_STATFS_H
17614 # include <sys/statfs.h>
17615 #endif
17618 main ()
17620 static struct statfs ac_aggr;
17621 if (ac_aggr.f_bfree)
17622 return 0;
17624 return 0;
17626 _ACEOF
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_c_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 ac_cv_member_struct_statfs_f_bfree=yes
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #include <sys/types.h>
17656 #ifdef HAVE_SYS_PARAM_H
17657 # include <sys/param.h>
17658 #endif
17659 #ifdef HAVE_SYS_MOUNT_H
17660 # include <sys/mount.h>
17661 #endif
17662 #ifdef HAVE_SYS_VFS_H
17663 # include <sys/vfs.h>
17664 #endif
17665 #ifdef HAVE_SYS_STATFS_H
17666 # include <sys/statfs.h>
17667 #endif
17670 main ()
17672 static struct statfs ac_aggr;
17673 if (sizeof ac_aggr.f_bfree)
17674 return 0;
17676 return 0;
17678 _ACEOF
17679 rm -f conftest.$ac_objext
17680 if { (ac_try="$ac_compile"
17681 case "(($ac_try" in
17682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17683 *) ac_try_echo=$ac_try;;
17684 esac
17685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17686 (eval "$ac_compile") 2>conftest.er1
17687 ac_status=$?
17688 grep -v '^ *+' conftest.er1 >conftest.err
17689 rm -f conftest.er1
17690 cat conftest.err >&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } && {
17693 test -z "$ac_c_werror_flag" ||
17694 test ! -s conftest.err
17695 } && test -s conftest.$ac_objext; then
17696 ac_cv_member_struct_statfs_f_bfree=yes
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 ac_cv_member_struct_statfs_f_bfree=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17710 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17711 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17713 cat >>confdefs.h <<_ACEOF
17714 #define HAVE_STRUCT_STATFS_F_BFREE 1
17715 _ACEOF
17719 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17720 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17721 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <sys/types.h>
17731 #ifdef HAVE_SYS_PARAM_H
17732 # include <sys/param.h>
17733 #endif
17734 #ifdef HAVE_SYS_MOUNT_H
17735 # include <sys/mount.h>
17736 #endif
17737 #ifdef HAVE_SYS_VFS_H
17738 # include <sys/vfs.h>
17739 #endif
17740 #ifdef HAVE_SYS_STATFS_H
17741 # include <sys/statfs.h>
17742 #endif
17745 main ()
17747 static struct statfs ac_aggr;
17748 if (ac_aggr.f_bavail)
17749 return 0;
17751 return 0;
17753 _ACEOF
17754 rm -f conftest.$ac_objext
17755 if { (ac_try="$ac_compile"
17756 case "(($ac_try" in
17757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17758 *) ac_try_echo=$ac_try;;
17759 esac
17760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17761 (eval "$ac_compile") 2>conftest.er1
17762 ac_status=$?
17763 grep -v '^ *+' conftest.er1 >conftest.err
17764 rm -f conftest.er1
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } && {
17768 test -z "$ac_c_werror_flag" ||
17769 test ! -s conftest.err
17770 } && test -s conftest.$ac_objext; then
17771 ac_cv_member_struct_statfs_f_bavail=yes
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17776 cat >conftest.$ac_ext <<_ACEOF
17777 /* confdefs.h. */
17778 _ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 #include <sys/types.h>
17783 #ifdef HAVE_SYS_PARAM_H
17784 # include <sys/param.h>
17785 #endif
17786 #ifdef HAVE_SYS_MOUNT_H
17787 # include <sys/mount.h>
17788 #endif
17789 #ifdef HAVE_SYS_VFS_H
17790 # include <sys/vfs.h>
17791 #endif
17792 #ifdef HAVE_SYS_STATFS_H
17793 # include <sys/statfs.h>
17794 #endif
17797 main ()
17799 static struct statfs ac_aggr;
17800 if (sizeof ac_aggr.f_bavail)
17801 return 0;
17803 return 0;
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_member_struct_statfs_f_bavail=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 ac_cv_member_struct_statfs_f_bavail=no
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17838 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17842 _ACEOF
17846 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17847 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17848 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17860 #endif
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17863 #endif
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17866 #endif
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17869 #endif
17872 main ()
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_frsize)
17876 return 0;
17878 return 0;
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 ac_cv_member_struct_statfs_f_frsize=yes
17899 else
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #include <sys/types.h>
17910 #ifdef HAVE_SYS_PARAM_H
17911 # include <sys/param.h>
17912 #endif
17913 #ifdef HAVE_SYS_MOUNT_H
17914 # include <sys/mount.h>
17915 #endif
17916 #ifdef HAVE_SYS_VFS_H
17917 # include <sys/vfs.h>
17918 #endif
17919 #ifdef HAVE_SYS_STATFS_H
17920 # include <sys/statfs.h>
17921 #endif
17924 main ()
17926 static struct statfs ac_aggr;
17927 if (sizeof ac_aggr.f_frsize)
17928 return 0;
17930 return 0;
17932 _ACEOF
17933 rm -f conftest.$ac_objext
17934 if { (ac_try="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17938 esac
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 ac_cv_member_struct_statfs_f_frsize=yes
17951 else
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 ac_cv_member_struct_statfs_f_frsize=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17964 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17965 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17969 _ACEOF
17973 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17974 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17975 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978 cat >conftest.$ac_ext <<_ACEOF
17979 /* confdefs.h. */
17980 _ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 #include <sys/types.h>
17985 #ifdef HAVE_SYS_PARAM_H
17986 # include <sys/param.h>
17987 #endif
17988 #ifdef HAVE_SYS_MOUNT_H
17989 # include <sys/mount.h>
17990 #endif
17991 #ifdef HAVE_SYS_VFS_H
17992 # include <sys/vfs.h>
17993 #endif
17994 #ifdef HAVE_SYS_STATFS_H
17995 # include <sys/statfs.h>
17996 #endif
17999 main ()
18001 static struct statfs ac_aggr;
18002 if (ac_aggr.f_ffree)
18003 return 0;
18005 return 0;
18007 _ACEOF
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_compile") 2>conftest.er1
18016 ac_status=$?
18017 grep -v '^ *+' conftest.er1 >conftest.err
18018 rm -f conftest.er1
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest.$ac_objext; then
18025 ac_cv_member_struct_statfs_f_ffree=yes
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */
18032 _ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 #include <sys/types.h>
18037 #ifdef HAVE_SYS_PARAM_H
18038 # include <sys/param.h>
18039 #endif
18040 #ifdef HAVE_SYS_MOUNT_H
18041 # include <sys/mount.h>
18042 #endif
18043 #ifdef HAVE_SYS_VFS_H
18044 # include <sys/vfs.h>
18045 #endif
18046 #ifdef HAVE_SYS_STATFS_H
18047 # include <sys/statfs.h>
18048 #endif
18051 main ()
18053 static struct statfs ac_aggr;
18054 if (sizeof ac_aggr.f_ffree)
18055 return 0;
18057 return 0;
18059 _ACEOF
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18065 esac
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18068 ac_status=$?
18069 grep -v '^ *+' conftest.er1 >conftest.err
18070 rm -f conftest.er1
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18077 ac_cv_member_struct_statfs_f_ffree=yes
18078 else
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18082 ac_cv_member_struct_statfs_f_ffree=no
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18091 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18092 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STATFS_F_FFREE 1
18096 _ACEOF
18100 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18101 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18102 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18104 else
18105 cat >conftest.$ac_ext <<_ACEOF
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <sys/types.h>
18112 #ifdef HAVE_SYS_PARAM_H
18113 # include <sys/param.h>
18114 #endif
18115 #ifdef HAVE_SYS_MOUNT_H
18116 # include <sys/mount.h>
18117 #endif
18118 #ifdef HAVE_SYS_VFS_H
18119 # include <sys/vfs.h>
18120 #endif
18121 #ifdef HAVE_SYS_STATFS_H
18122 # include <sys/statfs.h>
18123 #endif
18126 main ()
18128 static struct statfs ac_aggr;
18129 if (ac_aggr.f_favail)
18130 return 0;
18132 return 0;
18134 _ACEOF
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18140 esac
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.$ac_objext; then
18152 ac_cv_member_struct_statfs_f_favail=yes
18153 else
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18157 cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h. */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #include <sys/types.h>
18164 #ifdef HAVE_SYS_PARAM_H
18165 # include <sys/param.h>
18166 #endif
18167 #ifdef HAVE_SYS_MOUNT_H
18168 # include <sys/mount.h>
18169 #endif
18170 #ifdef HAVE_SYS_VFS_H
18171 # include <sys/vfs.h>
18172 #endif
18173 #ifdef HAVE_SYS_STATFS_H
18174 # include <sys/statfs.h>
18175 #endif
18178 main ()
18180 static struct statfs ac_aggr;
18181 if (sizeof ac_aggr.f_favail)
18182 return 0;
18184 return 0;
18186 _ACEOF
18187 rm -f conftest.$ac_objext
18188 if { (ac_try="$ac_compile"
18189 case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18192 esac
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compile") 2>conftest.er1
18195 ac_status=$?
18196 grep -v '^ *+' conftest.er1 >conftest.err
18197 rm -f conftest.er1
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } && {
18201 test -z "$ac_c_werror_flag" ||
18202 test ! -s conftest.err
18203 } && test -s conftest.$ac_objext; then
18204 ac_cv_member_struct_statfs_f_favail=yes
18205 else
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18209 ac_cv_member_struct_statfs_f_favail=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18218 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18219 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18221 cat >>confdefs.h <<_ACEOF
18222 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18223 _ACEOF
18227 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18228 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18229 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 #include <sys/types.h>
18239 #ifdef HAVE_SYS_PARAM_H
18240 # include <sys/param.h>
18241 #endif
18242 #ifdef HAVE_SYS_MOUNT_H
18243 # include <sys/mount.h>
18244 #endif
18245 #ifdef HAVE_SYS_VFS_H
18246 # include <sys/vfs.h>
18247 #endif
18248 #ifdef HAVE_SYS_STATFS_H
18249 # include <sys/statfs.h>
18250 #endif
18253 main ()
18255 static struct statfs ac_aggr;
18256 if (ac_aggr.f_namelen)
18257 return 0;
18259 return 0;
18261 _ACEOF
18262 rm -f conftest.$ac_objext
18263 if { (ac_try="$ac_compile"
18264 case "(($ac_try" in
18265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266 *) ac_try_echo=$ac_try;;
18267 esac
18268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18269 (eval "$ac_compile") 2>conftest.er1
18270 ac_status=$?
18271 grep -v '^ *+' conftest.er1 >conftest.err
18272 rm -f conftest.er1
18273 cat conftest.err >&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } && {
18276 test -z "$ac_c_werror_flag" ||
18277 test ! -s conftest.err
18278 } && test -s conftest.$ac_objext; then
18279 ac_cv_member_struct_statfs_f_namelen=yes
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 #include <sys/types.h>
18291 #ifdef HAVE_SYS_PARAM_H
18292 # include <sys/param.h>
18293 #endif
18294 #ifdef HAVE_SYS_MOUNT_H
18295 # include <sys/mount.h>
18296 #endif
18297 #ifdef HAVE_SYS_VFS_H
18298 # include <sys/vfs.h>
18299 #endif
18300 #ifdef HAVE_SYS_STATFS_H
18301 # include <sys/statfs.h>
18302 #endif
18305 main ()
18307 static struct statfs ac_aggr;
18308 if (sizeof ac_aggr.f_namelen)
18309 return 0;
18311 return 0;
18313 _ACEOF
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18319 esac
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_member_struct_statfs_f_namelen=yes
18332 else
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_member_struct_statfs_f_namelen=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18345 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18346 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18350 _ACEOF
18356 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18357 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #ifdef HAVE_SYS_STATVFS_H
18368 #include <sys/statvfs.h>
18369 #endif
18372 main ()
18374 static struct statvfs ac_aggr;
18375 if (ac_aggr.f_blocks)
18376 return 0;
18378 return 0;
18380 _ACEOF
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18386 esac
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18389 ac_status=$?
18390 grep -v '^ *+' conftest.er1 >conftest.err
18391 rm -f conftest.er1
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.$ac_objext; then
18398 ac_cv_member_struct_statvfs_f_blocks=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #ifdef HAVE_SYS_STATVFS_H
18410 #include <sys/statvfs.h>
18411 #endif
18414 main ()
18416 static struct statvfs ac_aggr;
18417 if (sizeof ac_aggr.f_blocks)
18418 return 0;
18420 return 0;
18422 _ACEOF
18423 rm -f conftest.$ac_objext
18424 if { (ac_try="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18428 esac
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 ac_cv_member_struct_statvfs_f_blocks=yes
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 ac_cv_member_struct_statvfs_f_blocks=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18454 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18455 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18459 _ACEOF
18465 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18466 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_SOCKET_H
18478 # include <sys/socket.h>
18479 #endif
18480 #ifdef HAVE_SYS_UN_H
18481 # include <sys/un.h>
18482 #endif
18485 main ()
18487 static struct msghdr ac_aggr;
18488 if (ac_aggr.msg_accrights)
18489 return 0;
18491 return 0;
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 ac_cv_member_struct_msghdr_msg_accrights=yes
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_SOCKET_H
18524 # include <sys/socket.h>
18525 #endif
18526 #ifdef HAVE_SYS_UN_H
18527 # include <sys/un.h>
18528 #endif
18531 main ()
18533 static struct msghdr ac_aggr;
18534 if (sizeof ac_aggr.msg_accrights)
18535 return 0;
18537 return 0;
18539 _ACEOF
18540 rm -f conftest.$ac_objext
18541 if { (ac_try="$ac_compile"
18542 case "(($ac_try" in
18543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18545 esac
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_compile") 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && {
18554 test -z "$ac_c_werror_flag" ||
18555 test ! -s conftest.err
18556 } && test -s conftest.$ac_objext; then
18557 ac_cv_member_struct_msghdr_msg_accrights=yes
18558 else
18559 echo "$as_me: failed program was:" >&5
18560 sed 's/^/| /' conftest.$ac_ext >&5
18562 ac_cv_member_struct_msghdr_msg_accrights=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18570 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18571 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18572 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18576 _ACEOF
18580 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18581 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18582 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 else
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_SOCKET_H
18593 # include <sys/socket.h>
18594 #endif
18595 #ifdef HAVE_SYS_UN_H
18596 # include <sys/un.h>
18597 #endif
18600 main ()
18602 static struct sockaddr ac_aggr;
18603 if (ac_aggr.sa_len)
18604 return 0;
18606 return 0;
18608 _ACEOF
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18614 esac
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18617 ac_status=$?
18618 grep -v '^ *+' conftest.er1 >conftest.err
18619 rm -f conftest.er1
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_c_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.$ac_objext; then
18626 ac_cv_member_struct_sockaddr_sa_len=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 cat >conftest.$ac_ext <<_ACEOF
18632 /* confdefs.h. */
18633 _ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <sys/types.h>
18638 #ifdef HAVE_SYS_SOCKET_H
18639 # include <sys/socket.h>
18640 #endif
18641 #ifdef HAVE_SYS_UN_H
18642 # include <sys/un.h>
18643 #endif
18646 main ()
18648 static struct sockaddr ac_aggr;
18649 if (sizeof ac_aggr.sa_len)
18650 return 0;
18652 return 0;
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_sockaddr_sa_len=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 ac_cv_member_struct_sockaddr_sa_len=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18686 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18687 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18691 _ACEOF
18695 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18696 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18697 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #ifdef HAVE_SYS_SOCKET_H
18708 # include <sys/socket.h>
18709 #endif
18710 #ifdef HAVE_SYS_UN_H
18711 # include <sys/un.h>
18712 #endif
18715 main ()
18717 static struct sockaddr_un ac_aggr;
18718 if (ac_aggr.sun_len)
18719 return 0;
18721 return 0;
18723 _ACEOF
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.$ac_objext; then
18741 ac_cv_member_struct_sockaddr_un_sun_len=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <sys/types.h>
18753 #ifdef HAVE_SYS_SOCKET_H
18754 # include <sys/socket.h>
18755 #endif
18756 #ifdef HAVE_SYS_UN_H
18757 # include <sys/un.h>
18758 #endif
18761 main ()
18763 static struct sockaddr_un ac_aggr;
18764 if (sizeof ac_aggr.sun_len)
18765 return 0;
18767 return 0;
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18775 esac
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_cv_member_struct_sockaddr_un_sun_len=yes
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 ac_cv_member_struct_sockaddr_un_sun_len=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18801 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18802 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18806 _ACEOF
18812 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18813 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18814 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #include <sys/types.h>
18824 #ifdef HAVE_SCSI_SG_H
18825 #include <scsi/sg.h>
18826 #endif
18829 main ()
18831 static scsireq_t ac_aggr;
18832 if (ac_aggr.cmd)
18833 return 0;
18835 return 0;
18837 _ACEOF
18838 rm -f conftest.$ac_objext
18839 if { (ac_try="$ac_compile"
18840 case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18843 esac
18844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_compile") 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_c_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest.$ac_objext; then
18855 ac_cv_member_scsireq_t_cmd=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <sys/types.h>
18867 #ifdef HAVE_SCSI_SG_H
18868 #include <scsi/sg.h>
18869 #endif
18872 main ()
18874 static scsireq_t ac_aggr;
18875 if (sizeof ac_aggr.cmd)
18876 return 0;
18878 return 0;
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_cv_member_scsireq_t_cmd=yes
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_member_scsireq_t_cmd=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18912 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18913 if test $ac_cv_member_scsireq_t_cmd = yes; then
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_SCSIREQ_T_CMD 1
18917 _ACEOF
18921 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18922 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SCSI_SG_H
18934 #include <scsi/sg.h>
18935 #endif
18938 main ()
18940 static sg_io_hdr_t ac_aggr;
18941 if (ac_aggr.interface_id)
18942 return 0;
18944 return 0;
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 ac_cv_member_sg_io_hdr_t_interface_id=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18978 #endif
18981 main ()
18983 static sg_io_hdr_t ac_aggr;
18984 if (sizeof ac_aggr.interface_id)
18985 return 0;
18987 return 0;
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_member_sg_io_hdr_t_interface_id=yes
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_member_sg_io_hdr_t_interface_id=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19021 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19022 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19026 _ACEOF
19032 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19033 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19034 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <signal.h>
19046 main ()
19048 static siginfo_t ac_aggr;
19049 if (ac_aggr.si_fd)
19050 return 0;
19052 return 0;
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_cv_member_siginfo_t_si_fd=yes
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <signal.h>
19086 main ()
19088 static siginfo_t ac_aggr;
19089 if (sizeof ac_aggr.si_fd)
19090 return 0;
19092 return 0;
19094 _ACEOF
19095 rm -f conftest.$ac_objext
19096 if { (ac_try="$ac_compile"
19097 case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19100 esac
19101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19102 (eval "$ac_compile") 2>conftest.er1
19103 ac_status=$?
19104 grep -v '^ *+' conftest.er1 >conftest.err
19105 rm -f conftest.er1
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } && {
19109 test -z "$ac_c_werror_flag" ||
19110 test ! -s conftest.err
19111 } && test -s conftest.$ac_objext; then
19112 ac_cv_member_siginfo_t_si_fd=yes
19113 else
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 ac_cv_member_siginfo_t_si_fd=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19126 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19127 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_SIGINFO_T_SI_FD 1
19131 _ACEOF
19137 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19138 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19139 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h. */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/types.h>
19149 #ifdef HAVE_SYS_MTIO_H
19150 #include <sys/mtio.h>
19151 #endif
19154 main ()
19156 static struct mtget ac_aggr;
19157 if (ac_aggr.mt_blksiz)
19158 return 0;
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_struct_mtget_mt_blksiz=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_MTIO_H
19193 #include <sys/mtio.h>
19194 #endif
19197 main ()
19199 static struct mtget ac_aggr;
19200 if (sizeof ac_aggr.mt_blksiz)
19201 return 0;
19203 return 0;
19205 _ACEOF
19206 rm -f conftest.$ac_objext
19207 if { (ac_try="$ac_compile"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19211 esac
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_compile") 2>conftest.er1
19214 ac_status=$?
19215 grep -v '^ *+' conftest.er1 >conftest.err
19216 rm -f conftest.er1
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest.$ac_objext; then
19223 ac_cv_member_struct_mtget_mt_blksiz=yes
19224 else
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ac_cv_member_struct_mtget_mt_blksiz=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19238 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19242 _ACEOF
19246 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19247 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19248 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 else
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <sys/types.h>
19258 #ifdef HAVE_SYS_MTIO_H
19259 #include <sys/mtio.h>
19260 #endif
19263 main ()
19265 static struct mtget ac_aggr;
19266 if (ac_aggr.mt_gstat)
19267 return 0;
19269 return 0;
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19277 esac
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19280 ac_status=$?
19281 grep -v '^ *+' conftest.er1 >conftest.err
19282 rm -f conftest.er1
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.$ac_objext; then
19289 ac_cv_member_struct_mtget_mt_gstat=yes
19290 else
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_MTIO_H
19302 #include <sys/mtio.h>
19303 #endif
19306 main ()
19308 static struct mtget ac_aggr;
19309 if (sizeof ac_aggr.mt_gstat)
19310 return 0;
19312 return 0;
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_mtget_mt_gstat=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_cv_member_struct_mtget_mt_gstat=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19347 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19351 _ACEOF
19355 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19356 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19357 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360 cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h. */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_MTIO_H
19368 #include <sys/mtio.h>
19369 #endif
19372 main ()
19374 static struct mtget ac_aggr;
19375 if (ac_aggr.mt_blkno)
19376 return 0;
19378 return 0;
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_cv_member_struct_mtget_mt_blkno=yes
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h. */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 #include <sys/types.h>
19410 #ifdef HAVE_SYS_MTIO_H
19411 #include <sys/mtio.h>
19412 #endif
19415 main ()
19417 static struct mtget ac_aggr;
19418 if (sizeof ac_aggr.mt_blkno)
19419 return 0;
19421 return 0;
19423 _ACEOF
19424 rm -f conftest.$ac_objext
19425 if { (ac_try="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19429 esac
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_member_struct_mtget_mt_blkno=yes
19442 else
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 ac_cv_member_struct_mtget_mt_blkno=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19455 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19456 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19460 _ACEOF
19466 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19467 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19468 if test "${ac_cv_member_struct_option_name+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifdef HAVE_GETOPT_H
19478 #include <getopt.h>
19479 #endif
19482 main ()
19484 static struct option ac_aggr;
19485 if (ac_aggr.name)
19486 return 0;
19488 return 0;
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_member_struct_option_name=yes
19509 else
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #ifdef HAVE_GETOPT_H
19520 #include <getopt.h>
19521 #endif
19524 main ()
19526 static struct option ac_aggr;
19527 if (sizeof ac_aggr.name)
19528 return 0;
19530 return 0;
19532 _ACEOF
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_option_name=yes
19551 else
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_option_name=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19565 if test $ac_cv_member_struct_option_name = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_OPTION_NAME 1
19569 _ACEOF
19575 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19576 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19588 main ()
19590 static struct stat ac_aggr;
19591 if (ac_aggr.st_blocks)
19592 return 0;
19594 return 0;
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19602 esac
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19605 ac_status=$?
19606 grep -v '^ *+' conftest.er1 >conftest.err
19607 rm -f conftest.er1
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_cv_member_struct_stat_st_blocks=yes
19615 else
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19627 main ()
19629 static struct stat ac_aggr;
19630 if (sizeof ac_aggr.st_blocks)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_stat_st_blocks=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_member_struct_stat_st_blocks=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19668 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19672 _ACEOF
19678 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19679 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19680 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 else
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 #ifdef HAVE_SYS_TYPES_H
19690 #include <sys/types.h>
19691 #endif
19692 #ifdef HAVE_NETINET_IN_H
19693 #include <netinet/in.h>
19694 #endif
19697 main ()
19699 static struct sockaddr_in6 ac_aggr;
19700 if (ac_aggr.sin6_scope_id)
19701 return 0;
19703 return 0;
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19711 esac
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19714 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19724 else
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #ifdef HAVE_SYS_TYPES_H
19735 #include <sys/types.h>
19736 #endif
19737 #ifdef HAVE_NETINET_IN_H
19738 #include <netinet/in.h>
19739 #endif
19742 main ()
19744 static struct sockaddr_in6 ac_aggr;
19745 if (sizeof ac_aggr.sin6_scope_id)
19746 return 0;
19748 return 0;
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19756 esac
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19769 else
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19773 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19781 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19782 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19783 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19787 _ACEOF
19793 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19794 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19795 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 #ifdef HAVE_SYS_TYPES_H
19805 #include <sys/types.h>
19806 #endif
19807 #ifdef HAVE_NETINET_IN_H
19808 # include <netinet/in.h>
19809 #endif
19810 #ifdef HAVE_ARPA_NAMESER_H
19811 # include <arpa/nameser.h>
19812 #endif
19815 main ()
19817 static ns_msg ac_aggr;
19818 if (ac_aggr._msg_ptr)
19819 return 0;
19821 return 0;
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19829 esac
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19832 ac_status=$?
19833 grep -v '^ *+' conftest.er1 >conftest.err
19834 rm -f conftest.er1
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19841 ac_cv_member_ns_msg__msg_ptr=yes
19842 else
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #ifdef HAVE_SYS_TYPES_H
19853 #include <sys/types.h>
19854 #endif
19855 #ifdef HAVE_NETINET_IN_H
19856 # include <netinet/in.h>
19857 #endif
19858 #ifdef HAVE_ARPA_NAMESER_H
19859 # include <arpa/nameser.h>
19860 #endif
19863 main ()
19865 static ns_msg ac_aggr;
19866 if (sizeof ac_aggr._msg_ptr)
19867 return 0;
19869 return 0;
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19877 esac
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } && {
19886 test -z "$ac_c_werror_flag" ||
19887 test ! -s conftest.err
19888 } && test -s conftest.$ac_objext; then
19889 ac_cv_member_ns_msg__msg_ptr=yes
19890 else
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 ac_cv_member_ns_msg__msg_ptr=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19903 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19904 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_NS_MSG__MSG_PTR 1
19908 _ACEOF
19914 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19915 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19916 if test "${ac_cv_have_timezone+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <time.h>
19927 main ()
19929 timezone = 1
19931 return 0;
19933 _ACEOF
19934 rm -f conftest.$ac_objext conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19939 esac
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>conftest.er1
19942 ac_status=$?
19943 grep -v '^ *+' conftest.er1 >conftest.err
19944 rm -f conftest.er1
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest$ac_exeext &&
19951 $as_test_x conftest$ac_exeext; then
19952 ac_cv_have_timezone="yes"
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 ac_cv_have_timezone="no"
19960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19961 conftest$ac_exeext conftest.$ac_ext
19963 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19964 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19965 if test "$ac_cv_have_timezone" = "yes"
19966 then
19968 cat >>confdefs.h <<\_ACEOF
19969 #define HAVE_TIMEZONE 1
19970 _ACEOF
19973 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19974 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19975 if test "${ac_cv_have_daylight+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 else
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 #include <time.h>
19986 main ()
19988 daylight = 1
19990 return 0;
19992 _ACEOF
19993 rm -f conftest.$ac_objext conftest$ac_exeext
19994 if { (ac_try="$ac_link"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19998 esac
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_link") 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest$ac_exeext &&
20010 $as_test_x conftest$ac_exeext; then
20011 ac_cv_have_daylight="yes"
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_have_daylight="no"
20019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20020 conftest$ac_exeext conftest.$ac_ext
20022 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20023 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20024 if test "$ac_cv_have_daylight" = "yes"
20025 then
20027 cat >>confdefs.h <<\_ACEOF
20028 #define HAVE_DAYLIGHT 1
20029 _ACEOF
20034 case $host_cpu in
20035 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20036 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20037 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 #ifndef __i386__
20048 #endif
20049 _ACEOF
20050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20051 $EGREP "yes" >/dev/null 2>&1; then
20052 ac_cv_cpp_def___i386__=yes
20053 else
20054 ac_cv_cpp_def___i386__=no
20056 rm -f conftest*
20059 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20060 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20061 if test $ac_cv_cpp_def___i386__ = yes; then
20062 CFLAGS="$CFLAGS -D__i386__"
20063 LINTFLAGS="$LINTFLAGS -D__i386__"
20066 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20067 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20068 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 else
20071 cat >conftest.$ac_ext <<_ACEOF
20072 /* confdefs.h. */
20073 _ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 #ifndef __x86_64__
20079 #endif
20080 _ACEOF
20081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20082 $EGREP "yes" >/dev/null 2>&1; then
20083 ac_cv_cpp_def___x86_64__=yes
20084 else
20085 ac_cv_cpp_def___x86_64__=no
20087 rm -f conftest*
20090 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20091 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20092 if test $ac_cv_cpp_def___x86_64__ = yes; then
20093 CFLAGS="$CFLAGS -D__x86_64__"
20094 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20097 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20098 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20099 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 else
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 #ifndef __ALPHA__
20110 #endif
20111 _ACEOF
20112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20113 $EGREP "yes" >/dev/null 2>&1; then
20114 ac_cv_cpp_def___ALPHA__=yes
20115 else
20116 ac_cv_cpp_def___ALPHA__=no
20118 rm -f conftest*
20121 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20122 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20123 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20124 CFLAGS="$CFLAGS -D__ALPHA__"
20125 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20128 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20129 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20130 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 #ifndef __sparc__
20141 #endif
20142 _ACEOF
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then
20145 ac_cv_cpp_def___sparc__=yes
20146 else
20147 ac_cv_cpp_def___sparc__=no
20149 rm -f conftest*
20152 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20153 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20154 if test $ac_cv_cpp_def___sparc__ = yes; then
20155 CFLAGS="$CFLAGS -D__sparc__"
20156 LINTFLAGS="$LINTFLAGS -D__sparc__"
20159 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20160 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20161 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #ifndef __powerpc__
20172 #endif
20173 _ACEOF
20174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20175 $EGREP "yes" >/dev/null 2>&1; then
20176 ac_cv_cpp_def___powerpc__=yes
20177 else
20178 ac_cv_cpp_def___powerpc__=no
20180 rm -f conftest*
20183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20184 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20185 if test $ac_cv_cpp_def___powerpc__ = yes; then
20186 CFLAGS="$CFLAGS -D__powerpc__"
20187 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20190 esac
20192 case $host_vendor in
20193 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20194 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20195 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 else
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 #ifndef __sun__
20206 #endif
20207 _ACEOF
20208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20209 $EGREP "yes" >/dev/null 2>&1; then
20210 ac_cv_cpp_def___sun__=yes
20211 else
20212 ac_cv_cpp_def___sun__=no
20214 rm -f conftest*
20217 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20218 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20219 if test $ac_cv_cpp_def___sun__ = yes; then
20220 CFLAGS="$CFLAGS -D__sun__"
20221 LINTFLAGS="$LINTFLAGS -D__sun__"
20224 esac
20227 DEPENDENCIES="### Dependencies:
20229 .INIT: Makefile
20230 .BEGIN: Makefile
20231 Makefile: dummy
20232 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20234 \$(OBJS): \$(IDL_GEN_HEADERS)
20235 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20236 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20237 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20243 ac_config_commands="$ac_config_commands include/stamp-h"
20246 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20248 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20250 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20252 ac_config_commands="$ac_config_commands dlls/user32/resources"
20254 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20256 ac_config_commands="$ac_config_commands include/wine"
20259 MAKE_RULES=Make.rules
20262 MAKE_DLL_RULES=dlls/Makedll.rules
20265 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20268 MAKE_TEST_RULES=dlls/Maketest.rules
20271 MAKE_PROG_RULES=programs/Makeprog.rules
20274 ac_config_files="$ac_config_files Make.rules"
20276 ac_config_files="$ac_config_files dlls/Makedll.rules"
20278 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20280 ac_config_files="$ac_config_files dlls/Maketest.rules"
20282 ac_config_files="$ac_config_files programs/Makeprog.rules"
20284 ac_config_files="$ac_config_files Makefile"
20286 ac_config_files="$ac_config_files dlls/Makefile"
20288 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20290 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20292 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20294 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20296 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20298 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20300 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20302 ac_config_files="$ac_config_files dlls/atl/Makefile"
20304 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20306 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20308 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20310 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20312 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20314 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20316 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20318 ac_config_files="$ac_config_files dlls/cards/Makefile"
20320 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20322 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20324 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20326 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20328 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20330 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20332 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20334 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20336 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20338 ac_config_files="$ac_config_files dlls/credui/Makefile"
20340 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20342 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20344 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20346 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20348 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20350 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20352 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20354 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20356 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20358 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20360 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20362 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20364 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20366 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20368 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20370 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20372 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20374 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20376 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20378 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20380 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20382 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20384 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20386 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20388 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20390 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20392 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20394 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20396 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20398 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20400 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20402 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20404 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20406 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20408 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20410 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20412 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20414 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20416 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20418 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20420 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20422 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20424 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20426 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20428 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20430 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20432 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20434 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20436 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20438 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20440 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20442 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20446 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20448 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20450 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20452 ac_config_files="$ac_config_files dlls/hal/Makefile"
20454 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20456 ac_config_files="$ac_config_files dlls/hid/Makefile"
20458 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20460 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20462 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20464 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20466 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20468 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20470 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20472 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20474 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20476 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20478 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20480 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20482 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20484 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20486 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20488 ac_config_files="$ac_config_files dlls/itss/Makefile"
20490 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20492 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20494 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20496 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20498 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20500 ac_config_files="$ac_config_files dlls/localui/Makefile"
20502 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20504 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20506 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20508 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20510 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20514 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20516 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20518 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20520 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20522 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20524 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20526 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20528 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20530 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20532 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20534 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20536 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20538 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20540 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20542 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20544 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20548 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20550 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20552 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20554 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20556 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20558 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/msi/Makefile"
20562 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20564 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20566 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20568 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20570 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20572 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20574 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20578 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20580 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20582 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20586 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20588 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20590 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20592 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20594 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20596 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20598 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20600 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20602 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20604 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20608 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20610 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20612 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20614 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20616 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20618 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20620 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20622 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20624 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20628 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20630 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20632 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20634 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20636 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20638 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20640 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20642 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20646 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20648 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20650 ac_config_files="$ac_config_files dlls/printui/Makefile"
20652 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20654 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20656 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20658 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20660 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20662 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20664 ac_config_files="$ac_config_files dlls/query/Makefile"
20666 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20668 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20670 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20672 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20674 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20676 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20678 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20682 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20686 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20688 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20690 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20692 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20696 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/security/Makefile"
20700 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20702 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20704 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20706 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20708 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20710 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20712 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20714 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20716 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20718 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20720 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20722 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20724 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20726 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20728 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20730 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20732 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20736 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20738 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20740 ac_config_files="$ac_config_files dlls/sti/Makefile"
20742 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20744 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20746 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20748 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20750 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20752 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20754 ac_config_files="$ac_config_files dlls/url/Makefile"
20756 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20758 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20760 ac_config_files="$ac_config_files dlls/user32/Makefile"
20762 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20766 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20768 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20770 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20772 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20774 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20776 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20778 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20780 ac_config_files="$ac_config_files dlls/version/Makefile"
20782 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20784 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20786 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20788 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20790 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20792 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20794 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20796 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20798 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20800 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20802 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20804 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20806 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20808 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20810 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20812 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20814 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20816 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20818 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20820 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20822 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20824 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20826 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20828 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20830 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20832 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20834 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20836 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20840 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20842 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20844 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20846 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20848 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20850 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20852 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20854 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20856 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20858 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20860 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20864 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20866 ac_config_files="$ac_config_files documentation/Makefile"
20868 ac_config_files="$ac_config_files fonts/Makefile"
20870 ac_config_files="$ac_config_files include/Makefile"
20872 ac_config_files="$ac_config_files libs/Makefile"
20874 ac_config_files="$ac_config_files libs/port/Makefile"
20876 ac_config_files="$ac_config_files libs/wine/Makefile"
20878 ac_config_files="$ac_config_files libs/wpp/Makefile"
20880 ac_config_files="$ac_config_files loader/Makefile"
20882 ac_config_files="$ac_config_files programs/Makefile"
20884 ac_config_files="$ac_config_files programs/clock/Makefile"
20886 ac_config_files="$ac_config_files programs/cmd/Makefile"
20888 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20890 ac_config_files="$ac_config_files programs/control/Makefile"
20892 ac_config_files="$ac_config_files programs/eject/Makefile"
20894 ac_config_files="$ac_config_files programs/expand/Makefile"
20896 ac_config_files="$ac_config_files programs/explorer/Makefile"
20898 ac_config_files="$ac_config_files programs/hh/Makefile"
20900 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20902 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20904 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20906 ac_config_files="$ac_config_files programs/net/Makefile"
20908 ac_config_files="$ac_config_files programs/notepad/Makefile"
20910 ac_config_files="$ac_config_files programs/oleview/Makefile"
20912 ac_config_files="$ac_config_files programs/progman/Makefile"
20914 ac_config_files="$ac_config_files programs/regedit/Makefile"
20916 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20918 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20920 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20922 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20924 ac_config_files="$ac_config_files programs/start/Makefile"
20926 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20928 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20930 ac_config_files="$ac_config_files programs/view/Makefile"
20932 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20934 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20936 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20938 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20940 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20942 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20944 ac_config_files="$ac_config_files programs/winefile/Makefile"
20946 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20948 ac_config_files="$ac_config_files programs/winemine/Makefile"
20950 ac_config_files="$ac_config_files programs/winepath/Makefile"
20952 ac_config_files="$ac_config_files programs/winetest/Makefile"
20954 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20956 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20958 ac_config_files="$ac_config_files programs/winver/Makefile"
20960 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20962 ac_config_files="$ac_config_files programs/write/Makefile"
20964 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20966 ac_config_files="$ac_config_files server/Makefile"
20968 ac_config_files="$ac_config_files tools/Makefile"
20970 ac_config_files="$ac_config_files tools/widl/Makefile"
20972 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20974 ac_config_files="$ac_config_files tools/winedump/Makefile"
20976 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20978 ac_config_files="$ac_config_files tools/wmc/Makefile"
20980 ac_config_files="$ac_config_files tools/wrc/Makefile"
20983 cat >confcache <<\_ACEOF
20984 # This file is a shell script that caches the results of configure
20985 # tests run on this system so they can be shared between configure
20986 # scripts and configure runs, see configure's option --config-cache.
20987 # It is not useful on other systems. If it contains results you don't
20988 # want to keep, you may remove or edit it.
20990 # config.status only pays attention to the cache file if you give it
20991 # the --recheck option to rerun configure.
20993 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20994 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20995 # following values.
20997 _ACEOF
20999 # The following way of writing the cache mishandles newlines in values,
21000 # but we know of no workaround that is simple, portable, and efficient.
21001 # So, we kill variables containing newlines.
21002 # Ultrix sh set writes to stderr and can't be redirected directly,
21003 # and sets the high bit in the cache file unless we assign to the vars.
21005 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21006 eval ac_val=\$$ac_var
21007 case $ac_val in #(
21008 *${as_nl}*)
21009 case $ac_var in #(
21010 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21011 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21012 esac
21013 case $ac_var in #(
21014 _ | IFS | as_nl) ;; #(
21015 *) $as_unset $ac_var ;;
21016 esac ;;
21017 esac
21018 done
21020 (set) 2>&1 |
21021 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21022 *${as_nl}ac_space=\ *)
21023 # `set' does not quote correctly, so add quotes (double-quote
21024 # substitution turns \\\\ into \\, and sed turns \\ into \).
21025 sed -n \
21026 "s/'/'\\\\''/g;
21027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21028 ;; #(
21030 # `set' quotes correctly as required by POSIX, so do not add quotes.
21031 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21033 esac |
21034 sort
21036 sed '
21037 /^ac_cv_env_/b end
21038 t clear
21039 :clear
21040 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21041 t end
21042 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21043 :end' >>confcache
21044 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21045 if test -w "$cache_file"; then
21046 test "x$cache_file" != "x/dev/null" &&
21047 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21048 echo "$as_me: updating cache $cache_file" >&6;}
21049 cat confcache >$cache_file
21050 else
21051 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21052 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21055 rm -f confcache
21057 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21058 # Let make expand exec_prefix.
21059 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21061 DEFS=-DHAVE_CONFIG_H
21063 ac_libobjs=
21064 ac_ltlibobjs=
21065 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21066 # 1. Remove the extension, and $U if already installed.
21067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21068 ac_i=`echo "$ac_i" | sed "$ac_script"`
21069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21070 # will be set to the directory where LIBOBJS objects are built.
21071 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21072 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21073 done
21074 LIBOBJS=$ac_libobjs
21076 LTLIBOBJS=$ac_ltlibobjs
21080 : ${CONFIG_STATUS=./config.status}
21081 ac_clean_files_save=$ac_clean_files
21082 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21083 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21084 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21085 cat >$CONFIG_STATUS <<_ACEOF
21086 #! $SHELL
21087 # Generated by $as_me.
21088 # Run this file to recreate the current configuration.
21089 # Compiler output produced by configure, useful for debugging
21090 # configure, is in config.log if it exists.
21092 debug=false
21093 ac_cs_recheck=false
21094 ac_cs_silent=false
21095 SHELL=\${CONFIG_SHELL-$SHELL}
21096 _ACEOF
21098 cat >>$CONFIG_STATUS <<\_ACEOF
21099 ## --------------------- ##
21100 ## M4sh Initialization. ##
21101 ## --------------------- ##
21103 # Be more Bourne compatible
21104 DUALCASE=1; export DUALCASE # for MKS sh
21105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21106 emulate sh
21107 NULLCMD=:
21108 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21109 # is contrary to our usage. Disable this feature.
21110 alias -g '${1+"$@"}'='"$@"'
21111 setopt NO_GLOB_SUBST
21112 else
21113 case `(set -o) 2>/dev/null` in
21114 *posix*) set -o posix ;;
21115 esac
21122 # PATH needs CR
21123 # Avoid depending upon Character Ranges.
21124 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21125 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21126 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21127 as_cr_digits='0123456789'
21128 as_cr_alnum=$as_cr_Letters$as_cr_digits
21130 # The user is always right.
21131 if test "${PATH_SEPARATOR+set}" != set; then
21132 echo "#! /bin/sh" >conf$$.sh
21133 echo "exit 0" >>conf$$.sh
21134 chmod +x conf$$.sh
21135 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21136 PATH_SEPARATOR=';'
21137 else
21138 PATH_SEPARATOR=:
21140 rm -f conf$$.sh
21143 # Support unset when possible.
21144 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21145 as_unset=unset
21146 else
21147 as_unset=false
21151 # IFS
21152 # We need space, tab and new line, in precisely that order. Quoting is
21153 # there to prevent editors from complaining about space-tab.
21154 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21155 # splitting by setting IFS to empty value.)
21156 as_nl='
21158 IFS=" "" $as_nl"
21160 # Find who we are. Look in the path if we contain no directory separator.
21161 case $0 in
21162 *[\\/]* ) as_myself=$0 ;;
21163 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21164 for as_dir in $PATH
21166 IFS=$as_save_IFS
21167 test -z "$as_dir" && as_dir=.
21168 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21169 done
21170 IFS=$as_save_IFS
21173 esac
21174 # We did not find ourselves, most probably we were run as `sh COMMAND'
21175 # in which case we are not to be found in the path.
21176 if test "x$as_myself" = x; then
21177 as_myself=$0
21179 if test ! -f "$as_myself"; then
21180 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21181 { (exit 1); exit 1; }
21184 # Work around bugs in pre-3.0 UWIN ksh.
21185 for as_var in ENV MAIL MAILPATH
21186 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21187 done
21188 PS1='$ '
21189 PS2='> '
21190 PS4='+ '
21192 # NLS nuisances.
21193 for as_var in \
21194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21196 LC_TELEPHONE LC_TIME
21198 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21199 eval $as_var=C; export $as_var
21200 else
21201 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21203 done
21205 # Required to use basename.
21206 if expr a : '\(a\)' >/dev/null 2>&1 &&
21207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21208 as_expr=expr
21209 else
21210 as_expr=false
21213 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21214 as_basename=basename
21215 else
21216 as_basename=false
21220 # Name of the executable.
21221 as_me=`$as_basename -- "$0" ||
21222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21223 X"$0" : 'X\(//\)$' \| \
21224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21225 echo X/"$0" |
21226 sed '/^.*\/\([^/][^/]*\)\/*$/{
21227 s//\1/
21230 /^X\/\(\/\/\)$/{
21231 s//\1/
21234 /^X\/\(\/\).*/{
21235 s//\1/
21238 s/.*/./; q'`
21240 # CDPATH.
21241 $as_unset CDPATH
21245 as_lineno_1=$LINENO
21246 as_lineno_2=$LINENO
21247 test "x$as_lineno_1" != "x$as_lineno_2" &&
21248 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21251 # uniformly replaced by the line number. The first 'sed' inserts a
21252 # line-number line after each line using $LINENO; the second 'sed'
21253 # does the real work. The second script uses 'N' to pair each
21254 # line-number line with the line containing $LINENO, and appends
21255 # trailing '-' during substitution so that $LINENO is not a special
21256 # case at line end.
21257 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21258 # scripts with optimization help from Paolo Bonzini. Blame Lee
21259 # E. McMahon (1931-1989) for sed's syntax. :-)
21260 sed -n '
21262 /[$]LINENO/=
21263 ' <$as_myself |
21264 sed '
21265 s/[$]LINENO.*/&-/
21266 t lineno
21268 :lineno
21270 :loop
21271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21272 t loop
21273 s/-\n.*//
21274 ' >$as_me.lineno &&
21275 chmod +x "$as_me.lineno" ||
21276 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21277 { (exit 1); exit 1; }; }
21279 # Don't try to exec as it changes $[0], causing all sort of problems
21280 # (the dirname of $[0] is not the place where we might find the
21281 # original and so on. Autoconf is especially sensitive to this).
21282 . "./$as_me.lineno"
21283 # Exit status is that of the last command.
21284 exit
21288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21289 as_dirname=dirname
21290 else
21291 as_dirname=false
21294 ECHO_C= ECHO_N= ECHO_T=
21295 case `echo -n x` in
21296 -n*)
21297 case `echo 'x\c'` in
21298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21299 *) ECHO_C='\c';;
21300 esac;;
21302 ECHO_N='-n';;
21303 esac
21305 if expr a : '\(a\)' >/dev/null 2>&1 &&
21306 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21307 as_expr=expr
21308 else
21309 as_expr=false
21312 rm -f conf$$ conf$$.exe conf$$.file
21313 if test -d conf$$.dir; then
21314 rm -f conf$$.dir/conf$$.file
21315 else
21316 rm -f conf$$.dir
21317 mkdir conf$$.dir
21319 echo >conf$$.file
21320 if ln -s conf$$.file conf$$ 2>/dev/null; then
21321 as_ln_s='ln -s'
21322 # ... but there are two gotchas:
21323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21325 # In both cases, we have to default to `cp -p'.
21326 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21327 as_ln_s='cp -p'
21328 elif ln conf$$.file conf$$ 2>/dev/null; then
21329 as_ln_s=ln
21330 else
21331 as_ln_s='cp -p'
21333 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21334 rmdir conf$$.dir 2>/dev/null
21336 if mkdir -p . 2>/dev/null; then
21337 as_mkdir_p=:
21338 else
21339 test -d ./-p && rmdir ./-p
21340 as_mkdir_p=false
21343 if test -x / >/dev/null 2>&1; then
21344 as_test_x='test -x'
21345 else
21346 if ls -dL / >/dev/null 2>&1; then
21347 as_ls_L_option=L
21348 else
21349 as_ls_L_option=
21351 as_test_x='
21352 eval sh -c '\''
21353 if test -d "$1"; then
21354 test -d "$1/.";
21355 else
21356 case $1 in
21357 -*)set "./$1";;
21358 esac;
21359 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21360 ???[sx]*):;;*)false;;esac;fi
21361 '\'' sh
21364 as_executable_p=$as_test_x
21366 # Sed expression to map a string onto a valid CPP name.
21367 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21369 # Sed expression to map a string onto a valid variable name.
21370 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21373 exec 6>&1
21375 # Save the log message, to keep $[0] and so on meaningful, and to
21376 # report actual input values of CONFIG_FILES etc. instead of their
21377 # values after options handling.
21378 ac_log="
21379 This file was extended by Wine $as_me 0.9.42, which was
21380 generated by GNU Autoconf 2.61. Invocation command line was
21382 CONFIG_FILES = $CONFIG_FILES
21383 CONFIG_HEADERS = $CONFIG_HEADERS
21384 CONFIG_LINKS = $CONFIG_LINKS
21385 CONFIG_COMMANDS = $CONFIG_COMMANDS
21386 $ $0 $@
21388 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21391 _ACEOF
21393 cat >>$CONFIG_STATUS <<_ACEOF
21394 # Files that config.status was made for.
21395 config_files="$ac_config_files"
21396 config_headers="$ac_config_headers"
21397 config_commands="$ac_config_commands"
21399 _ACEOF
21401 cat >>$CONFIG_STATUS <<\_ACEOF
21402 ac_cs_usage="\
21403 \`$as_me' instantiates files from templates according to the
21404 current configuration.
21406 Usage: $0 [OPTIONS] [FILE]...
21408 -h, --help print this help, then exit
21409 -V, --version print version number and configuration settings, then exit
21410 -q, --quiet do not print progress messages
21411 -d, --debug don't remove temporary files
21412 --recheck update $as_me by reconfiguring in the same conditions
21413 --file=FILE[:TEMPLATE]
21414 instantiate the configuration file FILE
21415 --header=FILE[:TEMPLATE]
21416 instantiate the configuration header FILE
21418 Configuration files:
21419 $config_files
21421 Configuration headers:
21422 $config_headers
21424 Configuration commands:
21425 $config_commands
21427 Report bugs to <bug-autoconf@gnu.org>."
21429 _ACEOF
21430 cat >>$CONFIG_STATUS <<_ACEOF
21431 ac_cs_version="\\
21432 Wine config.status 0.9.42
21433 configured by $0, generated by GNU Autoconf 2.61,
21434 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21436 Copyright (C) 2006 Free Software Foundation, Inc.
21437 This config.status script is free software; the Free Software Foundation
21438 gives unlimited permission to copy, distribute and modify it."
21440 ac_pwd='$ac_pwd'
21441 srcdir='$srcdir'
21442 INSTALL='$INSTALL'
21443 _ACEOF
21445 cat >>$CONFIG_STATUS <<\_ACEOF
21446 # If no file are specified by the user, then we need to provide default
21447 # value. By we need to know if files were specified by the user.
21448 ac_need_defaults=:
21449 while test $# != 0
21451 case $1 in
21452 --*=*)
21453 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21454 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21455 ac_shift=:
21458 ac_option=$1
21459 ac_optarg=$2
21460 ac_shift=shift
21462 esac
21464 case $ac_option in
21465 # Handling of the options.
21466 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21467 ac_cs_recheck=: ;;
21468 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21469 echo "$ac_cs_version"; exit ;;
21470 --debug | --debu | --deb | --de | --d | -d )
21471 debug=: ;;
21472 --file | --fil | --fi | --f )
21473 $ac_shift
21474 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21475 ac_need_defaults=false;;
21476 --header | --heade | --head | --hea )
21477 $ac_shift
21478 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21479 ac_need_defaults=false;;
21480 --he | --h)
21481 # Conflict between --help and --header
21482 { echo "$as_me: error: ambiguous option: $1
21483 Try \`$0 --help' for more information." >&2
21484 { (exit 1); exit 1; }; };;
21485 --help | --hel | -h )
21486 echo "$ac_cs_usage"; exit ;;
21487 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21488 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21489 ac_cs_silent=: ;;
21491 # This is an error.
21492 -*) { echo "$as_me: error: unrecognized option: $1
21493 Try \`$0 --help' for more information." >&2
21494 { (exit 1); exit 1; }; } ;;
21496 *) ac_config_targets="$ac_config_targets $1"
21497 ac_need_defaults=false ;;
21499 esac
21500 shift
21501 done
21503 ac_configure_extra_args=
21505 if $ac_cs_silent; then
21506 exec 6>/dev/null
21507 ac_configure_extra_args="$ac_configure_extra_args --silent"
21510 _ACEOF
21511 cat >>$CONFIG_STATUS <<_ACEOF
21512 if \$ac_cs_recheck; then
21513 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21514 CONFIG_SHELL=$SHELL
21515 export CONFIG_SHELL
21516 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21519 _ACEOF
21520 cat >>$CONFIG_STATUS <<\_ACEOF
21521 exec 5>>config.log
21523 echo
21524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21525 ## Running $as_me. ##
21526 _ASBOX
21527 echo "$ac_log"
21528 } >&5
21530 _ACEOF
21531 cat >>$CONFIG_STATUS <<_ACEOF
21532 _ACEOF
21534 cat >>$CONFIG_STATUS <<\_ACEOF
21536 # Handling of arguments.
21537 for ac_config_target in $ac_config_targets
21539 case $ac_config_target in
21540 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21541 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21542 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21543 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21544 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21545 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21546 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21547 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21548 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21549 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21550 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21551 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21552 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21554 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21555 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21556 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21557 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21558 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21559 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21560 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21561 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21562 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21563 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21564 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21565 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21566 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21567 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21568 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21569 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21570 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21571 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21572 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21573 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21574 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21575 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21576 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21577 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21578 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21579 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21580 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21581 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21582 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21583 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21584 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21585 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21586 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21587 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21588 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21589 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21590 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21591 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21592 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21593 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21594 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21595 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21596 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21597 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21598 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21599 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21600 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21601 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21602 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21603 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21604 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21605 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21606 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21607 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21608 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21609 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21610 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21611 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21612 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21613 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21614 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21615 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21616 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21617 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21618 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21619 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21620 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21621 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21622 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21623 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21624 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21625 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21626 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21627 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21628 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21629 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21630 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21631 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21632 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21633 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21634 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21635 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21636 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21637 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21638 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21639 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21640 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21641 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21642 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21643 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21644 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21645 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21646 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21647 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21648 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21649 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21650 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21651 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21652 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21653 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21654 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21655 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21656 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21657 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21658 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21659 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21660 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21661 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21662 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21663 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21664 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21665 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21666 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21667 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21668 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21669 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21670 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21671 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21672 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21673 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21674 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21675 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21676 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21677 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21678 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21679 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21680 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21681 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21682 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21683 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21684 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21685 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21686 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21687 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21688 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21689 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21690 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21691 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21692 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21693 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21694 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21695 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21696 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21697 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21698 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21699 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21700 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21701 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21702 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21703 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21704 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21705 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21706 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21707 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21708 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21709 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21710 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21711 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21712 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21713 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21714 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21715 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21716 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21717 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21718 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21719 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21720 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21721 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21722 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21723 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21724 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21725 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21726 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21727 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21728 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21729 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21730 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21731 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21732 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21733 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21734 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21735 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21736 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21737 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21738 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21739 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21740 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21741 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21742 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21743 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21744 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21745 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21746 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21747 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21748 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21749 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21750 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21751 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21752 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21753 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21754 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21755 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21756 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21757 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21758 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21759 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21760 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21761 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21762 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21763 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21764 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21765 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21766 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21767 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21768 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21769 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21770 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21771 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21772 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21773 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21774 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21775 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21776 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21777 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21778 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21779 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21780 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21781 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21782 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21783 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21784 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21785 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21786 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21787 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21788 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21789 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21790 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21791 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21792 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21793 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21794 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21795 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21796 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21797 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21798 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21799 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21800 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21801 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21802 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21803 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21804 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21805 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21806 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21807 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21808 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21809 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21810 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21811 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21812 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21813 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21814 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21815 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21816 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21817 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21818 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21819 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21820 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21821 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21822 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21823 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21824 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21825 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21826 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21827 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21828 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21829 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21830 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21831 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21832 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21833 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21834 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21835 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21836 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21837 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21838 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21839 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21840 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21841 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21842 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21843 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21844 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21845 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21846 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21847 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21848 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21849 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21850 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21851 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21852 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21853 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21854 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21855 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21856 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21857 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21858 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21859 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21860 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21861 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21862 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21863 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21864 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21865 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21866 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21867 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21868 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21869 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21870 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21871 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21872 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21873 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21874 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21875 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21876 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21877 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21878 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21879 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21880 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21881 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21882 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21883 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21884 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21885 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21886 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21887 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21888 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21889 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21890 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21891 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21892 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21893 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21894 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21895 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21896 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21897 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21898 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21899 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21900 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21901 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21903 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21904 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21905 { (exit 1); exit 1; }; };;
21906 esac
21907 done
21910 # If the user did not use the arguments to specify the items to instantiate,
21911 # then the envvar interface is used. Set only those that are not.
21912 # We use the long form for the default assignment because of an extremely
21913 # bizarre bug on SunOS 4.1.3.
21914 if $ac_need_defaults; then
21915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21917 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21920 # Have a temporary directory for convenience. Make it in the build tree
21921 # simply because there is no reason against having it here, and in addition,
21922 # creating and moving files from /tmp can sometimes cause problems.
21923 # Hook for its removal unless debugging.
21924 # Note that there is a small window in which the directory will not be cleaned:
21925 # after its creation but before its name has been assigned to `$tmp'.
21926 $debug ||
21928 tmp=
21929 trap 'exit_status=$?
21930 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21932 trap '{ (exit 1); exit 1; }' 1 2 13 15
21934 # Create a (secure) tmp directory for tmp files.
21937 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21938 test -n "$tmp" && test -d "$tmp"
21939 } ||
21941 tmp=./conf$$-$RANDOM
21942 (umask 077 && mkdir "$tmp")
21943 } ||
21945 echo "$me: cannot create a temporary directory in ." >&2
21946 { (exit 1); exit 1; }
21950 # Set up the sed scripts for CONFIG_FILES section.
21953 # No need to generate the scripts if there are no CONFIG_FILES.
21954 # This happens for instance when ./config.status config.h
21955 if test -n "$CONFIG_FILES"; then
21957 _ACEOF
21959 # Create sed commands to just substitute file output variables.
21961 # Remaining file output variables are in a fragment that also has non-file
21962 # output varibles.
21966 ac_delim='%!_!# '
21967 for ac_last_try in false false false false false :; do
21968 cat >conf$$subs.sed <<_ACEOF
21969 SHELL!$SHELL$ac_delim
21970 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21971 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21972 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21973 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21974 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21975 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21976 exec_prefix!$exec_prefix$ac_delim
21977 prefix!$prefix$ac_delim
21978 program_transform_name!$program_transform_name$ac_delim
21979 bindir!$bindir$ac_delim
21980 sbindir!$sbindir$ac_delim
21981 libexecdir!$libexecdir$ac_delim
21982 datarootdir!$datarootdir$ac_delim
21983 datadir!$datadir$ac_delim
21984 sysconfdir!$sysconfdir$ac_delim
21985 sharedstatedir!$sharedstatedir$ac_delim
21986 localstatedir!$localstatedir$ac_delim
21987 includedir!$includedir$ac_delim
21988 oldincludedir!$oldincludedir$ac_delim
21989 docdir!$docdir$ac_delim
21990 infodir!$infodir$ac_delim
21991 htmldir!$htmldir$ac_delim
21992 dvidir!$dvidir$ac_delim
21993 pdfdir!$pdfdir$ac_delim
21994 psdir!$psdir$ac_delim
21995 libdir!$libdir$ac_delim
21996 localedir!$localedir$ac_delim
21997 mandir!$mandir$ac_delim
21998 DEFS!$DEFS$ac_delim
21999 ECHO_C!$ECHO_C$ac_delim
22000 ECHO_N!$ECHO_N$ac_delim
22001 ECHO_T!$ECHO_T$ac_delim
22002 LIBS!$LIBS$ac_delim
22003 build_alias!$build_alias$ac_delim
22004 host_alias!$host_alias$ac_delim
22005 target_alias!$target_alias$ac_delim
22006 build!$build$ac_delim
22007 build_cpu!$build_cpu$ac_delim
22008 build_vendor!$build_vendor$ac_delim
22009 build_os!$build_os$ac_delim
22010 host!$host$ac_delim
22011 host_cpu!$host_cpu$ac_delim
22012 host_vendor!$host_vendor$ac_delim
22013 host_os!$host_os$ac_delim
22014 WIN16_FILES!$WIN16_FILES$ac_delim
22015 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22016 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22017 WINETEST!$WINETEST$ac_delim
22018 SET_MAKE!$SET_MAKE$ac_delim
22019 CC!$CC$ac_delim
22020 CFLAGS!$CFLAGS$ac_delim
22021 LDFLAGS!$LDFLAGS$ac_delim
22022 CPPFLAGS!$CPPFLAGS$ac_delim
22023 ac_ct_CC!$ac_ct_CC$ac_delim
22024 EXEEXT!$EXEEXT$ac_delim
22025 OBJEXT!$OBJEXT$ac_delim
22026 CXX!$CXX$ac_delim
22027 CXXFLAGS!$CXXFLAGS$ac_delim
22028 ac_ct_CXX!$ac_ct_CXX$ac_delim
22029 CPPBIN!$CPPBIN$ac_delim
22030 TOOLSDIR!$TOOLSDIR$ac_delim
22031 XMKMF!$XMKMF$ac_delim
22032 CPP!$CPP$ac_delim
22033 X_CFLAGS!$X_CFLAGS$ac_delim
22034 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22035 X_LIBS!$X_LIBS$ac_delim
22036 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22037 FLEX!$FLEX$ac_delim
22038 BISON!$BISON$ac_delim
22039 AS!$AS$ac_delim
22040 ac_ct_AS!$ac_ct_AS$ac_delim
22041 LD!$LD$ac_delim
22042 AR!$AR$ac_delim
22043 RANLIB!$RANLIB$ac_delim
22044 STRIP!$STRIP$ac_delim
22045 WINDRES!$WINDRES$ac_delim
22046 LN_S!$LN_S$ac_delim
22047 LN!$LN$ac_delim
22048 GREP!$GREP$ac_delim
22049 EGREP!$EGREP$ac_delim
22050 LDCONFIG!$LDCONFIG$ac_delim
22051 _ACEOF
22053 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22054 break
22055 elif $ac_last_try; then
22056 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22057 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22058 { (exit 1); exit 1; }; }
22059 else
22060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22062 done
22064 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22065 if test -n "$ac_eof"; then
22066 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22067 ac_eof=`expr $ac_eof + 1`
22070 cat >>$CONFIG_STATUS <<_ACEOF
22071 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22073 /^[ ]*@MAKE_RULES@[ ]*$/{
22074 r $MAKE_RULES
22077 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22078 r $MAKE_DLL_RULES
22081 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22082 r $MAKE_IMPLIB_RULES
22085 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22086 r $MAKE_TEST_RULES
22089 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22090 r $MAKE_PROG_RULES
22093 _ACEOF
22094 sed '
22095 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22096 s/^/s,@/; s/!/@,|#_!!_#|/
22099 s/'"$ac_delim"'$/,g/; t
22100 s/$/\\/; p
22101 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22102 ' >>$CONFIG_STATUS <conf$$subs.sed
22103 rm -f conf$$subs.sed
22104 cat >>$CONFIG_STATUS <<_ACEOF
22105 CEOF$ac_eof
22106 _ACEOF
22109 ac_delim='%!_!# '
22110 for ac_last_try in false false false false false :; do
22111 cat >conf$$subs.sed <<_ACEOF
22112 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22113 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22114 INSTALL_DATA!$INSTALL_DATA$ac_delim
22115 LINT!$LINT$ac_delim
22116 LINTFLAGS!$LINTFLAGS$ac_delim
22117 FONTFORGE!$FONTFORGE$ac_delim
22118 PKG_CONFIG!$PKG_CONFIG$ac_delim
22119 PRELINK!$PRELINK$ac_delim
22120 LIBPTHREAD!$LIBPTHREAD$ac_delim
22121 XLIB!$XLIB$ac_delim
22122 XFILES!$XFILES$ac_delim
22123 OPENGLFILES!$OPENGLFILES$ac_delim
22124 GLU32FILES!$GLU32FILES$ac_delim
22125 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22126 QUARTZFILES!$QUARTZFILES$ac_delim
22127 DLLEXT!$DLLEXT$ac_delim
22128 DLLFLAGS!$DLLFLAGS$ac_delim
22129 LDSHARED!$LDSHARED$ac_delim
22130 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22131 LIBEXT!$LIBEXT$ac_delim
22132 IMPLIBEXT!$IMPLIBEXT$ac_delim
22133 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22134 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22135 LDD!$LDD$ac_delim
22136 DLLTOOL!$DLLTOOL$ac_delim
22137 DLLWRAP!$DLLWRAP$ac_delim
22138 MINGWAR!$MINGWAR$ac_delim
22139 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22140 IOKITLIB!$IOKITLIB$ac_delim
22141 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22142 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22143 COREAUDIO!$COREAUDIO$ac_delim
22144 CARBONLIB!$CARBONLIB$ac_delim
22145 CROSSTEST!$CROSSTEST$ac_delim
22146 CROSSCC!$CROSSCC$ac_delim
22147 CROSSWINDRES!$CROSSWINDRES$ac_delim
22148 NASLIBS!$NASLIBS$ac_delim
22149 XML2LIBS!$XML2LIBS$ac_delim
22150 XML2INCL!$XML2INCL$ac_delim
22151 XSLTLIBS!$XSLTLIBS$ac_delim
22152 XSLTINCL!$XSLTINCL$ac_delim
22153 HALINCL!$HALINCL$ac_delim
22154 sane_devel!$sane_devel$ac_delim
22155 SANEINCL!$SANEINCL$ac_delim
22156 gphoto2_devel!$gphoto2_devel$ac_delim
22157 gphoto2port_devel!$gphoto2port_devel$ac_delim
22158 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22159 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22160 ICULIBS!$ICULIBS$ac_delim
22161 RESOLVLIBS!$RESOLVLIBS$ac_delim
22162 LCMSLIBS!$LCMSLIBS$ac_delim
22163 LDAPLIBS!$LDAPLIBS$ac_delim
22164 ft_devel!$ft_devel$ac_delim
22165 FREETYPELIBS!$FREETYPELIBS$ac_delim
22166 FREETYPEINCL!$FREETYPEINCL$ac_delim
22167 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22168 ESDCONFIG!$ESDCONFIG$ac_delim
22169 ESDLIBS!$ESDLIBS$ac_delim
22170 ESDINCL!$ESDINCL$ac_delim
22171 ALSALIBS!$ALSALIBS$ac_delim
22172 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22173 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22174 BUILTINFLAG!$BUILTINFLAG$ac_delim
22175 LDPATH!$LDPATH$ac_delim
22176 CRTLIBS!$CRTLIBS$ac_delim
22177 SOCKETLIBS!$SOCKETLIBS$ac_delim
22178 MAIN_BINARY!$MAIN_BINARY$ac_delim
22179 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22180 LIBDL!$LIBDL$ac_delim
22181 LIBPOLL!$LIBPOLL$ac_delim
22182 DEPENDENCIES!$DEPENDENCIES$ac_delim
22183 LIBOBJS!$LIBOBJS$ac_delim
22184 LTLIBOBJS!$LTLIBOBJS$ac_delim
22185 _ACEOF
22187 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22188 break
22189 elif $ac_last_try; then
22190 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22191 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22192 { (exit 1); exit 1; }; }
22193 else
22194 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22196 done
22198 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22199 if test -n "$ac_eof"; then
22200 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22201 ac_eof=`expr $ac_eof + 1`
22204 cat >>$CONFIG_STATUS <<_ACEOF
22205 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22207 _ACEOF
22208 sed '
22209 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22210 s/^/s,@/; s/!/@,|#_!!_#|/
22213 s/'"$ac_delim"'$/,g/; t
22214 s/$/\\/; p
22215 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22216 ' >>$CONFIG_STATUS <conf$$subs.sed
22217 rm -f conf$$subs.sed
22218 cat >>$CONFIG_STATUS <<_ACEOF
22219 :end
22220 s/|#_!!_#|//g
22221 CEOF$ac_eof
22222 _ACEOF
22225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22227 # trailing colons and then remove the whole line if VPATH becomes empty
22228 # (actually we leave an empty line to preserve line numbers).
22229 if test "x$srcdir" = x.; then
22230 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22231 s/:*\$(srcdir):*/:/
22232 s/:*\${srcdir}:*/:/
22233 s/:*@srcdir@:*/:/
22234 s/^\([^=]*=[ ]*\):*/\1/
22235 s/:*$//
22236 s/^[^=]*=[ ]*$//
22240 cat >>$CONFIG_STATUS <<\_ACEOF
22241 fi # test -n "$CONFIG_FILES"
22244 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22246 case $ac_tag in
22247 :[FHLC]) ac_mode=$ac_tag; continue;;
22248 esac
22249 case $ac_mode$ac_tag in
22250 :[FHL]*:*);;
22251 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22252 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22253 { (exit 1); exit 1; }; };;
22254 :[FH]-) ac_tag=-:-;;
22255 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22256 esac
22257 ac_save_IFS=$IFS
22258 IFS=:
22259 set x $ac_tag
22260 IFS=$ac_save_IFS
22261 shift
22262 ac_file=$1
22263 shift
22265 case $ac_mode in
22266 :L) ac_source=$1;;
22267 :[FH])
22268 ac_file_inputs=
22269 for ac_f
22271 case $ac_f in
22272 -) ac_f="$tmp/stdin";;
22273 *) # Look for the file first in the build tree, then in the source tree
22274 # (if the path is not absolute). The absolute path cannot be DOS-style,
22275 # because $ac_f cannot contain `:'.
22276 test -f "$ac_f" ||
22277 case $ac_f in
22278 [\\/$]*) false;;
22279 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22280 esac ||
22281 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22282 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22283 { (exit 1); exit 1; }; };;
22284 esac
22285 ac_file_inputs="$ac_file_inputs $ac_f"
22286 done
22288 # Let's still pretend it is `configure' which instantiates (i.e., don't
22289 # use $as_me), people would be surprised to read:
22290 # /* config.h. Generated by config.status. */
22291 configure_input="Generated from "`IFS=:
22292 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22293 if test x"$ac_file" != x-; then
22294 configure_input="$ac_file. $configure_input"
22295 { echo "$as_me:$LINENO: creating $ac_file" >&5
22296 echo "$as_me: creating $ac_file" >&6;}
22299 case $ac_tag in
22300 *:-:* | *:-) cat >"$tmp/stdin";;
22301 esac
22303 esac
22305 ac_dir=`$as_dirname -- "$ac_file" ||
22306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22307 X"$ac_file" : 'X\(//\)[^/]' \| \
22308 X"$ac_file" : 'X\(//\)$' \| \
22309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22310 echo X"$ac_file" |
22311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22312 s//\1/
22315 /^X\(\/\/\)[^/].*/{
22316 s//\1/
22319 /^X\(\/\/\)$/{
22320 s//\1/
22323 /^X\(\/\).*/{
22324 s//\1/
22327 s/.*/./; q'`
22328 { as_dir="$ac_dir"
22329 case $as_dir in #(
22330 -*) as_dir=./$as_dir;;
22331 esac
22332 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22333 as_dirs=
22334 while :; do
22335 case $as_dir in #(
22336 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22337 *) as_qdir=$as_dir;;
22338 esac
22339 as_dirs="'$as_qdir' $as_dirs"
22340 as_dir=`$as_dirname -- "$as_dir" ||
22341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22342 X"$as_dir" : 'X\(//\)[^/]' \| \
22343 X"$as_dir" : 'X\(//\)$' \| \
22344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22345 echo X"$as_dir" |
22346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22347 s//\1/
22350 /^X\(\/\/\)[^/].*/{
22351 s//\1/
22354 /^X\(\/\/\)$/{
22355 s//\1/
22358 /^X\(\/\).*/{
22359 s//\1/
22362 s/.*/./; q'`
22363 test -d "$as_dir" && break
22364 done
22365 test -z "$as_dirs" || eval "mkdir $as_dirs"
22366 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22367 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22368 { (exit 1); exit 1; }; }; }
22369 ac_builddir=.
22371 case "$ac_dir" in
22372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22374 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22375 # A ".." for each directory in $ac_dir_suffix.
22376 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22377 case $ac_top_builddir_sub in
22378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22380 esac ;;
22381 esac
22382 ac_abs_top_builddir=$ac_pwd
22383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22384 # for backward compatibility:
22385 ac_top_builddir=$ac_top_build_prefix
22387 case $srcdir in
22388 .) # We are building in place.
22389 ac_srcdir=.
22390 ac_top_srcdir=$ac_top_builddir_sub
22391 ac_abs_top_srcdir=$ac_pwd ;;
22392 [\\/]* | ?:[\\/]* ) # Absolute name.
22393 ac_srcdir=$srcdir$ac_dir_suffix;
22394 ac_top_srcdir=$srcdir
22395 ac_abs_top_srcdir=$srcdir ;;
22396 *) # Relative name.
22397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22398 ac_top_srcdir=$ac_top_build_prefix$srcdir
22399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22400 esac
22401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22404 case $ac_mode in
22407 # CONFIG_FILE
22410 case $INSTALL in
22411 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22412 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22413 esac
22414 _ACEOF
22416 cat >>$CONFIG_STATUS <<\_ACEOF
22417 # If the template does not know about datarootdir, expand it.
22418 # FIXME: This hack should be removed a few years after 2.60.
22419 ac_datarootdir_hack=; ac_datarootdir_seen=
22421 case `sed -n '/datarootdir/ {
22425 /@datadir@/p
22426 /@docdir@/p
22427 /@infodir@/p
22428 /@localedir@/p
22429 /@mandir@/p
22430 ' $ac_file_inputs` in
22431 *datarootdir*) ac_datarootdir_seen=yes;;
22432 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22433 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22434 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22435 _ACEOF
22436 cat >>$CONFIG_STATUS <<_ACEOF
22437 ac_datarootdir_hack='
22438 s&@datadir@&$datadir&g
22439 s&@docdir@&$docdir&g
22440 s&@infodir@&$infodir&g
22441 s&@localedir@&$localedir&g
22442 s&@mandir@&$mandir&g
22443 s&\\\${datarootdir}&$datarootdir&g' ;;
22444 esac
22445 _ACEOF
22447 # Neutralize VPATH when `$srcdir' = `.'.
22448 # Shell code in configure.ac might set extrasub.
22449 # FIXME: do we really want to maintain this feature?
22450 cat >>$CONFIG_STATUS <<_ACEOF
22451 sed "$ac_vpsub
22452 $extrasub
22453 _ACEOF
22454 cat >>$CONFIG_STATUS <<\_ACEOF
22456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22457 s&@configure_input@&$configure_input&;t t
22458 s&@top_builddir@&$ac_top_builddir_sub&;t t
22459 s&@srcdir@&$ac_srcdir&;t t
22460 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22461 s&@top_srcdir@&$ac_top_srcdir&;t t
22462 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22463 s&@builddir@&$ac_builddir&;t t
22464 s&@abs_builddir@&$ac_abs_builddir&;t t
22465 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22466 s&@INSTALL@&$ac_INSTALL&;t t
22467 $ac_datarootdir_hack
22468 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22470 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22471 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22472 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22473 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22474 which seems to be undefined. Please make sure it is defined." >&5
22475 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22476 which seems to be undefined. Please make sure it is defined." >&2;}
22478 rm -f "$tmp/stdin"
22479 case $ac_file in
22480 -) cat "$tmp/out"; rm -f "$tmp/out";;
22481 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22482 esac
22486 # CONFIG_HEADER
22488 _ACEOF
22490 # Transform confdefs.h into a sed script `conftest.defines', that
22491 # substitutes the proper values into config.h.in to produce config.h.
22492 rm -f conftest.defines conftest.tail
22493 # First, append a space to every undef/define line, to ease matching.
22494 echo 's/$/ /' >conftest.defines
22495 # Then, protect against being on the right side of a sed subst, or in
22496 # an unquoted here document, in config.status. If some macros were
22497 # called several times there might be several #defines for the same
22498 # symbol, which is useless. But do not sort them, since the last
22499 # AC_DEFINE must be honored.
22500 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22501 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22502 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22503 # PARAMS is the parameter list in the macro definition--in most cases, it's
22504 # just an empty string.
22505 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22506 ac_dB='\\)[ (].*,\\1define\\2'
22507 ac_dC=' '
22508 ac_dD=' ,'
22510 uniq confdefs.h |
22511 sed -n '
22512 t rset
22513 :rset
22514 s/^[ ]*#[ ]*define[ ][ ]*//
22515 t ok
22518 s/[\\&,]/\\&/g
22519 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22520 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22521 ' >>conftest.defines
22523 # Remove the space that was appended to ease matching.
22524 # Then replace #undef with comments. This is necessary, for
22525 # example, in the case of _POSIX_SOURCE, which is predefined and required
22526 # on some systems where configure will not decide to define it.
22527 # (The regexp can be short, since the line contains either #define or #undef.)
22528 echo 's/ $//
22529 s,^[ #]*u.*,/* & */,' >>conftest.defines
22531 # Break up conftest.defines:
22532 ac_max_sed_lines=50
22534 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22535 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22536 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22537 # et cetera.
22538 ac_in='$ac_file_inputs'
22539 ac_out='"$tmp/out1"'
22540 ac_nxt='"$tmp/out2"'
22542 while :
22544 # Write a here document:
22545 cat >>$CONFIG_STATUS <<_ACEOF
22546 # First, check the format of the line:
22547 cat >"\$tmp/defines.sed" <<\\CEOF
22548 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22549 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22551 :def
22552 _ACEOF
22553 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22554 echo 'CEOF
22555 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22556 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22557 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22558 grep . conftest.tail >/dev/null || break
22559 rm -f conftest.defines
22560 mv conftest.tail conftest.defines
22561 done
22562 rm -f conftest.defines conftest.tail
22564 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22565 cat >>$CONFIG_STATUS <<\_ACEOF
22566 if test x"$ac_file" != x-; then
22567 echo "/* $configure_input */" >"$tmp/config.h"
22568 cat "$ac_result" >>"$tmp/config.h"
22569 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22570 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22571 echo "$as_me: $ac_file is unchanged" >&6;}
22572 else
22573 rm -f $ac_file
22574 mv "$tmp/config.h" $ac_file
22576 else
22577 echo "/* $configure_input */"
22578 cat "$ac_result"
22580 rm -f "$tmp/out12"
22583 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22584 echo "$as_me: executing $ac_file commands" >&6;}
22586 esac
22589 case $ac_file$ac_mode in
22590 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22591 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22592 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22593 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22594 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22595 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22596 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22597 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22598 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22599 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22600 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22601 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22602 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22604 esac
22605 done # for ac_tag
22608 { (exit 0); exit 0; }
22609 _ACEOF
22610 chmod +x $CONFIG_STATUS
22611 ac_clean_files=$ac_clean_files_save
22614 # configure is writing to config.log, and then calls config.status.
22615 # config.status does its own redirection, appending to config.log.
22616 # Unfortunately, on DOS this fails, as config.log is still kept open
22617 # by configure, so config.status won't be able to write to it; its
22618 # output is simply discarded. So we exec the FD to /dev/null,
22619 # effectively closing config.log, so it can be properly (re)opened and
22620 # appended to by config.status. When coming back to configure, we
22621 # need to make the FD available again.
22622 if test "$no_create" != yes; then
22623 ac_cs_success=:
22624 ac_config_status_args=
22625 test "$silent" = yes &&
22626 ac_config_status_args="$ac_config_status_args --quiet"
22627 exec 5>/dev/null
22628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22629 exec 5>>config.log
22630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22631 # would make configure fail if this is the last instruction.
22632 $ac_cs_success || { (exit 1); exit 1; }
22636 if test "$no_create" = "yes"
22637 then
22638 exit 0
22641 ac_save_IFS="$IFS"
22642 IFS="|"
22643 if test "$verbose" = "yes"; then
22644 for msg in $wine_notices; do
22645 if test -n "$msg"; then
22646 echo >&2
22647 { echo "$as_me:$LINENO: $msg" >&5
22648 echo "$as_me: $msg" >&6;}
22650 done
22652 for msg in $wine_warnings; do
22653 if test -n "$msg"; then
22654 echo >&2
22655 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22656 echo "$as_me: WARNING: $msg" >&2;}
22658 done
22659 IFS="$ac_save_IFS"
22661 echo
22662 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22663 echo