user32: Allocate a dual A/W winproc for DefWindowProc.
[wine/multimedia.git] / configure
blob266f7afc279a48cf457d9457e59c3973c4e12651
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
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.40'
578 PACKAGE_STRING='Wine 0.9.40'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 ICULIBS
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.40
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.40, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lxpg4 $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _xpg4_setrunelocale ();
6341 main ()
6343 return _xpg4_setrunelocale ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6383 _ACEOF
6385 LIBS="-lxpg4 $LIBS"
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h. */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6406 #ifdef __cplusplus
6407 extern "C"
6408 #endif
6409 char pthread_create ();
6411 main ()
6413 return pthread_create ();
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest$ac_exeext &&
6435 $as_test_x conftest$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create=yes
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create=no
6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD="-lpthread"
6456 XLIB=""
6458 XFILES=""
6460 OPENGLFILES=""
6462 GLU32FILES=""
6464 OPENGL_LIBS=""
6466 QUARTZFILES=""
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6482 #include <stdarg.h>
6483 #include <string.h>
6484 #include <float.h>
6487 main ()
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6499 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <string.h>
6531 _ACEOF
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6535 else
6536 ac_cv_header_stdc=no
6538 rm -f conftest*
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <stdlib.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6567 else
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6620 else
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ( exit $ac_status )
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6640 _ACEOF
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6675 case "(($ac_try" in
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6678 esac
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then
6690 eval "$as_ac_Header=yes"
6691 else
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 ac_res=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h <<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6824 for ac_header in \
6825 AudioUnit/AudioUnit.h \
6826 Carbon/Carbon.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6829 IOKit/IOKitLib.h \
6830 alsa/asoundlib.h \
6831 arpa/inet.h \
6832 arpa/nameser.h \
6833 asm/types.h \
6834 capi20.h \
6835 cups/cups.h \
6836 curses.h \
6837 direct.h \
6838 dlfcn.h \
6839 elf.h \
6840 float.h \
6841 fontconfig/fontconfig.h \
6842 getopt.h \
6843 ieeefp.h \
6844 io.h \
6845 jack/jack.h \
6846 jpeglib.h \
6847 lber.h \
6848 lcms.h \
6849 lcms/lcms.h \
6850 ldap.h \
6851 libaudioio.h \
6852 link.h \
6853 linux/cdrom.h \
6854 linux/compiler.h \
6855 linux/hdreg.h \
6856 linux/input.h \
6857 linux/ioctl.h \
6858 linux/joystick.h \
6859 linux/major.h \
6860 linux/param.h \
6861 linux/serial.h \
6862 linux/ucdrom.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/soundcard.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 openssl/err.h \
6876 openssl/ssl.h \
6877 png.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/socketvar.h \
6918 sys/sockio.h \
6919 sys/soundcard.h \
6920 sys/statvfs.h \
6921 sys/strtio.h \
6922 sys/syscall.h \
6923 sys/sysctl.h \
6924 sys/time.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/un.h \
6928 sys/vm86.h \
6929 sys/wait.h \
6930 syscall.h \
6931 termios.h \
6932 unicode/ubidi.h \
6933 unistd.h \
6934 utime.h \
6935 valgrind/memcheck.h
6938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_res=`eval echo '${'$as_ac_Header'}'`
6946 { echo "$as_me:$LINENO: result: $ac_res" >&5
6947 echo "${ECHO_T}$ac_res" >&6; }
6948 else
6949 # Is the header compilable?
6950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6952 cat >conftest.$ac_ext <<_ACEOF
6953 /* confdefs.h. */
6954 _ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6959 #include <$ac_header>
6960 _ACEOF
6961 rm -f conftest.$ac_objext
6962 if { (ac_try="$ac_compile"
6963 case "(($ac_try" in
6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6966 esac
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6969 ac_status=$?
6970 grep -v '^ *+' conftest.er1 >conftest.err
6971 rm -f conftest.er1
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_header_compiler=yes
6979 else
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_header_compiler=no
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6988 echo "${ECHO_T}$ac_header_compiler" >&6; }
6990 # Is the header present?
6991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6993 cat >conftest.$ac_ext <<_ACEOF
6994 /* confdefs.h. */
6995 _ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 #include <$ac_header>
7000 _ACEOF
7001 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 case "(($ac_try" in
7003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004 *) ac_try_echo=$ac_try;;
7005 esac
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 ac_status=$?
7009 grep -v '^ *+' conftest.er1 >conftest.err
7010 rm -f conftest.er1
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev/null && {
7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7016 }; then
7017 ac_header_preproc=yes
7018 else
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 ac_header_preproc=no
7025 rm -f conftest.err conftest.$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7027 echo "${ECHO_T}$ac_header_preproc" >&6; }
7029 # So? What about this header?
7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 yes:no: )
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7036 ac_header_preproc=yes
7038 no:yes:* )
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ( cat <<\_ASBOX
7052 ## ------------------------------------ ##
7053 ## Report this to wine-devel@winehq.org ##
7054 ## ------------------------------------ ##
7055 _ASBOX
7056 ) | sed "s/^/$as_me: WARNING: /" >&2
7058 esac
7059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 else
7064 eval "$as_ac_Header=\$ac_header_preproc"
7066 ac_res=`eval echo '${'$as_ac_Header'}'`
7067 { echo "$as_me:$LINENO: result: $ac_res" >&5
7068 echo "${ECHO_T}$ac_res" >&6; }
7071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072 cat >>confdefs.h <<_ACEOF
7073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 _ACEOF
7078 done
7080 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7081 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7082 if test "${ac_cv_header_stat_broken+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else
7085 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 #include <sys/stat.h>
7094 #if defined S_ISBLK && defined S_IFDIR
7095 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7096 #endif
7098 #if defined S_ISBLK && defined S_IFCHR
7099 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7100 #endif
7102 #if defined S_ISLNK && defined S_IFREG
7103 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7104 #endif
7106 #if defined S_ISSOCK && defined S_IFREG
7107 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7108 #endif
7110 _ACEOF
7111 rm -f conftest.$ac_objext
7112 if { (ac_try="$ac_compile"
7113 case "(($ac_try" in
7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7116 esac
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_compile") 2>conftest.er1
7119 ac_status=$?
7120 grep -v '^ *+' conftest.er1 >conftest.err
7121 rm -f conftest.er1
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } && {
7125 test -z "$ac_c_werror_flag" ||
7126 test ! -s conftest.err
7127 } && test -s conftest.$ac_objext; then
7128 ac_cv_header_stat_broken=no
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 cat >>confdefs.h <<\_ACEOF
7143 #define STAT_MACROS_BROKEN 1
7144 _ACEOF
7154 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 else
7162 cat >conftest.$ac_ext <<_ACEOF
7163 /* confdefs.h. */
7164 _ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 #include <sys/types.h>
7169 #if HAVE_SYS_PARAM_H
7170 # include <sys/param.h>
7171 #endif
7173 #include <$ac_header>
7174 _ACEOF
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7177 case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180 esac
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.$ac_objext; then
7192 eval "$as_ac_Header=yes"
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7208 _ACEOF
7212 done
7223 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
7225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7229 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 else
7231 cat >conftest.$ac_ext <<_ACEOF
7232 /* confdefs.h. */
7233 _ACEOF
7234 cat confdefs.h >>conftest.$ac_ext
7235 cat >>conftest.$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7237 #include <sys/types.h>
7238 #if HAVE_SYS_SOCKET_H
7239 # include <sys/socket.h>
7240 #endif
7242 #include <$ac_header>
7243 _ACEOF
7244 rm -f conftest.$ac_objext
7245 if { (ac_try="$ac_compile"
7246 case "(($ac_try" in
7247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7248 *) ac_try_echo=$ac_try;;
7249 esac
7250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7251 (eval "$ac_compile") 2>conftest.er1
7252 ac_status=$?
7253 grep -v '^ *+' conftest.er1 >conftest.err
7254 rm -f conftest.er1
7255 cat conftest.err >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } && {
7258 test -z "$ac_c_werror_flag" ||
7259 test ! -s conftest.err
7260 } && test -s conftest.$ac_objext; then
7261 eval "$as_ac_Header=yes"
7262 else
7263 echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.$ac_ext >&5
7266 eval "$as_ac_Header=no"
7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 ac_res=`eval echo '${'$as_ac_Header'}'`
7272 { echo "$as_me:$LINENO: result: $ac_res" >&5
7273 echo "${ECHO_T}$ac_res" >&6; }
7274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7275 cat >>confdefs.h <<_ACEOF
7276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 _ACEOF
7281 done
7283 #if HAVE_SYS_SOCKETVAR_H
7284 # include <sys/socketvar.h>
7285 #endif
7288 for ac_header in netinet/tcp_var.h
7290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296 cat >conftest.$ac_ext <<_ACEOF
7297 /* confdefs.h. */
7298 _ACEOF
7299 cat confdefs.h >>conftest.$ac_ext
7300 cat >>conftest.$ac_ext <<_ACEOF
7301 /* end confdefs.h. */
7302 #include <sys/types.h>
7303 #if HAVE_SYS_SOCKET_H
7304 # include <sys/socket.h>
7305 #endif
7306 #if HAVE_SYS_SOCKETVAR_H
7307 # include <sys/socketvar.h>
7308 #endif
7309 #if HAVE_NETINET_IN_H
7310 # include <netinet/in.h>
7311 #endif
7312 #ifdef HAVE_NETINET_TCP_H
7313 # include <netinet/tcp.h>
7314 #endif
7316 #include <$ac_header>
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7320 case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323 esac
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 eval "$as_ac_Header=yes"
7336 else
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 eval "$as_ac_Header=no"
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_res=`eval echo '${'$as_ac_Header'}'`
7346 { echo "$as_me:$LINENO: result: $ac_res" >&5
7347 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7359 for ac_header in linux/ipx.h
7361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 else
7367 cat >conftest.$ac_ext <<_ACEOF
7368 /* confdefs.h. */
7369 _ACEOF
7370 cat confdefs.h >>conftest.$ac_ext
7371 cat >>conftest.$ac_ext <<_ACEOF
7372 /* end confdefs.h. */
7373 #include <sys/types.h>
7374 #ifdef HAVE_ASM_TYPES_H
7375 # include <asm/types.h>
7376 #endif
7377 #if HAVE_SYS_SOCKET_H
7378 # include <sys/socket.h>
7379 #endif
7381 #include <$ac_header>
7382 _ACEOF
7383 rm -f conftest.$ac_objext
7384 if { (ac_try="$ac_compile"
7385 case "(($ac_try" in
7386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7388 esac
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7391 ac_status=$?
7392 grep -v '^ *+' conftest.er1 >conftest.err
7393 rm -f conftest.er1
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 eval "$as_ac_Header=yes"
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 eval "$as_ac_Header=no"
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 ac_res=`eval echo '${'$as_ac_Header'}'`
7411 { echo "$as_me:$LINENO: result: $ac_res" >&5
7412 echo "${ECHO_T}$ac_res" >&6; }
7413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7414 cat >>confdefs.h <<_ACEOF
7415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 _ACEOF
7420 done
7424 for ac_header in resolv.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #if HAVE_SYS_SOCKET_H
7440 # include <sys/socket.h>
7441 #endif
7442 #if HAVE_NETINET_IN_H
7443 # include <netinet/in.h>
7444 #endif
7445 #if HAVE_ARPA_NAMESER_H
7446 # include <arpa/nameser.h>
7447 #endif
7449 #include <$ac_header>
7450 _ACEOF
7451 rm -f conftest.$ac_objext
7452 if { (ac_try="$ac_compile"
7453 case "(($ac_try" in
7454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7455 *) ac_try_echo=$ac_try;;
7456 esac
7457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7458 (eval "$ac_compile") 2>conftest.er1
7459 ac_status=$?
7460 grep -v '^ *+' conftest.er1 >conftest.err
7461 rm -f conftest.er1
7462 cat conftest.err >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); } && {
7465 test -z "$ac_c_werror_flag" ||
7466 test ! -s conftest.err
7467 } && test -s conftest.$ac_objext; then
7468 eval "$as_ac_Header=yes"
7469 else
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.$ac_ext >&5
7473 eval "$as_ac_Header=no"
7476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478 ac_res=`eval echo '${'$as_ac_Header'}'`
7479 { echo "$as_me:$LINENO: result: $ac_res" >&5
7480 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 _ACEOF
7488 done
7492 for ac_header in ucontext.h
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <signal.h>
7508 #include <$ac_header>
7509 _ACEOF
7510 rm -f conftest.$ac_objext
7511 if { (ac_try="$ac_compile"
7512 case "(($ac_try" in
7513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7514 *) ac_try_echo=$ac_try;;
7515 esac
7516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7517 (eval "$ac_compile") 2>conftest.er1
7518 ac_status=$?
7519 grep -v '^ *+' conftest.er1 >conftest.err
7520 rm -f conftest.er1
7521 cat conftest.err >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } && {
7524 test -z "$ac_c_werror_flag" ||
7525 test ! -s conftest.err
7526 } && test -s conftest.$ac_objext; then
7527 eval "$as_ac_Header=yes"
7528 else
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7532 eval "$as_ac_Header=no"
7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537 ac_res=`eval echo '${'$as_ac_Header'}'`
7538 { echo "$as_me:$LINENO: result: $ac_res" >&5
7539 echo "${ECHO_T}$ac_res" >&6; }
7540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7541 cat >>confdefs.h <<_ACEOF
7542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7543 _ACEOF
7547 done
7551 for ac_header in pthread_np.h
7553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 else
7559 cat >conftest.$ac_ext <<_ACEOF
7560 /* confdefs.h. */
7561 _ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7565 #ifdef HAVE_PTHREAD_H
7566 #include <pthread.h>
7567 #endif
7569 #include <$ac_header>
7570 _ACEOF
7571 rm -f conftest.$ac_objext
7572 if { (ac_try="$ac_compile"
7573 case "(($ac_try" in
7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7575 *) ac_try_echo=$ac_try;;
7576 esac
7577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7578 (eval "$ac_compile") 2>conftest.er1
7579 ac_status=$?
7580 grep -v '^ *+' conftest.er1 >conftest.err
7581 rm -f conftest.er1
7582 cat conftest.err >&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } && {
7585 test -z "$ac_c_werror_flag" ||
7586 test ! -s conftest.err
7587 } && test -s conftest.$ac_objext; then
7588 eval "$as_ac_Header=yes"
7589 else
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7593 eval "$as_ac_Header=no"
7596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7598 ac_res=`eval echo '${'$as_ac_Header'}'`
7599 { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 echo "${ECHO_T}$ac_res" >&6; }
7601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7604 _ACEOF
7608 done
7612 for ac_header in linux/videodev.h
7614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 else
7620 cat >conftest.$ac_ext <<_ACEOF
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7626 #ifdef HAVE_SYS_TIME_H
7627 #include <sys/time.h>
7628 #endif
7629 #include <sys/types.h>
7630 #ifdef HAVE_ASM_TYPES_H
7631 #include <asm/types.h>
7632 #endif
7634 #include <$ac_header>
7635 _ACEOF
7636 rm -f conftest.$ac_objext
7637 if { (ac_try="$ac_compile"
7638 case "(($ac_try" in
7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7640 *) ac_try_echo=$ac_try;;
7641 esac
7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7643 (eval "$ac_compile") 2>conftest.er1
7644 ac_status=$?
7645 grep -v '^ *+' conftest.er1 >conftest.err
7646 rm -f conftest.er1
7647 cat conftest.err >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); } && {
7650 test -z "$ac_c_werror_flag" ||
7651 test ! -s conftest.err
7652 } && test -s conftest.$ac_objext; then
7653 eval "$as_ac_Header=yes"
7654 else
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7658 eval "$as_ac_Header=no"
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7663 ac_res=`eval echo '${'$as_ac_Header'}'`
7664 { echo "$as_me:$LINENO: result: $ac_res" >&5
7665 echo "${ECHO_T}$ac_res" >&6; }
7666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7667 cat >>confdefs.h <<_ACEOF
7668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7673 done
7677 for ac_header in linux/capi.h
7679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 else
7685 cat >conftest.$ac_ext <<_ACEOF
7686 /* confdefs.h. */
7687 _ACEOF
7688 cat confdefs.h >>conftest.$ac_ext
7689 cat >>conftest.$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7691 #define __user
7693 #include <$ac_header>
7694 _ACEOF
7695 rm -f conftest.$ac_objext
7696 if { (ac_try="$ac_compile"
7697 case "(($ac_try" in
7698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7699 *) ac_try_echo=$ac_try;;
7700 esac
7701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7702 (eval "$ac_compile") 2>conftest.er1
7703 ac_status=$?
7704 grep -v '^ *+' conftest.er1 >conftest.err
7705 rm -f conftest.er1
7706 cat conftest.err >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } && {
7709 test -z "$ac_c_werror_flag" ||
7710 test ! -s conftest.err
7711 } && test -s conftest.$ac_objext; then
7712 eval "$as_ac_Header=yes"
7713 else
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.$ac_ext >&5
7717 eval "$as_ac_Header=no"
7720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7722 ac_res=`eval echo '${'$as_ac_Header'}'`
7723 { echo "$as_me:$LINENO: result: $ac_res" >&5
7724 echo "${ECHO_T}$ac_res" >&6; }
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h <<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7736 DLLEXT=""
7738 DLLFLAGS="-D_REENTRANT"
7740 LDSHARED=""
7742 LDDLLFLAGS=""
7744 LIBEXT="so"
7746 IMPLIBEXT="def"
7748 LDRPATH_INSTALL=""
7750 LDRPATH_LOCAL=""
7752 # Extract the first word of "ldd", so it can be a program name with args.
7753 set dummy ldd; ac_word=$2
7754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7756 if test "${ac_cv_path_LDD+set}" = set; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 else
7759 case $LDD in
7760 [\\/]* | ?:[\\/]*)
7761 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 as_dummy="/sbin:/usr/sbin:$PATH"
7766 for as_dir in $as_dummy
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7780 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7782 esac
7784 LDD=$ac_cv_path_LDD
7785 if test -n "$LDD"; then
7786 { echo "$as_me:$LINENO: result: $LDD" >&5
7787 echo "${ECHO_T}$LDD" >&6; }
7788 else
7789 { echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6; }
7795 case $host_os in
7796 cygwin*|mingw32*)
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7799 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7802 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7803 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 else
7805 if test -n "$DLLTOOL"; then
7806 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7807 else
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 for as_dir in $PATH
7811 IFS=$as_save_IFS
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 break 2
7819 done
7820 done
7821 IFS=$as_save_IFS
7825 DLLTOOL=$ac_cv_prog_DLLTOOL
7826 if test -n "$DLLTOOL"; then
7827 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7828 echo "${ECHO_T}$DLLTOOL" >&6; }
7829 else
7830 { echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6; }
7836 if test -z "$ac_cv_prog_DLLTOOL"; then
7837 ac_ct_DLLTOOL=$DLLTOOL
7838 # Extract the first word of "dlltool", so it can be a program name with args.
7839 set dummy dlltool; ac_word=$2
7840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7842 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845 if test -n "$ac_ct_DLLTOOL"; then
7846 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7847 else
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 for as_dir in $PATH
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7859 done
7860 done
7861 IFS=$as_save_IFS
7865 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7866 if test -n "$ac_ct_DLLTOOL"; then
7867 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7868 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7869 else
7870 { echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6; }
7874 if test "x$ac_ct_DLLTOOL" = x; then
7875 DLLTOOL="false"
7876 else
7877 case $cross_compiling:$ac_tool_warned in
7878 yes:)
7879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7880 whose name does not start with the host triplet. If you think this
7881 configuration is useful to you, please write to autoconf@gnu.org." >&5
7882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7883 whose name does not start with the host triplet. If you think this
7884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7885 ac_tool_warned=yes ;;
7886 esac
7887 DLLTOOL=$ac_ct_DLLTOOL
7889 else
7890 DLLTOOL="$ac_cv_prog_DLLTOOL"
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7898 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 else
7901 if test -n "$DLLWRAP"; then
7902 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 DLLWRAP=$ac_cv_prog_DLLWRAP
7922 if test -n "$DLLWRAP"; then
7923 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7924 echo "${ECHO_T}$DLLWRAP" >&6; }
7925 else
7926 { echo "$as_me:$LINENO: result: no" >&5
7927 echo "${ECHO_T}no" >&6; }
7932 if test -z "$ac_cv_prog_DLLWRAP"; then
7933 ac_ct_DLLWRAP=$DLLWRAP
7934 # Extract the first word of "dllwrap", so it can be a program name with args.
7935 set dummy dllwrap; ac_word=$2
7936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7938 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941 if test -n "$ac_ct_DLLWRAP"; then
7942 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7951 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7962 if test -n "$ac_ct_DLLWRAP"; then
7963 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7964 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7965 else
7966 { echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6; }
7970 if test "x$ac_ct_DLLWRAP" = x; then
7971 DLLWRAP="false"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7976 whose name does not start with the host triplet. If you think this
7977 configuration is useful to you, please write to autoconf@gnu.org." >&5
7978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7979 whose name does not start with the host triplet. If you think this
7980 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7981 ac_tool_warned=yes ;;
7982 esac
7983 DLLWRAP=$ac_ct_DLLWRAP
7985 else
7986 DLLWRAP="$ac_cv_prog_DLLWRAP"
7989 if test -n "$ac_tool_prefix"; then
7990 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7991 set dummy ${ac_tool_prefix}ar; ac_word=$2
7992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7994 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 else
7997 if test -n "$MINGWAR"; then
7998 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7999 else
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 for as_dir in $PATH
8003 IFS=$as_save_IFS
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8009 break 2
8011 done
8012 done
8013 IFS=$as_save_IFS
8017 MINGWAR=$ac_cv_prog_MINGWAR
8018 if test -n "$MINGWAR"; then
8019 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8020 echo "${ECHO_T}$MINGWAR" >&6; }
8021 else
8022 { echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6; }
8028 if test -z "$ac_cv_prog_MINGWAR"; then
8029 ac_ct_MINGWAR=$MINGWAR
8030 # Extract the first word of "ar", so it can be a program name with args.
8031 set dummy ar; ac_word=$2
8032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8034 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 else
8037 if test -n "$ac_ct_MINGWAR"; then
8038 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8039 else
8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8041 for as_dir in $PATH
8043 IFS=$as_save_IFS
8044 test -z "$as_dir" && as_dir=.
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8047 ac_cv_prog_ac_ct_MINGWAR="ar"
8048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8049 break 2
8051 done
8052 done
8053 IFS=$as_save_IFS
8057 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8058 if test -n "$ac_ct_MINGWAR"; then
8059 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8060 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8061 else
8062 { echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6; }
8066 if test "x$ac_ct_MINGWAR" = x; then
8067 MINGWAR="false"
8068 else
8069 case $cross_compiling:$ac_tool_warned in
8070 yes:)
8071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8072 whose name does not start with the host triplet. If you think this
8073 configuration is useful to you, please write to autoconf@gnu.org." >&5
8074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8075 whose name does not start with the host triplet. If you think this
8076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8077 ac_tool_warned=yes ;;
8078 esac
8079 MINGWAR=$ac_ct_MINGWAR
8081 else
8082 MINGWAR="$ac_cv_prog_MINGWAR"
8085 if test "$DLLWRAP" = "false"; then
8086 LIBEXT="a"
8087 else
8088 LIBEXT="dll"
8090 IMPLIBEXT="a"
8091 WIN16_FILES=""
8092 WIN16_INSTALL=""
8094 darwin*|macosx*)
8095 DLLEXT=".so"
8096 LIBEXT="dylib"
8097 DLLFLAGS="$DLLFLAGS -fPIC"
8098 LDDLLFLAGS="-bundle -multiply_defined suppress"
8099 LIBWINE_LDFLAGS="-multiply_defined suppress"
8100 LDSHARED="\$(CC) -dynamiclib"
8101 STRIP="$STRIP -x"
8102 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8103 COREFOUNDATIONLIB="-framework CoreFoundation"
8105 IOKITLIB="-framework IOKit -framework CoreFoundation"
8107 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8109 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8110 then
8111 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8114 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8115 then
8116 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8119 case $host_cpu in
8120 *powerpc*)
8121 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8122 esac
8123 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8124 then
8125 CARBONLIB="-framework Carbon"
8127 QUARTZFILES='$(QUARTZFILES)'
8131 DLLFLAGS="$DLLFLAGS -fPIC"
8132 DLLEXT=".so"
8133 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8134 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8135 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6
8137 else
8138 ac_wine_try_cflags_saved=$CFLAGS
8139 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8140 cat >conftest.$ac_ext <<_ACEOF
8141 void myfunc() {}
8142 _ACEOF
8143 rm -f conftest.$ac_objext conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8145 case "(($ac_try" in
8146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8147 *) ac_try_echo=$ac_try;;
8148 esac
8149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8150 (eval "$ac_link") 2>conftest.er1
8151 ac_status=$?
8152 grep -v '^ *+' conftest.er1 >conftest.err
8153 rm -f conftest.er1
8154 cat conftest.err >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest$ac_exeext &&
8160 $as_test_x conftest$ac_exeext; then
8161 ac_cv_c_dll_gnuelf="yes"
8162 else
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.$ac_ext >&5
8166 ac_cv_c_dll_gnuelf="no"
8169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8174 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8175 if test "$ac_cv_c_dll_gnuelf" = "yes"
8176 then
8177 LDSHARED="\$(CC) -shared"
8178 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8179 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8180 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8181 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8183 else
8184 ac_wine_try_cflags_saved=$CFLAGS
8185 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8186 cat >conftest.$ac_ext <<_ACEOF
8187 /* confdefs.h. */
8188 _ACEOF
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8194 main ()
8198 return 0;
8200 _ACEOF
8201 rm -f conftest.$ac_objext conftest$ac_exeext
8202 if { (ac_try="$ac_link"
8203 case "(($ac_try" in
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8206 esac
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_link") 2>conftest.er1
8209 ac_status=$?
8210 grep -v '^ *+' conftest.er1 >conftest.err
8211 rm -f conftest.er1
8212 cat conftest.err >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } && {
8215 test -z "$ac_c_werror_flag" ||
8216 test ! -s conftest.err
8217 } && test -s conftest$ac_exeext &&
8218 $as_test_x conftest$ac_exeext; then
8219 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8220 else
8221 echo "$as_me: failed program was:" >&5
8222 sed 's/^/| /' conftest.$ac_ext >&5
8224 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8232 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8233 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8234 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8235 else
8236 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8237 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8238 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8239 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h. */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8251 main ()
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (ac_try="$ac_link"
8260 case "(($ac_try" in
8261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8262 *) ac_try_echo=$ac_try;;
8263 esac
8264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8265 (eval "$ac_link") 2>conftest.er1
8266 ac_status=$?
8267 grep -v '^ *+' conftest.er1 >conftest.err
8268 rm -f conftest.er1
8269 cat conftest.err >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } && {
8272 test -z "$ac_c_werror_flag" ||
8273 test ! -s conftest.err
8274 } && test -s conftest$ac_exeext &&
8275 $as_test_x conftest$ac_exeext; then
8276 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8277 else
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8289 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8290 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8291 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8297 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8298 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8299 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8300 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8304 cat >conftest.$ac_ext <<_ACEOF
8305 /* confdefs.h. */
8306 _ACEOF
8307 cat confdefs.h >>conftest.$ac_ext
8308 cat >>conftest.$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8312 main ()
8316 return 0;
8318 _ACEOF
8319 rm -f conftest.$ac_objext conftest$ac_exeext
8320 if { (ac_try="$ac_link"
8321 case "(($ac_try" in
8322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8323 *) ac_try_echo=$ac_try;;
8324 esac
8325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8326 (eval "$ac_link") 2>conftest.er1
8327 ac_status=$?
8328 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1
8330 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } && {
8333 test -z "$ac_c_werror_flag" ||
8334 test ! -s conftest.err
8335 } && test -s conftest$ac_exeext &&
8336 $as_test_x conftest$ac_exeext; then
8337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8338 else
8339 echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.$ac_ext >&5
8342 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8350 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8351 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8352 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8356 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8357 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8358 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8363 cat >conftest.$ac_ext <<_ACEOF
8364 /* confdefs.h. */
8365 _ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8371 main ()
8375 return 0;
8377 _ACEOF
8378 rm -f conftest.$ac_objext conftest$ac_exeext
8379 if { (ac_try="$ac_link"
8380 case "(($ac_try" in
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8383 esac
8384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_link") 2>conftest.er1
8386 ac_status=$?
8387 grep -v '^ *+' conftest.er1 >conftest.err
8388 rm -f conftest.er1
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } && {
8392 test -z "$ac_c_werror_flag" ||
8393 test ! -s conftest.err
8394 } && test -s conftest$ac_exeext &&
8395 $as_test_x conftest$ac_exeext; then
8396 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8397 else
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8401 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8409 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8410 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8411 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8415 echo '{ global: *; };' >conftest.map
8416 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8417 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8418 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8419 echo $ECHO_N "(cached) $ECHO_C" >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8423 cat >conftest.$ac_ext <<_ACEOF
8424 /* confdefs.h. */
8425 _ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 rm -f conftest.$ac_objext conftest$ac_exeext
8439 if { (ac_try="$ac_link"
8440 case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443 esac
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>conftest.er1
8446 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } && {
8452 test -z "$ac_c_werror_flag" ||
8453 test ! -s conftest.err
8454 } && test -s conftest$ac_exeext &&
8455 $as_test_x conftest$ac_exeext; then
8456 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8457 else
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8469 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8470 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8471 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8474 rm -f conftest.map
8476 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8477 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8478 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8483 cat >conftest.$ac_ext <<_ACEOF
8484 /* confdefs.h. */
8485 _ACEOF
8486 cat confdefs.h >>conftest.$ac_ext
8487 cat >>conftest.$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8491 main ()
8495 return 0;
8497 _ACEOF
8498 rm -f conftest.$ac_objext conftest$ac_exeext
8499 if { (ac_try="$ac_link"
8500 case "(($ac_try" in
8501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8503 esac
8504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8505 (eval "$ac_link") 2>conftest.er1
8506 ac_status=$?
8507 grep -v '^ *+' conftest.er1 >conftest.err
8508 rm -f conftest.er1
8509 cat conftest.err >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } && {
8512 test -z "$ac_c_werror_flag" ||
8513 test ! -s conftest.err
8514 } && test -s conftest$ac_exeext &&
8515 $as_test_x conftest$ac_exeext; then
8516 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8517 else
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8525 conftest$ac_exeext conftest.$ac_ext
8526 CFLAGS=$ac_wine_try_cflags_saved
8528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8529 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8530 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8531 LDEXECFLAGS="-Wl,--export-dynamic"
8536 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8537 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8538 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8544 cat >conftest.$ac_ext <<_ACEOF
8545 /* confdefs.h. */
8546 _ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8552 main ()
8556 return 0;
8558 _ACEOF
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (ac_try="$ac_link"
8561 case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8564 esac
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>conftest.er1
8567 ac_status=$?
8568 grep -v '^ *+' conftest.er1 >conftest.err
8569 rm -f conftest.er1
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && {
8573 test -z "$ac_c_werror_flag" ||
8574 test ! -s conftest.err
8575 } && test -s conftest$ac_exeext &&
8576 $as_test_x conftest$ac_exeext; then
8577 eval "$as_ac_var=yes"
8578 else
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8582 eval "$as_ac_var=no"
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586 conftest$ac_exeext conftest.$ac_ext
8587 CFLAGS=$ac_wine_try_cflags_saved
8589 ac_res=`eval echo '${'$as_ac_var'}'`
8590 { echo "$as_me:$LINENO: result: $ac_res" >&5
8591 echo "${ECHO_T}$ac_res" >&6; }
8592 if test `eval echo '${'$as_ac_var'}'` = yes; then
8593 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8594 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8595 else
8596 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8598 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8601 else
8602 ac_wine_try_cflags_saved=$CFLAGS
8603 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8604 cat >conftest.$ac_ext <<_ACEOF
8605 /* confdefs.h. */
8606 _ACEOF
8607 cat confdefs.h >>conftest.$ac_ext
8608 cat >>conftest.$ac_ext <<_ACEOF
8609 /* end confdefs.h. */
8612 main ()
8616 return 0;
8618 _ACEOF
8619 rm -f conftest.$ac_objext conftest$ac_exeext
8620 if { (ac_try="$ac_link"
8621 case "(($ac_try" in
8622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;;
8624 esac
8625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8626 (eval "$ac_link") 2>conftest.er1
8627 ac_status=$?
8628 grep -v '^ *+' conftest.er1 >conftest.err
8629 rm -f conftest.er1
8630 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } && {
8633 test -z "$ac_c_werror_flag" ||
8634 test ! -s conftest.err
8635 } && test -s conftest$ac_exeext &&
8636 $as_test_x conftest$ac_exeext; then
8637 eval "$as_ac_var=yes"
8638 else
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.$ac_ext >&5
8642 eval "$as_ac_var=no"
8645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8646 conftest$ac_exeext conftest.$ac_ext
8647 CFLAGS=$ac_wine_try_cflags_saved
8649 ac_res=`eval echo '${'$as_ac_var'}'`
8650 { echo "$as_me:$LINENO: result: $ac_res" >&5
8651 echo "${ECHO_T}$ac_res" >&6; }
8652 if test `eval echo '${'$as_ac_var'}'` = yes; then
8653 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8654 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8660 case $host_cpu in
8661 *i[3456789]86* | x86_64)
8662 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8663 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8664 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8669 cat >conftest.$ac_ext <<_ACEOF
8670 /* confdefs.h. */
8671 _ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8677 main ()
8681 return 0;
8683 _ACEOF
8684 rm -f conftest.$ac_objext conftest$ac_exeext
8685 if { (ac_try="$ac_link"
8686 case "(($ac_try" in
8687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8688 *) ac_try_echo=$ac_try;;
8689 esac
8690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8691 (eval "$ac_link") 2>conftest.er1
8692 ac_status=$?
8693 grep -v '^ *+' conftest.er1 >conftest.err
8694 rm -f conftest.er1
8695 cat conftest.err >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } && {
8698 test -z "$ac_c_werror_flag" ||
8699 test ! -s conftest.err
8700 } && test -s conftest$ac_exeext &&
8701 $as_test_x conftest$ac_exeext; then
8702 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8703 else
8704 echo "$as_me: failed program was:" >&5
8705 sed 's/^/| /' conftest.$ac_ext >&5
8707 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8715 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8716 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8717 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8721 esac
8723 else
8724 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8725 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8726 if test "${ac_cv_c_dll_unixware+set}" = set; then
8727 echo $ECHO_N "(cached) $ECHO_C" >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8731 cat >conftest.$ac_ext <<_ACEOF
8732 void myfunc() {}
8733 _ACEOF
8734 rm -f conftest.$ac_objext conftest$ac_exeext
8735 if { (ac_try="$ac_link"
8736 case "(($ac_try" in
8737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8738 *) ac_try_echo=$ac_try;;
8739 esac
8740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8741 (eval "$ac_link") 2>conftest.er1
8742 ac_status=$?
8743 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } && {
8748 test -z "$ac_c_werror_flag" ||
8749 test ! -s conftest.err
8750 } && test -s conftest$ac_exeext &&
8751 $as_test_x conftest$ac_exeext; then
8752 ac_cv_c_dll_unixware="yes"
8753 else
8754 echo "$as_me: failed program was:" >&5
8755 sed 's/^/| /' conftest.$ac_ext >&5
8757 ac_cv_c_dll_unixware="no"
8760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8765 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8766 if test "$ac_cv_c_dll_unixware" = "yes"
8767 then
8768 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8769 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8771 else
8772 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8773 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8774 if test "${ac_cv_c_dll_hpux+set}" = set; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -shared"
8779 cat >conftest.$ac_ext <<_ACEOF
8780 void myfunc() {}
8781 _ACEOF
8782 rm -f conftest.$ac_objext conftest$ac_exeext
8783 if { (ac_try="$ac_link"
8784 case "(($ac_try" in
8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8786 *) ac_try_echo=$ac_try;;
8787 esac
8788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8789 (eval "$ac_link") 2>conftest.er1
8790 ac_status=$?
8791 grep -v '^ *+' conftest.er1 >conftest.err
8792 rm -f conftest.er1
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } && {
8796 test -z "$ac_c_werror_flag" ||
8797 test ! -s conftest.err
8798 } && test -s conftest$ac_exeext &&
8799 $as_test_x conftest$ac_exeext; then
8800 ac_cv_c_dll_hpux="yes"
8801 else
8802 echo "$as_me: failed program was:" >&5
8803 sed 's/^/| /' conftest.$ac_ext >&5
8805 ac_cv_c_dll_hpux="no"
8808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8813 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8814 if test "$ac_cv_c_dll_hpux" = "yes"
8815 then
8816 LIBEXT="sl"
8817 DLLEXT=".sl"
8818 LDDLLFLAGS="-shared -fPIC"
8819 LDSHARED="\$(CC) -shared"
8824 CROSSTEST=""
8826 if test "$cross_compiling" = "no"
8827 then
8828 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8830 # Extract the first word of "$ac_prog", so it can be a program name with args.
8831 set dummy $ac_prog; ac_word=$2
8832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8834 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 else
8837 if test -n "$CROSSCC"; then
8838 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8839 else
8840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8841 for as_dir in $PATH
8843 IFS=$as_save_IFS
8844 test -z "$as_dir" && as_dir=.
8845 for ac_exec_ext in '' $ac_executable_extensions; do
8846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8847 ac_cv_prog_CROSSCC="$ac_prog"
8848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8849 break 2
8851 done
8852 done
8853 IFS=$as_save_IFS
8857 CROSSCC=$ac_cv_prog_CROSSCC
8858 if test -n "$CROSSCC"; then
8859 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8860 echo "${ECHO_T}$CROSSCC" >&6; }
8861 else
8862 { echo "$as_me:$LINENO: result: no" >&5
8863 echo "${ECHO_T}no" >&6; }
8867 test -n "$CROSSCC" && break
8868 done
8869 test -n "$CROSSCC" || CROSSCC="false"
8871 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8873 # Extract the first word of "$ac_prog", so it can be a program name with args.
8874 set dummy $ac_prog; ac_word=$2
8875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8877 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8879 else
8880 if test -n "$DLLTOOL"; then
8881 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8882 else
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884 for as_dir in $PATH
8886 IFS=$as_save_IFS
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890 ac_cv_prog_DLLTOOL="$ac_prog"
8891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8892 break 2
8894 done
8895 done
8896 IFS=$as_save_IFS
8900 DLLTOOL=$ac_cv_prog_DLLTOOL
8901 if test -n "$DLLTOOL"; then
8902 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8903 echo "${ECHO_T}$DLLTOOL" >&6; }
8904 else
8905 { echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6; }
8910 test -n "$DLLTOOL" && break
8911 done
8912 test -n "$DLLTOOL" || DLLTOOL="false"
8914 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8916 # Extract the first word of "$ac_prog", so it can be a program name with args.
8917 set dummy $ac_prog; ac_word=$2
8918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8920 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 else
8923 if test -n "$CROSSWINDRES"; then
8924 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8925 else
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 for as_dir in $PATH
8929 IFS=$as_save_IFS
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8933 ac_cv_prog_CROSSWINDRES="$ac_prog"
8934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 break 2
8937 done
8938 done
8939 IFS=$as_save_IFS
8943 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8944 if test -n "$CROSSWINDRES"; then
8945 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8946 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8947 else
8948 { echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6; }
8953 test -n "$CROSSWINDRES" && break
8954 done
8955 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8957 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8959 # Extract the first word of "$ac_prog", so it can be a program name with args.
8960 set dummy $ac_prog; ac_word=$2
8961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8963 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8965 else
8966 if test -n "$MINGWAR"; then
8967 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8968 else
8969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8970 for as_dir in $PATH
8972 IFS=$as_save_IFS
8973 test -z "$as_dir" && as_dir=.
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8976 ac_cv_prog_MINGWAR="$ac_prog"
8977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8978 break 2
8980 done
8981 done
8982 IFS=$as_save_IFS
8986 MINGWAR=$ac_cv_prog_MINGWAR
8987 if test -n "$MINGWAR"; then
8988 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8989 echo "${ECHO_T}$MINGWAR" >&6; }
8990 else
8991 { echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6; }
8996 test -n "$MINGWAR" && break
8997 done
8998 test -n "$MINGWAR" || MINGWAR="false"
9000 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9003 esac
9005 if test "$LIBEXT" = "a"; then
9006 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9007 It is currently not possible to build Wine without shared library
9008 (.so) support to allow transparent switch between .so and .dll files.
9009 If you are using Linux, you will need a newer binutils.
9010 " >&5
9011 echo "$as_me: error: could not find a way to build shared libraries.
9012 It is currently not possible to build Wine without shared library
9013 (.so) support to allow transparent switch between .so and .dll files.
9014 If you are using Linux, you will need a newer binutils.
9015 " >&2;}
9016 { (exit 1); exit 1; }; }
9020 if test "$have_x" = "yes"
9021 then
9022 XLIB="-lXext -lX11"
9023 ac_save_CPPFLAGS="$CPPFLAGS"
9024 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9026 { echo "$as_me:$LINENO: checking for -lX11" >&5
9027 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_soname_X11+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 else
9031 ac_check_soname_save_LIBS=$LIBS
9032 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h. */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9043 #ifdef __cplusplus
9044 extern "C"
9045 #endif
9046 char XCreateWindow ();
9048 main ()
9050 return XCreateWindow ();
9052 return 0;
9054 _ACEOF
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (ac_try="$ac_link"
9057 case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9060 esac
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9063 ac_status=$?
9064 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && {
9069 test -z "$ac_c_werror_flag" ||
9070 test ! -s conftest.err
9071 } && test -s conftest$ac_exeext &&
9072 $as_test_x conftest$ac_exeext; then
9073 case "$LIBEXT" in
9074 dll) ;;
9075 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'` ;;
9076 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9077 esac
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086 conftest$ac_exeext conftest.$ac_ext
9087 LIBS=$ac_check_soname_save_LIBS
9089 if test "x$ac_cv_lib_soname_X11" = "x"; then
9090 { echo "$as_me:$LINENO: result: not found" >&5
9091 echo "${ECHO_T}not found" >&6; }
9093 else
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9095 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9097 cat >>confdefs.h <<_ACEOF
9098 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9099 _ACEOF
9104 { echo "$as_me:$LINENO: checking for -lXext" >&5
9105 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9106 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9107 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 else
9109 ac_check_soname_save_LIBS=$LIBS
9110 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9111 cat >conftest.$ac_ext <<_ACEOF
9112 /* confdefs.h. */
9113 _ACEOF
9114 cat confdefs.h >>conftest.$ac_ext
9115 cat >>conftest.$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9121 #ifdef __cplusplus
9122 extern "C"
9123 #endif
9124 char XextCreateExtension ();
9126 main ()
9128 return XextCreateExtension ();
9130 return 0;
9132 _ACEOF
9133 rm -f conftest.$ac_objext conftest$ac_exeext
9134 if { (ac_try="$ac_link"
9135 case "(($ac_try" in
9136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9137 *) ac_try_echo=$ac_try;;
9138 esac
9139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9140 (eval "$ac_link") 2>conftest.er1
9141 ac_status=$?
9142 grep -v '^ *+' conftest.er1 >conftest.err
9143 rm -f conftest.er1
9144 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } && {
9147 test -z "$ac_c_werror_flag" ||
9148 test ! -s conftest.err
9149 } && test -s conftest$ac_exeext &&
9150 $as_test_x conftest$ac_exeext; then
9151 case "$LIBEXT" in
9152 dll) ;;
9153 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'` ;;
9154 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9155 esac
9156 else
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_soname_save_LIBS
9167 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9168 { echo "$as_me:$LINENO: result: not found" >&5
9169 echo "${ECHO_T}not found" >&6; }
9171 else
9172 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9173 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9175 cat >>confdefs.h <<_ACEOF
9176 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9177 _ACEOF
9194 for ac_header in X11/Xlib.h \
9195 X11/XKBlib.h \
9196 X11/Xutil.h \
9197 X11/Xcursor/Xcursor.h \
9198 X11/extensions/shape.h \
9199 X11/extensions/XInput.h \
9200 X11/extensions/XShm.h \
9201 X11/extensions/Xinerama.h \
9202 X11/extensions/Xrandr.h \
9203 X11/extensions/Xrender.h \
9204 X11/extensions/xf86vmode.h
9206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9207 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 else
9212 cat >conftest.$ac_ext <<_ACEOF
9213 /* confdefs.h. */
9214 _ACEOF
9215 cat confdefs.h >>conftest.$ac_ext
9216 cat >>conftest.$ac_ext <<_ACEOF
9217 /* end confdefs.h. */
9218 #ifdef HAVE_X11_XLIB_H
9219 # include <X11/Xlib.h>
9220 #endif
9221 #ifdef HAVE_X11_XUTIL_H
9222 # include <X11/Xutil.h>
9223 #endif
9225 #include <$ac_header>
9226 _ACEOF
9227 rm -f conftest.$ac_objext
9228 if { (ac_try="$ac_compile"
9229 case "(($ac_try" in
9230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9231 *) ac_try_echo=$ac_try;;
9232 esac
9233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_compile") 2>conftest.er1
9235 ac_status=$?
9236 grep -v '^ *+' conftest.er1 >conftest.err
9237 rm -f conftest.er1
9238 cat conftest.err >&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); } && {
9241 test -z "$ac_c_werror_flag" ||
9242 test ! -s conftest.err
9243 } && test -s conftest.$ac_objext; then
9244 eval "$as_ac_Header=yes"
9245 else
9246 echo "$as_me: failed program was:" >&5
9247 sed 's/^/| /' conftest.$ac_ext >&5
9249 eval "$as_ac_Header=no"
9252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9254 ac_res=`eval echo '${'$as_ac_Header'}'`
9255 { echo "$as_me:$LINENO: result: $ac_res" >&5
9256 echo "${ECHO_T}$ac_res" >&6; }
9257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9258 cat >>confdefs.h <<_ACEOF
9259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9260 _ACEOF
9264 done
9267 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9268 then
9269 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9270 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9271 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9273 else
9274 ac_check_lib_save_LIBS=$LIBS
9275 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9276 cat >conftest.$ac_ext <<_ACEOF
9277 /* confdefs.h. */
9278 _ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char XkbQueryExtension ();
9291 main ()
9293 return XkbQueryExtension ();
9295 return 0;
9297 _ACEOF
9298 rm -f conftest.$ac_objext conftest$ac_exeext
9299 if { (ac_try="$ac_link"
9300 case "(($ac_try" in
9301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9303 esac
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_link") 2>conftest.er1
9306 ac_status=$?
9307 grep -v '^ *+' conftest.er1 >conftest.err
9308 rm -f conftest.er1
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest$ac_exeext &&
9315 $as_test_x conftest$ac_exeext; then
9316 ac_cv_lib_X11_XkbQueryExtension=yes
9317 else
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.$ac_ext >&5
9321 ac_cv_lib_X11_XkbQueryExtension=no
9324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9329 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9330 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9332 cat >>confdefs.h <<\_ACEOF
9333 #define HAVE_XKB 1
9334 _ACEOF
9340 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9341 then
9342 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9343 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9344 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9345 echo $ECHO_N "(cached) $ECHO_C" >&6
9346 else
9347 ac_check_soname_save_LIBS=$LIBS
9348 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9349 cat >conftest.$ac_ext <<_ACEOF
9350 /* confdefs.h. */
9351 _ACEOF
9352 cat confdefs.h >>conftest.$ac_ext
9353 cat >>conftest.$ac_ext <<_ACEOF
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9359 #ifdef __cplusplus
9360 extern "C"
9361 #endif
9362 char XcursorImageLoadCursor ();
9364 main ()
9366 return XcursorImageLoadCursor ();
9368 return 0;
9370 _ACEOF
9371 rm -f conftest.$ac_objext conftest$ac_exeext
9372 if { (ac_try="$ac_link"
9373 case "(($ac_try" in
9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9375 *) ac_try_echo=$ac_try;;
9376 esac
9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9378 (eval "$ac_link") 2>conftest.er1
9379 ac_status=$?
9380 grep -v '^ *+' conftest.er1 >conftest.err
9381 rm -f conftest.er1
9382 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } && {
9385 test -z "$ac_c_werror_flag" ||
9386 test ! -s conftest.err
9387 } && test -s conftest$ac_exeext &&
9388 $as_test_x conftest$ac_exeext; then
9389 case "$LIBEXT" in
9390 dll) ;;
9391 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'` ;;
9392 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9393 esac
9394 else
9395 echo "$as_me: failed program was:" >&5
9396 sed 's/^/| /' conftest.$ac_ext >&5
9401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_soname_save_LIBS
9405 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9406 { echo "$as_me:$LINENO: result: not found" >&5
9407 echo "${ECHO_T}not found" >&6; }
9409 else
9410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9411 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9413 cat >>confdefs.h <<_ACEOF
9414 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9415 _ACEOF
9422 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9423 then
9424 { echo "$as_me:$LINENO: checking for -lXi" >&5
9425 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9426 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 else
9429 ac_check_soname_save_LIBS=$LIBS
9430 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9431 cat >conftest.$ac_ext <<_ACEOF
9432 /* confdefs.h. */
9433 _ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9438 /* Override any GCC internal prototype to avoid an error.
9439 Use char because int might match the return type of a GCC
9440 builtin and then its argument prototype would still apply. */
9441 #ifdef __cplusplus
9442 extern "C"
9443 #endif
9444 char XOpenDevice ();
9446 main ()
9448 return XOpenDevice ();
9450 return 0;
9452 _ACEOF
9453 rm -f conftest.$ac_objext conftest$ac_exeext
9454 if { (ac_try="$ac_link"
9455 case "(($ac_try" in
9456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9457 *) ac_try_echo=$ac_try;;
9458 esac
9459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9460 (eval "$ac_link") 2>conftest.er1
9461 ac_status=$?
9462 grep -v '^ *+' conftest.er1 >conftest.err
9463 rm -f conftest.er1
9464 cat conftest.err >&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); } && {
9467 test -z "$ac_c_werror_flag" ||
9468 test ! -s conftest.err
9469 } && test -s conftest$ac_exeext &&
9470 $as_test_x conftest$ac_exeext; then
9471 case "$LIBEXT" in
9472 dll) ;;
9473 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'` ;;
9474 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9475 esac
9476 else
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LIBS=$ac_check_soname_save_LIBS
9487 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9488 { echo "$as_me:$LINENO: result: not found" >&5
9489 echo "${ECHO_T}not found" >&6; }
9491 else
9492 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9493 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9495 cat >>confdefs.h <<_ACEOF
9496 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9497 _ACEOF
9504 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9505 then
9506 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9507 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9508 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 else
9511 ac_check_lib_save_LIBS=$LIBS
9512 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9513 cat >conftest.$ac_ext <<_ACEOF
9514 /* confdefs.h. */
9515 _ACEOF
9516 cat confdefs.h >>conftest.$ac_ext
9517 cat >>conftest.$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char XShmQueryExtension ();
9528 main ()
9530 return XShmQueryExtension ();
9532 return 0;
9534 _ACEOF
9535 rm -f conftest.$ac_objext conftest$ac_exeext
9536 if { (ac_try="$ac_link"
9537 case "(($ac_try" in
9538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9539 *) ac_try_echo=$ac_try;;
9540 esac
9541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9542 (eval "$ac_link") 2>conftest.er1
9543 ac_status=$?
9544 grep -v '^ *+' conftest.er1 >conftest.err
9545 rm -f conftest.er1
9546 cat conftest.err >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } && {
9549 test -z "$ac_c_werror_flag" ||
9550 test ! -s conftest.err
9551 } && test -s conftest$ac_exeext &&
9552 $as_test_x conftest$ac_exeext; then
9553 ac_cv_lib_Xext_XShmQueryExtension=yes
9554 else
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9558 ac_cv_lib_Xext_XShmQueryExtension=no
9561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9566 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9567 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9569 cat >>confdefs.h <<\_ACEOF
9570 #define HAVE_LIBXXSHM 1
9571 _ACEOF
9576 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9577 wine_notices="$wine_notices|XShm development files not found.
9578 Wine will be built without XShm support. (winex11.drv)"
9582 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9583 then
9584 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9585 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9586 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 else
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9591 cat >conftest.$ac_ext <<_ACEOF
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char XShapeQueryExtension ();
9606 main ()
9608 return XShapeQueryExtension ();
9610 return 0;
9612 _ACEOF
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9615 case "(($ac_try" in
9616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9617 *) ac_try_echo=$ac_try;;
9618 esac
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9621 ac_status=$?
9622 grep -v '^ *+' conftest.er1 >conftest.err
9623 rm -f conftest.er1
9624 cat conftest.err >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } && {
9627 test -z "$ac_c_werror_flag" ||
9628 test ! -s conftest.err
9629 } && test -s conftest$ac_exeext &&
9630 $as_test_x conftest$ac_exeext; then
9631 ac_cv_lib_Xext_XShapeQueryExtension=yes
9632 else
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.$ac_ext >&5
9636 ac_cv_lib_Xext_XShapeQueryExtension=no
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9644 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9645 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9647 cat >>confdefs.h <<\_ACEOF
9648 #define HAVE_LIBXSHAPE 1
9649 _ACEOF
9654 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9655 wine_notices="$wine_notices|XShape development files not found.
9656 Wine will be built without XShape support. (winex11.drv)"
9660 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9661 then
9662 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9663 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9664 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 else
9667 ac_check_lib_save_LIBS=$LIBS
9668 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9669 cat >conftest.$ac_ext <<_ACEOF
9670 /* confdefs.h. */
9671 _ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9679 #ifdef __cplusplus
9680 extern "C"
9681 #endif
9682 char XF86VidModeQueryExtension ();
9684 main ()
9686 return XF86VidModeQueryExtension ();
9688 return 0;
9690 _ACEOF
9691 rm -f conftest.$ac_objext conftest$ac_exeext
9692 if { (ac_try="$ac_link"
9693 case "(($ac_try" in
9694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9696 esac
9697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 (eval "$ac_link") 2>conftest.er1
9699 ac_status=$?
9700 grep -v '^ *+' conftest.er1 >conftest.err
9701 rm -f conftest.er1
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } && {
9705 test -z "$ac_c_werror_flag" ||
9706 test ! -s conftest.err
9707 } && test -s conftest$ac_exeext &&
9708 $as_test_x conftest$ac_exeext; then
9709 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9710 else
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9714 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_lib_save_LIBS
9721 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9722 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9723 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9725 cat >>confdefs.h <<\_ACEOF
9726 #define HAVE_LIBXXF86VM 1
9727 _ACEOF
9729 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9734 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9735 wine_notices="$wine_notices|Xxf86vm development files not found.
9736 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9740 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"
9741 then
9742 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9743 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9744 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9745 echo $ECHO_N "(cached) $ECHO_C" >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9749 cat >conftest.$ac_ext <<_ACEOF
9750 /* confdefs.h. */
9751 _ACEOF
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9756 /* Override any GCC internal prototype to avoid an error.
9757 Use char because int might match the return type of a GCC
9758 builtin and then its argument prototype would still apply. */
9759 #ifdef __cplusplus
9760 extern "C"
9761 #endif
9762 char XRenderQueryExtension ();
9764 main ()
9766 return XRenderQueryExtension ();
9768 return 0;
9770 _ACEOF
9771 rm -f conftest.$ac_objext conftest$ac_exeext
9772 if { (ac_try="$ac_link"
9773 case "(($ac_try" in
9774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9776 esac
9777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9778 (eval "$ac_link") 2>conftest.er1
9779 ac_status=$?
9780 grep -v '^ *+' conftest.er1 >conftest.err
9781 rm -f conftest.er1
9782 cat conftest.err >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && {
9785 test -z "$ac_c_werror_flag" ||
9786 test ! -s conftest.err
9787 } && test -s conftest$ac_exeext &&
9788 $as_test_x conftest$ac_exeext; then
9789 case "$LIBEXT" in
9790 dll) ;;
9791 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'` ;;
9792 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9793 esac
9794 else
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9802 conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_soname_save_LIBS
9805 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9806 { echo "$as_me:$LINENO: result: not found" >&5
9807 echo "${ECHO_T}not found" >&6; }
9809 else
9810 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9811 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9813 cat >>confdefs.h <<_ACEOF
9814 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9815 _ACEOF
9817 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9818 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9819 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822 ac_check_lib_save_LIBS=$LIBS
9823 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9824 cat >conftest.$ac_ext <<_ACEOF
9825 /* confdefs.h. */
9826 _ACEOF
9827 cat confdefs.h >>conftest.$ac_ext
9828 cat >>conftest.$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XRenderSetPictureTransform ();
9839 main ()
9841 return XRenderSetPictureTransform ();
9843 return 0;
9845 _ACEOF
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9848 case "(($ac_try" in
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9851 esac
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9854 ac_status=$?
9855 grep -v '^ *+' conftest.er1 >conftest.err
9856 rm -f conftest.er1
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9864 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9865 else
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_lib_save_LIBS
9876 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9877 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9878 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9880 cat >>confdefs.h <<\_ACEOF
9881 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9882 _ACEOF
9890 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9891 wine_notices="$wine_notices|XRender development files not found.
9892 Wine will be built without XRender support. (winex11.drv)"
9896 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9897 then
9898 cat >conftest.$ac_ext <<_ACEOF
9899 /* confdefs.h. */
9900 _ACEOF
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 #include <X11/Xlib.h>
9905 #include <X11/extensions/Xrandr.h>
9907 main ()
9909 static typeof(XRRSetScreenConfigAndRate) * func;
9911 return 0;
9913 _ACEOF
9914 rm -f conftest.$ac_objext
9915 if { (ac_try="$ac_compile"
9916 case "(($ac_try" in
9917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9918 *) ac_try_echo=$ac_try;;
9919 esac
9920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9921 (eval "$ac_compile") 2>conftest.er1
9922 ac_status=$?
9923 grep -v '^ *+' conftest.er1 >conftest.err
9924 rm -f conftest.er1
9925 cat conftest.err >&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); } && {
9928 test -z "$ac_c_werror_flag" ||
9929 test ! -s conftest.err
9930 } && test -s conftest.$ac_objext; then
9931 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9932 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9933 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 else
9936 ac_check_soname_save_LIBS=$LIBS
9937 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9938 cat >conftest.$ac_ext <<_ACEOF
9939 /* confdefs.h. */
9940 _ACEOF
9941 cat confdefs.h >>conftest.$ac_ext
9942 cat >>conftest.$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char XRRQueryExtension ();
9953 main ()
9955 return XRRQueryExtension ();
9957 return 0;
9959 _ACEOF
9960 rm -f conftest.$ac_objext conftest$ac_exeext
9961 if { (ac_try="$ac_link"
9962 case "(($ac_try" in
9963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9964 *) ac_try_echo=$ac_try;;
9965 esac
9966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9967 (eval "$ac_link") 2>conftest.er1
9968 ac_status=$?
9969 grep -v '^ *+' conftest.er1 >conftest.err
9970 rm -f conftest.er1
9971 cat conftest.err >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); } && {
9974 test -z "$ac_c_werror_flag" ||
9975 test ! -s conftest.err
9976 } && test -s conftest$ac_exeext &&
9977 $as_test_x conftest$ac_exeext; then
9978 case "$LIBEXT" in
9979 dll) ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9982 esac
9983 else
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_soname_save_LIBS
9994 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9995 { echo "$as_me:$LINENO: result: not found" >&5
9996 echo "${ECHO_T}not found" >&6; }
9998 else
9999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10000 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10002 cat >>confdefs.h <<_ACEOF
10003 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10004 _ACEOF
10009 else
10010 echo "$as_me: failed program was:" >&5
10011 sed 's/^/| /' conftest.$ac_ext >&5
10016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10018 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10019 wine_notices="$wine_notices|XRandr development files not found.
10020 Wine will be built without XRandr support. (winex11.drv)"
10024 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10025 then
10026 cat >conftest.$ac_ext <<_ACEOF
10027 /* confdefs.h. */
10028 _ACEOF
10029 cat confdefs.h >>conftest.$ac_ext
10030 cat >>conftest.$ac_ext <<_ACEOF
10031 /* end confdefs.h. */
10032 #include <X11/Xlib.h>
10033 #include <X11/extensions/Xinerama.h>
10035 main ()
10037 static typeof(XineramaQueryScreens) * func;
10039 return 0;
10041 _ACEOF
10042 rm -f conftest.$ac_objext
10043 if { (ac_try="$ac_compile"
10044 case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10047 esac
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_compile") 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest.$ac_objext; then
10059 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10060 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10061 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_soname_save_LIBS=$LIBS
10065 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10066 cat >conftest.$ac_ext <<_ACEOF
10067 /* confdefs.h. */
10068 _ACEOF
10069 cat confdefs.h >>conftest.$ac_ext
10070 cat >>conftest.$ac_ext <<_ACEOF
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XineramaQueryScreens ();
10081 main ()
10083 return XineramaQueryScreens ();
10085 return 0;
10087 _ACEOF
10088 rm -f conftest.$ac_objext conftest$ac_exeext
10089 if { (ac_try="$ac_link"
10090 case "(($ac_try" in
10091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10092 *) ac_try_echo=$ac_try;;
10093 esac
10094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10095 (eval "$ac_link") 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } && {
10102 test -z "$ac_c_werror_flag" ||
10103 test ! -s conftest.err
10104 } && test -s conftest$ac_exeext &&
10105 $as_test_x conftest$ac_exeext; then
10106 case "$LIBEXT" in
10107 dll) ;;
10108 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'` ;;
10109 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10110 esac
10111 else
10112 echo "$as_me: failed program was:" >&5
10113 sed 's/^/| /' conftest.$ac_ext >&5
10118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_soname_save_LIBS
10122 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10123 { echo "$as_me:$LINENO: result: not found" >&5
10124 echo "${ECHO_T}not found" >&6; }
10126 else
10127 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10128 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10130 cat >>confdefs.h <<_ACEOF
10131 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10132 _ACEOF
10137 else
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.$ac_ext >&5
10144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10146 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10147 wine_notices="$wine_notices|Xinerama development files not found.
10148 Wine will be built without Xinerama support. (winex11.drv)"
10153 if test "x$with_opengl" != "xno"
10154 then
10159 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10165 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 else
10167 cat >conftest.$ac_ext <<_ACEOF
10168 /* confdefs.h. */
10169 _ACEOF
10170 cat confdefs.h >>conftest.$ac_ext
10171 cat >>conftest.$ac_ext <<_ACEOF
10172 /* end confdefs.h. */
10173 #ifdef HAVE_GL_GLX_H
10174 # include <GL/glx.h>
10175 #endif
10177 #include <$ac_header>
10178 _ACEOF
10179 rm -f conftest.$ac_objext
10180 if { (ac_try="$ac_compile"
10181 case "(($ac_try" in
10182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10184 esac
10185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10186 (eval "$ac_compile") 2>conftest.er1
10187 ac_status=$?
10188 grep -v '^ *+' conftest.er1 >conftest.err
10189 rm -f conftest.er1
10190 cat conftest.err >&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } && {
10193 test -z "$ac_c_werror_flag" ||
10194 test ! -s conftest.err
10195 } && test -s conftest.$ac_objext; then
10196 eval "$as_ac_Header=yes"
10197 else
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10201 eval "$as_ac_Header=no"
10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 ac_res=`eval echo '${'$as_ac_Header'}'`
10207 { echo "$as_me:$LINENO: result: $ac_res" >&5
10208 echo "${ECHO_T}$ac_res" >&6; }
10209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10210 cat >>confdefs.h <<_ACEOF
10211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10212 _ACEOF
10216 done
10218 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10219 then
10220 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10221 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10222 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 else
10225 cat >conftest.$ac_ext <<_ACEOF
10226 /* confdefs.h. */
10227 _ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10231 #include <GL/gl.h>
10233 main ()
10235 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext
10241 if { (ac_try="$ac_compile"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10245 esac
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_compile") 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && {
10254 test -z "$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10256 } && test -s conftest.$ac_objext; then
10257 wine_cv_opengl_header_version_OK="yes"
10258 else
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.$ac_ext >&5
10262 wine_cv_opengl_header_version_OK="no"
10265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10267 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10268 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10270 if test "$wine_cv_opengl_header_version_OK" = "yes"
10271 then
10272 { echo "$as_me:$LINENO: checking for -lGL" >&5
10273 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10274 if test "${ac_cv_lib_soname_GL+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 else
10277 ac_check_soname_save_LIBS=$LIBS
10278 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10279 cat >conftest.$ac_ext <<_ACEOF
10280 /* confdefs.h. */
10281 _ACEOF
10282 cat confdefs.h >>conftest.$ac_ext
10283 cat >>conftest.$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10289 #ifdef __cplusplus
10290 extern "C"
10291 #endif
10292 char glXCreateContext ();
10294 main ()
10296 return glXCreateContext ();
10298 return 0;
10300 _ACEOF
10301 rm -f conftest.$ac_objext conftest$ac_exeext
10302 if { (ac_try="$ac_link"
10303 case "(($ac_try" in
10304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10305 *) ac_try_echo=$ac_try;;
10306 esac
10307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10308 (eval "$ac_link") 2>conftest.er1
10309 ac_status=$?
10310 grep -v '^ *+' conftest.er1 >conftest.err
10311 rm -f conftest.er1
10312 cat conftest.err >&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && {
10315 test -z "$ac_c_werror_flag" ||
10316 test ! -s conftest.err
10317 } && test -s conftest$ac_exeext &&
10318 $as_test_x conftest$ac_exeext; then
10319 case "$LIBEXT" in
10320 dll) ;;
10321 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'` ;;
10322 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10323 esac
10324 else
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_soname_save_LIBS
10335 if test "x$ac_cv_lib_soname_GL" = "x"; then
10336 { echo "$as_me:$LINENO: result: not found" >&5
10337 echo "${ECHO_T}not found" >&6; }
10338 if test -f /usr/X11R6/lib/libGL.a
10339 then
10340 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10341 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10342 else
10343 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10344 Wine will be build without OpenGL or Direct3D support."
10346 else
10347 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10348 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10350 cat >>confdefs.h <<_ACEOF
10351 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10352 _ACEOF
10354 OPENGL_LIBS="-lGL"
10355 OPENGLFILES='$(OPENGLFILES)'
10357 cat >>confdefs.h <<\_ACEOF
10358 #define HAVE_OPENGL 1
10359 _ACEOF
10364 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10365 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10366 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 else
10369 ac_check_lib_save_LIBS=$LIBS
10370 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10371 cat >conftest.$ac_ext <<_ACEOF
10372 /* confdefs.h. */
10373 _ACEOF
10374 cat confdefs.h >>conftest.$ac_ext
10375 cat >>conftest.$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 char gluLookAt ();
10386 main ()
10388 return gluLookAt ();
10390 return 0;
10392 _ACEOF
10393 rm -f conftest.$ac_objext conftest$ac_exeext
10394 if { (ac_try="$ac_link"
10395 case "(($ac_try" in
10396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10397 *) ac_try_echo=$ac_try;;
10398 esac
10399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10400 (eval "$ac_link") 2>conftest.er1
10401 ac_status=$?
10402 grep -v '^ *+' conftest.er1 >conftest.err
10403 rm -f conftest.er1
10404 cat conftest.err >&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } && {
10407 test -z "$ac_c_werror_flag" ||
10408 test ! -s conftest.err
10409 } && test -s conftest$ac_exeext &&
10410 $as_test_x conftest$ac_exeext; then
10411 ac_cv_lib_GLU_gluLookAt=yes
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10416 ac_cv_lib_GLU_gluLookAt=no
10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_lib_save_LIBS
10423 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10424 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10425 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10426 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10427 GLU32FILES='$(GLU32FILES)'
10431 else
10432 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10433 Wine will be build without OpenGL or Direct3D support."
10435 else
10436 wine_warnings="$wine_warnings|OpenGL development headers not found.
10437 Wine will be build without OpenGL or Direct3D support."
10441 NASLIBS=""
10444 for ac_header in audio/audiolib.h
10446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10451 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 ac_res=`eval echo '${'$as_ac_Header'}'`
10454 { echo "$as_me:$LINENO: result: $ac_res" >&5
10455 echo "${ECHO_T}$ac_res" >&6; }
10456 else
10457 # Is the header compilable?
10458 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10460 cat >conftest.$ac_ext <<_ACEOF
10461 /* confdefs.h. */
10462 _ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 $ac_includes_default
10467 #include <$ac_header>
10468 _ACEOF
10469 rm -f conftest.$ac_objext
10470 if { (ac_try="$ac_compile"
10471 case "(($ac_try" in
10472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10473 *) ac_try_echo=$ac_try;;
10474 esac
10475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10476 (eval "$ac_compile") 2>conftest.er1
10477 ac_status=$?
10478 grep -v '^ *+' conftest.er1 >conftest.err
10479 rm -f conftest.er1
10480 cat conftest.err >&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } && {
10483 test -z "$ac_c_werror_flag" ||
10484 test ! -s conftest.err
10485 } && test -s conftest.$ac_objext; then
10486 ac_header_compiler=yes
10487 else
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10491 ac_header_compiler=no
10494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10495 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10496 echo "${ECHO_T}$ac_header_compiler" >&6; }
10498 # Is the header present?
10499 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10501 cat >conftest.$ac_ext <<_ACEOF
10502 /* confdefs.h. */
10503 _ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10507 #include <$ac_header>
10508 _ACEOF
10509 if { (ac_try="$ac_cpp conftest.$ac_ext"
10510 case "(($ac_try" in
10511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10512 *) ac_try_echo=$ac_try;;
10513 esac
10514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10516 ac_status=$?
10517 grep -v '^ *+' conftest.er1 >conftest.err
10518 rm -f conftest.er1
10519 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } >/dev/null && {
10522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10523 test ! -s conftest.err
10524 }; then
10525 ac_header_preproc=yes
10526 else
10527 echo "$as_me: failed program was:" >&5
10528 sed 's/^/| /' conftest.$ac_ext >&5
10530 ac_header_preproc=no
10533 rm -f conftest.err conftest.$ac_ext
10534 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10535 echo "${ECHO_T}$ac_header_preproc" >&6; }
10537 # So? What about this header?
10538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10539 yes:no: )
10540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10544 ac_header_preproc=yes
10546 no:yes:* )
10547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10559 ( cat <<\_ASBOX
10560 ## ------------------------------------ ##
10561 ## Report this to wine-devel@winehq.org ##
10562 ## ------------------------------------ ##
10563 _ASBOX
10564 ) | sed "s/^/$as_me: WARNING: /" >&2
10566 esac
10567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 else
10572 eval "$as_ac_Header=\$ac_header_preproc"
10574 ac_res=`eval echo '${'$as_ac_Header'}'`
10575 { echo "$as_me:$LINENO: result: $ac_res" >&5
10576 echo "${ECHO_T}$ac_res" >&6; }
10579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10580 cat >>confdefs.h <<_ACEOF
10581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10582 _ACEOF
10584 for ac_header in audio/soundlib.h
10586 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10587 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 else
10592 cat >conftest.$ac_ext <<_ACEOF
10593 /* confdefs.h. */
10594 _ACEOF
10595 cat confdefs.h >>conftest.$ac_ext
10596 cat >>conftest.$ac_ext <<_ACEOF
10597 /* end confdefs.h. */
10598 #include <audio/audiolib.h>
10600 #include <$ac_header>
10601 _ACEOF
10602 rm -f conftest.$ac_objext
10603 if { (ac_try="$ac_compile"
10604 case "(($ac_try" in
10605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10607 esac
10608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10609 (eval "$ac_compile") 2>conftest.er1
10610 ac_status=$?
10611 grep -v '^ *+' conftest.er1 >conftest.err
10612 rm -f conftest.er1
10613 cat conftest.err >&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } && {
10616 test -z "$ac_c_werror_flag" ||
10617 test ! -s conftest.err
10618 } && test -s conftest.$ac_objext; then
10619 eval "$as_ac_Header=yes"
10620 else
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.$ac_ext >&5
10624 eval "$as_ac_Header=no"
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10629 ac_res=`eval echo '${'$as_ac_Header'}'`
10630 { echo "$as_me:$LINENO: result: $ac_res" >&5
10631 echo "${ECHO_T}$ac_res" >&6; }
10632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10633 cat >>confdefs.h <<_ACEOF
10634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10635 _ACEOF
10639 done
10641 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10642 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10643 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10644 echo $ECHO_N "(cached) $ECHO_C" >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10648 cat >conftest.$ac_ext <<_ACEOF
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10658 #ifdef __cplusplus
10659 extern "C"
10660 #endif
10661 char AuCreateFlow ();
10663 main ()
10665 return AuCreateFlow ();
10667 return 0;
10669 _ACEOF
10670 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (ac_try="$ac_link"
10672 case "(($ac_try" in
10673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10675 esac
10676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10677 (eval "$ac_link") 2>conftest.er1
10678 ac_status=$?
10679 grep -v '^ *+' conftest.er1 >conftest.err
10680 rm -f conftest.er1
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } && {
10684 test -z "$ac_c_werror_flag" ||
10685 test ! -s conftest.err
10686 } && test -s conftest$ac_exeext &&
10687 $as_test_x conftest$ac_exeext; then
10688 ac_cv_lib_audio_AuCreateFlow=yes
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_cv_lib_audio_AuCreateFlow=no
10696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10697 conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10700 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10701 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10702 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10704 cat >>confdefs.h <<\_ACEOF
10705 #define HAVE_NAS 1
10706 _ACEOF
10708 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10709 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10710 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 else
10713 ac_check_lib_save_LIBS=$LIBS
10714 LIBS="-lXau $X_LIBS $LIBS"
10715 cat >conftest.$ac_ext <<_ACEOF
10716 /* confdefs.h. */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 char XauGetBestAuthByAddr ();
10730 main ()
10732 return XauGetBestAuthByAddr ();
10734 return 0;
10736 _ACEOF
10737 rm -f conftest.$ac_objext conftest$ac_exeext
10738 if { (ac_try="$ac_link"
10739 case "(($ac_try" in
10740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10741 *) ac_try_echo=$ac_try;;
10742 esac
10743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10744 (eval "$ac_link") 2>conftest.er1
10745 ac_status=$?
10746 grep -v '^ *+' conftest.er1 >conftest.err
10747 rm -f conftest.er1
10748 cat conftest.err >&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } && {
10751 test -z "$ac_c_werror_flag" ||
10752 test ! -s conftest.err
10753 } && test -s conftest$ac_exeext &&
10754 $as_test_x conftest$ac_exeext; then
10755 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10756 else
10757 echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.$ac_ext >&5
10760 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_lib_save_LIBS
10767 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10768 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10769 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10770 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10771 else
10772 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10780 done
10783 CPPFLAGS="$ac_save_CPPFLAGS"
10784 XFILES='$(XFILES)'
10785 else
10786 XLIB=""
10787 X_CFLAGS=""
10788 X_LIBS=""
10789 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10790 without X support, which probably isn't what you want. You will need to install
10791 development packages of Xlib/Xfree86 at the very least."
10795 XML2LIBS=""
10797 XML2INCL=""
10799 XSLTLIBS=""
10801 XSLTINCL=""
10803 ac_save_CPPFLAGS="$CPPFLAGS"
10804 if test "$PKG_CONFIG" != "false"
10805 then
10806 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10807 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10808 else
10809 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10810 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10812 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10814 for ac_header in libxml/parser.h
10816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10818 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 ac_res=`eval echo '${'$as_ac_Header'}'`
10824 { echo "$as_me:$LINENO: result: $ac_res" >&5
10825 echo "${ECHO_T}$ac_res" >&6; }
10826 else
10827 # Is the header compilable?
10828 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10830 cat >conftest.$ac_ext <<_ACEOF
10831 /* confdefs.h. */
10832 _ACEOF
10833 cat confdefs.h >>conftest.$ac_ext
10834 cat >>conftest.$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10836 $ac_includes_default
10837 #include <$ac_header>
10838 _ACEOF
10839 rm -f conftest.$ac_objext
10840 if { (ac_try="$ac_compile"
10841 case "(($ac_try" in
10842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10843 *) ac_try_echo=$ac_try;;
10844 esac
10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10846 (eval "$ac_compile") 2>conftest.er1
10847 ac_status=$?
10848 grep -v '^ *+' conftest.er1 >conftest.err
10849 rm -f conftest.er1
10850 cat conftest.err >&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } && {
10853 test -z "$ac_c_werror_flag" ||
10854 test ! -s conftest.err
10855 } && test -s conftest.$ac_objext; then
10856 ac_header_compiler=yes
10857 else
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.$ac_ext >&5
10861 ac_header_compiler=no
10864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10866 echo "${ECHO_T}$ac_header_compiler" >&6; }
10868 # Is the header present?
10869 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10871 cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h. */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877 #include <$ac_header>
10878 _ACEOF
10879 if { (ac_try="$ac_cpp conftest.$ac_ext"
10880 case "(($ac_try" in
10881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10883 esac
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10886 ac_status=$?
10887 grep -v '^ *+' conftest.er1 >conftest.err
10888 rm -f conftest.er1
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } >/dev/null && {
10892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 }; then
10895 ac_header_preproc=yes
10896 else
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.$ac_ext >&5
10900 ac_header_preproc=no
10903 rm -f conftest.err conftest.$ac_ext
10904 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10905 echo "${ECHO_T}$ac_header_preproc" >&6; }
10907 # So? What about this header?
10908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10909 yes:no: )
10910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10914 ac_header_preproc=yes
10916 no:yes:* )
10917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10929 ( cat <<\_ASBOX
10930 ## ------------------------------------ ##
10931 ## Report this to wine-devel@winehq.org ##
10932 ## ------------------------------------ ##
10933 _ASBOX
10934 ) | sed "s/^/$as_me: WARNING: /" >&2
10936 esac
10937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 else
10942 eval "$as_ac_Header=\$ac_header_preproc"
10944 ac_res=`eval echo '${'$as_ac_Header'}'`
10945 { echo "$as_me:$LINENO: result: $ac_res" >&5
10946 echo "${ECHO_T}$ac_res" >&6; }
10949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10950 cat >>confdefs.h <<_ACEOF
10951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10952 _ACEOF
10953 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10954 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10955 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 else
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-lxml2 $ac_xml_libs $LIBS"
10960 cat >conftest.$ac_ext <<_ACEOF
10961 /* confdefs.h. */
10962 _ACEOF
10963 cat confdefs.h >>conftest.$ac_ext
10964 cat >>conftest.$ac_ext <<_ACEOF
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char xmlParseMemory ();
10975 main ()
10977 return xmlParseMemory ();
10979 return 0;
10981 _ACEOF
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (ac_try="$ac_link"
10984 case "(($ac_try" in
10985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 *) ac_try_echo=$ac_try;;
10987 esac
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 (eval "$ac_link") 2>conftest.er1
10990 ac_status=$?
10991 grep -v '^ *+' conftest.er1 >conftest.err
10992 rm -f conftest.er1
10993 cat conftest.err >&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); } && {
10996 test -z "$ac_c_werror_flag" ||
10997 test ! -s conftest.err
10998 } && test -s conftest$ac_exeext &&
10999 $as_test_x conftest$ac_exeext; then
11000 ac_cv_lib_xml2_xmlParseMemory=yes
11001 else
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11005 ac_cv_lib_xml2_xmlParseMemory=no
11008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11009 conftest$ac_exeext conftest.$ac_ext
11010 LIBS=$ac_check_lib_save_LIBS
11012 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11013 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11014 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11016 cat >>confdefs.h <<\_ACEOF
11017 #define HAVE_LIBXML2 1
11018 _ACEOF
11020 XML2LIBS="$ac_xml_libs"
11021 XML2INCL="$ac_xml_cflags"
11024 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11025 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11026 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11028 else
11029 ac_check_lib_save_LIBS=$LIBS
11030 LIBS="-lxml2 $ac_xml_libs $LIBS"
11031 cat >conftest.$ac_ext <<_ACEOF
11032 /* confdefs.h. */
11033 _ACEOF
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11041 #ifdef __cplusplus
11042 extern "C"
11043 #endif
11044 char xmlReadMemory ();
11046 main ()
11048 return xmlReadMemory ();
11050 return 0;
11052 _ACEOF
11053 rm -f conftest.$ac_objext conftest$ac_exeext
11054 if { (ac_try="$ac_link"
11055 case "(($ac_try" in
11056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057 *) ac_try_echo=$ac_try;;
11058 esac
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_link") 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } && {
11067 test -z "$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11069 } && test -s conftest$ac_exeext &&
11070 $as_test_x conftest$ac_exeext; then
11071 ac_cv_lib_xml2_xmlReadMemory=yes
11072 else
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5
11076 ac_cv_lib_xml2_xmlReadMemory=no
11079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11084 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11085 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11087 cat >>confdefs.h <<\_ACEOF
11088 #define HAVE_XMLREADMEMORY 1
11089 _ACEOF
11093 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11094 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11095 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $ac_xml_libs $LIBS"
11100 cat >conftest.$ac_ext <<_ACEOF
11101 /* confdefs.h. */
11102 _ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlNewDocPI ();
11115 main ()
11117 return xmlNewDocPI ();
11119 return 0;
11121 _ACEOF
11122 rm -f conftest.$ac_objext conftest$ac_exeext
11123 if { (ac_try="$ac_link"
11124 case "(($ac_try" in
11125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11127 esac
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_link") 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest$ac_exeext &&
11139 $as_test_x conftest$ac_exeext; then
11140 ac_cv_lib_xml2_xmlNewDocPI=yes
11141 else
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_cv_lib_xml2_xmlNewDocPI=no
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11153 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11154 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11156 cat >>confdefs.h <<\_ACEOF
11157 #define HAVE_XMLNEWDOCPI 1
11158 _ACEOF
11165 done
11167 CPPFLAGS="$ac_save_CPPFLAGS"
11168 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11169 wine_notices="$wine_notices|libxml2 development files not found.
11170 Wine will be built without XML support. (msxml.dll)"
11174 if test "$PKG_CONFIG" != "false"
11175 then
11176 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11177 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11178 else
11179 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11180 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11182 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11185 for ac_header in libxslt/pattern.h libxslt/transform.h
11187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11192 else
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h. */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 #ifdef HAVE_LIBXSLT_PATTERN_H
11200 # include <libxslt/pattern.h>
11201 #endif
11203 #include <$ac_header>
11204 _ACEOF
11205 rm -f conftest.$ac_objext
11206 if { (ac_try="$ac_compile"
11207 case "(($ac_try" in
11208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11209 *) ac_try_echo=$ac_try;;
11210 esac
11211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11212 (eval "$ac_compile") 2>conftest.er1
11213 ac_status=$?
11214 grep -v '^ *+' conftest.er1 >conftest.err
11215 rm -f conftest.er1
11216 cat conftest.err >&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } && {
11219 test -z "$ac_c_werror_flag" ||
11220 test ! -s conftest.err
11221 } && test -s conftest.$ac_objext; then
11222 eval "$as_ac_Header=yes"
11223 else
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11227 eval "$as_ac_Header=no"
11230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11232 ac_res=`eval echo '${'$as_ac_Header'}'`
11233 { echo "$as_me:$LINENO: result: $ac_res" >&5
11234 echo "${ECHO_T}$ac_res" >&6; }
11235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11236 cat >>confdefs.h <<_ACEOF
11237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11238 _ACEOF
11239 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11240 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11241 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 ac_check_lib_save_LIBS=$LIBS
11245 LIBS="-lxslt $ac_xslt_libs $LIBS"
11246 cat >conftest.$ac_ext <<_ACEOF
11247 /* confdefs.h. */
11248 _ACEOF
11249 cat confdefs.h >>conftest.$ac_ext
11250 cat >>conftest.$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xsltCompilePattern ();
11261 main ()
11263 return xsltCompilePattern ();
11265 return 0;
11267 _ACEOF
11268 rm -f conftest.$ac_objext conftest$ac_exeext
11269 if { (ac_try="$ac_link"
11270 case "(($ac_try" in
11271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11272 *) ac_try_echo=$ac_try;;
11273 esac
11274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11275 (eval "$ac_link") 2>conftest.er1
11276 ac_status=$?
11277 grep -v '^ *+' conftest.er1 >conftest.err
11278 rm -f conftest.er1
11279 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } && {
11282 test -z "$ac_c_werror_flag" ||
11283 test ! -s conftest.err
11284 } && test -s conftest$ac_exeext &&
11285 $as_test_x conftest$ac_exeext; then
11286 ac_cv_lib_xslt_xsltCompilePattern=yes
11287 else
11288 echo "$as_me: failed program was:" >&5
11289 sed 's/^/| /' conftest.$ac_ext >&5
11291 ac_cv_lib_xslt_xsltCompilePattern=no
11294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_lib_save_LIBS
11298 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11299 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11300 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11302 cat >>confdefs.h <<\_ACEOF
11303 #define HAVE_LIBXSLT 1
11304 _ACEOF
11306 XSLTLIBS="$ac_xslt_libs"
11307 XSLTINCL="$ac_xslt_cflags"
11313 done
11315 CPPFLAGS="$ac_save_CPPFLAGS"
11316 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11317 wine_notices="$wine_notices|libxslt development files not found.
11318 Wine will be built without xslt support. (msxml.dll)"
11322 HALINCL=""
11324 if test "$PKG_CONFIG" != "false"
11325 then
11326 ac_save_CPPFLAGS="$CPPFLAGS"
11327 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11328 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11329 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11332 for ac_header in dbus/dbus.h hal/libhal.h
11334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 ac_res=`eval echo '${'$as_ac_Header'}'`
11342 { echo "$as_me:$LINENO: result: $ac_res" >&5
11343 echo "${ECHO_T}$ac_res" >&6; }
11344 else
11345 # Is the header compilable?
11346 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11348 cat >conftest.$ac_ext <<_ACEOF
11349 /* confdefs.h. */
11350 _ACEOF
11351 cat confdefs.h >>conftest.$ac_ext
11352 cat >>conftest.$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11354 $ac_includes_default
11355 #include <$ac_header>
11356 _ACEOF
11357 rm -f conftest.$ac_objext
11358 if { (ac_try="$ac_compile"
11359 case "(($ac_try" in
11360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11362 esac
11363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11364 (eval "$ac_compile") 2>conftest.er1
11365 ac_status=$?
11366 grep -v '^ *+' conftest.er1 >conftest.err
11367 rm -f conftest.er1
11368 cat conftest.err >&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } && {
11371 test -z "$ac_c_werror_flag" ||
11372 test ! -s conftest.err
11373 } && test -s conftest.$ac_objext; then
11374 ac_header_compiler=yes
11375 else
11376 echo "$as_me: failed program was:" >&5
11377 sed 's/^/| /' conftest.$ac_ext >&5
11379 ac_header_compiler=no
11382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11383 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11384 echo "${ECHO_T}$ac_header_compiler" >&6; }
11386 # Is the header present?
11387 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11389 cat >conftest.$ac_ext <<_ACEOF
11390 /* confdefs.h. */
11391 _ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 #include <$ac_header>
11396 _ACEOF
11397 if { (ac_try="$ac_cpp conftest.$ac_ext"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11401 esac
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11404 ac_status=$?
11405 grep -v '^ *+' conftest.er1 >conftest.err
11406 rm -f conftest.er1
11407 cat conftest.err >&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } >/dev/null && {
11410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 }; then
11413 ac_header_preproc=yes
11414 else
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11418 ac_header_preproc=no
11421 rm -f conftest.err conftest.$ac_ext
11422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11423 echo "${ECHO_T}$ac_header_preproc" >&6; }
11425 # So? What about this header?
11426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11427 yes:no: )
11428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11431 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11432 ac_header_preproc=yes
11434 no:yes:* )
11435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11438 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11439 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11440 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11441 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11442 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11445 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11447 ( cat <<\_ASBOX
11448 ## ------------------------------------ ##
11449 ## Report this to wine-devel@winehq.org ##
11450 ## ------------------------------------ ##
11451 _ASBOX
11452 ) | sed "s/^/$as_me: WARNING: /" >&2
11454 esac
11455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11459 else
11460 eval "$as_ac_Header=\$ac_header_preproc"
11462 ac_res=`eval echo '${'$as_ac_Header'}'`
11463 { echo "$as_me:$LINENO: result: $ac_res" >&5
11464 echo "${ECHO_T}$ac_res" >&6; }
11467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11468 cat >>confdefs.h <<_ACEOF
11469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11470 _ACEOF
11474 done
11476 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11477 then
11478 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11479 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11480 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11485 cat >conftest.$ac_ext <<_ACEOF
11486 /* confdefs.h. */
11487 _ACEOF
11488 cat confdefs.h >>conftest.$ac_ext
11489 cat >>conftest.$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dbus_connection_close ();
11500 main ()
11502 return dbus_connection_close ();
11504 return 0;
11506 _ACEOF
11507 rm -f conftest.$ac_objext conftest$ac_exeext
11508 if { (ac_try="$ac_link"
11509 case "(($ac_try" in
11510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11511 *) ac_try_echo=$ac_try;;
11512 esac
11513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11514 (eval "$ac_link") 2>conftest.er1
11515 ac_status=$?
11516 grep -v '^ *+' conftest.er1 >conftest.err
11517 rm -f conftest.er1
11518 cat conftest.err >&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); } && {
11521 test -z "$ac_c_werror_flag" ||
11522 test ! -s conftest.err
11523 } && test -s conftest$ac_exeext &&
11524 $as_test_x conftest$ac_exeext; then
11525 ac_cv_lib_dbus_1_dbus_connection_close=yes
11526 else
11527 echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.$ac_ext >&5
11530 ac_cv_lib_dbus_1_dbus_connection_close=no
11533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_lib_save_LIBS
11537 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11538 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11539 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11540 { echo "$as_me:$LINENO: checking for -lhal" >&5
11541 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11542 if test "${ac_cv_lib_soname_hal+set}" = set; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 else
11545 ac_check_soname_save_LIBS=$LIBS
11546 LIBS="-lhal $ac_hal_libs $LIBS"
11547 cat >conftest.$ac_ext <<_ACEOF
11548 /* confdefs.h. */
11549 _ACEOF
11550 cat confdefs.h >>conftest.$ac_ext
11551 cat >>conftest.$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char libhal_ctx_new ();
11562 main ()
11564 return libhal_ctx_new ();
11566 return 0;
11568 _ACEOF
11569 rm -f conftest.$ac_objext conftest$ac_exeext
11570 if { (ac_try="$ac_link"
11571 case "(($ac_try" in
11572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11573 *) ac_try_echo=$ac_try;;
11574 esac
11575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11576 (eval "$ac_link") 2>conftest.er1
11577 ac_status=$?
11578 grep -v '^ *+' conftest.er1 >conftest.err
11579 rm -f conftest.er1
11580 cat conftest.err >&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); } && {
11583 test -z "$ac_c_werror_flag" ||
11584 test ! -s conftest.err
11585 } && test -s conftest$ac_exeext &&
11586 $as_test_x conftest$ac_exeext; then
11587 case "$LIBEXT" in
11588 dll) ;;
11589 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'` ;;
11590 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11591 esac
11592 else
11593 echo "$as_me: failed program was:" >&5
11594 sed 's/^/| /' conftest.$ac_ext >&5
11599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11600 conftest$ac_exeext conftest.$ac_ext
11601 LIBS=$ac_check_soname_save_LIBS
11603 if test "x$ac_cv_lib_soname_hal" = "x"; then
11604 { echo "$as_me:$LINENO: result: not found" >&5
11605 echo "${ECHO_T}not found" >&6; }
11607 else
11608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11609 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11611 cat >>confdefs.h <<_ACEOF
11612 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11613 _ACEOF
11615 HALINCL="$ac_hal_cflags"
11621 CPPFLAGS="$ac_save_CPPFLAGS"
11623 if test "x$ac_cv_lib_soname_hal" = "x"; then
11624 wine_notices="$wine_notices|libhal development files not found.
11625 Wine will be built without dynamic device support. (explorer.exe)"
11629 CURSESLIBS=""
11630 if test "$ac_cv_header_ncurses_h" = "yes"
11631 then
11632 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11633 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11634 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lncurses $LIBS"
11639 cat >conftest.$ac_ext <<_ACEOF
11640 /* confdefs.h. */
11641 _ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char waddch ();
11654 main ()
11656 return waddch ();
11658 return 0;
11660 _ACEOF
11661 rm -f conftest.$ac_objext conftest$ac_exeext
11662 if { (ac_try="$ac_link"
11663 case "(($ac_try" in
11664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11665 *) ac_try_echo=$ac_try;;
11666 esac
11667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11668 (eval "$ac_link") 2>conftest.er1
11669 ac_status=$?
11670 grep -v '^ *+' conftest.er1 >conftest.err
11671 rm -f conftest.er1
11672 cat conftest.err >&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } && {
11675 test -z "$ac_c_werror_flag" ||
11676 test ! -s conftest.err
11677 } && test -s conftest$ac_exeext &&
11678 $as_test_x conftest$ac_exeext; then
11679 case "$LIBEXT" in
11680 dll) ;;
11681 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'` ;;
11682 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11683 esac
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_soname_save_LIBS
11695 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11696 { echo "$as_me:$LINENO: result: not found" >&5
11697 echo "${ECHO_T}not found" >&6; }
11699 else
11700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11701 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11703 cat >>confdefs.h <<_ACEOF
11704 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11705 _ACEOF
11707 CURSESLIBS="-lncurses"
11710 elif test "$ac_cv_header_curses_h" = "yes"
11711 then
11712 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11713 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11714 if test "${ac_cv_lib_soname_curses+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 else
11717 ac_check_soname_save_LIBS=$LIBS
11718 LIBS="-lcurses $LIBS"
11719 cat >conftest.$ac_ext <<_ACEOF
11720 /* confdefs.h. */
11721 _ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char waddch ();
11734 main ()
11736 return waddch ();
11738 return 0;
11740 _ACEOF
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (ac_try="$ac_link"
11743 case "(($ac_try" in
11744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11746 esac
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748 (eval "$ac_link") 2>conftest.er1
11749 ac_status=$?
11750 grep -v '^ *+' conftest.er1 >conftest.err
11751 rm -f conftest.er1
11752 cat conftest.err >&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } && {
11755 test -z "$ac_c_werror_flag" ||
11756 test ! -s conftest.err
11757 } && test -s conftest$ac_exeext &&
11758 $as_test_x conftest$ac_exeext; then
11759 case "$LIBEXT" in
11760 dll) ;;
11761 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'` ;;
11762 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11763 esac
11764 else
11765 echo "$as_me: failed program was:" >&5
11766 sed 's/^/| /' conftest.$ac_ext >&5
11771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11772 conftest$ac_exeext conftest.$ac_ext
11773 LIBS=$ac_check_soname_save_LIBS
11775 if test "x$ac_cv_lib_soname_curses" = "x"; then
11776 { echo "$as_me:$LINENO: result: not found" >&5
11777 echo "${ECHO_T}not found" >&6; }
11779 else
11780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11781 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11783 cat >>confdefs.h <<_ACEOF
11784 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11785 _ACEOF
11787 CURSESLIBS="-lcurses"
11791 ac_save_LIBS="$LIBS"
11792 LIBS="$LIBS $CURSESLIBS"
11794 for ac_func in mousemask
11796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 else
11802 cat >conftest.$ac_ext <<_ACEOF
11803 /* confdefs.h. */
11804 _ACEOF
11805 cat confdefs.h >>conftest.$ac_ext
11806 cat >>conftest.$ac_ext <<_ACEOF
11807 /* end confdefs.h. */
11808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11810 #define $ac_func innocuous_$ac_func
11812 /* System header to define __stub macros and hopefully few prototypes,
11813 which can conflict with char $ac_func (); below.
11814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11815 <limits.h> exists even on freestanding compilers. */
11817 #ifdef __STDC__
11818 # include <limits.h>
11819 #else
11820 # include <assert.h>
11821 #endif
11823 #undef $ac_func
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char $ac_func ();
11832 /* The GNU C library defines this for functions which it implements
11833 to always fail with ENOSYS. Some functions are actually named
11834 something starting with __ and the normal name is an alias. */
11835 #if defined __stub_$ac_func || defined __stub___$ac_func
11836 choke me
11837 #endif
11840 main ()
11842 return $ac_func ();
11844 return 0;
11846 _ACEOF
11847 rm -f conftest.$ac_objext conftest$ac_exeext
11848 if { (ac_try="$ac_link"
11849 case "(($ac_try" in
11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11851 *) ac_try_echo=$ac_try;;
11852 esac
11853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11854 (eval "$ac_link") 2>conftest.er1
11855 ac_status=$?
11856 grep -v '^ *+' conftest.er1 >conftest.err
11857 rm -f conftest.er1
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest$ac_exeext &&
11864 $as_test_x conftest$ac_exeext; then
11865 eval "$as_ac_var=yes"
11866 else
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11870 eval "$as_ac_var=no"
11873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11874 conftest$ac_exeext conftest.$ac_ext
11876 ac_res=`eval echo '${'$as_ac_var'}'`
11877 { echo "$as_me:$LINENO: result: $ac_res" >&5
11878 echo "${ECHO_T}$ac_res" >&6; }
11879 if test `eval echo '${'$as_ac_var'}'` = yes; then
11880 cat >>confdefs.h <<_ACEOF
11881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11882 _ACEOF
11885 done
11887 LIBS="$ac_save_LIBS"
11888 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11889 wine_notices="$wine_notices|lib(n)curses development files not found.
11890 Wine will be built without (n)curses support. (wineconsole.exe)"
11894 # Extract the first word of "sane-config", so it can be a program name with args.
11895 set dummy sane-config; ac_word=$2
11896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11898 if test "${ac_cv_prog_sane_devel+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 else
11901 if test -n "$sane_devel"; then
11902 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11903 else
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11907 IFS=$as_save_IFS
11908 test -z "$as_dir" && as_dir=.
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911 ac_cv_prog_sane_devel="sane-config"
11912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11913 break 2
11915 done
11916 done
11917 IFS=$as_save_IFS
11919 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11922 sane_devel=$ac_cv_prog_sane_devel
11923 if test -n "$sane_devel"; then
11924 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11925 echo "${ECHO_T}$sane_devel" >&6; }
11926 else
11927 { echo "$as_me:$LINENO: result: no" >&5
11928 echo "${ECHO_T}no" >&6; }
11932 if test "$sane_devel" != "no"
11933 then
11934 ac_sane_incl="`$sane_devel --cflags`"
11935 ac_save_CPPFLAGS="$CPPFLAGS"
11936 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11937 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11938 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11939 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11940 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11944 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11945 else
11946 # Is the header compilable?
11947 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11948 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11949 cat >conftest.$ac_ext <<_ACEOF
11950 /* confdefs.h. */
11951 _ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11955 $ac_includes_default
11956 #include <sane/sane.h>
11957 _ACEOF
11958 rm -f conftest.$ac_objext
11959 if { (ac_try="$ac_compile"
11960 case "(($ac_try" in
11961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962 *) ac_try_echo=$ac_try;;
11963 esac
11964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11965 (eval "$ac_compile") 2>conftest.er1
11966 ac_status=$?
11967 grep -v '^ *+' conftest.er1 >conftest.err
11968 rm -f conftest.er1
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } && {
11972 test -z "$ac_c_werror_flag" ||
11973 test ! -s conftest.err
11974 } && test -s conftest.$ac_objext; then
11975 ac_header_compiler=yes
11976 else
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11980 ac_header_compiler=no
11983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11985 echo "${ECHO_T}$ac_header_compiler" >&6; }
11987 # Is the header present?
11988 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11989 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11990 cat >conftest.$ac_ext <<_ACEOF
11991 /* confdefs.h. */
11992 _ACEOF
11993 cat confdefs.h >>conftest.$ac_ext
11994 cat >>conftest.$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11996 #include <sane/sane.h>
11997 _ACEOF
11998 if { (ac_try="$ac_cpp conftest.$ac_ext"
11999 case "(($ac_try" in
12000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12001 *) ac_try_echo=$ac_try;;
12002 esac
12003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12005 ac_status=$?
12006 grep -v '^ *+' conftest.er1 >conftest.err
12007 rm -f conftest.er1
12008 cat conftest.err >&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } >/dev/null && {
12011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12012 test ! -s conftest.err
12013 }; then
12014 ac_header_preproc=yes
12015 else
12016 echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.$ac_ext >&5
12019 ac_header_preproc=no
12022 rm -f conftest.err conftest.$ac_ext
12023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12024 echo "${ECHO_T}$ac_header_preproc" >&6; }
12026 # So? What about this header?
12027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12028 yes:no: )
12029 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12030 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12031 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12032 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12033 ac_header_preproc=yes
12035 no:yes:* )
12036 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12037 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12038 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12039 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12040 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12041 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12042 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12043 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12045 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12046 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12047 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12048 ( cat <<\_ASBOX
12049 ## ------------------------------------ ##
12050 ## Report this to wine-devel@winehq.org ##
12051 ## ------------------------------------ ##
12052 _ASBOX
12053 ) | sed "s/^/$as_me: WARNING: /" >&2
12055 esac
12056 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12057 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12058 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 else
12061 ac_cv_header_sane_sane_h=$ac_header_preproc
12063 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12064 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12067 if test $ac_cv_header_sane_sane_h = yes; then
12068 { echo "$as_me:$LINENO: checking for -lsane" >&5
12069 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12070 if test "${ac_cv_lib_soname_sane+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 else
12073 ac_check_soname_save_LIBS=$LIBS
12074 LIBS="-lsane $LIBS"
12075 cat >conftest.$ac_ext <<_ACEOF
12076 /* confdefs.h. */
12077 _ACEOF
12078 cat confdefs.h >>conftest.$ac_ext
12079 cat >>conftest.$ac_ext <<_ACEOF
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12085 #ifdef __cplusplus
12086 extern "C"
12087 #endif
12088 char sane_init ();
12090 main ()
12092 return sane_init ();
12094 return 0;
12096 _ACEOF
12097 rm -f conftest.$ac_objext conftest$ac_exeext
12098 if { (ac_try="$ac_link"
12099 case "(($ac_try" in
12100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12101 *) ac_try_echo=$ac_try;;
12102 esac
12103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12104 (eval "$ac_link") 2>conftest.er1
12105 ac_status=$?
12106 grep -v '^ *+' conftest.er1 >conftest.err
12107 rm -f conftest.er1
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } && {
12111 test -z "$ac_c_werror_flag" ||
12112 test ! -s conftest.err
12113 } && test -s conftest$ac_exeext &&
12114 $as_test_x conftest$ac_exeext; then
12115 case "$LIBEXT" in
12116 dll) ;;
12117 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'` ;;
12118 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12119 esac
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_soname_save_LIBS
12131 if test "x$ac_cv_lib_soname_sane" = "x"; then
12132 { echo "$as_me:$LINENO: result: not found" >&5
12133 echo "${ECHO_T}not found" >&6; }
12135 else
12136 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12137 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12139 cat >>confdefs.h <<_ACEOF
12140 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12141 _ACEOF
12143 SANEINCL="$ac_sane_incl"
12150 CPPFLAGS="$ac_save_CPPFLAGS"
12152 if test "x$ac_cv_lib_soname_sane" = "x"; then
12153 wine_notices="$wine_notices|libsane development files not found.
12154 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12158 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12159 set dummy gphoto2-config; ac_word=$2
12160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12162 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12165 if test -n "$gphoto2_devel"; then
12166 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12167 else
12168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12169 for as_dir in $PATH
12171 IFS=$as_save_IFS
12172 test -z "$as_dir" && as_dir=.
12173 for ac_exec_ext in '' $ac_executable_extensions; do
12174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12175 ac_cv_prog_gphoto2_devel="gphoto2-config"
12176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12177 break 2
12179 done
12180 done
12181 IFS=$as_save_IFS
12183 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12186 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12187 if test -n "$gphoto2_devel"; then
12188 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12189 echo "${ECHO_T}$gphoto2_devel" >&6; }
12190 else
12191 { echo "$as_me:$LINENO: result: no" >&5
12192 echo "${ECHO_T}no" >&6; }
12196 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12197 set dummy gphoto2-port-config; ac_word=$2
12198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12200 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12202 else
12203 if test -n "$gphoto2port_devel"; then
12204 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12205 else
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $PATH
12209 IFS=$as_save_IFS
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12213 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12215 break 2
12217 done
12218 done
12219 IFS=$as_save_IFS
12221 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12224 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12225 if test -n "$gphoto2port_devel"; then
12226 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12227 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12228 else
12229 { echo "$as_me:$LINENO: result: no" >&5
12230 echo "${ECHO_T}no" >&6; }
12234 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12235 then
12236 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12237 ac_gphoto2_libs=""
12238 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12240 case "$i" in
12241 -L/usr/lib|-L/usr/lib64) ;;
12242 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12243 esac
12244 done
12245 ac_save_CPPFLAGS="$CPPFLAGS"
12246 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12247 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12248 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12249 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12250 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12254 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12255 else
12256 # Is the header compilable?
12257 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12258 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12259 cat >conftest.$ac_ext <<_ACEOF
12260 /* confdefs.h. */
12261 _ACEOF
12262 cat confdefs.h >>conftest.$ac_ext
12263 cat >>conftest.$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 $ac_includes_default
12266 #include <gphoto2-camera.h>
12267 _ACEOF
12268 rm -f conftest.$ac_objext
12269 if { (ac_try="$ac_compile"
12270 case "(($ac_try" in
12271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12272 *) ac_try_echo=$ac_try;;
12273 esac
12274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12275 (eval "$ac_compile") 2>conftest.er1
12276 ac_status=$?
12277 grep -v '^ *+' conftest.er1 >conftest.err
12278 rm -f conftest.er1
12279 cat conftest.err >&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } && {
12282 test -z "$ac_c_werror_flag" ||
12283 test ! -s conftest.err
12284 } && test -s conftest.$ac_objext; then
12285 ac_header_compiler=yes
12286 else
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12290 ac_header_compiler=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12295 echo "${ECHO_T}$ac_header_compiler" >&6; }
12297 # Is the header present?
12298 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12299 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <gphoto2-camera.h>
12307 _ACEOF
12308 if { (ac_try="$ac_cpp conftest.$ac_ext"
12309 case "(($ac_try" in
12310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12311 *) ac_try_echo=$ac_try;;
12312 esac
12313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } >/dev/null && {
12321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12322 test ! -s conftest.err
12323 }; then
12324 ac_header_preproc=yes
12325 else
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.$ac_ext >&5
12329 ac_header_preproc=no
12332 rm -f conftest.err conftest.$ac_ext
12333 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12334 echo "${ECHO_T}$ac_header_preproc" >&6; }
12336 # So? What about this header?
12337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12338 yes:no: )
12339 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12340 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12341 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12342 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12343 ac_header_preproc=yes
12345 no:yes:* )
12346 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12347 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12348 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12349 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12350 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12351 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12352 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12353 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12354 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12355 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12357 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12358 ( cat <<\_ASBOX
12359 ## ------------------------------------ ##
12360 ## Report this to wine-devel@winehq.org ##
12361 ## ------------------------------------ ##
12362 _ASBOX
12363 ) | sed "s/^/$as_me: WARNING: /" >&2
12365 esac
12366 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12367 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12368 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 else
12371 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12373 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12374 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12377 if test $ac_cv_header_gphoto2_camera_h = yes; then
12378 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12379 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12380 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12381 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 else
12383 ac_check_lib_save_LIBS=$LIBS
12384 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12385 cat >conftest.$ac_ext <<_ACEOF
12386 /* confdefs.h. */
12387 _ACEOF
12388 cat confdefs.h >>conftest.$ac_ext
12389 cat >>conftest.$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12392 /* Override any GCC internal prototype to avoid an error.
12393 Use char because int might match the return type of a GCC
12394 builtin and then its argument prototype would still apply. */
12395 #ifdef __cplusplus
12396 extern "C"
12397 #endif
12398 char gp_camera_new ();
12400 main ()
12402 return gp_camera_new ();
12404 return 0;
12406 _ACEOF
12407 rm -f conftest.$ac_objext conftest$ac_exeext
12408 if { (ac_try="$ac_link"
12409 case "(($ac_try" in
12410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12411 *) ac_try_echo=$ac_try;;
12412 esac
12413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12414 (eval "$ac_link") 2>conftest.er1
12415 ac_status=$?
12416 grep -v '^ *+' conftest.er1 >conftest.err
12417 rm -f conftest.er1
12418 cat conftest.err >&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); } && {
12421 test -z "$ac_c_werror_flag" ||
12422 test ! -s conftest.err
12423 } && test -s conftest$ac_exeext &&
12424 $as_test_x conftest$ac_exeext; then
12425 ac_cv_lib_gphoto2_gp_camera_new=yes
12426 else
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.$ac_ext >&5
12430 ac_cv_lib_gphoto2_gp_camera_new=no
12433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12434 conftest$ac_exeext conftest.$ac_ext
12435 LIBS=$ac_check_lib_save_LIBS
12437 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12438 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12439 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12441 cat >>confdefs.h <<\_ACEOF
12442 #define HAVE_GPHOTO2 1
12443 _ACEOF
12445 GPHOTO2LIBS="$ac_gphoto2_libs"
12447 GPHOTO2INCL="$ac_gphoto2_incl"
12454 CPPFLAGS="$ac_save_CPPFLAGS"
12456 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12457 wine_notices="$wine_notices|libgphoto2 development files not found.
12458 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12463 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12464 then
12465 saved_libs="$LIBS"
12466 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12467 if test -n "$ICU_LIB_DIR"
12468 then
12469 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12471 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12472 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12473 LIBS="$saved_libs $icu_libs"
12474 if test "$cross_compiling" = yes; then
12475 { echo "$as_me:$LINENO: result: no" >&5
12476 echo "${ECHO_T}no" >&6; }
12477 else
12478 cat >conftest.$ac_ext <<_ACEOF
12479 /* confdefs.h. */
12480 _ACEOF
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12484 #include <unicode/ubidi.h>
12486 main ()
12488 ubidi_open()
12490 return 0;
12492 _ACEOF
12493 rm -f conftest$ac_exeext
12494 if { (ac_try="$ac_link"
12495 case "(($ac_try" in
12496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12497 *) ac_try_echo=$ac_try;;
12498 esac
12499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12500 (eval "$ac_link") 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12504 { (case "(($ac_try" in
12505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12506 *) ac_try_echo=$ac_try;;
12507 esac
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_try") 2>&5
12510 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12514 cat >>confdefs.h <<\_ACEOF
12515 #define HAVE_ICU 1
12516 _ACEOF
12518 ICULIBS="$icu_libs"
12520 { echo "$as_me:$LINENO: result: yes" >&5
12521 echo "${ECHO_T}yes" >&6; }
12522 else
12523 echo "$as_me: program exited with status $ac_status" >&5
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12527 ( exit $ac_status )
12528 { echo "$as_me:$LINENO: result: no" >&5
12529 echo "${ECHO_T}no" >&6; }
12531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12535 LIBS="$saved_libs"
12537 if test "x$ICULIBS" = "x"; then
12538 wine_notices="$wine_notices|libicu development files not found.
12539 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12543 RESOLVLIBS=""
12545 if test "$ac_cv_header_resolv_h" = "yes"
12546 then
12547 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12548 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12549 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 else
12552 ac_check_lib_save_LIBS=$LIBS
12553 LIBS="-lresolv $LIBS"
12554 cat >conftest.$ac_ext <<_ACEOF
12555 /* confdefs.h. */
12556 _ACEOF
12557 cat confdefs.h >>conftest.$ac_ext
12558 cat >>conftest.$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char res_query ();
12569 main ()
12571 return res_query ();
12573 return 0;
12575 _ACEOF
12576 rm -f conftest.$ac_objext conftest$ac_exeext
12577 if { (ac_try="$ac_link"
12578 case "(($ac_try" in
12579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12580 *) ac_try_echo=$ac_try;;
12581 esac
12582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12583 (eval "$ac_link") 2>conftest.er1
12584 ac_status=$?
12585 grep -v '^ *+' conftest.er1 >conftest.err
12586 rm -f conftest.er1
12587 cat conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } && {
12590 test -z "$ac_c_werror_flag" ||
12591 test ! -s conftest.err
12592 } && test -s conftest$ac_exeext &&
12593 $as_test_x conftest$ac_exeext; then
12594 ac_cv_lib_resolv_res_query=yes
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 ac_cv_lib_resolv_res_query=no
12602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12606 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12607 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12608 if test $ac_cv_lib_resolv_res_query = yes; then
12610 cat >>confdefs.h <<\_ACEOF
12611 #define HAVE_RESOLV 1
12612 _ACEOF
12614 RESOLVLIBS="-lresolv"
12619 LCMSLIBS=""
12621 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12622 then
12623 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12624 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12625 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12627 else
12628 ac_check_lib_save_LIBS=$LIBS
12629 LIBS="-llcms $LIBS"
12630 cat >conftest.$ac_ext <<_ACEOF
12631 /* confdefs.h. */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char cmsOpenProfileFromFile ();
12645 main ()
12647 return cmsOpenProfileFromFile ();
12649 return 0;
12651 _ACEOF
12652 rm -f conftest.$ac_objext conftest$ac_exeext
12653 if { (ac_try="$ac_link"
12654 case "(($ac_try" in
12655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12656 *) ac_try_echo=$ac_try;;
12657 esac
12658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12659 (eval "$ac_link") 2>conftest.er1
12660 ac_status=$?
12661 grep -v '^ *+' conftest.er1 >conftest.err
12662 rm -f conftest.er1
12663 cat conftest.err >&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } && {
12666 test -z "$ac_c_werror_flag" ||
12667 test ! -s conftest.err
12668 } && test -s conftest$ac_exeext &&
12669 $as_test_x conftest$ac_exeext; then
12670 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12671 else
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12675 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12682 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12683 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12684 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12686 cat >>confdefs.h <<\_ACEOF
12687 #define HAVE_LCMS 1
12688 _ACEOF
12690 LCMSLIBS="-llcms"
12694 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12695 wine_notices="$wine_notices|liblcms development files not found.
12696 Wine will be built without Color Management support. (mscms.dll)"
12700 LDAPLIBS=""
12702 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12703 then
12704 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12705 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12706 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 else
12709 ac_check_lib_save_LIBS=$LIBS
12710 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12721 #ifdef __cplusplus
12722 extern "C"
12723 #endif
12724 char ldap_initialize ();
12726 main ()
12728 return ldap_initialize ();
12730 return 0;
12732 _ACEOF
12733 rm -f conftest.$ac_objext conftest$ac_exeext
12734 if { (ac_try="$ac_link"
12735 case "(($ac_try" in
12736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12738 esac
12739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12740 (eval "$ac_link") 2>conftest.er1
12741 ac_status=$?
12742 grep -v '^ *+' conftest.er1 >conftest.err
12743 rm -f conftest.er1
12744 cat conftest.err >&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } && {
12747 test -z "$ac_c_werror_flag" ||
12748 test ! -s conftest.err
12749 } && test -s conftest$ac_exeext &&
12750 $as_test_x conftest$ac_exeext; then
12751 ac_cv_lib_ldap_r_ldap_initialize=yes
12752 else
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12756 ac_cv_lib_ldap_r_ldap_initialize=no
12759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12764 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12765 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12766 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12767 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12768 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 else
12771 ac_check_lib_save_LIBS=$LIBS
12772 LIBS="-llber $LIBPTHREAD $LIBS"
12773 cat >conftest.$ac_ext <<_ACEOF
12774 /* confdefs.h. */
12775 _ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12783 #ifdef __cplusplus
12784 extern "C"
12785 #endif
12786 char ber_init ();
12788 main ()
12790 return ber_init ();
12792 return 0;
12794 _ACEOF
12795 rm -f conftest.$ac_objext conftest$ac_exeext
12796 if { (ac_try="$ac_link"
12797 case "(($ac_try" in
12798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12799 *) ac_try_echo=$ac_try;;
12800 esac
12801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12802 (eval "$ac_link") 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } && {
12809 test -z "$ac_c_werror_flag" ||
12810 test ! -s conftest.err
12811 } && test -s conftest$ac_exeext &&
12812 $as_test_x conftest$ac_exeext; then
12813 ac_cv_lib_lber_ber_init=yes
12814 else
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.$ac_ext >&5
12818 ac_cv_lib_lber_ber_init=no
12821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12826 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12827 if test $ac_cv_lib_lber_ber_init = yes; then
12829 cat >>confdefs.h <<\_ACEOF
12830 #define HAVE_LDAP 1
12831 _ACEOF
12833 LDAPLIBS="-lldap_r -llber"
12838 ac_wine_check_funcs_save_LIBS="$LIBS"
12839 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12844 for ac_func in \
12845 ldap_count_references \
12846 ldap_first_reference \
12847 ldap_next_reference \
12848 ldap_parse_reference
12850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 else
12856 cat >conftest.$ac_ext <<_ACEOF
12857 /* confdefs.h. */
12858 _ACEOF
12859 cat confdefs.h >>conftest.$ac_ext
12860 cat >>conftest.$ac_ext <<_ACEOF
12861 /* end confdefs.h. */
12862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12864 #define $ac_func innocuous_$ac_func
12866 /* System header to define __stub macros and hopefully few prototypes,
12867 which can conflict with char $ac_func (); below.
12868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12869 <limits.h> exists even on freestanding compilers. */
12871 #ifdef __STDC__
12872 # include <limits.h>
12873 #else
12874 # include <assert.h>
12875 #endif
12877 #undef $ac_func
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 #ifdef __cplusplus
12883 extern "C"
12884 #endif
12885 char $ac_func ();
12886 /* The GNU C library defines this for functions which it implements
12887 to always fail with ENOSYS. Some functions are actually named
12888 something starting with __ and the normal name is an alias. */
12889 #if defined __stub_$ac_func || defined __stub___$ac_func
12890 choke me
12891 #endif
12894 main ()
12896 return $ac_func ();
12898 return 0;
12900 _ACEOF
12901 rm -f conftest.$ac_objext conftest$ac_exeext
12902 if { (ac_try="$ac_link"
12903 case "(($ac_try" in
12904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12905 *) ac_try_echo=$ac_try;;
12906 esac
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_link") 2>conftest.er1
12909 ac_status=$?
12910 grep -v '^ *+' conftest.er1 >conftest.err
12911 rm -f conftest.er1
12912 cat conftest.err >&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } && {
12915 test -z "$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12917 } && test -s conftest$ac_exeext &&
12918 $as_test_x conftest$ac_exeext; then
12919 eval "$as_ac_var=yes"
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12924 eval "$as_ac_var=no"
12927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12928 conftest$ac_exeext conftest.$ac_ext
12930 ac_res=`eval echo '${'$as_ac_var'}'`
12931 { echo "$as_me:$LINENO: result: $ac_res" >&5
12932 echo "${ECHO_T}$ac_res" >&6; }
12933 if test `eval echo '${'$as_ac_var'}'` = yes; then
12934 cat >>confdefs.h <<_ACEOF
12935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12936 _ACEOF
12939 done
12941 LIBS="$ac_wine_check_funcs_save_LIBS"
12943 if test "x$LDAPLIBS" = "x"; then
12944 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12945 Wine will be built without LDAP support. (wldap32.dll)"
12949 for ac_prog in freetype-config freetype2-config
12951 # Extract the first word of "$ac_prog", so it can be a program name with args.
12952 set dummy $ac_prog; ac_word=$2
12953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12955 if test "${ac_cv_prog_ft_devel+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 else
12958 if test -n "$ft_devel"; then
12959 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12960 else
12961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12962 for as_dir in $PATH
12964 IFS=$as_save_IFS
12965 test -z "$as_dir" && as_dir=.
12966 for ac_exec_ext in '' $ac_executable_extensions; do
12967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12968 ac_cv_prog_ft_devel="$ac_prog"
12969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12970 break 2
12972 done
12973 done
12974 IFS=$as_save_IFS
12978 ft_devel=$ac_cv_prog_ft_devel
12979 if test -n "$ft_devel"; then
12980 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12981 echo "${ECHO_T}$ft_devel" >&6; }
12982 else
12983 { echo "$as_me:$LINENO: result: no" >&5
12984 echo "${ECHO_T}no" >&6; }
12988 test -n "$ft_devel" && break
12989 done
12990 test -n "$ft_devel" || ft_devel="false"
12992 if test "$ft_devel" != "false"
12993 then
12994 ac_freetype_libs=`$ft_devel --libs`
12995 ac_freetype_incl=`$ft_devel --cflags`
12996 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12997 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12998 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h. */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char FT_Init_FreeType ();
13018 main ()
13020 return FT_Init_FreeType ();
13022 return 0;
13024 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (ac_try="$ac_link"
13027 case "(($ac_try" in
13028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13029 *) ac_try_echo=$ac_try;;
13030 esac
13031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13032 (eval "$ac_link") 2>conftest.er1
13033 ac_status=$?
13034 grep -v '^ *+' conftest.er1 >conftest.err
13035 rm -f conftest.er1
13036 cat conftest.err >&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } && {
13039 test -z "$ac_c_werror_flag" ||
13040 test ! -s conftest.err
13041 } && test -s conftest$ac_exeext &&
13042 $as_test_x conftest$ac_exeext; then
13043 case "$LIBEXT" in
13044 dll) ;;
13045 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'` ;;
13046 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13047 esac
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_soname_save_LIBS
13059 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13060 { echo "$as_me:$LINENO: result: not found" >&5
13061 echo "${ECHO_T}not found" >&6; }
13062 ft_lib=no
13063 else
13064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13065 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13067 cat >>confdefs.h <<_ACEOF
13068 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13069 _ACEOF
13071 ft_lib=yes
13074 if test "$ft_lib" = "yes"
13075 then
13076 ac_save_CPPFLAGS="$CPPFLAGS"
13077 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13089 for ac_header in ft2build.h \
13090 freetype/freetype.h \
13091 freetype/ftglyph.h \
13092 freetype/tttables.h \
13093 freetype/ftnames.h \
13094 freetype/ftsnames.h \
13095 freetype/ttnameid.h \
13096 freetype/ftoutln.h \
13097 freetype/ftwinfnt.h \
13098 freetype/ftmodapi.h \
13099 freetype/internal/sfnt.h
13101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13102 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 else
13107 cat >conftest.$ac_ext <<_ACEOF
13108 /* confdefs.h. */
13109 _ACEOF
13110 cat confdefs.h >>conftest.$ac_ext
13111 cat >>conftest.$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 #if HAVE_FT2BUILD_H
13114 #include <ft2build.h>
13115 #endif
13117 #include <$ac_header>
13118 _ACEOF
13119 rm -f conftest.$ac_objext
13120 if { (ac_try="$ac_compile"
13121 case "(($ac_try" in
13122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 *) ac_try_echo=$ac_try;;
13124 esac
13125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_compile") 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } && {
13133 test -z "$ac_c_werror_flag" ||
13134 test ! -s conftest.err
13135 } && test -s conftest.$ac_objext; then
13136 eval "$as_ac_Header=yes"
13137 else
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.$ac_ext >&5
13141 eval "$as_ac_Header=no"
13144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13146 ac_res=`eval echo '${'$as_ac_Header'}'`
13147 { echo "$as_me:$LINENO: result: $ac_res" >&5
13148 echo "${ECHO_T}$ac_res" >&6; }
13149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13150 cat >>confdefs.h <<_ACEOF
13151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13152 _ACEOF
13156 done
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 #include <ft2build.h>
13165 #include <freetype/fttrigon.h>
13166 _ACEOF
13167 if { (ac_try="$ac_cpp conftest.$ac_ext"
13168 case "(($ac_try" in
13169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13170 *) ac_try_echo=$ac_try;;
13171 esac
13172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13174 ac_status=$?
13175 grep -v '^ *+' conftest.er1 >conftest.err
13176 rm -f conftest.er1
13177 cat conftest.err >&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } >/dev/null && {
13180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13181 test ! -s conftest.err
13182 }; then
13184 cat >>confdefs.h <<\_ACEOF
13185 #define HAVE_FREETYPE_FTTRIGON_H 1
13186 _ACEOF
13188 wine_cv_fttrigon=yes
13189 else
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13193 wine_cv_fttrigon=no
13196 rm -f conftest.err conftest.$ac_ext
13197 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13198 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13199 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 #include <freetype/ftmodapi.h>
13210 typedef FT_TrueTypeEngineType ac__type_new_;
13212 main ()
13214 if ((ac__type_new_ *) 0)
13215 return 0;
13216 if (sizeof (ac__type_new_))
13217 return 0;
13219 return 0;
13221 _ACEOF
13222 rm -f conftest.$ac_objext
13223 if { (ac_try="$ac_compile"
13224 case "(($ac_try" in
13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13227 esac
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_compile") 2>conftest.er1
13230 ac_status=$?
13231 grep -v '^ *+' conftest.er1 >conftest.err
13232 rm -f conftest.er1
13233 cat conftest.err >&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } && {
13236 test -z "$ac_c_werror_flag" ||
13237 test ! -s conftest.err
13238 } && test -s conftest.$ac_objext; then
13239 ac_cv_type_FT_TrueTypeEngineType=yes
13240 else
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13244 ac_cv_type_FT_TrueTypeEngineType=no
13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13250 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13251 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13253 cat >>confdefs.h <<_ACEOF
13254 #define HAVE_FT_TRUETYPEENGINETYPE 1
13255 _ACEOF
13260 ac_save_CFLAGS="$CFLAGS"
13261 CFLAGS="$CFLAGS $ac_freetype_libs"
13263 for ac_func in FT_Load_Sfnt_Table
13265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271 cat >conftest.$ac_ext <<_ACEOF
13272 /* confdefs.h. */
13273 _ACEOF
13274 cat confdefs.h >>conftest.$ac_ext
13275 cat >>conftest.$ac_ext <<_ACEOF
13276 /* end confdefs.h. */
13277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13279 #define $ac_func innocuous_$ac_func
13281 /* System header to define __stub macros and hopefully few prototypes,
13282 which can conflict with char $ac_func (); below.
13283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13284 <limits.h> exists even on freestanding compilers. */
13286 #ifdef __STDC__
13287 # include <limits.h>
13288 #else
13289 # include <assert.h>
13290 #endif
13292 #undef $ac_func
13294 /* Override any GCC internal prototype to avoid an error.
13295 Use char because int might match the return type of a GCC
13296 builtin and then its argument prototype would still apply. */
13297 #ifdef __cplusplus
13298 extern "C"
13299 #endif
13300 char $ac_func ();
13301 /* The GNU C library defines this for functions which it implements
13302 to always fail with ENOSYS. Some functions are actually named
13303 something starting with __ and the normal name is an alias. */
13304 #if defined __stub_$ac_func || defined __stub___$ac_func
13305 choke me
13306 #endif
13309 main ()
13311 return $ac_func ();
13313 return 0;
13315 _ACEOF
13316 rm -f conftest.$ac_objext conftest$ac_exeext
13317 if { (ac_try="$ac_link"
13318 case "(($ac_try" in
13319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13320 *) ac_try_echo=$ac_try;;
13321 esac
13322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13323 (eval "$ac_link") 2>conftest.er1
13324 ac_status=$?
13325 grep -v '^ *+' conftest.er1 >conftest.err
13326 rm -f conftest.er1
13327 cat conftest.err >&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } && {
13330 test -z "$ac_c_werror_flag" ||
13331 test ! -s conftest.err
13332 } && test -s conftest$ac_exeext &&
13333 $as_test_x conftest$ac_exeext; then
13334 eval "$as_ac_var=yes"
13335 else
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.$ac_ext >&5
13339 eval "$as_ac_var=no"
13342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13343 conftest$ac_exeext conftest.$ac_ext
13345 ac_res=`eval echo '${'$as_ac_var'}'`
13346 { echo "$as_me:$LINENO: result: $ac_res" >&5
13347 echo "${ECHO_T}$ac_res" >&6; }
13348 if test `eval echo '${'$as_ac_var'}'` = yes; then
13349 cat >>confdefs.h <<_ACEOF
13350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13351 _ACEOF
13354 done
13356 CFLAGS="$ac_save_CFLAGS"
13357 CPPFLAGS="$ac_save_CPPFLAGS"
13358 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13359 then
13361 cat >>confdefs.h <<\_ACEOF
13362 #define HAVE_FREETYPE 1
13363 _ACEOF
13365 FREETYPELIBS="$ac_freetype_libs"
13367 FREETYPEINCL="$ac_freetype_incl"
13373 if test "$FONTFORGE" = "false"
13374 then
13375 wine_warnings="$wine_warnings|FontForge is missing.
13376 Fonts will not be built. Dialog text may be invisible or unaligned."
13377 elif test "x$FREETYPELIBS" = "x"
13378 then
13379 wine_warnings="$wine_warnings|FreeType development files not found.
13380 Fonts will not be built. Dialog text may be invisible or unaligned."
13381 else
13382 FONTSSUBDIRS="fonts"
13386 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13387 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13388 if test "${ac_cv_c_ppdev+set}" = set; then
13389 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 else
13391 cat >conftest.$ac_ext <<_ACEOF
13392 /* confdefs.h. */
13393 _ACEOF
13394 cat confdefs.h >>conftest.$ac_ext
13395 cat >>conftest.$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13397 #include <linux/ppdev.h>
13399 main ()
13401 ioctl (1,PPCLAIM,0)
13403 return 0;
13405 _ACEOF
13406 rm -f conftest.$ac_objext
13407 if { (ac_try="$ac_compile"
13408 case "(($ac_try" in
13409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13410 *) ac_try_echo=$ac_try;;
13411 esac
13412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13413 (eval "$ac_compile") 2>conftest.er1
13414 ac_status=$?
13415 grep -v '^ *+' conftest.er1 >conftest.err
13416 rm -f conftest.er1
13417 cat conftest.err >&5
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); } && {
13420 test -z "$ac_c_werror_flag" ||
13421 test ! -s conftest.err
13422 } && test -s conftest.$ac_objext; then
13423 ac_cv_c_ppdev="yes"
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13428 ac_cv_c_ppdev="no"
13431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13433 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13434 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13435 if test "$ac_cv_c_ppdev" = "yes"
13436 then
13438 cat >>confdefs.h <<\_ACEOF
13439 #define HAVE_PPDEV 1
13440 _ACEOF
13444 { echo "$as_me:$LINENO: checking for va_copy" >&5
13445 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13446 if test "${ac_cv_c_va_copy+set}" = set; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 else
13449 cat >conftest.$ac_ext <<_ACEOF
13450 /* confdefs.h. */
13451 _ACEOF
13452 cat confdefs.h >>conftest.$ac_ext
13453 cat >>conftest.$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455 #include <stdarg.h>
13457 main ()
13459 va_list ap1, ap2; va_copy(ap1,ap2);
13461 return 0;
13463 _ACEOF
13464 rm -f conftest.$ac_objext conftest$ac_exeext
13465 if { (ac_try="$ac_link"
13466 case "(($ac_try" in
13467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13468 *) ac_try_echo=$ac_try;;
13469 esac
13470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13471 (eval "$ac_link") 2>conftest.er1
13472 ac_status=$?
13473 grep -v '^ *+' conftest.er1 >conftest.err
13474 rm -f conftest.er1
13475 cat conftest.err >&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } && {
13478 test -z "$ac_c_werror_flag" ||
13479 test ! -s conftest.err
13480 } && test -s conftest$ac_exeext &&
13481 $as_test_x conftest$ac_exeext; then
13482 ac_cv_c_va_copy="yes"
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13487 ac_cv_c_va_copy="no"
13490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13491 conftest$ac_exeext conftest.$ac_ext
13494 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13495 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13496 if test "$ac_cv_c_va_copy" = "yes"
13497 then
13499 cat >>confdefs.h <<\_ACEOF
13500 #define HAVE_VA_COPY 1
13501 _ACEOF
13504 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13505 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13506 if test "${ac_cv_c___va_copy+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515 #include <stdarg.h>
13517 main ()
13519 va_list ap1, ap2; __va_copy(ap1,ap2);
13521 return 0;
13523 _ACEOF
13524 rm -f conftest.$ac_objext conftest$ac_exeext
13525 if { (ac_try="$ac_link"
13526 case "(($ac_try" in
13527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13528 *) ac_try_echo=$ac_try;;
13529 esac
13530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 (eval "$ac_link") 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } && {
13538 test -z "$ac_c_werror_flag" ||
13539 test ! -s conftest.err
13540 } && test -s conftest$ac_exeext &&
13541 $as_test_x conftest$ac_exeext; then
13542 ac_cv_c___va_copy="yes"
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_c___va_copy="no"
13550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13551 conftest$ac_exeext conftest.$ac_ext
13554 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13555 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13556 if test "$ac_cv_c___va_copy" = "yes"
13557 then
13559 cat >>confdefs.h <<\_ACEOF
13560 #define HAVE___VA_COPY 1
13561 _ACEOF
13565 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13566 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13567 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 else
13570 cat >conftest.$ac_ext <<_ACEOF
13571 /* confdefs.h. */
13572 _ACEOF
13573 cat confdefs.h >>conftest.$ac_ext
13574 cat >>conftest.$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 #include <setjmp.h>
13578 main ()
13580 sigjmp_buf buf;
13581 sigsetjmp( buf, 1 );
13582 siglongjmp( buf, 1 );
13584 return 0;
13586 _ACEOF
13587 rm -f conftest.$ac_objext conftest$ac_exeext
13588 if { (ac_try="$ac_link"
13589 case "(($ac_try" in
13590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13592 esac
13593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 (eval "$ac_link") 2>conftest.er1
13595 ac_status=$?
13596 grep -v '^ *+' conftest.er1 >conftest.err
13597 rm -f conftest.er1
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } && {
13601 test -z "$ac_c_werror_flag" ||
13602 test ! -s conftest.err
13603 } && test -s conftest$ac_exeext &&
13604 $as_test_x conftest$ac_exeext; then
13605 ac_cv_c_sigsetjmp="yes"
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13610 ac_cv_c_sigsetjmp="no"
13613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13614 conftest$ac_exeext conftest.$ac_ext
13617 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13618 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13619 if test "$ac_cv_c_sigsetjmp" = "yes"
13620 then
13622 cat >>confdefs.h <<\_ACEOF
13623 #define HAVE_SIGSETJMP 1
13624 _ACEOF
13628 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13629 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13630 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 else
13633 cat >conftest.$ac_ext <<_ACEOF
13634 /* confdefs.h. */
13635 _ACEOF
13636 cat confdefs.h >>conftest.$ac_ext
13637 cat >>conftest.$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13639 #define _GNU_SOURCE
13640 #include <pthread.h>
13642 typedef pthread_rwlock_t ac__type_new_;
13644 main ()
13646 if ((ac__type_new_ *) 0)
13647 return 0;
13648 if (sizeof (ac__type_new_))
13649 return 0;
13651 return 0;
13653 _ACEOF
13654 rm -f conftest.$ac_objext
13655 if { (ac_try="$ac_compile"
13656 case "(($ac_try" in
13657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13658 *) ac_try_echo=$ac_try;;
13659 esac
13660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13661 (eval "$ac_compile") 2>conftest.er1
13662 ac_status=$?
13663 grep -v '^ *+' conftest.er1 >conftest.err
13664 rm -f conftest.er1
13665 cat conftest.err >&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } && {
13668 test -z "$ac_c_werror_flag" ||
13669 test ! -s conftest.err
13670 } && test -s conftest.$ac_objext; then
13671 ac_cv_type_pthread_rwlock_t=yes
13672 else
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13676 ac_cv_type_pthread_rwlock_t=no
13679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13681 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13682 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13683 if test $ac_cv_type_pthread_rwlock_t = yes; then
13685 cat >>confdefs.h <<_ACEOF
13686 #define HAVE_PTHREAD_RWLOCK_T 1
13687 _ACEOF
13691 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13692 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13693 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 cat >conftest.$ac_ext <<_ACEOF
13697 /* confdefs.h. */
13698 _ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702 #define _GNU_SOURCE
13703 #include <pthread.h>
13705 typedef pthread_rwlockattr_t ac__type_new_;
13707 main ()
13709 if ((ac__type_new_ *) 0)
13710 return 0;
13711 if (sizeof (ac__type_new_))
13712 return 0;
13714 return 0;
13716 _ACEOF
13717 rm -f conftest.$ac_objext
13718 if { (ac_try="$ac_compile"
13719 case "(($ac_try" in
13720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13721 *) ac_try_echo=$ac_try;;
13722 esac
13723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13724 (eval "$ac_compile") 2>conftest.er1
13725 ac_status=$?
13726 grep -v '^ *+' conftest.er1 >conftest.err
13727 rm -f conftest.er1
13728 cat conftest.err >&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } && {
13731 test -z "$ac_c_werror_flag" ||
13732 test ! -s conftest.err
13733 } && test -s conftest.$ac_objext; then
13734 ac_cv_type_pthread_rwlockattr_t=yes
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 ac_cv_type_pthread_rwlockattr_t=no
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13745 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13746 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13748 cat >>confdefs.h <<_ACEOF
13749 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13750 _ACEOF
13756 ac_wine_check_funcs_save_LIBS="$LIBS"
13757 LIBS="$LIBS $LIBPTHREAD"
13762 for ac_func in \
13763 pthread_attr_get_np \
13764 pthread_getattr_np \
13765 pthread_get_stackaddr_np \
13766 pthread_get_stacksize_np
13768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 else
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h. */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13782 #define $ac_func innocuous_$ac_func
13784 /* System header to define __stub macros and hopefully few prototypes,
13785 which can conflict with char $ac_func (); below.
13786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13787 <limits.h> exists even on freestanding compilers. */
13789 #ifdef __STDC__
13790 # include <limits.h>
13791 #else
13792 # include <assert.h>
13793 #endif
13795 #undef $ac_func
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13800 #ifdef __cplusplus
13801 extern "C"
13802 #endif
13803 char $ac_func ();
13804 /* The GNU C library defines this for functions which it implements
13805 to always fail with ENOSYS. Some functions are actually named
13806 something starting with __ and the normal name is an alias. */
13807 #if defined __stub_$ac_func || defined __stub___$ac_func
13808 choke me
13809 #endif
13812 main ()
13814 return $ac_func ();
13816 return 0;
13818 _ACEOF
13819 rm -f conftest.$ac_objext conftest$ac_exeext
13820 if { (ac_try="$ac_link"
13821 case "(($ac_try" in
13822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13823 *) ac_try_echo=$ac_try;;
13824 esac
13825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13826 (eval "$ac_link") 2>conftest.er1
13827 ac_status=$?
13828 grep -v '^ *+' conftest.er1 >conftest.err
13829 rm -f conftest.er1
13830 cat conftest.err >&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } && {
13833 test -z "$ac_c_werror_flag" ||
13834 test ! -s conftest.err
13835 } && test -s conftest$ac_exeext &&
13836 $as_test_x conftest$ac_exeext; then
13837 eval "$as_ac_var=yes"
13838 else
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 eval "$as_ac_var=no"
13845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13846 conftest$ac_exeext conftest.$ac_ext
13848 ac_res=`eval echo '${'$as_ac_var'}'`
13849 { echo "$as_me:$LINENO: result: $ac_res" >&5
13850 echo "${ECHO_T}$ac_res" >&6; }
13851 if test `eval echo '${'$as_ac_var'}'` = yes; then
13852 cat >>confdefs.h <<_ACEOF
13853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13854 _ACEOF
13857 done
13859 LIBS="$ac_wine_check_funcs_save_LIBS"
13861 # Extract the first word of "esd-config", so it can be a program name with args.
13862 set dummy esd-config; ac_word=$2
13863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13865 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13866 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 else
13868 case $ESDCONFIG in
13869 [\\/]* | ?:[\\/]*)
13870 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13874 for as_dir in $PATH
13876 IFS=$as_save_IFS
13877 test -z "$as_dir" && as_dir=.
13878 for ac_exec_ext in '' $ac_executable_extensions; do
13879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13880 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13882 break 2
13884 done
13885 done
13886 IFS=$as_save_IFS
13889 esac
13891 ESDCONFIG=$ac_cv_path_ESDCONFIG
13892 if test -n "$ESDCONFIG"; then
13893 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13894 echo "${ECHO_T}$ESDCONFIG" >&6; }
13895 else
13896 { echo "$as_me:$LINENO: result: no" >&5
13897 echo "${ECHO_T}no" >&6; }
13901 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13902 then
13903 ESD_CFLAGS=""
13904 for i in `$ESDCONFIG --cflags`
13906 case "$i" in
13907 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13908 esac
13909 done
13910 ESD_LIBS=`$ESDCONFIG --libs`
13911 save_CFLAGS="$CFLAGS"
13912 CFLAGS="$CFLAGS $ESD_CFLAGS"
13913 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13914 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13915 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 else
13918 ac_check_lib_save_LIBS=$LIBS
13919 LIBS="-lesd $LIBS"
13920 cat >conftest.$ac_ext <<_ACEOF
13921 /* confdefs.h. */
13922 _ACEOF
13923 cat confdefs.h >>conftest.$ac_ext
13924 cat >>conftest.$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13927 /* Override any GCC internal prototype to avoid an error.
13928 Use char because int might match the return type of a GCC
13929 builtin and then its argument prototype would still apply. */
13930 #ifdef __cplusplus
13931 extern "C"
13932 #endif
13933 char esd_open_sound ();
13935 main ()
13937 return esd_open_sound ();
13939 return 0;
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (ac_try="$ac_link"
13944 case "(($ac_try" in
13945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13947 esac
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_link") 2>conftest.er1
13950 ac_status=$?
13951 grep -v '^ *+' conftest.er1 >conftest.err
13952 rm -f conftest.er1
13953 cat conftest.err >&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } && {
13956 test -z "$ac_c_werror_flag" ||
13957 test ! -s conftest.err
13958 } && test -s conftest$ac_exeext &&
13959 $as_test_x conftest$ac_exeext; then
13960 ac_cv_lib_esd_esd_open_sound=yes
13961 else
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.$ac_ext >&5
13965 ac_cv_lib_esd_esd_open_sound=no
13968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13973 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13974 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13975 ESDLIBS=$ESD_LIBS
13977 ESDINCL=$ESD_CFLAGS
13980 cat >>confdefs.h <<\_ACEOF
13981 #define HAVE_ESD 1
13982 _ACEOF
13986 CFLAGS="$save_CFLAGS"
13989 ALSALIBS=""
13991 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13992 then
13993 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13994 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13995 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 else
13998 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-lasound $LIBS"
14000 cat >conftest.$ac_ext <<_ACEOF
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char snd_pcm_hw_params_get_access ();
14015 main ()
14017 return snd_pcm_hw_params_get_access ();
14019 return 0;
14021 _ACEOF
14022 rm -f conftest.$ac_objext conftest$ac_exeext
14023 if { (ac_try="$ac_link"
14024 case "(($ac_try" in
14025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14026 *) ac_try_echo=$ac_try;;
14027 esac
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_link") 2>conftest.er1
14030 ac_status=$?
14031 grep -v '^ *+' conftest.er1 >conftest.err
14032 rm -f conftest.er1
14033 cat conftest.err >&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } && {
14036 test -z "$ac_c_werror_flag" ||
14037 test ! -s conftest.err
14038 } && test -s conftest$ac_exeext &&
14039 $as_test_x conftest$ac_exeext; then
14040 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14041 else
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.$ac_ext >&5
14045 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_lib_save_LIBS
14052 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14053 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14054 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14055 cat >conftest.$ac_ext <<_ACEOF
14056 /* confdefs.h. */
14057 _ACEOF
14058 cat confdefs.h >>conftest.$ac_ext
14059 cat >>conftest.$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 #ifdef HAVE_ALSA_ASOUNDLIB_H
14062 #include <alsa/asoundlib.h>
14063 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14064 #include <sys/asoundlib.h>
14065 #endif
14067 main ()
14069 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14071 return 0;
14073 _ACEOF
14074 rm -f conftest.$ac_objext
14075 if { (ac_try="$ac_compile"
14076 case "(($ac_try" in
14077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14078 *) ac_try_echo=$ac_try;;
14079 esac
14080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14081 (eval "$ac_compile") 2>conftest.er1
14082 ac_status=$?
14083 grep -v '^ *+' conftest.er1 >conftest.err
14084 rm -f conftest.er1
14085 cat conftest.err >&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); } && {
14088 test -z "$ac_c_werror_flag" ||
14089 test ! -s conftest.err
14090 } && test -s conftest.$ac_objext; then
14092 cat >>confdefs.h <<\_ACEOF
14093 #define HAVE_ALSA 1
14094 _ACEOF
14096 ALSALIBS="-lasound"
14097 else
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.$ac_ext >&5
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14109 AUDIOIOLIBS=""
14111 if test "$ac_cv_header_libaudioio_h" = "yes"
14112 then
14113 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14114 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14115 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118 ac_check_lib_save_LIBS=$LIBS
14119 LIBS="-laudioio $LIBS"
14120 cat >conftest.$ac_ext <<_ACEOF
14121 /* confdefs.h. */
14122 _ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 #ifdef __cplusplus
14131 extern "C"
14132 #endif
14133 char AudioIOGetVersion ();
14135 main ()
14137 return AudioIOGetVersion ();
14139 return 0;
14141 _ACEOF
14142 rm -f conftest.$ac_objext conftest$ac_exeext
14143 if { (ac_try="$ac_link"
14144 case "(($ac_try" in
14145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14146 *) ac_try_echo=$ac_try;;
14147 esac
14148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14149 (eval "$ac_link") 2>conftest.er1
14150 ac_status=$?
14151 grep -v '^ *+' conftest.er1 >conftest.err
14152 rm -f conftest.er1
14153 cat conftest.err >&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); } && {
14156 test -z "$ac_c_werror_flag" ||
14157 test ! -s conftest.err
14158 } && test -s conftest$ac_exeext &&
14159 $as_test_x conftest$ac_exeext; then
14160 ac_cv_lib_audioio_AudioIOGetVersion=yes
14161 else
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.$ac_ext >&5
14165 ac_cv_lib_audioio_AudioIOGetVersion=no
14168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14169 conftest$ac_exeext conftest.$ac_ext
14170 LIBS=$ac_check_lib_save_LIBS
14172 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14173 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14174 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14175 AUDIOIOLIBS="-laudioio"
14177 cat >>confdefs.h <<\_ACEOF
14178 #define HAVE_LIBAUDIOIO 1
14179 _ACEOF
14186 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14187 then
14188 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14189 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14190 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 else
14193 ac_check_soname_save_LIBS=$LIBS
14194 LIBS="-lcapi20 $LIBS"
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14202 /* Override any GCC internal prototype to avoid an error.
14203 Use char because int might match the return type of a GCC
14204 builtin and then its argument prototype would still apply. */
14205 #ifdef __cplusplus
14206 extern "C"
14207 #endif
14208 char capi20_register ();
14210 main ()
14212 return capi20_register ();
14214 return 0;
14216 _ACEOF
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (ac_try="$ac_link"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14222 esac
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_link") 2>conftest.er1
14225 ac_status=$?
14226 grep -v '^ *+' conftest.er1 >conftest.err
14227 rm -f conftest.er1
14228 cat conftest.err >&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } && {
14231 test -z "$ac_c_werror_flag" ||
14232 test ! -s conftest.err
14233 } && test -s conftest$ac_exeext &&
14234 $as_test_x conftest$ac_exeext; then
14235 case "$LIBEXT" in
14236 dll) ;;
14237 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'` ;;
14238 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14239 esac
14240 else
14241 echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.$ac_ext >&5
14247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14248 conftest$ac_exeext conftest.$ac_ext
14249 LIBS=$ac_check_soname_save_LIBS
14251 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14252 { echo "$as_me:$LINENO: result: not found" >&5
14253 echo "${ECHO_T}not found" >&6; }
14255 else
14256 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14257 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14259 cat >>confdefs.h <<_ACEOF
14260 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14261 _ACEOF
14267 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14268 wine_notices="$wine_notices|libcapi20 development files not found.
14269 Wine will be built without ISDN support. (capi2032.dll)"
14273 if test "$ac_cv_header_cups_cups_h" = "yes"
14274 then
14275 { echo "$as_me:$LINENO: checking for -lcups" >&5
14276 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14277 if test "${ac_cv_lib_soname_cups+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 ac_check_soname_save_LIBS=$LIBS
14281 LIBS="-lcups $LIBS"
14282 cat >conftest.$ac_ext <<_ACEOF
14283 /* confdefs.h. */
14284 _ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14289 /* Override any GCC internal prototype to avoid an error.
14290 Use char because int might match the return type of a GCC
14291 builtin and then its argument prototype would still apply. */
14292 #ifdef __cplusplus
14293 extern "C"
14294 #endif
14295 char cupsGetDefault ();
14297 main ()
14299 return cupsGetDefault ();
14301 return 0;
14303 _ACEOF
14304 rm -f conftest.$ac_objext conftest$ac_exeext
14305 if { (ac_try="$ac_link"
14306 case "(($ac_try" in
14307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14308 *) ac_try_echo=$ac_try;;
14309 esac
14310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14311 (eval "$ac_link") 2>conftest.er1
14312 ac_status=$?
14313 grep -v '^ *+' conftest.er1 >conftest.err
14314 rm -f conftest.er1
14315 cat conftest.err >&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } && {
14318 test -z "$ac_c_werror_flag" ||
14319 test ! -s conftest.err
14320 } && test -s conftest$ac_exeext &&
14321 $as_test_x conftest$ac_exeext; then
14322 case "$LIBEXT" in
14323 dll) ;;
14324 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'` ;;
14325 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14326 esac
14327 else
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.$ac_ext >&5
14334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14335 conftest$ac_exeext conftest.$ac_ext
14336 LIBS=$ac_check_soname_save_LIBS
14338 if test "x$ac_cv_lib_soname_cups" = "x"; then
14339 { echo "$as_me:$LINENO: result: not found" >&5
14340 echo "${ECHO_T}not found" >&6; }
14342 else
14343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14344 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14346 cat >>confdefs.h <<_ACEOF
14347 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14348 _ACEOF
14354 if test "x$ac_cv_lib_soname_cups" = "x"; then
14355 wine_notices="$wine_notices|libcups development files not found.
14356 Wine will be built without CUPS support."
14360 if test "$ac_cv_header_jack_jack_h" = "yes"
14361 then
14362 { echo "$as_me:$LINENO: checking for -ljack" >&5
14363 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14364 if test "${ac_cv_lib_soname_jack+set}" = set; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 ac_check_soname_save_LIBS=$LIBS
14368 LIBS="-ljack $LIBS"
14369 cat >conftest.$ac_ext <<_ACEOF
14370 /* confdefs.h. */
14371 _ACEOF
14372 cat confdefs.h >>conftest.$ac_ext
14373 cat >>conftest.$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char jack_client_new ();
14384 main ()
14386 return jack_client_new ();
14388 return 0;
14390 _ACEOF
14391 rm -f conftest.$ac_objext conftest$ac_exeext
14392 if { (ac_try="$ac_link"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_link") 2>conftest.er1
14399 ac_status=$?
14400 grep -v '^ *+' conftest.er1 >conftest.err
14401 rm -f conftest.er1
14402 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && {
14405 test -z "$ac_c_werror_flag" ||
14406 test ! -s conftest.err
14407 } && test -s conftest$ac_exeext &&
14408 $as_test_x conftest$ac_exeext; then
14409 case "$LIBEXT" in
14410 dll) ;;
14411 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'` ;;
14412 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14413 esac
14414 else
14415 echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.$ac_ext >&5
14421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_check_soname_save_LIBS
14425 if test "x$ac_cv_lib_soname_jack" = "x"; then
14426 { echo "$as_me:$LINENO: result: not found" >&5
14427 echo "${ECHO_T}not found" >&6; }
14429 else
14430 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14431 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14433 cat >>confdefs.h <<_ACEOF
14434 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14435 _ACEOF
14442 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14443 then
14444 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14445 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14446 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 else
14449 ac_check_soname_save_LIBS=$LIBS
14450 LIBS="-lfontconfig $LIBS"
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14461 #ifdef __cplusplus
14462 extern "C"
14463 #endif
14464 char FcInit ();
14466 main ()
14468 return FcInit ();
14470 return 0;
14472 _ACEOF
14473 rm -f conftest.$ac_objext conftest$ac_exeext
14474 if { (ac_try="$ac_link"
14475 case "(($ac_try" in
14476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14478 esac
14479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480 (eval "$ac_link") 2>conftest.er1
14481 ac_status=$?
14482 grep -v '^ *+' conftest.er1 >conftest.err
14483 rm -f conftest.er1
14484 cat conftest.err >&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } && {
14487 test -z "$ac_c_werror_flag" ||
14488 test ! -s conftest.err
14489 } && test -s conftest$ac_exeext &&
14490 $as_test_x conftest$ac_exeext; then
14491 case "$LIBEXT" in
14492 dll) ;;
14493 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'` ;;
14494 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14495 esac
14496 else
14497 echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.$ac_ext >&5
14503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14504 conftest$ac_exeext conftest.$ac_ext
14505 LIBS=$ac_check_soname_save_LIBS
14507 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14508 { echo "$as_me:$LINENO: result: not found" >&5
14509 echo "${ECHO_T}not found" >&6; }
14511 else
14512 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14513 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14515 cat >>confdefs.h <<_ACEOF
14516 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14517 _ACEOF
14523 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14524 wine_notices="$wine_notices|fontconfig development files not found.
14525 Wine will be built without fontconfig support."
14529 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14530 then
14531 { echo "$as_me:$LINENO: checking for -lssl" >&5
14532 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14533 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 else
14536 ac_check_soname_save_LIBS=$LIBS
14537 LIBS="-lssl $LIBS"
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char SSL_library_init ();
14553 main ()
14555 return SSL_library_init ();
14557 return 0;
14559 _ACEOF
14560 rm -f conftest.$ac_objext conftest$ac_exeext
14561 if { (ac_try="$ac_link"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14565 esac
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_link") 2>conftest.er1
14568 ac_status=$?
14569 grep -v '^ *+' conftest.er1 >conftest.err
14570 rm -f conftest.er1
14571 cat conftest.err >&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } && {
14574 test -z "$ac_c_werror_flag" ||
14575 test ! -s conftest.err
14576 } && test -s conftest$ac_exeext &&
14577 $as_test_x conftest$ac_exeext; then
14578 case "$LIBEXT" in
14579 dll) ;;
14580 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'` ;;
14581 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14582 esac
14583 else
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_soname_save_LIBS
14594 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14595 { echo "$as_me:$LINENO: result: not found" >&5
14596 echo "${ECHO_T}not found" >&6; }
14598 else
14599 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14600 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14604 _ACEOF
14609 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14610 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14611 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 else
14614 ac_check_soname_save_LIBS=$LIBS
14615 LIBS="-lcrypto $LIBS"
14616 cat >conftest.$ac_ext <<_ACEOF
14617 /* confdefs.h. */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply. */
14626 #ifdef __cplusplus
14627 extern "C"
14628 #endif
14629 char BIO_new_socket ();
14631 main ()
14633 return BIO_new_socket ();
14635 return 0;
14637 _ACEOF
14638 rm -f conftest.$ac_objext conftest$ac_exeext
14639 if { (ac_try="$ac_link"
14640 case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14643 esac
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_link") 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } && {
14652 test -z "$ac_c_werror_flag" ||
14653 test ! -s conftest.err
14654 } && test -s conftest$ac_exeext &&
14655 $as_test_x conftest$ac_exeext; then
14656 case "$LIBEXT" in
14657 dll) ;;
14658 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'` ;;
14659 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14660 esac
14661 else
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.$ac_ext >&5
14668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14669 conftest$ac_exeext conftest.$ac_ext
14670 LIBS=$ac_check_soname_save_LIBS
14672 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14673 { echo "$as_me:$LINENO: result: not found" >&5
14674 echo "${ECHO_T}not found" >&6; }
14676 else
14677 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14678 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14680 cat >>confdefs.h <<_ACEOF
14681 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14682 _ACEOF
14688 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14689 wine_notices="$wine_notices|OpenSSL development files not found.
14690 Wine will be built without SSL support. (wininet.dll)"
14694 if test "$ac_cv_header_jpeglib_h" = "yes"
14695 then
14696 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14697 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14698 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14700 else
14701 ac_check_soname_save_LIBS=$LIBS
14702 LIBS="-ljpeg $LIBS"
14703 cat >conftest.$ac_ext <<_ACEOF
14704 /* confdefs.h. */
14705 _ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14710 /* Override any GCC internal prototype to avoid an error.
14711 Use char because int might match the return type of a GCC
14712 builtin and then its argument prototype would still apply. */
14713 #ifdef __cplusplus
14714 extern "C"
14715 #endif
14716 char jpeg_start_decompress ();
14718 main ()
14720 return jpeg_start_decompress ();
14722 return 0;
14724 _ACEOF
14725 rm -f conftest.$ac_objext conftest$ac_exeext
14726 if { (ac_try="$ac_link"
14727 case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14730 esac
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_link") 2>conftest.er1
14733 ac_status=$?
14734 grep -v '^ *+' conftest.er1 >conftest.err
14735 rm -f conftest.er1
14736 cat conftest.err >&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } && {
14739 test -z "$ac_c_werror_flag" ||
14740 test ! -s conftest.err
14741 } && test -s conftest$ac_exeext &&
14742 $as_test_x conftest$ac_exeext; then
14743 case "$LIBEXT" in
14744 dll) ;;
14745 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'` ;;
14746 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14747 esac
14748 else
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.$ac_ext >&5
14755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14756 conftest$ac_exeext conftest.$ac_ext
14757 LIBS=$ac_check_soname_save_LIBS
14759 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14760 { echo "$as_me:$LINENO: result: not found" >&5
14761 echo "${ECHO_T}not found" >&6; }
14763 else
14764 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14765 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14767 cat >>confdefs.h <<_ACEOF
14768 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14769 _ACEOF
14775 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14776 wine_notices="$wine_notices|libjpeg development files not found.
14777 Wine will be built without JPEG support. (oleaut32.dll)"
14781 if test "$ac_cv_header_png_h" = "yes"
14782 then
14783 { echo "$as_me:$LINENO: checking for -lpng" >&5
14784 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14785 if test "${ac_cv_lib_soname_png+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 else
14788 ac_check_soname_save_LIBS=$LIBS
14789 LIBS="-lpng $LIBS"
14790 cat >conftest.$ac_ext <<_ACEOF
14791 /* confdefs.h. */
14792 _ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char png_create_read_struct ();
14805 main ()
14807 return png_create_read_struct ();
14809 return 0;
14811 _ACEOF
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (ac_try="$ac_link"
14814 case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14817 esac
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_link") 2>conftest.er1
14820 ac_status=$?
14821 grep -v '^ *+' conftest.er1 >conftest.err
14822 rm -f conftest.er1
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } && {
14826 test -z "$ac_c_werror_flag" ||
14827 test ! -s conftest.err
14828 } && test -s conftest$ac_exeext &&
14829 $as_test_x conftest$ac_exeext; then
14830 case "$LIBEXT" in
14831 dll) ;;
14832 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'` ;;
14833 *) 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'` ;;
14834 esac
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14843 conftest$ac_exeext conftest.$ac_ext
14844 LIBS=$ac_check_soname_save_LIBS
14846 if test "x$ac_cv_lib_soname_png" = "x"; then
14847 { echo "$as_me:$LINENO: result: not found" >&5
14848 echo "${ECHO_T}not found" >&6; }
14850 else
14851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14852 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14854 cat >>confdefs.h <<_ACEOF
14855 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14856 _ACEOF
14862 if test "x$ac_cv_lib_soname_png" = "x"; then
14863 wine_notices="$wine_notices|libpng development files not found.
14864 Wine will be built without PNG support. (oleaut32.dll)"
14868 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14869 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14870 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14871 "$ac_cv_header_soundcard_h" != "yes"; then
14872 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14877 EXTRACFLAGS=""
14879 if test "x${GCC}" = "xyes"
14880 then
14881 EXTRACFLAGS="-Wall -pipe"
14883 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14884 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14885 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14888 if test "$cross_compiling" = yes; then
14889 ac_cv_c_gcc_strength_bug="yes"
14890 else
14891 cat >conftest.$ac_ext <<_ACEOF
14892 /* confdefs.h. */
14893 _ACEOF
14894 cat confdefs.h >>conftest.$ac_ext
14895 cat >>conftest.$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897 int L[4] = {0,1,2,3};
14899 main ()
14901 static int Array[3];
14902 unsigned int B = 3;
14903 int i;
14904 for(i=0; i<B; i++) Array[i] = i - 3;
14905 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14906 L[i] = 4;
14907 exit( Array[1] != -2 || L[2] != 3)
14909 return 0;
14911 _ACEOF
14912 rm -f conftest$ac_exeext
14913 if { (ac_try="$ac_link"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14917 esac
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_link") 2>&5
14920 ac_status=$?
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14923 { (case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14926 esac
14927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_try") 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_cv_c_gcc_strength_bug="no"
14933 else
14934 echo "$as_me: program exited with status $ac_status" >&5
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 ( exit $ac_status )
14939 ac_cv_c_gcc_strength_bug="yes"
14941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14946 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14947 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14948 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14949 then
14950 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14954 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14955 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14956 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14958 else
14959 ac_wine_try_cflags_saved=$CFLAGS
14960 CFLAGS="$CFLAGS -fshort-wchar"
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h. */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14969 main ()
14973 return 0;
14975 _ACEOF
14976 rm -f conftest.$ac_objext conftest$ac_exeext
14977 if { (ac_try="$ac_link"
14978 case "(($ac_try" in
14979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 *) ac_try_echo=$ac_try;;
14981 esac
14982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14983 (eval "$ac_link") 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } && {
14990 test -z "$ac_c_werror_flag" ||
14991 test ! -s conftest.err
14992 } && test -s conftest$ac_exeext &&
14993 $as_test_x conftest$ac_exeext; then
14994 ac_cv_cflags__fshort_wchar=yes
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14999 ac_cv_cflags__fshort_wchar=no
15002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15003 conftest$ac_exeext conftest.$ac_ext
15004 CFLAGS=$ac_wine_try_cflags_saved
15006 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15007 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15008 if test $ac_cv_cflags__fshort_wchar = yes; then
15010 cat >>confdefs.h <<\_ACEOF
15011 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15012 _ACEOF
15016 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15017 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15018 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 else
15021 ac_wine_try_cflags_saved=$CFLAGS
15022 CFLAGS="$CFLAGS -fno-strict-aliasing"
15023 cat >conftest.$ac_ext <<_ACEOF
15024 /* confdefs.h. */
15025 _ACEOF
15026 cat confdefs.h >>conftest.$ac_ext
15027 cat >>conftest.$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15031 main ()
15035 return 0;
15037 _ACEOF
15038 rm -f conftest.$ac_objext conftest$ac_exeext
15039 if { (ac_try="$ac_link"
15040 case "(($ac_try" in
15041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15042 *) ac_try_echo=$ac_try;;
15043 esac
15044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15045 (eval "$ac_link") 2>conftest.er1
15046 ac_status=$?
15047 grep -v '^ *+' conftest.er1 >conftest.err
15048 rm -f conftest.er1
15049 cat conftest.err >&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } && {
15052 test -z "$ac_c_werror_flag" ||
15053 test ! -s conftest.err
15054 } && test -s conftest$ac_exeext &&
15055 $as_test_x conftest$ac_exeext; then
15056 ac_cv_cflags__fno_strict_aliasing=yes
15057 else
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.$ac_ext >&5
15061 ac_cv_cflags__fno_strict_aliasing=no
15064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15065 conftest$ac_exeext conftest.$ac_ext
15066 CFLAGS=$ac_wine_try_cflags_saved
15068 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15069 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15070 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15071 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15074 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15075 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15076 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 else
15079 ac_wine_try_cflags_saved=$CFLAGS
15080 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15081 cat >conftest.$ac_ext <<_ACEOF
15082 /* confdefs.h. */
15083 _ACEOF
15084 cat confdefs.h >>conftest.$ac_ext
15085 cat >>conftest.$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15089 main ()
15093 return 0;
15095 _ACEOF
15096 rm -f conftest.$ac_objext conftest$ac_exeext
15097 if { (ac_try="$ac_link"
15098 case "(($ac_try" in
15099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15100 *) ac_try_echo=$ac_try;;
15101 esac
15102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15103 (eval "$ac_link") 2>conftest.er1
15104 ac_status=$?
15105 grep -v '^ *+' conftest.er1 >conftest.err
15106 rm -f conftest.er1
15107 cat conftest.err >&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } && {
15110 test -z "$ac_c_werror_flag" ||
15111 test ! -s conftest.err
15112 } && test -s conftest$ac_exeext &&
15113 $as_test_x conftest$ac_exeext; then
15114 ac_cv_cflags__Wdeclaration_after_statement=yes
15115 else
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.$ac_ext >&5
15119 ac_cv_cflags__Wdeclaration_after_statement=no
15122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15123 conftest$ac_exeext conftest.$ac_ext
15124 CFLAGS=$ac_wine_try_cflags_saved
15126 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15127 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15128 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15129 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15132 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15133 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15134 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 else
15137 ac_wine_try_cflags_saved=$CFLAGS
15138 CFLAGS="$CFLAGS -Wwrite-strings"
15139 cat >conftest.$ac_ext <<_ACEOF
15140 /* confdefs.h. */
15141 _ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15147 main ()
15151 return 0;
15153 _ACEOF
15154 rm -f conftest.$ac_objext conftest$ac_exeext
15155 if { (ac_try="$ac_link"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15159 esac
15160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_link") 2>conftest.er1
15162 ac_status=$?
15163 grep -v '^ *+' conftest.er1 >conftest.err
15164 rm -f conftest.er1
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } && {
15168 test -z "$ac_c_werror_flag" ||
15169 test ! -s conftest.err
15170 } && test -s conftest$ac_exeext &&
15171 $as_test_x conftest$ac_exeext; then
15172 ac_cv_cflags__Wwrite_strings=yes
15173 else
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15177 ac_cv_cflags__Wwrite_strings=no
15180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15181 conftest$ac_exeext conftest.$ac_ext
15182 CFLAGS=$ac_wine_try_cflags_saved
15184 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15185 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15186 if test $ac_cv_cflags__Wwrite_strings = yes; then
15187 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15191 saved_CFLAGS="$CFLAGS"
15192 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15193 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15194 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15195 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 else
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <string.h>
15206 main ()
15210 return 0;
15212 _ACEOF
15213 rm -f conftest.$ac_objext
15214 if { (ac_try="$ac_compile"
15215 case "(($ac_try" in
15216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15217 *) ac_try_echo=$ac_try;;
15218 esac
15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 (eval "$ac_compile") 2>conftest.er1
15221 ac_status=$?
15222 grep -v '^ *+' conftest.er1 >conftest.err
15223 rm -f conftest.er1
15224 cat conftest.err >&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } && {
15227 test -z "$ac_c_werror_flag" ||
15228 test ! -s conftest.err
15229 } && test -s conftest.$ac_objext; then
15230 ac_cv_c_string_h_warnings=no
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15235 ac_cv_c_string_h_warnings=yes
15238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15240 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15241 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15242 CFLAGS="$saved_CFLAGS"
15243 if test "$ac_cv_c_string_h_warnings" = "no"
15244 then
15245 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15248 BUILTINFLAG=""
15250 saved_CFLAGS="$CFLAGS"
15251 CFLAGS="$CFLAGS -Werror"
15252 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15253 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15254 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 else
15257 cat >conftest.$ac_ext <<_ACEOF
15258 /* confdefs.h. */
15259 _ACEOF
15260 cat confdefs.h >>conftest.$ac_ext
15261 cat >>conftest.$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15265 main ()
15267 int iswlower(unsigned short);
15269 return 0;
15271 _ACEOF
15272 rm -f conftest.$ac_objext
15273 if { (ac_try="$ac_compile"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277 esac
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_compile") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest.$ac_objext; then
15289 ac_cv_c_builtin_wchar_ctype=no
15290 else
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15294 ac_cv_c_builtin_wchar_ctype=yes
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15300 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15301 CFLAGS="$saved_CFLAGS"
15302 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15303 then
15304 BUILTINFLAG="-fno-builtin"
15309 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15310 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15311 if test "${ac_cv_asm_func_def+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 cat >conftest.$ac_ext <<_ACEOF
15315 /* confdefs.h. */
15316 _ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15322 main ()
15324 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15326 return 0;
15328 _ACEOF
15329 rm -f conftest.$ac_objext conftest$ac_exeext
15330 if { (ac_try="$ac_link"
15331 case "(($ac_try" in
15332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15333 *) ac_try_echo=$ac_try;;
15334 esac
15335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15336 (eval "$ac_link") 2>conftest.er1
15337 ac_status=$?
15338 grep -v '^ *+' conftest.er1 >conftest.err
15339 rm -f conftest.er1
15340 cat conftest.err >&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } && {
15343 test -z "$ac_c_werror_flag" ||
15344 test ! -s conftest.err
15345 } && test -s conftest$ac_exeext &&
15346 $as_test_x conftest$ac_exeext; then
15347 ac_cv_asm_func_def=".def"
15348 else
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.$ac_ext >&5
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15360 main ()
15362 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15364 return 0;
15366 _ACEOF
15367 rm -f conftest.$ac_objext conftest$ac_exeext
15368 if { (ac_try="$ac_link"
15369 case "(($ac_try" in
15370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15372 esac
15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15374 (eval "$ac_link") 2>conftest.er1
15375 ac_status=$?
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } && {
15381 test -z "$ac_c_werror_flag" ||
15382 test ! -s conftest.err
15383 } && test -s conftest$ac_exeext &&
15384 $as_test_x conftest$ac_exeext; then
15385 ac_cv_asm_func_def=".type @function"
15386 else
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.$ac_ext >&5
15390 cat >conftest.$ac_ext <<_ACEOF
15391 /* confdefs.h. */
15392 _ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15398 main ()
15400 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15402 return 0;
15404 _ACEOF
15405 rm -f conftest.$ac_objext conftest$ac_exeext
15406 if { (ac_try="$ac_link"
15407 case "(($ac_try" in
15408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15409 *) ac_try_echo=$ac_try;;
15410 esac
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_link") 2>conftest.er1
15413 ac_status=$?
15414 grep -v '^ *+' conftest.er1 >conftest.err
15415 rm -f conftest.er1
15416 cat conftest.err >&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } && {
15419 test -z "$ac_c_werror_flag" ||
15420 test ! -s conftest.err
15421 } && test -s conftest$ac_exeext &&
15422 $as_test_x conftest$ac_exeext; then
15423 ac_cv_asm_func_def=".type 2"
15424 else
15425 echo "$as_me: failed program was:" >&5
15426 sed 's/^/| /' conftest.$ac_ext >&5
15428 ac_cv_asm_func_def="unknown"
15431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15432 conftest$ac_exeext conftest.$ac_ext
15435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15436 conftest$ac_exeext conftest.$ac_ext
15439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15440 conftest$ac_exeext conftest.$ac_ext
15442 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15443 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15447 case "$ac_cv_asm_func_def" in
15448 ".def")
15449 cat >>confdefs.h <<\_ACEOF
15450 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15451 _ACEOF
15453 ".type @function")
15454 cat >>confdefs.h <<\_ACEOF
15455 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15456 _ACEOF
15458 ".type 2")
15459 cat >>confdefs.h <<\_ACEOF
15460 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15461 _ACEOF
15464 cat >>confdefs.h <<\_ACEOF
15465 #define __ASM_FUNC(name) ""
15466 _ACEOF
15468 esac
15471 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15472 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15473 if test "${ac_cv_c_extern_prefix+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15475 else
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 extern int ac_test;
15484 main ()
15486 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15488 return 0;
15490 _ACEOF
15491 rm -f conftest.$ac_objext conftest$ac_exeext
15492 if { (ac_try="$ac_link"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15496 esac
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_link") 2>conftest.er1
15499 ac_status=$?
15500 grep -v '^ *+' conftest.er1 >conftest.err
15501 rm -f conftest.er1
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } && {
15505 test -z "$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15507 } && test -s conftest$ac_exeext &&
15508 $as_test_x conftest$ac_exeext; then
15509 ac_cv_c_extern_prefix="yes"
15510 else
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15514 ac_cv_c_extern_prefix="no"
15517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15518 conftest$ac_exeext conftest.$ac_ext
15520 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15521 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15525 if test "$ac_cv_c_extern_prefix" = "yes"
15526 then
15527 cat >>confdefs.h <<\_ACEOF
15528 #define __ASM_NAME(name) "_" name
15529 _ACEOF
15531 else
15532 cat >>confdefs.h <<\_ACEOF
15533 #define __ASM_NAME(name) name
15534 _ACEOF
15539 LDPATH=""
15541 case $build_os in
15542 cygwin*|mingw32*)
15543 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15545 darwin*|macosx*)
15547 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15548 then
15549 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15553 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15555 esac
15557 case $host_os in
15558 mingw32*)
15559 CRTLIBS="-lmsvcrt"
15561 SOCKETLIBS="-lws2_32"
15564 esac
15566 MAIN_BINARY="wine-pthread"
15567 case $host_cpu in
15568 *i[3456789]86*)
15569 case $host_os in
15570 linux* | k*bsd*-gnu)
15571 MAIN_BINARY="wine-glibc"
15573 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15575 esac
15577 esac
15641 for ac_func in \
15642 _pclose \
15643 _popen \
15644 _snprintf \
15645 _spawnvp \
15646 _stricmp \
15647 _strnicmp \
15648 _vsnprintf \
15649 asctime_r \
15650 chsize \
15651 clone \
15652 dlopen \
15653 epoll_create \
15654 ffs \
15655 finite \
15656 fork \
15657 fpclass \
15658 fstatfs \
15659 fstatvfs \
15660 ftruncate \
15661 futimes \
15662 futimesat \
15663 getdirentries \
15664 getopt_long \
15665 getpagesize \
15666 getpwuid \
15667 gettid \
15668 gettimeofday \
15669 getuid \
15670 inet_pton \
15671 kqueue \
15672 lstat \
15673 memmove \
15674 mmap \
15675 pclose \
15676 poll \
15677 popen \
15678 prctl \
15679 pread \
15680 pwrite \
15681 readlink \
15682 rfork \
15683 sched_yield \
15684 select \
15685 setrlimit \
15686 settimeofday \
15687 sigaltstack \
15688 sigprocmask \
15689 snprintf \
15690 spawnvp \
15691 statfs \
15692 statvfs \
15693 strcasecmp \
15694 strerror \
15695 strncasecmp \
15696 strtold \
15697 tcgetattr \
15698 timegm \
15699 usleep \
15700 vsnprintf \
15701 wait4 \
15702 waitpid \
15705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 else
15711 cat >conftest.$ac_ext <<_ACEOF
15712 /* confdefs.h. */
15713 _ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15719 #define $ac_func innocuous_$ac_func
15721 /* System header to define __stub macros and hopefully few prototypes,
15722 which can conflict with char $ac_func (); below.
15723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15724 <limits.h> exists even on freestanding compilers. */
15726 #ifdef __STDC__
15727 # include <limits.h>
15728 #else
15729 # include <assert.h>
15730 #endif
15732 #undef $ac_func
15734 /* Override any GCC internal prototype to avoid an error.
15735 Use char because int might match the return type of a GCC
15736 builtin and then its argument prototype would still apply. */
15737 #ifdef __cplusplus
15738 extern "C"
15739 #endif
15740 char $ac_func ();
15741 /* The GNU C library defines this for functions which it implements
15742 to always fail with ENOSYS. Some functions are actually named
15743 something starting with __ and the normal name is an alias. */
15744 #if defined __stub_$ac_func || defined __stub___$ac_func
15745 choke me
15746 #endif
15749 main ()
15751 return $ac_func ();
15753 return 0;
15755 _ACEOF
15756 rm -f conftest.$ac_objext conftest$ac_exeext
15757 if { (ac_try="$ac_link"
15758 case "(($ac_try" in
15759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15760 *) ac_try_echo=$ac_try;;
15761 esac
15762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763 (eval "$ac_link") 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } && {
15770 test -z "$ac_c_werror_flag" ||
15771 test ! -s conftest.err
15772 } && test -s conftest$ac_exeext &&
15773 $as_test_x conftest$ac_exeext; then
15774 eval "$as_ac_var=yes"
15775 else
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.$ac_ext >&5
15779 eval "$as_ac_var=no"
15782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15783 conftest$ac_exeext conftest.$ac_ext
15785 ac_res=`eval echo '${'$as_ac_var'}'`
15786 { echo "$as_me:$LINENO: result: $ac_res" >&5
15787 echo "${ECHO_T}$ac_res" >&6; }
15788 if test `eval echo '${'$as_ac_var'}'` = yes; then
15789 cat >>confdefs.h <<_ACEOF
15790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15791 _ACEOF
15794 done
15797 if test "$ac_cv_func_dlopen" = no
15798 then
15799 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15800 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15801 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 ac_check_lib_save_LIBS=$LIBS
15805 LIBS="-ldl $LIBS"
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15813 /* Override any GCC internal prototype to avoid an error.
15814 Use char because int might match the return type of a GCC
15815 builtin and then its argument prototype would still apply. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 char dlopen ();
15821 main ()
15823 return dlopen ();
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 ac_cv_lib_dl_dlopen=yes
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_cv_lib_dl_dlopen=no
15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15855 conftest$ac_exeext conftest.$ac_ext
15856 LIBS=$ac_check_lib_save_LIBS
15858 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15859 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15860 if test $ac_cv_lib_dl_dlopen = yes; then
15861 cat >>confdefs.h <<\_ACEOF
15862 #define HAVE_DLOPEN 1
15863 _ACEOF
15864 LIBDL="-ldl"
15869 ac_wine_check_funcs_save_LIBS="$LIBS"
15870 LIBS="$LIBS $LIBDL"
15872 for ac_func in dladdr
15874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15888 #define $ac_func innocuous_$ac_func
15890 /* System header to define __stub macros and hopefully few prototypes,
15891 which can conflict with char $ac_func (); below.
15892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15893 <limits.h> exists even on freestanding compilers. */
15895 #ifdef __STDC__
15896 # include <limits.h>
15897 #else
15898 # include <assert.h>
15899 #endif
15901 #undef $ac_func
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char $ac_func ();
15910 /* The GNU C library defines this for functions which it implements
15911 to always fail with ENOSYS. Some functions are actually named
15912 something starting with __ and the normal name is an alias. */
15913 #if defined __stub_$ac_func || defined __stub___$ac_func
15914 choke me
15915 #endif
15918 main ()
15920 return $ac_func ();
15922 return 0;
15924 _ACEOF
15925 rm -f conftest.$ac_objext conftest$ac_exeext
15926 if { (ac_try="$ac_link"
15927 case "(($ac_try" in
15928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929 *) ac_try_echo=$ac_try;;
15930 esac
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932 (eval "$ac_link") 2>conftest.er1
15933 ac_status=$?
15934 grep -v '^ *+' conftest.er1 >conftest.err
15935 rm -f conftest.er1
15936 cat conftest.err >&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && {
15939 test -z "$ac_c_werror_flag" ||
15940 test ! -s conftest.err
15941 } && test -s conftest$ac_exeext &&
15942 $as_test_x conftest$ac_exeext; then
15943 eval "$as_ac_var=yes"
15944 else
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15948 eval "$as_ac_var=no"
15951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15952 conftest$ac_exeext conftest.$ac_ext
15954 ac_res=`eval echo '${'$as_ac_var'}'`
15955 { echo "$as_me:$LINENO: result: $ac_res" >&5
15956 echo "${ECHO_T}$ac_res" >&6; }
15957 if test `eval echo '${'$as_ac_var'}'` = yes; then
15958 cat >>confdefs.h <<_ACEOF
15959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15960 _ACEOF
15963 done
15965 LIBS="$ac_wine_check_funcs_save_LIBS"
15967 if test "$ac_cv_func_poll" = no
15968 then
15969 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15970 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15971 if test "${ac_cv_lib_poll_poll+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 ac_check_lib_save_LIBS=$LIBS
15975 LIBS="-lpoll $LIBS"
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15986 #ifdef __cplusplus
15987 extern "C"
15988 #endif
15989 char poll ();
15991 main ()
15993 return poll ();
15995 return 0;
15997 _ACEOF
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (ac_try="$ac_link"
16000 case "(($ac_try" in
16001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002 *) ac_try_echo=$ac_try;;
16003 esac
16004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005 (eval "$ac_link") 2>conftest.er1
16006 ac_status=$?
16007 grep -v '^ *+' conftest.er1 >conftest.err
16008 rm -f conftest.er1
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } && {
16012 test -z "$ac_c_werror_flag" ||
16013 test ! -s conftest.err
16014 } && test -s conftest$ac_exeext &&
16015 $as_test_x conftest$ac_exeext; then
16016 ac_cv_lib_poll_poll=yes
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16021 ac_cv_lib_poll_poll=no
16024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_lib_save_LIBS
16028 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16029 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16030 if test $ac_cv_lib_poll_poll = yes; then
16031 cat >>confdefs.h <<\_ACEOF
16032 #define HAVE_POLL 1
16033 _ACEOF
16034 LIBPOLL="-lpoll"
16040 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16041 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16042 if test "${ac_cv_search_gethostbyname+set}" = set; then
16043 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 else
16045 ac_func_search_save_LIBS=$LIBS
16046 cat >conftest.$ac_ext <<_ACEOF
16047 /* confdefs.h. */
16048 _ACEOF
16049 cat confdefs.h >>conftest.$ac_ext
16050 cat >>conftest.$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16056 #ifdef __cplusplus
16057 extern "C"
16058 #endif
16059 char gethostbyname ();
16061 main ()
16063 return gethostbyname ();
16065 return 0;
16067 _ACEOF
16068 for ac_lib in '' nsl; do
16069 if test -z "$ac_lib"; then
16070 ac_res="none required"
16071 else
16072 ac_res=-l$ac_lib
16073 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16075 rm -f conftest.$ac_objext conftest$ac_exeext
16076 if { (ac_try="$ac_link"
16077 case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_link") 2>conftest.er1
16083 ac_status=$?
16084 grep -v '^ *+' conftest.er1 >conftest.err
16085 rm -f conftest.er1
16086 cat conftest.err >&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } && {
16089 test -z "$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 } && test -s conftest$ac_exeext &&
16092 $as_test_x conftest$ac_exeext; then
16093 ac_cv_search_gethostbyname=$ac_res
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102 conftest$ac_exeext
16103 if test "${ac_cv_search_gethostbyname+set}" = set; then
16104 break
16106 done
16107 if test "${ac_cv_search_gethostbyname+set}" = set; then
16109 else
16110 ac_cv_search_gethostbyname=no
16112 rm conftest.$ac_ext
16113 LIBS=$ac_func_search_save_LIBS
16115 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16116 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16117 ac_res=$ac_cv_search_gethostbyname
16118 if test "$ac_res" != no; then
16119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16124 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16125 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16126 if test "${ac_cv_search_connect+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 ac_func_search_save_LIBS=$LIBS
16130 cat >conftest.$ac_ext <<_ACEOF
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16137 /* Override any GCC internal prototype to avoid an error.
16138 Use char because int might match the return type of a GCC
16139 builtin and then its argument prototype would still apply. */
16140 #ifdef __cplusplus
16141 extern "C"
16142 #endif
16143 char connect ();
16145 main ()
16147 return connect ();
16149 return 0;
16151 _ACEOF
16152 for ac_lib in '' socket; do
16153 if test -z "$ac_lib"; then
16154 ac_res="none required"
16155 else
16156 ac_res=-l$ac_lib
16157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16159 rm -f conftest.$ac_objext conftest$ac_exeext
16160 if { (ac_try="$ac_link"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16164 esac
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_link") 2>conftest.er1
16167 ac_status=$?
16168 grep -v '^ *+' conftest.er1 >conftest.err
16169 rm -f conftest.er1
16170 cat conftest.err >&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } && {
16173 test -z "$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16175 } && test -s conftest$ac_exeext &&
16176 $as_test_x conftest$ac_exeext; then
16177 ac_cv_search_connect=$ac_res
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16186 conftest$ac_exeext
16187 if test "${ac_cv_search_connect+set}" = set; then
16188 break
16190 done
16191 if test "${ac_cv_search_connect+set}" = set; then
16193 else
16194 ac_cv_search_connect=no
16196 rm conftest.$ac_ext
16197 LIBS=$ac_func_search_save_LIBS
16199 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16200 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16201 ac_res=$ac_cv_search_connect
16202 if test "$ac_res" != no; then
16203 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16208 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16209 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16210 if test "${ac_cv_search_inet_aton+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 ac_func_search_save_LIBS=$LIBS
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 #ifdef __cplusplus
16225 extern "C"
16226 #endif
16227 char inet_aton ();
16229 main ()
16231 return inet_aton ();
16233 return 0;
16235 _ACEOF
16236 for ac_lib in '' resolv; do
16237 if test -z "$ac_lib"; then
16238 ac_res="none required"
16239 else
16240 ac_res=-l$ac_lib
16241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16243 rm -f conftest.$ac_objext conftest$ac_exeext
16244 if { (ac_try="$ac_link"
16245 case "(($ac_try" in
16246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16248 esac
16249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16250 (eval "$ac_link") 2>conftest.er1
16251 ac_status=$?
16252 grep -v '^ *+' conftest.er1 >conftest.err
16253 rm -f conftest.er1
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } && {
16257 test -z "$ac_c_werror_flag" ||
16258 test ! -s conftest.err
16259 } && test -s conftest$ac_exeext &&
16260 $as_test_x conftest$ac_exeext; then
16261 ac_cv_search_inet_aton=$ac_res
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16270 conftest$ac_exeext
16271 if test "${ac_cv_search_inet_aton+set}" = set; then
16272 break
16274 done
16275 if test "${ac_cv_search_inet_aton+set}" = set; then
16277 else
16278 ac_cv_search_inet_aton=no
16280 rm conftest.$ac_ext
16281 LIBS=$ac_func_search_save_LIBS
16283 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16284 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16285 ac_res=$ac_cv_search_inet_aton
16286 if test "$ac_res" != no; then
16287 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16300 for ac_func in \
16301 getaddrinfo \
16302 getnameinfo \
16303 getnetbyname \
16304 getprotobyname \
16305 getprotobynumber \
16306 getservbyport \
16307 inet_network \
16308 sendmsg \
16311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16325 #define $ac_func innocuous_$ac_func
16327 /* System header to define __stub macros and hopefully few prototypes,
16328 which can conflict with char $ac_func (); below.
16329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16330 <limits.h> exists even on freestanding compilers. */
16332 #ifdef __STDC__
16333 # include <limits.h>
16334 #else
16335 # include <assert.h>
16336 #endif
16338 #undef $ac_func
16340 /* Override any GCC internal prototype to avoid an error.
16341 Use char because int might match the return type of a GCC
16342 builtin and then its argument prototype would still apply. */
16343 #ifdef __cplusplus
16344 extern "C"
16345 #endif
16346 char $ac_func ();
16347 /* The GNU C library defines this for functions which it implements
16348 to always fail with ENOSYS. Some functions are actually named
16349 something starting with __ and the normal name is an alias. */
16350 #if defined __stub_$ac_func || defined __stub___$ac_func
16351 choke me
16352 #endif
16355 main ()
16357 return $ac_func ();
16359 return 0;
16361 _ACEOF
16362 rm -f conftest.$ac_objext conftest$ac_exeext
16363 if { (ac_try="$ac_link"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_link") 2>conftest.er1
16370 ac_status=$?
16371 grep -v '^ *+' conftest.er1 >conftest.err
16372 rm -f conftest.er1
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_c_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest$ac_exeext &&
16379 $as_test_x conftest$ac_exeext; then
16380 eval "$as_ac_var=yes"
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16385 eval "$as_ac_var=no"
16388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16389 conftest$ac_exeext conftest.$ac_ext
16391 ac_res=`eval echo '${'$as_ac_var'}'`
16392 { echo "$as_me:$LINENO: result: $ac_res" >&5
16393 echo "${ECHO_T}$ac_res" >&6; }
16394 if test `eval echo '${'$as_ac_var'}'` = yes; then
16395 cat >>confdefs.h <<_ACEOF
16396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16397 _ACEOF
16400 done
16404 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16405 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16406 if test "${ac_cv_c_const+set}" = set; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409 cat >conftest.$ac_ext <<_ACEOF
16410 /* confdefs.h. */
16411 _ACEOF
16412 cat confdefs.h >>conftest.$ac_ext
16413 cat >>conftest.$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16417 main ()
16419 /* FIXME: Include the comments suggested by Paul. */
16420 #ifndef __cplusplus
16421 /* Ultrix mips cc rejects this. */
16422 typedef int charset[2];
16423 const charset cs;
16424 /* SunOS 4.1.1 cc rejects this. */
16425 char const *const *pcpcc;
16426 char **ppc;
16427 /* NEC SVR4.0.2 mips cc rejects this. */
16428 struct point {int x, y;};
16429 static struct point const zero = {0,0};
16430 /* AIX XL C 1.02.0.0 rejects this.
16431 It does not let you subtract one const X* pointer from another in
16432 an arm of an if-expression whose if-part is not a constant
16433 expression */
16434 const char *g = "string";
16435 pcpcc = &g + (g ? g-g : 0);
16436 /* HPUX 7.0 cc rejects these. */
16437 ++pcpcc;
16438 ppc = (char**) pcpcc;
16439 pcpcc = (char const *const *) ppc;
16440 { /* SCO 3.2v4 cc rejects this. */
16441 char *t;
16442 char const *s = 0 ? (char *) 0 : (char const *) 0;
16444 *t++ = 0;
16445 if (s) return 0;
16447 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16448 int x[] = {25, 17};
16449 const int *foo = &x[0];
16450 ++foo;
16452 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16453 typedef const int *iptr;
16454 iptr p = 0;
16455 ++p;
16457 { /* AIX XL C 1.02.0.0 rejects this saying
16458 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16459 struct s { int j; const int *ap[3]; };
16460 struct s *b; b->j = 5;
16462 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16463 const int foo = 10;
16464 if (!foo) return 0;
16466 return !cs[0] && !zero.x;
16467 #endif
16470 return 0;
16472 _ACEOF
16473 rm -f conftest.$ac_objext
16474 if { (ac_try="$ac_compile"
16475 case "(($ac_try" in
16476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16477 *) ac_try_echo=$ac_try;;
16478 esac
16479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16480 (eval "$ac_compile") 2>conftest.er1
16481 ac_status=$?
16482 grep -v '^ *+' conftest.er1 >conftest.err
16483 rm -f conftest.er1
16484 cat conftest.err >&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } && {
16487 test -z "$ac_c_werror_flag" ||
16488 test ! -s conftest.err
16489 } && test -s conftest.$ac_objext; then
16490 ac_cv_c_const=yes
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_c_const=no
16498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16500 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16501 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16502 if test $ac_cv_c_const = no; then
16504 cat >>confdefs.h <<\_ACEOF
16505 #define const
16506 _ACEOF
16510 { echo "$as_me:$LINENO: checking for inline" >&5
16511 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16512 if test "${ac_cv_c_inline+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515 ac_cv_c_inline=no
16516 for ac_kw in inline __inline__ __inline; do
16517 cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h. */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 #ifndef __cplusplus
16524 typedef int foo_t;
16525 static $ac_kw foo_t static_foo () {return 0; }
16526 $ac_kw foo_t foo () {return 0; }
16527 #endif
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_c_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 ac_cv_c_inline=$ac_kw
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 test "$ac_cv_c_inline" != no && break
16557 done
16560 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16561 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16564 case $ac_cv_c_inline in
16565 inline | yes) ;;
16567 case $ac_cv_c_inline in
16568 no) ac_val=;;
16569 *) ac_val=$ac_cv_c_inline;;
16570 esac
16571 cat >>confdefs.h <<_ACEOF
16572 #ifndef __cplusplus
16573 #define inline $ac_val
16574 #endif
16575 _ACEOF
16577 esac
16579 { echo "$as_me:$LINENO: checking for mode_t" >&5
16580 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16581 if test "${ac_cv_type_mode_t+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584 cat >conftest.$ac_ext <<_ACEOF
16585 /* confdefs.h. */
16586 _ACEOF
16587 cat confdefs.h >>conftest.$ac_ext
16588 cat >>conftest.$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 $ac_includes_default
16591 typedef mode_t ac__type_new_;
16593 main ()
16595 if ((ac__type_new_ *) 0)
16596 return 0;
16597 if (sizeof (ac__type_new_))
16598 return 0;
16600 return 0;
16602 _ACEOF
16603 rm -f conftest.$ac_objext
16604 if { (ac_try="$ac_compile"
16605 case "(($ac_try" in
16606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16607 *) ac_try_echo=$ac_try;;
16608 esac
16609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16610 (eval "$ac_compile") 2>conftest.er1
16611 ac_status=$?
16612 grep -v '^ *+' conftest.er1 >conftest.err
16613 rm -f conftest.er1
16614 cat conftest.err >&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && {
16617 test -z "$ac_c_werror_flag" ||
16618 test ! -s conftest.err
16619 } && test -s conftest.$ac_objext; then
16620 ac_cv_type_mode_t=yes
16621 else
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16625 ac_cv_type_mode_t=no
16628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16630 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16631 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16632 if test $ac_cv_type_mode_t = yes; then
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_MODE_T 1
16636 _ACEOF
16640 { echo "$as_me:$LINENO: checking for off_t" >&5
16641 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16642 if test "${ac_cv_type_off_t+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 typedef off_t ac__type_new_;
16654 main ()
16656 if ((ac__type_new_ *) 0)
16657 return 0;
16658 if (sizeof (ac__type_new_))
16659 return 0;
16661 return 0;
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_type_off_t=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16686 ac_cv_type_off_t=no
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16692 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16693 if test $ac_cv_type_off_t = yes; then
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_OFF_T 1
16697 _ACEOF
16701 { echo "$as_me:$LINENO: checking for pid_t" >&5
16702 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16703 if test "${ac_cv_type_pid_t+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 $ac_includes_default
16713 typedef pid_t ac__type_new_;
16715 main ()
16717 if ((ac__type_new_ *) 0)
16718 return 0;
16719 if (sizeof (ac__type_new_))
16720 return 0;
16722 return 0;
16724 _ACEOF
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 ac_cv_type_pid_t=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 ac_cv_type_pid_t=no
16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16753 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16754 if test $ac_cv_type_pid_t = yes; then
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_PID_T 1
16758 _ACEOF
16762 { echo "$as_me:$LINENO: checking for size_t" >&5
16763 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16764 if test "${ac_cv_type_size_t+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 $ac_includes_default
16774 typedef size_t ac__type_new_;
16776 main ()
16778 if ((ac__type_new_ *) 0)
16779 return 0;
16780 if (sizeof (ac__type_new_))
16781 return 0;
16783 return 0;
16785 _ACEOF
16786 rm -f conftest.$ac_objext
16787 if { (ac_try="$ac_compile"
16788 case "(($ac_try" in
16789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16790 *) ac_try_echo=$ac_try;;
16791 esac
16792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16793 (eval "$ac_compile") 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } && {
16800 test -z "$ac_c_werror_flag" ||
16801 test ! -s conftest.err
16802 } && test -s conftest.$ac_objext; then
16803 ac_cv_type_size_t=yes
16804 else
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 ac_cv_type_size_t=no
16811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16814 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16815 if test $ac_cv_type_size_t = yes; then
16817 cat >>confdefs.h <<_ACEOF
16818 #define HAVE_SIZE_T 1
16819 _ACEOF
16823 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16824 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16825 if test "${ac_cv_type_ssize_t+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 $ac_includes_default
16835 typedef ssize_t ac__type_new_;
16837 main ()
16839 if ((ac__type_new_ *) 0)
16840 return 0;
16841 if (sizeof (ac__type_new_))
16842 return 0;
16844 return 0;
16846 _ACEOF
16847 rm -f conftest.$ac_objext
16848 if { (ac_try="$ac_compile"
16849 case "(($ac_try" in
16850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16851 *) ac_try_echo=$ac_try;;
16852 esac
16853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16854 (eval "$ac_compile") 2>conftest.er1
16855 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } && {
16861 test -z "$ac_c_werror_flag" ||
16862 test ! -s conftest.err
16863 } && test -s conftest.$ac_objext; then
16864 ac_cv_type_ssize_t=yes
16865 else
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16869 ac_cv_type_ssize_t=no
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16875 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16876 if test $ac_cv_type_ssize_t = yes; then
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_SSIZE_T 1
16880 _ACEOF
16884 { echo "$as_me:$LINENO: checking for long long" >&5
16885 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16886 if test "${ac_cv_type_long_long+set}" = set; then
16887 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 else
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 typedef long long ac__type_new_;
16898 main ()
16900 if ((ac__type_new_ *) 0)
16901 return 0;
16902 if (sizeof (ac__type_new_))
16903 return 0;
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext
16909 if { (ac_try="$ac_compile"
16910 case "(($ac_try" in
16911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16912 *) ac_try_echo=$ac_try;;
16913 esac
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_compile") 2>conftest.er1
16916 ac_status=$?
16917 grep -v '^ *+' conftest.er1 >conftest.err
16918 rm -f conftest.er1
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } && {
16922 test -z "$ac_c_werror_flag" ||
16923 test ! -s conftest.err
16924 } && test -s conftest.$ac_objext; then
16925 ac_cv_type_long_long=yes
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 ac_cv_type_long_long=no
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16936 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16937 if test $ac_cv_type_long_long = yes; then
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_LONG_LONG 1
16941 _ACEOF
16945 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16946 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16947 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 else
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 $ac_includes_default
16957 typedef fsblkcnt_t ac__type_new_;
16959 main ()
16961 if ((ac__type_new_ *) 0)
16962 return 0;
16963 if (sizeof (ac__type_new_))
16964 return 0;
16966 return 0;
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (ac_try="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 ac_cv_type_fsblkcnt_t=yes
16987 else
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16991 ac_cv_type_fsblkcnt_t=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16997 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16998 if test $ac_cv_type_fsblkcnt_t = yes; then
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_FSBLKCNT_T 1
17002 _ACEOF
17006 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17007 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17008 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17009 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17018 typedef fsfilcnt_t ac__type_new_;
17020 main ()
17022 if ((ac__type_new_ *) 0)
17023 return 0;
17024 if (sizeof (ac__type_new_))
17025 return 0;
17027 return 0;
17029 _ACEOF
17030 rm -f conftest.$ac_objext
17031 if { (ac_try="$ac_compile"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_compile") 2>conftest.er1
17038 ac_status=$?
17039 grep -v '^ *+' conftest.er1 >conftest.err
17040 rm -f conftest.er1
17041 cat conftest.err >&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } && {
17044 test -z "$ac_c_werror_flag" ||
17045 test ! -s conftest.err
17046 } && test -s conftest.$ac_objext; then
17047 ac_cv_type_fsfilcnt_t=yes
17048 else
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.$ac_ext >&5
17052 ac_cv_type_fsfilcnt_t=no
17055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17058 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17059 if test $ac_cv_type_fsfilcnt_t = yes; then
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_FSFILCNT_T 1
17063 _ACEOF
17068 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17069 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17070 if test "${ac_cv_type_sigset_t+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 else
17073 cat >conftest.$ac_ext <<_ACEOF
17074 /* confdefs.h. */
17075 _ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 #include <signal.h>
17081 typedef sigset_t ac__type_new_;
17083 main ()
17085 if ((ac__type_new_ *) 0)
17086 return 0;
17087 if (sizeof (ac__type_new_))
17088 return 0;
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext
17094 if { (ac_try="$ac_compile"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_compile") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest.$ac_objext; then
17110 ac_cv_type_sigset_t=yes
17111 else
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.$ac_ext >&5
17115 ac_cv_type_sigset_t=no
17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17121 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17122 if test $ac_cv_type_sigset_t = yes; then
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_SIGSET_T 1
17126 _ACEOF
17131 { echo "$as_me:$LINENO: checking for request_sense" >&5
17132 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17133 if test "${ac_cv_type_request_sense+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 else
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 #include <linux/cdrom.h>
17144 typedef request_sense ac__type_new_;
17146 main ()
17148 if ((ac__type_new_ *) 0)
17149 return 0;
17150 if (sizeof (ac__type_new_))
17151 return 0;
17153 return 0;
17155 _ACEOF
17156 rm -f conftest.$ac_objext
17157 if { (ac_try="$ac_compile"
17158 case "(($ac_try" in
17159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17161 esac
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_c_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 ac_cv_type_request_sense=yes
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 ac_cv_type_request_sense=no
17181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17183 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17184 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17185 if test $ac_cv_type_request_sense = yes; then
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_REQUEST_SENSE 1
17189 _ACEOF
17195 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17196 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17197 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 #ifdef HAVE_LINUX_INPUT_H
17207 #include <linux/input.h>
17208 #endif
17211 main ()
17213 static struct ff_effect ac_aggr;
17214 if (ac_aggr.direction)
17215 return 0;
17217 return 0;
17219 _ACEOF
17220 rm -f conftest.$ac_objext
17221 if { (ac_try="$ac_compile"
17222 case "(($ac_try" in
17223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17224 *) ac_try_echo=$ac_try;;
17225 esac
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_compile") 2>conftest.er1
17228 ac_status=$?
17229 grep -v '^ *+' conftest.er1 >conftest.err
17230 rm -f conftest.er1
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } && {
17234 test -z "$ac_c_werror_flag" ||
17235 test ! -s conftest.err
17236 } && test -s conftest.$ac_objext; then
17237 ac_cv_member_struct_ff_effect_direction=yes
17238 else
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 #ifdef HAVE_LINUX_INPUT_H
17249 #include <linux/input.h>
17250 #endif
17253 main ()
17255 static struct ff_effect ac_aggr;
17256 if (sizeof ac_aggr.direction)
17257 return 0;
17259 return 0;
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (ac_try="$ac_compile"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_compile") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest.$ac_objext; then
17279 ac_cv_member_struct_ff_effect_direction=yes
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_member_struct_ff_effect_direction=no
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17293 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17294 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17298 _ACEOF
17304 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17305 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17306 if test "${wine_cv_have_sigaddset+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 else
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <signal.h>
17317 main ()
17319 sigset_t set; sigaddset(&set,SIGTERM);
17321 return 0;
17323 _ACEOF
17324 rm -f conftest.$ac_objext conftest$ac_exeext
17325 if { (ac_try="$ac_link"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17329 esac
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_link") 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest$ac_exeext &&
17341 $as_test_x conftest$ac_exeext; then
17342 wine_cv_have_sigaddset=yes
17343 else
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 wine_cv_have_sigaddset=no
17350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17351 conftest$ac_exeext conftest.$ac_ext
17353 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17354 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17355 if test "$wine_cv_have_sigaddset" = "yes"
17356 then
17358 cat >>confdefs.h <<\_ACEOF
17359 #define HAVE_SIGADDSET 1
17360 _ACEOF
17365 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17366 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17367 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 else
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 #include <netdb.h>
17378 main ()
17381 char *name=NULL;
17382 struct hostent he;
17383 struct hostent *result;
17384 char *buf=NULL;
17385 int bufsize=0;
17386 int res,errnr;
17387 char *addr=NULL;
17388 int addrlen=0;
17389 int addrtype=0;
17390 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17391 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17394 return 0;
17396 _ACEOF
17397 rm -f conftest.$ac_objext conftest$ac_exeext
17398 if { (ac_try="$ac_link"
17399 case "(($ac_try" in
17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_link") 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } && {
17411 test -z "$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17413 } && test -s conftest$ac_exeext &&
17414 $as_test_x conftest$ac_exeext; then
17415 wine_cv_linux_gethostbyname_r_6=yes
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17420 wine_cv_linux_gethostbyname_r_6=no
17424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17425 conftest$ac_exeext conftest.$ac_ext
17428 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17429 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17430 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17431 then
17433 cat >>confdefs.h <<\_ACEOF
17434 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17435 _ACEOF
17439 if test "$ac_cv_header_linux_joystick_h" = "yes"
17440 then
17441 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17442 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17443 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17444 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 else
17446 cat >conftest.$ac_ext <<_ACEOF
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 #include <sys/ioctl.h>
17454 #include <sys/types.h>
17455 #include <linux/joystick.h>
17457 struct js_event blub;
17458 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17459 #error "no 2.2 header"
17460 #endif
17463 main ()
17465 /*empty*/
17467 return 0;
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (ac_try="$ac_compile"
17472 case "(($ac_try" in
17473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17474 *) ac_try_echo=$ac_try;;
17475 esac
17476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17477 (eval "$ac_compile") 2>conftest.er1
17478 ac_status=$?
17479 grep -v '^ *+' conftest.er1 >conftest.err
17480 rm -f conftest.er1
17481 cat conftest.err >&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } && {
17484 test -z "$ac_c_werror_flag" ||
17485 test ! -s conftest.err
17486 } && test -s conftest.$ac_objext; then
17487 wine_cv_linux_joystick_22_api=yes
17488 else
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.$ac_ext >&5
17492 wine_cv_linux_joystick_22_api=no
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17499 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17500 if test "$wine_cv_linux_joystick_22_api" = "yes"
17501 then
17503 cat >>confdefs.h <<\_ACEOF
17504 #define HAVE_LINUX_22_JOYSTICK_API 1
17505 _ACEOF
17511 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17512 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17513 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h. */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17522 #include <sys/types.h>
17523 #ifdef HAVE_SYS_PARAM_H
17524 # include <sys/param.h>
17525 #endif
17526 #ifdef HAVE_SYS_MOUNT_H
17527 # include <sys/mount.h>
17528 #endif
17529 #ifdef HAVE_SYS_VFS_H
17530 # include <sys/vfs.h>
17531 #endif
17532 #ifdef HAVE_SYS_STATFS_H
17533 # include <sys/statfs.h>
17534 #endif
17537 main ()
17539 static struct statfs ac_aggr;
17540 if (ac_aggr.f_bfree)
17541 return 0;
17543 return 0;
17545 _ACEOF
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17550 *) ac_try_echo=$ac_try;;
17551 esac
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17554 ac_status=$?
17555 grep -v '^ *+' conftest.er1 >conftest.err
17556 rm -f conftest.er1
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_c_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.$ac_objext; then
17563 ac_cv_member_struct_statfs_f_bfree=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 #include <sys/types.h>
17575 #ifdef HAVE_SYS_PARAM_H
17576 # include <sys/param.h>
17577 #endif
17578 #ifdef HAVE_SYS_MOUNT_H
17579 # include <sys/mount.h>
17580 #endif
17581 #ifdef HAVE_SYS_VFS_H
17582 # include <sys/vfs.h>
17583 #endif
17584 #ifdef HAVE_SYS_STATFS_H
17585 # include <sys/statfs.h>
17586 #endif
17589 main ()
17591 static struct statfs ac_aggr;
17592 if (sizeof ac_aggr.f_bfree)
17593 return 0;
17595 return 0;
17597 _ACEOF
17598 rm -f conftest.$ac_objext
17599 if { (ac_try="$ac_compile"
17600 case "(($ac_try" in
17601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17602 *) ac_try_echo=$ac_try;;
17603 esac
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605 (eval "$ac_compile") 2>conftest.er1
17606 ac_status=$?
17607 grep -v '^ *+' conftest.er1 >conftest.err
17608 rm -f conftest.er1
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } && {
17612 test -z "$ac_c_werror_flag" ||
17613 test ! -s conftest.err
17614 } && test -s conftest.$ac_objext; then
17615 ac_cv_member_struct_statfs_f_bfree=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_cv_member_struct_statfs_f_bfree=no
17623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17629 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17630 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633 #define HAVE_STRUCT_STATFS_F_BFREE 1
17634 _ACEOF
17638 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17639 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17640 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <sys/types.h>
17650 #ifdef HAVE_SYS_PARAM_H
17651 # include <sys/param.h>
17652 #endif
17653 #ifdef HAVE_SYS_MOUNT_H
17654 # include <sys/mount.h>
17655 #endif
17656 #ifdef HAVE_SYS_VFS_H
17657 # include <sys/vfs.h>
17658 #endif
17659 #ifdef HAVE_SYS_STATFS_H
17660 # include <sys/statfs.h>
17661 #endif
17664 main ()
17666 static struct statfs ac_aggr;
17667 if (ac_aggr.f_bavail)
17668 return 0;
17670 return 0;
17672 _ACEOF
17673 rm -f conftest.$ac_objext
17674 if { (ac_try="$ac_compile"
17675 case "(($ac_try" in
17676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17677 *) ac_try_echo=$ac_try;;
17678 esac
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_compile") 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } && {
17687 test -z "$ac_c_werror_flag" ||
17688 test ! -s conftest.err
17689 } && test -s conftest.$ac_objext; then
17690 ac_cv_member_struct_statfs_f_bavail=yes
17691 else
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.$ac_ext >&5
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <sys/types.h>
17702 #ifdef HAVE_SYS_PARAM_H
17703 # include <sys/param.h>
17704 #endif
17705 #ifdef HAVE_SYS_MOUNT_H
17706 # include <sys/mount.h>
17707 #endif
17708 #ifdef HAVE_SYS_VFS_H
17709 # include <sys/vfs.h>
17710 #endif
17711 #ifdef HAVE_SYS_STATFS_H
17712 # include <sys/statfs.h>
17713 #endif
17716 main ()
17718 static struct statfs ac_aggr;
17719 if (sizeof ac_aggr.f_bavail)
17720 return 0;
17722 return 0;
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_c_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.$ac_objext; then
17742 ac_cv_member_struct_statfs_f_bavail=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 ac_cv_member_struct_statfs_f_bavail=no
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17756 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17757 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17759 cat >>confdefs.h <<_ACEOF
17760 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17761 _ACEOF
17765 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17766 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17767 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776 #include <sys/types.h>
17777 #ifdef HAVE_SYS_PARAM_H
17778 # include <sys/param.h>
17779 #endif
17780 #ifdef HAVE_SYS_MOUNT_H
17781 # include <sys/mount.h>
17782 #endif
17783 #ifdef HAVE_SYS_VFS_H
17784 # include <sys/vfs.h>
17785 #endif
17786 #ifdef HAVE_SYS_STATFS_H
17787 # include <sys/statfs.h>
17788 #endif
17791 main ()
17793 static struct statfs ac_aggr;
17794 if (ac_aggr.f_frsize)
17795 return 0;
17797 return 0;
17799 _ACEOF
17800 rm -f conftest.$ac_objext
17801 if { (ac_try="$ac_compile"
17802 case "(($ac_try" in
17803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17804 *) ac_try_echo=$ac_try;;
17805 esac
17806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17807 (eval "$ac_compile") 2>conftest.er1
17808 ac_status=$?
17809 grep -v '^ *+' conftest.er1 >conftest.err
17810 rm -f conftest.er1
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } && {
17814 test -z "$ac_c_werror_flag" ||
17815 test ! -s conftest.err
17816 } && test -s conftest.$ac_objext; then
17817 ac_cv_member_struct_statfs_f_frsize=yes
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <sys/types.h>
17829 #ifdef HAVE_SYS_PARAM_H
17830 # include <sys/param.h>
17831 #endif
17832 #ifdef HAVE_SYS_MOUNT_H
17833 # include <sys/mount.h>
17834 #endif
17835 #ifdef HAVE_SYS_VFS_H
17836 # include <sys/vfs.h>
17837 #endif
17838 #ifdef HAVE_SYS_STATFS_H
17839 # include <sys/statfs.h>
17840 #endif
17843 main ()
17845 static struct statfs ac_aggr;
17846 if (sizeof ac_aggr.f_frsize)
17847 return 0;
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_member_struct_statfs_f_frsize=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17874 ac_cv_member_struct_statfs_f_frsize=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17883 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17884 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17886 cat >>confdefs.h <<_ACEOF
17887 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17888 _ACEOF
17892 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17893 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17894 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17896 else
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 #include <sys/types.h>
17904 #ifdef HAVE_SYS_PARAM_H
17905 # include <sys/param.h>
17906 #endif
17907 #ifdef HAVE_SYS_MOUNT_H
17908 # include <sys/mount.h>
17909 #endif
17910 #ifdef HAVE_SYS_VFS_H
17911 # include <sys/vfs.h>
17912 #endif
17913 #ifdef HAVE_SYS_STATFS_H
17914 # include <sys/statfs.h>
17915 #endif
17918 main ()
17920 static struct statfs ac_aggr;
17921 if (ac_aggr.f_ffree)
17922 return 0;
17924 return 0;
17926 _ACEOF
17927 rm -f conftest.$ac_objext
17928 if { (ac_try="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17932 esac
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_member_struct_statfs_f_ffree=yes
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 #include <sys/types.h>
17956 #ifdef HAVE_SYS_PARAM_H
17957 # include <sys/param.h>
17958 #endif
17959 #ifdef HAVE_SYS_MOUNT_H
17960 # include <sys/mount.h>
17961 #endif
17962 #ifdef HAVE_SYS_VFS_H
17963 # include <sys/vfs.h>
17964 #endif
17965 #ifdef HAVE_SYS_STATFS_H
17966 # include <sys/statfs.h>
17967 #endif
17970 main ()
17972 static struct statfs ac_aggr;
17973 if (sizeof ac_aggr.f_ffree)
17974 return 0;
17976 return 0;
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 ac_cv_member_struct_statfs_f_ffree=yes
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 ac_cv_member_struct_statfs_f_ffree=no
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18010 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18011 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18013 cat >>confdefs.h <<_ACEOF
18014 #define HAVE_STRUCT_STATFS_F_FFREE 1
18015 _ACEOF
18019 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18020 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18021 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 else
18024 cat >conftest.$ac_ext <<_ACEOF
18025 /* confdefs.h. */
18026 _ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 #include <sys/types.h>
18031 #ifdef HAVE_SYS_PARAM_H
18032 # include <sys/param.h>
18033 #endif
18034 #ifdef HAVE_SYS_MOUNT_H
18035 # include <sys/mount.h>
18036 #endif
18037 #ifdef HAVE_SYS_VFS_H
18038 # include <sys/vfs.h>
18039 #endif
18040 #ifdef HAVE_SYS_STATFS_H
18041 # include <sys/statfs.h>
18042 #endif
18045 main ()
18047 static struct statfs ac_aggr;
18048 if (ac_aggr.f_favail)
18049 return 0;
18051 return 0;
18053 _ACEOF
18054 rm -f conftest.$ac_objext
18055 if { (ac_try="$ac_compile"
18056 case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18059 esac
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_compile") 2>conftest.er1
18062 ac_status=$?
18063 grep -v '^ *+' conftest.er1 >conftest.err
18064 rm -f conftest.er1
18065 cat conftest.err >&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest.$ac_objext; then
18071 ac_cv_member_struct_statfs_f_favail=yes
18072 else
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 cat >conftest.$ac_ext <<_ACEOF
18077 /* confdefs.h. */
18078 _ACEOF
18079 cat confdefs.h >>conftest.$ac_ext
18080 cat >>conftest.$ac_ext <<_ACEOF
18081 /* end confdefs.h. */
18082 #include <sys/types.h>
18083 #ifdef HAVE_SYS_PARAM_H
18084 # include <sys/param.h>
18085 #endif
18086 #ifdef HAVE_SYS_MOUNT_H
18087 # include <sys/mount.h>
18088 #endif
18089 #ifdef HAVE_SYS_VFS_H
18090 # include <sys/vfs.h>
18091 #endif
18092 #ifdef HAVE_SYS_STATFS_H
18093 # include <sys/statfs.h>
18094 #endif
18097 main ()
18099 static struct statfs ac_aggr;
18100 if (sizeof ac_aggr.f_favail)
18101 return 0;
18103 return 0;
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18123 ac_cv_member_struct_statfs_f_favail=yes
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18128 ac_cv_member_struct_statfs_f_favail=no
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18137 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18138 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18140 cat >>confdefs.h <<_ACEOF
18141 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18142 _ACEOF
18146 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18147 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18148 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18149 echo $ECHO_N "(cached) $ECHO_C" >&6
18150 else
18151 cat >conftest.$ac_ext <<_ACEOF
18152 /* confdefs.h. */
18153 _ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 #include <sys/types.h>
18158 #ifdef HAVE_SYS_PARAM_H
18159 # include <sys/param.h>
18160 #endif
18161 #ifdef HAVE_SYS_MOUNT_H
18162 # include <sys/mount.h>
18163 #endif
18164 #ifdef HAVE_SYS_VFS_H
18165 # include <sys/vfs.h>
18166 #endif
18167 #ifdef HAVE_SYS_STATFS_H
18168 # include <sys/statfs.h>
18169 #endif
18172 main ()
18174 static struct statfs ac_aggr;
18175 if (ac_aggr.f_namelen)
18176 return 0;
18178 return 0;
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 ac_cv_member_struct_statfs_f_namelen=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 #include <sys/types.h>
18210 #ifdef HAVE_SYS_PARAM_H
18211 # include <sys/param.h>
18212 #endif
18213 #ifdef HAVE_SYS_MOUNT_H
18214 # include <sys/mount.h>
18215 #endif
18216 #ifdef HAVE_SYS_VFS_H
18217 # include <sys/vfs.h>
18218 #endif
18219 #ifdef HAVE_SYS_STATFS_H
18220 # include <sys/statfs.h>
18221 #endif
18224 main ()
18226 static struct statfs ac_aggr;
18227 if (sizeof ac_aggr.f_namelen)
18228 return 0;
18230 return 0;
18232 _ACEOF
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.$ac_objext; then
18250 ac_cv_member_struct_statfs_f_namelen=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 ac_cv_member_struct_statfs_f_namelen=no
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18264 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18265 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18267 cat >>confdefs.h <<_ACEOF
18268 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18269 _ACEOF
18275 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18276 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18277 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 #ifdef HAVE_SYS_STATVFS_H
18287 #include <sys/statvfs.h>
18288 #endif
18291 main ()
18293 static struct statvfs ac_aggr;
18294 if (ac_aggr.f_blocks)
18295 return 0;
18297 return 0;
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (ac_try="$ac_compile"
18302 case "(($ac_try" in
18303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18304 *) ac_try_echo=$ac_try;;
18305 esac
18306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18307 (eval "$ac_compile") 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } && {
18314 test -z "$ac_c_werror_flag" ||
18315 test ! -s conftest.err
18316 } && test -s conftest.$ac_objext; then
18317 ac_cv_member_struct_statvfs_f_blocks=yes
18318 else
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 #ifdef HAVE_SYS_STATVFS_H
18329 #include <sys/statvfs.h>
18330 #endif
18333 main ()
18335 static struct statvfs ac_aggr;
18336 if (sizeof ac_aggr.f_blocks)
18337 return 0;
18339 return 0;
18341 _ACEOF
18342 rm -f conftest.$ac_objext
18343 if { (ac_try="$ac_compile"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18347 esac
18348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_compile") 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } && {
18356 test -z "$ac_c_werror_flag" ||
18357 test ! -s conftest.err
18358 } && test -s conftest.$ac_objext; then
18359 ac_cv_member_struct_statvfs_f_blocks=yes
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 ac_cv_member_struct_statvfs_f_blocks=no
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18373 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18374 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18376 cat >>confdefs.h <<_ACEOF
18377 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18378 _ACEOF
18384 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18385 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18386 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 else
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #include <sys/types.h>
18396 #ifdef HAVE_SYS_SOCKET_H
18397 # include <sys/socket.h>
18398 #endif
18399 #ifdef HAVE_SYS_UN_H
18400 # include <sys/un.h>
18401 #endif
18404 main ()
18406 static struct msghdr ac_aggr;
18407 if (ac_aggr.msg_accrights)
18408 return 0;
18410 return 0;
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_c_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 ac_cv_member_struct_msghdr_msg_accrights=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <sys/types.h>
18442 #ifdef HAVE_SYS_SOCKET_H
18443 # include <sys/socket.h>
18444 #endif
18445 #ifdef HAVE_SYS_UN_H
18446 # include <sys/un.h>
18447 #endif
18450 main ()
18452 static struct msghdr ac_aggr;
18453 if (sizeof ac_aggr.msg_accrights)
18454 return 0;
18456 return 0;
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (ac_try="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18464 esac
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18467 ac_status=$?
18468 grep -v '^ *+' conftest.er1 >conftest.err
18469 rm -f conftest.er1
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_c_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 ac_cv_member_struct_msghdr_msg_accrights=yes
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 ac_cv_member_struct_msghdr_msg_accrights=no
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18489 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18490 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18491 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18495 _ACEOF
18499 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18500 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18501 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 else
18504 cat >conftest.$ac_ext <<_ACEOF
18505 /* confdefs.h. */
18506 _ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <sys/types.h>
18511 #ifdef HAVE_SYS_SOCKET_H
18512 # include <sys/socket.h>
18513 #endif
18514 #ifdef HAVE_SYS_UN_H
18515 # include <sys/un.h>
18516 #endif
18519 main ()
18521 static struct sockaddr ac_aggr;
18522 if (ac_aggr.sa_len)
18523 return 0;
18525 return 0;
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (ac_try="$ac_compile"
18530 case "(($ac_try" in
18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18533 esac
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_compile") 2>conftest.er1
18536 ac_status=$?
18537 grep -v '^ *+' conftest.er1 >conftest.err
18538 rm -f conftest.er1
18539 cat conftest.err >&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } && {
18542 test -z "$ac_c_werror_flag" ||
18543 test ! -s conftest.err
18544 } && test -s conftest.$ac_objext; then
18545 ac_cv_member_struct_sockaddr_sa_len=yes
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <sys/types.h>
18557 #ifdef HAVE_SYS_SOCKET_H
18558 # include <sys/socket.h>
18559 #endif
18560 #ifdef HAVE_SYS_UN_H
18561 # include <sys/un.h>
18562 #endif
18565 main ()
18567 static struct sockaddr ac_aggr;
18568 if (sizeof ac_aggr.sa_len)
18569 return 0;
18571 return 0;
18573 _ACEOF
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_cv_member_struct_sockaddr_sa_len=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18596 ac_cv_member_struct_sockaddr_sa_len=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18605 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18606 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18608 cat >>confdefs.h <<_ACEOF
18609 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18610 _ACEOF
18614 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18615 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18616 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18617 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 else
18619 cat >conftest.$ac_ext <<_ACEOF
18620 /* confdefs.h. */
18621 _ACEOF
18622 cat confdefs.h >>conftest.$ac_ext
18623 cat >>conftest.$ac_ext <<_ACEOF
18624 /* end confdefs.h. */
18625 #include <sys/types.h>
18626 #ifdef HAVE_SYS_SOCKET_H
18627 # include <sys/socket.h>
18628 #endif
18629 #ifdef HAVE_SYS_UN_H
18630 # include <sys/un.h>
18631 #endif
18634 main ()
18636 static struct sockaddr_un ac_aggr;
18637 if (ac_aggr.sun_len)
18638 return 0;
18640 return 0;
18642 _ACEOF
18643 rm -f conftest.$ac_objext
18644 if { (ac_try="$ac_compile"
18645 case "(($ac_try" in
18646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18647 *) ac_try_echo=$ac_try;;
18648 esac
18649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_compile") 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && {
18657 test -z "$ac_c_werror_flag" ||
18658 test ! -s conftest.err
18659 } && test -s conftest.$ac_objext; then
18660 ac_cv_member_struct_sockaddr_un_sun_len=yes
18661 else
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.$ac_ext >&5
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <sys/types.h>
18672 #ifdef HAVE_SYS_SOCKET_H
18673 # include <sys/socket.h>
18674 #endif
18675 #ifdef HAVE_SYS_UN_H
18676 # include <sys/un.h>
18677 #endif
18680 main ()
18682 static struct sockaddr_un ac_aggr;
18683 if (sizeof ac_aggr.sun_len)
18684 return 0;
18686 return 0;
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (ac_try="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_c_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 ac_cv_member_struct_sockaddr_un_sun_len=yes
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_sockaddr_un_sun_len=no
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18720 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18721 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18725 _ACEOF
18731 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18732 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18733 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #include <sys/types.h>
18743 #ifdef HAVE_SCSI_SG_H
18744 #include <scsi/sg.h>
18745 #endif
18748 main ()
18750 static scsireq_t ac_aggr;
18751 if (ac_aggr.cmd)
18752 return 0;
18754 return 0;
18756 _ACEOF
18757 rm -f conftest.$ac_objext
18758 if { (ac_try="$ac_compile"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18762 esac
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_compile") 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } && {
18771 test -z "$ac_c_werror_flag" ||
18772 test ! -s conftest.err
18773 } && test -s conftest.$ac_objext; then
18774 ac_cv_member_scsireq_t_cmd=yes
18775 else
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.$ac_ext >&5
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SCSI_SG_H
18787 #include <scsi/sg.h>
18788 #endif
18791 main ()
18793 static scsireq_t ac_aggr;
18794 if (sizeof ac_aggr.cmd)
18795 return 0;
18797 return 0;
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (ac_try="$ac_compile"
18802 case "(($ac_try" in
18803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804 *) ac_try_echo=$ac_try;;
18805 esac
18806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18807 (eval "$ac_compile") 2>conftest.er1
18808 ac_status=$?
18809 grep -v '^ *+' conftest.er1 >conftest.err
18810 rm -f conftest.er1
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } && {
18814 test -z "$ac_c_werror_flag" ||
18815 test ! -s conftest.err
18816 } && test -s conftest.$ac_objext; then
18817 ac_cv_member_scsireq_t_cmd=yes
18818 else
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18822 ac_cv_member_scsireq_t_cmd=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18830 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18831 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18832 if test $ac_cv_member_scsireq_t_cmd = yes; then
18834 cat >>confdefs.h <<_ACEOF
18835 #define HAVE_SCSIREQ_T_CMD 1
18836 _ACEOF
18840 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18841 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18842 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 else
18845 cat >conftest.$ac_ext <<_ACEOF
18846 /* confdefs.h. */
18847 _ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #include <sys/types.h>
18852 #ifdef HAVE_SCSI_SG_H
18853 #include <scsi/sg.h>
18854 #endif
18857 main ()
18859 static sg_io_hdr_t ac_aggr;
18860 if (ac_aggr.interface_id)
18861 return 0;
18863 return 0;
18865 _ACEOF
18866 rm -f conftest.$ac_objext
18867 if { (ac_try="$ac_compile"
18868 case "(($ac_try" in
18869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18870 *) ac_try_echo=$ac_try;;
18871 esac
18872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18873 (eval "$ac_compile") 2>conftest.er1
18874 ac_status=$?
18875 grep -v '^ *+' conftest.er1 >conftest.err
18876 rm -f conftest.er1
18877 cat conftest.err >&5
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); } && {
18880 test -z "$ac_c_werror_flag" ||
18881 test ! -s conftest.err
18882 } && test -s conftest.$ac_objext; then
18883 ac_cv_member_sg_io_hdr_t_interface_id=yes
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 #include <sys/types.h>
18895 #ifdef HAVE_SCSI_SG_H
18896 #include <scsi/sg.h>
18897 #endif
18900 main ()
18902 static sg_io_hdr_t ac_aggr;
18903 if (sizeof ac_aggr.interface_id)
18904 return 0;
18906 return 0;
18908 _ACEOF
18909 rm -f conftest.$ac_objext
18910 if { (ac_try="$ac_compile"
18911 case "(($ac_try" in
18912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18913 *) ac_try_echo=$ac_try;;
18914 esac
18915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18916 (eval "$ac_compile") 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } && {
18923 test -z "$ac_c_werror_flag" ||
18924 test ! -s conftest.err
18925 } && test -s conftest.$ac_objext; then
18926 ac_cv_member_sg_io_hdr_t_interface_id=yes
18927 else
18928 echo "$as_me: failed program was:" >&5
18929 sed 's/^/| /' conftest.$ac_ext >&5
18931 ac_cv_member_sg_io_hdr_t_interface_id=no
18934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18940 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18941 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18945 _ACEOF
18951 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18952 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18953 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 #include <signal.h>
18965 main ()
18967 static siginfo_t ac_aggr;
18968 if (ac_aggr.si_fd)
18969 return 0;
18971 return 0;
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;;
18979 esac
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18982 ac_status=$?
18983 grep -v '^ *+' conftest.er1 >conftest.err
18984 rm -f conftest.er1
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_c_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.$ac_objext; then
18991 ac_cv_member_siginfo_t_si_fd=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 cat >conftest.$ac_ext <<_ACEOF
18997 /* confdefs.h. */
18998 _ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 #include <signal.h>
19005 main ()
19007 static siginfo_t ac_aggr;
19008 if (sizeof ac_aggr.si_fd)
19009 return 0;
19011 return 0;
19013 _ACEOF
19014 rm -f conftest.$ac_objext
19015 if { (ac_try="$ac_compile"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19019 esac
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_compile") 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest.$ac_objext; then
19031 ac_cv_member_siginfo_t_si_fd=yes
19032 else
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19036 ac_cv_member_siginfo_t_si_fd=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19045 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19046 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_SIGINFO_T_SI_FD 1
19050 _ACEOF
19056 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19057 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19058 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 cat >conftest.$ac_ext <<_ACEOF
19062 /* confdefs.h. */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 #include <sys/types.h>
19068 #ifdef HAVE_SYS_MTIO_H
19069 #include <sys/mtio.h>
19070 #endif
19073 main ()
19075 static struct mtget ac_aggr;
19076 if (ac_aggr.mt_blksiz)
19077 return 0;
19079 return 0;
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (ac_try="$ac_compile"
19084 case "(($ac_try" in
19085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19086 *) ac_try_echo=$ac_try;;
19087 esac
19088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19089 (eval "$ac_compile") 2>conftest.er1
19090 ac_status=$?
19091 grep -v '^ *+' conftest.er1 >conftest.err
19092 rm -f conftest.er1
19093 cat conftest.err >&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); } && {
19096 test -z "$ac_c_werror_flag" ||
19097 test ! -s conftest.err
19098 } && test -s conftest.$ac_objext; then
19099 ac_cv_member_struct_mtget_mt_blksiz=yes
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 #include <sys/types.h>
19111 #ifdef HAVE_SYS_MTIO_H
19112 #include <sys/mtio.h>
19113 #endif
19116 main ()
19118 static struct mtget ac_aggr;
19119 if (sizeof ac_aggr.mt_blksiz)
19120 return 0;
19122 return 0;
19124 _ACEOF
19125 rm -f conftest.$ac_objext
19126 if { (ac_try="$ac_compile"
19127 case "(($ac_try" in
19128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19129 *) ac_try_echo=$ac_try;;
19130 esac
19131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19132 (eval "$ac_compile") 2>conftest.er1
19133 ac_status=$?
19134 grep -v '^ *+' conftest.er1 >conftest.err
19135 rm -f conftest.er1
19136 cat conftest.err >&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } && {
19139 test -z "$ac_c_werror_flag" ||
19140 test ! -s conftest.err
19141 } && test -s conftest.$ac_objext; then
19142 ac_cv_member_struct_mtget_mt_blksiz=yes
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 ac_cv_member_struct_mtget_mt_blksiz=no
19150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19156 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19157 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19161 _ACEOF
19165 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19166 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19167 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 #include <sys/types.h>
19177 #ifdef HAVE_SYS_MTIO_H
19178 #include <sys/mtio.h>
19179 #endif
19182 main ()
19184 static struct mtget ac_aggr;
19185 if (ac_aggr.mt_gstat)
19186 return 0;
19188 return 0;
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_c_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_member_struct_mtget_mt_gstat=yes
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <sys/types.h>
19220 #ifdef HAVE_SYS_MTIO_H
19221 #include <sys/mtio.h>
19222 #endif
19225 main ()
19227 static struct mtget ac_aggr;
19228 if (sizeof ac_aggr.mt_gstat)
19229 return 0;
19231 return 0;
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (ac_try="$ac_compile"
19236 case "(($ac_try" in
19237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 *) ac_try_echo=$ac_try;;
19239 esac
19240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } && {
19248 test -z "$ac_c_werror_flag" ||
19249 test ! -s conftest.err
19250 } && test -s conftest.$ac_objext; then
19251 ac_cv_member_struct_mtget_mt_gstat=yes
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19256 ac_cv_member_struct_mtget_mt_gstat=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19265 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19266 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19268 cat >>confdefs.h <<_ACEOF
19269 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19270 _ACEOF
19274 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19275 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19276 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 else
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <sys/types.h>
19286 #ifdef HAVE_SYS_MTIO_H
19287 #include <sys/mtio.h>
19288 #endif
19291 main ()
19293 static struct mtget ac_aggr;
19294 if (ac_aggr.mt_blkno)
19295 return 0;
19297 return 0;
19299 _ACEOF
19300 rm -f conftest.$ac_objext
19301 if { (ac_try="$ac_compile"
19302 case "(($ac_try" in
19303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19304 *) ac_try_echo=$ac_try;;
19305 esac
19306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19307 (eval "$ac_compile") 2>conftest.er1
19308 ac_status=$?
19309 grep -v '^ *+' conftest.er1 >conftest.err
19310 rm -f conftest.er1
19311 cat conftest.err >&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } && {
19314 test -z "$ac_c_werror_flag" ||
19315 test ! -s conftest.err
19316 } && test -s conftest.$ac_objext; then
19317 ac_cv_member_struct_mtget_mt_blkno=yes
19318 else
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <sys/types.h>
19329 #ifdef HAVE_SYS_MTIO_H
19330 #include <sys/mtio.h>
19331 #endif
19334 main ()
19336 static struct mtget ac_aggr;
19337 if (sizeof ac_aggr.mt_blkno)
19338 return 0;
19340 return 0;
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_cv_member_struct_mtget_mt_blkno=yes
19361 else
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19365 ac_cv_member_struct_mtget_mt_blkno=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19374 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19375 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19379 _ACEOF
19385 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19386 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19387 if test "${ac_cv_member_struct_option_name+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #ifdef HAVE_GETOPT_H
19397 #include <getopt.h>
19398 #endif
19401 main ()
19403 static struct option ac_aggr;
19404 if (ac_aggr.name)
19405 return 0;
19407 return 0;
19409 _ACEOF
19410 rm -f conftest.$ac_objext
19411 if { (ac_try="$ac_compile"
19412 case "(($ac_try" in
19413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19415 esac
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_compile") 2>conftest.er1
19418 ac_status=$?
19419 grep -v '^ *+' conftest.er1 >conftest.err
19420 rm -f conftest.er1
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } && {
19424 test -z "$ac_c_werror_flag" ||
19425 test ! -s conftest.err
19426 } && test -s conftest.$ac_objext; then
19427 ac_cv_member_struct_option_name=yes
19428 else
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 cat >conftest.$ac_ext <<_ACEOF
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 #ifdef HAVE_GETOPT_H
19439 #include <getopt.h>
19440 #endif
19443 main ()
19445 static struct option ac_aggr;
19446 if (sizeof ac_aggr.name)
19447 return 0;
19449 return 0;
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (ac_try="$ac_compile"
19454 case "(($ac_try" in
19455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19456 *) ac_try_echo=$ac_try;;
19457 esac
19458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19459 (eval "$ac_compile") 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } && {
19466 test -z "$ac_c_werror_flag" ||
19467 test ! -s conftest.err
19468 } && test -s conftest.$ac_objext; then
19469 ac_cv_member_struct_option_name=yes
19470 else
19471 echo "$as_me: failed program was:" >&5
19472 sed 's/^/| /' conftest.$ac_ext >&5
19474 ac_cv_member_struct_option_name=no
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19483 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19484 if test $ac_cv_member_struct_option_name = yes; then
19486 cat >>confdefs.h <<_ACEOF
19487 #define HAVE_STRUCT_OPTION_NAME 1
19488 _ACEOF
19494 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19495 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19496 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 else
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19507 main ()
19509 static struct stat ac_aggr;
19510 if (ac_aggr.st_blocks)
19511 return 0;
19513 return 0;
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520 *) ac_try_echo=$ac_try;;
19521 esac
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } && {
19530 test -z "$ac_c_werror_flag" ||
19531 test ! -s conftest.err
19532 } && test -s conftest.$ac_objext; then
19533 ac_cv_member_struct_stat_st_blocks=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19546 main ()
19548 static struct stat ac_aggr;
19549 if (sizeof ac_aggr.st_blocks)
19550 return 0;
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;;
19560 esac
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && {
19569 test -z "$ac_c_werror_flag" ||
19570 test ! -s conftest.err
19571 } && test -s conftest.$ac_objext; then
19572 ac_cv_member_struct_stat_st_blocks=yes
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 ac_cv_member_struct_stat_st_blocks=no
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19586 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19587 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19589 cat >>confdefs.h <<_ACEOF
19590 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19591 _ACEOF
19597 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19598 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #ifdef HAVE_SYS_TYPES_H
19609 #include <sys/types.h>
19610 #endif
19611 #ifdef HAVE_NETINET_IN_H
19612 #include <netinet/in.h>
19613 #endif
19616 main ()
19618 static struct sockaddr_in6 ac_aggr;
19619 if (ac_aggr.sin6_scope_id)
19620 return 0;
19622 return 0;
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 cat >conftest.$ac_ext <<_ACEOF
19648 /* confdefs.h. */
19649 _ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #ifdef HAVE_SYS_TYPES_H
19654 #include <sys/types.h>
19655 #endif
19656 #ifdef HAVE_NETINET_IN_H
19657 #include <netinet/in.h>
19658 #endif
19661 main ()
19663 static struct sockaddr_in6 ac_aggr;
19664 if (sizeof ac_aggr.sin6_scope_id)
19665 return 0;
19667 return 0;
19669 _ACEOF
19670 rm -f conftest.$ac_objext
19671 if { (ac_try="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19675 esac
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } && {
19684 test -z "$ac_c_werror_flag" ||
19685 test ! -s conftest.err
19686 } && test -s conftest.$ac_objext; then
19687 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19688 else
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19692 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19701 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19702 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19706 _ACEOF
19712 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19713 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19714 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #ifdef HAVE_SYS_TYPES_H
19724 #include <sys/types.h>
19725 #endif
19726 #ifdef HAVE_NETINET_IN_H
19727 # include <netinet/in.h>
19728 #endif
19729 #ifdef HAVE_ARPA_NAMESER_H
19730 # include <arpa/nameser.h>
19731 #endif
19734 main ()
19736 static ns_msg ac_aggr;
19737 if (ac_aggr._msg_ptr)
19738 return 0;
19740 return 0;
19742 _ACEOF
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19748 esac
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_cv_member_ns_msg__msg_ptr=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 cat >conftest.$ac_ext <<_ACEOF
19766 /* confdefs.h. */
19767 _ACEOF
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 #ifdef HAVE_SYS_TYPES_H
19772 #include <sys/types.h>
19773 #endif
19774 #ifdef HAVE_NETINET_IN_H
19775 # include <netinet/in.h>
19776 #endif
19777 #ifdef HAVE_ARPA_NAMESER_H
19778 # include <arpa/nameser.h>
19779 #endif
19782 main ()
19784 static ns_msg ac_aggr;
19785 if (sizeof ac_aggr._msg_ptr)
19786 return 0;
19788 return 0;
19790 _ACEOF
19791 rm -f conftest.$ac_objext
19792 if { (ac_try="$ac_compile"
19793 case "(($ac_try" in
19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19795 *) ac_try_echo=$ac_try;;
19796 esac
19797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19798 (eval "$ac_compile") 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } && {
19805 test -z "$ac_c_werror_flag" ||
19806 test ! -s conftest.err
19807 } && test -s conftest.$ac_objext; then
19808 ac_cv_member_ns_msg__msg_ptr=yes
19809 else
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19813 ac_cv_member_ns_msg__msg_ptr=no
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19822 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19823 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19825 cat >>confdefs.h <<_ACEOF
19826 #define HAVE_NS_MSG__MSG_PTR 1
19827 _ACEOF
19833 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19834 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19835 if test "${ac_cv_have_timezone+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 cat >conftest.$ac_ext <<_ACEOF
19839 /* confdefs.h. */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 #include <time.h>
19846 main ()
19848 timezone = 1
19850 return 0;
19852 _ACEOF
19853 rm -f conftest.$ac_objext conftest$ac_exeext
19854 if { (ac_try="$ac_link"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_link") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest$ac_exeext &&
19870 $as_test_x conftest$ac_exeext; then
19871 ac_cv_have_timezone="yes"
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 ac_cv_have_timezone="no"
19879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19880 conftest$ac_exeext conftest.$ac_ext
19882 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19883 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19884 if test "$ac_cv_have_timezone" = "yes"
19885 then
19887 cat >>confdefs.h <<\_ACEOF
19888 #define HAVE_TIMEZONE 1
19889 _ACEOF
19892 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19893 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19894 if test "${ac_cv_have_daylight+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 #include <time.h>
19905 main ()
19907 daylight = 1
19909 return 0;
19911 _ACEOF
19912 rm -f conftest.$ac_objext conftest$ac_exeext
19913 if { (ac_try="$ac_link"
19914 case "(($ac_try" in
19915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19917 esac
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_link") 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } && {
19926 test -z "$ac_c_werror_flag" ||
19927 test ! -s conftest.err
19928 } && test -s conftest$ac_exeext &&
19929 $as_test_x conftest$ac_exeext; then
19930 ac_cv_have_daylight="yes"
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_cv_have_daylight="no"
19938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19939 conftest$ac_exeext conftest.$ac_ext
19941 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19942 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19943 if test "$ac_cv_have_daylight" = "yes"
19944 then
19946 cat >>confdefs.h <<\_ACEOF
19947 #define HAVE_DAYLIGHT 1
19948 _ACEOF
19953 case $host_cpu in
19954 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19955 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19956 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #ifndef __i386__
19967 #endif
19968 _ACEOF
19969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19970 $EGREP "yes" >/dev/null 2>&1; then
19971 ac_cv_cpp_def___i386__=yes
19972 else
19973 ac_cv_cpp_def___i386__=no
19975 rm -f conftest*
19978 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19979 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19980 if test $ac_cv_cpp_def___i386__ = yes; then
19981 CFLAGS="$CFLAGS -D__i386__"
19982 LINTFLAGS="$LINTFLAGS -D__i386__"
19985 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19986 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19987 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 else
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #ifndef __x86_64__
19998 #endif
19999 _ACEOF
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then
20002 ac_cv_cpp_def___x86_64__=yes
20003 else
20004 ac_cv_cpp_def___x86_64__=no
20006 rm -f conftest*
20009 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20010 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20011 if test $ac_cv_cpp_def___x86_64__ = yes; then
20012 CFLAGS="$CFLAGS -D__x86_64__"
20013 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20016 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20017 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20018 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 else
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #ifndef __ALPHA__
20029 #endif
20030 _ACEOF
20031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20032 $EGREP "yes" >/dev/null 2>&1; then
20033 ac_cv_cpp_def___ALPHA__=yes
20034 else
20035 ac_cv_cpp_def___ALPHA__=no
20037 rm -f conftest*
20040 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20041 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20042 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20043 CFLAGS="$CFLAGS -D__ALPHA__"
20044 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20047 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20048 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20049 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #ifndef __sparc__
20060 #endif
20061 _ACEOF
20062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20063 $EGREP "yes" >/dev/null 2>&1; then
20064 ac_cv_cpp_def___sparc__=yes
20065 else
20066 ac_cv_cpp_def___sparc__=no
20068 rm -f conftest*
20071 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20072 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20073 if test $ac_cv_cpp_def___sparc__ = yes; then
20074 CFLAGS="$CFLAGS -D__sparc__"
20075 LINTFLAGS="$LINTFLAGS -D__sparc__"
20078 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20079 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20080 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #ifndef __powerpc__
20091 #endif
20092 _ACEOF
20093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20094 $EGREP "yes" >/dev/null 2>&1; then
20095 ac_cv_cpp_def___powerpc__=yes
20096 else
20097 ac_cv_cpp_def___powerpc__=no
20099 rm -f conftest*
20102 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20103 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20104 if test $ac_cv_cpp_def___powerpc__ = yes; then
20105 CFLAGS="$CFLAGS -D__powerpc__"
20106 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20109 esac
20111 case $host_vendor in
20112 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20113 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20114 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 else
20117 cat >conftest.$ac_ext <<_ACEOF
20118 /* confdefs.h. */
20119 _ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123 #ifndef __sun__
20125 #endif
20126 _ACEOF
20127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20128 $EGREP "yes" >/dev/null 2>&1; then
20129 ac_cv_cpp_def___sun__=yes
20130 else
20131 ac_cv_cpp_def___sun__=no
20133 rm -f conftest*
20136 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20137 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20138 if test $ac_cv_cpp_def___sun__ = yes; then
20139 CFLAGS="$CFLAGS -D__sun__"
20140 LINTFLAGS="$LINTFLAGS -D__sun__"
20143 esac
20146 DEPENDENCIES="### Dependencies:
20148 .INIT: Makefile
20149 .BEGIN: Makefile
20150 Makefile: dummy
20151 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20153 \$(OBJS): \$(IDL_GEN_HEADERS)
20154 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20155 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20156 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20162 ac_config_commands="$ac_config_commands include/stamp-h"
20165 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20167 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20169 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20171 ac_config_commands="$ac_config_commands dlls/user32/resources"
20173 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20175 ac_config_commands="$ac_config_commands include/wine"
20178 MAKE_RULES=Make.rules
20181 MAKE_DLL_RULES=dlls/Makedll.rules
20184 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20187 MAKE_TEST_RULES=dlls/Maketest.rules
20190 MAKE_PROG_RULES=programs/Makeprog.rules
20193 ac_config_files="$ac_config_files Make.rules"
20195 ac_config_files="$ac_config_files dlls/Makedll.rules"
20197 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20199 ac_config_files="$ac_config_files dlls/Maketest.rules"
20201 ac_config_files="$ac_config_files programs/Makeprog.rules"
20203 ac_config_files="$ac_config_files Makefile"
20205 ac_config_files="$ac_config_files dlls/Makefile"
20207 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20209 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20211 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20213 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20215 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20217 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20219 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20221 ac_config_files="$ac_config_files dlls/atl/Makefile"
20223 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20225 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20227 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20229 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20231 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20233 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20235 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20237 ac_config_files="$ac_config_files dlls/cards/Makefile"
20239 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20241 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20243 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20245 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20247 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20249 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20251 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20253 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20255 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20257 ac_config_files="$ac_config_files dlls/credui/Makefile"
20259 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20261 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20263 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20265 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20267 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20269 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20271 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20273 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20275 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20277 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20279 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20281 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20283 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20285 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20287 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20289 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20291 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20293 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20295 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20297 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20299 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20301 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20303 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20305 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20309 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20311 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20313 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20315 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20317 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20319 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20321 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20323 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20325 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20327 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20329 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20331 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20333 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20335 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20339 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20341 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20343 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20345 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20347 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20349 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20351 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20353 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20355 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20357 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20359 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20361 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20363 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20365 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20369 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20371 ac_config_files="$ac_config_files dlls/hal/Makefile"
20373 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20375 ac_config_files="$ac_config_files dlls/hid/Makefile"
20377 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20379 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20381 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20383 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20385 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20387 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20389 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20391 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20393 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20395 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20397 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20401 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20403 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20405 ac_config_files="$ac_config_files dlls/itss/Makefile"
20407 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20409 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20411 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20413 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20415 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20417 ac_config_files="$ac_config_files dlls/localui/Makefile"
20419 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20423 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20427 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20431 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20433 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20435 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20437 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20439 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20441 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20443 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20445 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20447 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20449 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20451 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20453 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20455 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20459 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20461 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20463 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20465 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20467 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20469 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20471 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20473 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/msi/Makefile"
20477 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20481 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20483 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20485 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20487 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20489 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20493 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20495 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20497 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20501 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20503 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20505 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20507 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20509 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20511 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20513 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20515 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20517 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20519 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20523 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20525 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20527 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20529 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20531 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20533 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20535 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20537 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20539 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20543 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20545 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20547 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20549 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20551 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20553 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20555 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20557 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20559 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20561 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20563 ac_config_files="$ac_config_files dlls/printui/Makefile"
20565 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20567 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20571 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20573 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20575 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/query/Makefile"
20579 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20581 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20583 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20585 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20589 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20591 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20595 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20599 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20603 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20605 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20609 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20611 ac_config_files="$ac_config_files dlls/security/Makefile"
20613 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20615 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20617 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20621 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20625 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20627 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20629 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20631 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20635 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20637 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20639 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20641 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20645 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20649 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20651 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20653 ac_config_files="$ac_config_files dlls/sti/Makefile"
20655 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20657 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20659 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20661 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20663 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20665 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20667 ac_config_files="$ac_config_files dlls/url/Makefile"
20669 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20671 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20673 ac_config_files="$ac_config_files dlls/user32/Makefile"
20675 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20679 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20681 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20685 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20687 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20691 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20693 ac_config_files="$ac_config_files dlls/version/Makefile"
20695 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20699 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20701 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20703 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20705 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20707 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20709 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20711 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20713 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20715 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20717 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20719 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20721 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20723 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20725 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20727 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20729 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20731 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20733 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20735 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20737 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20739 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20741 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20743 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20747 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20751 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20753 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20755 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20757 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20759 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20761 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20763 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20765 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20767 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20769 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20771 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20773 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20775 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20777 ac_config_files="$ac_config_files documentation/Makefile"
20779 ac_config_files="$ac_config_files fonts/Makefile"
20781 ac_config_files="$ac_config_files include/Makefile"
20783 ac_config_files="$ac_config_files libs/Makefile"
20785 ac_config_files="$ac_config_files libs/port/Makefile"
20787 ac_config_files="$ac_config_files libs/wine/Makefile"
20789 ac_config_files="$ac_config_files libs/wpp/Makefile"
20791 ac_config_files="$ac_config_files loader/Makefile"
20793 ac_config_files="$ac_config_files programs/Makefile"
20795 ac_config_files="$ac_config_files programs/clock/Makefile"
20797 ac_config_files="$ac_config_files programs/cmd/Makefile"
20799 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20801 ac_config_files="$ac_config_files programs/control/Makefile"
20803 ac_config_files="$ac_config_files programs/eject/Makefile"
20805 ac_config_files="$ac_config_files programs/expand/Makefile"
20807 ac_config_files="$ac_config_files programs/explorer/Makefile"
20809 ac_config_files="$ac_config_files programs/hh/Makefile"
20811 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20813 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20815 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20817 ac_config_files="$ac_config_files programs/net/Makefile"
20819 ac_config_files="$ac_config_files programs/notepad/Makefile"
20821 ac_config_files="$ac_config_files programs/oleview/Makefile"
20823 ac_config_files="$ac_config_files programs/progman/Makefile"
20825 ac_config_files="$ac_config_files programs/regedit/Makefile"
20827 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20829 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20831 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20833 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20835 ac_config_files="$ac_config_files programs/start/Makefile"
20837 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20839 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20841 ac_config_files="$ac_config_files programs/view/Makefile"
20843 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20845 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20847 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20849 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20851 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20853 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20855 ac_config_files="$ac_config_files programs/winefile/Makefile"
20857 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20859 ac_config_files="$ac_config_files programs/winemine/Makefile"
20861 ac_config_files="$ac_config_files programs/winepath/Makefile"
20863 ac_config_files="$ac_config_files programs/winetest/Makefile"
20865 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20867 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20869 ac_config_files="$ac_config_files programs/winver/Makefile"
20871 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20873 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20875 ac_config_files="$ac_config_files server/Makefile"
20877 ac_config_files="$ac_config_files tools/Makefile"
20879 ac_config_files="$ac_config_files tools/widl/Makefile"
20881 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20883 ac_config_files="$ac_config_files tools/winedump/Makefile"
20885 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20887 ac_config_files="$ac_config_files tools/wmc/Makefile"
20889 ac_config_files="$ac_config_files tools/wrc/Makefile"
20892 cat >confcache <<\_ACEOF
20893 # This file is a shell script that caches the results of configure
20894 # tests run on this system so they can be shared between configure
20895 # scripts and configure runs, see configure's option --config-cache.
20896 # It is not useful on other systems. If it contains results you don't
20897 # want to keep, you may remove or edit it.
20899 # config.status only pays attention to the cache file if you give it
20900 # the --recheck option to rerun configure.
20902 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20903 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20904 # following values.
20906 _ACEOF
20908 # The following way of writing the cache mishandles newlines in values,
20909 # but we know of no workaround that is simple, portable, and efficient.
20910 # So, we kill variables containing newlines.
20911 # Ultrix sh set writes to stderr and can't be redirected directly,
20912 # and sets the high bit in the cache file unless we assign to the vars.
20914 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20915 eval ac_val=\$$ac_var
20916 case $ac_val in #(
20917 *${as_nl}*)
20918 case $ac_var in #(
20919 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20920 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20921 esac
20922 case $ac_var in #(
20923 _ | IFS | as_nl) ;; #(
20924 *) $as_unset $ac_var ;;
20925 esac ;;
20926 esac
20927 done
20929 (set) 2>&1 |
20930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20931 *${as_nl}ac_space=\ *)
20932 # `set' does not quote correctly, so add quotes (double-quote
20933 # substitution turns \\\\ into \\, and sed turns \\ into \).
20934 sed -n \
20935 "s/'/'\\\\''/g;
20936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20937 ;; #(
20939 # `set' quotes correctly as required by POSIX, so do not add quotes.
20940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20942 esac |
20943 sort
20945 sed '
20946 /^ac_cv_env_/b end
20947 t clear
20948 :clear
20949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20950 t end
20951 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20952 :end' >>confcache
20953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20954 if test -w "$cache_file"; then
20955 test "x$cache_file" != "x/dev/null" &&
20956 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20957 echo "$as_me: updating cache $cache_file" >&6;}
20958 cat confcache >$cache_file
20959 else
20960 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20961 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20964 rm -f confcache
20966 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20967 # Let make expand exec_prefix.
20968 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20970 DEFS=-DHAVE_CONFIG_H
20972 ac_libobjs=
20973 ac_ltlibobjs=
20974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20975 # 1. Remove the extension, and $U if already installed.
20976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20977 ac_i=`echo "$ac_i" | sed "$ac_script"`
20978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20979 # will be set to the directory where LIBOBJS objects are built.
20980 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20981 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20982 done
20983 LIBOBJS=$ac_libobjs
20985 LTLIBOBJS=$ac_ltlibobjs
20989 : ${CONFIG_STATUS=./config.status}
20990 ac_clean_files_save=$ac_clean_files
20991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20992 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20993 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20994 cat >$CONFIG_STATUS <<_ACEOF
20995 #! $SHELL
20996 # Generated by $as_me.
20997 # Run this file to recreate the current configuration.
20998 # Compiler output produced by configure, useful for debugging
20999 # configure, is in config.log if it exists.
21001 debug=false
21002 ac_cs_recheck=false
21003 ac_cs_silent=false
21004 SHELL=\${CONFIG_SHELL-$SHELL}
21005 _ACEOF
21007 cat >>$CONFIG_STATUS <<\_ACEOF
21008 ## --------------------- ##
21009 ## M4sh Initialization. ##
21010 ## --------------------- ##
21012 # Be more Bourne compatible
21013 DUALCASE=1; export DUALCASE # for MKS sh
21014 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21015 emulate sh
21016 NULLCMD=:
21017 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21018 # is contrary to our usage. Disable this feature.
21019 alias -g '${1+"$@"}'='"$@"'
21020 setopt NO_GLOB_SUBST
21021 else
21022 case `(set -o) 2>/dev/null` in
21023 *posix*) set -o posix ;;
21024 esac
21031 # PATH needs CR
21032 # Avoid depending upon Character Ranges.
21033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21036 as_cr_digits='0123456789'
21037 as_cr_alnum=$as_cr_Letters$as_cr_digits
21039 # The user is always right.
21040 if test "${PATH_SEPARATOR+set}" != set; then
21041 echo "#! /bin/sh" >conf$$.sh
21042 echo "exit 0" >>conf$$.sh
21043 chmod +x conf$$.sh
21044 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21045 PATH_SEPARATOR=';'
21046 else
21047 PATH_SEPARATOR=:
21049 rm -f conf$$.sh
21052 # Support unset when possible.
21053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21054 as_unset=unset
21055 else
21056 as_unset=false
21060 # IFS
21061 # We need space, tab and new line, in precisely that order. Quoting is
21062 # there to prevent editors from complaining about space-tab.
21063 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21064 # splitting by setting IFS to empty value.)
21065 as_nl='
21067 IFS=" "" $as_nl"
21069 # Find who we are. Look in the path if we contain no directory separator.
21070 case $0 in
21071 *[\\/]* ) as_myself=$0 ;;
21072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21073 for as_dir in $PATH
21075 IFS=$as_save_IFS
21076 test -z "$as_dir" && as_dir=.
21077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21078 done
21079 IFS=$as_save_IFS
21082 esac
21083 # We did not find ourselves, most probably we were run as `sh COMMAND'
21084 # in which case we are not to be found in the path.
21085 if test "x$as_myself" = x; then
21086 as_myself=$0
21088 if test ! -f "$as_myself"; then
21089 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21090 { (exit 1); exit 1; }
21093 # Work around bugs in pre-3.0 UWIN ksh.
21094 for as_var in ENV MAIL MAILPATH
21095 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21096 done
21097 PS1='$ '
21098 PS2='> '
21099 PS4='+ '
21101 # NLS nuisances.
21102 for as_var in \
21103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21105 LC_TELEPHONE LC_TIME
21107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21108 eval $as_var=C; export $as_var
21109 else
21110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21112 done
21114 # Required to use basename.
21115 if expr a : '\(a\)' >/dev/null 2>&1 &&
21116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21117 as_expr=expr
21118 else
21119 as_expr=false
21122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21123 as_basename=basename
21124 else
21125 as_basename=false
21129 # Name of the executable.
21130 as_me=`$as_basename -- "$0" ||
21131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21132 X"$0" : 'X\(//\)$' \| \
21133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21134 echo X/"$0" |
21135 sed '/^.*\/\([^/][^/]*\)\/*$/{
21136 s//\1/
21139 /^X\/\(\/\/\)$/{
21140 s//\1/
21143 /^X\/\(\/\).*/{
21144 s//\1/
21147 s/.*/./; q'`
21149 # CDPATH.
21150 $as_unset CDPATH
21154 as_lineno_1=$LINENO
21155 as_lineno_2=$LINENO
21156 test "x$as_lineno_1" != "x$as_lineno_2" &&
21157 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21160 # uniformly replaced by the line number. The first 'sed' inserts a
21161 # line-number line after each line using $LINENO; the second 'sed'
21162 # does the real work. The second script uses 'N' to pair each
21163 # line-number line with the line containing $LINENO, and appends
21164 # trailing '-' during substitution so that $LINENO is not a special
21165 # case at line end.
21166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21167 # scripts with optimization help from Paolo Bonzini. Blame Lee
21168 # E. McMahon (1931-1989) for sed's syntax. :-)
21169 sed -n '
21171 /[$]LINENO/=
21172 ' <$as_myself |
21173 sed '
21174 s/[$]LINENO.*/&-/
21175 t lineno
21177 :lineno
21179 :loop
21180 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21181 t loop
21182 s/-\n.*//
21183 ' >$as_me.lineno &&
21184 chmod +x "$as_me.lineno" ||
21185 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21186 { (exit 1); exit 1; }; }
21188 # Don't try to exec as it changes $[0], causing all sort of problems
21189 # (the dirname of $[0] is not the place where we might find the
21190 # original and so on. Autoconf is especially sensitive to this).
21191 . "./$as_me.lineno"
21192 # Exit status is that of the last command.
21193 exit
21197 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21198 as_dirname=dirname
21199 else
21200 as_dirname=false
21203 ECHO_C= ECHO_N= ECHO_T=
21204 case `echo -n x` in
21205 -n*)
21206 case `echo 'x\c'` in
21207 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21208 *) ECHO_C='\c';;
21209 esac;;
21211 ECHO_N='-n';;
21212 esac
21214 if expr a : '\(a\)' >/dev/null 2>&1 &&
21215 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21216 as_expr=expr
21217 else
21218 as_expr=false
21221 rm -f conf$$ conf$$.exe conf$$.file
21222 if test -d conf$$.dir; then
21223 rm -f conf$$.dir/conf$$.file
21224 else
21225 rm -f conf$$.dir
21226 mkdir conf$$.dir
21228 echo >conf$$.file
21229 if ln -s conf$$.file conf$$ 2>/dev/null; then
21230 as_ln_s='ln -s'
21231 # ... but there are two gotchas:
21232 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21233 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21234 # In both cases, we have to default to `cp -p'.
21235 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21236 as_ln_s='cp -p'
21237 elif ln conf$$.file conf$$ 2>/dev/null; then
21238 as_ln_s=ln
21239 else
21240 as_ln_s='cp -p'
21242 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21243 rmdir conf$$.dir 2>/dev/null
21245 if mkdir -p . 2>/dev/null; then
21246 as_mkdir_p=:
21247 else
21248 test -d ./-p && rmdir ./-p
21249 as_mkdir_p=false
21252 if test -x / >/dev/null 2>&1; then
21253 as_test_x='test -x'
21254 else
21255 if ls -dL / >/dev/null 2>&1; then
21256 as_ls_L_option=L
21257 else
21258 as_ls_L_option=
21260 as_test_x='
21261 eval sh -c '\''
21262 if test -d "$1"; then
21263 test -d "$1/.";
21264 else
21265 case $1 in
21266 -*)set "./$1";;
21267 esac;
21268 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21269 ???[sx]*):;;*)false;;esac;fi
21270 '\'' sh
21273 as_executable_p=$as_test_x
21275 # Sed expression to map a string onto a valid CPP name.
21276 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21278 # Sed expression to map a string onto a valid variable name.
21279 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21282 exec 6>&1
21284 # Save the log message, to keep $[0] and so on meaningful, and to
21285 # report actual input values of CONFIG_FILES etc. instead of their
21286 # values after options handling.
21287 ac_log="
21288 This file was extended by Wine $as_me 0.9.40, which was
21289 generated by GNU Autoconf 2.61. Invocation command line was
21291 CONFIG_FILES = $CONFIG_FILES
21292 CONFIG_HEADERS = $CONFIG_HEADERS
21293 CONFIG_LINKS = $CONFIG_LINKS
21294 CONFIG_COMMANDS = $CONFIG_COMMANDS
21295 $ $0 $@
21297 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21300 _ACEOF
21302 cat >>$CONFIG_STATUS <<_ACEOF
21303 # Files that config.status was made for.
21304 config_files="$ac_config_files"
21305 config_headers="$ac_config_headers"
21306 config_commands="$ac_config_commands"
21308 _ACEOF
21310 cat >>$CONFIG_STATUS <<\_ACEOF
21311 ac_cs_usage="\
21312 \`$as_me' instantiates files from templates according to the
21313 current configuration.
21315 Usage: $0 [OPTIONS] [FILE]...
21317 -h, --help print this help, then exit
21318 -V, --version print version number and configuration settings, then exit
21319 -q, --quiet do not print progress messages
21320 -d, --debug don't remove temporary files
21321 --recheck update $as_me by reconfiguring in the same conditions
21322 --file=FILE[:TEMPLATE]
21323 instantiate the configuration file FILE
21324 --header=FILE[:TEMPLATE]
21325 instantiate the configuration header FILE
21327 Configuration files:
21328 $config_files
21330 Configuration headers:
21331 $config_headers
21333 Configuration commands:
21334 $config_commands
21336 Report bugs to <bug-autoconf@gnu.org>."
21338 _ACEOF
21339 cat >>$CONFIG_STATUS <<_ACEOF
21340 ac_cs_version="\\
21341 Wine config.status 0.9.40
21342 configured by $0, generated by GNU Autoconf 2.61,
21343 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21345 Copyright (C) 2006 Free Software Foundation, Inc.
21346 This config.status script is free software; the Free Software Foundation
21347 gives unlimited permission to copy, distribute and modify it."
21349 ac_pwd='$ac_pwd'
21350 srcdir='$srcdir'
21351 INSTALL='$INSTALL'
21352 _ACEOF
21354 cat >>$CONFIG_STATUS <<\_ACEOF
21355 # If no file are specified by the user, then we need to provide default
21356 # value. By we need to know if files were specified by the user.
21357 ac_need_defaults=:
21358 while test $# != 0
21360 case $1 in
21361 --*=*)
21362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21364 ac_shift=:
21367 ac_option=$1
21368 ac_optarg=$2
21369 ac_shift=shift
21371 esac
21373 case $ac_option in
21374 # Handling of the options.
21375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21376 ac_cs_recheck=: ;;
21377 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21378 echo "$ac_cs_version"; exit ;;
21379 --debug | --debu | --deb | --de | --d | -d )
21380 debug=: ;;
21381 --file | --fil | --fi | --f )
21382 $ac_shift
21383 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21384 ac_need_defaults=false;;
21385 --header | --heade | --head | --hea )
21386 $ac_shift
21387 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21388 ac_need_defaults=false;;
21389 --he | --h)
21390 # Conflict between --help and --header
21391 { echo "$as_me: error: ambiguous option: $1
21392 Try \`$0 --help' for more information." >&2
21393 { (exit 1); exit 1; }; };;
21394 --help | --hel | -h )
21395 echo "$ac_cs_usage"; exit ;;
21396 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21397 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21398 ac_cs_silent=: ;;
21400 # This is an error.
21401 -*) { echo "$as_me: error: unrecognized option: $1
21402 Try \`$0 --help' for more information." >&2
21403 { (exit 1); exit 1; }; } ;;
21405 *) ac_config_targets="$ac_config_targets $1"
21406 ac_need_defaults=false ;;
21408 esac
21409 shift
21410 done
21412 ac_configure_extra_args=
21414 if $ac_cs_silent; then
21415 exec 6>/dev/null
21416 ac_configure_extra_args="$ac_configure_extra_args --silent"
21419 _ACEOF
21420 cat >>$CONFIG_STATUS <<_ACEOF
21421 if \$ac_cs_recheck; then
21422 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21423 CONFIG_SHELL=$SHELL
21424 export CONFIG_SHELL
21425 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21428 _ACEOF
21429 cat >>$CONFIG_STATUS <<\_ACEOF
21430 exec 5>>config.log
21432 echo
21433 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21434 ## Running $as_me. ##
21435 _ASBOX
21436 echo "$ac_log"
21437 } >&5
21439 _ACEOF
21440 cat >>$CONFIG_STATUS <<_ACEOF
21441 _ACEOF
21443 cat >>$CONFIG_STATUS <<\_ACEOF
21445 # Handling of arguments.
21446 for ac_config_target in $ac_config_targets
21448 case $ac_config_target in
21449 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21450 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21451 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21452 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21453 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21454 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21455 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21456 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21457 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21458 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21459 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21460 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21461 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21462 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21463 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21464 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21465 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21466 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21467 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21468 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21469 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21470 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21471 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21472 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21473 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21474 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21475 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21476 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21477 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21478 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21479 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21480 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21481 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21482 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21483 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21484 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21485 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21486 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21487 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21488 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21489 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21490 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21491 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21492 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21493 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21494 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21495 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21496 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21497 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21498 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21499 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21500 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21501 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21502 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21503 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21504 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21505 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21506 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21507 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21508 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21509 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21510 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21511 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21512 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21513 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21514 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21515 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21516 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21517 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21518 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21519 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21520 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21521 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21522 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21523 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21524 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21525 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21526 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21527 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21528 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21529 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21530 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21531 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21532 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21533 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21534 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21535 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21536 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21537 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21538 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21539 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21540 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21541 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21542 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21543 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21544 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21545 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21546 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21547 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21548 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21549 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21550 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21551 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21552 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21553 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21554 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21555 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21556 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21557 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21558 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21559 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21560 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21561 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21562 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21563 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21564 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21565 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21566 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21567 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21568 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21569 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21570 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21571 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21572 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21573 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21574 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21575 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21576 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21577 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21578 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21579 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21580 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21581 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21582 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21583 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21584 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21585 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21586 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21587 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21588 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21589 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21590 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21591 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21592 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21593 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21594 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21595 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21596 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21597 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21598 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21599 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21600 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21601 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21602 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21603 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21604 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21605 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21606 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21607 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21608 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21609 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21610 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21611 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21612 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21613 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21614 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21615 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21616 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21617 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21618 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21619 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21620 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21621 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21622 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21623 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21624 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21625 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21626 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21627 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21628 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21629 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21630 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21631 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21632 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21633 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21634 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21635 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21636 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21637 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21638 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21639 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21640 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21641 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21642 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21643 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21644 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21645 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21646 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21647 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21648 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21649 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21650 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21651 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21652 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21653 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21654 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21655 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21656 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21657 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21658 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21659 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21660 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21661 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21662 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21663 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21664 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21665 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21666 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21667 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21668 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21669 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21670 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21671 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21672 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21673 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21674 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21675 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21676 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21677 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21678 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21679 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21680 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21681 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21682 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21683 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21684 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21685 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21686 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21687 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21688 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21689 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21690 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21691 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21692 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21693 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21694 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21695 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21696 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21697 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21698 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21699 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21700 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21701 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21702 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21703 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21704 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21705 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21706 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21707 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21708 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21709 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21710 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21711 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21712 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21713 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21714 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21715 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21716 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21717 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21718 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21719 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21720 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21721 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21722 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21723 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21724 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21725 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21726 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21727 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21728 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21729 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21730 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21731 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21732 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21733 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21734 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21735 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21736 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21737 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21738 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21739 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21740 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21741 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21742 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21743 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21744 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21745 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21746 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21747 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21748 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21749 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21750 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21751 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21752 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21753 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21754 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21755 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21756 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21757 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21758 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21759 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21760 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21761 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21762 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21763 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21764 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21765 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21766 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21767 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21768 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21769 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21770 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21771 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21772 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21773 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21774 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21775 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21776 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21777 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21778 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21779 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21780 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21781 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21782 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21783 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21784 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21785 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21786 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21787 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21788 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21789 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21790 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21791 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21792 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21793 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21794 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21795 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21796 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21797 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21798 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21799 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21800 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21801 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21802 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21803 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21804 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21805 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21807 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21808 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21809 { (exit 1); exit 1; }; };;
21810 esac
21811 done
21814 # If the user did not use the arguments to specify the items to instantiate,
21815 # then the envvar interface is used. Set only those that are not.
21816 # We use the long form for the default assignment because of an extremely
21817 # bizarre bug on SunOS 4.1.3.
21818 if $ac_need_defaults; then
21819 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21820 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21821 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21824 # Have a temporary directory for convenience. Make it in the build tree
21825 # simply because there is no reason against having it here, and in addition,
21826 # creating and moving files from /tmp can sometimes cause problems.
21827 # Hook for its removal unless debugging.
21828 # Note that there is a small window in which the directory will not be cleaned:
21829 # after its creation but before its name has been assigned to `$tmp'.
21830 $debug ||
21832 tmp=
21833 trap 'exit_status=$?
21834 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21836 trap '{ (exit 1); exit 1; }' 1 2 13 15
21838 # Create a (secure) tmp directory for tmp files.
21841 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21842 test -n "$tmp" && test -d "$tmp"
21843 } ||
21845 tmp=./conf$$-$RANDOM
21846 (umask 077 && mkdir "$tmp")
21847 } ||
21849 echo "$me: cannot create a temporary directory in ." >&2
21850 { (exit 1); exit 1; }
21854 # Set up the sed scripts for CONFIG_FILES section.
21857 # No need to generate the scripts if there are no CONFIG_FILES.
21858 # This happens for instance when ./config.status config.h
21859 if test -n "$CONFIG_FILES"; then
21861 _ACEOF
21863 # Create sed commands to just substitute file output variables.
21865 # Remaining file output variables are in a fragment that also has non-file
21866 # output varibles.
21870 ac_delim='%!_!# '
21871 for ac_last_try in false false false false false :; do
21872 cat >conf$$subs.sed <<_ACEOF
21873 SHELL!$SHELL$ac_delim
21874 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21875 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21876 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21877 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21878 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21879 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21880 exec_prefix!$exec_prefix$ac_delim
21881 prefix!$prefix$ac_delim
21882 program_transform_name!$program_transform_name$ac_delim
21883 bindir!$bindir$ac_delim
21884 sbindir!$sbindir$ac_delim
21885 libexecdir!$libexecdir$ac_delim
21886 datarootdir!$datarootdir$ac_delim
21887 datadir!$datadir$ac_delim
21888 sysconfdir!$sysconfdir$ac_delim
21889 sharedstatedir!$sharedstatedir$ac_delim
21890 localstatedir!$localstatedir$ac_delim
21891 includedir!$includedir$ac_delim
21892 oldincludedir!$oldincludedir$ac_delim
21893 docdir!$docdir$ac_delim
21894 infodir!$infodir$ac_delim
21895 htmldir!$htmldir$ac_delim
21896 dvidir!$dvidir$ac_delim
21897 pdfdir!$pdfdir$ac_delim
21898 psdir!$psdir$ac_delim
21899 libdir!$libdir$ac_delim
21900 localedir!$localedir$ac_delim
21901 mandir!$mandir$ac_delim
21902 DEFS!$DEFS$ac_delim
21903 ECHO_C!$ECHO_C$ac_delim
21904 ECHO_N!$ECHO_N$ac_delim
21905 ECHO_T!$ECHO_T$ac_delim
21906 LIBS!$LIBS$ac_delim
21907 build_alias!$build_alias$ac_delim
21908 host_alias!$host_alias$ac_delim
21909 target_alias!$target_alias$ac_delim
21910 build!$build$ac_delim
21911 build_cpu!$build_cpu$ac_delim
21912 build_vendor!$build_vendor$ac_delim
21913 build_os!$build_os$ac_delim
21914 host!$host$ac_delim
21915 host_cpu!$host_cpu$ac_delim
21916 host_vendor!$host_vendor$ac_delim
21917 host_os!$host_os$ac_delim
21918 WIN16_FILES!$WIN16_FILES$ac_delim
21919 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21920 SET_MAKE!$SET_MAKE$ac_delim
21921 CC!$CC$ac_delim
21922 CFLAGS!$CFLAGS$ac_delim
21923 LDFLAGS!$LDFLAGS$ac_delim
21924 CPPFLAGS!$CPPFLAGS$ac_delim
21925 ac_ct_CC!$ac_ct_CC$ac_delim
21926 EXEEXT!$EXEEXT$ac_delim
21927 OBJEXT!$OBJEXT$ac_delim
21928 CXX!$CXX$ac_delim
21929 CXXFLAGS!$CXXFLAGS$ac_delim
21930 ac_ct_CXX!$ac_ct_CXX$ac_delim
21931 CPPBIN!$CPPBIN$ac_delim
21932 TOOLSDIR!$TOOLSDIR$ac_delim
21933 XMKMF!$XMKMF$ac_delim
21934 CPP!$CPP$ac_delim
21935 X_CFLAGS!$X_CFLAGS$ac_delim
21936 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21937 X_LIBS!$X_LIBS$ac_delim
21938 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21939 FLEX!$FLEX$ac_delim
21940 BISON!$BISON$ac_delim
21941 AS!$AS$ac_delim
21942 ac_ct_AS!$ac_ct_AS$ac_delim
21943 LD!$LD$ac_delim
21944 AR!$AR$ac_delim
21945 RANLIB!$RANLIB$ac_delim
21946 STRIP!$STRIP$ac_delim
21947 WINDRES!$WINDRES$ac_delim
21948 LN_S!$LN_S$ac_delim
21949 LN!$LN$ac_delim
21950 GREP!$GREP$ac_delim
21951 EGREP!$EGREP$ac_delim
21952 LDCONFIG!$LDCONFIG$ac_delim
21953 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21954 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21955 _ACEOF
21957 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21958 break
21959 elif $ac_last_try; then
21960 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21961 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21962 { (exit 1); exit 1; }; }
21963 else
21964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21966 done
21968 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21969 if test -n "$ac_eof"; then
21970 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21971 ac_eof=`expr $ac_eof + 1`
21974 cat >>$CONFIG_STATUS <<_ACEOF
21975 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21977 /^[ ]*@MAKE_RULES@[ ]*$/{
21978 r $MAKE_RULES
21981 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21982 r $MAKE_DLL_RULES
21985 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21986 r $MAKE_IMPLIB_RULES
21989 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21990 r $MAKE_TEST_RULES
21993 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21994 r $MAKE_PROG_RULES
21997 _ACEOF
21998 sed '
21999 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22000 s/^/s,@/; s/!/@,|#_!!_#|/
22003 s/'"$ac_delim"'$/,g/; t
22004 s/$/\\/; p
22005 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22006 ' >>$CONFIG_STATUS <conf$$subs.sed
22007 rm -f conf$$subs.sed
22008 cat >>$CONFIG_STATUS <<_ACEOF
22009 CEOF$ac_eof
22010 _ACEOF
22013 ac_delim='%!_!# '
22014 for ac_last_try in false false false false false :; do
22015 cat >conf$$subs.sed <<_ACEOF
22016 INSTALL_DATA!$INSTALL_DATA$ac_delim
22017 LINT!$LINT$ac_delim
22018 LINTFLAGS!$LINTFLAGS$ac_delim
22019 FONTFORGE!$FONTFORGE$ac_delim
22020 PKG_CONFIG!$PKG_CONFIG$ac_delim
22021 PRELINK!$PRELINK$ac_delim
22022 LIBPTHREAD!$LIBPTHREAD$ac_delim
22023 XLIB!$XLIB$ac_delim
22024 XFILES!$XFILES$ac_delim
22025 OPENGLFILES!$OPENGLFILES$ac_delim
22026 GLU32FILES!$GLU32FILES$ac_delim
22027 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22028 QUARTZFILES!$QUARTZFILES$ac_delim
22029 DLLEXT!$DLLEXT$ac_delim
22030 DLLFLAGS!$DLLFLAGS$ac_delim
22031 LDSHARED!$LDSHARED$ac_delim
22032 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22033 LIBEXT!$LIBEXT$ac_delim
22034 IMPLIBEXT!$IMPLIBEXT$ac_delim
22035 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22036 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22037 LDD!$LDD$ac_delim
22038 DLLTOOL!$DLLTOOL$ac_delim
22039 DLLWRAP!$DLLWRAP$ac_delim
22040 MINGWAR!$MINGWAR$ac_delim
22041 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22042 IOKITLIB!$IOKITLIB$ac_delim
22043 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22044 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22045 COREAUDIO!$COREAUDIO$ac_delim
22046 CARBONLIB!$CARBONLIB$ac_delim
22047 CROSSTEST!$CROSSTEST$ac_delim
22048 CROSSCC!$CROSSCC$ac_delim
22049 CROSSWINDRES!$CROSSWINDRES$ac_delim
22050 NASLIBS!$NASLIBS$ac_delim
22051 XML2LIBS!$XML2LIBS$ac_delim
22052 XML2INCL!$XML2INCL$ac_delim
22053 XSLTLIBS!$XSLTLIBS$ac_delim
22054 XSLTINCL!$XSLTINCL$ac_delim
22055 HALINCL!$HALINCL$ac_delim
22056 sane_devel!$sane_devel$ac_delim
22057 SANEINCL!$SANEINCL$ac_delim
22058 gphoto2_devel!$gphoto2_devel$ac_delim
22059 gphoto2port_devel!$gphoto2port_devel$ac_delim
22060 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22061 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22062 ICULIBS!$ICULIBS$ac_delim
22063 RESOLVLIBS!$RESOLVLIBS$ac_delim
22064 LCMSLIBS!$LCMSLIBS$ac_delim
22065 LDAPLIBS!$LDAPLIBS$ac_delim
22066 ft_devel!$ft_devel$ac_delim
22067 FREETYPELIBS!$FREETYPELIBS$ac_delim
22068 FREETYPEINCL!$FREETYPEINCL$ac_delim
22069 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22070 ESDCONFIG!$ESDCONFIG$ac_delim
22071 ESDLIBS!$ESDLIBS$ac_delim
22072 ESDINCL!$ESDINCL$ac_delim
22073 ALSALIBS!$ALSALIBS$ac_delim
22074 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22075 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22076 BUILTINFLAG!$BUILTINFLAG$ac_delim
22077 LDPATH!$LDPATH$ac_delim
22078 CRTLIBS!$CRTLIBS$ac_delim
22079 SOCKETLIBS!$SOCKETLIBS$ac_delim
22080 MAIN_BINARY!$MAIN_BINARY$ac_delim
22081 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22082 LIBDL!$LIBDL$ac_delim
22083 LIBPOLL!$LIBPOLL$ac_delim
22084 DEPENDENCIES!$DEPENDENCIES$ac_delim
22085 LIBOBJS!$LIBOBJS$ac_delim
22086 LTLIBOBJS!$LTLIBOBJS$ac_delim
22087 _ACEOF
22089 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22090 break
22091 elif $ac_last_try; then
22092 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22093 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22094 { (exit 1); exit 1; }; }
22095 else
22096 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22098 done
22100 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22101 if test -n "$ac_eof"; then
22102 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22103 ac_eof=`expr $ac_eof + 1`
22106 cat >>$CONFIG_STATUS <<_ACEOF
22107 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22108 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22109 _ACEOF
22110 sed '
22111 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22112 s/^/s,@/; s/!/@,|#_!!_#|/
22115 s/'"$ac_delim"'$/,g/; t
22116 s/$/\\/; p
22117 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22118 ' >>$CONFIG_STATUS <conf$$subs.sed
22119 rm -f conf$$subs.sed
22120 cat >>$CONFIG_STATUS <<_ACEOF
22121 :end
22122 s/|#_!!_#|//g
22123 CEOF$ac_eof
22124 _ACEOF
22127 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22128 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22129 # trailing colons and then remove the whole line if VPATH becomes empty
22130 # (actually we leave an empty line to preserve line numbers).
22131 if test "x$srcdir" = x.; then
22132 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22133 s/:*\$(srcdir):*/:/
22134 s/:*\${srcdir}:*/:/
22135 s/:*@srcdir@:*/:/
22136 s/^\([^=]*=[ ]*\):*/\1/
22137 s/:*$//
22138 s/^[^=]*=[ ]*$//
22142 cat >>$CONFIG_STATUS <<\_ACEOF
22143 fi # test -n "$CONFIG_FILES"
22146 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22148 case $ac_tag in
22149 :[FHLC]) ac_mode=$ac_tag; continue;;
22150 esac
22151 case $ac_mode$ac_tag in
22152 :[FHL]*:*);;
22153 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22154 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22155 { (exit 1); exit 1; }; };;
22156 :[FH]-) ac_tag=-:-;;
22157 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22158 esac
22159 ac_save_IFS=$IFS
22160 IFS=:
22161 set x $ac_tag
22162 IFS=$ac_save_IFS
22163 shift
22164 ac_file=$1
22165 shift
22167 case $ac_mode in
22168 :L) ac_source=$1;;
22169 :[FH])
22170 ac_file_inputs=
22171 for ac_f
22173 case $ac_f in
22174 -) ac_f="$tmp/stdin";;
22175 *) # Look for the file first in the build tree, then in the source tree
22176 # (if the path is not absolute). The absolute path cannot be DOS-style,
22177 # because $ac_f cannot contain `:'.
22178 test -f "$ac_f" ||
22179 case $ac_f in
22180 [\\/$]*) false;;
22181 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22182 esac ||
22183 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22184 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22185 { (exit 1); exit 1; }; };;
22186 esac
22187 ac_file_inputs="$ac_file_inputs $ac_f"
22188 done
22190 # Let's still pretend it is `configure' which instantiates (i.e., don't
22191 # use $as_me), people would be surprised to read:
22192 # /* config.h. Generated by config.status. */
22193 configure_input="Generated from "`IFS=:
22194 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22195 if test x"$ac_file" != x-; then
22196 configure_input="$ac_file. $configure_input"
22197 { echo "$as_me:$LINENO: creating $ac_file" >&5
22198 echo "$as_me: creating $ac_file" >&6;}
22201 case $ac_tag in
22202 *:-:* | *:-) cat >"$tmp/stdin";;
22203 esac
22205 esac
22207 ac_dir=`$as_dirname -- "$ac_file" ||
22208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22209 X"$ac_file" : 'X\(//\)[^/]' \| \
22210 X"$ac_file" : 'X\(//\)$' \| \
22211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22212 echo X"$ac_file" |
22213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22214 s//\1/
22217 /^X\(\/\/\)[^/].*/{
22218 s//\1/
22221 /^X\(\/\/\)$/{
22222 s//\1/
22225 /^X\(\/\).*/{
22226 s//\1/
22229 s/.*/./; q'`
22230 { as_dir="$ac_dir"
22231 case $as_dir in #(
22232 -*) as_dir=./$as_dir;;
22233 esac
22234 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22235 as_dirs=
22236 while :; do
22237 case $as_dir in #(
22238 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22239 *) as_qdir=$as_dir;;
22240 esac
22241 as_dirs="'$as_qdir' $as_dirs"
22242 as_dir=`$as_dirname -- "$as_dir" ||
22243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22244 X"$as_dir" : 'X\(//\)[^/]' \| \
22245 X"$as_dir" : 'X\(//\)$' \| \
22246 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22247 echo X"$as_dir" |
22248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22249 s//\1/
22252 /^X\(\/\/\)[^/].*/{
22253 s//\1/
22256 /^X\(\/\/\)$/{
22257 s//\1/
22260 /^X\(\/\).*/{
22261 s//\1/
22264 s/.*/./; q'`
22265 test -d "$as_dir" && break
22266 done
22267 test -z "$as_dirs" || eval "mkdir $as_dirs"
22268 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22269 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22270 { (exit 1); exit 1; }; }; }
22271 ac_builddir=.
22273 case "$ac_dir" in
22274 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22276 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22277 # A ".." for each directory in $ac_dir_suffix.
22278 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22279 case $ac_top_builddir_sub in
22280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22282 esac ;;
22283 esac
22284 ac_abs_top_builddir=$ac_pwd
22285 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22286 # for backward compatibility:
22287 ac_top_builddir=$ac_top_build_prefix
22289 case $srcdir in
22290 .) # We are building in place.
22291 ac_srcdir=.
22292 ac_top_srcdir=$ac_top_builddir_sub
22293 ac_abs_top_srcdir=$ac_pwd ;;
22294 [\\/]* | ?:[\\/]* ) # Absolute name.
22295 ac_srcdir=$srcdir$ac_dir_suffix;
22296 ac_top_srcdir=$srcdir
22297 ac_abs_top_srcdir=$srcdir ;;
22298 *) # Relative name.
22299 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22300 ac_top_srcdir=$ac_top_build_prefix$srcdir
22301 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22302 esac
22303 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22306 case $ac_mode in
22309 # CONFIG_FILE
22312 case $INSTALL in
22313 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22314 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22315 esac
22316 _ACEOF
22318 cat >>$CONFIG_STATUS <<\_ACEOF
22319 # If the template does not know about datarootdir, expand it.
22320 # FIXME: This hack should be removed a few years after 2.60.
22321 ac_datarootdir_hack=; ac_datarootdir_seen=
22323 case `sed -n '/datarootdir/ {
22327 /@datadir@/p
22328 /@docdir@/p
22329 /@infodir@/p
22330 /@localedir@/p
22331 /@mandir@/p
22332 ' $ac_file_inputs` in
22333 *datarootdir*) ac_datarootdir_seen=yes;;
22334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22335 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22336 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22337 _ACEOF
22338 cat >>$CONFIG_STATUS <<_ACEOF
22339 ac_datarootdir_hack='
22340 s&@datadir@&$datadir&g
22341 s&@docdir@&$docdir&g
22342 s&@infodir@&$infodir&g
22343 s&@localedir@&$localedir&g
22344 s&@mandir@&$mandir&g
22345 s&\\\${datarootdir}&$datarootdir&g' ;;
22346 esac
22347 _ACEOF
22349 # Neutralize VPATH when `$srcdir' = `.'.
22350 # Shell code in configure.ac might set extrasub.
22351 # FIXME: do we really want to maintain this feature?
22352 cat >>$CONFIG_STATUS <<_ACEOF
22353 sed "$ac_vpsub
22354 $extrasub
22355 _ACEOF
22356 cat >>$CONFIG_STATUS <<\_ACEOF
22358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22359 s&@configure_input@&$configure_input&;t t
22360 s&@top_builddir@&$ac_top_builddir_sub&;t t
22361 s&@srcdir@&$ac_srcdir&;t t
22362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22363 s&@top_srcdir@&$ac_top_srcdir&;t t
22364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22365 s&@builddir@&$ac_builddir&;t t
22366 s&@abs_builddir@&$ac_abs_builddir&;t t
22367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22368 s&@INSTALL@&$ac_INSTALL&;t t
22369 $ac_datarootdir_hack
22370 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22372 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22373 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22374 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22375 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22376 which seems to be undefined. Please make sure it is defined." >&5
22377 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22378 which seems to be undefined. Please make sure it is defined." >&2;}
22380 rm -f "$tmp/stdin"
22381 case $ac_file in
22382 -) cat "$tmp/out"; rm -f "$tmp/out";;
22383 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22384 esac
22388 # CONFIG_HEADER
22390 _ACEOF
22392 # Transform confdefs.h into a sed script `conftest.defines', that
22393 # substitutes the proper values into config.h.in to produce config.h.
22394 rm -f conftest.defines conftest.tail
22395 # First, append a space to every undef/define line, to ease matching.
22396 echo 's/$/ /' >conftest.defines
22397 # Then, protect against being on the right side of a sed subst, or in
22398 # an unquoted here document, in config.status. If some macros were
22399 # called several times there might be several #defines for the same
22400 # symbol, which is useless. But do not sort them, since the last
22401 # AC_DEFINE must be honored.
22402 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22403 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22404 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22405 # PARAMS is the parameter list in the macro definition--in most cases, it's
22406 # just an empty string.
22407 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22408 ac_dB='\\)[ (].*,\\1define\\2'
22409 ac_dC=' '
22410 ac_dD=' ,'
22412 uniq confdefs.h |
22413 sed -n '
22414 t rset
22415 :rset
22416 s/^[ ]*#[ ]*define[ ][ ]*//
22417 t ok
22420 s/[\\&,]/\\&/g
22421 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22422 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22423 ' >>conftest.defines
22425 # Remove the space that was appended to ease matching.
22426 # Then replace #undef with comments. This is necessary, for
22427 # example, in the case of _POSIX_SOURCE, which is predefined and required
22428 # on some systems where configure will not decide to define it.
22429 # (The regexp can be short, since the line contains either #define or #undef.)
22430 echo 's/ $//
22431 s,^[ #]*u.*,/* & */,' >>conftest.defines
22433 # Break up conftest.defines:
22434 ac_max_sed_lines=50
22436 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22437 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22438 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22439 # et cetera.
22440 ac_in='$ac_file_inputs'
22441 ac_out='"$tmp/out1"'
22442 ac_nxt='"$tmp/out2"'
22444 while :
22446 # Write a here document:
22447 cat >>$CONFIG_STATUS <<_ACEOF
22448 # First, check the format of the line:
22449 cat >"\$tmp/defines.sed" <<\\CEOF
22450 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22451 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22453 :def
22454 _ACEOF
22455 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22456 echo 'CEOF
22457 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22458 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22459 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22460 grep . conftest.tail >/dev/null || break
22461 rm -f conftest.defines
22462 mv conftest.tail conftest.defines
22463 done
22464 rm -f conftest.defines conftest.tail
22466 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22467 cat >>$CONFIG_STATUS <<\_ACEOF
22468 if test x"$ac_file" != x-; then
22469 echo "/* $configure_input */" >"$tmp/config.h"
22470 cat "$ac_result" >>"$tmp/config.h"
22471 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22472 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22473 echo "$as_me: $ac_file is unchanged" >&6;}
22474 else
22475 rm -f $ac_file
22476 mv "$tmp/config.h" $ac_file
22478 else
22479 echo "/* $configure_input */"
22480 cat "$ac_result"
22482 rm -f "$tmp/out12"
22485 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22486 echo "$as_me: executing $ac_file commands" >&6;}
22488 esac
22491 case $ac_file$ac_mode in
22492 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22493 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22494 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22495 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22496 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22497 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22498 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22499 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22500 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22501 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22502 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22503 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22504 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22506 esac
22507 done # for ac_tag
22510 { (exit 0); exit 0; }
22511 _ACEOF
22512 chmod +x $CONFIG_STATUS
22513 ac_clean_files=$ac_clean_files_save
22516 # configure is writing to config.log, and then calls config.status.
22517 # config.status does its own redirection, appending to config.log.
22518 # Unfortunately, on DOS this fails, as config.log is still kept open
22519 # by configure, so config.status won't be able to write to it; its
22520 # output is simply discarded. So we exec the FD to /dev/null,
22521 # effectively closing config.log, so it can be properly (re)opened and
22522 # appended to by config.status. When coming back to configure, we
22523 # need to make the FD available again.
22524 if test "$no_create" != yes; then
22525 ac_cs_success=:
22526 ac_config_status_args=
22527 test "$silent" = yes &&
22528 ac_config_status_args="$ac_config_status_args --quiet"
22529 exec 5>/dev/null
22530 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22531 exec 5>>config.log
22532 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22533 # would make configure fail if this is the last instruction.
22534 $ac_cs_success || { (exit 1); exit 1; }
22538 if test "$no_create" = "yes"
22539 then
22540 exit 0
22543 ac_save_IFS="$IFS"
22544 IFS="|"
22545 if test "$verbose" = "yes"; then
22546 for msg in $wine_notices; do
22547 if test -n "$msg"; then
22548 echo >&2
22549 { echo "$as_me:$LINENO: $msg" >&5
22550 echo "$as_me: $msg" >&6;}
22552 done
22554 for msg in $wine_warnings; do
22555 if test -n "$msg"; then
22556 echo >&2
22557 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22558 echo "$as_me: WARNING: $msg" >&2;}
22560 done
22561 IFS="$ac_save_IFS"
22563 echo
22564 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22565 echo