push 52075c24ec2d01e41957761b9a4905f337cd8e65
[wine/hacks.git] / configure
blob597e439ddf0bad160158f956d736eb87e492527f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.43.
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.43'
578 PACKAGE_STRING='Wine 0.9.43'
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.43 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.43:";;
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.43
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.43, 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"
6340 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6341 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 else
6345 ac_check_lib_save_LIBS=$LIBS
6346 LIBS="-lpthread $LIBS"
6347 cat >conftest.$ac_ext <<_ACEOF
6348 /* confdefs.h. */
6349 _ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6357 #ifdef __cplusplus
6358 extern "C"
6359 #endif
6360 char pthread_create ();
6362 main ()
6364 return pthread_create ();
6366 return 0;
6368 _ACEOF
6369 rm -f conftest.$ac_objext conftest$ac_exeext
6370 if { (ac_try="$ac_link"
6371 case "(($ac_try" in
6372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6374 esac
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_pthread_pthread_create=yes
6388 else
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_pthread_pthread_create=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6400 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6401 if test $ac_cv_lib_pthread_pthread_create = yes; then
6402 LIBPTHREAD="-lpthread"
6407 XLIB=""
6409 XFILES=""
6411 OPENGLFILES=""
6413 GLU32FILES=""
6415 OPENGL_LIBS=""
6417 QUARTZFILES=""
6421 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6423 if test "${ac_cv_header_stdc+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 else
6426 cat >conftest.$ac_ext <<_ACEOF
6427 /* confdefs.h. */
6428 _ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <stdlib.h>
6433 #include <stdarg.h>
6434 #include <string.h>
6435 #include <float.h>
6438 main ()
6442 return 0;
6444 _ACEOF
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6447 case "(($ac_try" in
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6450 esac
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.$ac_objext; then
6462 ac_cv_header_stdc=yes
6463 else
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6467 ac_cv_header_stdc=no
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat >conftest.$ac_ext <<_ACEOF
6475 /* confdefs.h. */
6476 _ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <string.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "memchr" >/dev/null 2>&1; then
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6495 cat >conftest.$ac_ext <<_ACEOF
6496 /* confdefs.h. */
6497 _ACEOF
6498 cat confdefs.h >>conftest.$ac_ext
6499 cat >>conftest.$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6501 #include <stdlib.h>
6503 _ACEOF
6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6505 $EGREP "free" >/dev/null 2>&1; then
6507 else
6508 ac_cv_header_stdc=no
6510 rm -f conftest*
6514 if test $ac_cv_header_stdc = yes; then
6515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6516 if test "$cross_compiling" = yes; then
6518 else
6519 cat >conftest.$ac_ext <<_ACEOF
6520 /* confdefs.h. */
6521 _ACEOF
6522 cat confdefs.h >>conftest.$ac_ext
6523 cat >>conftest.$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 #include <ctype.h>
6526 #include <stdlib.h>
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6530 #else
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6536 #endif
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6540 main ()
6542 int i;
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6546 return 2;
6547 return 0;
6549 _ACEOF
6550 rm -f conftest$ac_exeext
6551 if { (ac_try="$ac_link"
6552 case "(($ac_try" in
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6555 esac
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>&5
6558 ac_status=$?
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6561 { (case "(($ac_try" in
6562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6564 esac
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_try") 2>&5
6567 ac_status=$?
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6571 else
6572 echo "$as_me: program exited with status $ac_status" >&5
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 ( exit $ac_status )
6577 ac_cv_header_stdc=no
6579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6586 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6587 if test $ac_cv_header_stdc = yes; then
6589 cat >>confdefs.h <<\_ACEOF
6590 #define STDC_HEADERS 1
6591 _ACEOF
6595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6606 inttypes.h stdint.h unistd.h
6608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 else
6614 cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h. */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6622 #include <$ac_header>
6623 _ACEOF
6624 rm -f conftest.$ac_objext
6625 if { (ac_try="$ac_compile"
6626 case "(($ac_try" in
6627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6628 *) ac_try_echo=$ac_try;;
6629 esac
6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6632 ac_status=$?
6633 grep -v '^ *+' conftest.er1 >conftest.err
6634 rm -f conftest.er1
6635 cat conftest.err >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 eval "$as_ac_Header=yes"
6642 else
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653 echo "${ECHO_T}$ac_res" >&6; }
6654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6657 _ACEOF
6661 done
6775 for ac_header in \
6776 AudioUnit/AudioUnit.h \
6777 Carbon/Carbon.h \
6778 CoreAudio/CoreAudio.h \
6779 DiskArbitration/DiskArbitration.h \
6780 IOKit/IOKitLib.h \
6781 alsa/asoundlib.h \
6782 arpa/inet.h \
6783 arpa/nameser.h \
6784 asm/types.h \
6785 capi20.h \
6786 cups/cups.h \
6787 curses.h \
6788 direct.h \
6789 dlfcn.h \
6790 elf.h \
6791 float.h \
6792 fontconfig/fontconfig.h \
6793 getopt.h \
6794 ieeefp.h \
6795 io.h \
6796 jack/jack.h \
6797 jpeglib.h \
6798 lber.h \
6799 lcms.h \
6800 lcms/lcms.h \
6801 ldap.h \
6802 libaudioio.h \
6803 link.h \
6804 linux/cdrom.h \
6805 linux/compiler.h \
6806 linux/hdreg.h \
6807 linux/input.h \
6808 linux/ioctl.h \
6809 linux/joystick.h \
6810 linux/major.h \
6811 linux/param.h \
6812 linux/serial.h \
6813 linux/ucdrom.h \
6814 mach/mach.h \
6815 mach/machine.h \
6816 machine/cpu.h \
6817 machine/limits.h \
6818 machine/soundcard.h \
6819 mntent.h \
6820 ncurses.h \
6821 netdb.h \
6822 netinet/in.h \
6823 netinet/in_systm.h \
6824 netinet/tcp.h \
6825 netinet/tcp_fsm.h \
6826 openssl/err.h \
6827 openssl/ssl.h \
6828 png.h \
6829 poll.h \
6830 process.h \
6831 pthread.h \
6832 pwd.h \
6833 regex.h \
6834 sched.h \
6835 scsi/scsi.h \
6836 scsi/scsi_ioctl.h \
6837 scsi/sg.h \
6838 soundcard.h \
6839 stdint.h \
6840 strings.h \
6841 sys/asoundlib.h \
6842 sys/cdio.h \
6843 sys/elf32.h \
6844 sys/epoll.h \
6845 sys/errno.h \
6846 sys/event.h \
6847 sys/exec_elf.h \
6848 sys/filio.h \
6849 sys/ioctl.h \
6850 sys/ipc.h \
6851 sys/limits.h \
6852 sys/link.h \
6853 sys/lwp.h \
6854 sys/mman.h \
6855 sys/modem.h \
6856 sys/msg.h \
6857 sys/mtio.h \
6858 sys/param.h \
6859 sys/poll.h \
6860 sys/prctl.h \
6861 sys/ptrace.h \
6862 sys/reg.h \
6863 sys/resource.h \
6864 sys/scsiio.h \
6865 sys/shm.h \
6866 sys/signal.h \
6867 sys/socket.h \
6868 sys/socketvar.h \
6869 sys/sockio.h \
6870 sys/soundcard.h \
6871 sys/statvfs.h \
6872 sys/strtio.h \
6873 sys/syscall.h \
6874 sys/sysctl.h \
6875 sys/time.h \
6876 sys/times.h \
6877 sys/uio.h \
6878 sys/un.h \
6879 sys/vm86.h \
6880 sys/wait.h \
6881 syscall.h \
6882 termios.h \
6883 unicode/ubidi.h \
6884 unistd.h \
6885 utime.h \
6886 valgrind/memcheck.h
6889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 ac_res=`eval echo '${'$as_ac_Header'}'`
6897 { echo "$as_me:$LINENO: result: $ac_res" >&5
6898 echo "${ECHO_T}$ac_res" >&6; }
6899 else
6900 # Is the header compilable?
6901 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6903 cat >conftest.$ac_ext <<_ACEOF
6904 /* confdefs.h. */
6905 _ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 $ac_includes_default
6910 #include <$ac_header>
6911 _ACEOF
6912 rm -f conftest.$ac_objext
6913 if { (ac_try="$ac_compile"
6914 case "(($ac_try" in
6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916 *) ac_try_echo=$ac_try;;
6917 esac
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_compile") 2>conftest.er1
6920 ac_status=$?
6921 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1
6923 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest.$ac_objext; then
6929 ac_header_compiler=yes
6930 else
6931 echo "$as_me: failed program was:" >&5
6932 sed 's/^/| /' conftest.$ac_ext >&5
6934 ac_header_compiler=no
6937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6938 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6939 echo "${ECHO_T}$ac_header_compiler" >&6; }
6941 # Is the header present?
6942 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <$ac_header>
6951 _ACEOF
6952 if { (ac_try="$ac_cpp conftest.$ac_ext"
6953 case "(($ac_try" in
6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6956 esac
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6959 ac_status=$?
6960 grep -v '^ *+' conftest.er1 >conftest.err
6961 rm -f conftest.er1
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } >/dev/null && {
6965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6967 }; then
6968 ac_header_preproc=yes
6969 else
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6973 ac_header_preproc=no
6976 rm -f conftest.err conftest.$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6978 echo "${ECHO_T}$ac_header_preproc" >&6; }
6980 # So? What about this header?
6981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6982 yes:no: )
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6987 ac_header_preproc=yes
6989 no:yes:* )
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7002 ( cat <<\_ASBOX
7003 ## ------------------------------------ ##
7004 ## Report this to wine-devel@winehq.org ##
7005 ## ------------------------------------ ##
7006 _ASBOX
7007 ) | sed "s/^/$as_me: WARNING: /" >&2
7009 esac
7010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 else
7015 eval "$as_ac_Header=\$ac_header_preproc"
7017 ac_res=`eval echo '${'$as_ac_Header'}'`
7018 { echo "$as_me:$LINENO: result: $ac_res" >&5
7019 echo "${ECHO_T}$ac_res" >&6; }
7022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7023 cat >>confdefs.h <<_ACEOF
7024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7025 _ACEOF
7029 done
7031 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7032 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7033 if test "${ac_cv_header_stat_broken+set}" = set; then
7034 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 else
7036 cat >conftest.$ac_ext <<_ACEOF
7037 /* confdefs.h. */
7038 _ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 #include <sys/types.h>
7043 #include <sys/stat.h>
7045 #if defined S_ISBLK && defined S_IFDIR
7046 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7047 #endif
7049 #if defined S_ISBLK && defined S_IFCHR
7050 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7051 #endif
7053 #if defined S_ISLNK && defined S_IFREG
7054 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7055 #endif
7057 #if defined S_ISSOCK && defined S_IFREG
7058 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7059 #endif
7061 _ACEOF
7062 rm -f conftest.$ac_objext
7063 if { (ac_try="$ac_compile"
7064 case "(($ac_try" in
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7067 esac
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7070 ac_status=$?
7071 grep -v '^ *+' conftest.er1 >conftest.err
7072 rm -f conftest.er1
7073 cat conftest.err >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.$ac_objext; then
7079 ac_cv_header_stat_broken=no
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_cv_header_stat_broken=yes
7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7090 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7091 if test $ac_cv_header_stat_broken = yes; then
7093 cat >>confdefs.h <<\_ACEOF
7094 #define STAT_MACROS_BROKEN 1
7095 _ACEOF
7105 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 else
7113 cat >conftest.$ac_ext <<_ACEOF
7114 /* confdefs.h. */
7115 _ACEOF
7116 cat confdefs.h >>conftest.$ac_ext
7117 cat >>conftest.$ac_ext <<_ACEOF
7118 /* end confdefs.h. */
7119 #include <sys/types.h>
7120 #if HAVE_SYS_PARAM_H
7121 # include <sys/param.h>
7122 #endif
7124 #include <$ac_header>
7125 _ACEOF
7126 rm -f conftest.$ac_objext
7127 if { (ac_try="$ac_compile"
7128 case "(($ac_try" in
7129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7130 *) ac_try_echo=$ac_try;;
7131 esac
7132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7133 (eval "$ac_compile") 2>conftest.er1
7134 ac_status=$?
7135 grep -v '^ *+' conftest.er1 >conftest.err
7136 rm -f conftest.er1
7137 cat conftest.err >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } && {
7140 test -z "$ac_c_werror_flag" ||
7141 test ! -s conftest.err
7142 } && test -s conftest.$ac_objext; then
7143 eval "$as_ac_Header=yes"
7144 else
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.$ac_ext >&5
7148 eval "$as_ac_Header=no"
7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 ac_res=`eval echo '${'$as_ac_Header'}'`
7154 { echo "$as_me:$LINENO: result: $ac_res" >&5
7155 echo "${ECHO_T}$ac_res" >&6; }
7156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7157 cat >>confdefs.h <<_ACEOF
7158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7163 done
7174 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
7176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7181 else
7182 cat >conftest.$ac_ext <<_ACEOF
7183 /* confdefs.h. */
7184 _ACEOF
7185 cat confdefs.h >>conftest.$ac_ext
7186 cat >>conftest.$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7188 #include <sys/types.h>
7189 #if HAVE_SYS_SOCKET_H
7190 # include <sys/socket.h>
7191 #endif
7193 #include <$ac_header>
7194 _ACEOF
7195 rm -f conftest.$ac_objext
7196 if { (ac_try="$ac_compile"
7197 case "(($ac_try" in
7198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7199 *) ac_try_echo=$ac_try;;
7200 esac
7201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7202 (eval "$ac_compile") 2>conftest.er1
7203 ac_status=$?
7204 grep -v '^ *+' conftest.er1 >conftest.err
7205 rm -f conftest.er1
7206 cat conftest.err >&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } && {
7209 test -z "$ac_c_werror_flag" ||
7210 test ! -s conftest.err
7211 } && test -s conftest.$ac_objext; then
7212 eval "$as_ac_Header=yes"
7213 else
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.$ac_ext >&5
7217 eval "$as_ac_Header=no"
7220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7222 ac_res=`eval echo '${'$as_ac_Header'}'`
7223 { echo "$as_me:$LINENO: result: $ac_res" >&5
7224 echo "${ECHO_T}$ac_res" >&6; }
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 _ACEOF
7232 done
7234 #if HAVE_SYS_SOCKETVAR_H
7235 # include <sys/socketvar.h>
7236 #endif
7239 for ac_header in netinet/tcp_var.h
7241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 else
7247 cat >conftest.$ac_ext <<_ACEOF
7248 /* confdefs.h. */
7249 _ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #if HAVE_SYS_SOCKET_H
7255 # include <sys/socket.h>
7256 #endif
7257 #if HAVE_SYS_SOCKETVAR_H
7258 # include <sys/socketvar.h>
7259 #endif
7260 #if HAVE_NETINET_IN_H
7261 # include <netinet/in.h>
7262 #endif
7263 #ifdef HAVE_NETINET_TCP_H
7264 # include <netinet/tcp.h>
7265 #endif
7267 #include <$ac_header>
7268 _ACEOF
7269 rm -f conftest.$ac_objext
7270 if { (ac_try="$ac_compile"
7271 case "(($ac_try" in
7272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7274 esac
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_compile") 2>conftest.er1
7277 ac_status=$?
7278 grep -v '^ *+' conftest.er1 >conftest.err
7279 rm -f conftest.er1
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } && {
7283 test -z "$ac_c_werror_flag" ||
7284 test ! -s conftest.err
7285 } && test -s conftest.$ac_objext; then
7286 eval "$as_ac_Header=yes"
7287 else
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 eval "$as_ac_Header=no"
7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7296 ac_res=`eval echo '${'$as_ac_Header'}'`
7297 { echo "$as_me:$LINENO: result: $ac_res" >&5
7298 echo "${ECHO_T}$ac_res" >&6; }
7299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7300 cat >>confdefs.h <<_ACEOF
7301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7302 _ACEOF
7306 done
7310 for ac_header in linux/ipx.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 #ifdef HAVE_ASM_TYPES_H
7326 # include <asm/types.h>
7327 #endif
7328 #if HAVE_SYS_SOCKET_H
7329 # include <sys/socket.h>
7330 #endif
7332 #include <$ac_header>
7333 _ACEOF
7334 rm -f conftest.$ac_objext
7335 if { (ac_try="$ac_compile"
7336 case "(($ac_try" in
7337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7338 *) ac_try_echo=$ac_try;;
7339 esac
7340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7341 (eval "$ac_compile") 2>conftest.er1
7342 ac_status=$?
7343 grep -v '^ *+' conftest.er1 >conftest.err
7344 rm -f conftest.er1
7345 cat conftest.err >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && {
7348 test -z "$ac_c_werror_flag" ||
7349 test ! -s conftest.err
7350 } && test -s conftest.$ac_objext; then
7351 eval "$as_ac_Header=yes"
7352 else
7353 echo "$as_me: failed program was:" >&5
7354 sed 's/^/| /' conftest.$ac_ext >&5
7356 eval "$as_ac_Header=no"
7359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7361 ac_res=`eval echo '${'$as_ac_Header'}'`
7362 { echo "$as_me:$LINENO: result: $ac_res" >&5
7363 echo "${ECHO_T}$ac_res" >&6; }
7364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7365 cat >>confdefs.h <<_ACEOF
7366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7367 _ACEOF
7371 done
7375 for ac_header in resolv.h
7377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 else
7383 cat >conftest.$ac_ext <<_ACEOF
7384 /* confdefs.h. */
7385 _ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 #include <sys/types.h>
7390 #if HAVE_SYS_SOCKET_H
7391 # include <sys/socket.h>
7392 #endif
7393 #if HAVE_NETINET_IN_H
7394 # include <netinet/in.h>
7395 #endif
7396 #if HAVE_ARPA_NAMESER_H
7397 # include <arpa/nameser.h>
7398 #endif
7400 #include <$ac_header>
7401 _ACEOF
7402 rm -f conftest.$ac_objext
7403 if { (ac_try="$ac_compile"
7404 case "(($ac_try" in
7405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7406 *) ac_try_echo=$ac_try;;
7407 esac
7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7409 (eval "$ac_compile") 2>conftest.er1
7410 ac_status=$?
7411 grep -v '^ *+' conftest.er1 >conftest.err
7412 rm -f conftest.er1
7413 cat conftest.err >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && {
7416 test -z "$ac_c_werror_flag" ||
7417 test ! -s conftest.err
7418 } && test -s conftest.$ac_objext; then
7419 eval "$as_ac_Header=yes"
7420 else
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7424 eval "$as_ac_Header=no"
7427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7429 ac_res=`eval echo '${'$as_ac_Header'}'`
7430 { echo "$as_me:$LINENO: result: $ac_res" >&5
7431 echo "${ECHO_T}$ac_res" >&6; }
7432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7433 cat >>confdefs.h <<_ACEOF
7434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7435 _ACEOF
7439 done
7443 for ac_header in ucontext.h
7445 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7448 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 else
7451 cat >conftest.$ac_ext <<_ACEOF
7452 /* confdefs.h. */
7453 _ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 #include <signal.h>
7459 #include <$ac_header>
7460 _ACEOF
7461 rm -f conftest.$ac_objext
7462 if { (ac_try="$ac_compile"
7463 case "(($ac_try" in
7464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7465 *) ac_try_echo=$ac_try;;
7466 esac
7467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7468 (eval "$ac_compile") 2>conftest.er1
7469 ac_status=$?
7470 grep -v '^ *+' conftest.er1 >conftest.err
7471 rm -f conftest.er1
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } && {
7475 test -z "$ac_c_werror_flag" ||
7476 test ! -s conftest.err
7477 } && test -s conftest.$ac_objext; then
7478 eval "$as_ac_Header=yes"
7479 else
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.$ac_ext >&5
7483 eval "$as_ac_Header=no"
7486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488 ac_res=`eval echo '${'$as_ac_Header'}'`
7489 { echo "$as_me:$LINENO: result: $ac_res" >&5
7490 echo "${ECHO_T}$ac_res" >&6; }
7491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7492 cat >>confdefs.h <<_ACEOF
7493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7494 _ACEOF
7498 done
7502 for ac_header in sys/thr.h
7504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7509 else
7510 cat >conftest.$ac_ext <<_ACEOF
7511 /* confdefs.h. */
7512 _ACEOF
7513 cat confdefs.h >>conftest.$ac_ext
7514 cat >>conftest.$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7516 #include <sys/types.h>
7517 #if HAVE_UCONTEXT_H
7518 #include <ucontext.h>
7519 #endif
7521 #include <$ac_header>
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (ac_try="$ac_compile"
7525 case "(($ac_try" in
7526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7527 *) ac_try_echo=$ac_try;;
7528 esac
7529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7530 (eval "$ac_compile") 2>conftest.er1
7531 ac_status=$?
7532 grep -v '^ *+' conftest.er1 >conftest.err
7533 rm -f conftest.er1
7534 cat conftest.err >&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } && {
7537 test -z "$ac_c_werror_flag" ||
7538 test ! -s conftest.err
7539 } && test -s conftest.$ac_objext; then
7540 eval "$as_ac_Header=yes"
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 eval "$as_ac_Header=no"
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 ac_res=`eval echo '${'$as_ac_Header'}'`
7551 { echo "$as_me:$LINENO: result: $ac_res" >&5
7552 echo "${ECHO_T}$ac_res" >&6; }
7553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7554 cat >>confdefs.h <<_ACEOF
7555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 _ACEOF
7560 done
7564 for ac_header in pthread_np.h
7566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 else
7572 cat >conftest.$ac_ext <<_ACEOF
7573 /* confdefs.h. */
7574 _ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #ifdef HAVE_PTHREAD_H
7579 #include <pthread.h>
7580 #endif
7582 #include <$ac_header>
7583 _ACEOF
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7586 case "(($ac_try" in
7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7588 *) ac_try_echo=$ac_try;;
7589 esac
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7592 ac_status=$?
7593 grep -v '^ *+' conftest.er1 >conftest.err
7594 rm -f conftest.er1
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.$ac_objext; then
7601 eval "$as_ac_Header=yes"
7602 else
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 eval "$as_ac_Header=no"
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611 ac_res=`eval echo '${'$as_ac_Header'}'`
7612 { echo "$as_me:$LINENO: result: $ac_res" >&5
7613 echo "${ECHO_T}$ac_res" >&6; }
7614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7615 cat >>confdefs.h <<_ACEOF
7616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7617 _ACEOF
7621 done
7625 for ac_header in linux/videodev.h
7627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 else
7633 cat >conftest.$ac_ext <<_ACEOF
7634 /* confdefs.h. */
7635 _ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 #ifdef HAVE_SYS_TIME_H
7640 #include <sys/time.h>
7641 #endif
7642 #include <sys/types.h>
7643 #ifdef HAVE_ASM_TYPES_H
7644 #include <asm/types.h>
7645 #endif
7647 #include <$ac_header>
7648 _ACEOF
7649 rm -f conftest.$ac_objext
7650 if { (ac_try="$ac_compile"
7651 case "(($ac_try" in
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7654 esac
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_compile") 2>conftest.er1
7657 ac_status=$?
7658 grep -v '^ *+' conftest.er1 >conftest.err
7659 rm -f conftest.er1
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest.$ac_objext; then
7666 eval "$as_ac_Header=yes"
7667 else
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7671 eval "$as_ac_Header=no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 ac_res=`eval echo '${'$as_ac_Header'}'`
7677 { echo "$as_me:$LINENO: result: $ac_res" >&5
7678 echo "${ECHO_T}$ac_res" >&6; }
7679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7680 cat >>confdefs.h <<_ACEOF
7681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 _ACEOF
7686 done
7690 for ac_header in linux/capi.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7697 else
7698 cat >conftest.$ac_ext <<_ACEOF
7699 /* confdefs.h. */
7700 _ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 #define __user
7706 #include <$ac_header>
7707 _ACEOF
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7710 case "(($ac_try" in
7711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712 *) ac_try_echo=$ac_try;;
7713 esac
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7716 ac_status=$?
7717 grep -v '^ *+' conftest.er1 >conftest.err
7718 rm -f conftest.er1
7719 cat conftest.err >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.$ac_objext; then
7725 eval "$as_ac_Header=yes"
7726 else
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.$ac_ext >&5
7730 eval "$as_ac_Header=no"
7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7735 ac_res=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h <<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7741 _ACEOF
7745 done
7749 DLLEXT=""
7751 DLLFLAGS="-D_REENTRANT"
7753 LDSHARED=""
7755 LDDLLFLAGS=""
7757 LIBEXT="so"
7759 IMPLIBEXT="def"
7761 LDRPATH_INSTALL=""
7763 LDRPATH_LOCAL=""
7765 # Extract the first word of "ldd", so it can be a program name with args.
7766 set dummy ldd; ac_word=$2
7767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7769 if test "${ac_cv_path_LDD+set}" = set; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 else
7772 case $LDD in
7773 [\\/]* | ?:[\\/]*)
7774 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 as_dummy="/sbin:/usr/sbin:$PATH"
7779 for as_dir in $as_dummy
7781 IFS=$as_save_IFS
7782 test -z "$as_dir" && as_dir=.
7783 for ac_exec_ext in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 break 2
7789 done
7790 done
7791 IFS=$as_save_IFS
7793 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7795 esac
7797 LDD=$ac_cv_path_LDD
7798 if test -n "$LDD"; then
7799 { echo "$as_me:$LINENO: result: $LDD" >&5
7800 echo "${ECHO_T}$LDD" >&6; }
7801 else
7802 { echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6; }
7808 case $host_os in
7809 cygwin*|mingw32*)
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7815 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 else
7818 if test -n "$DLLTOOL"; then
7819 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7824 IFS=$as_save_IFS
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 break 2
7832 done
7833 done
7834 IFS=$as_save_IFS
7838 DLLTOOL=$ac_cv_prog_DLLTOOL
7839 if test -n "$DLLTOOL"; then
7840 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7841 echo "${ECHO_T}$DLLTOOL" >&6; }
7842 else
7843 { echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6; }
7849 if test -z "$ac_cv_prog_DLLTOOL"; then
7850 ac_ct_DLLTOOL=$DLLTOOL
7851 # Extract the first word of "dlltool", so it can be a program name with args.
7852 set dummy dlltool; ac_word=$2
7853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7855 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7857 else
7858 if test -n "$ac_ct_DLLTOOL"; then
7859 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7860 else
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 for as_dir in $PATH
7864 IFS=$as_save_IFS
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 break 2
7872 done
7873 done
7874 IFS=$as_save_IFS
7878 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7879 if test -n "$ac_ct_DLLTOOL"; then
7880 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7881 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7882 else
7883 { echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6; }
7887 if test "x$ac_ct_DLLTOOL" = x; then
7888 DLLTOOL="false"
7889 else
7890 case $cross_compiling:$ac_tool_warned in
7891 yes:)
7892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&5
7895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7896 whose name does not start with the host triplet. If you think this
7897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7898 ac_tool_warned=yes ;;
7899 esac
7900 DLLTOOL=$ac_ct_DLLTOOL
7902 else
7903 DLLTOOL="$ac_cv_prog_DLLTOOL"
7906 if test -n "$ac_tool_prefix"; then
7907 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7908 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7911 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 else
7914 if test -n "$DLLWRAP"; then
7915 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7916 else
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7918 for as_dir in $PATH
7920 IFS=$as_save_IFS
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 break 2
7928 done
7929 done
7930 IFS=$as_save_IFS
7934 DLLWRAP=$ac_cv_prog_DLLWRAP
7935 if test -n "$DLLWRAP"; then
7936 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7937 echo "${ECHO_T}$DLLWRAP" >&6; }
7938 else
7939 { echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6; }
7945 if test -z "$ac_cv_prog_DLLWRAP"; then
7946 ac_ct_DLLWRAP=$DLLWRAP
7947 # Extract the first word of "dllwrap", so it can be a program name with args.
7948 set dummy dllwrap; ac_word=$2
7949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7951 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 else
7954 if test -n "$ac_ct_DLLWRAP"; then
7955 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7956 else
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958 for as_dir in $PATH
7960 IFS=$as_save_IFS
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7964 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 break 2
7968 done
7969 done
7970 IFS=$as_save_IFS
7974 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7975 if test -n "$ac_ct_DLLWRAP"; then
7976 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7977 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7978 else
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7983 if test "x$ac_ct_DLLWRAP" = x; then
7984 DLLWRAP="false"
7985 else
7986 case $cross_compiling:$ac_tool_warned in
7987 yes:)
7988 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&5
7991 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7992 whose name does not start with the host triplet. If you think this
7993 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7994 ac_tool_warned=yes ;;
7995 esac
7996 DLLWRAP=$ac_ct_DLLWRAP
7998 else
7999 DLLWRAP="$ac_cv_prog_DLLWRAP"
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8004 set dummy ${ac_tool_prefix}ar; ac_word=$2
8005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8007 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 else
8010 if test -n "$MINGWAR"; then
8011 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8016 IFS=$as_save_IFS
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 break 2
8024 done
8025 done
8026 IFS=$as_save_IFS
8030 MINGWAR=$ac_cv_prog_MINGWAR
8031 if test -n "$MINGWAR"; then
8032 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8033 echo "${ECHO_T}$MINGWAR" >&6; }
8034 else
8035 { echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6; }
8041 if test -z "$ac_cv_prog_MINGWAR"; then
8042 ac_ct_MINGWAR=$MINGWAR
8043 # Extract the first word of "ar", so it can be a program name with args.
8044 set dummy ar; ac_word=$2
8045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8047 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 if test -n "$ac_ct_MINGWAR"; then
8051 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8052 else
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_MINGWAR="ar"
8061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 break 2
8064 done
8065 done
8066 IFS=$as_save_IFS
8070 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8071 if test -n "$ac_ct_MINGWAR"; then
8072 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8073 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8074 else
8075 { echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6; }
8079 if test "x$ac_ct_MINGWAR" = x; then
8080 MINGWAR="false"
8081 else
8082 case $cross_compiling:$ac_tool_warned in
8083 yes:)
8084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&5
8087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8088 whose name does not start with the host triplet. If you think this
8089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8090 ac_tool_warned=yes ;;
8091 esac
8092 MINGWAR=$ac_ct_MINGWAR
8094 else
8095 MINGWAR="$ac_cv_prog_MINGWAR"
8098 if test "$DLLWRAP" = "false"; then
8099 LIBEXT="a"
8100 else
8101 LIBEXT="dll"
8103 IMPLIBEXT="a"
8104 WIN16_FILES=""
8105 WIN16_INSTALL=""
8107 darwin*|macosx*)
8108 DLLEXT=".so"
8109 LIBEXT="dylib"
8110 DLLFLAGS="$DLLFLAGS -fPIC"
8111 LDDLLFLAGS="-bundle -multiply_defined suppress"
8112 LIBWINE_LDFLAGS="-multiply_defined suppress"
8113 LDSHARED="\$(CC) -dynamiclib"
8114 STRIP="$STRIP -x"
8115 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8116 COREFOUNDATIONLIB="-framework CoreFoundation"
8118 IOKITLIB="-framework IOKit -framework CoreFoundation"
8120 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8122 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8123 then
8124 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8127 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8128 then
8129 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8132 case $host_cpu in
8133 *powerpc*)
8134 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8135 esac
8136 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8137 then
8138 CARBONLIB="-framework Carbon"
8140 QUARTZFILES='$(QUARTZFILES)'
8144 DLLFLAGS="$DLLFLAGS -fPIC"
8145 DLLEXT=".so"
8146 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8147 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8148 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8150 else
8151 ac_wine_try_cflags_saved=$CFLAGS
8152 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8153 cat >conftest.$ac_ext <<_ACEOF
8154 void myfunc() {}
8155 _ACEOF
8156 rm -f conftest.$ac_objext conftest$ac_exeext
8157 if { (ac_try="$ac_link"
8158 case "(($ac_try" in
8159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8160 *) ac_try_echo=$ac_try;;
8161 esac
8162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8163 (eval "$ac_link") 2>conftest.er1
8164 ac_status=$?
8165 grep -v '^ *+' conftest.er1 >conftest.err
8166 rm -f conftest.er1
8167 cat conftest.err >&5
8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); } && {
8170 test -z "$ac_c_werror_flag" ||
8171 test ! -s conftest.err
8172 } && test -s conftest$ac_exeext &&
8173 $as_test_x conftest$ac_exeext; then
8174 ac_cv_c_dll_gnuelf="yes"
8175 else
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.$ac_ext >&5
8179 ac_cv_c_dll_gnuelf="no"
8182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8183 conftest$ac_exeext conftest.$ac_ext
8184 CFLAGS=$ac_wine_try_cflags_saved
8186 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8187 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8188 if test "$ac_cv_c_dll_gnuelf" = "yes"
8189 then
8190 LDSHARED="\$(CC) -shared"
8191 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8192 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8193 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8194 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 else
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8199 cat >conftest.$ac_ext <<_ACEOF
8200 /* confdefs.h. */
8201 _ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8207 main ()
8211 return 0;
8213 _ACEOF
8214 rm -f conftest.$ac_objext conftest$ac_exeext
8215 if { (ac_try="$ac_link"
8216 case "(($ac_try" in
8217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8218 *) ac_try_echo=$ac_try;;
8219 esac
8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 (eval "$ac_link") 2>conftest.er1
8222 ac_status=$?
8223 grep -v '^ *+' conftest.er1 >conftest.err
8224 rm -f conftest.er1
8225 cat conftest.err >&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); } && {
8228 test -z "$ac_c_werror_flag" ||
8229 test ! -s conftest.err
8230 } && test -s conftest$ac_exeext &&
8231 $as_test_x conftest$ac_exeext; then
8232 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8233 else
8234 echo "$as_me: failed program was:" >&5
8235 sed 's/^/| /' conftest.$ac_ext >&5
8237 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8245 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8246 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8247 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8248 else
8249 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8250 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8251 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8256 cat >conftest.$ac_ext <<_ACEOF
8257 /* confdefs.h. */
8258 _ACEOF
8259 cat confdefs.h >>conftest.$ac_ext
8260 cat >>conftest.$ac_ext <<_ACEOF
8261 /* end confdefs.h. */
8264 main ()
8268 return 0;
8270 _ACEOF
8271 rm -f conftest.$ac_objext conftest$ac_exeext
8272 if { (ac_try="$ac_link"
8273 case "(($ac_try" in
8274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8275 *) ac_try_echo=$ac_try;;
8276 esac
8277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8278 (eval "$ac_link") 2>conftest.er1
8279 ac_status=$?
8280 grep -v '^ *+' conftest.er1 >conftest.err
8281 rm -f conftest.er1
8282 cat conftest.err >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } && {
8285 test -z "$ac_c_werror_flag" ||
8286 test ! -s conftest.err
8287 } && test -s conftest$ac_exeext &&
8288 $as_test_x conftest$ac_exeext; then
8289 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8290 else
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8302 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8303 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8304 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8310 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8311 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8312 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 else
8315 ac_wine_try_cflags_saved=$CFLAGS
8316 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8317 cat >conftest.$ac_ext <<_ACEOF
8318 /* confdefs.h. */
8319 _ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8325 main ()
8329 return 0;
8331 _ACEOF
8332 rm -f conftest.$ac_objext conftest$ac_exeext
8333 if { (ac_try="$ac_link"
8334 case "(($ac_try" in
8335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336 *) ac_try_echo=$ac_try;;
8337 esac
8338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339 (eval "$ac_link") 2>conftest.er1
8340 ac_status=$?
8341 grep -v '^ *+' conftest.er1 >conftest.err
8342 rm -f conftest.er1
8343 cat conftest.err >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } && {
8346 test -z "$ac_c_werror_flag" ||
8347 test ! -s conftest.err
8348 } && test -s conftest$ac_exeext &&
8349 $as_test_x conftest$ac_exeext; then
8350 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8351 else
8352 echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.$ac_ext >&5
8355 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8363 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8364 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8365 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8369 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8370 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8371 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8373 else
8374 ac_wine_try_cflags_saved=$CFLAGS
8375 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8376 cat >conftest.$ac_ext <<_ACEOF
8377 /* confdefs.h. */
8378 _ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8384 main ()
8388 return 0;
8390 _ACEOF
8391 rm -f conftest.$ac_objext conftest$ac_exeext
8392 if { (ac_try="$ac_link"
8393 case "(($ac_try" in
8394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8395 *) ac_try_echo=$ac_try;;
8396 esac
8397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8398 (eval "$ac_link") 2>conftest.er1
8399 ac_status=$?
8400 grep -v '^ *+' conftest.er1 >conftest.err
8401 rm -f conftest.er1
8402 cat conftest.err >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } && {
8405 test -z "$ac_c_werror_flag" ||
8406 test ! -s conftest.err
8407 } && test -s conftest$ac_exeext &&
8408 $as_test_x conftest$ac_exeext; then
8409 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8410 else
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.$ac_ext >&5
8414 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8418 conftest$ac_exeext conftest.$ac_ext
8419 CFLAGS=$ac_wine_try_cflags_saved
8421 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8422 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8423 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8424 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8428 echo '{ global: *; };' >conftest.map
8429 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8430 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8431 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 else
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8436 cat >conftest.$ac_ext <<_ACEOF
8437 /* confdefs.h. */
8438 _ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (ac_try="$ac_link"
8453 case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8456 esac
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8458 (eval "$ac_link") 2>conftest.er1
8459 ac_status=$?
8460 grep -v '^ *+' conftest.er1 >conftest.err
8461 rm -f conftest.er1
8462 cat conftest.err >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && {
8465 test -z "$ac_c_werror_flag" ||
8466 test ! -s conftest.err
8467 } && test -s conftest$ac_exeext &&
8468 $as_test_x conftest$ac_exeext; then
8469 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8470 else
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.$ac_ext >&5
8474 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8482 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8483 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8484 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8487 rm -f conftest.map
8489 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8490 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8491 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8496 cat >conftest.$ac_ext <<_ACEOF
8497 /* confdefs.h. */
8498 _ACEOF
8499 cat confdefs.h >>conftest.$ac_ext
8500 cat >>conftest.$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8504 main ()
8508 return 0;
8510 _ACEOF
8511 rm -f conftest.$ac_objext conftest$ac_exeext
8512 if { (ac_try="$ac_link"
8513 case "(($ac_try" in
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8516 esac
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_link") 2>conftest.er1
8519 ac_status=$?
8520 grep -v '^ *+' conftest.er1 >conftest.err
8521 rm -f conftest.er1
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest$ac_exeext &&
8528 $as_test_x conftest$ac_exeext; then
8529 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8530 else
8531 echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8534 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8542 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8543 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8544 LDEXECFLAGS="-Wl,--export-dynamic"
8549 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8550 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8551 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8553 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8557 cat >conftest.$ac_ext <<_ACEOF
8558 /* confdefs.h. */
8559 _ACEOF
8560 cat confdefs.h >>conftest.$ac_ext
8561 cat >>conftest.$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8565 main ()
8569 return 0;
8571 _ACEOF
8572 rm -f conftest.$ac_objext conftest$ac_exeext
8573 if { (ac_try="$ac_link"
8574 case "(($ac_try" in
8575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8576 *) ac_try_echo=$ac_try;;
8577 esac
8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8579 (eval "$ac_link") 2>conftest.er1
8580 ac_status=$?
8581 grep -v '^ *+' conftest.er1 >conftest.err
8582 rm -f conftest.er1
8583 cat conftest.err >&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); } && {
8586 test -z "$ac_c_werror_flag" ||
8587 test ! -s conftest.err
8588 } && test -s conftest$ac_exeext &&
8589 $as_test_x conftest$ac_exeext; then
8590 eval "$as_ac_var=yes"
8591 else
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.$ac_ext >&5
8595 eval "$as_ac_var=no"
8598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8599 conftest$ac_exeext conftest.$ac_ext
8600 CFLAGS=$ac_wine_try_cflags_saved
8602 ac_res=`eval echo '${'$as_ac_var'}'`
8603 { echo "$as_me:$LINENO: result: $ac_res" >&5
8604 echo "${ECHO_T}$ac_res" >&6; }
8605 if test `eval echo '${'$as_ac_var'}'` = yes; then
8606 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8607 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8608 else
8609 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8610 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8611 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8612 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8617 cat >conftest.$ac_ext <<_ACEOF
8618 /* confdefs.h. */
8619 _ACEOF
8620 cat confdefs.h >>conftest.$ac_ext
8621 cat >>conftest.$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8625 main ()
8629 return 0;
8631 _ACEOF
8632 rm -f conftest.$ac_objext conftest$ac_exeext
8633 if { (ac_try="$ac_link"
8634 case "(($ac_try" in
8635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8637 esac
8638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8639 (eval "$ac_link") 2>conftest.er1
8640 ac_status=$?
8641 grep -v '^ *+' conftest.er1 >conftest.err
8642 rm -f conftest.er1
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } && {
8646 test -z "$ac_c_werror_flag" ||
8647 test ! -s conftest.err
8648 } && test -s conftest$ac_exeext &&
8649 $as_test_x conftest$ac_exeext; then
8650 eval "$as_ac_var=yes"
8651 else
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 eval "$as_ac_var=no"
8658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 ac_res=`eval echo '${'$as_ac_var'}'`
8663 { echo "$as_me:$LINENO: result: $ac_res" >&5
8664 echo "${ECHO_T}$ac_res" >&6; }
8665 if test `eval echo '${'$as_ac_var'}'` = yes; then
8666 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8667 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8673 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8674 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8675 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 else
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8680 cat >conftest.$ac_ext <<_ACEOF
8681 /* confdefs.h. */
8682 _ACEOF
8683 cat confdefs.h >>conftest.$ac_ext
8684 cat >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8688 main ()
8692 return 0;
8694 _ACEOF
8695 rm -f conftest.$ac_objext conftest$ac_exeext
8696 if { (ac_try="$ac_link"
8697 case "(($ac_try" in
8698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8699 *) ac_try_echo=$ac_try;;
8700 esac
8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 (eval "$ac_link") 2>conftest.er1
8703 ac_status=$?
8704 grep -v '^ *+' conftest.er1 >conftest.err
8705 rm -f conftest.er1
8706 cat conftest.err >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } && {
8709 test -z "$ac_c_werror_flag" ||
8710 test ! -s conftest.err
8711 } && test -s conftest$ac_exeext &&
8712 $as_test_x conftest$ac_exeext; then
8713 ac_cv_cflags__Wl___enable_new_dtags=yes
8714 else
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.$ac_ext >&5
8718 ac_cv_cflags__Wl___enable_new_dtags=no
8721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8726 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8727 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8728 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8732 case $host_cpu in
8733 *i[3456789]86* | x86_64)
8734 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8735 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8736 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8738 else
8739 ac_wine_try_cflags_saved=$CFLAGS
8740 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8741 cat >conftest.$ac_ext <<_ACEOF
8742 /* confdefs.h. */
8743 _ACEOF
8744 cat confdefs.h >>conftest.$ac_ext
8745 cat >>conftest.$ac_ext <<_ACEOF
8746 /* end confdefs.h. */
8749 main ()
8753 return 0;
8755 _ACEOF
8756 rm -f conftest.$ac_objext conftest$ac_exeext
8757 if { (ac_try="$ac_link"
8758 case "(($ac_try" in
8759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8760 *) ac_try_echo=$ac_try;;
8761 esac
8762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8763 (eval "$ac_link") 2>conftest.er1
8764 ac_status=$?
8765 grep -v '^ *+' conftest.er1 >conftest.err
8766 rm -f conftest.er1
8767 cat conftest.err >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); } && {
8770 test -z "$ac_c_werror_flag" ||
8771 test ! -s conftest.err
8772 } && test -s conftest$ac_exeext &&
8773 $as_test_x conftest$ac_exeext; then
8774 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8775 else
8776 echo "$as_me: failed program was:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8779 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8787 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8788 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8789 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8793 esac
8795 else
8796 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8797 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8798 if test "${ac_cv_c_dll_unixware+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 else
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8803 cat >conftest.$ac_ext <<_ACEOF
8804 void myfunc() {}
8805 _ACEOF
8806 rm -f conftest.$ac_objext conftest$ac_exeext
8807 if { (ac_try="$ac_link"
8808 case "(($ac_try" in
8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8810 *) ac_try_echo=$ac_try;;
8811 esac
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_link") 2>conftest.er1
8814 ac_status=$?
8815 grep -v '^ *+' conftest.er1 >conftest.err
8816 rm -f conftest.er1
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } && {
8820 test -z "$ac_c_werror_flag" ||
8821 test ! -s conftest.err
8822 } && test -s conftest$ac_exeext &&
8823 $as_test_x conftest$ac_exeext; then
8824 ac_cv_c_dll_unixware="yes"
8825 else
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.$ac_ext >&5
8829 ac_cv_c_dll_unixware="no"
8832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8833 conftest$ac_exeext conftest.$ac_ext
8834 CFLAGS=$ac_wine_try_cflags_saved
8836 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8837 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8838 if test "$ac_cv_c_dll_unixware" = "yes"
8839 then
8840 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8841 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8843 else
8844 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8845 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8846 if test "${ac_cv_c_dll_hpux+set}" = set; then
8847 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 else
8849 ac_wine_try_cflags_saved=$CFLAGS
8850 CFLAGS="$CFLAGS -shared"
8851 cat >conftest.$ac_ext <<_ACEOF
8852 void myfunc() {}
8853 _ACEOF
8854 rm -f conftest.$ac_objext conftest$ac_exeext
8855 if { (ac_try="$ac_link"
8856 case "(($ac_try" in
8857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8858 *) ac_try_echo=$ac_try;;
8859 esac
8860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861 (eval "$ac_link") 2>conftest.er1
8862 ac_status=$?
8863 grep -v '^ *+' conftest.er1 >conftest.err
8864 rm -f conftest.er1
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } && {
8868 test -z "$ac_c_werror_flag" ||
8869 test ! -s conftest.err
8870 } && test -s conftest$ac_exeext &&
8871 $as_test_x conftest$ac_exeext; then
8872 ac_cv_c_dll_hpux="yes"
8873 else
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8877 ac_cv_c_dll_hpux="no"
8880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8885 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8886 if test "$ac_cv_c_dll_hpux" = "yes"
8887 then
8888 LIBEXT="sl"
8889 DLLEXT=".sl"
8890 LDDLLFLAGS="-shared -fPIC"
8891 LDSHARED="\$(CC) -shared"
8896 CROSSTEST=""
8898 if test "$cross_compiling" = "no"
8899 then
8900 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8902 # Extract the first word of "$ac_prog", so it can be a program name with args.
8903 set dummy $ac_prog; ac_word=$2
8904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8906 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 else
8909 if test -n "$CROSSCC"; then
8910 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8911 else
8912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 for as_dir in $PATH
8915 IFS=$as_save_IFS
8916 test -z "$as_dir" && as_dir=.
8917 for ac_exec_ext in '' $ac_executable_extensions; do
8918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8919 ac_cv_prog_CROSSCC="$ac_prog"
8920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 break 2
8923 done
8924 done
8925 IFS=$as_save_IFS
8929 CROSSCC=$ac_cv_prog_CROSSCC
8930 if test -n "$CROSSCC"; then
8931 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8932 echo "${ECHO_T}$CROSSCC" >&6; }
8933 else
8934 { echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6; }
8939 test -n "$CROSSCC" && break
8940 done
8941 test -n "$CROSSCC" || CROSSCC="false"
8943 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8945 # Extract the first word of "$ac_prog", so it can be a program name with args.
8946 set dummy $ac_prog; ac_word=$2
8947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8949 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8951 else
8952 if test -n "$DLLTOOL"; then
8953 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8954 else
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 for as_dir in $PATH
8958 IFS=$as_save_IFS
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8962 ac_cv_prog_DLLTOOL="$ac_prog"
8963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8964 break 2
8966 done
8967 done
8968 IFS=$as_save_IFS
8972 DLLTOOL=$ac_cv_prog_DLLTOOL
8973 if test -n "$DLLTOOL"; then
8974 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8975 echo "${ECHO_T}$DLLTOOL" >&6; }
8976 else
8977 { echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6; }
8982 test -n "$DLLTOOL" && break
8983 done
8984 test -n "$DLLTOOL" || DLLTOOL="false"
8986 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8988 # Extract the first word of "$ac_prog", so it can be a program name with args.
8989 set dummy $ac_prog; ac_word=$2
8990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8992 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 else
8995 if test -n "$CROSSWINDRES"; then
8996 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8997 else
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 for as_dir in $PATH
9001 IFS=$as_save_IFS
9002 test -z "$as_dir" && as_dir=.
9003 for ac_exec_ext in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_prog_CROSSWINDRES="$ac_prog"
9006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9007 break 2
9009 done
9010 done
9011 IFS=$as_save_IFS
9015 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9016 if test -n "$CROSSWINDRES"; then
9017 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9018 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9019 else
9020 { echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6; }
9025 test -n "$CROSSWINDRES" && break
9026 done
9027 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9029 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9031 # Extract the first word of "$ac_prog", so it can be a program name with args.
9032 set dummy $ac_prog; ac_word=$2
9033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9035 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9037 else
9038 if test -n "$MINGWAR"; then
9039 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9040 else
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 for as_dir in $PATH
9044 IFS=$as_save_IFS
9045 test -z "$as_dir" && as_dir=.
9046 for ac_exec_ext in '' $ac_executable_extensions; do
9047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048 ac_cv_prog_MINGWAR="$ac_prog"
9049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9050 break 2
9052 done
9053 done
9054 IFS=$as_save_IFS
9058 MINGWAR=$ac_cv_prog_MINGWAR
9059 if test -n "$MINGWAR"; then
9060 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9061 echo "${ECHO_T}$MINGWAR" >&6; }
9062 else
9063 { echo "$as_me:$LINENO: result: no" >&5
9064 echo "${ECHO_T}no" >&6; }
9068 test -n "$MINGWAR" && break
9069 done
9070 test -n "$MINGWAR" || MINGWAR="false"
9072 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9075 esac
9077 if test "$LIBEXT" = "a"; then
9078 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9079 It is currently not possible to build Wine without shared library
9080 (.so) support to allow transparent switch between .so and .dll files.
9081 If you are using Linux, you will need a newer binutils.
9082 " >&5
9083 echo "$as_me: error: could not find a way to build shared libraries.
9084 It is currently not possible to build Wine without shared library
9085 (.so) support to allow transparent switch between .so and .dll files.
9086 If you are using Linux, you will need a newer binutils.
9087 " >&2;}
9088 { (exit 1); exit 1; }; }
9092 if test "$have_x" = "yes"
9093 then
9094 XLIB="-lXext -lX11"
9095 ac_save_CPPFLAGS="$CPPFLAGS"
9096 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9098 { echo "$as_me:$LINENO: checking for -lX11" >&5
9099 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9100 if test "${ac_cv_lib_soname_X11+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 else
9103 ac_check_soname_save_LIBS=$LIBS
9104 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9105 cat >conftest.$ac_ext <<_ACEOF
9106 /* confdefs.h. */
9107 _ACEOF
9108 cat confdefs.h >>conftest.$ac_ext
9109 cat >>conftest.$ac_ext <<_ACEOF
9110 /* end confdefs.h. */
9112 /* Override any GCC internal prototype to avoid an error.
9113 Use char because int might match the return type of a GCC
9114 builtin and then its argument prototype would still apply. */
9115 #ifdef __cplusplus
9116 extern "C"
9117 #endif
9118 char XCreateWindow ();
9120 main ()
9122 return XCreateWindow ();
9124 return 0;
9126 _ACEOF
9127 rm -f conftest.$ac_objext conftest$ac_exeext
9128 if { (ac_try="$ac_link"
9129 case "(($ac_try" in
9130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9132 esac
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_link") 2>conftest.er1
9135 ac_status=$?
9136 grep -v '^ *+' conftest.er1 >conftest.err
9137 rm -f conftest.er1
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } && {
9141 test -z "$ac_c_werror_flag" ||
9142 test ! -s conftest.err
9143 } && test -s conftest$ac_exeext &&
9144 $as_test_x conftest$ac_exeext; then
9145 case "$LIBEXT" in
9146 dll) ;;
9147 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'` ;;
9148 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9149 esac
9150 else
9151 echo "$as_me: failed program was:" >&5
9152 sed 's/^/| /' conftest.$ac_ext >&5
9157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9158 conftest$ac_exeext conftest.$ac_ext
9159 LIBS=$ac_check_soname_save_LIBS
9161 if test "x$ac_cv_lib_soname_X11" = "x"; then
9162 { echo "$as_me:$LINENO: result: not found" >&5
9163 echo "${ECHO_T}not found" >&6; }
9165 else
9166 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9167 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9169 cat >>confdefs.h <<_ACEOF
9170 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9171 _ACEOF
9176 { echo "$as_me:$LINENO: checking for -lXext" >&5
9177 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9178 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 else
9181 ac_check_soname_save_LIBS=$LIBS
9182 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9183 cat >conftest.$ac_ext <<_ACEOF
9184 /* confdefs.h. */
9185 _ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char XextCreateExtension ();
9198 main ()
9200 return XextCreateExtension ();
9202 return 0;
9204 _ACEOF
9205 rm -f conftest.$ac_objext conftest$ac_exeext
9206 if { (ac_try="$ac_link"
9207 case "(($ac_try" in
9208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9209 *) ac_try_echo=$ac_try;;
9210 esac
9211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9212 (eval "$ac_link") 2>conftest.er1
9213 ac_status=$?
9214 grep -v '^ *+' conftest.er1 >conftest.err
9215 rm -f conftest.er1
9216 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } && {
9219 test -z "$ac_c_werror_flag" ||
9220 test ! -s conftest.err
9221 } && test -s conftest$ac_exeext &&
9222 $as_test_x conftest$ac_exeext; then
9223 case "$LIBEXT" in
9224 dll) ;;
9225 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'` ;;
9226 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9227 esac
9228 else
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.$ac_ext >&5
9235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_soname_save_LIBS
9239 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9240 { echo "$as_me:$LINENO: result: not found" >&5
9241 echo "${ECHO_T}not found" >&6; }
9243 else
9244 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9245 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9247 cat >>confdefs.h <<_ACEOF
9248 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9249 _ACEOF
9266 for ac_header in X11/Xlib.h \
9267 X11/XKBlib.h \
9268 X11/Xutil.h \
9269 X11/Xcursor/Xcursor.h \
9270 X11/extensions/shape.h \
9271 X11/extensions/XInput.h \
9272 X11/extensions/XShm.h \
9273 X11/extensions/Xinerama.h \
9274 X11/extensions/Xrandr.h \
9275 X11/extensions/Xrender.h \
9276 X11/extensions/xf86vmode.h
9278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 else
9284 cat >conftest.$ac_ext <<_ACEOF
9285 /* confdefs.h. */
9286 _ACEOF
9287 cat confdefs.h >>conftest.$ac_ext
9288 cat >>conftest.$ac_ext <<_ACEOF
9289 /* end confdefs.h. */
9290 #ifdef HAVE_X11_XLIB_H
9291 # include <X11/Xlib.h>
9292 #endif
9293 #ifdef HAVE_X11_XUTIL_H
9294 # include <X11/Xutil.h>
9295 #endif
9297 #include <$ac_header>
9298 _ACEOF
9299 rm -f conftest.$ac_objext
9300 if { (ac_try="$ac_compile"
9301 case "(($ac_try" in
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9304 esac
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_compile") 2>conftest.er1
9307 ac_status=$?
9308 grep -v '^ *+' conftest.er1 >conftest.err
9309 rm -f conftest.er1
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } && {
9313 test -z "$ac_c_werror_flag" ||
9314 test ! -s conftest.err
9315 } && test -s conftest.$ac_objext; then
9316 eval "$as_ac_Header=yes"
9317 else
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.$ac_ext >&5
9321 eval "$as_ac_Header=no"
9324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9326 ac_res=`eval echo '${'$as_ac_Header'}'`
9327 { echo "$as_me:$LINENO: result: $ac_res" >&5
9328 echo "${ECHO_T}$ac_res" >&6; }
9329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9330 cat >>confdefs.h <<_ACEOF
9331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9332 _ACEOF
9336 done
9339 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9340 then
9341 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9342 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9343 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9344 echo $ECHO_N "(cached) $ECHO_C" >&6
9345 else
9346 ac_check_lib_save_LIBS=$LIBS
9347 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9348 cat >conftest.$ac_ext <<_ACEOF
9349 /* confdefs.h. */
9350 _ACEOF
9351 cat confdefs.h >>conftest.$ac_ext
9352 cat >>conftest.$ac_ext <<_ACEOF
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9358 #ifdef __cplusplus
9359 extern "C"
9360 #endif
9361 char XkbQueryExtension ();
9363 main ()
9365 return XkbQueryExtension ();
9367 return 0;
9369 _ACEOF
9370 rm -f conftest.$ac_objext conftest$ac_exeext
9371 if { (ac_try="$ac_link"
9372 case "(($ac_try" in
9373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9374 *) ac_try_echo=$ac_try;;
9375 esac
9376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9377 (eval "$ac_link") 2>conftest.er1
9378 ac_status=$?
9379 grep -v '^ *+' conftest.er1 >conftest.err
9380 rm -f conftest.er1
9381 cat conftest.err >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } && {
9384 test -z "$ac_c_werror_flag" ||
9385 test ! -s conftest.err
9386 } && test -s conftest$ac_exeext &&
9387 $as_test_x conftest$ac_exeext; then
9388 ac_cv_lib_X11_XkbQueryExtension=yes
9389 else
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 ac_cv_lib_X11_XkbQueryExtension=no
9396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_lib_save_LIBS
9400 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9401 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9402 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9404 cat >>confdefs.h <<\_ACEOF
9405 #define HAVE_XKB 1
9406 _ACEOF
9412 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9413 then
9414 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9415 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9416 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9417 echo $ECHO_N "(cached) $ECHO_C" >&6
9418 else
9419 ac_check_soname_save_LIBS=$LIBS
9420 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9421 cat >conftest.$ac_ext <<_ACEOF
9422 /* confdefs.h. */
9423 _ACEOF
9424 cat confdefs.h >>conftest.$ac_ext
9425 cat >>conftest.$ac_ext <<_ACEOF
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9431 #ifdef __cplusplus
9432 extern "C"
9433 #endif
9434 char XcursorImageLoadCursor ();
9436 main ()
9438 return XcursorImageLoadCursor ();
9440 return 0;
9442 _ACEOF
9443 rm -f conftest.$ac_objext conftest$ac_exeext
9444 if { (ac_try="$ac_link"
9445 case "(($ac_try" in
9446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9447 *) ac_try_echo=$ac_try;;
9448 esac
9449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9450 (eval "$ac_link") 2>conftest.er1
9451 ac_status=$?
9452 grep -v '^ *+' conftest.er1 >conftest.err
9453 rm -f conftest.er1
9454 cat conftest.err >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } && {
9457 test -z "$ac_c_werror_flag" ||
9458 test ! -s conftest.err
9459 } && test -s conftest$ac_exeext &&
9460 $as_test_x conftest$ac_exeext; then
9461 case "$LIBEXT" in
9462 dll) ;;
9463 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'` ;;
9464 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9465 esac
9466 else
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.$ac_ext >&5
9473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_soname_save_LIBS
9477 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9478 { echo "$as_me:$LINENO: result: not found" >&5
9479 echo "${ECHO_T}not found" >&6; }
9481 else
9482 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9483 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9485 cat >>confdefs.h <<_ACEOF
9486 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9487 _ACEOF
9494 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9495 then
9496 { echo "$as_me:$LINENO: checking for -lXi" >&5
9497 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9498 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 else
9501 ac_check_soname_save_LIBS=$LIBS
9502 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9503 cat >conftest.$ac_ext <<_ACEOF
9504 /* confdefs.h. */
9505 _ACEOF
9506 cat confdefs.h >>conftest.$ac_ext
9507 cat >>conftest.$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char XOpenDevice ();
9518 main ()
9520 return XOpenDevice ();
9522 return 0;
9524 _ACEOF
9525 rm -f conftest.$ac_objext conftest$ac_exeext
9526 if { (ac_try="$ac_link"
9527 case "(($ac_try" in
9528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9529 *) ac_try_echo=$ac_try;;
9530 esac
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_link") 2>conftest.er1
9533 ac_status=$?
9534 grep -v '^ *+' conftest.er1 >conftest.err
9535 rm -f conftest.er1
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest$ac_exeext &&
9542 $as_test_x conftest$ac_exeext; then
9543 case "$LIBEXT" in
9544 dll) ;;
9545 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'` ;;
9546 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9547 esac
9548 else
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_soname_save_LIBS
9559 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9560 { echo "$as_me:$LINENO: result: not found" >&5
9561 echo "${ECHO_T}not found" >&6; }
9563 else
9564 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9565 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9567 cat >>confdefs.h <<_ACEOF
9568 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9569 _ACEOF
9576 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9577 then
9578 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9579 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 else
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9585 cat >conftest.$ac_ext <<_ACEOF
9586 /* confdefs.h. */
9587 _ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char XShmQueryExtension ();
9600 main ()
9602 return XShmQueryExtension ();
9604 return 0;
9606 _ACEOF
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (ac_try="$ac_link"
9609 case "(($ac_try" in
9610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;;
9612 esac
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9615 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest$ac_exeext &&
9624 $as_test_x conftest$ac_exeext; then
9625 ac_cv_lib_Xext_XShmQueryExtension=yes
9626 else
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.$ac_ext >&5
9630 ac_cv_lib_Xext_XShmQueryExtension=no
9633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9634 conftest$ac_exeext conftest.$ac_ext
9635 LIBS=$ac_check_lib_save_LIBS
9637 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9638 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9639 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9641 cat >>confdefs.h <<\_ACEOF
9642 #define HAVE_LIBXXSHM 1
9643 _ACEOF
9648 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9649 wine_notices="$wine_notices|XShm development files not found.
9650 Wine will be built without XShm support. (winex11.drv)"
9654 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9655 then
9656 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9657 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9658 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 else
9661 ac_check_lib_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat >conftest.$ac_ext <<_ACEOF
9664 /* confdefs.h. */
9665 _ACEOF
9666 cat confdefs.h >>conftest.$ac_ext
9667 cat >>conftest.$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XShapeQueryExtension ();
9678 main ()
9680 return XShapeQueryExtension ();
9682 return 0;
9684 _ACEOF
9685 rm -f conftest.$ac_objext conftest$ac_exeext
9686 if { (ac_try="$ac_link"
9687 case "(($ac_try" in
9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9690 esac
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_link") 2>conftest.er1
9693 ac_status=$?
9694 grep -v '^ *+' conftest.er1 >conftest.err
9695 rm -f conftest.er1
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } && {
9699 test -z "$ac_c_werror_flag" ||
9700 test ! -s conftest.err
9701 } && test -s conftest$ac_exeext &&
9702 $as_test_x conftest$ac_exeext; then
9703 ac_cv_lib_Xext_XShapeQueryExtension=yes
9704 else
9705 echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.$ac_ext >&5
9708 ac_cv_lib_Xext_XShapeQueryExtension=no
9711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_lib_save_LIBS
9715 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9716 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9717 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9719 cat >>confdefs.h <<\_ACEOF
9720 #define HAVE_LIBXSHAPE 1
9721 _ACEOF
9726 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9727 wine_notices="$wine_notices|XShape development files not found.
9728 Wine will be built without XShape support. (winex11.drv)"
9732 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9733 then
9734 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9735 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9736 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 else
9739 ac_check_lib_save_LIBS=$LIBS
9740 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9741 cat >conftest.$ac_ext <<_ACEOF
9742 /* confdefs.h. */
9743 _ACEOF
9744 cat confdefs.h >>conftest.$ac_ext
9745 cat >>conftest.$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9748 /* Override any GCC internal prototype to avoid an error.
9749 Use char because int might match the return type of a GCC
9750 builtin and then its argument prototype would still apply. */
9751 #ifdef __cplusplus
9752 extern "C"
9753 #endif
9754 char XF86VidModeQueryExtension ();
9756 main ()
9758 return XF86VidModeQueryExtension ();
9760 return 0;
9762 _ACEOF
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (ac_try="$ac_link"
9765 case "(($ac_try" in
9766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9767 *) ac_try_echo=$ac_try;;
9768 esac
9769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9770 (eval "$ac_link") 2>conftest.er1
9771 ac_status=$?
9772 grep -v '^ *+' conftest.er1 >conftest.err
9773 rm -f conftest.er1
9774 cat conftest.err >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); } && {
9777 test -z "$ac_c_werror_flag" ||
9778 test ! -s conftest.err
9779 } && test -s conftest$ac_exeext &&
9780 $as_test_x conftest$ac_exeext; then
9781 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9782 else
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.$ac_ext >&5
9786 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9790 conftest$ac_exeext conftest.$ac_ext
9791 LIBS=$ac_check_lib_save_LIBS
9793 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9794 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9795 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9797 cat >>confdefs.h <<\_ACEOF
9798 #define HAVE_LIBXXF86VM 1
9799 _ACEOF
9801 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9806 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9807 wine_notices="$wine_notices|Xxf86vm development files not found.
9808 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9812 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"
9813 then
9814 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9815 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9816 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 else
9819 ac_check_soname_save_LIBS=$LIBS
9820 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9821 cat >conftest.$ac_ext <<_ACEOF
9822 /* confdefs.h. */
9823 _ACEOF
9824 cat confdefs.h >>conftest.$ac_ext
9825 cat >>conftest.$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XRenderQueryExtension ();
9836 main ()
9838 return XRenderQueryExtension ();
9840 return 0;
9842 _ACEOF
9843 rm -f conftest.$ac_objext conftest$ac_exeext
9844 if { (ac_try="$ac_link"
9845 case "(($ac_try" in
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9848 esac
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_link") 2>conftest.er1
9851 ac_status=$?
9852 grep -v '^ *+' conftest.er1 >conftest.err
9853 rm -f conftest.er1
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } && {
9857 test -z "$ac_c_werror_flag" ||
9858 test ! -s conftest.err
9859 } && test -s conftest$ac_exeext &&
9860 $as_test_x conftest$ac_exeext; then
9861 case "$LIBEXT" in
9862 dll) ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9865 esac
9866 else
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LIBS=$ac_check_soname_save_LIBS
9877 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9878 { echo "$as_me:$LINENO: result: not found" >&5
9879 echo "${ECHO_T}not found" >&6; }
9881 else
9882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9883 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9885 cat >>confdefs.h <<_ACEOF
9886 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9887 _ACEOF
9889 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9890 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9891 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9892 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 else
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9896 cat >conftest.$ac_ext <<_ACEOF
9897 /* confdefs.h. */
9898 _ACEOF
9899 cat confdefs.h >>conftest.$ac_ext
9900 cat >>conftest.$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9906 #ifdef __cplusplus
9907 extern "C"
9908 #endif
9909 char XRenderSetPictureTransform ();
9911 main ()
9913 return XRenderSetPictureTransform ();
9915 return 0;
9917 _ACEOF
9918 rm -f conftest.$ac_objext conftest$ac_exeext
9919 if { (ac_try="$ac_link"
9920 case "(($ac_try" in
9921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9922 *) ac_try_echo=$ac_try;;
9923 esac
9924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_link") 2>conftest.er1
9926 ac_status=$?
9927 grep -v '^ *+' conftest.er1 >conftest.err
9928 rm -f conftest.er1
9929 cat conftest.err >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && {
9932 test -z "$ac_c_werror_flag" ||
9933 test ! -s conftest.err
9934 } && test -s conftest$ac_exeext &&
9935 $as_test_x conftest$ac_exeext; then
9936 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9937 else
9938 echo "$as_me: failed program was:" >&5
9939 sed 's/^/| /' conftest.$ac_ext >&5
9941 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_lib_save_LIBS
9948 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9949 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9950 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9952 cat >>confdefs.h <<\_ACEOF
9953 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9954 _ACEOF
9962 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9963 wine_notices="$wine_notices|XRender development files not found.
9964 Wine will be built without XRender support. (winex11.drv)"
9968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9969 then
9970 cat >conftest.$ac_ext <<_ACEOF
9971 /* confdefs.h. */
9972 _ACEOF
9973 cat confdefs.h >>conftest.$ac_ext
9974 cat >>conftest.$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9976 #include <X11/Xlib.h>
9977 #include <X11/extensions/Xrandr.h>
9979 main ()
9981 static typeof(XRRSetScreenConfigAndRate) * func;
9983 return 0;
9985 _ACEOF
9986 rm -f conftest.$ac_objext
9987 if { (ac_try="$ac_compile"
9988 case "(($ac_try" in
9989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9990 *) ac_try_echo=$ac_try;;
9991 esac
9992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9993 (eval "$ac_compile") 2>conftest.er1
9994 ac_status=$?
9995 grep -v '^ *+' conftest.er1 >conftest.err
9996 rm -f conftest.er1
9997 cat conftest.err >&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); } && {
10000 test -z "$ac_c_werror_flag" ||
10001 test ! -s conftest.err
10002 } && test -s conftest.$ac_objext; then
10003 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10004 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10005 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else
10008 ac_check_soname_save_LIBS=$LIBS
10009 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10010 cat >conftest.$ac_ext <<_ACEOF
10011 /* confdefs.h. */
10012 _ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XRRQueryExtension ();
10025 main ()
10027 return XRRQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10037 esac
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_link") 2>conftest.er1
10040 ac_status=$?
10041 grep -v '^ *+' conftest.er1 >conftest.err
10042 rm -f conftest.er1
10043 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && {
10046 test -z "$ac_c_werror_flag" ||
10047 test ! -s conftest.err
10048 } && test -s conftest$ac_exeext &&
10049 $as_test_x conftest$ac_exeext; then
10050 case "$LIBEXT" in
10051 dll) ;;
10052 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'` ;;
10053 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10054 esac
10055 else
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.$ac_ext >&5
10062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10063 conftest$ac_exeext conftest.$ac_ext
10064 LIBS=$ac_check_soname_save_LIBS
10066 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10067 { echo "$as_me:$LINENO: result: not found" >&5
10068 echo "${ECHO_T}not found" >&6; }
10070 else
10071 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10072 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10074 cat >>confdefs.h <<_ACEOF
10075 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10076 _ACEOF
10081 else
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.$ac_ext >&5
10088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10090 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10091 wine_notices="$wine_notices|XRandr development files not found.
10092 Wine will be built without XRandr support. (winex11.drv)"
10096 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10097 then
10098 cat >conftest.$ac_ext <<_ACEOF
10099 /* confdefs.h. */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 #include <X11/Xlib.h>
10105 #include <X11/extensions/Xinerama.h>
10107 main ()
10109 static typeof(XineramaQueryScreens) * func;
10111 return 0;
10113 _ACEOF
10114 rm -f conftest.$ac_objext
10115 if { (ac_try="$ac_compile"
10116 case "(($ac_try" in
10117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10118 *) ac_try_echo=$ac_try;;
10119 esac
10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10121 (eval "$ac_compile") 2>conftest.er1
10122 ac_status=$?
10123 grep -v '^ *+' conftest.er1 >conftest.err
10124 rm -f conftest.er1
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } && {
10128 test -z "$ac_c_werror_flag" ||
10129 test ! -s conftest.err
10130 } && test -s conftest.$ac_objext; then
10131 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10132 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10133 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 ac_check_soname_save_LIBS=$LIBS
10137 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10138 cat >conftest.$ac_ext <<_ACEOF
10139 /* confdefs.h. */
10140 _ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10148 #ifdef __cplusplus
10149 extern "C"
10150 #endif
10151 char XineramaQueryScreens ();
10153 main ()
10155 return XineramaQueryScreens ();
10157 return 0;
10159 _ACEOF
10160 rm -f conftest.$ac_objext conftest$ac_exeext
10161 if { (ac_try="$ac_link"
10162 case "(($ac_try" in
10163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10164 *) ac_try_echo=$ac_try;;
10165 esac
10166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10167 (eval "$ac_link") 2>conftest.er1
10168 ac_status=$?
10169 grep -v '^ *+' conftest.er1 >conftest.err
10170 rm -f conftest.er1
10171 cat conftest.err >&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); } && {
10174 test -z "$ac_c_werror_flag" ||
10175 test ! -s conftest.err
10176 } && test -s conftest$ac_exeext &&
10177 $as_test_x conftest$ac_exeext; then
10178 case "$LIBEXT" in
10179 dll) ;;
10180 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'` ;;
10181 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10182 esac
10183 else
10184 echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.$ac_ext >&5
10190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_soname_save_LIBS
10194 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10195 { echo "$as_me:$LINENO: result: not found" >&5
10196 echo "${ECHO_T}not found" >&6; }
10198 else
10199 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10200 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10202 cat >>confdefs.h <<_ACEOF
10203 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10204 _ACEOF
10209 else
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10218 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10219 wine_notices="$wine_notices|Xinerama development files not found.
10220 Wine will be built without Xinerama support. (winex11.drv)"
10225 if test "x$with_opengl" != "xno"
10226 then
10231 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10234 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 else
10239 cat >conftest.$ac_ext <<_ACEOF
10240 /* confdefs.h. */
10241 _ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #ifdef HAVE_GL_GLX_H
10246 # include <GL/glx.h>
10247 #endif
10249 #include <$ac_header>
10250 _ACEOF
10251 rm -f conftest.$ac_objext
10252 if { (ac_try="$ac_compile"
10253 case "(($ac_try" in
10254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10255 *) ac_try_echo=$ac_try;;
10256 esac
10257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10258 (eval "$ac_compile") 2>conftest.er1
10259 ac_status=$?
10260 grep -v '^ *+' conftest.er1 >conftest.err
10261 rm -f conftest.er1
10262 cat conftest.err >&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } && {
10265 test -z "$ac_c_werror_flag" ||
10266 test ! -s conftest.err
10267 } && test -s conftest.$ac_objext; then
10268 eval "$as_ac_Header=yes"
10269 else
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.$ac_ext >&5
10273 eval "$as_ac_Header=no"
10276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10278 ac_res=`eval echo '${'$as_ac_Header'}'`
10279 { echo "$as_me:$LINENO: result: $ac_res" >&5
10280 echo "${ECHO_T}$ac_res" >&6; }
10281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10282 cat >>confdefs.h <<_ACEOF
10283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10284 _ACEOF
10288 done
10290 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10291 then
10292 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10293 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10294 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 else
10297 cat >conftest.$ac_ext <<_ACEOF
10298 /* confdefs.h. */
10299 _ACEOF
10300 cat confdefs.h >>conftest.$ac_ext
10301 cat >>conftest.$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10303 #include <GL/gl.h>
10305 main ()
10307 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10309 return 0;
10311 _ACEOF
10312 rm -f conftest.$ac_objext
10313 if { (ac_try="$ac_compile"
10314 case "(($ac_try" in
10315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10316 *) ac_try_echo=$ac_try;;
10317 esac
10318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10319 (eval "$ac_compile") 2>conftest.er1
10320 ac_status=$?
10321 grep -v '^ *+' conftest.er1 >conftest.err
10322 rm -f conftest.er1
10323 cat conftest.err >&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } && {
10326 test -z "$ac_c_werror_flag" ||
10327 test ! -s conftest.err
10328 } && test -s conftest.$ac_objext; then
10329 wine_cv_opengl_header_version_OK="yes"
10330 else
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.$ac_ext >&5
10334 wine_cv_opengl_header_version_OK="no"
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10339 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10340 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10342 if test "$wine_cv_opengl_header_version_OK" = "yes"
10343 then
10344 { echo "$as_me:$LINENO: checking for -lGL" >&5
10345 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10346 if test "${ac_cv_lib_soname_GL+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 else
10349 ac_check_soname_save_LIBS=$LIBS
10350 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10351 cat >conftest.$ac_ext <<_ACEOF
10352 /* confdefs.h. */
10353 _ACEOF
10354 cat confdefs.h >>conftest.$ac_ext
10355 cat >>conftest.$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10361 #ifdef __cplusplus
10362 extern "C"
10363 #endif
10364 char glXCreateContext ();
10366 main ()
10368 return glXCreateContext ();
10370 return 0;
10372 _ACEOF
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (ac_try="$ac_link"
10375 case "(($ac_try" in
10376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10377 *) ac_try_echo=$ac_try;;
10378 esac
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_link") 2>conftest.er1
10381 ac_status=$?
10382 grep -v '^ *+' conftest.er1 >conftest.err
10383 rm -f conftest.er1
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest$ac_exeext &&
10390 $as_test_x conftest$ac_exeext; then
10391 case "$LIBEXT" in
10392 dll) ;;
10393 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'` ;;
10394 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10395 esac
10396 else
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if test "x$ac_cv_lib_soname_GL" = "x"; then
10408 { echo "$as_me:$LINENO: result: not found" >&5
10409 echo "${ECHO_T}not found" >&6; }
10410 if test -f /usr/X11R6/lib/libGL.a
10411 then
10412 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10413 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10414 else
10415 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10416 Wine will be build without OpenGL or Direct3D support."
10418 else
10419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10420 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10422 cat >>confdefs.h <<_ACEOF
10423 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10424 _ACEOF
10426 OPENGL_LIBS="-lGL"
10427 OPENGLFILES='$(OPENGLFILES)'
10429 cat >>confdefs.h <<\_ACEOF
10430 #define HAVE_OPENGL 1
10431 _ACEOF
10436 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10437 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10438 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 else
10441 ac_check_lib_save_LIBS=$LIBS
10442 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10443 cat >conftest.$ac_ext <<_ACEOF
10444 /* confdefs.h. */
10445 _ACEOF
10446 cat confdefs.h >>conftest.$ac_ext
10447 cat >>conftest.$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 char gluLookAt ();
10458 main ()
10460 return gluLookAt ();
10462 return 0;
10464 _ACEOF
10465 rm -f conftest.$ac_objext conftest$ac_exeext
10466 if { (ac_try="$ac_link"
10467 case "(($ac_try" in
10468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10469 *) ac_try_echo=$ac_try;;
10470 esac
10471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10472 (eval "$ac_link") 2>conftest.er1
10473 ac_status=$?
10474 grep -v '^ *+' conftest.er1 >conftest.err
10475 rm -f conftest.er1
10476 cat conftest.err >&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } && {
10479 test -z "$ac_c_werror_flag" ||
10480 test ! -s conftest.err
10481 } && test -s conftest$ac_exeext &&
10482 $as_test_x conftest$ac_exeext; then
10483 ac_cv_lib_GLU_gluLookAt=yes
10484 else
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.$ac_ext >&5
10488 ac_cv_lib_GLU_gluLookAt=no
10491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_lib_save_LIBS
10495 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10496 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10497 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10498 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10499 GLU32FILES='$(GLU32FILES)'
10503 else
10504 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10505 Wine will be build without OpenGL or Direct3D support."
10507 else
10508 wine_warnings="$wine_warnings|OpenGL development headers not found.
10509 Wine will be build without OpenGL or Direct3D support."
10513 NASLIBS=""
10516 for ac_header in audio/audiolib.h
10518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 ac_res=`eval echo '${'$as_ac_Header'}'`
10526 { echo "$as_me:$LINENO: result: $ac_res" >&5
10527 echo "${ECHO_T}$ac_res" >&6; }
10528 else
10529 # Is the header compilable?
10530 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10532 cat >conftest.$ac_ext <<_ACEOF
10533 /* confdefs.h. */
10534 _ACEOF
10535 cat confdefs.h >>conftest.$ac_ext
10536 cat >>conftest.$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10538 $ac_includes_default
10539 #include <$ac_header>
10540 _ACEOF
10541 rm -f conftest.$ac_objext
10542 if { (ac_try="$ac_compile"
10543 case "(($ac_try" in
10544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10545 *) ac_try_echo=$ac_try;;
10546 esac
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_compile") 2>conftest.er1
10549 ac_status=$?
10550 grep -v '^ *+' conftest.er1 >conftest.err
10551 rm -f conftest.er1
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest.$ac_objext; then
10558 ac_header_compiler=yes
10559 else
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.$ac_ext >&5
10563 ac_header_compiler=no
10566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10568 echo "${ECHO_T}$ac_header_compiler" >&6; }
10570 # Is the header present?
10571 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10573 cat >conftest.$ac_ext <<_ACEOF
10574 /* confdefs.h. */
10575 _ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 #include <$ac_header>
10580 _ACEOF
10581 if { (ac_try="$ac_cpp conftest.$ac_ext"
10582 case "(($ac_try" in
10583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10584 *) ac_try_echo=$ac_try;;
10585 esac
10586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10588 ac_status=$?
10589 grep -v '^ *+' conftest.er1 >conftest.err
10590 rm -f conftest.er1
10591 cat conftest.err >&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } >/dev/null && {
10594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10595 test ! -s conftest.err
10596 }; then
10597 ac_header_preproc=yes
10598 else
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.$ac_ext >&5
10602 ac_header_preproc=no
10605 rm -f conftest.err conftest.$ac_ext
10606 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10607 echo "${ECHO_T}$ac_header_preproc" >&6; }
10609 # So? What about this header?
10610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10611 yes:no: )
10612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10616 ac_header_preproc=yes
10618 no:yes:* )
10619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10631 ( cat <<\_ASBOX
10632 ## ------------------------------------ ##
10633 ## Report this to wine-devel@winehq.org ##
10634 ## ------------------------------------ ##
10635 _ASBOX
10636 ) | sed "s/^/$as_me: WARNING: /" >&2
10638 esac
10639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 else
10644 eval "$as_ac_Header=\$ac_header_preproc"
10646 ac_res=`eval echo '${'$as_ac_Header'}'`
10647 { echo "$as_me:$LINENO: result: $ac_res" >&5
10648 echo "${ECHO_T}$ac_res" >&6; }
10651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10652 cat >>confdefs.h <<_ACEOF
10653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10654 _ACEOF
10656 for ac_header in audio/soundlib.h
10658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 else
10664 cat >conftest.$ac_ext <<_ACEOF
10665 /* confdefs.h. */
10666 _ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10670 #include <audio/audiolib.h>
10672 #include <$ac_header>
10673 _ACEOF
10674 rm -f conftest.$ac_objext
10675 if { (ac_try="$ac_compile"
10676 case "(($ac_try" in
10677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10678 *) ac_try_echo=$ac_try;;
10679 esac
10680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10681 (eval "$ac_compile") 2>conftest.er1
10682 ac_status=$?
10683 grep -v '^ *+' conftest.er1 >conftest.err
10684 rm -f conftest.er1
10685 cat conftest.err >&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } && {
10688 test -z "$ac_c_werror_flag" ||
10689 test ! -s conftest.err
10690 } && test -s conftest.$ac_objext; then
10691 eval "$as_ac_Header=yes"
10692 else
10693 echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10696 eval "$as_ac_Header=no"
10699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10701 ac_res=`eval echo '${'$as_ac_Header'}'`
10702 { echo "$as_me:$LINENO: result: $ac_res" >&5
10703 echo "${ECHO_T}$ac_res" >&6; }
10704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10705 cat >>confdefs.h <<_ACEOF
10706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10707 _ACEOF
10711 done
10713 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10714 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10715 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 else
10718 ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10720 cat >conftest.$ac_ext <<_ACEOF
10721 /* confdefs.h. */
10722 _ACEOF
10723 cat confdefs.h >>conftest.$ac_ext
10724 cat >>conftest.$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char AuCreateFlow ();
10735 main ()
10737 return AuCreateFlow ();
10739 return 0;
10741 _ACEOF
10742 rm -f conftest.$ac_objext conftest$ac_exeext
10743 if { (ac_try="$ac_link"
10744 case "(($ac_try" in
10745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10746 *) ac_try_echo=$ac_try;;
10747 esac
10748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10749 (eval "$ac_link") 2>conftest.er1
10750 ac_status=$?
10751 grep -v '^ *+' conftest.er1 >conftest.err
10752 rm -f conftest.er1
10753 cat conftest.err >&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } && {
10756 test -z "$ac_c_werror_flag" ||
10757 test ! -s conftest.err
10758 } && test -s conftest$ac_exeext &&
10759 $as_test_x conftest$ac_exeext; then
10760 ac_cv_lib_audio_AuCreateFlow=yes
10761 else
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.$ac_ext >&5
10765 ac_cv_lib_audio_AuCreateFlow=no
10768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10773 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10774 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10776 cat >>confdefs.h <<\_ACEOF
10777 #define HAVE_NAS 1
10778 _ACEOF
10780 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10781 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10782 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 else
10785 ac_check_lib_save_LIBS=$LIBS
10786 LIBS="-lXau $X_LIBS $LIBS"
10787 cat >conftest.$ac_ext <<_ACEOF
10788 /* confdefs.h. */
10789 _ACEOF
10790 cat confdefs.h >>conftest.$ac_ext
10791 cat >>conftest.$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char XauGetBestAuthByAddr ();
10802 main ()
10804 return XauGetBestAuthByAddr ();
10806 return 0;
10808 _ACEOF
10809 rm -f conftest.$ac_objext conftest$ac_exeext
10810 if { (ac_try="$ac_link"
10811 case "(($ac_try" in
10812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10813 *) ac_try_echo=$ac_try;;
10814 esac
10815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10816 (eval "$ac_link") 2>conftest.er1
10817 ac_status=$?
10818 grep -v '^ *+' conftest.er1 >conftest.err
10819 rm -f conftest.er1
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } && {
10823 test -z "$ac_c_werror_flag" ||
10824 test ! -s conftest.err
10825 } && test -s conftest$ac_exeext &&
10826 $as_test_x conftest$ac_exeext; then
10827 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10828 else
10829 echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10832 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS=$ac_check_lib_save_LIBS
10839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10840 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10841 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10842 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10843 else
10844 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10852 done
10855 CPPFLAGS="$ac_save_CPPFLAGS"
10856 XFILES='$(XFILES)'
10857 else
10858 XLIB=""
10859 X_CFLAGS=""
10860 X_LIBS=""
10861 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10862 without X support, which probably isn't what you want. You will need to install
10863 development packages of Xlib/Xfree86 at the very least."
10867 XML2LIBS=""
10869 XML2INCL=""
10871 XSLTLIBS=""
10873 XSLTINCL=""
10875 ac_save_CPPFLAGS="$CPPFLAGS"
10876 if test "$PKG_CONFIG" != "false"
10877 then
10878 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10879 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10880 else
10881 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10882 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10884 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10886 for ac_header in libxml/parser.h
10888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10895 ac_res=`eval echo '${'$as_ac_Header'}'`
10896 { echo "$as_me:$LINENO: result: $ac_res" >&5
10897 echo "${ECHO_T}$ac_res" >&6; }
10898 else
10899 # Is the header compilable?
10900 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10902 cat >conftest.$ac_ext <<_ACEOF
10903 /* confdefs.h. */
10904 _ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10908 $ac_includes_default
10909 #include <$ac_header>
10910 _ACEOF
10911 rm -f conftest.$ac_objext
10912 if { (ac_try="$ac_compile"
10913 case "(($ac_try" in
10914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10915 *) ac_try_echo=$ac_try;;
10916 esac
10917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10918 (eval "$ac_compile") 2>conftest.er1
10919 ac_status=$?
10920 grep -v '^ *+' conftest.er1 >conftest.err
10921 rm -f conftest.er1
10922 cat conftest.err >&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } && {
10925 test -z "$ac_c_werror_flag" ||
10926 test ! -s conftest.err
10927 } && test -s conftest.$ac_objext; then
10928 ac_header_compiler=yes
10929 else
10930 echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.$ac_ext >&5
10933 ac_header_compiler=no
10936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10938 echo "${ECHO_T}$ac_header_compiler" >&6; }
10940 # Is the header present?
10941 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10943 cat >conftest.$ac_ext <<_ACEOF
10944 /* confdefs.h. */
10945 _ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10949 #include <$ac_header>
10950 _ACEOF
10951 if { (ac_try="$ac_cpp conftest.$ac_ext"
10952 case "(($ac_try" in
10953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10954 *) ac_try_echo=$ac_try;;
10955 esac
10956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10958 ac_status=$?
10959 grep -v '^ *+' conftest.er1 >conftest.err
10960 rm -f conftest.er1
10961 cat conftest.err >&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } >/dev/null && {
10964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10965 test ! -s conftest.err
10966 }; then
10967 ac_header_preproc=yes
10968 else
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_header_preproc=no
10975 rm -f conftest.err conftest.$ac_ext
10976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10977 echo "${ECHO_T}$ac_header_preproc" >&6; }
10979 # So? What about this header?
10980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10981 yes:no: )
10982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10986 ac_header_preproc=yes
10988 no:yes:* )
10989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11001 ( cat <<\_ASBOX
11002 ## ------------------------------------ ##
11003 ## Report this to wine-devel@winehq.org ##
11004 ## ------------------------------------ ##
11005 _ASBOX
11006 ) | sed "s/^/$as_me: WARNING: /" >&2
11008 esac
11009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11013 else
11014 eval "$as_ac_Header=\$ac_header_preproc"
11016 ac_res=`eval echo '${'$as_ac_Header'}'`
11017 { echo "$as_me:$LINENO: result: $ac_res" >&5
11018 echo "${ECHO_T}$ac_res" >&6; }
11021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11022 cat >>confdefs.h <<_ACEOF
11023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11024 _ACEOF
11025 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11026 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11027 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 else
11030 ac_check_lib_save_LIBS=$LIBS
11031 LIBS="-lxml2 $ac_xml_libs $LIBS"
11032 cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h. */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11042 #ifdef __cplusplus
11043 extern "C"
11044 #endif
11045 char xmlParseMemory ();
11047 main ()
11049 return xmlParseMemory ();
11051 return 0;
11053 _ACEOF
11054 rm -f conftest.$ac_objext conftest$ac_exeext
11055 if { (ac_try="$ac_link"
11056 case "(($ac_try" in
11057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11058 *) ac_try_echo=$ac_try;;
11059 esac
11060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_link") 2>conftest.er1
11062 ac_status=$?
11063 grep -v '^ *+' conftest.er1 >conftest.err
11064 rm -f conftest.er1
11065 cat conftest.err >&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } && {
11068 test -z "$ac_c_werror_flag" ||
11069 test ! -s conftest.err
11070 } && test -s conftest$ac_exeext &&
11071 $as_test_x conftest$ac_exeext; then
11072 ac_cv_lib_xml2_xmlParseMemory=yes
11073 else
11074 echo "$as_me: failed program was:" >&5
11075 sed 's/^/| /' conftest.$ac_ext >&5
11077 ac_cv_lib_xml2_xmlParseMemory=no
11080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_lib_save_LIBS
11084 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11085 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11086 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11088 cat >>confdefs.h <<\_ACEOF
11089 #define HAVE_LIBXML2 1
11090 _ACEOF
11092 XML2LIBS="$ac_xml_libs"
11093 XML2INCL="$ac_xml_cflags"
11096 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11097 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11098 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $ac_xml_libs $LIBS"
11103 cat >conftest.$ac_ext <<_ACEOF
11104 /* confdefs.h. */
11105 _ACEOF
11106 cat confdefs.h >>conftest.$ac_ext
11107 cat >>conftest.$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char xmlReadMemory ();
11118 main ()
11120 return xmlReadMemory ();
11122 return 0;
11124 _ACEOF
11125 rm -f conftest.$ac_objext conftest$ac_exeext
11126 if { (ac_try="$ac_link"
11127 case "(($ac_try" in
11128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11129 *) ac_try_echo=$ac_try;;
11130 esac
11131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 (eval "$ac_link") 2>conftest.er1
11133 ac_status=$?
11134 grep -v '^ *+' conftest.er1 >conftest.err
11135 rm -f conftest.er1
11136 cat conftest.err >&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && {
11139 test -z "$ac_c_werror_flag" ||
11140 test ! -s conftest.err
11141 } && test -s conftest$ac_exeext &&
11142 $as_test_x conftest$ac_exeext; then
11143 ac_cv_lib_xml2_xmlReadMemory=yes
11144 else
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 ac_cv_lib_xml2_xmlReadMemory=no
11151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_lib_save_LIBS
11155 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11156 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11157 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11159 cat >>confdefs.h <<\_ACEOF
11160 #define HAVE_XMLREADMEMORY 1
11161 _ACEOF
11165 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11166 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11167 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-lxml2 $ac_xml_libs $LIBS"
11172 cat >conftest.$ac_ext <<_ACEOF
11173 /* confdefs.h. */
11174 _ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char xmlNewDocPI ();
11187 main ()
11189 return xmlNewDocPI ();
11191 return 0;
11193 _ACEOF
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (ac_try="$ac_link"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11199 esac
11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_link") 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest$ac_exeext &&
11211 $as_test_x conftest$ac_exeext; then
11212 ac_cv_lib_xml2_xmlNewDocPI=yes
11213 else
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_cv_lib_xml2_xmlNewDocPI=no
11220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11225 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11226 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11228 cat >>confdefs.h <<\_ACEOF
11229 #define HAVE_XMLNEWDOCPI 1
11230 _ACEOF
11237 done
11239 CPPFLAGS="$ac_save_CPPFLAGS"
11240 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11241 wine_notices="$wine_notices|libxml2 development files not found.
11242 Wine will be built without XML support. (msxml.dll)"
11246 if test "$PKG_CONFIG" != "false"
11247 then
11248 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11249 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11250 else
11251 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11252 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11254 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11257 for ac_header in libxslt/pattern.h libxslt/transform.h
11259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 else
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 #ifdef HAVE_LIBXSLT_PATTERN_H
11272 # include <libxslt/pattern.h>
11273 #endif
11275 #include <$ac_header>
11276 _ACEOF
11277 rm -f conftest.$ac_objext
11278 if { (ac_try="$ac_compile"
11279 case "(($ac_try" in
11280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11281 *) ac_try_echo=$ac_try;;
11282 esac
11283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11284 (eval "$ac_compile") 2>conftest.er1
11285 ac_status=$?
11286 grep -v '^ *+' conftest.er1 >conftest.err
11287 rm -f conftest.er1
11288 cat conftest.err >&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } && {
11291 test -z "$ac_c_werror_flag" ||
11292 test ! -s conftest.err
11293 } && test -s conftest.$ac_objext; then
11294 eval "$as_ac_Header=yes"
11295 else
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.$ac_ext >&5
11299 eval "$as_ac_Header=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11304 ac_res=`eval echo '${'$as_ac_Header'}'`
11305 { echo "$as_me:$LINENO: result: $ac_res" >&5
11306 echo "${ECHO_T}$ac_res" >&6; }
11307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11308 cat >>confdefs.h <<_ACEOF
11309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11310 _ACEOF
11311 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11312 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11313 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316 ac_check_lib_save_LIBS=$LIBS
11317 LIBS="-lxslt $ac_xslt_libs $LIBS"
11318 cat >conftest.$ac_ext <<_ACEOF
11319 /* confdefs.h. */
11320 _ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char xsltCompilePattern ();
11333 main ()
11335 return xsltCompilePattern ();
11337 return 0;
11339 _ACEOF
11340 rm -f conftest.$ac_objext conftest$ac_exeext
11341 if { (ac_try="$ac_link"
11342 case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11345 esac
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_link") 2>conftest.er1
11348 ac_status=$?
11349 grep -v '^ *+' conftest.er1 >conftest.err
11350 rm -f conftest.er1
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err
11356 } && test -s conftest$ac_exeext &&
11357 $as_test_x conftest$ac_exeext; then
11358 ac_cv_lib_xslt_xsltCompilePattern=yes
11359 else
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11363 ac_cv_lib_xslt_xsltCompilePattern=no
11366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11371 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11372 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11374 cat >>confdefs.h <<\_ACEOF
11375 #define HAVE_LIBXSLT 1
11376 _ACEOF
11378 XSLTLIBS="$ac_xslt_libs"
11379 XSLTINCL="$ac_xslt_cflags"
11385 done
11387 CPPFLAGS="$ac_save_CPPFLAGS"
11388 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11389 wine_notices="$wine_notices|libxslt development files not found.
11390 Wine will be built without xslt support. (msxml.dll)"
11394 HALINCL=""
11396 if test "$PKG_CONFIG" != "false"
11397 then
11398 ac_save_CPPFLAGS="$CPPFLAGS"
11399 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11400 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11401 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11404 for ac_header in dbus/dbus.h hal/libhal.h
11406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11408 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 ac_res=`eval echo '${'$as_ac_Header'}'`
11414 { echo "$as_me:$LINENO: result: $ac_res" >&5
11415 echo "${ECHO_T}$ac_res" >&6; }
11416 else
11417 # Is the header compilable?
11418 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 $ac_includes_default
11427 #include <$ac_header>
11428 _ACEOF
11429 rm -f conftest.$ac_objext
11430 if { (ac_try="$ac_compile"
11431 case "(($ac_try" in
11432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11433 *) ac_try_echo=$ac_try;;
11434 esac
11435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11436 (eval "$ac_compile") 2>conftest.er1
11437 ac_status=$?
11438 grep -v '^ *+' conftest.er1 >conftest.err
11439 rm -f conftest.er1
11440 cat conftest.err >&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } && {
11443 test -z "$ac_c_werror_flag" ||
11444 test ! -s conftest.err
11445 } && test -s conftest.$ac_objext; then
11446 ac_header_compiler=yes
11447 else
11448 echo "$as_me: failed program was:" >&5
11449 sed 's/^/| /' conftest.$ac_ext >&5
11451 ac_header_compiler=no
11454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11455 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11456 echo "${ECHO_T}$ac_header_compiler" >&6; }
11458 # Is the header present?
11459 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11461 cat >conftest.$ac_ext <<_ACEOF
11462 /* confdefs.h. */
11463 _ACEOF
11464 cat confdefs.h >>conftest.$ac_ext
11465 cat >>conftest.$ac_ext <<_ACEOF
11466 /* end confdefs.h. */
11467 #include <$ac_header>
11468 _ACEOF
11469 if { (ac_try="$ac_cpp conftest.$ac_ext"
11470 case "(($ac_try" in
11471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11472 *) ac_try_echo=$ac_try;;
11473 esac
11474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11475 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11476 ac_status=$?
11477 grep -v '^ *+' conftest.er1 >conftest.err
11478 rm -f conftest.er1
11479 cat conftest.err >&5
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); } >/dev/null && {
11482 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11483 test ! -s conftest.err
11484 }; then
11485 ac_header_preproc=yes
11486 else
11487 echo "$as_me: failed program was:" >&5
11488 sed 's/^/| /' conftest.$ac_ext >&5
11490 ac_header_preproc=no
11493 rm -f conftest.err conftest.$ac_ext
11494 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11495 echo "${ECHO_T}$ac_header_preproc" >&6; }
11497 # So? What about this header?
11498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11499 yes:no: )
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11504 ac_header_preproc=yes
11506 no:yes:* )
11507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11519 ( cat <<\_ASBOX
11520 ## ------------------------------------ ##
11521 ## Report this to wine-devel@winehq.org ##
11522 ## ------------------------------------ ##
11523 _ASBOX
11524 ) | sed "s/^/$as_me: WARNING: /" >&2
11526 esac
11527 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11529 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11531 else
11532 eval "$as_ac_Header=\$ac_header_preproc"
11534 ac_res=`eval echo '${'$as_ac_Header'}'`
11535 { echo "$as_me:$LINENO: result: $ac_res" >&5
11536 echo "${ECHO_T}$ac_res" >&6; }
11539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11540 cat >>confdefs.h <<_ACEOF
11541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11542 _ACEOF
11546 done
11548 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11549 then
11550 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11551 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11552 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 else
11555 ac_check_lib_save_LIBS=$LIBS
11556 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11557 cat >conftest.$ac_ext <<_ACEOF
11558 /* confdefs.h. */
11559 _ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char dbus_connection_close ();
11572 main ()
11574 return dbus_connection_close ();
11576 return 0;
11578 _ACEOF
11579 rm -f conftest.$ac_objext conftest$ac_exeext
11580 if { (ac_try="$ac_link"
11581 case "(($ac_try" in
11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11584 esac
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_link") 2>conftest.er1
11587 ac_status=$?
11588 grep -v '^ *+' conftest.er1 >conftest.err
11589 rm -f conftest.er1
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest$ac_exeext &&
11596 $as_test_x conftest$ac_exeext; then
11597 ac_cv_lib_dbus_1_dbus_connection_close=yes
11598 else
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 ac_cv_lib_dbus_1_dbus_connection_close=no
11605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_lib_save_LIBS
11609 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11610 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11611 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11612 { echo "$as_me:$LINENO: checking for -lhal" >&5
11613 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11614 if test "${ac_cv_lib_soname_hal+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 else
11617 ac_check_soname_save_LIBS=$LIBS
11618 LIBS="-lhal $ac_hal_libs $LIBS"
11619 cat >conftest.$ac_ext <<_ACEOF
11620 /* confdefs.h. */
11621 _ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char libhal_ctx_new ();
11634 main ()
11636 return libhal_ctx_new ();
11638 return 0;
11640 _ACEOF
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (ac_try="$ac_link"
11643 case "(($ac_try" in
11644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11645 *) ac_try_echo=$ac_try;;
11646 esac
11647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11648 (eval "$ac_link") 2>conftest.er1
11649 ac_status=$?
11650 grep -v '^ *+' conftest.er1 >conftest.err
11651 rm -f conftest.er1
11652 cat conftest.err >&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } && {
11655 test -z "$ac_c_werror_flag" ||
11656 test ! -s conftest.err
11657 } && test -s conftest$ac_exeext &&
11658 $as_test_x conftest$ac_exeext; then
11659 case "$LIBEXT" in
11660 dll) ;;
11661 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'` ;;
11662 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11663 esac
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11672 conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_soname_save_LIBS
11675 if test "x$ac_cv_lib_soname_hal" = "x"; then
11676 { echo "$as_me:$LINENO: result: not found" >&5
11677 echo "${ECHO_T}not found" >&6; }
11679 else
11680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11681 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11683 cat >>confdefs.h <<_ACEOF
11684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11685 _ACEOF
11687 HALINCL="$ac_hal_cflags"
11693 CPPFLAGS="$ac_save_CPPFLAGS"
11695 if test "x$ac_cv_lib_soname_hal" = "x"; then
11696 wine_notices="$wine_notices|libhal development files not found.
11697 Wine will be built without dynamic device support. (explorer.exe)"
11701 CURSESLIBS=""
11702 if test "$ac_cv_header_ncurses_h" = "yes"
11703 then
11704 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11705 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11706 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 else
11709 ac_check_soname_save_LIBS=$LIBS
11710 LIBS="-lncurses $LIBS"
11711 cat >conftest.$ac_ext <<_ACEOF
11712 /* confdefs.h. */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11721 #ifdef __cplusplus
11722 extern "C"
11723 #endif
11724 char waddch ();
11726 main ()
11728 return waddch ();
11730 return 0;
11732 _ACEOF
11733 rm -f conftest.$ac_objext conftest$ac_exeext
11734 if { (ac_try="$ac_link"
11735 case "(($ac_try" in
11736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11737 *) ac_try_echo=$ac_try;;
11738 esac
11739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11740 (eval "$ac_link") 2>conftest.er1
11741 ac_status=$?
11742 grep -v '^ *+' conftest.er1 >conftest.err
11743 rm -f conftest.er1
11744 cat conftest.err >&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } && {
11747 test -z "$ac_c_werror_flag" ||
11748 test ! -s conftest.err
11749 } && test -s conftest$ac_exeext &&
11750 $as_test_x conftest$ac_exeext; then
11751 case "$LIBEXT" in
11752 dll) ;;
11753 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'` ;;
11754 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11755 esac
11756 else
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_soname_save_LIBS
11767 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11768 { echo "$as_me:$LINENO: result: not found" >&5
11769 echo "${ECHO_T}not found" >&6; }
11771 else
11772 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11773 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11775 cat >>confdefs.h <<_ACEOF
11776 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11777 _ACEOF
11779 CURSESLIBS="-lncurses"
11782 elif test "$ac_cv_header_curses_h" = "yes"
11783 then
11784 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11785 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11786 if test "${ac_cv_lib_soname_curses+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 else
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-lcurses $LIBS"
11791 cat >conftest.$ac_ext <<_ACEOF
11792 /* confdefs.h. */
11793 _ACEOF
11794 cat confdefs.h >>conftest.$ac_ext
11795 cat >>conftest.$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char waddch ();
11806 main ()
11808 return waddch ();
11810 return 0;
11812 _ACEOF
11813 rm -f conftest.$ac_objext conftest$ac_exeext
11814 if { (ac_try="$ac_link"
11815 case "(($ac_try" in
11816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 *) ac_try_echo=$ac_try;;
11818 esac
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_link") 2>conftest.er1
11821 ac_status=$?
11822 grep -v '^ *+' conftest.er1 >conftest.err
11823 rm -f conftest.er1
11824 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } && {
11827 test -z "$ac_c_werror_flag" ||
11828 test ! -s conftest.err
11829 } && test -s conftest$ac_exeext &&
11830 $as_test_x conftest$ac_exeext; then
11831 case "$LIBEXT" in
11832 dll) ;;
11833 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'` ;;
11834 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11835 esac
11836 else
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_soname_save_LIBS
11847 if test "x$ac_cv_lib_soname_curses" = "x"; then
11848 { echo "$as_me:$LINENO: result: not found" >&5
11849 echo "${ECHO_T}not found" >&6; }
11851 else
11852 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11853 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11855 cat >>confdefs.h <<_ACEOF
11856 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11857 _ACEOF
11859 CURSESLIBS="-lcurses"
11863 ac_save_LIBS="$LIBS"
11864 LIBS="$LIBS $CURSESLIBS"
11866 for ac_func in mousemask
11868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 cat >conftest.$ac_ext <<_ACEOF
11875 /* confdefs.h. */
11876 _ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11882 #define $ac_func innocuous_$ac_func
11884 /* System header to define __stub macros and hopefully few prototypes,
11885 which can conflict with char $ac_func (); below.
11886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11887 <limits.h> exists even on freestanding compilers. */
11889 #ifdef __STDC__
11890 # include <limits.h>
11891 #else
11892 # include <assert.h>
11893 #endif
11895 #undef $ac_func
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char $ac_func ();
11904 /* The GNU C library defines this for functions which it implements
11905 to always fail with ENOSYS. Some functions are actually named
11906 something starting with __ and the normal name is an alias. */
11907 #if defined __stub_$ac_func || defined __stub___$ac_func
11908 choke me
11909 #endif
11912 main ()
11914 return $ac_func ();
11916 return 0;
11918 _ACEOF
11919 rm -f conftest.$ac_objext conftest$ac_exeext
11920 if { (ac_try="$ac_link"
11921 case "(($ac_try" in
11922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11924 esac
11925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11926 (eval "$ac_link") 2>conftest.er1
11927 ac_status=$?
11928 grep -v '^ *+' conftest.er1 >conftest.err
11929 rm -f conftest.er1
11930 cat conftest.err >&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } && {
11933 test -z "$ac_c_werror_flag" ||
11934 test ! -s conftest.err
11935 } && test -s conftest$ac_exeext &&
11936 $as_test_x conftest$ac_exeext; then
11937 eval "$as_ac_var=yes"
11938 else
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.$ac_ext >&5
11942 eval "$as_ac_var=no"
11945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11946 conftest$ac_exeext conftest.$ac_ext
11948 ac_res=`eval echo '${'$as_ac_var'}'`
11949 { echo "$as_me:$LINENO: result: $ac_res" >&5
11950 echo "${ECHO_T}$ac_res" >&6; }
11951 if test `eval echo '${'$as_ac_var'}'` = yes; then
11952 cat >>confdefs.h <<_ACEOF
11953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11954 _ACEOF
11957 done
11959 LIBS="$ac_save_LIBS"
11960 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11961 wine_notices="$wine_notices|lib(n)curses development files not found.
11962 Wine will be built without (n)curses support. (wineconsole.exe)"
11966 # Extract the first word of "sane-config", so it can be a program name with args.
11967 set dummy sane-config; ac_word=$2
11968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11970 if test "${ac_cv_prog_sane_devel+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 else
11973 if test -n "$sane_devel"; then
11974 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11975 else
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11979 IFS=$as_save_IFS
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_prog_sane_devel="sane-config"
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 break 2
11987 done
11988 done
11989 IFS=$as_save_IFS
11991 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11994 sane_devel=$ac_cv_prog_sane_devel
11995 if test -n "$sane_devel"; then
11996 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11997 echo "${ECHO_T}$sane_devel" >&6; }
11998 else
11999 { echo "$as_me:$LINENO: result: no" >&5
12000 echo "${ECHO_T}no" >&6; }
12004 if test "$sane_devel" != "no"
12005 then
12006 ac_sane_incl="`$sane_devel --cflags`"
12007 ac_save_CPPFLAGS="$CPPFLAGS"
12008 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12009 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12010 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12011 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12012 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12016 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12017 else
12018 # Is the header compilable?
12019 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12020 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12021 cat >conftest.$ac_ext <<_ACEOF
12022 /* confdefs.h. */
12023 _ACEOF
12024 cat confdefs.h >>conftest.$ac_ext
12025 cat >>conftest.$ac_ext <<_ACEOF
12026 /* end confdefs.h. */
12027 $ac_includes_default
12028 #include <sane/sane.h>
12029 _ACEOF
12030 rm -f conftest.$ac_objext
12031 if { (ac_try="$ac_compile"
12032 case "(($ac_try" in
12033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12034 *) ac_try_echo=$ac_try;;
12035 esac
12036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12037 (eval "$ac_compile") 2>conftest.er1
12038 ac_status=$?
12039 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1
12041 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && {
12044 test -z "$ac_c_werror_flag" ||
12045 test ! -s conftest.err
12046 } && test -s conftest.$ac_objext; then
12047 ac_header_compiler=yes
12048 else
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_header_compiler=no
12055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12057 echo "${ECHO_T}$ac_header_compiler" >&6; }
12059 # Is the header present?
12060 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12061 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h. */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <sane/sane.h>
12069 _ACEOF
12070 if { (ac_try="$ac_cpp conftest.$ac_ext"
12071 case "(($ac_try" in
12072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12074 esac
12075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12077 ac_status=$?
12078 grep -v '^ *+' conftest.er1 >conftest.err
12079 rm -f conftest.er1
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } >/dev/null && {
12083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12084 test ! -s conftest.err
12085 }; then
12086 ac_header_preproc=yes
12087 else
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12091 ac_header_preproc=no
12094 rm -f conftest.err conftest.$ac_ext
12095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12096 echo "${ECHO_T}$ac_header_preproc" >&6; }
12098 # So? What about this header?
12099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12100 yes:no: )
12101 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12102 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12103 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12104 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12105 ac_header_preproc=yes
12107 no:yes:* )
12108 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12109 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12110 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12111 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12113 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12114 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12115 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12116 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12117 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12119 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12120 ( cat <<\_ASBOX
12121 ## ------------------------------------ ##
12122 ## Report this to wine-devel@winehq.org ##
12123 ## ------------------------------------ ##
12124 _ASBOX
12125 ) | sed "s/^/$as_me: WARNING: /" >&2
12127 esac
12128 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12129 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12130 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 else
12133 ac_cv_header_sane_sane_h=$ac_header_preproc
12135 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12136 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12139 if test $ac_cv_header_sane_sane_h = yes; then
12140 { echo "$as_me:$LINENO: checking for -lsane" >&5
12141 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12142 if test "${ac_cv_lib_soname_sane+set}" = set; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 else
12145 ac_check_soname_save_LIBS=$LIBS
12146 LIBS="-lsane $LIBS"
12147 cat >conftest.$ac_ext <<_ACEOF
12148 /* confdefs.h. */
12149 _ACEOF
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char sane_init ();
12162 main ()
12164 return sane_init ();
12166 return 0;
12168 _ACEOF
12169 rm -f conftest.$ac_objext conftest$ac_exeext
12170 if { (ac_try="$ac_link"
12171 case "(($ac_try" in
12172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12174 esac
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_link") 2>conftest.er1
12177 ac_status=$?
12178 grep -v '^ *+' conftest.er1 >conftest.err
12179 rm -f conftest.er1
12180 cat conftest.err >&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } && {
12183 test -z "$ac_c_werror_flag" ||
12184 test ! -s conftest.err
12185 } && test -s conftest$ac_exeext &&
12186 $as_test_x conftest$ac_exeext; then
12187 case "$LIBEXT" in
12188 dll) ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12191 esac
12192 else
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.$ac_ext >&5
12199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_soname_save_LIBS
12203 if test "x$ac_cv_lib_soname_sane" = "x"; then
12204 { echo "$as_me:$LINENO: result: not found" >&5
12205 echo "${ECHO_T}not found" >&6; }
12207 else
12208 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12209 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12211 cat >>confdefs.h <<_ACEOF
12212 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12213 _ACEOF
12215 SANEINCL="$ac_sane_incl"
12222 CPPFLAGS="$ac_save_CPPFLAGS"
12224 if test "x$ac_cv_lib_soname_sane" = "x"; then
12225 wine_notices="$wine_notices|libsane development files not found.
12226 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12230 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12231 set dummy gphoto2-config; ac_word=$2
12232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12234 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237 if test -n "$gphoto2_devel"; then
12238 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12239 else
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12243 IFS=$as_save_IFS
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12247 ac_cv_prog_gphoto2_devel="gphoto2-config"
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 break 2
12251 done
12252 done
12253 IFS=$as_save_IFS
12255 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12258 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12259 if test -n "$gphoto2_devel"; then
12260 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12261 echo "${ECHO_T}$gphoto2_devel" >&6; }
12262 else
12263 { echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6; }
12268 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12269 set dummy gphoto2-port-config; ac_word=$2
12270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12272 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 else
12275 if test -n "$gphoto2port_devel"; then
12276 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12277 else
12278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12279 for as_dir in $PATH
12281 IFS=$as_save_IFS
12282 test -z "$as_dir" && as_dir=.
12283 for ac_exec_ext in '' $ac_executable_extensions; do
12284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12285 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 break 2
12289 done
12290 done
12291 IFS=$as_save_IFS
12293 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12296 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12297 if test -n "$gphoto2port_devel"; then
12298 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12299 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12300 else
12301 { echo "$as_me:$LINENO: result: no" >&5
12302 echo "${ECHO_T}no" >&6; }
12306 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12307 then
12308 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12309 ac_gphoto2_libs=""
12310 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12312 case "$i" in
12313 -L/usr/lib|-L/usr/lib64) ;;
12314 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12315 esac
12316 done
12317 ac_save_CPPFLAGS="$CPPFLAGS"
12318 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12319 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12320 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12321 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12322 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12326 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12327 else
12328 # Is the header compilable?
12329 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12330 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12331 cat >conftest.$ac_ext <<_ACEOF
12332 /* confdefs.h. */
12333 _ACEOF
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337 $ac_includes_default
12338 #include <gphoto2-camera.h>
12339 _ACEOF
12340 rm -f conftest.$ac_objext
12341 if { (ac_try="$ac_compile"
12342 case "(($ac_try" in
12343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12344 *) ac_try_echo=$ac_try;;
12345 esac
12346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12347 (eval "$ac_compile") 2>conftest.er1
12348 ac_status=$?
12349 grep -v '^ *+' conftest.er1 >conftest.err
12350 rm -f conftest.er1
12351 cat conftest.err >&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } && {
12354 test -z "$ac_c_werror_flag" ||
12355 test ! -s conftest.err
12356 } && test -s conftest.$ac_objext; then
12357 ac_header_compiler=yes
12358 else
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 ac_header_compiler=no
12365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12367 echo "${ECHO_T}$ac_header_compiler" >&6; }
12369 # Is the header present?
12370 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12371 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12372 cat >conftest.$ac_ext <<_ACEOF
12373 /* confdefs.h. */
12374 _ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 #include <gphoto2-camera.h>
12379 _ACEOF
12380 if { (ac_try="$ac_cpp conftest.$ac_ext"
12381 case "(($ac_try" in
12382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12383 *) ac_try_echo=$ac_try;;
12384 esac
12385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12387 ac_status=$?
12388 grep -v '^ *+' conftest.er1 >conftest.err
12389 rm -f conftest.er1
12390 cat conftest.err >&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } >/dev/null && {
12393 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12394 test ! -s conftest.err
12395 }; then
12396 ac_header_preproc=yes
12397 else
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_header_preproc=no
12404 rm -f conftest.err conftest.$ac_ext
12405 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12406 echo "${ECHO_T}$ac_header_preproc" >&6; }
12408 # So? What about this header?
12409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12410 yes:no: )
12411 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12412 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12414 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12415 ac_header_preproc=yes
12417 no:yes:* )
12418 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12419 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12420 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12421 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12423 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12424 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12425 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12426 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12427 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12428 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12429 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12430 ( cat <<\_ASBOX
12431 ## ------------------------------------ ##
12432 ## Report this to wine-devel@winehq.org ##
12433 ## ------------------------------------ ##
12434 _ASBOX
12435 ) | sed "s/^/$as_me: WARNING: /" >&2
12437 esac
12438 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12439 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12440 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12442 else
12443 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12445 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12446 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12449 if test $ac_cv_header_gphoto2_camera_h = yes; then
12450 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12451 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12452 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 ac_check_lib_save_LIBS=$LIBS
12456 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12457 cat >conftest.$ac_ext <<_ACEOF
12458 /* confdefs.h. */
12459 _ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char gp_camera_new ();
12472 main ()
12474 return gp_camera_new ();
12476 return 0;
12478 _ACEOF
12479 rm -f conftest.$ac_objext conftest$ac_exeext
12480 if { (ac_try="$ac_link"
12481 case "(($ac_try" in
12482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12483 *) ac_try_echo=$ac_try;;
12484 esac
12485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12486 (eval "$ac_link") 2>conftest.er1
12487 ac_status=$?
12488 grep -v '^ *+' conftest.er1 >conftest.err
12489 rm -f conftest.er1
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } && {
12493 test -z "$ac_c_werror_flag" ||
12494 test ! -s conftest.err
12495 } && test -s conftest$ac_exeext &&
12496 $as_test_x conftest$ac_exeext; then
12497 ac_cv_lib_gphoto2_gp_camera_new=yes
12498 else
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_cv_lib_gphoto2_gp_camera_new=no
12505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_lib_save_LIBS
12509 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12510 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12511 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12513 cat >>confdefs.h <<\_ACEOF
12514 #define HAVE_GPHOTO2 1
12515 _ACEOF
12517 GPHOTO2LIBS="$ac_gphoto2_libs"
12519 GPHOTO2INCL="$ac_gphoto2_incl"
12526 CPPFLAGS="$ac_save_CPPFLAGS"
12528 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12529 wine_notices="$wine_notices|libgphoto2 development files not found.
12530 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12535 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12536 then
12537 saved_libs="$LIBS"
12538 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12539 if test -n "$ICU_LIB_DIR"
12540 then
12541 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12543 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12544 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12545 LIBS="$saved_libs $icu_libs"
12546 if test "$cross_compiling" = yes; then
12547 { echo "$as_me:$LINENO: result: no" >&5
12548 echo "${ECHO_T}no" >&6; }
12549 else
12550 cat >conftest.$ac_ext <<_ACEOF
12551 /* confdefs.h. */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 #include <unicode/ubidi.h>
12558 main ()
12560 ubidi_open()
12562 return 0;
12564 _ACEOF
12565 rm -f conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12569 *) ac_try_echo=$ac_try;;
12570 esac
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>&5
12573 ac_status=$?
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
12582 ac_status=$?
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12586 cat >>confdefs.h <<\_ACEOF
12587 #define HAVE_ICU 1
12588 _ACEOF
12590 ICULIBS="$icu_libs"
12592 { echo "$as_me:$LINENO: result: yes" >&5
12593 echo "${ECHO_T}yes" >&6; }
12594 else
12595 echo "$as_me: program exited with status $ac_status" >&5
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 ( exit $ac_status )
12600 { echo "$as_me:$LINENO: result: no" >&5
12601 echo "${ECHO_T}no" >&6; }
12603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12607 LIBS="$saved_libs"
12609 if test "x$ICULIBS" = "x"; then
12610 wine_notices="$wine_notices|libicu development files not found.
12611 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12615 RESOLVLIBS=""
12617 if test "$ac_cv_header_resolv_h" = "yes"
12618 then
12619 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12620 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12621 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 else
12624 ac_check_lib_save_LIBS=$LIBS
12625 LIBS="-lresolv $LIBS"
12626 cat >conftest.$ac_ext <<_ACEOF
12627 /* confdefs.h. */
12628 _ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char res_query ();
12641 main ()
12643 return res_query ();
12645 return 0;
12647 _ACEOF
12648 rm -f conftest.$ac_objext conftest$ac_exeext
12649 if { (ac_try="$ac_link"
12650 case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12653 esac
12654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12655 (eval "$ac_link") 2>conftest.er1
12656 ac_status=$?
12657 grep -v '^ *+' conftest.er1 >conftest.err
12658 rm -f conftest.er1
12659 cat conftest.err >&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } && {
12662 test -z "$ac_c_werror_flag" ||
12663 test ! -s conftest.err
12664 } && test -s conftest$ac_exeext &&
12665 $as_test_x conftest$ac_exeext; then
12666 ac_cv_lib_resolv_res_query=yes
12667 else
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.$ac_ext >&5
12671 ac_cv_lib_resolv_res_query=no
12674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12675 conftest$ac_exeext conftest.$ac_ext
12676 LIBS=$ac_check_lib_save_LIBS
12678 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12679 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12680 if test $ac_cv_lib_resolv_res_query = yes; then
12682 cat >>confdefs.h <<\_ACEOF
12683 #define HAVE_RESOLV 1
12684 _ACEOF
12686 RESOLVLIBS="-lresolv"
12691 LCMSLIBS=""
12693 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12694 then
12695 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12696 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12697 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else
12700 ac_check_lib_save_LIBS=$LIBS
12701 LIBS="-llcms $LIBS"
12702 cat >conftest.$ac_ext <<_ACEOF
12703 /* confdefs.h. */
12704 _ACEOF
12705 cat confdefs.h >>conftest.$ac_ext
12706 cat >>conftest.$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12712 #ifdef __cplusplus
12713 extern "C"
12714 #endif
12715 char cmsOpenProfileFromFile ();
12717 main ()
12719 return cmsOpenProfileFromFile ();
12721 return 0;
12723 _ACEOF
12724 rm -f conftest.$ac_objext conftest$ac_exeext
12725 if { (ac_try="$ac_link"
12726 case "(($ac_try" in
12727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12728 *) ac_try_echo=$ac_try;;
12729 esac
12730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12731 (eval "$ac_link") 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } && {
12738 test -z "$ac_c_werror_flag" ||
12739 test ! -s conftest.err
12740 } && test -s conftest$ac_exeext &&
12741 $as_test_x conftest$ac_exeext; then
12742 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12743 else
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.$ac_ext >&5
12747 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12751 conftest$ac_exeext conftest.$ac_ext
12752 LIBS=$ac_check_lib_save_LIBS
12754 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12755 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12756 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12758 cat >>confdefs.h <<\_ACEOF
12759 #define HAVE_LCMS 1
12760 _ACEOF
12762 LCMSLIBS="-llcms"
12766 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12767 wine_notices="$wine_notices|liblcms development files not found.
12768 Wine will be built without Color Management support. (mscms.dll)"
12772 LDAPLIBS=""
12774 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12775 then
12776 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12777 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12778 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 else
12781 ac_check_lib_save_LIBS=$LIBS
12782 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12790 /* Override any GCC internal prototype to avoid an error.
12791 Use char because int might match the return type of a GCC
12792 builtin and then its argument prototype would still apply. */
12793 #ifdef __cplusplus
12794 extern "C"
12795 #endif
12796 char ldap_initialize ();
12798 main ()
12800 return ldap_initialize ();
12802 return 0;
12804 _ACEOF
12805 rm -f conftest.$ac_objext conftest$ac_exeext
12806 if { (ac_try="$ac_link"
12807 case "(($ac_try" in
12808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12809 *) ac_try_echo=$ac_try;;
12810 esac
12811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12812 (eval "$ac_link") 2>conftest.er1
12813 ac_status=$?
12814 grep -v '^ *+' conftest.er1 >conftest.err
12815 rm -f conftest.er1
12816 cat conftest.err >&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } && {
12819 test -z "$ac_c_werror_flag" ||
12820 test ! -s conftest.err
12821 } && test -s conftest$ac_exeext &&
12822 $as_test_x conftest$ac_exeext; then
12823 ac_cv_lib_ldap_r_ldap_initialize=yes
12824 else
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.$ac_ext >&5
12828 ac_cv_lib_ldap_r_ldap_initialize=no
12831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12836 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12837 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12838 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12839 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12840 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 ac_check_lib_save_LIBS=$LIBS
12844 LIBS="-llber $LIBPTHREAD $LIBS"
12845 cat >conftest.$ac_ext <<_ACEOF
12846 /* confdefs.h. */
12847 _ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char ber_init ();
12860 main ()
12862 return ber_init ();
12864 return 0;
12866 _ACEOF
12867 rm -f conftest.$ac_objext conftest$ac_exeext
12868 if { (ac_try="$ac_link"
12869 case "(($ac_try" in
12870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12871 *) ac_try_echo=$ac_try;;
12872 esac
12873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12874 (eval "$ac_link") 2>conftest.er1
12875 ac_status=$?
12876 grep -v '^ *+' conftest.er1 >conftest.err
12877 rm -f conftest.er1
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } && {
12881 test -z "$ac_c_werror_flag" ||
12882 test ! -s conftest.err
12883 } && test -s conftest$ac_exeext &&
12884 $as_test_x conftest$ac_exeext; then
12885 ac_cv_lib_lber_ber_init=yes
12886 else
12887 echo "$as_me: failed program was:" >&5
12888 sed 's/^/| /' conftest.$ac_ext >&5
12890 ac_cv_lib_lber_ber_init=no
12893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12898 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12899 if test $ac_cv_lib_lber_ber_init = yes; then
12901 cat >>confdefs.h <<\_ACEOF
12902 #define HAVE_LDAP 1
12903 _ACEOF
12905 LDAPLIBS="-lldap_r -llber"
12910 ac_wine_check_funcs_save_LIBS="$LIBS"
12911 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12916 for ac_func in \
12917 ldap_count_references \
12918 ldap_first_reference \
12919 ldap_next_reference \
12920 ldap_parse_reference
12922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 else
12928 cat >conftest.$ac_ext <<_ACEOF
12929 /* confdefs.h. */
12930 _ACEOF
12931 cat confdefs.h >>conftest.$ac_ext
12932 cat >>conftest.$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12936 #define $ac_func innocuous_$ac_func
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func (); below.
12940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 <limits.h> exists even on freestanding compilers. */
12943 #ifdef __STDC__
12944 # include <limits.h>
12945 #else
12946 # include <assert.h>
12947 #endif
12949 #undef $ac_func
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char $ac_func ();
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined __stub_$ac_func || defined __stub___$ac_func
12962 choke me
12963 #endif
12966 main ()
12968 return $ac_func ();
12970 return 0;
12972 _ACEOF
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (ac_try="$ac_link"
12975 case "(($ac_try" in
12976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12978 esac
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_link") 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } && {
12987 test -z "$ac_c_werror_flag" ||
12988 test ! -s conftest.err
12989 } && test -s conftest$ac_exeext &&
12990 $as_test_x conftest$ac_exeext; then
12991 eval "$as_ac_var=yes"
12992 else
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 eval "$as_ac_var=no"
12999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13000 conftest$ac_exeext conftest.$ac_ext
13002 ac_res=`eval echo '${'$as_ac_var'}'`
13003 { echo "$as_me:$LINENO: result: $ac_res" >&5
13004 echo "${ECHO_T}$ac_res" >&6; }
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006 cat >>confdefs.h <<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13008 _ACEOF
13011 done
13013 LIBS="$ac_wine_check_funcs_save_LIBS"
13015 if test "x$LDAPLIBS" = "x"; then
13016 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13017 Wine will be built without LDAP support. (wldap32.dll)"
13021 for ac_prog in freetype-config freetype2-config
13023 # Extract the first word of "$ac_prog", so it can be a program name with args.
13024 set dummy $ac_prog; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_ft_devel+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$ft_devel"; then
13031 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_ft_devel="$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13044 done
13045 done
13046 IFS=$as_save_IFS
13050 ft_devel=$ac_cv_prog_ft_devel
13051 if test -n "$ft_devel"; then
13052 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13053 echo "${ECHO_T}$ft_devel" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 test -n "$ft_devel" && break
13061 done
13062 test -n "$ft_devel" || ft_devel="false"
13064 if test "$ft_devel" != "false"
13065 then
13066 ac_freetype_libs=`$ft_devel --libs`
13067 ac_freetype_incl=`$ft_devel --cflags`
13068 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13069 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 ac_check_soname_save_LIBS=$LIBS
13074 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13075 cat >conftest.$ac_ext <<_ACEOF
13076 /* confdefs.h. */
13077 _ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13085 #ifdef __cplusplus
13086 extern "C"
13087 #endif
13088 char FT_Init_FreeType ();
13090 main ()
13092 return FT_Init_FreeType ();
13094 return 0;
13096 _ACEOF
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 case "$LIBEXT" in
13116 dll) ;;
13117 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'` ;;
13118 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13119 esac
13120 else
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_soname_save_LIBS
13131 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13132 { echo "$as_me:$LINENO: result: not found" >&5
13133 echo "${ECHO_T}not found" >&6; }
13134 ft_lib=no
13135 else
13136 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13137 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13139 cat >>confdefs.h <<_ACEOF
13140 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13141 _ACEOF
13143 ft_lib=yes
13146 if test "$ft_lib" = "yes"
13147 then
13148 ac_save_CPPFLAGS="$CPPFLAGS"
13149 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13161 for ac_header in ft2build.h \
13162 freetype/freetype.h \
13163 freetype/ftglyph.h \
13164 freetype/tttables.h \
13165 freetype/ftnames.h \
13166 freetype/ftsnames.h \
13167 freetype/ttnameid.h \
13168 freetype/ftoutln.h \
13169 freetype/ftwinfnt.h \
13170 freetype/ftmodapi.h \
13171 freetype/internal/sfnt.h
13173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13178 else
13179 cat >conftest.$ac_ext <<_ACEOF
13180 /* confdefs.h. */
13181 _ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #if HAVE_FT2BUILD_H
13186 #include <ft2build.h>
13187 #endif
13189 #include <$ac_header>
13190 _ACEOF
13191 rm -f conftest.$ac_objext
13192 if { (ac_try="$ac_compile"
13193 case "(($ac_try" in
13194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195 *) ac_try_echo=$ac_try;;
13196 esac
13197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13198 (eval "$ac_compile") 2>conftest.er1
13199 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest.$ac_objext; then
13208 eval "$as_ac_Header=yes"
13209 else
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.$ac_ext >&5
13213 eval "$as_ac_Header=no"
13216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13218 ac_res=`eval echo '${'$as_ac_Header'}'`
13219 { echo "$as_me:$LINENO: result: $ac_res" >&5
13220 echo "${ECHO_T}$ac_res" >&6; }
13221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13222 cat >>confdefs.h <<_ACEOF
13223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13224 _ACEOF
13228 done
13230 cat >conftest.$ac_ext <<_ACEOF
13231 /* confdefs.h. */
13232 _ACEOF
13233 cat confdefs.h >>conftest.$ac_ext
13234 cat >>conftest.$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 #include <ft2build.h>
13237 #include <freetype/fttrigon.h>
13238 _ACEOF
13239 if { (ac_try="$ac_cpp conftest.$ac_ext"
13240 case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13243 esac
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13246 ac_status=$?
13247 grep -v '^ *+' conftest.er1 >conftest.err
13248 rm -f conftest.er1
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null && {
13252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13253 test ! -s conftest.err
13254 }; then
13256 cat >>confdefs.h <<\_ACEOF
13257 #define HAVE_FREETYPE_FTTRIGON_H 1
13258 _ACEOF
13260 wine_cv_fttrigon=yes
13261 else
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13265 wine_cv_fttrigon=no
13268 rm -f conftest.err conftest.$ac_ext
13269 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13270 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13271 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 else
13274 cat >conftest.$ac_ext <<_ACEOF
13275 /* confdefs.h. */
13276 _ACEOF
13277 cat confdefs.h >>conftest.$ac_ext
13278 cat >>conftest.$ac_ext <<_ACEOF
13279 /* end confdefs.h. */
13280 #include <freetype/ftmodapi.h>
13282 typedef FT_TrueTypeEngineType ac__type_new_;
13284 main ()
13286 if ((ac__type_new_ *) 0)
13287 return 0;
13288 if (sizeof (ac__type_new_))
13289 return 0;
13291 return 0;
13293 _ACEOF
13294 rm -f conftest.$ac_objext
13295 if { (ac_try="$ac_compile"
13296 case "(($ac_try" in
13297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13298 *) ac_try_echo=$ac_try;;
13299 esac
13300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13301 (eval "$ac_compile") 2>conftest.er1
13302 ac_status=$?
13303 grep -v '^ *+' conftest.er1 >conftest.err
13304 rm -f conftest.er1
13305 cat conftest.err >&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && {
13308 test -z "$ac_c_werror_flag" ||
13309 test ! -s conftest.err
13310 } && test -s conftest.$ac_objext; then
13311 ac_cv_type_FT_TrueTypeEngineType=yes
13312 else
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13316 ac_cv_type_FT_TrueTypeEngineType=no
13319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13321 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13322 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13323 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13325 cat >>confdefs.h <<_ACEOF
13326 #define HAVE_FT_TRUETYPEENGINETYPE 1
13327 _ACEOF
13332 ac_save_CFLAGS="$CFLAGS"
13333 CFLAGS="$CFLAGS $ac_freetype_libs"
13335 for ac_func in FT_Load_Sfnt_Table
13337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13351 #define $ac_func innocuous_$ac_func
13353 /* System header to define __stub macros and hopefully few prototypes,
13354 which can conflict with char $ac_func (); below.
13355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13356 <limits.h> exists even on freestanding compilers. */
13358 #ifdef __STDC__
13359 # include <limits.h>
13360 #else
13361 # include <assert.h>
13362 #endif
13364 #undef $ac_func
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13369 #ifdef __cplusplus
13370 extern "C"
13371 #endif
13372 char $ac_func ();
13373 /* The GNU C library defines this for functions which it implements
13374 to always fail with ENOSYS. Some functions are actually named
13375 something starting with __ and the normal name is an alias. */
13376 #if defined __stub_$ac_func || defined __stub___$ac_func
13377 choke me
13378 #endif
13381 main ()
13383 return $ac_func ();
13385 return 0;
13387 _ACEOF
13388 rm -f conftest.$ac_objext conftest$ac_exeext
13389 if { (ac_try="$ac_link"
13390 case "(($ac_try" in
13391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13392 *) ac_try_echo=$ac_try;;
13393 esac
13394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13395 (eval "$ac_link") 2>conftest.er1
13396 ac_status=$?
13397 grep -v '^ *+' conftest.er1 >conftest.err
13398 rm -f conftest.er1
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } && {
13402 test -z "$ac_c_werror_flag" ||
13403 test ! -s conftest.err
13404 } && test -s conftest$ac_exeext &&
13405 $as_test_x conftest$ac_exeext; then
13406 eval "$as_ac_var=yes"
13407 else
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 eval "$as_ac_var=no"
13414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13415 conftest$ac_exeext conftest.$ac_ext
13417 ac_res=`eval echo '${'$as_ac_var'}'`
13418 { echo "$as_me:$LINENO: result: $ac_res" >&5
13419 echo "${ECHO_T}$ac_res" >&6; }
13420 if test `eval echo '${'$as_ac_var'}'` = yes; then
13421 cat >>confdefs.h <<_ACEOF
13422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 _ACEOF
13426 done
13428 CFLAGS="$ac_save_CFLAGS"
13429 CPPFLAGS="$ac_save_CPPFLAGS"
13430 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13431 then
13433 cat >>confdefs.h <<\_ACEOF
13434 #define HAVE_FREETYPE 1
13435 _ACEOF
13437 FREETYPELIBS="$ac_freetype_libs"
13439 FREETYPEINCL="$ac_freetype_incl"
13445 if test "$FONTFORGE" = "false"
13446 then
13447 wine_warnings="$wine_warnings|FontForge is missing.
13448 Fonts will not be built. Dialog text may be invisible or unaligned."
13449 elif test "x$FREETYPELIBS" = "x"
13450 then
13451 wine_warnings="$wine_warnings|FreeType development files not found.
13452 Fonts will not be built. Dialog text may be invisible or unaligned."
13453 else
13454 FONTSSUBDIRS="fonts"
13458 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13459 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13460 if test "${ac_cv_c_ppdev+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13462 else
13463 cat >conftest.$ac_ext <<_ACEOF
13464 /* confdefs.h. */
13465 _ACEOF
13466 cat confdefs.h >>conftest.$ac_ext
13467 cat >>conftest.$ac_ext <<_ACEOF
13468 /* end confdefs.h. */
13469 #include <linux/ppdev.h>
13471 main ()
13473 ioctl (1,PPCLAIM,0)
13475 return 0;
13477 _ACEOF
13478 rm -f conftest.$ac_objext
13479 if { (ac_try="$ac_compile"
13480 case "(($ac_try" in
13481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13482 *) ac_try_echo=$ac_try;;
13483 esac
13484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13485 (eval "$ac_compile") 2>conftest.er1
13486 ac_status=$?
13487 grep -v '^ *+' conftest.er1 >conftest.err
13488 rm -f conftest.er1
13489 cat conftest.err >&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } && {
13492 test -z "$ac_c_werror_flag" ||
13493 test ! -s conftest.err
13494 } && test -s conftest.$ac_objext; then
13495 ac_cv_c_ppdev="yes"
13496 else
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13500 ac_cv_c_ppdev="no"
13503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13505 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13506 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13507 if test "$ac_cv_c_ppdev" = "yes"
13508 then
13510 cat >>confdefs.h <<\_ACEOF
13511 #define HAVE_PPDEV 1
13512 _ACEOF
13516 { echo "$as_me:$LINENO: checking for va_copy" >&5
13517 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13518 if test "${ac_cv_c_va_copy+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 else
13521 cat >conftest.$ac_ext <<_ACEOF
13522 /* confdefs.h. */
13523 _ACEOF
13524 cat confdefs.h >>conftest.$ac_ext
13525 cat >>conftest.$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 #include <stdarg.h>
13529 main ()
13531 va_list ap1, ap2; va_copy(ap1,ap2);
13533 return 0;
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (ac_try="$ac_link"
13538 case "(($ac_try" in
13539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13540 *) ac_try_echo=$ac_try;;
13541 esac
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_link") 2>conftest.er1
13544 ac_status=$?
13545 grep -v '^ *+' conftest.er1 >conftest.err
13546 rm -f conftest.er1
13547 cat conftest.err >&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest$ac_exeext &&
13553 $as_test_x conftest$ac_exeext; then
13554 ac_cv_c_va_copy="yes"
13555 else
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13559 ac_cv_c_va_copy="no"
13562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13563 conftest$ac_exeext conftest.$ac_ext
13566 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13567 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13568 if test "$ac_cv_c_va_copy" = "yes"
13569 then
13571 cat >>confdefs.h <<\_ACEOF
13572 #define HAVE_VA_COPY 1
13573 _ACEOF
13576 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13577 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13578 if test "${ac_cv_c___va_copy+set}" = set; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 else
13581 cat >conftest.$ac_ext <<_ACEOF
13582 /* confdefs.h. */
13583 _ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 #include <stdarg.h>
13589 main ()
13591 va_list ap1, ap2; __va_copy(ap1,ap2);
13593 return 0;
13595 _ACEOF
13596 rm -f conftest.$ac_objext conftest$ac_exeext
13597 if { (ac_try="$ac_link"
13598 case "(($ac_try" in
13599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13600 *) ac_try_echo=$ac_try;;
13601 esac
13602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13603 (eval "$ac_link") 2>conftest.er1
13604 ac_status=$?
13605 grep -v '^ *+' conftest.er1 >conftest.err
13606 rm -f conftest.er1
13607 cat conftest.err >&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } && {
13610 test -z "$ac_c_werror_flag" ||
13611 test ! -s conftest.err
13612 } && test -s conftest$ac_exeext &&
13613 $as_test_x conftest$ac_exeext; then
13614 ac_cv_c___va_copy="yes"
13615 else
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13619 ac_cv_c___va_copy="no"
13622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13623 conftest$ac_exeext conftest.$ac_ext
13626 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13627 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13628 if test "$ac_cv_c___va_copy" = "yes"
13629 then
13631 cat >>confdefs.h <<\_ACEOF
13632 #define HAVE___VA_COPY 1
13633 _ACEOF
13637 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13638 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13639 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 else
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13648 #include <setjmp.h>
13650 main ()
13652 sigjmp_buf buf;
13653 sigsetjmp( buf, 1 );
13654 siglongjmp( buf, 1 );
13656 return 0;
13658 _ACEOF
13659 rm -f conftest.$ac_objext conftest$ac_exeext
13660 if { (ac_try="$ac_link"
13661 case "(($ac_try" in
13662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13663 *) ac_try_echo=$ac_try;;
13664 esac
13665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13666 (eval "$ac_link") 2>conftest.er1
13667 ac_status=$?
13668 grep -v '^ *+' conftest.er1 >conftest.err
13669 rm -f conftest.er1
13670 cat conftest.err >&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } && {
13673 test -z "$ac_c_werror_flag" ||
13674 test ! -s conftest.err
13675 } && test -s conftest$ac_exeext &&
13676 $as_test_x conftest$ac_exeext; then
13677 ac_cv_c_sigsetjmp="yes"
13678 else
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.$ac_ext >&5
13682 ac_cv_c_sigsetjmp="no"
13685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13686 conftest$ac_exeext conftest.$ac_ext
13689 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13690 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13691 if test "$ac_cv_c_sigsetjmp" = "yes"
13692 then
13694 cat >>confdefs.h <<\_ACEOF
13695 #define HAVE_SIGSETJMP 1
13696 _ACEOF
13700 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13701 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13702 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 else
13705 cat >conftest.$ac_ext <<_ACEOF
13706 /* confdefs.h. */
13707 _ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 #define _GNU_SOURCE
13712 #include <pthread.h>
13714 typedef pthread_rwlock_t ac__type_new_;
13716 main ()
13718 if ((ac__type_new_ *) 0)
13719 return 0;
13720 if (sizeof (ac__type_new_))
13721 return 0;
13723 return 0;
13725 _ACEOF
13726 rm -f conftest.$ac_objext
13727 if { (ac_try="$ac_compile"
13728 case "(($ac_try" in
13729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13730 *) ac_try_echo=$ac_try;;
13731 esac
13732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13733 (eval "$ac_compile") 2>conftest.er1
13734 ac_status=$?
13735 grep -v '^ *+' conftest.er1 >conftest.err
13736 rm -f conftest.er1
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } && {
13740 test -z "$ac_c_werror_flag" ||
13741 test ! -s conftest.err
13742 } && test -s conftest.$ac_objext; then
13743 ac_cv_type_pthread_rwlock_t=yes
13744 else
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.$ac_ext >&5
13748 ac_cv_type_pthread_rwlock_t=no
13751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13753 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13754 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13755 if test $ac_cv_type_pthread_rwlock_t = yes; then
13757 cat >>confdefs.h <<_ACEOF
13758 #define HAVE_PTHREAD_RWLOCK_T 1
13759 _ACEOF
13763 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13764 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13765 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 else
13768 cat >conftest.$ac_ext <<_ACEOF
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #define _GNU_SOURCE
13775 #include <pthread.h>
13777 typedef pthread_rwlockattr_t ac__type_new_;
13779 main ()
13781 if ((ac__type_new_ *) 0)
13782 return 0;
13783 if (sizeof (ac__type_new_))
13784 return 0;
13786 return 0;
13788 _ACEOF
13789 rm -f conftest.$ac_objext
13790 if { (ac_try="$ac_compile"
13791 case "(($ac_try" in
13792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13793 *) ac_try_echo=$ac_try;;
13794 esac
13795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13796 (eval "$ac_compile") 2>conftest.er1
13797 ac_status=$?
13798 grep -v '^ *+' conftest.er1 >conftest.err
13799 rm -f conftest.er1
13800 cat conftest.err >&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } && {
13803 test -z "$ac_c_werror_flag" ||
13804 test ! -s conftest.err
13805 } && test -s conftest.$ac_objext; then
13806 ac_cv_type_pthread_rwlockattr_t=yes
13807 else
13808 echo "$as_me: failed program was:" >&5
13809 sed 's/^/| /' conftest.$ac_ext >&5
13811 ac_cv_type_pthread_rwlockattr_t=no
13814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13816 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13817 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13818 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13820 cat >>confdefs.h <<_ACEOF
13821 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13822 _ACEOF
13828 ac_wine_check_funcs_save_LIBS="$LIBS"
13829 LIBS="$LIBS $LIBPTHREAD"
13834 for ac_func in \
13835 pthread_attr_get_np \
13836 pthread_getattr_np \
13837 pthread_get_stackaddr_np \
13838 pthread_get_stacksize_np
13840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 else
13846 cat >conftest.$ac_ext <<_ACEOF
13847 /* confdefs.h. */
13848 _ACEOF
13849 cat confdefs.h >>conftest.$ac_ext
13850 cat >>conftest.$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13854 #define $ac_func innocuous_$ac_func
13856 /* System header to define __stub macros and hopefully few prototypes,
13857 which can conflict with char $ac_func (); below.
13858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13859 <limits.h> exists even on freestanding compilers. */
13861 #ifdef __STDC__
13862 # include <limits.h>
13863 #else
13864 # include <assert.h>
13865 #endif
13867 #undef $ac_func
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13872 #ifdef __cplusplus
13873 extern "C"
13874 #endif
13875 char $ac_func ();
13876 /* The GNU C library defines this for functions which it implements
13877 to always fail with ENOSYS. Some functions are actually named
13878 something starting with __ and the normal name is an alias. */
13879 #if defined __stub_$ac_func || defined __stub___$ac_func
13880 choke me
13881 #endif
13884 main ()
13886 return $ac_func ();
13888 return 0;
13890 _ACEOF
13891 rm -f conftest.$ac_objext conftest$ac_exeext
13892 if { (ac_try="$ac_link"
13893 case "(($ac_try" in
13894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13895 *) ac_try_echo=$ac_try;;
13896 esac
13897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13898 (eval "$ac_link") 2>conftest.er1
13899 ac_status=$?
13900 grep -v '^ *+' conftest.er1 >conftest.err
13901 rm -f conftest.er1
13902 cat conftest.err >&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } && {
13905 test -z "$ac_c_werror_flag" ||
13906 test ! -s conftest.err
13907 } && test -s conftest$ac_exeext &&
13908 $as_test_x conftest$ac_exeext; then
13909 eval "$as_ac_var=yes"
13910 else
13911 echo "$as_me: failed program was:" >&5
13912 sed 's/^/| /' conftest.$ac_ext >&5
13914 eval "$as_ac_var=no"
13917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13918 conftest$ac_exeext conftest.$ac_ext
13920 ac_res=`eval echo '${'$as_ac_var'}'`
13921 { echo "$as_me:$LINENO: result: $ac_res" >&5
13922 echo "${ECHO_T}$ac_res" >&6; }
13923 if test `eval echo '${'$as_ac_var'}'` = yes; then
13924 cat >>confdefs.h <<_ACEOF
13925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13926 _ACEOF
13929 done
13931 LIBS="$ac_wine_check_funcs_save_LIBS"
13933 # Extract the first word of "esd-config", so it can be a program name with args.
13934 set dummy esd-config; ac_word=$2
13935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13937 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 else
13940 case $ESDCONFIG in
13941 [\\/]* | ?:[\\/]*)
13942 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13946 for as_dir in $PATH
13948 IFS=$as_save_IFS
13949 test -z "$as_dir" && as_dir=.
13950 for ac_exec_ext in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 break 2
13956 done
13957 done
13958 IFS=$as_save_IFS
13961 esac
13963 ESDCONFIG=$ac_cv_path_ESDCONFIG
13964 if test -n "$ESDCONFIG"; then
13965 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13966 echo "${ECHO_T}$ESDCONFIG" >&6; }
13967 else
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13973 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13974 then
13975 ESD_CFLAGS=""
13976 for i in `$ESDCONFIG --cflags`
13978 case "$i" in
13979 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13980 esac
13981 done
13982 ESD_LIBS=`$ESDCONFIG --libs`
13983 save_CFLAGS="$CFLAGS"
13984 CFLAGS="$CFLAGS $ESD_CFLAGS"
13985 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13986 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13987 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 else
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-lesd $LIBS"
13992 cat >conftest.$ac_ext <<_ACEOF
13993 /* confdefs.h. */
13994 _ACEOF
13995 cat confdefs.h >>conftest.$ac_ext
13996 cat >>conftest.$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14002 #ifdef __cplusplus
14003 extern "C"
14004 #endif
14005 char esd_open_sound ();
14007 main ()
14009 return esd_open_sound ();
14011 return 0;
14013 _ACEOF
14014 rm -f conftest.$ac_objext conftest$ac_exeext
14015 if { (ac_try="$ac_link"
14016 case "(($ac_try" in
14017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14019 esac
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_link") 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } && {
14028 test -z "$ac_c_werror_flag" ||
14029 test ! -s conftest.err
14030 } && test -s conftest$ac_exeext &&
14031 $as_test_x conftest$ac_exeext; then
14032 ac_cv_lib_esd_esd_open_sound=yes
14033 else
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.$ac_ext >&5
14037 ac_cv_lib_esd_esd_open_sound=no
14040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LIBS=$ac_check_lib_save_LIBS
14044 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14045 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14046 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14047 ESDLIBS=$ESD_LIBS
14049 ESDINCL=$ESD_CFLAGS
14052 cat >>confdefs.h <<\_ACEOF
14053 #define HAVE_ESD 1
14054 _ACEOF
14058 CFLAGS="$save_CFLAGS"
14061 ALSALIBS=""
14063 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14064 then
14065 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14066 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14067 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 else
14070 ac_check_lib_save_LIBS=$LIBS
14071 LIBS="-lasound $LIBS"
14072 cat >conftest.$ac_ext <<_ACEOF
14073 /* confdefs.h. */
14074 _ACEOF
14075 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14082 #ifdef __cplusplus
14083 extern "C"
14084 #endif
14085 char snd_pcm_hw_params_get_access ();
14087 main ()
14089 return snd_pcm_hw_params_get_access ();
14091 return 0;
14093 _ACEOF
14094 rm -f conftest.$ac_objext conftest$ac_exeext
14095 if { (ac_try="$ac_link"
14096 case "(($ac_try" in
14097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14098 *) ac_try_echo=$ac_try;;
14099 esac
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_link") 2>conftest.er1
14102 ac_status=$?
14103 grep -v '^ *+' conftest.er1 >conftest.err
14104 rm -f conftest.er1
14105 cat conftest.err >&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } && {
14108 test -z "$ac_c_werror_flag" ||
14109 test ! -s conftest.err
14110 } && test -s conftest$ac_exeext &&
14111 $as_test_x conftest$ac_exeext; then
14112 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14113 else
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.$ac_ext >&5
14117 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14121 conftest$ac_exeext conftest.$ac_ext
14122 LIBS=$ac_check_lib_save_LIBS
14124 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14125 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14126 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14127 cat >conftest.$ac_ext <<_ACEOF
14128 /* confdefs.h. */
14129 _ACEOF
14130 cat confdefs.h >>conftest.$ac_ext
14131 cat >>conftest.$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133 #ifdef HAVE_ALSA_ASOUNDLIB_H
14134 #include <alsa/asoundlib.h>
14135 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14136 #include <sys/asoundlib.h>
14137 #endif
14139 main ()
14141 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14143 return 0;
14145 _ACEOF
14146 rm -f conftest.$ac_objext
14147 if { (ac_try="$ac_compile"
14148 case "(($ac_try" in
14149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14150 *) ac_try_echo=$ac_try;;
14151 esac
14152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14153 (eval "$ac_compile") 2>conftest.er1
14154 ac_status=$?
14155 grep -v '^ *+' conftest.er1 >conftest.err
14156 rm -f conftest.er1
14157 cat conftest.err >&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } && {
14160 test -z "$ac_c_werror_flag" ||
14161 test ! -s conftest.err
14162 } && test -s conftest.$ac_objext; then
14164 cat >>confdefs.h <<\_ACEOF
14165 #define HAVE_ALSA 1
14166 _ACEOF
14168 ALSALIBS="-lasound"
14169 else
14170 echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.$ac_ext >&5
14176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14181 AUDIOIOLIBS=""
14183 if test "$ac_cv_header_libaudioio_h" = "yes"
14184 then
14185 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14186 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14187 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14189 else
14190 ac_check_lib_save_LIBS=$LIBS
14191 LIBS="-laudioio $LIBS"
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 #ifdef __cplusplus
14203 extern "C"
14204 #endif
14205 char AudioIOGetVersion ();
14207 main ()
14209 return AudioIOGetVersion ();
14211 return 0;
14213 _ACEOF
14214 rm -f conftest.$ac_objext conftest$ac_exeext
14215 if { (ac_try="$ac_link"
14216 case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14219 esac
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_link") 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } && {
14228 test -z "$ac_c_werror_flag" ||
14229 test ! -s conftest.err
14230 } && test -s conftest$ac_exeext &&
14231 $as_test_x conftest$ac_exeext; then
14232 ac_cv_lib_audioio_AudioIOGetVersion=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14237 ac_cv_lib_audioio_AudioIOGetVersion=no
14240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14241 conftest$ac_exeext conftest.$ac_ext
14242 LIBS=$ac_check_lib_save_LIBS
14244 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14245 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14246 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14247 AUDIOIOLIBS="-laudioio"
14249 cat >>confdefs.h <<\_ACEOF
14250 #define HAVE_LIBAUDIOIO 1
14251 _ACEOF
14258 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14259 then
14260 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14261 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14262 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 else
14265 ac_check_soname_save_LIBS=$LIBS
14266 LIBS="-lcapi20 $LIBS"
14267 cat >conftest.$ac_ext <<_ACEOF
14268 /* confdefs.h. */
14269 _ACEOF
14270 cat confdefs.h >>conftest.$ac_ext
14271 cat >>conftest.$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14277 #ifdef __cplusplus
14278 extern "C"
14279 #endif
14280 char capi20_register ();
14282 main ()
14284 return capi20_register ();
14286 return 0;
14288 _ACEOF
14289 rm -f conftest.$ac_objext conftest$ac_exeext
14290 if { (ac_try="$ac_link"
14291 case "(($ac_try" in
14292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14293 *) ac_try_echo=$ac_try;;
14294 esac
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_link") 2>conftest.er1
14297 ac_status=$?
14298 grep -v '^ *+' conftest.er1 >conftest.err
14299 rm -f conftest.er1
14300 cat conftest.err >&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); } && {
14303 test -z "$ac_c_werror_flag" ||
14304 test ! -s conftest.err
14305 } && test -s conftest$ac_exeext &&
14306 $as_test_x conftest$ac_exeext; then
14307 case "$LIBEXT" in
14308 dll) ;;
14309 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'` ;;
14310 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14311 esac
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_soname_save_LIBS
14323 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14324 { echo "$as_me:$LINENO: result: not found" >&5
14325 echo "${ECHO_T}not found" >&6; }
14327 else
14328 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14329 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14331 cat >>confdefs.h <<_ACEOF
14332 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14333 _ACEOF
14339 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14340 wine_notices="$wine_notices|libcapi20 development files not found.
14341 Wine will be built without ISDN support. (capi2032.dll)"
14345 if test "$ac_cv_header_cups_cups_h" = "yes"
14346 then
14347 { echo "$as_me:$LINENO: checking for -lcups" >&5
14348 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14349 if test "${ac_cv_lib_soname_cups+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 else
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lcups $LIBS"
14354 cat >conftest.$ac_ext <<_ACEOF
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14361 /* Override any GCC internal prototype to avoid an error.
14362 Use char because int might match the return type of a GCC
14363 builtin and then its argument prototype would still apply. */
14364 #ifdef __cplusplus
14365 extern "C"
14366 #endif
14367 char cupsGetDefault ();
14369 main ()
14371 return cupsGetDefault ();
14373 return 0;
14375 _ACEOF
14376 rm -f conftest.$ac_objext conftest$ac_exeext
14377 if { (ac_try="$ac_link"
14378 case "(($ac_try" in
14379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14380 *) ac_try_echo=$ac_try;;
14381 esac
14382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14383 (eval "$ac_link") 2>conftest.er1
14384 ac_status=$?
14385 grep -v '^ *+' conftest.er1 >conftest.err
14386 rm -f conftest.er1
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } && {
14390 test -z "$ac_c_werror_flag" ||
14391 test ! -s conftest.err
14392 } && test -s conftest$ac_exeext &&
14393 $as_test_x conftest$ac_exeext; then
14394 case "$LIBEXT" in
14395 dll) ;;
14396 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'` ;;
14397 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14398 esac
14399 else
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_check_soname_save_LIBS
14410 if test "x$ac_cv_lib_soname_cups" = "x"; then
14411 { echo "$as_me:$LINENO: result: not found" >&5
14412 echo "${ECHO_T}not found" >&6; }
14414 else
14415 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14416 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14418 cat >>confdefs.h <<_ACEOF
14419 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14420 _ACEOF
14426 if test "x$ac_cv_lib_soname_cups" = "x"; then
14427 wine_notices="$wine_notices|libcups development files not found.
14428 Wine will be built without CUPS support."
14432 if test "$ac_cv_header_jack_jack_h" = "yes"
14433 then
14434 { echo "$as_me:$LINENO: checking for -ljack" >&5
14435 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14436 if test "${ac_cv_lib_soname_jack+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14438 else
14439 ac_check_soname_save_LIBS=$LIBS
14440 LIBS="-ljack $LIBS"
14441 cat >conftest.$ac_ext <<_ACEOF
14442 /* confdefs.h. */
14443 _ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char jack_client_new ();
14456 main ()
14458 return jack_client_new ();
14460 return 0;
14462 _ACEOF
14463 rm -f conftest.$ac_objext conftest$ac_exeext
14464 if { (ac_try="$ac_link"
14465 case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14468 esac
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_link") 2>conftest.er1
14471 ac_status=$?
14472 grep -v '^ *+' conftest.er1 >conftest.err
14473 rm -f conftest.er1
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest$ac_exeext &&
14480 $as_test_x conftest$ac_exeext; then
14481 case "$LIBEXT" in
14482 dll) ;;
14483 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'` ;;
14484 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14485 esac
14486 else
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.$ac_ext >&5
14493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_soname_save_LIBS
14497 if test "x$ac_cv_lib_soname_jack" = "x"; then
14498 { echo "$as_me:$LINENO: result: not found" >&5
14499 echo "${ECHO_T}not found" >&6; }
14501 else
14502 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14503 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14505 cat >>confdefs.h <<_ACEOF
14506 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14507 _ACEOF
14514 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14515 then
14516 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14517 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14518 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 else
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lfontconfig $LIBS"
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14530 /* Override any GCC internal prototype to avoid an error.
14531 Use char because int might match the return type of a GCC
14532 builtin and then its argument prototype would still apply. */
14533 #ifdef __cplusplus
14534 extern "C"
14535 #endif
14536 char FcInit ();
14538 main ()
14540 return FcInit ();
14542 return 0;
14544 _ACEOF
14545 rm -f conftest.$ac_objext conftest$ac_exeext
14546 if { (ac_try="$ac_link"
14547 case "(($ac_try" in
14548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14549 *) ac_try_echo=$ac_try;;
14550 esac
14551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14552 (eval "$ac_link") 2>conftest.er1
14553 ac_status=$?
14554 grep -v '^ *+' conftest.er1 >conftest.err
14555 rm -f conftest.er1
14556 cat conftest.err >&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } && {
14559 test -z "$ac_c_werror_flag" ||
14560 test ! -s conftest.err
14561 } && test -s conftest$ac_exeext &&
14562 $as_test_x conftest$ac_exeext; then
14563 case "$LIBEXT" in
14564 dll) ;;
14565 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'` ;;
14566 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14567 esac
14568 else
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.$ac_ext >&5
14575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14576 conftest$ac_exeext conftest.$ac_ext
14577 LIBS=$ac_check_soname_save_LIBS
14579 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14580 { echo "$as_me:$LINENO: result: not found" >&5
14581 echo "${ECHO_T}not found" >&6; }
14583 else
14584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14585 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14587 cat >>confdefs.h <<_ACEOF
14588 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14589 _ACEOF
14595 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14596 wine_notices="$wine_notices|fontconfig development files not found.
14597 Wine will be built without fontconfig support."
14601 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14602 then
14603 { echo "$as_me:$LINENO: checking for -lssl" >&5
14604 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14605 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14607 else
14608 ac_check_soname_save_LIBS=$LIBS
14609 LIBS="-lssl $LIBS"
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14617 /* Override any GCC internal prototype to avoid an error.
14618 Use char because int might match the return type of a GCC
14619 builtin and then its argument prototype would still apply. */
14620 #ifdef __cplusplus
14621 extern "C"
14622 #endif
14623 char SSL_library_init ();
14625 main ()
14627 return SSL_library_init ();
14629 return 0;
14631 _ACEOF
14632 rm -f conftest.$ac_objext conftest$ac_exeext
14633 if { (ac_try="$ac_link"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14637 esac
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_link") 2>conftest.er1
14640 ac_status=$?
14641 grep -v '^ *+' conftest.er1 >conftest.err
14642 rm -f conftest.er1
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest$ac_exeext &&
14649 $as_test_x conftest$ac_exeext; then
14650 case "$LIBEXT" in
14651 dll) ;;
14652 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'` ;;
14653 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14654 esac
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14663 conftest$ac_exeext conftest.$ac_ext
14664 LIBS=$ac_check_soname_save_LIBS
14666 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14667 { echo "$as_me:$LINENO: result: not found" >&5
14668 echo "${ECHO_T}not found" >&6; }
14670 else
14671 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14672 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14674 cat >>confdefs.h <<_ACEOF
14675 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14676 _ACEOF
14681 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14682 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14683 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 else
14686 ac_check_soname_save_LIBS=$LIBS
14687 LIBS="-lcrypto $LIBS"
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14698 #ifdef __cplusplus
14699 extern "C"
14700 #endif
14701 char BIO_new_socket ();
14703 main ()
14705 return BIO_new_socket ();
14707 return 0;
14709 _ACEOF
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (ac_try="$ac_link"
14712 case "(($ac_try" in
14713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14715 esac
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_link") 2>conftest.er1
14718 ac_status=$?
14719 grep -v '^ *+' conftest.er1 >conftest.err
14720 rm -f conftest.er1
14721 cat conftest.err >&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } && {
14724 test -z "$ac_c_werror_flag" ||
14725 test ! -s conftest.err
14726 } && test -s conftest$ac_exeext &&
14727 $as_test_x conftest$ac_exeext; then
14728 case "$LIBEXT" in
14729 dll) ;;
14730 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'` ;;
14731 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14732 esac
14733 else
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_soname_save_LIBS
14744 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14745 { echo "$as_me:$LINENO: result: not found" >&5
14746 echo "${ECHO_T}not found" >&6; }
14748 else
14749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14750 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14752 cat >>confdefs.h <<_ACEOF
14753 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14754 _ACEOF
14760 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14761 wine_notices="$wine_notices|OpenSSL development files not found.
14762 Wine will be built without SSL support. (wininet.dll)"
14766 if test "$ac_cv_header_jpeglib_h" = "yes"
14767 then
14768 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14769 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14770 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773 ac_check_soname_save_LIBS=$LIBS
14774 LIBS="-ljpeg $LIBS"
14775 cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h. */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14782 /* Override any GCC internal prototype to avoid an error.
14783 Use char because int might match the return type of a GCC
14784 builtin and then its argument prototype would still apply. */
14785 #ifdef __cplusplus
14786 extern "C"
14787 #endif
14788 char jpeg_start_decompress ();
14790 main ()
14792 return jpeg_start_decompress ();
14794 return 0;
14796 _ACEOF
14797 rm -f conftest.$ac_objext conftest$ac_exeext
14798 if { (ac_try="$ac_link"
14799 case "(($ac_try" in
14800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14802 esac
14803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14804 (eval "$ac_link") 2>conftest.er1
14805 ac_status=$?
14806 grep -v '^ *+' conftest.er1 >conftest.err
14807 rm -f conftest.er1
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } && {
14811 test -z "$ac_c_werror_flag" ||
14812 test ! -s conftest.err
14813 } && test -s conftest$ac_exeext &&
14814 $as_test_x conftest$ac_exeext; then
14815 case "$LIBEXT" in
14816 dll) ;;
14817 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'` ;;
14818 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14819 esac
14820 else
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_soname_save_LIBS
14831 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14832 { echo "$as_me:$LINENO: result: not found" >&5
14833 echo "${ECHO_T}not found" >&6; }
14835 else
14836 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14837 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14839 cat >>confdefs.h <<_ACEOF
14840 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14841 _ACEOF
14847 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14848 wine_notices="$wine_notices|libjpeg development files not found.
14849 Wine will be built without JPEG support. (oleaut32.dll)"
14853 if test "$ac_cv_header_png_h" = "yes"
14854 then
14855 { echo "$as_me:$LINENO: checking for -lpng" >&5
14856 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_png+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 ac_check_soname_save_LIBS=$LIBS
14861 LIBS="-lpng $LIBS"
14862 cat >conftest.$ac_ext <<_ACEOF
14863 /* confdefs.h. */
14864 _ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14872 #ifdef __cplusplus
14873 extern "C"
14874 #endif
14875 char png_create_read_struct ();
14877 main ()
14879 return png_create_read_struct ();
14881 return 0;
14883 _ACEOF
14884 rm -f conftest.$ac_objext conftest$ac_exeext
14885 if { (ac_try="$ac_link"
14886 case "(($ac_try" in
14887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14888 *) ac_try_echo=$ac_try;;
14889 esac
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14892 ac_status=$?
14893 grep -v '^ *+' conftest.er1 >conftest.err
14894 rm -f conftest.er1
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest$ac_exeext &&
14901 $as_test_x conftest$ac_exeext; then
14902 case "$LIBEXT" in
14903 dll) ;;
14904 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'` ;;
14905 *) 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'` ;;
14906 esac
14907 else
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_soname_save_LIBS
14918 if test "x$ac_cv_lib_soname_png" = "x"; then
14919 { echo "$as_me:$LINENO: result: not found" >&5
14920 echo "${ECHO_T}not found" >&6; }
14922 else
14923 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14924 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14926 cat >>confdefs.h <<_ACEOF
14927 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14928 _ACEOF
14934 if test "x$ac_cv_lib_soname_png" = "x"; then
14935 wine_notices="$wine_notices|libpng development files not found.
14936 Wine will be built without PNG support. (oleaut32.dll)"
14940 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14941 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14942 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14943 "$ac_cv_header_soundcard_h" != "yes"; then
14944 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14949 EXTRACFLAGS=""
14951 if test "x${GCC}" = "xyes"
14952 then
14953 EXTRACFLAGS="-Wall -pipe"
14955 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14956 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14957 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 if test "$cross_compiling" = yes; then
14961 ac_cv_c_gcc_strength_bug="yes"
14962 else
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 int L[4] = {0,1,2,3};
14971 main ()
14973 static int Array[3];
14974 unsigned int B = 3;
14975 int i;
14976 for(i=0; i<B; i++) Array[i] = i - 3;
14977 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14978 L[i] = 4;
14979 exit( Array[1] != -2 || L[2] != 3)
14981 return 0;
14983 _ACEOF
14984 rm -f conftest$ac_exeext
14985 if { (ac_try="$ac_link"
14986 case "(($ac_try" in
14987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14989 esac
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_link") 2>&5
14992 ac_status=$?
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15004 ac_cv_c_gcc_strength_bug="no"
15005 else
15006 echo "$as_me: program exited with status $ac_status" >&5
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.$ac_ext >&5
15010 ( exit $ac_status )
15011 ac_cv_c_gcc_strength_bug="yes"
15013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15018 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15019 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15020 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15021 then
15022 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15026 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15027 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15028 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031 ac_wine_try_cflags_saved=$CFLAGS
15032 CFLAGS="$CFLAGS -fshort-wchar"
15033 cat >conftest.$ac_ext <<_ACEOF
15034 /* confdefs.h. */
15035 _ACEOF
15036 cat confdefs.h >>conftest.$ac_ext
15037 cat >>conftest.$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15041 main ()
15045 return 0;
15047 _ACEOF
15048 rm -f conftest.$ac_objext conftest$ac_exeext
15049 if { (ac_try="$ac_link"
15050 case "(($ac_try" in
15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15053 esac
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_link") 2>conftest.er1
15056 ac_status=$?
15057 grep -v '^ *+' conftest.er1 >conftest.err
15058 rm -f conftest.er1
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && {
15062 test -z "$ac_c_werror_flag" ||
15063 test ! -s conftest.err
15064 } && test -s conftest$ac_exeext &&
15065 $as_test_x conftest$ac_exeext; then
15066 ac_cv_cflags__fshort_wchar=yes
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15071 ac_cv_cflags__fshort_wchar=no
15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15075 conftest$ac_exeext conftest.$ac_ext
15076 CFLAGS=$ac_wine_try_cflags_saved
15078 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15079 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15080 if test $ac_cv_cflags__fshort_wchar = yes; then
15082 cat >>confdefs.h <<\_ACEOF
15083 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15084 _ACEOF
15088 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15089 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15090 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 else
15093 ac_wine_try_cflags_saved=$CFLAGS
15094 CFLAGS="$CFLAGS -fno-strict-aliasing"
15095 cat >conftest.$ac_ext <<_ACEOF
15096 /* confdefs.h. */
15097 _ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15103 main ()
15107 return 0;
15109 _ACEOF
15110 rm -f conftest.$ac_objext conftest$ac_exeext
15111 if { (ac_try="$ac_link"
15112 case "(($ac_try" in
15113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15114 *) ac_try_echo=$ac_try;;
15115 esac
15116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 (eval "$ac_link") 2>conftest.er1
15118 ac_status=$?
15119 grep -v '^ *+' conftest.er1 >conftest.err
15120 rm -f conftest.er1
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && {
15124 test -z "$ac_c_werror_flag" ||
15125 test ! -s conftest.err
15126 } && test -s conftest$ac_exeext &&
15127 $as_test_x conftest$ac_exeext; then
15128 ac_cv_cflags__fno_strict_aliasing=yes
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 ac_cv_cflags__fno_strict_aliasing=no
15136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15137 conftest$ac_exeext conftest.$ac_ext
15138 CFLAGS=$ac_wine_try_cflags_saved
15140 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15141 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15142 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15143 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15146 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15147 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15148 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15150 else
15151 ac_wine_try_cflags_saved=$CFLAGS
15152 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15153 cat >conftest.$ac_ext <<_ACEOF
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15161 main ()
15165 return 0;
15167 _ACEOF
15168 rm -f conftest.$ac_objext conftest$ac_exeext
15169 if { (ac_try="$ac_link"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_link") 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest$ac_exeext &&
15185 $as_test_x conftest$ac_exeext; then
15186 ac_cv_cflags__Wdeclaration_after_statement=yes
15187 else
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15191 ac_cv_cflags__Wdeclaration_after_statement=no
15194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15195 conftest$ac_exeext conftest.$ac_ext
15196 CFLAGS=$ac_wine_try_cflags_saved
15198 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15199 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15200 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15201 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15204 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15205 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15206 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 else
15209 ac_wine_try_cflags_saved=$CFLAGS
15210 CFLAGS="$CFLAGS -Wwrite-strings"
15211 cat >conftest.$ac_ext <<_ACEOF
15212 /* confdefs.h. */
15213 _ACEOF
15214 cat confdefs.h >>conftest.$ac_ext
15215 cat >>conftest.$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15219 main ()
15223 return 0;
15225 _ACEOF
15226 rm -f conftest.$ac_objext conftest$ac_exeext
15227 if { (ac_try="$ac_link"
15228 case "(($ac_try" in
15229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 *) ac_try_echo=$ac_try;;
15231 esac
15232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_link") 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } && {
15240 test -z "$ac_c_werror_flag" ||
15241 test ! -s conftest.err
15242 } && test -s conftest$ac_exeext &&
15243 $as_test_x conftest$ac_exeext; then
15244 ac_cv_cflags__Wwrite_strings=yes
15245 else
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.$ac_ext >&5
15249 ac_cv_cflags__Wwrite_strings=no
15252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15253 conftest$ac_exeext conftest.$ac_ext
15254 CFLAGS=$ac_wine_try_cflags_saved
15256 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15257 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15258 if test $ac_cv_cflags__Wwrite_strings = yes; then
15259 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15263 saved_CFLAGS="$CFLAGS"
15264 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15265 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15266 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15267 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 cat >conftest.$ac_ext <<_ACEOF
15271 /* confdefs.h. */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 #include <string.h>
15278 main ()
15282 return 0;
15284 _ACEOF
15285 rm -f conftest.$ac_objext
15286 if { (ac_try="$ac_compile"
15287 case "(($ac_try" in
15288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15289 *) ac_try_echo=$ac_try;;
15290 esac
15291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15292 (eval "$ac_compile") 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && {
15299 test -z "$ac_c_werror_flag" ||
15300 test ! -s conftest.err
15301 } && test -s conftest.$ac_objext; then
15302 ac_cv_c_string_h_warnings=no
15303 else
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15307 ac_cv_c_string_h_warnings=yes
15310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15313 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15314 CFLAGS="$saved_CFLAGS"
15315 if test "$ac_cv_c_string_h_warnings" = "no"
15316 then
15317 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15320 BUILTINFLAG=""
15322 saved_CFLAGS="$CFLAGS"
15323 CFLAGS="$CFLAGS -Werror"
15324 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15325 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15326 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 else
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15337 main ()
15339 int iswlower(unsigned short);
15341 return 0;
15343 _ACEOF
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348 *) ac_try_echo=$ac_try;;
15349 esac
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15352 ac_status=$?
15353 grep -v '^ *+' conftest.er1 >conftest.err
15354 rm -f conftest.er1
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.$ac_objext; then
15361 ac_cv_c_builtin_wchar_ctype=no
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15366 ac_cv_c_builtin_wchar_ctype=yes
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15372 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15373 CFLAGS="$saved_CFLAGS"
15374 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15375 then
15376 BUILTINFLAG="-fno-builtin"
15381 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15382 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15383 if test "${ac_cv_asm_func_def+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15394 main ()
15396 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15398 return 0;
15400 _ACEOF
15401 rm -f conftest.$ac_objext conftest$ac_exeext
15402 if { (ac_try="$ac_link"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_link") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest$ac_exeext &&
15418 $as_test_x conftest$ac_exeext; then
15419 ac_cv_asm_func_def=".def"
15420 else
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 cat >conftest.$ac_ext <<_ACEOF
15425 /* confdefs.h. */
15426 _ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15432 main ()
15434 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15436 return 0;
15438 _ACEOF
15439 rm -f conftest.$ac_objext conftest$ac_exeext
15440 if { (ac_try="$ac_link"
15441 case "(($ac_try" in
15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15444 esac
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_link") 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && {
15453 test -z "$ac_c_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest$ac_exeext &&
15456 $as_test_x conftest$ac_exeext; then
15457 ac_cv_asm_func_def=".type @function"
15458 else
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15462 cat >conftest.$ac_ext <<_ACEOF
15463 /* confdefs.h. */
15464 _ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15470 main ()
15472 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15474 return 0;
15476 _ACEOF
15477 rm -f conftest.$ac_objext conftest$ac_exeext
15478 if { (ac_try="$ac_link"
15479 case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_link") 2>conftest.er1
15485 ac_status=$?
15486 grep -v '^ *+' conftest.er1 >conftest.err
15487 rm -f conftest.er1
15488 cat conftest.err >&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } && {
15491 test -z "$ac_c_werror_flag" ||
15492 test ! -s conftest.err
15493 } && test -s conftest$ac_exeext &&
15494 $as_test_x conftest$ac_exeext; then
15495 ac_cv_asm_func_def=".type 2"
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 ac_cv_asm_func_def="unknown"
15503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15504 conftest$ac_exeext conftest.$ac_ext
15507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15508 conftest$ac_exeext conftest.$ac_ext
15511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15512 conftest$ac_exeext conftest.$ac_ext
15514 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15515 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15519 case "$ac_cv_asm_func_def" in
15520 ".def")
15521 cat >>confdefs.h <<\_ACEOF
15522 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15523 _ACEOF
15525 ".type @function")
15526 cat >>confdefs.h <<\_ACEOF
15527 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15528 _ACEOF
15530 ".type 2")
15531 cat >>confdefs.h <<\_ACEOF
15532 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15533 _ACEOF
15536 cat >>confdefs.h <<\_ACEOF
15537 #define __ASM_FUNC(name) ""
15538 _ACEOF
15540 esac
15543 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15544 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15545 if test "${ac_cv_c_extern_prefix+set}" = set; then
15546 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 else
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 extern int ac_test;
15556 main ()
15558 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15560 return 0;
15562 _ACEOF
15563 rm -f conftest.$ac_objext conftest$ac_exeext
15564 if { (ac_try="$ac_link"
15565 case "(($ac_try" in
15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15568 esac
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_link") 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && {
15577 test -z "$ac_c_werror_flag" ||
15578 test ! -s conftest.err
15579 } && test -s conftest$ac_exeext &&
15580 $as_test_x conftest$ac_exeext; then
15581 ac_cv_c_extern_prefix="yes"
15582 else
15583 echo "$as_me: failed program was:" >&5
15584 sed 's/^/| /' conftest.$ac_ext >&5
15586 ac_cv_c_extern_prefix="no"
15589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15590 conftest$ac_exeext conftest.$ac_ext
15592 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15593 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15597 if test "$ac_cv_c_extern_prefix" = "yes"
15598 then
15599 cat >>confdefs.h <<\_ACEOF
15600 #define __ASM_NAME(name) "_" name
15601 _ACEOF
15603 else
15604 cat >>confdefs.h <<\_ACEOF
15605 #define __ASM_NAME(name) name
15606 _ACEOF
15611 LDPATH=""
15613 case $build_os in
15614 cygwin*|mingw32*)
15615 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15617 darwin*|macosx*)
15619 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15620 then
15621 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15625 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15627 esac
15629 case $host_os in
15630 mingw32*)
15631 CRTLIBS="-lmsvcrt"
15633 SOCKETLIBS="-lws2_32"
15636 esac
15638 MAIN_BINARY="wine-pthread"
15639 case $host_cpu in
15640 *i[3456789]86*)
15641 case $host_os in
15642 linux* | k*bsd*-gnu)
15643 MAIN_BINARY="wine-glibc"
15645 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15647 esac
15649 esac
15713 for ac_func in \
15714 _pclose \
15715 _popen \
15716 _snprintf \
15717 _spawnvp \
15718 _stricmp \
15719 _strnicmp \
15720 _vsnprintf \
15721 asctime_r \
15722 chsize \
15723 clone \
15724 dlopen \
15725 epoll_create \
15726 ffs \
15727 finite \
15728 fork \
15729 fpclass \
15730 fstatfs \
15731 fstatvfs \
15732 ftruncate \
15733 futimes \
15734 futimesat \
15735 getdirentries \
15736 getopt_long \
15737 getpagesize \
15738 getpwuid \
15739 gettid \
15740 gettimeofday \
15741 getuid \
15742 inet_pton \
15743 kqueue \
15744 lstat \
15745 memmove \
15746 mmap \
15747 pclose \
15748 poll \
15749 popen \
15750 prctl \
15751 pread \
15752 pwrite \
15753 readlink \
15754 rfork \
15755 sched_yield \
15756 select \
15757 setrlimit \
15758 settimeofday \
15759 sigaltstack \
15760 sigprocmask \
15761 snprintf \
15762 spawnvp \
15763 statfs \
15764 statvfs \
15765 strcasecmp \
15766 strerror \
15767 strncasecmp \
15768 strtold \
15769 tcgetattr \
15770 timegm \
15771 usleep \
15772 vsnprintf \
15773 wait4 \
15774 waitpid \
15777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15791 #define $ac_func innocuous_$ac_func
15793 /* System header to define __stub macros and hopefully few prototypes,
15794 which can conflict with char $ac_func (); below.
15795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15796 <limits.h> exists even on freestanding compilers. */
15798 #ifdef __STDC__
15799 # include <limits.h>
15800 #else
15801 # include <assert.h>
15802 #endif
15804 #undef $ac_func
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char $ac_func ();
15813 /* The GNU C library defines this for functions which it implements
15814 to always fail with ENOSYS. Some functions are actually named
15815 something starting with __ and the normal name is an alias. */
15816 #if defined __stub_$ac_func || defined __stub___$ac_func
15817 choke me
15818 #endif
15821 main ()
15823 return $ac_func ();
15825 return 0;
15827 _ACEOF
15828 rm -f conftest.$ac_objext conftest$ac_exeext
15829 if { (ac_try="$ac_link"
15830 case "(($ac_try" in
15831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15833 esac
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_link") 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest$ac_exeext &&
15845 $as_test_x conftest$ac_exeext; then
15846 eval "$as_ac_var=yes"
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 eval "$as_ac_var=no"
15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15855 conftest$ac_exeext conftest.$ac_ext
15857 ac_res=`eval echo '${'$as_ac_var'}'`
15858 { echo "$as_me:$LINENO: result: $ac_res" >&5
15859 echo "${ECHO_T}$ac_res" >&6; }
15860 if test `eval echo '${'$as_ac_var'}'` = yes; then
15861 cat >>confdefs.h <<_ACEOF
15862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15863 _ACEOF
15866 done
15869 if test "$ac_cv_func_dlopen" = no
15870 then
15871 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15872 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 ac_check_lib_save_LIBS=$LIBS
15877 LIBS="-ldl $LIBS"
15878 cat >conftest.$ac_ext <<_ACEOF
15879 /* confdefs.h. */
15880 _ACEOF
15881 cat confdefs.h >>conftest.$ac_ext
15882 cat >>conftest.$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15888 #ifdef __cplusplus
15889 extern "C"
15890 #endif
15891 char dlopen ();
15893 main ()
15895 return dlopen ();
15897 return 0;
15899 _ACEOF
15900 rm -f conftest.$ac_objext conftest$ac_exeext
15901 if { (ac_try="$ac_link"
15902 case "(($ac_try" in
15903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15904 *) ac_try_echo=$ac_try;;
15905 esac
15906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15907 (eval "$ac_link") 2>conftest.er1
15908 ac_status=$?
15909 grep -v '^ *+' conftest.er1 >conftest.err
15910 rm -f conftest.er1
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } && {
15914 test -z "$ac_c_werror_flag" ||
15915 test ! -s conftest.err
15916 } && test -s conftest$ac_exeext &&
15917 $as_test_x conftest$ac_exeext; then
15918 ac_cv_lib_dl_dlopen=yes
15919 else
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15923 ac_cv_lib_dl_dlopen=no
15926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15927 conftest$ac_exeext conftest.$ac_ext
15928 LIBS=$ac_check_lib_save_LIBS
15930 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15931 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15932 if test $ac_cv_lib_dl_dlopen = yes; then
15933 cat >>confdefs.h <<\_ACEOF
15934 #define HAVE_DLOPEN 1
15935 _ACEOF
15936 LIBDL="-ldl"
15941 ac_wine_check_funcs_save_LIBS="$LIBS"
15942 LIBS="$LIBS $LIBDL"
15944 for ac_func in dladdr
15946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15960 #define $ac_func innocuous_$ac_func
15962 /* System header to define __stub macros and hopefully few prototypes,
15963 which can conflict with char $ac_func (); below.
15964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15965 <limits.h> exists even on freestanding compilers. */
15967 #ifdef __STDC__
15968 # include <limits.h>
15969 #else
15970 # include <assert.h>
15971 #endif
15973 #undef $ac_func
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 #ifdef __cplusplus
15979 extern "C"
15980 #endif
15981 char $ac_func ();
15982 /* The GNU C library defines this for functions which it implements
15983 to always fail with ENOSYS. Some functions are actually named
15984 something starting with __ and the normal name is an alias. */
15985 #if defined __stub_$ac_func || defined __stub___$ac_func
15986 choke me
15987 #endif
15990 main ()
15992 return $ac_func ();
15994 return 0;
15996 _ACEOF
15997 rm -f conftest.$ac_objext conftest$ac_exeext
15998 if { (ac_try="$ac_link"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16002 esac
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_link") 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_c_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest$ac_exeext &&
16014 $as_test_x conftest$ac_exeext; then
16015 eval "$as_ac_var=yes"
16016 else
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.$ac_ext >&5
16020 eval "$as_ac_var=no"
16023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024 conftest$ac_exeext conftest.$ac_ext
16026 ac_res=`eval echo '${'$as_ac_var'}'`
16027 { echo "$as_me:$LINENO: result: $ac_res" >&5
16028 echo "${ECHO_T}$ac_res" >&6; }
16029 if test `eval echo '${'$as_ac_var'}'` = yes; then
16030 cat >>confdefs.h <<_ACEOF
16031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16032 _ACEOF
16035 done
16037 LIBS="$ac_wine_check_funcs_save_LIBS"
16039 if test "$ac_cv_func_poll" = no
16040 then
16041 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16042 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16043 if test "${ac_cv_lib_poll_poll+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16045 else
16046 ac_check_lib_save_LIBS=$LIBS
16047 LIBS="-lpoll $LIBS"
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16058 #ifdef __cplusplus
16059 extern "C"
16060 #endif
16061 char poll ();
16063 main ()
16065 return poll ();
16067 return 0;
16069 _ACEOF
16070 rm -f conftest.$ac_objext conftest$ac_exeext
16071 if { (ac_try="$ac_link"
16072 case "(($ac_try" in
16073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16074 *) ac_try_echo=$ac_try;;
16075 esac
16076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16077 (eval "$ac_link") 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } && {
16084 test -z "$ac_c_werror_flag" ||
16085 test ! -s conftest.err
16086 } && test -s conftest$ac_exeext &&
16087 $as_test_x conftest$ac_exeext; then
16088 ac_cv_lib_poll_poll=yes
16089 else
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.$ac_ext >&5
16093 ac_cv_lib_poll_poll=no
16096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16097 conftest$ac_exeext conftest.$ac_ext
16098 LIBS=$ac_check_lib_save_LIBS
16100 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16101 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16102 if test $ac_cv_lib_poll_poll = yes; then
16103 cat >>confdefs.h <<\_ACEOF
16104 #define HAVE_POLL 1
16105 _ACEOF
16106 LIBPOLL="-lpoll"
16112 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16113 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16114 if test "${ac_cv_search_gethostbyname+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 else
16117 ac_func_search_save_LIBS=$LIBS
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h. */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16128 #ifdef __cplusplus
16129 extern "C"
16130 #endif
16131 char gethostbyname ();
16133 main ()
16135 return gethostbyname ();
16137 return 0;
16139 _ACEOF
16140 for ac_lib in '' nsl; do
16141 if test -z "$ac_lib"; then
16142 ac_res="none required"
16143 else
16144 ac_res=-l$ac_lib
16145 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16147 rm -f conftest.$ac_objext conftest$ac_exeext
16148 if { (ac_try="$ac_link"
16149 case "(($ac_try" in
16150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16152 esac
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_link") 2>conftest.er1
16155 ac_status=$?
16156 grep -v '^ *+' conftest.er1 >conftest.err
16157 rm -f conftest.er1
16158 cat conftest.err >&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest$ac_exeext &&
16164 $as_test_x conftest$ac_exeext; then
16165 ac_cv_search_gethostbyname=$ac_res
16166 else
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16174 conftest$ac_exeext
16175 if test "${ac_cv_search_gethostbyname+set}" = set; then
16176 break
16178 done
16179 if test "${ac_cv_search_gethostbyname+set}" = set; then
16181 else
16182 ac_cv_search_gethostbyname=no
16184 rm conftest.$ac_ext
16185 LIBS=$ac_func_search_save_LIBS
16187 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16188 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16189 ac_res=$ac_cv_search_gethostbyname
16190 if test "$ac_res" != no; then
16191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16196 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16197 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16198 if test "${ac_cv_search_connect+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 else
16201 ac_func_search_save_LIBS=$LIBS
16202 cat >conftest.$ac_ext <<_ACEOF
16203 /* confdefs.h. */
16204 _ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16212 #ifdef __cplusplus
16213 extern "C"
16214 #endif
16215 char connect ();
16217 main ()
16219 return connect ();
16221 return 0;
16223 _ACEOF
16224 for ac_lib in '' socket; do
16225 if test -z "$ac_lib"; then
16226 ac_res="none required"
16227 else
16228 ac_res=-l$ac_lib
16229 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16231 rm -f conftest.$ac_objext conftest$ac_exeext
16232 if { (ac_try="$ac_link"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_link") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest$ac_exeext &&
16248 $as_test_x conftest$ac_exeext; then
16249 ac_cv_search_connect=$ac_res
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16258 conftest$ac_exeext
16259 if test "${ac_cv_search_connect+set}" = set; then
16260 break
16262 done
16263 if test "${ac_cv_search_connect+set}" = set; then
16265 else
16266 ac_cv_search_connect=no
16268 rm conftest.$ac_ext
16269 LIBS=$ac_func_search_save_LIBS
16271 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16272 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16273 ac_res=$ac_cv_search_connect
16274 if test "$ac_res" != no; then
16275 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16280 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16281 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16282 if test "${ac_cv_search_inet_aton+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 else
16285 ac_func_search_save_LIBS=$LIBS
16286 cat >conftest.$ac_ext <<_ACEOF
16287 /* confdefs.h. */
16288 _ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16296 #ifdef __cplusplus
16297 extern "C"
16298 #endif
16299 char inet_aton ();
16301 main ()
16303 return inet_aton ();
16305 return 0;
16307 _ACEOF
16308 for ac_lib in '' resolv; do
16309 if test -z "$ac_lib"; then
16310 ac_res="none required"
16311 else
16312 ac_res=-l$ac_lib
16313 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (ac_try="$ac_link"
16317 case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16320 esac
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16323 ac_status=$?
16324 grep -v '^ *+' conftest.er1 >conftest.err
16325 rm -f conftest.er1
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_search_inet_aton=$ac_res
16334 else
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16342 conftest$ac_exeext
16343 if test "${ac_cv_search_inet_aton+set}" = set; then
16344 break
16346 done
16347 if test "${ac_cv_search_inet_aton+set}" = set; then
16349 else
16350 ac_cv_search_inet_aton=no
16352 rm conftest.$ac_ext
16353 LIBS=$ac_func_search_save_LIBS
16355 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16356 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16357 ac_res=$ac_cv_search_inet_aton
16358 if test "$ac_res" != no; then
16359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16372 for ac_func in \
16373 getaddrinfo \
16374 getnameinfo \
16375 getnetbyname \
16376 getprotobyname \
16377 getprotobynumber \
16378 getservbyport \
16379 inet_network \
16380 sendmsg \
16383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 else
16389 cat >conftest.$ac_ext <<_ACEOF
16390 /* confdefs.h. */
16391 _ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16397 #define $ac_func innocuous_$ac_func
16399 /* System header to define __stub macros and hopefully few prototypes,
16400 which can conflict with char $ac_func (); below.
16401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16402 <limits.h> exists even on freestanding compilers. */
16404 #ifdef __STDC__
16405 # include <limits.h>
16406 #else
16407 # include <assert.h>
16408 #endif
16410 #undef $ac_func
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16415 #ifdef __cplusplus
16416 extern "C"
16417 #endif
16418 char $ac_func ();
16419 /* The GNU C library defines this for functions which it implements
16420 to always fail with ENOSYS. Some functions are actually named
16421 something starting with __ and the normal name is an alias. */
16422 #if defined __stub_$ac_func || defined __stub___$ac_func
16423 choke me
16424 #endif
16427 main ()
16429 return $ac_func ();
16431 return 0;
16433 _ACEOF
16434 rm -f conftest.$ac_objext conftest$ac_exeext
16435 if { (ac_try="$ac_link"
16436 case "(($ac_try" in
16437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16438 *) ac_try_echo=$ac_try;;
16439 esac
16440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16441 (eval "$ac_link") 2>conftest.er1
16442 ac_status=$?
16443 grep -v '^ *+' conftest.er1 >conftest.err
16444 rm -f conftest.er1
16445 cat conftest.err >&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } && {
16448 test -z "$ac_c_werror_flag" ||
16449 test ! -s conftest.err
16450 } && test -s conftest$ac_exeext &&
16451 $as_test_x conftest$ac_exeext; then
16452 eval "$as_ac_var=yes"
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16457 eval "$as_ac_var=no"
16460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16461 conftest$ac_exeext conftest.$ac_ext
16463 ac_res=`eval echo '${'$as_ac_var'}'`
16464 { echo "$as_me:$LINENO: result: $ac_res" >&5
16465 echo "${ECHO_T}$ac_res" >&6; }
16466 if test `eval echo '${'$as_ac_var'}'` = yes; then
16467 cat >>confdefs.h <<_ACEOF
16468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16469 _ACEOF
16472 done
16476 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16477 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16478 if test "${ac_cv_c_const+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16480 else
16481 cat >conftest.$ac_ext <<_ACEOF
16482 /* confdefs.h. */
16483 _ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16489 main ()
16491 /* FIXME: Include the comments suggested by Paul. */
16492 #ifndef __cplusplus
16493 /* Ultrix mips cc rejects this. */
16494 typedef int charset[2];
16495 const charset cs;
16496 /* SunOS 4.1.1 cc rejects this. */
16497 char const *const *pcpcc;
16498 char **ppc;
16499 /* NEC SVR4.0.2 mips cc rejects this. */
16500 struct point {int x, y;};
16501 static struct point const zero = {0,0};
16502 /* AIX XL C 1.02.0.0 rejects this.
16503 It does not let you subtract one const X* pointer from another in
16504 an arm of an if-expression whose if-part is not a constant
16505 expression */
16506 const char *g = "string";
16507 pcpcc = &g + (g ? g-g : 0);
16508 /* HPUX 7.0 cc rejects these. */
16509 ++pcpcc;
16510 ppc = (char**) pcpcc;
16511 pcpcc = (char const *const *) ppc;
16512 { /* SCO 3.2v4 cc rejects this. */
16513 char *t;
16514 char const *s = 0 ? (char *) 0 : (char const *) 0;
16516 *t++ = 0;
16517 if (s) return 0;
16519 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16520 int x[] = {25, 17};
16521 const int *foo = &x[0];
16522 ++foo;
16524 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16525 typedef const int *iptr;
16526 iptr p = 0;
16527 ++p;
16529 { /* AIX XL C 1.02.0.0 rejects this saying
16530 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16531 struct s { int j; const int *ap[3]; };
16532 struct s *b; b->j = 5;
16534 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16535 const int foo = 10;
16536 if (!foo) return 0;
16538 return !cs[0] && !zero.x;
16539 #endif
16542 return 0;
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (ac_try="$ac_compile"
16547 case "(($ac_try" in
16548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16549 *) ac_try_echo=$ac_try;;
16550 esac
16551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16552 (eval "$ac_compile") 2>conftest.er1
16553 ac_status=$?
16554 grep -v '^ *+' conftest.er1 >conftest.err
16555 rm -f conftest.er1
16556 cat conftest.err >&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); } && {
16559 test -z "$ac_c_werror_flag" ||
16560 test ! -s conftest.err
16561 } && test -s conftest.$ac_objext; then
16562 ac_cv_c_const=yes
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16567 ac_cv_c_const=no
16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16573 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16574 if test $ac_cv_c_const = no; then
16576 cat >>confdefs.h <<\_ACEOF
16577 #define const
16578 _ACEOF
16582 { echo "$as_me:$LINENO: checking for inline" >&5
16583 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16584 if test "${ac_cv_c_inline+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 ac_cv_c_inline=no
16588 for ac_kw in inline __inline__ __inline; do
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #ifndef __cplusplus
16596 typedef int foo_t;
16597 static $ac_kw foo_t static_foo () {return 0; }
16598 $ac_kw foo_t foo () {return 0; }
16599 #endif
16601 _ACEOF
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16607 esac
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.$ac_objext; then
16619 ac_cv_c_inline=$ac_kw
16620 else
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 test "$ac_cv_c_inline" != no && break
16629 done
16632 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16633 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16636 case $ac_cv_c_inline in
16637 inline | yes) ;;
16639 case $ac_cv_c_inline in
16640 no) ac_val=;;
16641 *) ac_val=$ac_cv_c_inline;;
16642 esac
16643 cat >>confdefs.h <<_ACEOF
16644 #ifndef __cplusplus
16645 #define inline $ac_val
16646 #endif
16647 _ACEOF
16649 esac
16651 { echo "$as_me:$LINENO: checking for mode_t" >&5
16652 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16653 if test "${ac_cv_type_mode_t+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656 cat >conftest.$ac_ext <<_ACEOF
16657 /* confdefs.h. */
16658 _ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 $ac_includes_default
16663 typedef mode_t ac__type_new_;
16665 main ()
16667 if ((ac__type_new_ *) 0)
16668 return 0;
16669 if (sizeof (ac__type_new_))
16670 return 0;
16672 return 0;
16674 _ACEOF
16675 rm -f conftest.$ac_objext
16676 if { (ac_try="$ac_compile"
16677 case "(($ac_try" in
16678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16679 *) ac_try_echo=$ac_try;;
16680 esac
16681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16682 (eval "$ac_compile") 2>conftest.er1
16683 ac_status=$?
16684 grep -v '^ *+' conftest.er1 >conftest.err
16685 rm -f conftest.er1
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } && {
16689 test -z "$ac_c_werror_flag" ||
16690 test ! -s conftest.err
16691 } && test -s conftest.$ac_objext; then
16692 ac_cv_type_mode_t=yes
16693 else
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.$ac_ext >&5
16697 ac_cv_type_mode_t=no
16700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16702 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16703 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16704 if test $ac_cv_type_mode_t = yes; then
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_MODE_T 1
16708 _ACEOF
16712 { echo "$as_me:$LINENO: checking for off_t" >&5
16713 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16714 if test "${ac_cv_type_off_t+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 else
16717 cat >conftest.$ac_ext <<_ACEOF
16718 /* confdefs.h. */
16719 _ACEOF
16720 cat confdefs.h >>conftest.$ac_ext
16721 cat >>conftest.$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 $ac_includes_default
16724 typedef off_t ac__type_new_;
16726 main ()
16728 if ((ac__type_new_ *) 0)
16729 return 0;
16730 if (sizeof (ac__type_new_))
16731 return 0;
16733 return 0;
16735 _ACEOF
16736 rm -f conftest.$ac_objext
16737 if { (ac_try="$ac_compile"
16738 case "(($ac_try" in
16739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740 *) ac_try_echo=$ac_try;;
16741 esac
16742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16743 (eval "$ac_compile") 2>conftest.er1
16744 ac_status=$?
16745 grep -v '^ *+' conftest.er1 >conftest.err
16746 rm -f conftest.er1
16747 cat conftest.err >&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } && {
16750 test -z "$ac_c_werror_flag" ||
16751 test ! -s conftest.err
16752 } && test -s conftest.$ac_objext; then
16753 ac_cv_type_off_t=yes
16754 else
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16758 ac_cv_type_off_t=no
16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16763 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16764 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16765 if test $ac_cv_type_off_t = yes; then
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_OFF_T 1
16769 _ACEOF
16773 { echo "$as_me:$LINENO: checking for pid_t" >&5
16774 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16775 if test "${ac_cv_type_pid_t+set}" = set; then
16776 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 else
16778 cat >conftest.$ac_ext <<_ACEOF
16779 /* confdefs.h. */
16780 _ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 $ac_includes_default
16785 typedef pid_t ac__type_new_;
16787 main ()
16789 if ((ac__type_new_ *) 0)
16790 return 0;
16791 if (sizeof (ac__type_new_))
16792 return 0;
16794 return 0;
16796 _ACEOF
16797 rm -f conftest.$ac_objext
16798 if { (ac_try="$ac_compile"
16799 case "(($ac_try" in
16800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16802 esac
16803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16804 (eval "$ac_compile") 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } && {
16811 test -z "$ac_c_werror_flag" ||
16812 test ! -s conftest.err
16813 } && test -s conftest.$ac_objext; then
16814 ac_cv_type_pid_t=yes
16815 else
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_cv_type_pid_t=no
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16825 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16826 if test $ac_cv_type_pid_t = yes; then
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_PID_T 1
16830 _ACEOF
16834 { echo "$as_me:$LINENO: checking for size_t" >&5
16835 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16836 if test "${ac_cv_type_size_t+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 else
16839 cat >conftest.$ac_ext <<_ACEOF
16840 /* confdefs.h. */
16841 _ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16846 typedef size_t ac__type_new_;
16848 main ()
16850 if ((ac__type_new_ *) 0)
16851 return 0;
16852 if (sizeof (ac__type_new_))
16853 return 0;
16855 return 0;
16857 _ACEOF
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16863 esac
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.$ac_objext; then
16875 ac_cv_type_size_t=yes
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16880 ac_cv_type_size_t=no
16883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16886 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16887 if test $ac_cv_type_size_t = yes; then
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_SIZE_T 1
16891 _ACEOF
16895 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16896 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16897 if test "${ac_cv_type_ssize_t+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 cat >conftest.$ac_ext <<_ACEOF
16901 /* confdefs.h. */
16902 _ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 $ac_includes_default
16907 typedef ssize_t ac__type_new_;
16909 main ()
16911 if ((ac__type_new_ *) 0)
16912 return 0;
16913 if (sizeof (ac__type_new_))
16914 return 0;
16916 return 0;
16918 _ACEOF
16919 rm -f conftest.$ac_objext
16920 if { (ac_try="$ac_compile"
16921 case "(($ac_try" in
16922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16923 *) ac_try_echo=$ac_try;;
16924 esac
16925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926 (eval "$ac_compile") 2>conftest.er1
16927 ac_status=$?
16928 grep -v '^ *+' conftest.er1 >conftest.err
16929 rm -f conftest.er1
16930 cat conftest.err >&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } && {
16933 test -z "$ac_c_werror_flag" ||
16934 test ! -s conftest.err
16935 } && test -s conftest.$ac_objext; then
16936 ac_cv_type_ssize_t=yes
16937 else
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 ac_cv_type_ssize_t=no
16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16946 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16947 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16948 if test $ac_cv_type_ssize_t = yes; then
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_SSIZE_T 1
16952 _ACEOF
16956 { echo "$as_me:$LINENO: checking for long long" >&5
16957 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16958 if test "${ac_cv_type_long_long+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 $ac_includes_default
16968 typedef long long ac__type_new_;
16970 main ()
16972 if ((ac__type_new_ *) 0)
16973 return 0;
16974 if (sizeof (ac__type_new_))
16975 return 0;
16977 return 0;
16979 _ACEOF
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 ac_cv_type_long_long=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17002 ac_cv_type_long_long=no
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17008 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17009 if test $ac_cv_type_long_long = yes; then
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_LONG_LONG 1
17013 _ACEOF
17017 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17018 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17019 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h. */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 $ac_includes_default
17029 typedef fsblkcnt_t ac__type_new_;
17031 main ()
17033 if ((ac__type_new_ *) 0)
17034 return 0;
17035 if (sizeof (ac__type_new_))
17036 return 0;
17038 return 0;
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17046 esac
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_c_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 ac_cv_type_fsblkcnt_t=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_cv_type_fsblkcnt_t=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17069 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17070 if test $ac_cv_type_fsblkcnt_t = yes; then
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_FSBLKCNT_T 1
17074 _ACEOF
17078 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17079 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17080 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 else
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17090 typedef fsfilcnt_t ac__type_new_;
17092 main ()
17094 if ((ac__type_new_ *) 0)
17095 return 0;
17096 if (sizeof (ac__type_new_))
17097 return 0;
17099 return 0;
17101 _ACEOF
17102 rm -f conftest.$ac_objext
17103 if { (ac_try="$ac_compile"
17104 case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17107 esac
17108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_compile") 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } && {
17116 test -z "$ac_c_werror_flag" ||
17117 test ! -s conftest.err
17118 } && test -s conftest.$ac_objext; then
17119 ac_cv_type_fsfilcnt_t=yes
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17124 ac_cv_type_fsfilcnt_t=no
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17130 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17131 if test $ac_cv_type_fsfilcnt_t = yes; then
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_FSFILCNT_T 1
17135 _ACEOF
17140 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17141 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17142 if test "${ac_cv_type_sigset_t+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 else
17145 cat >conftest.$ac_ext <<_ACEOF
17146 /* confdefs.h. */
17147 _ACEOF
17148 cat confdefs.h >>conftest.$ac_ext
17149 cat >>conftest.$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 #include <signal.h>
17153 typedef sigset_t ac__type_new_;
17155 main ()
17157 if ((ac__type_new_ *) 0)
17158 return 0;
17159 if (sizeof (ac__type_new_))
17160 return 0;
17162 return 0;
17164 _ACEOF
17165 rm -f conftest.$ac_objext
17166 if { (ac_try="$ac_compile"
17167 case "(($ac_try" in
17168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17170 esac
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_compile") 2>conftest.er1
17173 ac_status=$?
17174 grep -v '^ *+' conftest.er1 >conftest.err
17175 rm -f conftest.er1
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && {
17179 test -z "$ac_c_werror_flag" ||
17180 test ! -s conftest.err
17181 } && test -s conftest.$ac_objext; then
17182 ac_cv_type_sigset_t=yes
17183 else
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17187 ac_cv_type_sigset_t=no
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17193 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17194 if test $ac_cv_type_sigset_t = yes; then
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_SIGSET_T 1
17198 _ACEOF
17203 { echo "$as_me:$LINENO: checking for request_sense" >&5
17204 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17205 if test "${ac_cv_type_request_sense+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #include <linux/cdrom.h>
17216 typedef request_sense ac__type_new_;
17218 main ()
17220 if ((ac__type_new_ *) 0)
17221 return 0;
17222 if (sizeof (ac__type_new_))
17223 return 0;
17225 return 0;
17227 _ACEOF
17228 rm -f conftest.$ac_objext
17229 if { (ac_try="$ac_compile"
17230 case "(($ac_try" in
17231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17232 *) ac_try_echo=$ac_try;;
17233 esac
17234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17235 (eval "$ac_compile") 2>conftest.er1
17236 ac_status=$?
17237 grep -v '^ *+' conftest.er1 >conftest.err
17238 rm -f conftest.er1
17239 cat conftest.err >&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } && {
17242 test -z "$ac_c_werror_flag" ||
17243 test ! -s conftest.err
17244 } && test -s conftest.$ac_objext; then
17245 ac_cv_type_request_sense=yes
17246 else
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17250 ac_cv_type_request_sense=no
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17256 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17257 if test $ac_cv_type_request_sense = yes; then
17259 cat >>confdefs.h <<_ACEOF
17260 #define HAVE_REQUEST_SENSE 1
17261 _ACEOF
17267 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17268 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17269 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 else
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #ifdef HAVE_LINUX_INPUT_H
17279 #include <linux/input.h>
17280 #endif
17283 main ()
17285 static struct ff_effect ac_aggr;
17286 if (ac_aggr.direction)
17287 return 0;
17289 return 0;
17291 _ACEOF
17292 rm -f conftest.$ac_objext
17293 if { (ac_try="$ac_compile"
17294 case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17297 esac
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_compile") 2>conftest.er1
17300 ac_status=$?
17301 grep -v '^ *+' conftest.er1 >conftest.err
17302 rm -f conftest.er1
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } && {
17306 test -z "$ac_c_werror_flag" ||
17307 test ! -s conftest.err
17308 } && test -s conftest.$ac_objext; then
17309 ac_cv_member_struct_ff_effect_direction=yes
17310 else
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17314 cat >conftest.$ac_ext <<_ACEOF
17315 /* confdefs.h. */
17316 _ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 #ifdef HAVE_LINUX_INPUT_H
17321 #include <linux/input.h>
17322 #endif
17325 main ()
17327 static struct ff_effect ac_aggr;
17328 if (sizeof ac_aggr.direction)
17329 return 0;
17331 return 0;
17333 _ACEOF
17334 rm -f conftest.$ac_objext
17335 if { (ac_try="$ac_compile"
17336 case "(($ac_try" in
17337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17338 *) ac_try_echo=$ac_try;;
17339 esac
17340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17341 (eval "$ac_compile") 2>conftest.er1
17342 ac_status=$?
17343 grep -v '^ *+' conftest.er1 >conftest.err
17344 rm -f conftest.er1
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } && {
17348 test -z "$ac_c_werror_flag" ||
17349 test ! -s conftest.err
17350 } && test -s conftest.$ac_objext; then
17351 ac_cv_member_struct_ff_effect_direction=yes
17352 else
17353 echo "$as_me: failed program was:" >&5
17354 sed 's/^/| /' conftest.$ac_ext >&5
17356 ac_cv_member_struct_ff_effect_direction=no
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17364 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17365 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17366 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17370 _ACEOF
17376 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17377 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17378 if test "${wine_cv_have_sigaddset+set}" = set; then
17379 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 else
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <signal.h>
17389 main ()
17391 sigset_t set; sigaddset(&set,SIGTERM);
17393 return 0;
17395 _ACEOF
17396 rm -f conftest.$ac_objext conftest$ac_exeext
17397 if { (ac_try="$ac_link"
17398 case "(($ac_try" in
17399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17400 *) ac_try_echo=$ac_try;;
17401 esac
17402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 (eval "$ac_link") 2>conftest.er1
17404 ac_status=$?
17405 grep -v '^ *+' conftest.er1 >conftest.err
17406 rm -f conftest.er1
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && {
17410 test -z "$ac_c_werror_flag" ||
17411 test ! -s conftest.err
17412 } && test -s conftest$ac_exeext &&
17413 $as_test_x conftest$ac_exeext; then
17414 wine_cv_have_sigaddset=yes
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 wine_cv_have_sigaddset=no
17422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17423 conftest$ac_exeext conftest.$ac_ext
17425 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17426 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17427 if test "$wine_cv_have_sigaddset" = "yes"
17428 then
17430 cat >>confdefs.h <<\_ACEOF
17431 #define HAVE_SIGADDSET 1
17432 _ACEOF
17437 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17438 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17439 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442 cat >conftest.$ac_ext <<_ACEOF
17443 /* confdefs.h. */
17444 _ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 #include <netdb.h>
17450 main ()
17453 char *name=NULL;
17454 struct hostent he;
17455 struct hostent *result;
17456 char *buf=NULL;
17457 int bufsize=0;
17458 int res,errnr;
17459 char *addr=NULL;
17460 int addrlen=0;
17461 int addrtype=0;
17462 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17463 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17466 return 0;
17468 _ACEOF
17469 rm -f conftest.$ac_objext conftest$ac_exeext
17470 if { (ac_try="$ac_link"
17471 case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17474 esac
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_link") 2>conftest.er1
17477 ac_status=$?
17478 grep -v '^ *+' conftest.er1 >conftest.err
17479 rm -f conftest.er1
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } && {
17483 test -z "$ac_c_werror_flag" ||
17484 test ! -s conftest.err
17485 } && test -s conftest$ac_exeext &&
17486 $as_test_x conftest$ac_exeext; then
17487 wine_cv_linux_gethostbyname_r_6=yes
17488 else
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.$ac_ext >&5
17492 wine_cv_linux_gethostbyname_r_6=no
17496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17497 conftest$ac_exeext conftest.$ac_ext
17500 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17501 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17502 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17503 then
17505 cat >>confdefs.h <<\_ACEOF
17506 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17507 _ACEOF
17511 if test "$ac_cv_header_linux_joystick_h" = "yes"
17512 then
17513 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17514 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17515 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 else
17518 cat >conftest.$ac_ext <<_ACEOF
17519 /* confdefs.h. */
17520 _ACEOF
17521 cat confdefs.h >>conftest.$ac_ext
17522 cat >>conftest.$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17525 #include <sys/ioctl.h>
17526 #include <sys/types.h>
17527 #include <linux/joystick.h>
17529 struct js_event blub;
17530 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17531 #error "no 2.2 header"
17532 #endif
17535 main ()
17537 /*empty*/
17539 return 0;
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17547 esac
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 wine_cv_linux_joystick_22_api=yes
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 wine_cv_linux_joystick_22_api=no
17567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17571 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17572 if test "$wine_cv_linux_joystick_22_api" = "yes"
17573 then
17575 cat >>confdefs.h <<\_ACEOF
17576 #define HAVE_LINUX_22_JOYSTICK_API 1
17577 _ACEOF
17583 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17584 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17585 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17587 else
17588 cat >conftest.$ac_ext <<_ACEOF
17589 /* confdefs.h. */
17590 _ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 #include <sys/types.h>
17595 #ifdef HAVE_SYS_PARAM_H
17596 # include <sys/param.h>
17597 #endif
17598 #ifdef HAVE_SYS_MOUNT_H
17599 # include <sys/mount.h>
17600 #endif
17601 #ifdef HAVE_SYS_VFS_H
17602 # include <sys/vfs.h>
17603 #endif
17604 #ifdef HAVE_SYS_STATFS_H
17605 # include <sys/statfs.h>
17606 #endif
17609 main ()
17611 static struct statfs ac_aggr;
17612 if (ac_aggr.f_bfree)
17613 return 0;
17615 return 0;
17617 _ACEOF
17618 rm -f conftest.$ac_objext
17619 if { (ac_try="$ac_compile"
17620 case "(($ac_try" in
17621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17622 *) ac_try_echo=$ac_try;;
17623 esac
17624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17625 (eval "$ac_compile") 2>conftest.er1
17626 ac_status=$?
17627 grep -v '^ *+' conftest.er1 >conftest.err
17628 rm -f conftest.er1
17629 cat conftest.err >&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } && {
17632 test -z "$ac_c_werror_flag" ||
17633 test ! -s conftest.err
17634 } && test -s conftest.$ac_objext; then
17635 ac_cv_member_struct_statfs_f_bfree=yes
17636 else
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.$ac_ext >&5
17640 cat >conftest.$ac_ext <<_ACEOF
17641 /* confdefs.h. */
17642 _ACEOF
17643 cat confdefs.h >>conftest.$ac_ext
17644 cat >>conftest.$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 #include <sys/types.h>
17647 #ifdef HAVE_SYS_PARAM_H
17648 # include <sys/param.h>
17649 #endif
17650 #ifdef HAVE_SYS_MOUNT_H
17651 # include <sys/mount.h>
17652 #endif
17653 #ifdef HAVE_SYS_VFS_H
17654 # include <sys/vfs.h>
17655 #endif
17656 #ifdef HAVE_SYS_STATFS_H
17657 # include <sys/statfs.h>
17658 #endif
17661 main ()
17663 static struct statfs ac_aggr;
17664 if (sizeof ac_aggr.f_bfree)
17665 return 0;
17667 return 0;
17669 _ACEOF
17670 rm -f conftest.$ac_objext
17671 if { (ac_try="$ac_compile"
17672 case "(($ac_try" in
17673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17674 *) ac_try_echo=$ac_try;;
17675 esac
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_compile") 2>conftest.er1
17678 ac_status=$?
17679 grep -v '^ *+' conftest.er1 >conftest.err
17680 rm -f conftest.er1
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } && {
17684 test -z "$ac_c_werror_flag" ||
17685 test ! -s conftest.err
17686 } && test -s conftest.$ac_objext; then
17687 ac_cv_member_struct_statfs_f_bfree=yes
17688 else
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17692 ac_cv_member_struct_statfs_f_bfree=no
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17701 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17702 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17704 cat >>confdefs.h <<_ACEOF
17705 #define HAVE_STRUCT_STATFS_F_BFREE 1
17706 _ACEOF
17710 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17711 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17712 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17713 echo $ECHO_N "(cached) $ECHO_C" >&6
17714 else
17715 cat >conftest.$ac_ext <<_ACEOF
17716 /* confdefs.h. */
17717 _ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721 #include <sys/types.h>
17722 #ifdef HAVE_SYS_PARAM_H
17723 # include <sys/param.h>
17724 #endif
17725 #ifdef HAVE_SYS_MOUNT_H
17726 # include <sys/mount.h>
17727 #endif
17728 #ifdef HAVE_SYS_VFS_H
17729 # include <sys/vfs.h>
17730 #endif
17731 #ifdef HAVE_SYS_STATFS_H
17732 # include <sys/statfs.h>
17733 #endif
17736 main ()
17738 static struct statfs ac_aggr;
17739 if (ac_aggr.f_bavail)
17740 return 0;
17742 return 0;
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (ac_try="$ac_compile"
17747 case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17750 esac
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_compile") 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_c_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest.$ac_objext; then
17762 ac_cv_member_struct_statfs_f_bavail=yes
17763 else
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17767 cat >conftest.$ac_ext <<_ACEOF
17768 /* confdefs.h. */
17769 _ACEOF
17770 cat confdefs.h >>conftest.$ac_ext
17771 cat >>conftest.$ac_ext <<_ACEOF
17772 /* end confdefs.h. */
17773 #include <sys/types.h>
17774 #ifdef HAVE_SYS_PARAM_H
17775 # include <sys/param.h>
17776 #endif
17777 #ifdef HAVE_SYS_MOUNT_H
17778 # include <sys/mount.h>
17779 #endif
17780 #ifdef HAVE_SYS_VFS_H
17781 # include <sys/vfs.h>
17782 #endif
17783 #ifdef HAVE_SYS_STATFS_H
17784 # include <sys/statfs.h>
17785 #endif
17788 main ()
17790 static struct statfs ac_aggr;
17791 if (sizeof ac_aggr.f_bavail)
17792 return 0;
17794 return 0;
17796 _ACEOF
17797 rm -f conftest.$ac_objext
17798 if { (ac_try="$ac_compile"
17799 case "(($ac_try" in
17800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17802 esac
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_compile") 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } && {
17811 test -z "$ac_c_werror_flag" ||
17812 test ! -s conftest.err
17813 } && test -s conftest.$ac_objext; then
17814 ac_cv_member_struct_statfs_f_bavail=yes
17815 else
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17819 ac_cv_member_struct_statfs_f_bavail=no
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17828 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17829 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17833 _ACEOF
17837 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17838 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17839 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 else
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 #include <sys/types.h>
17849 #ifdef HAVE_SYS_PARAM_H
17850 # include <sys/param.h>
17851 #endif
17852 #ifdef HAVE_SYS_MOUNT_H
17853 # include <sys/mount.h>
17854 #endif
17855 #ifdef HAVE_SYS_VFS_H
17856 # include <sys/vfs.h>
17857 #endif
17858 #ifdef HAVE_SYS_STATFS_H
17859 # include <sys/statfs.h>
17860 #endif
17863 main ()
17865 static struct statfs ac_aggr;
17866 if (ac_aggr.f_frsize)
17867 return 0;
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17876 *) ac_try_echo=$ac_try;;
17877 esac
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17880 ac_status=$?
17881 grep -v '^ *+' conftest.er1 >conftest.err
17882 rm -f conftest.er1
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.$ac_objext; then
17889 ac_cv_member_struct_statfs_f_frsize=yes
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 #include <sys/types.h>
17901 #ifdef HAVE_SYS_PARAM_H
17902 # include <sys/param.h>
17903 #endif
17904 #ifdef HAVE_SYS_MOUNT_H
17905 # include <sys/mount.h>
17906 #endif
17907 #ifdef HAVE_SYS_VFS_H
17908 # include <sys/vfs.h>
17909 #endif
17910 #ifdef HAVE_SYS_STATFS_H
17911 # include <sys/statfs.h>
17912 #endif
17915 main ()
17917 static struct statfs ac_aggr;
17918 if (sizeof ac_aggr.f_frsize)
17919 return 0;
17921 return 0;
17923 _ACEOF
17924 rm -f conftest.$ac_objext
17925 if { (ac_try="$ac_compile"
17926 case "(($ac_try" in
17927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17928 *) ac_try_echo=$ac_try;;
17929 esac
17930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17931 (eval "$ac_compile") 2>conftest.er1
17932 ac_status=$?
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } && {
17938 test -z "$ac_c_werror_flag" ||
17939 test ! -s conftest.err
17940 } && test -s conftest.$ac_objext; then
17941 ac_cv_member_struct_statfs_f_frsize=yes
17942 else
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17946 ac_cv_member_struct_statfs_f_frsize=no
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17955 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17956 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17960 _ACEOF
17964 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17965 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17966 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 #include <sys/types.h>
17976 #ifdef HAVE_SYS_PARAM_H
17977 # include <sys/param.h>
17978 #endif
17979 #ifdef HAVE_SYS_MOUNT_H
17980 # include <sys/mount.h>
17981 #endif
17982 #ifdef HAVE_SYS_VFS_H
17983 # include <sys/vfs.h>
17984 #endif
17985 #ifdef HAVE_SYS_STATFS_H
17986 # include <sys/statfs.h>
17987 #endif
17990 main ()
17992 static struct statfs ac_aggr;
17993 if (ac_aggr.f_ffree)
17994 return 0;
17996 return 0;
17998 _ACEOF
17999 rm -f conftest.$ac_objext
18000 if { (ac_try="$ac_compile"
18001 case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18004 esac
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_compile") 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } && {
18013 test -z "$ac_c_werror_flag" ||
18014 test ! -s conftest.err
18015 } && test -s conftest.$ac_objext; then
18016 ac_cv_member_struct_statfs_f_ffree=yes
18017 else
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18021 cat >conftest.$ac_ext <<_ACEOF
18022 /* confdefs.h. */
18023 _ACEOF
18024 cat confdefs.h >>conftest.$ac_ext
18025 cat >>conftest.$ac_ext <<_ACEOF
18026 /* end confdefs.h. */
18027 #include <sys/types.h>
18028 #ifdef HAVE_SYS_PARAM_H
18029 # include <sys/param.h>
18030 #endif
18031 #ifdef HAVE_SYS_MOUNT_H
18032 # include <sys/mount.h>
18033 #endif
18034 #ifdef HAVE_SYS_VFS_H
18035 # include <sys/vfs.h>
18036 #endif
18037 #ifdef HAVE_SYS_STATFS_H
18038 # include <sys/statfs.h>
18039 #endif
18042 main ()
18044 static struct statfs ac_aggr;
18045 if (sizeof ac_aggr.f_ffree)
18046 return 0;
18048 return 0;
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18059 ac_status=$?
18060 grep -v '^ *+' conftest.er1 >conftest.err
18061 rm -f conftest.er1
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 ac_cv_member_struct_statfs_f_ffree=yes
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18073 ac_cv_member_struct_statfs_f_ffree=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18082 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18083 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT_STATFS_F_FFREE 1
18087 _ACEOF
18091 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18092 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18093 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #include <sys/types.h>
18103 #ifdef HAVE_SYS_PARAM_H
18104 # include <sys/param.h>
18105 #endif
18106 #ifdef HAVE_SYS_MOUNT_H
18107 # include <sys/mount.h>
18108 #endif
18109 #ifdef HAVE_SYS_VFS_H
18110 # include <sys/vfs.h>
18111 #endif
18112 #ifdef HAVE_SYS_STATFS_H
18113 # include <sys/statfs.h>
18114 #endif
18117 main ()
18119 static struct statfs ac_aggr;
18120 if (ac_aggr.f_favail)
18121 return 0;
18123 return 0;
18125 _ACEOF
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18130 *) ac_try_echo=$ac_try;;
18131 esac
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18134 ac_status=$?
18135 grep -v '^ *+' conftest.er1 >conftest.err
18136 rm -f conftest.er1
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.$ac_objext; then
18143 ac_cv_member_struct_statfs_f_favail=yes
18144 else
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.$ac_ext >&5
18148 cat >conftest.$ac_ext <<_ACEOF
18149 /* confdefs.h. */
18150 _ACEOF
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18154 #include <sys/types.h>
18155 #ifdef HAVE_SYS_PARAM_H
18156 # include <sys/param.h>
18157 #endif
18158 #ifdef HAVE_SYS_MOUNT_H
18159 # include <sys/mount.h>
18160 #endif
18161 #ifdef HAVE_SYS_VFS_H
18162 # include <sys/vfs.h>
18163 #endif
18164 #ifdef HAVE_SYS_STATFS_H
18165 # include <sys/statfs.h>
18166 #endif
18169 main ()
18171 static struct statfs ac_aggr;
18172 if (sizeof ac_aggr.f_favail)
18173 return 0;
18175 return 0;
18177 _ACEOF
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18183 esac
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_cv_member_struct_statfs_f_favail=yes
18196 else
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_cv_member_struct_statfs_f_favail=no
18203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18208 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18209 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18210 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18214 _ACEOF
18218 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18219 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18220 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18221 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 else
18223 cat >conftest.$ac_ext <<_ACEOF
18224 /* confdefs.h. */
18225 _ACEOF
18226 cat confdefs.h >>conftest.$ac_ext
18227 cat >>conftest.$ac_ext <<_ACEOF
18228 /* end confdefs.h. */
18229 #include <sys/types.h>
18230 #ifdef HAVE_SYS_PARAM_H
18231 # include <sys/param.h>
18232 #endif
18233 #ifdef HAVE_SYS_MOUNT_H
18234 # include <sys/mount.h>
18235 #endif
18236 #ifdef HAVE_SYS_VFS_H
18237 # include <sys/vfs.h>
18238 #endif
18239 #ifdef HAVE_SYS_STATFS_H
18240 # include <sys/statfs.h>
18241 #endif
18244 main ()
18246 static struct statfs ac_aggr;
18247 if (ac_aggr.f_namelen)
18248 return 0;
18250 return 0;
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 ac_cv_member_struct_statfs_f_namelen=yes
18271 else
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18275 cat >conftest.$ac_ext <<_ACEOF
18276 /* confdefs.h. */
18277 _ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 #include <sys/types.h>
18282 #ifdef HAVE_SYS_PARAM_H
18283 # include <sys/param.h>
18284 #endif
18285 #ifdef HAVE_SYS_MOUNT_H
18286 # include <sys/mount.h>
18287 #endif
18288 #ifdef HAVE_SYS_VFS_H
18289 # include <sys/vfs.h>
18290 #endif
18291 #ifdef HAVE_SYS_STATFS_H
18292 # include <sys/statfs.h>
18293 #endif
18296 main ()
18298 static struct statfs ac_aggr;
18299 if (sizeof ac_aggr.f_namelen)
18300 return 0;
18302 return 0;
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 ac_cv_member_struct_statfs_f_namelen=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 ac_cv_member_struct_statfs_f_namelen=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18336 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18337 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18339 cat >>confdefs.h <<_ACEOF
18340 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18341 _ACEOF
18347 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18348 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18349 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 #ifdef HAVE_SYS_STATVFS_H
18359 #include <sys/statvfs.h>
18360 #endif
18363 main ()
18365 static struct statvfs ac_aggr;
18366 if (ac_aggr.f_blocks)
18367 return 0;
18369 return 0;
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18376 *) ac_try_echo=$ac_try;;
18377 esac
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18380 ac_status=$?
18381 grep -v '^ *+' conftest.er1 >conftest.err
18382 rm -f conftest.er1
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.$ac_objext; then
18389 ac_cv_member_struct_statvfs_f_blocks=yes
18390 else
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #ifdef HAVE_SYS_STATVFS_H
18401 #include <sys/statvfs.h>
18402 #endif
18405 main ()
18407 static struct statvfs ac_aggr;
18408 if (sizeof ac_aggr.f_blocks)
18409 return 0;
18411 return 0;
18413 _ACEOF
18414 rm -f conftest.$ac_objext
18415 if { (ac_try="$ac_compile"
18416 case "(($ac_try" in
18417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18418 *) ac_try_echo=$ac_try;;
18419 esac
18420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18421 (eval "$ac_compile") 2>conftest.er1
18422 ac_status=$?
18423 grep -v '^ *+' conftest.er1 >conftest.err
18424 rm -f conftest.er1
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } && {
18428 test -z "$ac_c_werror_flag" ||
18429 test ! -s conftest.err
18430 } && test -s conftest.$ac_objext; then
18431 ac_cv_member_struct_statvfs_f_blocks=yes
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18436 ac_cv_member_struct_statvfs_f_blocks=no
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18445 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18446 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18448 cat >>confdefs.h <<_ACEOF
18449 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18450 _ACEOF
18456 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18457 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18458 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 else
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #include <sys/types.h>
18468 #ifdef HAVE_SYS_SOCKET_H
18469 # include <sys/socket.h>
18470 #endif
18471 #ifdef HAVE_SYS_UN_H
18472 # include <sys/un.h>
18473 #endif
18476 main ()
18478 static struct msghdr ac_aggr;
18479 if (ac_aggr.msg_accrights)
18480 return 0;
18482 return 0;
18484 _ACEOF
18485 rm -f conftest.$ac_objext
18486 if { (ac_try="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18493 ac_status=$?
18494 grep -v '^ *+' conftest.er1 >conftest.err
18495 rm -f conftest.er1
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.$ac_objext; then
18502 ac_cv_member_struct_msghdr_msg_accrights=yes
18503 else
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 cat >conftest.$ac_ext <<_ACEOF
18508 /* confdefs.h. */
18509 _ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 #include <sys/types.h>
18514 #ifdef HAVE_SYS_SOCKET_H
18515 # include <sys/socket.h>
18516 #endif
18517 #ifdef HAVE_SYS_UN_H
18518 # include <sys/un.h>
18519 #endif
18522 main ()
18524 static struct msghdr ac_aggr;
18525 if (sizeof ac_aggr.msg_accrights)
18526 return 0;
18528 return 0;
18530 _ACEOF
18531 rm -f conftest.$ac_objext
18532 if { (ac_try="$ac_compile"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18536 esac
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_compile") 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest.$ac_objext; then
18548 ac_cv_member_struct_msghdr_msg_accrights=yes
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18553 ac_cv_member_struct_msghdr_msg_accrights=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18562 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18563 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18567 _ACEOF
18571 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18572 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18573 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576 cat >conftest.$ac_ext <<_ACEOF
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <sys/types.h>
18583 #ifdef HAVE_SYS_SOCKET_H
18584 # include <sys/socket.h>
18585 #endif
18586 #ifdef HAVE_SYS_UN_H
18587 # include <sys/un.h>
18588 #endif
18591 main ()
18593 static struct sockaddr ac_aggr;
18594 if (ac_aggr.sa_len)
18595 return 0;
18597 return 0;
18599 _ACEOF
18600 rm -f conftest.$ac_objext
18601 if { (ac_try="$ac_compile"
18602 case "(($ac_try" in
18603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18604 *) ac_try_echo=$ac_try;;
18605 esac
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_compile") 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } && {
18614 test -z "$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 } && test -s conftest.$ac_objext; then
18617 ac_cv_member_struct_sockaddr_sa_len=yes
18618 else
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18622 cat >conftest.$ac_ext <<_ACEOF
18623 /* confdefs.h. */
18624 _ACEOF
18625 cat confdefs.h >>conftest.$ac_ext
18626 cat >>conftest.$ac_ext <<_ACEOF
18627 /* end confdefs.h. */
18628 #include <sys/types.h>
18629 #ifdef HAVE_SYS_SOCKET_H
18630 # include <sys/socket.h>
18631 #endif
18632 #ifdef HAVE_SYS_UN_H
18633 # include <sys/un.h>
18634 #endif
18637 main ()
18639 static struct sockaddr ac_aggr;
18640 if (sizeof ac_aggr.sa_len)
18641 return 0;
18643 return 0;
18645 _ACEOF
18646 rm -f conftest.$ac_objext
18647 if { (ac_try="$ac_compile"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18651 esac
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_compile") 2>conftest.er1
18654 ac_status=$?
18655 grep -v '^ *+' conftest.er1 >conftest.err
18656 rm -f conftest.er1
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest.$ac_objext; then
18663 ac_cv_member_struct_sockaddr_sa_len=yes
18664 else
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18668 ac_cv_member_struct_sockaddr_sa_len=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18676 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18677 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18678 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18682 _ACEOF
18686 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18687 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18688 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 else
18691 cat >conftest.$ac_ext <<_ACEOF
18692 /* confdefs.h. */
18693 _ACEOF
18694 cat confdefs.h >>conftest.$ac_ext
18695 cat >>conftest.$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 #include <sys/types.h>
18698 #ifdef HAVE_SYS_SOCKET_H
18699 # include <sys/socket.h>
18700 #endif
18701 #ifdef HAVE_SYS_UN_H
18702 # include <sys/un.h>
18703 #endif
18706 main ()
18708 static struct sockaddr_un ac_aggr;
18709 if (ac_aggr.sun_len)
18710 return 0;
18712 return 0;
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (ac_try="$ac_compile"
18717 case "(($ac_try" in
18718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18719 *) ac_try_echo=$ac_try;;
18720 esac
18721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18722 (eval "$ac_compile") 2>conftest.er1
18723 ac_status=$?
18724 grep -v '^ *+' conftest.er1 >conftest.err
18725 rm -f conftest.er1
18726 cat conftest.err >&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } && {
18729 test -z "$ac_c_werror_flag" ||
18730 test ! -s conftest.err
18731 } && test -s conftest.$ac_objext; then
18732 ac_cv_member_struct_sockaddr_un_sun_len=yes
18733 else
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18737 cat >conftest.$ac_ext <<_ACEOF
18738 /* confdefs.h. */
18739 _ACEOF
18740 cat confdefs.h >>conftest.$ac_ext
18741 cat >>conftest.$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 #include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 # include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_SYS_UN_H
18748 # include <sys/un.h>
18749 #endif
18752 main ()
18754 static struct sockaddr_un ac_aggr;
18755 if (sizeof ac_aggr.sun_len)
18756 return 0;
18758 return 0;
18760 _ACEOF
18761 rm -f conftest.$ac_objext
18762 if { (ac_try="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18766 esac
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18769 ac_status=$?
18770 grep -v '^ *+' conftest.er1 >conftest.err
18771 rm -f conftest.er1
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_c_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 ac_cv_member_struct_sockaddr_un_sun_len=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_member_struct_sockaddr_un_sun_len=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18793 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18797 _ACEOF
18803 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18804 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18805 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 else
18808 cat >conftest.$ac_ext <<_ACEOF
18809 /* confdefs.h. */
18810 _ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814 #include <sys/types.h>
18815 #ifdef HAVE_SCSI_SG_H
18816 #include <scsi/sg.h>
18817 #endif
18820 main ()
18822 static scsireq_t ac_aggr;
18823 if (ac_aggr.cmd)
18824 return 0;
18826 return 0;
18828 _ACEOF
18829 rm -f conftest.$ac_objext
18830 if { (ac_try="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18834 esac
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.$ac_objext; then
18846 ac_cv_member_scsireq_t_cmd=yes
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 #include <sys/types.h>
18858 #ifdef HAVE_SCSI_SG_H
18859 #include <scsi/sg.h>
18860 #endif
18863 main ()
18865 static scsireq_t ac_aggr;
18866 if (sizeof ac_aggr.cmd)
18867 return 0;
18869 return 0;
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18877 esac
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.$ac_objext; then
18889 ac_cv_member_scsireq_t_cmd=yes
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 ac_cv_member_scsireq_t_cmd=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18903 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18904 if test $ac_cv_member_scsireq_t_cmd = yes; then
18906 cat >>confdefs.h <<_ACEOF
18907 #define HAVE_SCSIREQ_T_CMD 1
18908 _ACEOF
18912 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18913 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18914 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 else
18917 cat >conftest.$ac_ext <<_ACEOF
18918 /* confdefs.h. */
18919 _ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <sys/types.h>
18924 #ifdef HAVE_SCSI_SG_H
18925 #include <scsi/sg.h>
18926 #endif
18929 main ()
18931 static sg_io_hdr_t ac_aggr;
18932 if (ac_aggr.interface_id)
18933 return 0;
18935 return 0;
18937 _ACEOF
18938 rm -f conftest.$ac_objext
18939 if { (ac_try="$ac_compile"
18940 case "(($ac_try" in
18941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18943 esac
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_compile") 2>conftest.er1
18946 ac_status=$?
18947 grep -v '^ *+' conftest.er1 >conftest.err
18948 rm -f conftest.er1
18949 cat conftest.err >&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } && {
18952 test -z "$ac_c_werror_flag" ||
18953 test ! -s conftest.err
18954 } && test -s conftest.$ac_objext; then
18955 ac_cv_member_sg_io_hdr_t_interface_id=yes
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18960 cat >conftest.$ac_ext <<_ACEOF
18961 /* confdefs.h. */
18962 _ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 #include <sys/types.h>
18967 #ifdef HAVE_SCSI_SG_H
18968 #include <scsi/sg.h>
18969 #endif
18972 main ()
18974 static sg_io_hdr_t ac_aggr;
18975 if (sizeof ac_aggr.interface_id)
18976 return 0;
18978 return 0;
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (ac_try="$ac_compile"
18983 case "(($ac_try" in
18984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18985 *) ac_try_echo=$ac_try;;
18986 esac
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_compile") 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } && {
18995 test -z "$ac_c_werror_flag" ||
18996 test ! -s conftest.err
18997 } && test -s conftest.$ac_objext; then
18998 ac_cv_member_sg_io_hdr_t_interface_id=yes
18999 else
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.$ac_ext >&5
19003 ac_cv_member_sg_io_hdr_t_interface_id=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19012 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19013 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19017 _ACEOF
19023 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19024 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19025 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19028 cat >conftest.$ac_ext <<_ACEOF
19029 /* confdefs.h. */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <signal.h>
19037 main ()
19039 static siginfo_t ac_aggr;
19040 if (ac_aggr.si_fd)
19041 return 0;
19043 return 0;
19045 _ACEOF
19046 rm -f conftest.$ac_objext
19047 if { (ac_try="$ac_compile"
19048 case "(($ac_try" in
19049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050 *) ac_try_echo=$ac_try;;
19051 esac
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_compile") 2>conftest.er1
19054 ac_status=$?
19055 grep -v '^ *+' conftest.er1 >conftest.err
19056 rm -f conftest.er1
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } && {
19060 test -z "$ac_c_werror_flag" ||
19061 test ! -s conftest.err
19062 } && test -s conftest.$ac_objext; then
19063 ac_cv_member_siginfo_t_si_fd=yes
19064 else
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.$ac_ext >&5
19068 cat >conftest.$ac_ext <<_ACEOF
19069 /* confdefs.h. */
19070 _ACEOF
19071 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 #include <signal.h>
19077 main ()
19079 static siginfo_t ac_aggr;
19080 if (sizeof ac_aggr.si_fd)
19081 return 0;
19083 return 0;
19085 _ACEOF
19086 rm -f conftest.$ac_objext
19087 if { (ac_try="$ac_compile"
19088 case "(($ac_try" in
19089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19090 *) ac_try_echo=$ac_try;;
19091 esac
19092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19093 (eval "$ac_compile") 2>conftest.er1
19094 ac_status=$?
19095 grep -v '^ *+' conftest.er1 >conftest.err
19096 rm -f conftest.er1
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } && {
19100 test -z "$ac_c_werror_flag" ||
19101 test ! -s conftest.err
19102 } && test -s conftest.$ac_objext; then
19103 ac_cv_member_siginfo_t_si_fd=yes
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 ac_cv_member_siginfo_t_si_fd=no
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19117 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19118 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_SIGINFO_T_SI_FD 1
19122 _ACEOF
19128 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19129 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19130 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 else
19133 cat >conftest.$ac_ext <<_ACEOF
19134 /* confdefs.h. */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <sys/types.h>
19140 #ifdef HAVE_SYS_MTIO_H
19141 #include <sys/mtio.h>
19142 #endif
19145 main ()
19147 static struct mtget ac_aggr;
19148 if (ac_aggr.mt_blksiz)
19149 return 0;
19151 return 0;
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19159 esac
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19162 ac_status=$?
19163 grep -v '^ *+' conftest.er1 >conftest.err
19164 rm -f conftest.er1
19165 cat conftest.err >&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.$ac_objext; then
19171 ac_cv_member_struct_mtget_mt_blksiz=yes
19172 else
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <sys/types.h>
19183 #ifdef HAVE_SYS_MTIO_H
19184 #include <sys/mtio.h>
19185 #endif
19188 main ()
19190 static struct mtget ac_aggr;
19191 if (sizeof ac_aggr.mt_blksiz)
19192 return 0;
19194 return 0;
19196 _ACEOF
19197 rm -f conftest.$ac_objext
19198 if { (ac_try="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19202 esac
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19205 ac_status=$?
19206 grep -v '^ *+' conftest.er1 >conftest.err
19207 rm -f conftest.er1
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_c_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest.$ac_objext; then
19214 ac_cv_member_struct_mtget_mt_blksiz=yes
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19219 ac_cv_member_struct_mtget_mt_blksiz=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19228 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19229 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19233 _ACEOF
19237 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19238 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19239 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19240 echo $ECHO_N "(cached) $ECHO_C" >&6
19241 else
19242 cat >conftest.$ac_ext <<_ACEOF
19243 /* confdefs.h. */
19244 _ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19248 #include <sys/types.h>
19249 #ifdef HAVE_SYS_MTIO_H
19250 #include <sys/mtio.h>
19251 #endif
19254 main ()
19256 static struct mtget ac_aggr;
19257 if (ac_aggr.mt_gstat)
19258 return 0;
19260 return 0;
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (ac_try="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19268 esac
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19271 ac_status=$?
19272 grep -v '^ *+' conftest.er1 >conftest.err
19273 rm -f conftest.er1
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.$ac_objext; then
19280 ac_cv_member_struct_mtget_mt_gstat=yes
19281 else
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 cat >conftest.$ac_ext <<_ACEOF
19286 /* confdefs.h. */
19287 _ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <sys/types.h>
19292 #ifdef HAVE_SYS_MTIO_H
19293 #include <sys/mtio.h>
19294 #endif
19297 main ()
19299 static struct mtget ac_aggr;
19300 if (sizeof ac_aggr.mt_gstat)
19301 return 0;
19303 return 0;
19305 _ACEOF
19306 rm -f conftest.$ac_objext
19307 if { (ac_try="$ac_compile"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19311 esac
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_compile") 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_c_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest.$ac_objext; then
19323 ac_cv_member_struct_mtget_mt_gstat=yes
19324 else
19325 echo "$as_me: failed program was:" >&5
19326 sed 's/^/| /' conftest.$ac_ext >&5
19328 ac_cv_member_struct_mtget_mt_gstat=no
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19336 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19337 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19338 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19340 cat >>confdefs.h <<_ACEOF
19341 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19342 _ACEOF
19346 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19347 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19348 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <sys/types.h>
19358 #ifdef HAVE_SYS_MTIO_H
19359 #include <sys/mtio.h>
19360 #endif
19363 main ()
19365 static struct mtget ac_aggr;
19366 if (ac_aggr.mt_blkno)
19367 return 0;
19369 return 0;
19371 _ACEOF
19372 rm -f conftest.$ac_objext
19373 if { (ac_try="$ac_compile"
19374 case "(($ac_try" in
19375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19376 *) ac_try_echo=$ac_try;;
19377 esac
19378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19379 (eval "$ac_compile") 2>conftest.er1
19380 ac_status=$?
19381 grep -v '^ *+' conftest.er1 >conftest.err
19382 rm -f conftest.er1
19383 cat conftest.err >&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } && {
19386 test -z "$ac_c_werror_flag" ||
19387 test ! -s conftest.err
19388 } && test -s conftest.$ac_objext; then
19389 ac_cv_member_struct_mtget_mt_blkno=yes
19390 else
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19394 cat >conftest.$ac_ext <<_ACEOF
19395 /* confdefs.h. */
19396 _ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <sys/types.h>
19401 #ifdef HAVE_SYS_MTIO_H
19402 #include <sys/mtio.h>
19403 #endif
19406 main ()
19408 static struct mtget ac_aggr;
19409 if (sizeof ac_aggr.mt_blkno)
19410 return 0;
19412 return 0;
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19423 ac_status=$?
19424 grep -v '^ *+' conftest.er1 >conftest.err
19425 rm -f conftest.er1
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_member_struct_mtget_mt_blkno=yes
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 ac_cv_member_struct_mtget_mt_blkno=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19446 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19447 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19451 _ACEOF
19457 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19458 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19459 if test "${ac_cv_member_struct_option_name+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19461 else
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #ifdef HAVE_GETOPT_H
19469 #include <getopt.h>
19470 #endif
19473 main ()
19475 static struct option ac_aggr;
19476 if (ac_aggr.name)
19477 return 0;
19479 return 0;
19481 _ACEOF
19482 rm -f conftest.$ac_objext
19483 if { (ac_try="$ac_compile"
19484 case "(($ac_try" in
19485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19486 *) ac_try_echo=$ac_try;;
19487 esac
19488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_compile") 2>conftest.er1
19490 ac_status=$?
19491 grep -v '^ *+' conftest.er1 >conftest.err
19492 rm -f conftest.er1
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest.$ac_objext; then
19499 ac_cv_member_struct_option_name=yes
19500 else
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.$ac_ext >&5
19504 cat >conftest.$ac_ext <<_ACEOF
19505 /* confdefs.h. */
19506 _ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 #ifdef HAVE_GETOPT_H
19511 #include <getopt.h>
19512 #endif
19515 main ()
19517 static struct option ac_aggr;
19518 if (sizeof ac_aggr.name)
19519 return 0;
19521 return 0;
19523 _ACEOF
19524 rm -f conftest.$ac_objext
19525 if { (ac_try="$ac_compile"
19526 case "(($ac_try" in
19527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19529 esac
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_compile") 2>conftest.er1
19532 ac_status=$?
19533 grep -v '^ *+' conftest.er1 >conftest.err
19534 rm -f conftest.er1
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } && {
19538 test -z "$ac_c_werror_flag" ||
19539 test ! -s conftest.err
19540 } && test -s conftest.$ac_objext; then
19541 ac_cv_member_struct_option_name=yes
19542 else
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19546 ac_cv_member_struct_option_name=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19555 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19556 if test $ac_cv_member_struct_option_name = yes; then
19558 cat >>confdefs.h <<_ACEOF
19559 #define HAVE_STRUCT_OPTION_NAME 1
19560 _ACEOF
19566 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19567 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19568 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 else
19571 cat >conftest.$ac_ext <<_ACEOF
19572 /* confdefs.h. */
19573 _ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19579 main ()
19581 static struct stat ac_aggr;
19582 if (ac_aggr.st_blocks)
19583 return 0;
19585 return 0;
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19605 ac_cv_member_struct_stat_st_blocks=yes
19606 else
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19610 cat >conftest.$ac_ext <<_ACEOF
19611 /* confdefs.h. */
19612 _ACEOF
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19618 main ()
19620 static struct stat ac_aggr;
19621 if (sizeof ac_aggr.st_blocks)
19622 return 0;
19624 return 0;
19626 _ACEOF
19627 rm -f conftest.$ac_objext
19628 if { (ac_try="$ac_compile"
19629 case "(($ac_try" in
19630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19631 *) ac_try_echo=$ac_try;;
19632 esac
19633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19634 (eval "$ac_compile") 2>conftest.er1
19635 ac_status=$?
19636 grep -v '^ *+' conftest.er1 >conftest.err
19637 rm -f conftest.er1
19638 cat conftest.err >&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && {
19641 test -z "$ac_c_werror_flag" ||
19642 test ! -s conftest.err
19643 } && test -s conftest.$ac_objext; then
19644 ac_cv_member_struct_stat_st_blocks=yes
19645 else
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_cv_member_struct_stat_st_blocks=no
19652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19657 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19658 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19659 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19661 cat >>confdefs.h <<_ACEOF
19662 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19663 _ACEOF
19669 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19670 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19671 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 else
19674 cat >conftest.$ac_ext <<_ACEOF
19675 /* confdefs.h. */
19676 _ACEOF
19677 cat confdefs.h >>conftest.$ac_ext
19678 cat >>conftest.$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19680 #ifdef HAVE_SYS_TYPES_H
19681 #include <sys/types.h>
19682 #endif
19683 #ifdef HAVE_NETINET_IN_H
19684 #include <netinet/in.h>
19685 #endif
19688 main ()
19690 static struct sockaddr_in6 ac_aggr;
19691 if (ac_aggr.sin6_scope_id)
19692 return 0;
19694 return 0;
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19702 esac
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #ifdef HAVE_SYS_TYPES_H
19726 #include <sys/types.h>
19727 #endif
19728 #ifdef HAVE_NETINET_IN_H
19729 #include <netinet/in.h>
19730 #endif
19733 main ()
19735 static struct sockaddr_in6 ac_aggr;
19736 if (sizeof ac_aggr.sin6_scope_id)
19737 return 0;
19739 return 0;
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19747 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.$ac_objext; then
19759 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19760 else
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19764 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19773 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19774 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19776 cat >>confdefs.h <<_ACEOF
19777 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19778 _ACEOF
19784 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19785 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19786 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 else
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 #ifdef HAVE_SYS_TYPES_H
19796 #include <sys/types.h>
19797 #endif
19798 #ifdef HAVE_NETINET_IN_H
19799 # include <netinet/in.h>
19800 #endif
19801 #ifdef HAVE_ARPA_NAMESER_H
19802 # include <arpa/nameser.h>
19803 #endif
19806 main ()
19808 static ns_msg ac_aggr;
19809 if (ac_aggr._msg_ptr)
19810 return 0;
19812 return 0;
19814 _ACEOF
19815 rm -f conftest.$ac_objext
19816 if { (ac_try="$ac_compile"
19817 case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19820 esac
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_compile") 2>conftest.er1
19823 ac_status=$?
19824 grep -v '^ *+' conftest.er1 >conftest.err
19825 rm -f conftest.er1
19826 cat conftest.err >&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); } && {
19829 test -z "$ac_c_werror_flag" ||
19830 test ! -s conftest.err
19831 } && test -s conftest.$ac_objext; then
19832 ac_cv_member_ns_msg__msg_ptr=yes
19833 else
19834 echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.$ac_ext >&5
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h. */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #ifdef HAVE_SYS_TYPES_H
19844 #include <sys/types.h>
19845 #endif
19846 #ifdef HAVE_NETINET_IN_H
19847 # include <netinet/in.h>
19848 #endif
19849 #ifdef HAVE_ARPA_NAMESER_H
19850 # include <arpa/nameser.h>
19851 #endif
19854 main ()
19856 static ns_msg ac_aggr;
19857 if (sizeof ac_aggr._msg_ptr)
19858 return 0;
19860 return 0;
19862 _ACEOF
19863 rm -f conftest.$ac_objext
19864 if { (ac_try="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19868 esac
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19871 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.$ac_objext; then
19880 ac_cv_member_ns_msg__msg_ptr=yes
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19885 ac_cv_member_ns_msg__msg_ptr=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19894 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19895 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19897 cat >>confdefs.h <<_ACEOF
19898 #define HAVE_NS_MSG__MSG_PTR 1
19899 _ACEOF
19905 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19906 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19907 if test "${ac_cv_have_timezone+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 else
19910 cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h. */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19916 #include <time.h>
19918 main ()
19920 timezone = 1
19922 return 0;
19924 _ACEOF
19925 rm -f conftest.$ac_objext conftest$ac_exeext
19926 if { (ac_try="$ac_link"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_link") 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_c_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest$ac_exeext &&
19942 $as_test_x conftest$ac_exeext; then
19943 ac_cv_have_timezone="yes"
19944 else
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19948 ac_cv_have_timezone="no"
19951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19952 conftest$ac_exeext conftest.$ac_ext
19954 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19955 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19956 if test "$ac_cv_have_timezone" = "yes"
19957 then
19959 cat >>confdefs.h <<\_ACEOF
19960 #define HAVE_TIMEZONE 1
19961 _ACEOF
19964 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19965 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19966 if test "${ac_cv_have_daylight+set}" = set; then
19967 echo $ECHO_N "(cached) $ECHO_C" >&6
19968 else
19969 cat >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h. */
19971 _ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 #include <time.h>
19977 main ()
19979 daylight = 1
19981 return 0;
19983 _ACEOF
19984 rm -f conftest.$ac_objext conftest$ac_exeext
19985 if { (ac_try="$ac_link"
19986 case "(($ac_try" in
19987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19989 esac
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_link") 2>conftest.er1
19992 ac_status=$?
19993 grep -v '^ *+' conftest.er1 >conftest.err
19994 rm -f conftest.er1
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest$ac_exeext &&
20001 $as_test_x conftest$ac_exeext; then
20002 ac_cv_have_daylight="yes"
20003 else
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20007 ac_cv_have_daylight="no"
20010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20011 conftest$ac_exeext conftest.$ac_ext
20013 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20014 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20015 if test "$ac_cv_have_daylight" = "yes"
20016 then
20018 cat >>confdefs.h <<\_ACEOF
20019 #define HAVE_DAYLIGHT 1
20020 _ACEOF
20025 case $host_cpu in
20026 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20027 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20028 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 else
20031 cat >conftest.$ac_ext <<_ACEOF
20032 /* confdefs.h. */
20033 _ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #ifndef __i386__
20039 #endif
20040 _ACEOF
20041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20042 $EGREP "yes" >/dev/null 2>&1; then
20043 ac_cv_cpp_def___i386__=yes
20044 else
20045 ac_cv_cpp_def___i386__=no
20047 rm -f conftest*
20050 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20051 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20052 if test $ac_cv_cpp_def___i386__ = yes; then
20053 CFLAGS="$CFLAGS -D__i386__"
20054 LINTFLAGS="$LINTFLAGS -D__i386__"
20057 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20058 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20059 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 else
20062 cat >conftest.$ac_ext <<_ACEOF
20063 /* confdefs.h. */
20064 _ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 #ifndef __x86_64__
20070 #endif
20071 _ACEOF
20072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20073 $EGREP "yes" >/dev/null 2>&1; then
20074 ac_cv_cpp_def___x86_64__=yes
20075 else
20076 ac_cv_cpp_def___x86_64__=no
20078 rm -f conftest*
20081 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20082 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20083 if test $ac_cv_cpp_def___x86_64__ = yes; then
20084 CFLAGS="$CFLAGS -D__x86_64__"
20085 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20088 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20089 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20090 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 else
20093 cat >conftest.$ac_ext <<_ACEOF
20094 /* confdefs.h. */
20095 _ACEOF
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 #ifndef __ALPHA__
20101 #endif
20102 _ACEOF
20103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20104 $EGREP "yes" >/dev/null 2>&1; then
20105 ac_cv_cpp_def___ALPHA__=yes
20106 else
20107 ac_cv_cpp_def___ALPHA__=no
20109 rm -f conftest*
20112 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20113 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20114 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20115 CFLAGS="$CFLAGS -D__ALPHA__"
20116 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20119 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20120 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20121 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 cat >conftest.$ac_ext <<_ACEOF
20125 /* confdefs.h. */
20126 _ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 #ifndef __sparc__
20132 #endif
20133 _ACEOF
20134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20135 $EGREP "yes" >/dev/null 2>&1; then
20136 ac_cv_cpp_def___sparc__=yes
20137 else
20138 ac_cv_cpp_def___sparc__=no
20140 rm -f conftest*
20143 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20144 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20145 if test $ac_cv_cpp_def___sparc__ = yes; then
20146 CFLAGS="$CFLAGS -D__sparc__"
20147 LINTFLAGS="$LINTFLAGS -D__sparc__"
20150 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20151 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20152 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20154 else
20155 cat >conftest.$ac_ext <<_ACEOF
20156 /* confdefs.h. */
20157 _ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 #ifndef __powerpc__
20163 #endif
20164 _ACEOF
20165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20166 $EGREP "yes" >/dev/null 2>&1; then
20167 ac_cv_cpp_def___powerpc__=yes
20168 else
20169 ac_cv_cpp_def___powerpc__=no
20171 rm -f conftest*
20174 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20175 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20176 if test $ac_cv_cpp_def___powerpc__ = yes; then
20177 CFLAGS="$CFLAGS -D__powerpc__"
20178 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20181 esac
20183 case $host_vendor in
20184 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20185 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20186 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20187 echo $ECHO_N "(cached) $ECHO_C" >&6
20188 else
20189 cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h. */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #ifndef __sun__
20197 #endif
20198 _ACEOF
20199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20200 $EGREP "yes" >/dev/null 2>&1; then
20201 ac_cv_cpp_def___sun__=yes
20202 else
20203 ac_cv_cpp_def___sun__=no
20205 rm -f conftest*
20208 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20209 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20210 if test $ac_cv_cpp_def___sun__ = yes; then
20211 CFLAGS="$CFLAGS -D__sun__"
20212 LINTFLAGS="$LINTFLAGS -D__sun__"
20215 esac
20218 DEPENDENCIES="### Dependencies:
20220 .INIT: Makefile
20221 .BEGIN: Makefile
20222 Makefile: dummy
20223 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20225 \$(OBJS): \$(IDL_GEN_HEADERS)
20226 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20227 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20228 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20234 ac_config_commands="$ac_config_commands include/stamp-h"
20237 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20239 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20241 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20243 ac_config_commands="$ac_config_commands dlls/user32/resources"
20245 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20247 ac_config_commands="$ac_config_commands include/wine"
20250 MAKE_RULES=Make.rules
20253 MAKE_DLL_RULES=dlls/Makedll.rules
20256 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20259 MAKE_TEST_RULES=dlls/Maketest.rules
20262 MAKE_PROG_RULES=programs/Makeprog.rules
20265 ac_config_files="$ac_config_files Make.rules"
20267 ac_config_files="$ac_config_files dlls/Makedll.rules"
20269 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20271 ac_config_files="$ac_config_files dlls/Maketest.rules"
20273 ac_config_files="$ac_config_files programs/Makeprog.rules"
20275 ac_config_files="$ac_config_files Makefile"
20277 ac_config_files="$ac_config_files dlls/Makefile"
20279 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20281 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20283 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20285 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20287 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20289 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20291 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20293 ac_config_files="$ac_config_files dlls/atl/Makefile"
20295 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20297 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20299 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20301 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20305 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20309 ac_config_files="$ac_config_files dlls/cards/Makefile"
20311 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20313 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20315 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20317 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20319 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20321 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20325 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20329 ac_config_files="$ac_config_files dlls/credui/Makefile"
20331 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20333 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20335 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20339 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20341 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20349 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20351 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20353 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20355 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20357 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20359 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20361 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20363 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20365 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20367 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20369 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20373 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20375 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20377 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20379 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20385 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20387 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20389 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20391 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20393 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20395 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20397 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20399 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20401 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20403 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20405 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20407 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20409 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20411 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20413 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20415 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20417 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20419 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20423 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20425 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20427 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20429 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20431 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20433 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20435 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20437 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20441 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20443 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20445 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20447 ac_config_files="$ac_config_files dlls/hal/Makefile"
20449 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20451 ac_config_files="$ac_config_files dlls/hid/Makefile"
20453 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20455 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20459 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20461 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20463 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20465 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20467 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20469 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20471 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20473 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20477 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20479 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20481 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20483 ac_config_files="$ac_config_files dlls/itss/Makefile"
20485 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20489 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20493 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/localui/Makefile"
20497 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20501 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20505 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20509 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20511 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20513 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20515 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20517 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20519 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20523 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20525 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20527 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20529 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20531 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20533 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20537 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20539 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20543 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20545 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20547 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20549 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20551 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20553 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20555 ac_config_files="$ac_config_files dlls/msi/Makefile"
20557 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20559 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20561 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20563 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20565 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20569 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20573 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20575 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20577 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20579 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20581 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20583 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20585 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20587 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20591 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20593 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20597 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20599 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20603 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20605 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20607 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20611 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20613 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20615 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20619 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20623 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20625 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20629 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20631 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20633 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20635 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20637 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20641 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20645 ac_config_files="$ac_config_files dlls/printui/Makefile"
20647 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20649 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20653 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20655 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20657 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/query/Makefile"
20661 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20663 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20665 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20667 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20671 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20673 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20677 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20679 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20681 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20685 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20687 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20691 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20693 ac_config_files="$ac_config_files dlls/security/Makefile"
20695 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20697 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20699 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20703 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20707 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20709 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20711 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20713 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20715 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20717 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20721 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20723 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20725 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20727 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20729 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20731 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20733 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20735 ac_config_files="$ac_config_files dlls/sti/Makefile"
20737 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20739 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20741 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20743 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20745 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20747 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20749 ac_config_files="$ac_config_files dlls/url/Makefile"
20751 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20753 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/user32/Makefile"
20757 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20761 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20763 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20767 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20769 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20771 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20775 ac_config_files="$ac_config_files dlls/version/Makefile"
20777 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20779 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20781 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20783 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20785 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20787 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20789 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20791 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20799 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20801 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20803 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20807 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20809 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20811 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20813 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20815 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20817 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20819 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20821 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20823 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20825 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20827 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20831 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20833 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20835 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20837 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20839 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20841 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20843 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20845 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20847 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20849 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20851 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20853 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20855 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20857 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20859 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20861 ac_config_files="$ac_config_files documentation/Makefile"
20863 ac_config_files="$ac_config_files fonts/Makefile"
20865 ac_config_files="$ac_config_files include/Makefile"
20867 ac_config_files="$ac_config_files libs/Makefile"
20869 ac_config_files="$ac_config_files libs/port/Makefile"
20871 ac_config_files="$ac_config_files libs/wine/Makefile"
20873 ac_config_files="$ac_config_files libs/wpp/Makefile"
20875 ac_config_files="$ac_config_files loader/Makefile"
20877 ac_config_files="$ac_config_files programs/Makefile"
20879 ac_config_files="$ac_config_files programs/clock/Makefile"
20881 ac_config_files="$ac_config_files programs/cmd/Makefile"
20883 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20885 ac_config_files="$ac_config_files programs/control/Makefile"
20887 ac_config_files="$ac_config_files programs/eject/Makefile"
20889 ac_config_files="$ac_config_files programs/expand/Makefile"
20891 ac_config_files="$ac_config_files programs/explorer/Makefile"
20893 ac_config_files="$ac_config_files programs/hh/Makefile"
20895 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20897 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20899 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20901 ac_config_files="$ac_config_files programs/net/Makefile"
20903 ac_config_files="$ac_config_files programs/notepad/Makefile"
20905 ac_config_files="$ac_config_files programs/oleview/Makefile"
20907 ac_config_files="$ac_config_files programs/progman/Makefile"
20909 ac_config_files="$ac_config_files programs/regedit/Makefile"
20911 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20913 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20915 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20917 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20919 ac_config_files="$ac_config_files programs/start/Makefile"
20921 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20923 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20925 ac_config_files="$ac_config_files programs/view/Makefile"
20927 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20929 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20931 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20933 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20935 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20937 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20939 ac_config_files="$ac_config_files programs/winefile/Makefile"
20941 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20943 ac_config_files="$ac_config_files programs/winemine/Makefile"
20945 ac_config_files="$ac_config_files programs/winepath/Makefile"
20947 ac_config_files="$ac_config_files programs/winetest/Makefile"
20949 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20951 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20953 ac_config_files="$ac_config_files programs/winver/Makefile"
20955 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20957 ac_config_files="$ac_config_files programs/write/Makefile"
20959 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20961 ac_config_files="$ac_config_files server/Makefile"
20963 ac_config_files="$ac_config_files tools/Makefile"
20965 ac_config_files="$ac_config_files tools/widl/Makefile"
20967 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20969 ac_config_files="$ac_config_files tools/winedump/Makefile"
20971 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20973 ac_config_files="$ac_config_files tools/wmc/Makefile"
20975 ac_config_files="$ac_config_files tools/wrc/Makefile"
20978 cat >confcache <<\_ACEOF
20979 # This file is a shell script that caches the results of configure
20980 # tests run on this system so they can be shared between configure
20981 # scripts and configure runs, see configure's option --config-cache.
20982 # It is not useful on other systems. If it contains results you don't
20983 # want to keep, you may remove or edit it.
20985 # config.status only pays attention to the cache file if you give it
20986 # the --recheck option to rerun configure.
20988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20990 # following values.
20992 _ACEOF
20994 # The following way of writing the cache mishandles newlines in values,
20995 # but we know of no workaround that is simple, portable, and efficient.
20996 # So, we kill variables containing newlines.
20997 # Ultrix sh set writes to stderr and can't be redirected directly,
20998 # and sets the high bit in the cache file unless we assign to the vars.
21000 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21001 eval ac_val=\$$ac_var
21002 case $ac_val in #(
21003 *${as_nl}*)
21004 case $ac_var in #(
21005 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21006 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21007 esac
21008 case $ac_var in #(
21009 _ | IFS | as_nl) ;; #(
21010 *) $as_unset $ac_var ;;
21011 esac ;;
21012 esac
21013 done
21015 (set) 2>&1 |
21016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21017 *${as_nl}ac_space=\ *)
21018 # `set' does not quote correctly, so add quotes (double-quote
21019 # substitution turns \\\\ into \\, and sed turns \\ into \).
21020 sed -n \
21021 "s/'/'\\\\''/g;
21022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21023 ;; #(
21025 # `set' quotes correctly as required by POSIX, so do not add quotes.
21026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21028 esac |
21029 sort
21031 sed '
21032 /^ac_cv_env_/b end
21033 t clear
21034 :clear
21035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21036 t end
21037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21038 :end' >>confcache
21039 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21040 if test -w "$cache_file"; then
21041 test "x$cache_file" != "x/dev/null" &&
21042 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21043 echo "$as_me: updating cache $cache_file" >&6;}
21044 cat confcache >$cache_file
21045 else
21046 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21047 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21050 rm -f confcache
21052 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21053 # Let make expand exec_prefix.
21054 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21056 DEFS=-DHAVE_CONFIG_H
21058 ac_libobjs=
21059 ac_ltlibobjs=
21060 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21061 # 1. Remove the extension, and $U if already installed.
21062 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21063 ac_i=`echo "$ac_i" | sed "$ac_script"`
21064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21065 # will be set to the directory where LIBOBJS objects are built.
21066 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21067 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21068 done
21069 LIBOBJS=$ac_libobjs
21071 LTLIBOBJS=$ac_ltlibobjs
21075 : ${CONFIG_STATUS=./config.status}
21076 ac_clean_files_save=$ac_clean_files
21077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21080 cat >$CONFIG_STATUS <<_ACEOF
21081 #! $SHELL
21082 # Generated by $as_me.
21083 # Run this file to recreate the current configuration.
21084 # Compiler output produced by configure, useful for debugging
21085 # configure, is in config.log if it exists.
21087 debug=false
21088 ac_cs_recheck=false
21089 ac_cs_silent=false
21090 SHELL=\${CONFIG_SHELL-$SHELL}
21091 _ACEOF
21093 cat >>$CONFIG_STATUS <<\_ACEOF
21094 ## --------------------- ##
21095 ## M4sh Initialization. ##
21096 ## --------------------- ##
21098 # Be more Bourne compatible
21099 DUALCASE=1; export DUALCASE # for MKS sh
21100 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21101 emulate sh
21102 NULLCMD=:
21103 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21104 # is contrary to our usage. Disable this feature.
21105 alias -g '${1+"$@"}'='"$@"'
21106 setopt NO_GLOB_SUBST
21107 else
21108 case `(set -o) 2>/dev/null` in
21109 *posix*) set -o posix ;;
21110 esac
21117 # PATH needs CR
21118 # Avoid depending upon Character Ranges.
21119 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21120 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21121 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21122 as_cr_digits='0123456789'
21123 as_cr_alnum=$as_cr_Letters$as_cr_digits
21125 # The user is always right.
21126 if test "${PATH_SEPARATOR+set}" != set; then
21127 echo "#! /bin/sh" >conf$$.sh
21128 echo "exit 0" >>conf$$.sh
21129 chmod +x conf$$.sh
21130 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21131 PATH_SEPARATOR=';'
21132 else
21133 PATH_SEPARATOR=:
21135 rm -f conf$$.sh
21138 # Support unset when possible.
21139 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21140 as_unset=unset
21141 else
21142 as_unset=false
21146 # IFS
21147 # We need space, tab and new line, in precisely that order. Quoting is
21148 # there to prevent editors from complaining about space-tab.
21149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21150 # splitting by setting IFS to empty value.)
21151 as_nl='
21153 IFS=" "" $as_nl"
21155 # Find who we are. Look in the path if we contain no directory separator.
21156 case $0 in
21157 *[\\/]* ) as_myself=$0 ;;
21158 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21159 for as_dir in $PATH
21161 IFS=$as_save_IFS
21162 test -z "$as_dir" && as_dir=.
21163 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21164 done
21165 IFS=$as_save_IFS
21168 esac
21169 # We did not find ourselves, most probably we were run as `sh COMMAND'
21170 # in which case we are not to be found in the path.
21171 if test "x$as_myself" = x; then
21172 as_myself=$0
21174 if test ! -f "$as_myself"; then
21175 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21176 { (exit 1); exit 1; }
21179 # Work around bugs in pre-3.0 UWIN ksh.
21180 for as_var in ENV MAIL MAILPATH
21181 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21182 done
21183 PS1='$ '
21184 PS2='> '
21185 PS4='+ '
21187 # NLS nuisances.
21188 for as_var in \
21189 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21190 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21191 LC_TELEPHONE LC_TIME
21193 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21194 eval $as_var=C; export $as_var
21195 else
21196 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21198 done
21200 # Required to use basename.
21201 if expr a : '\(a\)' >/dev/null 2>&1 &&
21202 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21203 as_expr=expr
21204 else
21205 as_expr=false
21208 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21209 as_basename=basename
21210 else
21211 as_basename=false
21215 # Name of the executable.
21216 as_me=`$as_basename -- "$0" ||
21217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21218 X"$0" : 'X\(//\)$' \| \
21219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21220 echo X/"$0" |
21221 sed '/^.*\/\([^/][^/]*\)\/*$/{
21222 s//\1/
21225 /^X\/\(\/\/\)$/{
21226 s//\1/
21229 /^X\/\(\/\).*/{
21230 s//\1/
21233 s/.*/./; q'`
21235 # CDPATH.
21236 $as_unset CDPATH
21240 as_lineno_1=$LINENO
21241 as_lineno_2=$LINENO
21242 test "x$as_lineno_1" != "x$as_lineno_2" &&
21243 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21246 # uniformly replaced by the line number. The first 'sed' inserts a
21247 # line-number line after each line using $LINENO; the second 'sed'
21248 # does the real work. The second script uses 'N' to pair each
21249 # line-number line with the line containing $LINENO, and appends
21250 # trailing '-' during substitution so that $LINENO is not a special
21251 # case at line end.
21252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21253 # scripts with optimization help from Paolo Bonzini. Blame Lee
21254 # E. McMahon (1931-1989) for sed's syntax. :-)
21255 sed -n '
21257 /[$]LINENO/=
21258 ' <$as_myself |
21259 sed '
21260 s/[$]LINENO.*/&-/
21261 t lineno
21263 :lineno
21265 :loop
21266 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21267 t loop
21268 s/-\n.*//
21269 ' >$as_me.lineno &&
21270 chmod +x "$as_me.lineno" ||
21271 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21272 { (exit 1); exit 1; }; }
21274 # Don't try to exec as it changes $[0], causing all sort of problems
21275 # (the dirname of $[0] is not the place where we might find the
21276 # original and so on. Autoconf is especially sensitive to this).
21277 . "./$as_me.lineno"
21278 # Exit status is that of the last command.
21279 exit
21283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21284 as_dirname=dirname
21285 else
21286 as_dirname=false
21289 ECHO_C= ECHO_N= ECHO_T=
21290 case `echo -n x` in
21291 -n*)
21292 case `echo 'x\c'` in
21293 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21294 *) ECHO_C='\c';;
21295 esac;;
21297 ECHO_N='-n';;
21298 esac
21300 if expr a : '\(a\)' >/dev/null 2>&1 &&
21301 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21302 as_expr=expr
21303 else
21304 as_expr=false
21307 rm -f conf$$ conf$$.exe conf$$.file
21308 if test -d conf$$.dir; then
21309 rm -f conf$$.dir/conf$$.file
21310 else
21311 rm -f conf$$.dir
21312 mkdir conf$$.dir
21314 echo >conf$$.file
21315 if ln -s conf$$.file conf$$ 2>/dev/null; then
21316 as_ln_s='ln -s'
21317 # ... but there are two gotchas:
21318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21320 # In both cases, we have to default to `cp -p'.
21321 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21322 as_ln_s='cp -p'
21323 elif ln conf$$.file conf$$ 2>/dev/null; then
21324 as_ln_s=ln
21325 else
21326 as_ln_s='cp -p'
21328 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21329 rmdir conf$$.dir 2>/dev/null
21331 if mkdir -p . 2>/dev/null; then
21332 as_mkdir_p=:
21333 else
21334 test -d ./-p && rmdir ./-p
21335 as_mkdir_p=false
21338 if test -x / >/dev/null 2>&1; then
21339 as_test_x='test -x'
21340 else
21341 if ls -dL / >/dev/null 2>&1; then
21342 as_ls_L_option=L
21343 else
21344 as_ls_L_option=
21346 as_test_x='
21347 eval sh -c '\''
21348 if test -d "$1"; then
21349 test -d "$1/.";
21350 else
21351 case $1 in
21352 -*)set "./$1";;
21353 esac;
21354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21355 ???[sx]*):;;*)false;;esac;fi
21356 '\'' sh
21359 as_executable_p=$as_test_x
21361 # Sed expression to map a string onto a valid CPP name.
21362 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21364 # Sed expression to map a string onto a valid variable name.
21365 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21368 exec 6>&1
21370 # Save the log message, to keep $[0] and so on meaningful, and to
21371 # report actual input values of CONFIG_FILES etc. instead of their
21372 # values after options handling.
21373 ac_log="
21374 This file was extended by Wine $as_me 0.9.43, which was
21375 generated by GNU Autoconf 2.61. Invocation command line was
21377 CONFIG_FILES = $CONFIG_FILES
21378 CONFIG_HEADERS = $CONFIG_HEADERS
21379 CONFIG_LINKS = $CONFIG_LINKS
21380 CONFIG_COMMANDS = $CONFIG_COMMANDS
21381 $ $0 $@
21383 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21386 _ACEOF
21388 cat >>$CONFIG_STATUS <<_ACEOF
21389 # Files that config.status was made for.
21390 config_files="$ac_config_files"
21391 config_headers="$ac_config_headers"
21392 config_commands="$ac_config_commands"
21394 _ACEOF
21396 cat >>$CONFIG_STATUS <<\_ACEOF
21397 ac_cs_usage="\
21398 \`$as_me' instantiates files from templates according to the
21399 current configuration.
21401 Usage: $0 [OPTIONS] [FILE]...
21403 -h, --help print this help, then exit
21404 -V, --version print version number and configuration settings, then exit
21405 -q, --quiet do not print progress messages
21406 -d, --debug don't remove temporary files
21407 --recheck update $as_me by reconfiguring in the same conditions
21408 --file=FILE[:TEMPLATE]
21409 instantiate the configuration file FILE
21410 --header=FILE[:TEMPLATE]
21411 instantiate the configuration header FILE
21413 Configuration files:
21414 $config_files
21416 Configuration headers:
21417 $config_headers
21419 Configuration commands:
21420 $config_commands
21422 Report bugs to <bug-autoconf@gnu.org>."
21424 _ACEOF
21425 cat >>$CONFIG_STATUS <<_ACEOF
21426 ac_cs_version="\\
21427 Wine config.status 0.9.43
21428 configured by $0, generated by GNU Autoconf 2.61,
21429 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21431 Copyright (C) 2006 Free Software Foundation, Inc.
21432 This config.status script is free software; the Free Software Foundation
21433 gives unlimited permission to copy, distribute and modify it."
21435 ac_pwd='$ac_pwd'
21436 srcdir='$srcdir'
21437 INSTALL='$INSTALL'
21438 _ACEOF
21440 cat >>$CONFIG_STATUS <<\_ACEOF
21441 # If no file are specified by the user, then we need to provide default
21442 # value. By we need to know if files were specified by the user.
21443 ac_need_defaults=:
21444 while test $# != 0
21446 case $1 in
21447 --*=*)
21448 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21449 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21450 ac_shift=:
21453 ac_option=$1
21454 ac_optarg=$2
21455 ac_shift=shift
21457 esac
21459 case $ac_option in
21460 # Handling of the options.
21461 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21462 ac_cs_recheck=: ;;
21463 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21464 echo "$ac_cs_version"; exit ;;
21465 --debug | --debu | --deb | --de | --d | -d )
21466 debug=: ;;
21467 --file | --fil | --fi | --f )
21468 $ac_shift
21469 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21470 ac_need_defaults=false;;
21471 --header | --heade | --head | --hea )
21472 $ac_shift
21473 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21474 ac_need_defaults=false;;
21475 --he | --h)
21476 # Conflict between --help and --header
21477 { echo "$as_me: error: ambiguous option: $1
21478 Try \`$0 --help' for more information." >&2
21479 { (exit 1); exit 1; }; };;
21480 --help | --hel | -h )
21481 echo "$ac_cs_usage"; exit ;;
21482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21483 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21484 ac_cs_silent=: ;;
21486 # This is an error.
21487 -*) { echo "$as_me: error: unrecognized option: $1
21488 Try \`$0 --help' for more information." >&2
21489 { (exit 1); exit 1; }; } ;;
21491 *) ac_config_targets="$ac_config_targets $1"
21492 ac_need_defaults=false ;;
21494 esac
21495 shift
21496 done
21498 ac_configure_extra_args=
21500 if $ac_cs_silent; then
21501 exec 6>/dev/null
21502 ac_configure_extra_args="$ac_configure_extra_args --silent"
21505 _ACEOF
21506 cat >>$CONFIG_STATUS <<_ACEOF
21507 if \$ac_cs_recheck; then
21508 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21509 CONFIG_SHELL=$SHELL
21510 export CONFIG_SHELL
21511 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21514 _ACEOF
21515 cat >>$CONFIG_STATUS <<\_ACEOF
21516 exec 5>>config.log
21518 echo
21519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21520 ## Running $as_me. ##
21521 _ASBOX
21522 echo "$ac_log"
21523 } >&5
21525 _ACEOF
21526 cat >>$CONFIG_STATUS <<_ACEOF
21527 _ACEOF
21529 cat >>$CONFIG_STATUS <<\_ACEOF
21531 # Handling of arguments.
21532 for ac_config_target in $ac_config_targets
21534 case $ac_config_target in
21535 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21536 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21537 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21538 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21539 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21540 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21541 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21542 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21543 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21544 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21545 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21546 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21547 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21548 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21549 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21550 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21551 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21552 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21553 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21554 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21555 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21556 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21557 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21558 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21559 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21560 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21561 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21562 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21563 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21564 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21565 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21566 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21567 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21568 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21569 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21570 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21571 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21572 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21573 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21574 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21575 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21576 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21577 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21578 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21579 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21580 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21581 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21582 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21583 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21584 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21585 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21586 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21587 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21588 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21589 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21590 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21591 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21592 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21593 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21594 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21595 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21596 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21597 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21598 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21599 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21600 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21601 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21602 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21603 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21604 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21605 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21606 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21607 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21608 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21609 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21610 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21611 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21612 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21613 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21614 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21615 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21616 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21617 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21618 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21619 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21620 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21621 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21622 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21623 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21624 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21625 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21626 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21627 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21628 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21629 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21630 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21631 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21632 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21633 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21634 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21635 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21636 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21637 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21638 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21639 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21640 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21641 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21642 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21643 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21644 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21645 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21646 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21647 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21648 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21649 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21650 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21651 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21652 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21653 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21654 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21655 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21656 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21657 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21658 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21659 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21660 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21661 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21662 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21663 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21664 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21665 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21666 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21667 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21668 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21669 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21670 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21671 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21672 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21673 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21674 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21675 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21676 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21677 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21678 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21679 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21680 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21681 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21682 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21683 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21684 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21685 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21686 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21687 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21688 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21689 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21690 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21691 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21692 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21693 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21694 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21695 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21696 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21697 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21698 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21699 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21700 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21701 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21702 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21703 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21704 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21705 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21706 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21707 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21708 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21709 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21710 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21711 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21712 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21713 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21714 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21715 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21716 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21717 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21718 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21719 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21720 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21721 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21722 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21723 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21724 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21725 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21726 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21727 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21728 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21729 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21730 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21731 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21732 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21733 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21734 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21735 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21736 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21737 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21738 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21739 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21740 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21741 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21742 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21743 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21744 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21745 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21746 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21747 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21748 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21749 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21750 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21751 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21752 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21753 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21754 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21755 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21756 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21757 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21758 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21759 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21760 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21761 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21762 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21763 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21764 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21765 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21766 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21767 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21768 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21769 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21770 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21771 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21772 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21773 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21774 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21775 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21776 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21777 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21778 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21779 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21780 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21781 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21782 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21783 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21784 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21785 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21786 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21787 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21788 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21789 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21790 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21791 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21792 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21793 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21794 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21795 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21796 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21797 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21798 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21799 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21800 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21801 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21802 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21803 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21804 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21805 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21806 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21807 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21808 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21809 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21810 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21811 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21812 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21813 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21814 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21815 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21816 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21817 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21818 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21819 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21820 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21821 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21822 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21823 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21824 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21825 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21826 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21827 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21828 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21829 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21830 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21831 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21832 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21833 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21834 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21835 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21836 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21837 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21838 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21839 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21840 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21841 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21842 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21843 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21844 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21845 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21846 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21847 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21848 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21849 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21850 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21851 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21852 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21853 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21854 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21855 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21856 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21857 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21858 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21859 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21860 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21861 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21862 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21863 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21864 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21865 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21866 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21867 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21868 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21869 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21870 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21871 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21872 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21873 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21874 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21875 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21876 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21877 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21878 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21879 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21880 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21881 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21882 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21883 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21884 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21885 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21886 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21887 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21888 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21889 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21890 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21891 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21892 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21893 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21894 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21895 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21896 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21897 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21898 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21900 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21901 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21902 { (exit 1); exit 1; }; };;
21903 esac
21904 done
21907 # If the user did not use the arguments to specify the items to instantiate,
21908 # then the envvar interface is used. Set only those that are not.
21909 # We use the long form for the default assignment because of an extremely
21910 # bizarre bug on SunOS 4.1.3.
21911 if $ac_need_defaults; then
21912 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21913 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21914 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21917 # Have a temporary directory for convenience. Make it in the build tree
21918 # simply because there is no reason against having it here, and in addition,
21919 # creating and moving files from /tmp can sometimes cause problems.
21920 # Hook for its removal unless debugging.
21921 # Note that there is a small window in which the directory will not be cleaned:
21922 # after its creation but before its name has been assigned to `$tmp'.
21923 $debug ||
21925 tmp=
21926 trap 'exit_status=$?
21927 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21929 trap '{ (exit 1); exit 1; }' 1 2 13 15
21931 # Create a (secure) tmp directory for tmp files.
21934 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21935 test -n "$tmp" && test -d "$tmp"
21936 } ||
21938 tmp=./conf$$-$RANDOM
21939 (umask 077 && mkdir "$tmp")
21940 } ||
21942 echo "$me: cannot create a temporary directory in ." >&2
21943 { (exit 1); exit 1; }
21947 # Set up the sed scripts for CONFIG_FILES section.
21950 # No need to generate the scripts if there are no CONFIG_FILES.
21951 # This happens for instance when ./config.status config.h
21952 if test -n "$CONFIG_FILES"; then
21954 _ACEOF
21956 # Create sed commands to just substitute file output variables.
21958 # Remaining file output variables are in a fragment that also has non-file
21959 # output varibles.
21963 ac_delim='%!_!# '
21964 for ac_last_try in false false false false false :; do
21965 cat >conf$$subs.sed <<_ACEOF
21966 SHELL!$SHELL$ac_delim
21967 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21968 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21969 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21970 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21971 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21972 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21973 exec_prefix!$exec_prefix$ac_delim
21974 prefix!$prefix$ac_delim
21975 program_transform_name!$program_transform_name$ac_delim
21976 bindir!$bindir$ac_delim
21977 sbindir!$sbindir$ac_delim
21978 libexecdir!$libexecdir$ac_delim
21979 datarootdir!$datarootdir$ac_delim
21980 datadir!$datadir$ac_delim
21981 sysconfdir!$sysconfdir$ac_delim
21982 sharedstatedir!$sharedstatedir$ac_delim
21983 localstatedir!$localstatedir$ac_delim
21984 includedir!$includedir$ac_delim
21985 oldincludedir!$oldincludedir$ac_delim
21986 docdir!$docdir$ac_delim
21987 infodir!$infodir$ac_delim
21988 htmldir!$htmldir$ac_delim
21989 dvidir!$dvidir$ac_delim
21990 pdfdir!$pdfdir$ac_delim
21991 psdir!$psdir$ac_delim
21992 libdir!$libdir$ac_delim
21993 localedir!$localedir$ac_delim
21994 mandir!$mandir$ac_delim
21995 DEFS!$DEFS$ac_delim
21996 ECHO_C!$ECHO_C$ac_delim
21997 ECHO_N!$ECHO_N$ac_delim
21998 ECHO_T!$ECHO_T$ac_delim
21999 LIBS!$LIBS$ac_delim
22000 build_alias!$build_alias$ac_delim
22001 host_alias!$host_alias$ac_delim
22002 target_alias!$target_alias$ac_delim
22003 build!$build$ac_delim
22004 build_cpu!$build_cpu$ac_delim
22005 build_vendor!$build_vendor$ac_delim
22006 build_os!$build_os$ac_delim
22007 host!$host$ac_delim
22008 host_cpu!$host_cpu$ac_delim
22009 host_vendor!$host_vendor$ac_delim
22010 host_os!$host_os$ac_delim
22011 WIN16_FILES!$WIN16_FILES$ac_delim
22012 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22013 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22014 WINETEST!$WINETEST$ac_delim
22015 SET_MAKE!$SET_MAKE$ac_delim
22016 CC!$CC$ac_delim
22017 CFLAGS!$CFLAGS$ac_delim
22018 LDFLAGS!$LDFLAGS$ac_delim
22019 CPPFLAGS!$CPPFLAGS$ac_delim
22020 ac_ct_CC!$ac_ct_CC$ac_delim
22021 EXEEXT!$EXEEXT$ac_delim
22022 OBJEXT!$OBJEXT$ac_delim
22023 CXX!$CXX$ac_delim
22024 CXXFLAGS!$CXXFLAGS$ac_delim
22025 ac_ct_CXX!$ac_ct_CXX$ac_delim
22026 CPPBIN!$CPPBIN$ac_delim
22027 TOOLSDIR!$TOOLSDIR$ac_delim
22028 XMKMF!$XMKMF$ac_delim
22029 CPP!$CPP$ac_delim
22030 X_CFLAGS!$X_CFLAGS$ac_delim
22031 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22032 X_LIBS!$X_LIBS$ac_delim
22033 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22034 FLEX!$FLEX$ac_delim
22035 BISON!$BISON$ac_delim
22036 AS!$AS$ac_delim
22037 ac_ct_AS!$ac_ct_AS$ac_delim
22038 LD!$LD$ac_delim
22039 AR!$AR$ac_delim
22040 RANLIB!$RANLIB$ac_delim
22041 STRIP!$STRIP$ac_delim
22042 WINDRES!$WINDRES$ac_delim
22043 LN_S!$LN_S$ac_delim
22044 LN!$LN$ac_delim
22045 GREP!$GREP$ac_delim
22046 EGREP!$EGREP$ac_delim
22047 LDCONFIG!$LDCONFIG$ac_delim
22048 _ACEOF
22050 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22051 break
22052 elif $ac_last_try; then
22053 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22054 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22055 { (exit 1); exit 1; }; }
22056 else
22057 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22059 done
22061 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22062 if test -n "$ac_eof"; then
22063 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22064 ac_eof=`expr $ac_eof + 1`
22067 cat >>$CONFIG_STATUS <<_ACEOF
22068 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22070 /^[ ]*@MAKE_RULES@[ ]*$/{
22071 r $MAKE_RULES
22074 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22075 r $MAKE_DLL_RULES
22078 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22079 r $MAKE_IMPLIB_RULES
22082 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22083 r $MAKE_TEST_RULES
22086 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22087 r $MAKE_PROG_RULES
22090 _ACEOF
22091 sed '
22092 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22093 s/^/s,@/; s/!/@,|#_!!_#|/
22096 s/'"$ac_delim"'$/,g/; t
22097 s/$/\\/; p
22098 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22099 ' >>$CONFIG_STATUS <conf$$subs.sed
22100 rm -f conf$$subs.sed
22101 cat >>$CONFIG_STATUS <<_ACEOF
22102 CEOF$ac_eof
22103 _ACEOF
22106 ac_delim='%!_!# '
22107 for ac_last_try in false false false false false :; do
22108 cat >conf$$subs.sed <<_ACEOF
22109 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22110 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22111 INSTALL_DATA!$INSTALL_DATA$ac_delim
22112 LINT!$LINT$ac_delim
22113 LINTFLAGS!$LINTFLAGS$ac_delim
22114 FONTFORGE!$FONTFORGE$ac_delim
22115 PKG_CONFIG!$PKG_CONFIG$ac_delim
22116 PRELINK!$PRELINK$ac_delim
22117 LIBPTHREAD!$LIBPTHREAD$ac_delim
22118 XLIB!$XLIB$ac_delim
22119 XFILES!$XFILES$ac_delim
22120 OPENGLFILES!$OPENGLFILES$ac_delim
22121 GLU32FILES!$GLU32FILES$ac_delim
22122 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22123 QUARTZFILES!$QUARTZFILES$ac_delim
22124 DLLEXT!$DLLEXT$ac_delim
22125 DLLFLAGS!$DLLFLAGS$ac_delim
22126 LDSHARED!$LDSHARED$ac_delim
22127 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22128 LIBEXT!$LIBEXT$ac_delim
22129 IMPLIBEXT!$IMPLIBEXT$ac_delim
22130 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22131 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22132 LDD!$LDD$ac_delim
22133 DLLTOOL!$DLLTOOL$ac_delim
22134 DLLWRAP!$DLLWRAP$ac_delim
22135 MINGWAR!$MINGWAR$ac_delim
22136 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22137 IOKITLIB!$IOKITLIB$ac_delim
22138 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22139 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22140 COREAUDIO!$COREAUDIO$ac_delim
22141 CARBONLIB!$CARBONLIB$ac_delim
22142 CROSSTEST!$CROSSTEST$ac_delim
22143 CROSSCC!$CROSSCC$ac_delim
22144 CROSSWINDRES!$CROSSWINDRES$ac_delim
22145 NASLIBS!$NASLIBS$ac_delim
22146 XML2LIBS!$XML2LIBS$ac_delim
22147 XML2INCL!$XML2INCL$ac_delim
22148 XSLTLIBS!$XSLTLIBS$ac_delim
22149 XSLTINCL!$XSLTINCL$ac_delim
22150 HALINCL!$HALINCL$ac_delim
22151 sane_devel!$sane_devel$ac_delim
22152 SANEINCL!$SANEINCL$ac_delim
22153 gphoto2_devel!$gphoto2_devel$ac_delim
22154 gphoto2port_devel!$gphoto2port_devel$ac_delim
22155 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22156 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22157 ICULIBS!$ICULIBS$ac_delim
22158 RESOLVLIBS!$RESOLVLIBS$ac_delim
22159 LCMSLIBS!$LCMSLIBS$ac_delim
22160 LDAPLIBS!$LDAPLIBS$ac_delim
22161 ft_devel!$ft_devel$ac_delim
22162 FREETYPELIBS!$FREETYPELIBS$ac_delim
22163 FREETYPEINCL!$FREETYPEINCL$ac_delim
22164 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22165 ESDCONFIG!$ESDCONFIG$ac_delim
22166 ESDLIBS!$ESDLIBS$ac_delim
22167 ESDINCL!$ESDINCL$ac_delim
22168 ALSALIBS!$ALSALIBS$ac_delim
22169 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22170 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22171 BUILTINFLAG!$BUILTINFLAG$ac_delim
22172 LDPATH!$LDPATH$ac_delim
22173 CRTLIBS!$CRTLIBS$ac_delim
22174 SOCKETLIBS!$SOCKETLIBS$ac_delim
22175 MAIN_BINARY!$MAIN_BINARY$ac_delim
22176 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22177 LIBDL!$LIBDL$ac_delim
22178 LIBPOLL!$LIBPOLL$ac_delim
22179 DEPENDENCIES!$DEPENDENCIES$ac_delim
22180 LIBOBJS!$LIBOBJS$ac_delim
22181 LTLIBOBJS!$LTLIBOBJS$ac_delim
22182 _ACEOF
22184 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22185 break
22186 elif $ac_last_try; then
22187 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22188 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22189 { (exit 1); exit 1; }; }
22190 else
22191 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22193 done
22195 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22196 if test -n "$ac_eof"; then
22197 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22198 ac_eof=`expr $ac_eof + 1`
22201 cat >>$CONFIG_STATUS <<_ACEOF
22202 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22204 _ACEOF
22205 sed '
22206 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22207 s/^/s,@/; s/!/@,|#_!!_#|/
22210 s/'"$ac_delim"'$/,g/; t
22211 s/$/\\/; p
22212 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22213 ' >>$CONFIG_STATUS <conf$$subs.sed
22214 rm -f conf$$subs.sed
22215 cat >>$CONFIG_STATUS <<_ACEOF
22216 :end
22217 s/|#_!!_#|//g
22218 CEOF$ac_eof
22219 _ACEOF
22222 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22223 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22224 # trailing colons and then remove the whole line if VPATH becomes empty
22225 # (actually we leave an empty line to preserve line numbers).
22226 if test "x$srcdir" = x.; then
22227 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22228 s/:*\$(srcdir):*/:/
22229 s/:*\${srcdir}:*/:/
22230 s/:*@srcdir@:*/:/
22231 s/^\([^=]*=[ ]*\):*/\1/
22232 s/:*$//
22233 s/^[^=]*=[ ]*$//
22237 cat >>$CONFIG_STATUS <<\_ACEOF
22238 fi # test -n "$CONFIG_FILES"
22241 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22243 case $ac_tag in
22244 :[FHLC]) ac_mode=$ac_tag; continue;;
22245 esac
22246 case $ac_mode$ac_tag in
22247 :[FHL]*:*);;
22248 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22249 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22250 { (exit 1); exit 1; }; };;
22251 :[FH]-) ac_tag=-:-;;
22252 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22253 esac
22254 ac_save_IFS=$IFS
22255 IFS=:
22256 set x $ac_tag
22257 IFS=$ac_save_IFS
22258 shift
22259 ac_file=$1
22260 shift
22262 case $ac_mode in
22263 :L) ac_source=$1;;
22264 :[FH])
22265 ac_file_inputs=
22266 for ac_f
22268 case $ac_f in
22269 -) ac_f="$tmp/stdin";;
22270 *) # Look for the file first in the build tree, then in the source tree
22271 # (if the path is not absolute). The absolute path cannot be DOS-style,
22272 # because $ac_f cannot contain `:'.
22273 test -f "$ac_f" ||
22274 case $ac_f in
22275 [\\/$]*) false;;
22276 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22277 esac ||
22278 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22279 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22280 { (exit 1); exit 1; }; };;
22281 esac
22282 ac_file_inputs="$ac_file_inputs $ac_f"
22283 done
22285 # Let's still pretend it is `configure' which instantiates (i.e., don't
22286 # use $as_me), people would be surprised to read:
22287 # /* config.h. Generated by config.status. */
22288 configure_input="Generated from "`IFS=:
22289 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22290 if test x"$ac_file" != x-; then
22291 configure_input="$ac_file. $configure_input"
22292 { echo "$as_me:$LINENO: creating $ac_file" >&5
22293 echo "$as_me: creating $ac_file" >&6;}
22296 case $ac_tag in
22297 *:-:* | *:-) cat >"$tmp/stdin";;
22298 esac
22300 esac
22302 ac_dir=`$as_dirname -- "$ac_file" ||
22303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22304 X"$ac_file" : 'X\(//\)[^/]' \| \
22305 X"$ac_file" : 'X\(//\)$' \| \
22306 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22307 echo X"$ac_file" |
22308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22309 s//\1/
22312 /^X\(\/\/\)[^/].*/{
22313 s//\1/
22316 /^X\(\/\/\)$/{
22317 s//\1/
22320 /^X\(\/\).*/{
22321 s//\1/
22324 s/.*/./; q'`
22325 { as_dir="$ac_dir"
22326 case $as_dir in #(
22327 -*) as_dir=./$as_dir;;
22328 esac
22329 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22330 as_dirs=
22331 while :; do
22332 case $as_dir in #(
22333 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22334 *) as_qdir=$as_dir;;
22335 esac
22336 as_dirs="'$as_qdir' $as_dirs"
22337 as_dir=`$as_dirname -- "$as_dir" ||
22338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22339 X"$as_dir" : 'X\(//\)[^/]' \| \
22340 X"$as_dir" : 'X\(//\)$' \| \
22341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22342 echo X"$as_dir" |
22343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22344 s//\1/
22347 /^X\(\/\/\)[^/].*/{
22348 s//\1/
22351 /^X\(\/\/\)$/{
22352 s//\1/
22355 /^X\(\/\).*/{
22356 s//\1/
22359 s/.*/./; q'`
22360 test -d "$as_dir" && break
22361 done
22362 test -z "$as_dirs" || eval "mkdir $as_dirs"
22363 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22364 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22365 { (exit 1); exit 1; }; }; }
22366 ac_builddir=.
22368 case "$ac_dir" in
22369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22371 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22372 # A ".." for each directory in $ac_dir_suffix.
22373 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22374 case $ac_top_builddir_sub in
22375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22377 esac ;;
22378 esac
22379 ac_abs_top_builddir=$ac_pwd
22380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22381 # for backward compatibility:
22382 ac_top_builddir=$ac_top_build_prefix
22384 case $srcdir in
22385 .) # We are building in place.
22386 ac_srcdir=.
22387 ac_top_srcdir=$ac_top_builddir_sub
22388 ac_abs_top_srcdir=$ac_pwd ;;
22389 [\\/]* | ?:[\\/]* ) # Absolute name.
22390 ac_srcdir=$srcdir$ac_dir_suffix;
22391 ac_top_srcdir=$srcdir
22392 ac_abs_top_srcdir=$srcdir ;;
22393 *) # Relative name.
22394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22395 ac_top_srcdir=$ac_top_build_prefix$srcdir
22396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22397 esac
22398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22401 case $ac_mode in
22404 # CONFIG_FILE
22407 case $INSTALL in
22408 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22409 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22410 esac
22411 _ACEOF
22413 cat >>$CONFIG_STATUS <<\_ACEOF
22414 # If the template does not know about datarootdir, expand it.
22415 # FIXME: This hack should be removed a few years after 2.60.
22416 ac_datarootdir_hack=; ac_datarootdir_seen=
22418 case `sed -n '/datarootdir/ {
22422 /@datadir@/p
22423 /@docdir@/p
22424 /@infodir@/p
22425 /@localedir@/p
22426 /@mandir@/p
22427 ' $ac_file_inputs` in
22428 *datarootdir*) ac_datarootdir_seen=yes;;
22429 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22430 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22431 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22432 _ACEOF
22433 cat >>$CONFIG_STATUS <<_ACEOF
22434 ac_datarootdir_hack='
22435 s&@datadir@&$datadir&g
22436 s&@docdir@&$docdir&g
22437 s&@infodir@&$infodir&g
22438 s&@localedir@&$localedir&g
22439 s&@mandir@&$mandir&g
22440 s&\\\${datarootdir}&$datarootdir&g' ;;
22441 esac
22442 _ACEOF
22444 # Neutralize VPATH when `$srcdir' = `.'.
22445 # Shell code in configure.ac might set extrasub.
22446 # FIXME: do we really want to maintain this feature?
22447 cat >>$CONFIG_STATUS <<_ACEOF
22448 sed "$ac_vpsub
22449 $extrasub
22450 _ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF
22453 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22454 s&@configure_input@&$configure_input&;t t
22455 s&@top_builddir@&$ac_top_builddir_sub&;t t
22456 s&@srcdir@&$ac_srcdir&;t t
22457 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22458 s&@top_srcdir@&$ac_top_srcdir&;t t
22459 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22460 s&@builddir@&$ac_builddir&;t t
22461 s&@abs_builddir@&$ac_abs_builddir&;t t
22462 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22463 s&@INSTALL@&$ac_INSTALL&;t t
22464 $ac_datarootdir_hack
22465 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22467 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22468 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22469 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22470 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22471 which seems to be undefined. Please make sure it is defined." >&5
22472 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22473 which seems to be undefined. Please make sure it is defined." >&2;}
22475 rm -f "$tmp/stdin"
22476 case $ac_file in
22477 -) cat "$tmp/out"; rm -f "$tmp/out";;
22478 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22479 esac
22483 # CONFIG_HEADER
22485 _ACEOF
22487 # Transform confdefs.h into a sed script `conftest.defines', that
22488 # substitutes the proper values into config.h.in to produce config.h.
22489 rm -f conftest.defines conftest.tail
22490 # First, append a space to every undef/define line, to ease matching.
22491 echo 's/$/ /' >conftest.defines
22492 # Then, protect against being on the right side of a sed subst, or in
22493 # an unquoted here document, in config.status. If some macros were
22494 # called several times there might be several #defines for the same
22495 # symbol, which is useless. But do not sort them, since the last
22496 # AC_DEFINE must be honored.
22497 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22498 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22499 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22500 # PARAMS is the parameter list in the macro definition--in most cases, it's
22501 # just an empty string.
22502 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22503 ac_dB='\\)[ (].*,\\1define\\2'
22504 ac_dC=' '
22505 ac_dD=' ,'
22507 uniq confdefs.h |
22508 sed -n '
22509 t rset
22510 :rset
22511 s/^[ ]*#[ ]*define[ ][ ]*//
22512 t ok
22515 s/[\\&,]/\\&/g
22516 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22517 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22518 ' >>conftest.defines
22520 # Remove the space that was appended to ease matching.
22521 # Then replace #undef with comments. This is necessary, for
22522 # example, in the case of _POSIX_SOURCE, which is predefined and required
22523 # on some systems where configure will not decide to define it.
22524 # (The regexp can be short, since the line contains either #define or #undef.)
22525 echo 's/ $//
22526 s,^[ #]*u.*,/* & */,' >>conftest.defines
22528 # Break up conftest.defines:
22529 ac_max_sed_lines=50
22531 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22532 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22533 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22534 # et cetera.
22535 ac_in='$ac_file_inputs'
22536 ac_out='"$tmp/out1"'
22537 ac_nxt='"$tmp/out2"'
22539 while :
22541 # Write a here document:
22542 cat >>$CONFIG_STATUS <<_ACEOF
22543 # First, check the format of the line:
22544 cat >"\$tmp/defines.sed" <<\\CEOF
22545 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22546 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22548 :def
22549 _ACEOF
22550 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22551 echo 'CEOF
22552 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22553 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22554 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22555 grep . conftest.tail >/dev/null || break
22556 rm -f conftest.defines
22557 mv conftest.tail conftest.defines
22558 done
22559 rm -f conftest.defines conftest.tail
22561 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22562 cat >>$CONFIG_STATUS <<\_ACEOF
22563 if test x"$ac_file" != x-; then
22564 echo "/* $configure_input */" >"$tmp/config.h"
22565 cat "$ac_result" >>"$tmp/config.h"
22566 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22567 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22568 echo "$as_me: $ac_file is unchanged" >&6;}
22569 else
22570 rm -f $ac_file
22571 mv "$tmp/config.h" $ac_file
22573 else
22574 echo "/* $configure_input */"
22575 cat "$ac_result"
22577 rm -f "$tmp/out12"
22580 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22581 echo "$as_me: executing $ac_file commands" >&6;}
22583 esac
22586 case $ac_file$ac_mode in
22587 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22588 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22589 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22590 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22591 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22592 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22593 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22594 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22595 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22596 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22597 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22598 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22599 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22601 esac
22602 done # for ac_tag
22605 { (exit 0); exit 0; }
22606 _ACEOF
22607 chmod +x $CONFIG_STATUS
22608 ac_clean_files=$ac_clean_files_save
22611 # configure is writing to config.log, and then calls config.status.
22612 # config.status does its own redirection, appending to config.log.
22613 # Unfortunately, on DOS this fails, as config.log is still kept open
22614 # by configure, so config.status won't be able to write to it; its
22615 # output is simply discarded. So we exec the FD to /dev/null,
22616 # effectively closing config.log, so it can be properly (re)opened and
22617 # appended to by config.status. When coming back to configure, we
22618 # need to make the FD available again.
22619 if test "$no_create" != yes; then
22620 ac_cs_success=:
22621 ac_config_status_args=
22622 test "$silent" = yes &&
22623 ac_config_status_args="$ac_config_status_args --quiet"
22624 exec 5>/dev/null
22625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22626 exec 5>>config.log
22627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22628 # would make configure fail if this is the last instruction.
22629 $ac_cs_success || { (exit 1); exit 1; }
22633 if test "$no_create" = "yes"
22634 then
22635 exit 0
22638 ac_save_IFS="$IFS"
22639 IFS="|"
22640 if test "$verbose" = "yes"; then
22641 for msg in $wine_notices; do
22642 if test -n "$msg"; then
22643 echo >&2
22644 { echo "$as_me:$LINENO: $msg" >&5
22645 echo "$as_me: $msg" >&6;}
22647 done
22649 for msg in $wine_warnings; do
22650 if test -n "$msg"; then
22651 echo >&2
22652 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22653 echo "$as_me: WARNING: $msg" >&2;}
22655 done
22656 IFS="$ac_save_IFS"
22658 echo
22659 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22660 echo