Release 0.9.52.
[wine/multimedia.git] / configure
bloba5d82092409602c30ce05c8168334ee1c10297df
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.52.
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.52'
578 PACKAGE_STRING='Wine 0.9.52'
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 SECURITYLIB
726 COREFOUNDATIONLIB
727 IOKITLIB
728 LDEXECFLAGS
729 DISKARBITRATIONLIB
730 COREAUDIO
731 CARBONLIB
732 CROSSTEST
733 CROSSCC
734 CROSSWINDRES
735 NASLIBS
736 XML2LIBS
737 XML2INCL
738 XSLTLIBS
739 XSLTINCL
740 HALINCL
741 sane_devel
742 SANEINCL
743 gphoto2_devel
744 gphoto2port_devel
745 GPHOTO2LIBS
746 GPHOTO2INCL
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 FONTCONFIGINCL
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.52 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.52:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.52
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.52, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$CXX"|| CXX="g++ -m32"
1972 test -n "$LD" || LD="ld -m elf_i386"
1973 test -n "$AS" || AS="as --32"
1974 host_cpu="i386"
1977 esac
1979 case $host_cpu in
1980 *i[3456789]86*)
1981 if test "x$enable_win16" != "xno"
1982 then
1983 enable_win16="yes"
1986 esac
1988 WIN16_FILES="\$(WIN16_FILES)"
1990 WIN16_INSTALL="\$(WIN16_INSTALL)"
1992 if test "x$enable_win16" != "xyes"
1993 then
1994 WIN16_FILES=""
1995 WIN16_INSTALL=""
1998 case "$srcdir" in
1999 .) ;;
2000 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2001 { { echo "$as_me:$LINENO: 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." >&5
2003 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&2;}
2005 { (exit 1); exit 1; }; }
2006 fi ;;
2007 esac
2010 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2012 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2013 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 cat >conftest.make <<\_ACEOF
2017 SHELL = /bin/sh
2018 all:
2019 @echo '@@@%%%=$(MAKE)=@@@%%%'
2020 _ACEOF
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023 *@@@%%%=?*=@@@%%%*)
2024 eval ac_cv_prog_make_${ac_make}_set=yes;;
2026 eval ac_cv_prog_make_${ac_make}_set=no;;
2027 esac
2028 rm -f conftest.make
2030 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2031 { echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6; }
2033 SET_MAKE=
2034 else
2035 { echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6; }
2037 SET_MAKE="MAKE=${MAKE-make}"
2040 ac_ext=c
2041 ac_cpp='$CPP $CPPFLAGS'
2042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2047 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 else
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC="$CC" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2069 IFS=$as_save_IFS
2073 CC=$ac_cv_prog_CC
2074 if test -n "$CC"; then
2075 { echo "$as_me:$LINENO: result: $CC" >&5
2076 echo "${ECHO_T}$CC" >&6; }
2077 else
2078 { echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6; }
2084 if test -z "$ac_cv_prog_CC"; then
2085 ac_ct_CC=$CC
2086 # Extract the first word of "gcc", so it can be a program name with args.
2087 set dummy gcc; ac_word=$2
2088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 else
2093 if test -n "$ac_ct_CC"; then
2094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_ac_ct_CC="gcc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2107 done
2108 done
2109 IFS=$as_save_IFS
2113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2114 if test -n "$ac_ct_CC"; then
2115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2116 echo "${ECHO_T}$ac_ct_CC" >&6; }
2117 else
2118 { echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6; }
2122 if test "x$ac_ct_CC" = x; then
2123 CC=""
2124 else
2125 case $cross_compiling:$ac_tool_warned in
2126 yes:)
2127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2128 whose name does not start with the host triplet. If you think this
2129 configuration is useful to you, please write to autoconf@gnu.org." >&5
2130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2131 whose name does not start with the host triplet. If you think this
2132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2133 ac_tool_warned=yes ;;
2134 esac
2135 CC=$ac_ct_CC
2137 else
2138 CC="$ac_cv_prog_CC"
2141 if test -z "$CC"; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2144 set dummy ${ac_tool_prefix}cc; ac_word=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 else
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 else
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 for as_dir in $PATH
2156 IFS=$as_save_IFS
2157 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_CC="${ac_tool_prefix}cc"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 break 2
2164 done
2165 done
2166 IFS=$as_save_IFS
2170 CC=$ac_cv_prog_CC
2171 if test -n "$CC"; then
2172 { echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6; }
2174 else
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193 ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected=yes
2203 continue
2205 ac_cv_prog_CC="cc"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2209 done
2210 done
2211 IFS=$as_save_IFS
2213 if test $ac_prog_rejected = yes; then
2214 # We found a bogon in the path, so make sure we never use it.
2215 set dummy $ac_cv_prog_CC
2216 shift
2217 if test $# != 0; then
2218 # We chose a different compiler from the bogus one.
2219 # However, it has the same basename, so the bogon will be chosen
2220 # first if we set CC to just the basename; use the full file name.
2221 shift
2222 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2227 CC=$ac_cv_prog_CC
2228 if test -n "$CC"; then
2229 { echo "$as_me:$LINENO: result: $CC" >&5
2230 echo "${ECHO_T}$CC" >&6; }
2231 else
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2238 if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then
2240 for ac_prog in cl.exe
2242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2263 done
2264 done
2265 IFS=$as_save_IFS
2269 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then
2271 { echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6; }
2273 else
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2279 test -n "$CC" && break
2280 done
2282 if test -z "$CC"; then
2283 ac_ct_CC=$CC
2284 for ac_prog in cl.exe
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 else
2293 if test -n "$ac_ct_CC"; then
2294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295 else
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2299 IFS=$as_save_IFS
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_ac_ct_CC="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 break 2
2307 done
2308 done
2309 IFS=$as_save_IFS
2313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2314 if test -n "$ac_ct_CC"; then
2315 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2316 echo "${ECHO_T}$ac_ct_CC" >&6; }
2317 else
2318 { echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6; }
2323 test -n "$ac_ct_CC" && break
2324 done
2326 if test "x$ac_ct_CC" = x; then
2327 CC=""
2328 else
2329 case $cross_compiling:$ac_tool_warned in
2330 yes:)
2331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&5
2334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335 whose name does not start with the host triplet. If you think this
2336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337 ac_tool_warned=yes ;;
2338 esac
2339 CC=$ac_ct_CC
2346 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2352 # Provide some information about the compiler.
2353 echo "$as_me:$LINENO: checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (ac_try="$ac_compiler --version >&5"
2356 case "(($ac_try" in
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2359 esac
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compiler --version >&5") 2>&5
2362 ac_status=$?
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (ac_try="$ac_compiler -v >&5"
2366 case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_compiler -v >&5") 2>&5
2372 ac_status=$?
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2375 { (ac_try="$ac_compiler -V >&5"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler -V >&5") 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2386 cat >conftest.$ac_ext <<_ACEOF
2387 /* confdefs.h. */
2388 _ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2394 main ()
2398 return 0;
2400 _ACEOF
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2405 # of exeext.
2406 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2407 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2408 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2410 # List of possible output files, starting from the most likely.
2411 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2412 # only as a last resort. b.out is created by i960 compilers.
2413 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2415 # The IRIX 6 linker writes into existing files which may not be
2416 # executable, retaining their permissions. Remove them first so a
2417 # subsequent execution test works.
2418 ac_rmfiles=
2419 for ac_file in $ac_files
2421 case $ac_file in
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2424 esac
2425 done
2426 rm -f $ac_rmfiles
2428 if { (ac_try="$ac_link_default"
2429 case "(($ac_try" in
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2432 esac
2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_link_default") 2>&5
2435 ac_status=$?
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; then
2438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2442 # Autoconf.
2443 for ac_file in $ac_files ''
2445 test -f "$ac_file" || continue
2446 case $ac_file in
2447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2449 [ab].out )
2450 # We found the default executable, but exeext='' is most
2451 # certainly right.
2452 break;;
2453 *.* )
2454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2455 then :; else
2456 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 # We set ac_cv_exeext here because the later test for it is not
2459 # safe: cross compilers may not add the suffix if given an `-o'
2460 # argument, so we may need to know it at that point already.
2461 # Even if this section looks crufty: it has the advantage of
2462 # actually working.
2463 break;;
2465 break;;
2466 esac
2467 done
2468 test "$ac_cv_exeext" = no && ac_cv_exeext=
2470 else
2471 ac_file=''
2474 { echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6; }
2476 if test -z "$ac_file"; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext=$ac_cv_exeext
2489 # Check that the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2493 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494 # If not cross compiling, check that we can run a simple program.
2495 if test "$cross_compiling" != yes; then
2496 if { ac_try='./$ac_file'
2497 { (case "(($ac_try" in
2498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2500 esac
2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2502 (eval "$ac_try") 2>&5
2503 ac_status=$?
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2506 cross_compiling=no
2507 else
2508 if test "$cross_compiling" = maybe; then
2509 cross_compiling=yes
2510 else
2511 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: cannot run C compiled programs.
2515 If you meant to cross compile, use \`--host'.
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2521 { echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6; }
2524 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2525 ac_clean_files=$ac_clean_files_save
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2529 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2530 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2531 echo "${ECHO_T}$cross_compiling" >&6; }
2533 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2534 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2535 if { (ac_try="$ac_link"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_link") 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 break;;
2555 * ) break;;
2556 esac
2557 done
2558 else
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest$ac_cv_exeext
2567 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2568 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2570 rm -f conftest.$ac_ext
2571 EXEEXT=$ac_cv_exeext
2572 ac_exeext=$EXEEXT
2573 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 cat >conftest.$ac_ext <<_ACEOF
2579 /* confdefs.h. */
2580 _ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2586 main ()
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.o conftest.obj
2594 if { (ac_try="$ac_compile"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compile") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 for ac_file in conftest.o conftest.obj conftest.*; do
2605 test -f "$ac_file" || continue;
2606 case $ac_file in
2607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2609 break;;
2610 esac
2611 done
2612 else
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&5
2618 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2625 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2626 echo "${ECHO_T}$ac_cv_objext" >&6; }
2627 OBJEXT=$ac_cv_objext
2628 ac_objext=$OBJEXT
2629 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2630 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2631 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 else
2634 cat >conftest.$ac_ext <<_ACEOF
2635 /* confdefs.h. */
2636 _ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2642 main ()
2644 #ifndef __GNUC__
2645 choke me
2646 #endif
2649 return 0;
2651 _ACEOF
2652 rm -f conftest.$ac_objext
2653 if { (ac_try="$ac_compile"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2660 ac_status=$?
2661 grep -v '^ *+' conftest.er1 >conftest.err
2662 rm -f conftest.er1
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2669 ac_compiler_gnu=yes
2670 else
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_compiler_gnu=no
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2693 ac_cv_prog_cc_g=no
2694 CFLAGS="-g"
2695 cat >conftest.$ac_ext <<_ACEOF
2696 /* confdefs.h. */
2697 _ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2703 main ()
2707 return 0;
2709 _ACEOF
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2718 ac_status=$?
2719 grep -v '^ *+' conftest.er1 >conftest.err
2720 rm -f conftest.er1
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then
2727 ac_cv_prog_cc_g=yes
2728 else
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 CFLAGS=""
2733 cat >conftest.$ac_ext <<_ACEOF
2734 /* confdefs.h. */
2735 _ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2741 main ()
2745 return 0;
2747 _ACEOF
2748 rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2750 case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
2756 ac_status=$?
2757 grep -v '^ *+' conftest.er1 >conftest.err
2758 rm -f conftest.er1
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2766 else
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_c_werror_flag=$ac_save_c_werror_flag
2771 CFLAGS="-g"
2772 cat >conftest.$ac_ext <<_ACEOF
2773 /* confdefs.h. */
2774 _ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2780 main ()
2784 return 0;
2786 _ACEOF
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_compile") 2>conftest.er1
2795 ac_status=$?
2796 grep -v '^ *+' conftest.er1 >conftest.err
2797 rm -f conftest.er1
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then
2804 ac_cv_prog_cc_g=yes
2805 else
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 ac_c_werror_flag=$ac_save_c_werror_flag
2821 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2822 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2823 if test "$ac_test_CFLAGS" = set; then
2824 CFLAGS=$ac_save_CFLAGS
2825 elif test $ac_cv_prog_cc_g = yes; then
2826 if test "$GCC" = yes; then
2827 CFLAGS="-g -O2"
2828 else
2829 CFLAGS="-g"
2831 else
2832 if test "$GCC" = yes; then
2833 CFLAGS="-O2"
2834 else
2835 CFLAGS=
2838 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2839 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2840 if test "${ac_cv_prog_cc_c89+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 else
2843 ac_cv_prog_cc_c89=no
2844 ac_save_CC=$CC
2845 cat >conftest.$ac_ext <<_ACEOF
2846 /* confdefs.h. */
2847 _ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2851 #include <stdarg.h>
2852 #include <stdio.h>
2853 #include <sys/types.h>
2854 #include <sys/stat.h>
2855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2856 struct buf { int x; };
2857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2858 static char *e (p, i)
2859 char **p;
2860 int i;
2862 return p[i];
2864 static char *f (char * (*g) (char **, int), char **p, ...)
2866 char *s;
2867 va_list v;
2868 va_start (v,p);
2869 s = g (p, va_arg (v,int));
2870 va_end (v);
2871 return s;
2874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2875 function prototypes and stuff, but not '\xHH' hex character constants.
2876 These don't provoke an error unfortunately, instead are silently treated
2877 as 'x'. The following induces an error, until -std is added to get
2878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2879 array size at least. It's necessary to write '\x00'==0 to get something
2880 that's true only with -std. */
2881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2884 inside strings and character constants. */
2885 #define FOO(x) 'x'
2886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2888 int test (int i, double x);
2889 struct s1 {int (*f) (int a);};
2890 struct s2 {int (*f) (double a);};
2891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2892 int argc;
2893 char **argv;
2895 main ()
2897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2899 return 0;
2901 _ACEOF
2902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2905 CC="$ac_save_CC $ac_arg"
2906 rm -f conftest.$ac_objext
2907 if { (ac_try="$ac_compile"
2908 case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911 esac
2912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2914 ac_status=$?
2915 grep -v '^ *+' conftest.er1 >conftest.err
2916 rm -f conftest.er1
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest.$ac_objext; then
2923 ac_cv_prog_cc_c89=$ac_arg
2924 else
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f core conftest.err conftest.$ac_objext
2932 test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 done
2934 rm -f conftest.$ac_ext
2935 CC=$ac_save_CC
2938 # AC_CACHE_VAL
2939 case "x$ac_cv_prog_cc_c89" in
2941 { echo "$as_me:$LINENO: result: none needed" >&5
2942 echo "${ECHO_T}none needed" >&6; } ;;
2943 xno)
2944 { echo "$as_me:$LINENO: result: unsupported" >&5
2945 echo "${ECHO_T}unsupported" >&6; } ;;
2947 CC="$CC $ac_cv_prog_cc_c89"
2948 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2949 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2950 esac
2953 ac_ext=c
2954 ac_cpp='$CPP $CPPFLAGS'
2955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_ext=cpp
2960 ac_cpp='$CXXCPP $CPPFLAGS'
2961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2964 if test -z "$CXX"; then
2965 if test -n "$CCC"; then
2966 CXX=$CCC
2967 else
2968 if test -n "$ac_tool_prefix"; then
2969 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2975 if test "${ac_cv_prog_CXX+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978 if test -n "$CXX"; then
2979 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2992 done
2993 done
2994 IFS=$as_save_IFS
2998 CXX=$ac_cv_prog_CXX
2999 if test -n "$CXX"; then
3000 { echo "$as_me:$LINENO: result: $CXX" >&5
3001 echo "${ECHO_T}$CXX" >&6; }
3002 else
3003 { echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6; }
3008 test -n "$CXX" && break
3009 done
3011 if test -z "$CXX"; then
3012 ac_ct_CXX=$CXX
3013 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3015 # Extract the first word of "$ac_prog", so it can be a program name with args.
3016 set dummy $ac_prog; ac_word=$2
3017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3019 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 else
3022 if test -n "$ac_ct_CXX"; then
3023 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3024 else
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 for as_dir in $PATH
3028 IFS=$as_save_IFS
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_ac_ct_CXX="$ac_prog"
3033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 break 2
3036 done
3037 done
3038 IFS=$as_save_IFS
3042 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3043 if test -n "$ac_ct_CXX"; then
3044 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3045 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3046 else
3047 { echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6; }
3052 test -n "$ac_ct_CXX" && break
3053 done
3055 if test "x$ac_ct_CXX" = x; then
3056 CXX="g++"
3057 else
3058 case $cross_compiling:$ac_tool_warned in
3059 yes:)
3060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3061 whose name does not start with the host triplet. If you think this
3062 configuration is useful to you, please write to autoconf@gnu.org." >&5
3063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3064 whose name does not start with the host triplet. If you think this
3065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3066 ac_tool_warned=yes ;;
3067 esac
3068 CXX=$ac_ct_CXX
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3076 ac_compiler=`set X $ac_compile; echo $2`
3077 { (ac_try="$ac_compiler --version >&5"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compiler --version >&5") 2>&5
3084 ac_status=$?
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }
3087 { (ac_try="$ac_compiler -v >&5"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compiler -v >&5") 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }
3097 { (ac_try="$ac_compiler -V >&5"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler -V >&5") 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3108 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3109 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3110 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 else
3113 cat >conftest.$ac_ext <<_ACEOF
3114 /* confdefs.h. */
3115 _ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3121 main ()
3123 #ifndef __GNUC__
3124 choke me
3125 #endif
3128 return 0;
3130 _ACEOF
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_cxx_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_compiler_gnu=yes
3149 else
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 ac_compiler_gnu=no
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3160 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3162 GXX=`test $ac_compiler_gnu = yes && echo yes`
3163 ac_test_CXXFLAGS=${CXXFLAGS+set}
3164 ac_save_CXXFLAGS=$CXXFLAGS
3165 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3166 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3167 if test "${ac_cv_prog_cxx_g+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 else
3170 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3171 ac_cxx_werror_flag=yes
3172 ac_cv_prog_cxx_g=no
3173 CXXFLAGS="-g"
3174 cat >conftest.$ac_ext <<_ACEOF
3175 /* confdefs.h. */
3176 _ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3182 main ()
3186 return 0;
3188 _ACEOF
3189 rm -f conftest.$ac_objext
3190 if { (ac_try="$ac_compile"
3191 case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3194 esac
3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3197 ac_status=$?
3198 grep -v '^ *+' conftest.er1 >conftest.err
3199 rm -f conftest.er1
3200 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_cxx_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3206 ac_cv_prog_cxx_g=yes
3207 else
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3211 CXXFLAGS=""
3212 cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h. */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3220 main ()
3224 return 0;
3226 _ACEOF
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3229 case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3235 ac_status=$?
3236 grep -v '^ *+' conftest.er1 >conftest.err
3237 rm -f conftest.er1
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } && {
3241 test -z "$ac_cxx_werror_flag" ||
3242 test ! -s conftest.err
3243 } && test -s conftest.$ac_objext; then
3245 else
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 CXXFLAGS="-g"
3251 cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h. */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3259 main ()
3263 return 0;
3265 _ACEOF
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3268 case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3271 esac
3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3274 ac_status=$?
3275 grep -v '^ *+' conftest.er1 >conftest.err
3276 rm -f conftest.er1
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } && {
3280 test -z "$ac_cxx_werror_flag" ||
3281 test ! -s conftest.err
3282 } && test -s conftest.$ac_objext; then
3283 ac_cv_prog_cxx_g=yes
3284 else
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3300 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3301 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3302 if test "$ac_test_CXXFLAGS" = set; then
3303 CXXFLAGS=$ac_save_CXXFLAGS
3304 elif test $ac_cv_prog_cxx_g = yes; then
3305 if test "$GXX" = yes; then
3306 CXXFLAGS="-g -O2"
3307 else
3308 CXXFLAGS="-g"
3310 else
3311 if test "$GXX" = yes; then
3312 CXXFLAGS="-O2"
3313 else
3314 CXXFLAGS=
3317 ac_ext=c
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3328 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 else
3331 if test -n "$CPPBIN"; then
3332 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3345 done
3346 done
3347 IFS=$as_save_IFS
3351 CPPBIN=$ac_cv_prog_CPPBIN
3352 if test -n "$CPPBIN"; then
3353 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3354 echo "${ECHO_T}$CPPBIN" >&6; }
3355 else
3356 { echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6; }
3362 if test -z "$ac_cv_prog_CPPBIN"; then
3363 ac_ct_CPPBIN=$CPPBIN
3364 # Extract the first word of "cpp", so it can be a program name with args.
3365 set dummy cpp; ac_word=$2
3366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3368 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 else
3371 if test -n "$ac_ct_CPPBIN"; then
3372 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_ac_ct_CPPBIN="cpp"
3382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 break 2
3385 done
3386 done
3387 IFS=$as_save_IFS
3391 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3392 if test -n "$ac_ct_CPPBIN"; then
3393 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3394 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3395 else
3396 { echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6; }
3400 if test "x$ac_ct_CPPBIN" = x; then
3401 CPPBIN="cpp"
3402 else
3403 case $cross_compiling:$ac_tool_warned in
3404 yes:)
3405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3406 whose name does not start with the host triplet. If you think this
3407 configuration is useful to you, please write to autoconf@gnu.org." >&5
3408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3409 whose name does not start with the host triplet. If you think this
3410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3411 ac_tool_warned=yes ;;
3412 esac
3413 CPPBIN=$ac_ct_CPPBIN
3415 else
3416 CPPBIN="$ac_cv_prog_CPPBIN"
3420 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3421 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3422 if test "${wine_cv_toolsdir+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 else
3425 if test -z "$with_wine_tools"; then
3426 if test "$cross_compiling" = "yes"; then
3427 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3428 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3429 { (exit 1); exit 1; }; }
3430 else
3431 wine_cv_toolsdir="\$(TOPOBJDIR)"
3433 elif test -d "$with_wine_tools/tools/winebuild"; then
3434 case $with_wine_tools in
3435 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3436 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3437 esac
3438 else
3439 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3440 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3441 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3445 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3446 TOOLSDIR=$wine_cv_toolsdir
3450 ac_ext=c
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3456 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3457 # On Suns, sometimes $CPP names a directory.
3458 if test -n "$CPP" && test -d "$CPP"; then
3459 CPP=
3461 if test -z "$CPP"; then
3462 if test "${ac_cv_prog_CPP+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 # Double quotes because CPP needs to be expanded
3466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3468 ac_preproc_ok=false
3469 for ac_c_preproc_warn_flag in '' yes
3471 # Use a header file that comes with gcc, so configuring glibc
3472 # with a fresh cross-compiler works.
3473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3474 # <limits.h> exists even on freestanding compilers.
3475 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error" is here to catch this case.
3477 cat >conftest.$ac_ext <<_ACEOF
3478 /* confdefs.h. */
3479 _ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #ifdef __STDC__
3484 # include <limits.h>
3485 #else
3486 # include <assert.h>
3487 #endif
3488 Syntax error
3489 _ACEOF
3490 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494 esac
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 ac_status=$?
3498 grep -v '^ *+' conftest.er1 >conftest.err
3499 rm -f conftest.er1
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3505 }; then
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3512 continue
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3520 /* confdefs.h. */
3521 _ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3526 _ACEOF
3527 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 case "(($ac_try" in
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3531 esac
3532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3534 ac_status=$?
3535 grep -v '^ *+' conftest.er1 >conftest.err
3536 rm -f conftest.er1
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev/null && {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3542 }; then
3543 # Broken: success on invalid input.
3544 continue
3545 else
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 # Passes both tests.
3550 ac_preproc_ok=:
3551 break
3554 rm -f conftest.err conftest.$ac_ext
3556 done
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.$ac_ext
3559 if $ac_preproc_ok; then
3560 break
3563 done
3564 ac_cv_prog_CPP=$CPP
3567 CPP=$ac_cv_prog_CPP
3568 else
3569 ac_cv_prog_CPP=$CPP
3571 { echo "$as_me:$LINENO: result: $CPP" >&5
3572 echo "${ECHO_T}$CPP" >&6; }
3573 ac_preproc_ok=false
3574 for ac_c_preproc_warn_flag in '' yes
3576 # Use a header file that comes with gcc, so configuring glibc
3577 # with a fresh cross-compiler works.
3578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3579 # <limits.h> exists even on freestanding compilers.
3580 # On the NeXT, cc -E runs the code through the compiler's parser,
3581 # not just through cpp. "Syntax error" is here to catch this case.
3582 cat >conftest.$ac_ext <<_ACEOF
3583 /* confdefs.h. */
3584 _ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3588 #ifdef __STDC__
3589 # include <limits.h>
3590 #else
3591 # include <assert.h>
3592 #endif
3593 Syntax error
3594 _ACEOF
3595 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 ac_status=$?
3603 grep -v '^ *+' conftest.er1 >conftest.err
3604 rm -f conftest.er1
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3610 }; then
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3617 continue
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3625 /* confdefs.h. */
3626 _ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3631 _ACEOF
3632 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3636 esac
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639 ac_status=$?
3640 grep -v '^ *+' conftest.er1 >conftest.err
3641 rm -f conftest.er1
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev/null && {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 }; then
3648 # Broken: success on invalid input.
3649 continue
3650 else
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Passes both tests.
3655 ac_preproc_ok=:
3656 break
3659 rm -f conftest.err conftest.$ac_ext
3661 done
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.$ac_ext
3664 if $ac_preproc_ok; then
3666 else
3667 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&5
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log' for more details." >&2;}
3671 { (exit 1); exit 1; }; }
3674 ac_ext=c
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { echo "$as_me:$LINENO: checking for X" >&5
3682 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3685 # Check whether --with-x was given.
3686 if test "${with_x+set}" = set; then
3687 withval=$with_x;
3690 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3691 if test "x$with_x" = xno; then
3692 # The user explicitly disabled X.
3693 have_x=disabled
3694 else
3695 case $x_includes,$x_libraries in #(
3696 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3697 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3698 { (exit 1); exit 1; }; };; #(
3699 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 else
3702 # One or both of the vars are not set, and there is no cached value.
3703 ac_x_includes=no ac_x_libraries=no
3704 rm -f -r conftest.dir
3705 if mkdir conftest.dir; then
3706 cd conftest.dir
3707 cat >Imakefile <<'_ACEOF'
3708 incroot:
3709 @echo incroot='${INCROOT}'
3710 usrlibdir:
3711 @echo usrlibdir='${USRLIBDIR}'
3712 libdir:
3713 @echo libdir='${LIBDIR}'
3714 _ACEOF
3715 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3717 for ac_var in incroot usrlibdir libdir; do
3718 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3719 done
3720 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3721 for ac_extension in a so sl; do
3722 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3723 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3724 ac_im_usrlibdir=$ac_im_libdir; break
3726 done
3727 # Screen out bogus values from the imake configuration. They are
3728 # bogus both because they are the default anyway, and because
3729 # using them would break gcc on systems where it needs fixed includes.
3730 case $ac_im_incroot in
3731 /usr/include) ac_x_includes= ;;
3732 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3733 esac
3734 case $ac_im_usrlibdir in
3735 /usr/lib | /lib) ;;
3736 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3737 esac
3739 cd ..
3740 rm -f -r conftest.dir
3743 # Standard set of common directories for X headers.
3744 # Check X11 before X11Rn because it is often a symlink to the current release.
3745 ac_x_header_dirs='
3746 /usr/X11/include
3747 /usr/X11R6/include
3748 /usr/X11R5/include
3749 /usr/X11R4/include
3751 /usr/include/X11
3752 /usr/include/X11R6
3753 /usr/include/X11R5
3754 /usr/include/X11R4
3756 /usr/local/X11/include
3757 /usr/local/X11R6/include
3758 /usr/local/X11R5/include
3759 /usr/local/X11R4/include
3761 /usr/local/include/X11
3762 /usr/local/include/X11R6
3763 /usr/local/include/X11R5
3764 /usr/local/include/X11R4
3766 /usr/X386/include
3767 /usr/x386/include
3768 /usr/XFree86/include/X11
3770 /usr/include
3771 /usr/local/include
3772 /usr/unsupported/include
3773 /usr/athena/include
3774 /usr/local/x11r5/include
3775 /usr/lpp/Xamples/include
3777 /usr/openwin/include
3778 /usr/openwin/share/include'
3780 if test "$ac_x_includes" = no; then
3781 # Guess where to find include files, by looking for Xlib.h.
3782 # First, try using that file with no special directory specified.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <X11/Xlib.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3806 }; then
3807 # We can compile using X headers with no special include directory.
3808 ac_x_includes=
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 for ac_dir in $ac_x_header_dirs; do
3814 if test -r "$ac_dir/X11/Xlib.h"; then
3815 ac_x_includes=$ac_dir
3816 break
3818 done
3821 rm -f conftest.err conftest.$ac_ext
3822 fi # $ac_x_includes = no
3824 if test "$ac_x_libraries" = no; then
3825 # Check for the libraries.
3826 # See if we find them without any special options.
3827 # Don't add to $LIBS permanently.
3828 ac_save_LIBS=$LIBS
3829 LIBS="-lX11 $LIBS"
3830 cat >conftest.$ac_ext <<_ACEOF
3831 /* confdefs.h. */
3832 _ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #include <X11/Xlib.h>
3838 main ()
3840 XrmInitialize ()
3842 return 0;
3844 _ACEOF
3845 rm -f conftest.$ac_objext conftest$ac_exeext
3846 if { (ac_try="$ac_link"
3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_link") 2>conftest.er1
3853 ac_status=$?
3854 grep -v '^ *+' conftest.er1 >conftest.err
3855 rm -f conftest.er1
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } && {
3859 test -z "$ac_c_werror_flag" ||
3860 test ! -s conftest.err
3861 } && test -s conftest$ac_exeext &&
3862 $as_test_x conftest$ac_exeext; then
3863 LIBS=$ac_save_LIBS
3864 # We can link X programs with no special library path.
3865 ac_x_libraries=
3866 else
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 LIBS=$ac_save_LIBS
3871 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3873 # Don't even attempt the hair of trying to link an X program!
3874 for ac_extension in a so sl; do
3875 if test -r "$ac_dir/libX11.$ac_extension"; then
3876 ac_x_libraries=$ac_dir
3877 break 2
3879 done
3880 done
3883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3884 conftest$ac_exeext conftest.$ac_ext
3885 fi # $ac_x_libraries = no
3887 case $ac_x_includes,$ac_x_libraries in #(
3888 no,* | *,no | *\'*)
3889 # Didn't find X, or a directory has "'" in its name.
3890 ac_cv_have_x="have_x=no";; #(
3892 # Record where we found X for the cache.
3893 ac_cv_have_x="have_x=yes\
3894 ac_x_includes='$ac_x_includes'\
3895 ac_x_libraries='$ac_x_libraries'"
3896 esac
3898 ;; #(
3899 *) have_x=yes;;
3900 esac
3901 eval "$ac_cv_have_x"
3902 fi # $with_x != no
3904 if test "$have_x" != yes; then
3905 { echo "$as_me:$LINENO: result: $have_x" >&5
3906 echo "${ECHO_T}$have_x" >&6; }
3907 no_x=yes
3908 else
3909 # If each of the values was on the command line, it overrides each guess.
3910 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3911 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3912 # Update the cache value to reflect the command line values.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$x_includes'\
3915 ac_x_libraries='$x_libraries'"
3916 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3917 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3920 if test "$no_x" = yes; then
3921 # Not all programs may use this symbol, but it does not hurt to define it.
3923 cat >>confdefs.h <<\_ACEOF
3924 #define X_DISPLAY_MISSING 1
3925 _ACEOF
3927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3928 else
3929 if test -n "$x_includes"; then
3930 X_CFLAGS="$X_CFLAGS -I$x_includes"
3933 # It would also be nice to do this for all -L options, not just this one.
3934 if test -n "$x_libraries"; then
3935 X_LIBS="$X_LIBS -L$x_libraries"
3936 # For Solaris; some versions of Sun CC require a space after -R and
3937 # others require no space. Words are not sufficient . . . .
3938 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3939 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3941 ac_xsave_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3943 cat >conftest.$ac_ext <<_ACEOF
3944 /* confdefs.h. */
3945 _ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3951 main ()
3955 return 0;
3957 _ACEOF
3958 rm -f conftest.$ac_objext conftest$ac_exeext
3959 if { (ac_try="$ac_link"
3960 case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3963 esac
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_link") 2>conftest.er1
3966 ac_status=$?
3967 grep -v '^ *+' conftest.er1 >conftest.err
3968 rm -f conftest.er1
3969 cat conftest.err >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest$ac_exeext &&
3975 $as_test_x conftest$ac_exeext; then
3976 { echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6; }
3978 X_LIBS="$X_LIBS -R$x_libraries"
3979 else
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 LIBS="$ac_xsave_LIBS -R $x_libraries"
3984 cat >conftest.$ac_ext <<_ACEOF
3985 /* confdefs.h. */
3986 _ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3992 main ()
3996 return 0;
3998 _ACEOF
3999 rm -f conftest.$ac_objext conftest$ac_exeext
4000 if { (ac_try="$ac_link"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4006 (eval "$ac_link") 2>conftest.er1
4007 ac_status=$?
4008 grep -v '^ *+' conftest.er1 >conftest.err
4009 rm -f conftest.er1
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && {
4013 test -z "$ac_c_werror_flag" ||
4014 test ! -s conftest.err
4015 } && test -s conftest$ac_exeext &&
4016 $as_test_x conftest$ac_exeext; then
4017 { echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6; }
4019 X_LIBS="$X_LIBS -R $x_libraries"
4020 else
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { echo "$as_me:$LINENO: result: neither works" >&5
4025 echo "${ECHO_T}neither works" >&6; }
4028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4029 conftest$ac_exeext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4033 conftest$ac_exeext conftest.$ac_ext
4034 ac_c_werror_flag=$ac_xsave_c_werror_flag
4035 LIBS=$ac_xsave_LIBS
4038 # Check for system-dependent libraries X programs must link with.
4039 # Do this before checking for the system-independent R6 libraries
4040 # (-lICE), since we may need -lsocket or whatever for X linking.
4042 if test "$ISC" = yes; then
4043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4044 else
4045 # Martyn Johnson says this is needed for Ultrix, if the X
4046 # libraries were built with DECnet support. And Karl Berry says
4047 # the Alpha needs dnet_stub (dnet does not exist).
4048 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4049 cat >conftest.$ac_ext <<_ACEOF
4050 /* confdefs.h. */
4051 _ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any GCC internal prototype to avoid an error.
4057 Use char because int might match the return type of a GCC
4058 builtin and then its argument prototype would still apply. */
4059 #ifdef __cplusplus
4060 extern "C"
4061 #endif
4062 char XOpenDisplay ();
4064 main ()
4066 return XOpenDisplay ();
4068 return 0;
4070 _ACEOF
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (ac_try="$ac_link"
4073 case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076 esac
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_link") 2>conftest.er1
4079 ac_status=$?
4080 grep -v '^ *+' conftest.er1 >conftest.err
4081 rm -f conftest.er1
4082 cat conftest.err >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } && {
4085 test -z "$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4087 } && test -s conftest$ac_exeext &&
4088 $as_test_x conftest$ac_exeext; then
4090 else
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4095 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4096 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 else
4099 ac_check_lib_save_LIBS=$LIBS
4100 LIBS="-ldnet $LIBS"
4101 cat >conftest.$ac_ext <<_ACEOF
4102 /* confdefs.h. */
4103 _ACEOF
4104 cat confdefs.h >>conftest.$ac_ext
4105 cat >>conftest.$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 /* Override any GCC internal prototype to avoid an error.
4109 Use char because int might match the return type of a GCC
4110 builtin and then its argument prototype would still apply. */
4111 #ifdef __cplusplus
4112 extern "C"
4113 #endif
4114 char dnet_ntoa ();
4116 main ()
4118 return dnet_ntoa ();
4120 return 0;
4122 _ACEOF
4123 rm -f conftest.$ac_objext conftest$ac_exeext
4124 if { (ac_try="$ac_link"
4125 case "(($ac_try" in
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4128 esac
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_link") 2>conftest.er1
4131 ac_status=$?
4132 grep -v '^ *+' conftest.er1 >conftest.err
4133 rm -f conftest.er1
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && {
4137 test -z "$ac_c_werror_flag" ||
4138 test ! -s conftest.err
4139 } && test -s conftest$ac_exeext &&
4140 $as_test_x conftest$ac_exeext; then
4141 ac_cv_lib_dnet_dnet_ntoa=yes
4142 else
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_cv_lib_dnet_dnet_ntoa=no
4149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4150 conftest$ac_exeext conftest.$ac_ext
4151 LIBS=$ac_check_lib_save_LIBS
4153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4154 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4155 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4156 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4159 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4160 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4161 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4162 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 else
4165 ac_check_lib_save_LIBS=$LIBS
4166 LIBS="-ldnet_stub $LIBS"
4167 cat >conftest.$ac_ext <<_ACEOF
4168 /* confdefs.h. */
4169 _ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4174 /* Override any GCC internal prototype to avoid an error.
4175 Use char because int might match the return type of a GCC
4176 builtin and then its argument prototype would still apply. */
4177 #ifdef __cplusplus
4178 extern "C"
4179 #endif
4180 char dnet_ntoa ();
4182 main ()
4184 return dnet_ntoa ();
4186 return 0;
4188 _ACEOF
4189 rm -f conftest.$ac_objext conftest$ac_exeext
4190 if { (ac_try="$ac_link"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_link") 2>conftest.er1
4197 ac_status=$?
4198 grep -v '^ *+' conftest.er1 >conftest.err
4199 rm -f conftest.er1
4200 cat conftest.err >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest$ac_exeext &&
4206 $as_test_x conftest$ac_exeext; then
4207 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4208 else
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4212 ac_cv_lib_dnet_stub_dnet_ntoa=no
4215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4216 conftest$ac_exeext conftest.$ac_ext
4217 LIBS=$ac_check_lib_save_LIBS
4219 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4220 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4221 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4222 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4229 conftest$ac_exeext conftest.$ac_ext
4230 LIBS="$ac_xsave_LIBS"
4232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4233 # to get the SysV transport functions.
4234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4235 # needs -lnsl.
4236 # The nsl library prevents programs from opening the X display
4237 # on Irix 5.2, according to T.E. Dickey.
4238 # The functions gethostbyname, getservbyname, and inet_addr are
4239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4240 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4242 if test "${ac_cv_func_gethostbyname+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else
4245 cat >conftest.$ac_ext <<_ACEOF
4246 /* confdefs.h. */
4247 _ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4253 #define gethostbyname innocuous_gethostbyname
4255 /* System header to define __stub macros and hopefully few prototypes,
4256 which can conflict with char gethostbyname (); below.
4257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258 <limits.h> exists even on freestanding compilers. */
4260 #ifdef __STDC__
4261 # include <limits.h>
4262 #else
4263 # include <assert.h>
4264 #endif
4266 #undef gethostbyname
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4271 #ifdef __cplusplus
4272 extern "C"
4273 #endif
4274 char gethostbyname ();
4275 /* The GNU C library defines this for functions which it implements
4276 to always fail with ENOSYS. Some functions are actually named
4277 something starting with __ and the normal name is an alias. */
4278 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4279 choke me
4280 #endif
4283 main ()
4285 return gethostbyname ();
4287 return 0;
4289 _ACEOF
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4298 ac_status=$?
4299 grep -v '^ *+' conftest.er1 >conftest.err
4300 rm -f conftest.er1
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && {
4304 test -z "$ac_c_werror_flag" ||
4305 test ! -s conftest.err
4306 } && test -s conftest$ac_exeext &&
4307 $as_test_x conftest$ac_exeext; then
4308 ac_cv_func_gethostbyname=yes
4309 else
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 ac_cv_func_gethostbyname=no
4316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4317 conftest$ac_exeext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4320 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4322 if test $ac_cv_func_gethostbyname = no; then
4323 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4324 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4325 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 else
4328 ac_check_lib_save_LIBS=$LIBS
4329 LIBS="-lnsl $LIBS"
4330 cat >conftest.$ac_ext <<_ACEOF
4331 /* confdefs.h. */
4332 _ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4340 #ifdef __cplusplus
4341 extern "C"
4342 #endif
4343 char gethostbyname ();
4345 main ()
4347 return gethostbyname ();
4349 return 0;
4351 _ACEOF
4352 rm -f conftest.$ac_objext conftest$ac_exeext
4353 if { (ac_try="$ac_link"
4354 case "(($ac_try" in
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4357 esac
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_link") 2>conftest.er1
4360 ac_status=$?
4361 grep -v '^ *+' conftest.er1 >conftest.err
4362 rm -f conftest.er1
4363 cat conftest.err >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest$ac_exeext &&
4369 $as_test_x conftest$ac_exeext; then
4370 ac_cv_lib_nsl_gethostbyname=yes
4371 else
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_cv_lib_nsl_gethostbyname=no
4378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4379 conftest$ac_exeext conftest.$ac_ext
4380 LIBS=$ac_check_lib_save_LIBS
4382 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4383 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4384 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4385 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4388 if test $ac_cv_lib_nsl_gethostbyname = no; then
4389 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4390 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4391 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 else
4394 ac_check_lib_save_LIBS=$LIBS
4395 LIBS="-lbsd $LIBS"
4396 cat >conftest.$ac_ext <<_ACEOF
4397 /* confdefs.h. */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 /* Override any GCC internal prototype to avoid an error.
4404 Use char because int might match the return type of a GCC
4405 builtin and then its argument prototype would still apply. */
4406 #ifdef __cplusplus
4407 extern "C"
4408 #endif
4409 char gethostbyname ();
4411 main ()
4413 return gethostbyname ();
4415 return 0;
4417 _ACEOF
4418 rm -f conftest.$ac_objext conftest$ac_exeext
4419 if { (ac_try="$ac_link"
4420 case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4423 esac
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425 (eval "$ac_link") 2>conftest.er1
4426 ac_status=$?
4427 grep -v '^ *+' conftest.er1 >conftest.err
4428 rm -f conftest.er1
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } && {
4432 test -z "$ac_c_werror_flag" ||
4433 test ! -s conftest.err
4434 } && test -s conftest$ac_exeext &&
4435 $as_test_x conftest$ac_exeext; then
4436 ac_cv_lib_bsd_gethostbyname=yes
4437 else
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.$ac_ext >&5
4441 ac_cv_lib_bsd_gethostbyname=no
4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LIBS=$ac_check_lib_save_LIBS
4448 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4449 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4450 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4457 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4458 # socket/setsockopt and other routines are undefined under SCO ODT
4459 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4460 # on later versions), says Simon Leinen: it contains gethostby*
4461 # variants that don't use the name server (or something). -lsocket
4462 # must be given before -lnsl if both are needed. We assume that
4463 # if connect needs -lnsl, so does gethostbyname.
4464 { echo "$as_me:$LINENO: checking for connect" >&5
4465 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4466 if test "${ac_cv_func_connect+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 else
4469 cat >conftest.$ac_ext <<_ACEOF
4470 /* confdefs.h. */
4471 _ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4477 #define connect innocuous_connect
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char connect (); below.
4481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 <limits.h> exists even on freestanding compilers. */
4484 #ifdef __STDC__
4485 # include <limits.h>
4486 #else
4487 # include <assert.h>
4488 #endif
4490 #undef connect
4492 /* Override any GCC internal prototype to avoid an error.
4493 Use char because int might match the return type of a GCC
4494 builtin and then its argument prototype would still apply. */
4495 #ifdef __cplusplus
4496 extern "C"
4497 #endif
4498 char connect ();
4499 /* The GNU C library defines this for functions which it implements
4500 to always fail with ENOSYS. Some functions are actually named
4501 something starting with __ and the normal name is an alias. */
4502 #if defined __stub_connect || defined __stub___connect
4503 choke me
4504 #endif
4507 main ()
4509 return connect ();
4511 return 0;
4513 _ACEOF
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_link") 2>conftest.er1
4522 ac_status=$?
4523 grep -v '^ *+' conftest.er1 >conftest.err
4524 rm -f conftest.er1
4525 cat conftest.err >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest$ac_exeext &&
4531 $as_test_x conftest$ac_exeext; then
4532 ac_cv_func_connect=yes
4533 else
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 ac_cv_func_connect=no
4540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4541 conftest$ac_exeext conftest.$ac_ext
4543 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4544 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4546 if test $ac_cv_func_connect = no; then
4547 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4548 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4549 if test "${ac_cv_lib_socket_connect+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552 ac_check_lib_save_LIBS=$LIBS
4553 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4554 cat >conftest.$ac_ext <<_ACEOF
4555 /* confdefs.h. */
4556 _ACEOF
4557 cat confdefs.h >>conftest.$ac_ext
4558 cat >>conftest.$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4561 /* Override any GCC internal prototype to avoid an error.
4562 Use char because int might match the return type of a GCC
4563 builtin and then its argument prototype would still apply. */
4564 #ifdef __cplusplus
4565 extern "C"
4566 #endif
4567 char connect ();
4569 main ()
4571 return connect ();
4573 return 0;
4575 _ACEOF
4576 rm -f conftest.$ac_objext conftest$ac_exeext
4577 if { (ac_try="$ac_link"
4578 case "(($ac_try" in
4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4581 esac
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_link") 2>conftest.er1
4584 ac_status=$?
4585 grep -v '^ *+' conftest.er1 >conftest.err
4586 rm -f conftest.er1
4587 cat conftest.err >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && {
4590 test -z "$ac_c_werror_flag" ||
4591 test ! -s conftest.err
4592 } && test -s conftest$ac_exeext &&
4593 $as_test_x conftest$ac_exeext; then
4594 ac_cv_lib_socket_connect=yes
4595 else
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 ac_cv_lib_socket_connect=no
4602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4603 conftest$ac_exeext conftest.$ac_ext
4604 LIBS=$ac_check_lib_save_LIBS
4606 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4608 if test $ac_cv_lib_socket_connect = yes; then
4609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4614 # Guillermo Gomez says -lposix is necessary on A/UX.
4615 { echo "$as_me:$LINENO: checking for remove" >&5
4616 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4617 if test "${ac_cv_func_remove+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 else
4620 cat >conftest.$ac_ext <<_ACEOF
4621 /* confdefs.h. */
4622 _ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4626 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4628 #define remove innocuous_remove
4630 /* System header to define __stub macros and hopefully few prototypes,
4631 which can conflict with char remove (); below.
4632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4633 <limits.h> exists even on freestanding compilers. */
4635 #ifdef __STDC__
4636 # include <limits.h>
4637 #else
4638 # include <assert.h>
4639 #endif
4641 #undef remove
4643 /* Override any GCC internal prototype to avoid an error.
4644 Use char because int might match the return type of a GCC
4645 builtin and then its argument prototype would still apply. */
4646 #ifdef __cplusplus
4647 extern "C"
4648 #endif
4649 char remove ();
4650 /* The GNU C library defines this for functions which it implements
4651 to always fail with ENOSYS. Some functions are actually named
4652 something starting with __ and the normal name is an alias. */
4653 #if defined __stub_remove || defined __stub___remove
4654 choke me
4655 #endif
4658 main ()
4660 return remove ();
4662 return 0;
4664 _ACEOF
4665 rm -f conftest.$ac_objext conftest$ac_exeext
4666 if { (ac_try="$ac_link"
4667 case "(($ac_try" in
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4670 esac
4671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4672 (eval "$ac_link") 2>conftest.er1
4673 ac_status=$?
4674 grep -v '^ *+' conftest.er1 >conftest.err
4675 rm -f conftest.er1
4676 cat conftest.err >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } && {
4679 test -z "$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4681 } && test -s conftest$ac_exeext &&
4682 $as_test_x conftest$ac_exeext; then
4683 ac_cv_func_remove=yes
4684 else
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 ac_cv_func_remove=no
4691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4692 conftest$ac_exeext conftest.$ac_ext
4694 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4695 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4697 if test $ac_cv_func_remove = no; then
4698 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4699 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4700 if test "${ac_cv_lib_posix_remove+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 else
4703 ac_check_lib_save_LIBS=$LIBS
4704 LIBS="-lposix $LIBS"
4705 cat >conftest.$ac_ext <<_ACEOF
4706 /* confdefs.h. */
4707 _ACEOF
4708 cat confdefs.h >>conftest.$ac_ext
4709 cat >>conftest.$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4715 #ifdef __cplusplus
4716 extern "C"
4717 #endif
4718 char remove ();
4720 main ()
4722 return remove ();
4724 return 0;
4726 _ACEOF
4727 rm -f conftest.$ac_objext conftest$ac_exeext
4728 if { (ac_try="$ac_link"
4729 case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4734 (eval "$ac_link") 2>conftest.er1
4735 ac_status=$?
4736 grep -v '^ *+' conftest.er1 >conftest.err
4737 rm -f conftest.er1
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } && {
4741 test -z "$ac_c_werror_flag" ||
4742 test ! -s conftest.err
4743 } && test -s conftest$ac_exeext &&
4744 $as_test_x conftest$ac_exeext; then
4745 ac_cv_lib_posix_remove=yes
4746 else
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 ac_cv_lib_posix_remove=no
4753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4754 conftest$ac_exeext conftest.$ac_ext
4755 LIBS=$ac_check_lib_save_LIBS
4757 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4758 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4759 if test $ac_cv_lib_posix_remove = yes; then
4760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4766 { echo "$as_me:$LINENO: checking for shmat" >&5
4767 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4768 if test "${ac_cv_func_shmat+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 else
4771 cat >conftest.$ac_ext <<_ACEOF
4772 /* confdefs.h. */
4773 _ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4779 #define shmat innocuous_shmat
4781 /* System header to define __stub macros and hopefully few prototypes,
4782 which can conflict with char shmat (); below.
4783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4784 <limits.h> exists even on freestanding compilers. */
4786 #ifdef __STDC__
4787 # include <limits.h>
4788 #else
4789 # include <assert.h>
4790 #endif
4792 #undef shmat
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4797 #ifdef __cplusplus
4798 extern "C"
4799 #endif
4800 char shmat ();
4801 /* The GNU C library defines this for functions which it implements
4802 to always fail with ENOSYS. Some functions are actually named
4803 something starting with __ and the normal name is an alias. */
4804 #if defined __stub_shmat || defined __stub___shmat
4805 choke me
4806 #endif
4809 main ()
4811 return shmat ();
4813 return 0;
4815 _ACEOF
4816 rm -f conftest.$ac_objext conftest$ac_exeext
4817 if { (ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_link") 2>conftest.er1
4824 ac_status=$?
4825 grep -v '^ *+' conftest.er1 >conftest.err
4826 rm -f conftest.er1
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } && {
4830 test -z "$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4832 } && test -s conftest$ac_exeext &&
4833 $as_test_x conftest$ac_exeext; then
4834 ac_cv_func_shmat=yes
4835 else
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 ac_cv_func_shmat=no
4842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4843 conftest$ac_exeext conftest.$ac_ext
4845 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4846 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4848 if test $ac_cv_func_shmat = no; then
4849 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4850 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4851 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 else
4854 ac_check_lib_save_LIBS=$LIBS
4855 LIBS="-lipc $LIBS"
4856 cat >conftest.$ac_ext <<_ACEOF
4857 /* confdefs.h. */
4858 _ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4863 /* Override any GCC internal prototype to avoid an error.
4864 Use char because int might match the return type of a GCC
4865 builtin and then its argument prototype would still apply. */
4866 #ifdef __cplusplus
4867 extern "C"
4868 #endif
4869 char shmat ();
4871 main ()
4873 return shmat ();
4875 return 0;
4877 _ACEOF
4878 rm -f conftest.$ac_objext conftest$ac_exeext
4879 if { (ac_try="$ac_link"
4880 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4883 esac
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_link") 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest$ac_exeext &&
4895 $as_test_x conftest$ac_exeext; then
4896 ac_cv_lib_ipc_shmat=yes
4897 else
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_lib_ipc_shmat=no
4904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else
4931 ac_check_lib_save_LIBS=$LIBS
4932 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.$ac_ext <<_ACEOF
4934 /* confdefs.h. */
4935 _ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4943 #ifdef __cplusplus
4944 extern "C"
4945 #endif
4946 char IceConnectionNumber ();
4948 main ()
4950 return IceConnectionNumber ();
4952 return 0;
4954 _ACEOF
4955 rm -f conftest.$ac_objext conftest$ac_exeext
4956 if { (ac_try="$ac_link"
4957 case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960 esac
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_link") 2>conftest.er1
4963 ac_status=$?
4964 grep -v '^ *+' conftest.er1 >conftest.err
4965 rm -f conftest.er1
4966 cat conftest.err >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest$ac_exeext &&
4972 $as_test_x conftest$ac_exeext; then
4973 ac_cv_lib_ICE_IceConnectionNumber=yes
4974 else
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_cv_lib_ICE_IceConnectionNumber=no
4981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4982 conftest$ac_exeext conftest.$ac_ext
4983 LIBS=$ac_check_lib_save_LIBS
4985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4986 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4987 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4988 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4991 LDFLAGS=$ac_save_LDFLAGS
4996 for ac_prog in flex
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy $ac_prog; ac_word=$2
5000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5002 if test "${ac_cv_prog_FLEX+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 else
5005 if test -n "$FLEX"; then
5006 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5007 else
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $PATH
5011 IFS=$as_save_IFS
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_FLEX="$ac_prog"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 break 2
5019 done
5020 done
5021 IFS=$as_save_IFS
5025 FLEX=$ac_cv_prog_FLEX
5026 if test -n "$FLEX"; then
5027 { echo "$as_me:$LINENO: result: $FLEX" >&5
5028 echo "${ECHO_T}$FLEX" >&6; }
5029 else
5030 { echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6; }
5035 test -n "$FLEX" && break
5036 done
5037 test -n "$FLEX" || FLEX="none"
5039 if test "$FLEX" = "none"
5040 then
5041 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5042 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5043 { (exit 1); exit 1; }; }
5046 for ac_prog in bison
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy $ac_prog; ac_word=$2
5050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5052 if test "${ac_cv_prog_BISON+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 else
5055 if test -n "$BISON"; then
5056 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_BISON="$ac_prog"
5066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 BISON=$ac_cv_prog_BISON
5076 if test -n "$BISON"; then
5077 { echo "$as_me:$LINENO: result: $BISON" >&5
5078 echo "${ECHO_T}$BISON" >&6; }
5079 else
5080 { echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6; }
5085 test -n "$BISON" && break
5086 done
5087 test -n "$BISON" || BISON="none"
5089 if test "$BISON" = "none"
5090 then
5091 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5092 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5093 { (exit 1); exit 1; }; }
5096 if test -n "$ac_tool_prefix"; then
5097 for ac_prog in gas as
5099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_AS+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 else
5106 if test -n "$AS"; then
5107 ac_cv_prog_AS="$AS" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5122 IFS=$as_save_IFS
5126 AS=$ac_cv_prog_AS
5127 if test -n "$AS"; then
5128 { echo "$as_me:$LINENO: result: $AS" >&5
5129 echo "${ECHO_T}$AS" >&6; }
5130 else
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$AS" && break
5137 done
5139 if test -z "$AS"; then
5140 ac_ct_AS=$AS
5141 for ac_prog in gas as
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy $ac_prog; ac_word=$2
5145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5147 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 else
5150 if test -n "$ac_ct_AS"; then
5151 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AS="$ac_prog"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5171 if test -n "$ac_ct_AS"; then
5172 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5173 echo "${ECHO_T}$ac_ct_AS" >&6; }
5174 else
5175 { echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6; }
5180 test -n "$ac_ct_AS" && break
5181 done
5183 if test "x$ac_ct_AS" = x; then
5184 AS="as"
5185 else
5186 case $cross_compiling:$ac_tool_warned in
5187 yes:)
5188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5189 whose name does not start with the host triplet. If you think this
5190 configuration is useful to you, please write to autoconf@gnu.org." >&5
5191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5192 whose name does not start with the host triplet. If you think this
5193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196 AS=$ac_ct_AS
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}ld; ac_word=$2
5203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5205 if test "${ac_cv_prog_LD+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 else
5208 if test -n "$LD"; then
5209 ac_cv_prog_LD="$LD" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5214 IFS=$as_save_IFS
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_LD="${ac_tool_prefix}ld"
5219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 break 2
5222 done
5223 done
5224 IFS=$as_save_IFS
5228 LD=$ac_cv_prog_LD
5229 if test -n "$LD"; then
5230 { echo "$as_me:$LINENO: result: $LD" >&5
5231 echo "${ECHO_T}$LD" >&6; }
5232 else
5233 { echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6; }
5239 if test -z "$ac_cv_prog_LD"; then
5240 ac_ct_LD=$LD
5241 # Extract the first word of "ld", so it can be a program name with args.
5242 set dummy ld; ac_word=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 if test -n "$ac_ct_LD"; then
5249 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_LD="ld"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5269 if test -n "$ac_ct_LD"; then
5270 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5271 echo "${ECHO_T}$ac_ct_LD" >&6; }
5272 else
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5277 if test "x$ac_ct_LD" = x; then
5278 LD="ld"
5279 else
5280 case $cross_compiling:$ac_tool_warned in
5281 yes:)
5282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5283 whose name does not start with the host triplet. If you think this
5284 configuration is useful to you, please write to autoconf@gnu.org." >&5
5285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5286 whose name does not start with the host triplet. If you think this
5287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290 LD=$ac_ct_LD
5292 else
5293 LD="$ac_cv_prog_LD"
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5298 set dummy ${ac_tool_prefix}ar; ac_word=$2
5299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_AR+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 else
5304 if test -n "$AR"; then
5305 ac_cv_prog_AR="$AR" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_AR="${ac_tool_prefix}ar"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 AR=$ac_cv_prog_AR
5325 if test -n "$AR"; then
5326 { echo "$as_me:$LINENO: result: $AR" >&5
5327 echo "${ECHO_T}$AR" >&6; }
5328 else
5329 { echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6; }
5335 if test -z "$ac_cv_prog_AR"; then
5336 ac_ct_AR=$AR
5337 # Extract the first word of "ar", so it can be a program name with args.
5338 set dummy ar; ac_word=$2
5339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 else
5344 if test -n "$ac_ct_AR"; then
5345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5346 else
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH
5350 IFS=$as_save_IFS
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_AR="ar"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 break 2
5358 done
5359 done
5360 IFS=$as_save_IFS
5364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5365 if test -n "$ac_ct_AR"; then
5366 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5367 echo "${ECHO_T}$ac_ct_AR" >&6; }
5368 else
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5373 if test "x$ac_ct_AR" = x; then
5374 AR="ar"
5375 else
5376 case $cross_compiling:$ac_tool_warned in
5377 yes:)
5378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5379 whose name does not start with the host triplet. If you think this
5380 configuration is useful to you, please write to autoconf@gnu.org." >&5
5381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5382 whose name does not start with the host triplet. If you think this
5383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5384 ac_tool_warned=yes ;;
5385 esac
5386 AR=$ac_ct_AR
5388 else
5389 AR="$ac_cv_prog_AR"
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5397 if test "${ac_cv_prog_RANLIB+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 else
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5402 else
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2
5414 done
5415 done
5416 IFS=$as_save_IFS
5420 RANLIB=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5423 echo "${ECHO_T}$RANLIB" >&6; }
5424 else
5425 { echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 else
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_ac_ct_RANLIB="ranlib"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5464 else
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x; then
5470 RANLIB=":"
5471 else
5472 case $cross_compiling:$ac_tool_warned in
5473 yes:)
5474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5475 whose name does not start with the host triplet. If you think this
5476 configuration is useful to you, please write to autoconf@gnu.org." >&5
5477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5478 whose name does not start with the host triplet. If you think this
5479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 RANLIB=$ac_ct_RANLIB
5484 else
5485 RANLIB="$ac_cv_prog_RANLIB"
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5490 set dummy ${ac_tool_prefix}strip; ac_word=$2
5491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5493 if test "${ac_cv_prog_STRIP+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 else
5496 if test -n "$STRIP"; then
5497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 STRIP=$ac_cv_prog_STRIP
5517 if test -n "$STRIP"; then
5518 { echo "$as_me:$LINENO: result: $STRIP" >&5
5519 echo "${ECHO_T}$STRIP" >&6; }
5520 else
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5527 if test -z "$ac_cv_prog_STRIP"; then
5528 ac_ct_STRIP=$STRIP
5529 # Extract the first word of "strip", so it can be a program name with args.
5530 set dummy strip; ac_word=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 if test -n "$ac_ct_STRIP"; then
5537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_STRIP="strip"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5557 if test -n "$ac_ct_STRIP"; then
5558 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5559 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5560 else
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5565 if test "x$ac_ct_STRIP" = x; then
5566 STRIP="strip"
5567 else
5568 case $cross_compiling:$ac_tool_warned in
5569 yes:)
5570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5571 whose name does not start with the host triplet. If you think this
5572 configuration is useful to you, please write to autoconf@gnu.org." >&5
5573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5574 whose name does not start with the host triplet. If you think this
5575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5576 ac_tool_warned=yes ;;
5577 esac
5578 STRIP=$ac_ct_STRIP
5580 else
5581 STRIP="$ac_cv_prog_STRIP"
5584 if test -n "$ac_tool_prefix"; then
5585 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5586 set dummy ${ac_tool_prefix}windres; ac_word=$2
5587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5589 if test "${ac_cv_prog_WINDRES+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 else
5592 if test -n "$WINDRES"; then
5593 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5594 else
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5612 WINDRES=$ac_cv_prog_WINDRES
5613 if test -n "$WINDRES"; then
5614 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5615 echo "${ECHO_T}$WINDRES" >&6; }
5616 else
5617 { echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6; }
5623 if test -z "$ac_cv_prog_WINDRES"; then
5624 ac_ct_WINDRES=$WINDRES
5625 # Extract the first word of "windres", so it can be a program name with args.
5626 set dummy windres; ac_word=$2
5627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 else
5632 if test -n "$ac_ct_WINDRES"; then
5633 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_ac_ct_WINDRES="windres"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5653 if test -n "$ac_ct_WINDRES"; then
5654 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5655 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5656 else
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5661 if test "x$ac_ct_WINDRES" = x; then
5662 WINDRES="false"
5663 else
5664 case $cross_compiling:$ac_tool_warned in
5665 yes:)
5666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5667 whose name does not start with the host triplet. If you think this
5668 configuration is useful to you, please write to autoconf@gnu.org." >&5
5669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5670 whose name does not start with the host triplet. If you think this
5671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5672 ac_tool_warned=yes ;;
5673 esac
5674 WINDRES=$ac_ct_WINDRES
5676 else
5677 WINDRES="$ac_cv_prog_WINDRES"
5680 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5681 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5682 LN_S=$as_ln_s
5683 if test "$LN_S" = "ln -s"; then
5684 { echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6; }
5686 else
5687 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5688 echo "${ECHO_T}no, using $LN_S" >&6; }
5691 { echo "$as_me:$LINENO: checking whether ln works" >&5
5692 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5693 rm -f conf$$ conf$$.file
5694 echo >conf$$.file
5695 if ln conf$$.file conf$$ 2>/dev/null; then
5696 LN=ln
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5700 else
5701 LN="cp -p"
5703 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5704 echo "${ECHO_T}no, using $LN" >&6; }
5706 rm -f conf$$ conf$$.file
5707 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5708 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5709 if test "${ac_cv_path_GREP+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 else
5712 # Extract the first word of "grep ggrep" to use in msg output
5713 if test -z "$GREP"; then
5714 set dummy grep ggrep; ac_prog_name=$2
5715 if test "${ac_cv_path_GREP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 else
5718 ac_path_GREP_found=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_prog in grep ggrep; do
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5728 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5729 # Check for GNU ac_path_GREP and select it if it is found.
5730 # Check for GNU $ac_path_GREP
5731 case `"$ac_path_GREP" --version 2>&1` in
5732 *GNU*)
5733 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5735 ac_count=0
5736 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5737 while :
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 echo 'GREP' >> "conftest.nl"
5743 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5745 ac_count=`expr $ac_count + 1`
5746 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_GREP="$ac_path_GREP"
5749 ac_path_GREP_max=$ac_count
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5753 done
5754 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5755 esac
5758 $ac_path_GREP_found && break 3
5759 done
5760 done
5762 done
5763 IFS=$as_save_IFS
5768 GREP="$ac_cv_path_GREP"
5769 if test -z "$GREP"; then
5770 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5771 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5772 { (exit 1); exit 1; }; }
5775 else
5776 ac_cv_path_GREP=$GREP
5781 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5782 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5783 GREP="$ac_cv_path_GREP"
5786 { echo "$as_me:$LINENO: checking for egrep" >&5
5787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5788 if test "${ac_cv_path_EGREP+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5792 then ac_cv_path_EGREP="$GREP -E"
5793 else
5794 # Extract the first word of "egrep" to use in msg output
5795 if test -z "$EGREP"; then
5796 set dummy egrep; ac_prog_name=$2
5797 if test "${ac_cv_path_EGREP+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else
5800 ac_path_EGREP_found=false
5801 # Loop through the user's path and test for each of PROGNAME-LIST
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5805 IFS=$as_save_IFS
5806 test -z "$as_dir" && as_dir=.
5807 for ac_prog in egrep; do
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5811 # Check for GNU ac_path_EGREP and select it if it is found.
5812 # Check for GNU $ac_path_EGREP
5813 case `"$ac_path_EGREP" --version 2>&1` in
5814 *GNU*)
5815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5817 ac_count=0
5818 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5819 while :
5821 cat "conftest.in" "conftest.in" >"conftest.tmp"
5822 mv "conftest.tmp" "conftest.in"
5823 cp "conftest.in" "conftest.nl"
5824 echo 'EGREP' >> "conftest.nl"
5825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5827 ac_count=`expr $ac_count + 1`
5828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5829 # Best one so far, save it but keep looking for a better one
5830 ac_cv_path_EGREP="$ac_path_EGREP"
5831 ac_path_EGREP_max=$ac_count
5833 # 10*(2^10) chars as input seems more than enough
5834 test $ac_count -gt 10 && break
5835 done
5836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5837 esac
5840 $ac_path_EGREP_found && break 3
5841 done
5842 done
5844 done
5845 IFS=$as_save_IFS
5850 EGREP="$ac_cv_path_EGREP"
5851 if test -z "$EGREP"; then
5852 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5853 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5854 { (exit 1); exit 1; }; }
5857 else
5858 ac_cv_path_EGREP=$EGREP
5864 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5865 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5866 EGREP="$ac_cv_path_EGREP"
5869 # Extract the first word of "ldconfig", so it can be a program name with args.
5870 set dummy ldconfig; ac_word=$2
5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 else
5876 case $LDCONFIG in
5877 [\\/]* | ?:[\\/]*)
5878 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in /sbin /usr/sbin $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5896 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5898 esac
5900 LDCONFIG=$ac_cv_path_LDCONFIG
5901 if test -n "$LDCONFIG"; then
5902 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5903 echo "${ECHO_T}$LDCONFIG" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5910 # Find a good install program. We prefer a C program (faster),
5911 # so one script is as good as another. But avoid the broken or
5912 # incompatible versions:
5913 # SysV /etc/install, /usr/sbin/install
5914 # SunOS /usr/etc/install
5915 # IRIX /sbin/install
5916 # AIX /bin/install
5917 # AmigaOS /C/install, which installs bootblocks on floppy discs
5918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5921 # OS/2's system install, which has a completely different semantic
5922 # ./install, which can be erroneously created by make from ./install.sh.
5923 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5924 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5925 if test -z "$INSTALL"; then
5926 if test "${ac_cv_path_install+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 # Account for people who put trailing slashes in PATH elements.
5935 case $as_dir/ in
5936 ./ | .// | /cC/* | \
5937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5938 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5939 /usr/ucb/* ) ;;
5941 # OSF1 and SCO ODT 3.0 have their own names for install.
5942 # Don't use installbsd from OSF since it installs stuff as root
5943 # by default.
5944 for ac_prog in ginstall scoinst install; do
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5947 if test $ac_prog = install &&
5948 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5949 # AIX install. It has an incompatible calling convention.
5951 elif test $ac_prog = install &&
5952 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5953 # program-specific install script used by HP pwplus--don't use.
5955 else
5956 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5957 break 3
5960 done
5961 done
5963 esac
5964 done
5965 IFS=$as_save_IFS
5969 if test "${ac_cv_path_install+set}" = set; then
5970 INSTALL=$ac_cv_path_install
5971 else
5972 # As a last resort, use the slow shell script. Don't cache a
5973 # value for INSTALL within a source directory, because that will
5974 # break other packages using the cache if that directory is
5975 # removed, or if the value is a relative name.
5976 INSTALL=$ac_install_sh
5979 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5980 echo "${ECHO_T}$INSTALL" >&6; }
5982 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5983 # It thinks the first close brace ends the variable substitution.
5984 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5986 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5988 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5990 case "$INSTALL" in
5991 [\\/$]* | ?:[\\/]* ) ;;
5992 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5993 esac
5995 for ac_prog in lclint lint
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy $ac_prog; ac_word=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_LINT+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 else
6004 if test -n "$LINT"; then
6005 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_LINT="$ac_prog"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 LINT=$ac_cv_prog_LINT
6025 if test -n "$LINT"; then
6026 { echo "$as_me:$LINENO: result: $LINT" >&5
6027 echo "${ECHO_T}$LINT" >&6; }
6028 else
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6034 test -n "$LINT" && break
6035 done
6037 if test "$LINT" = "lint"
6038 then
6039 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6044 for ac_prog in fontforge
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else
6053 if test -n "$FONTFORGE"; then
6054 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_FONTFORGE="$ac_prog"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 FONTFORGE=$ac_cv_prog_FONTFORGE
6074 if test -n "$FONTFORGE"; then
6075 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6076 echo "${ECHO_T}$FONTFORGE" >&6; }
6077 else
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6083 test -n "$FONTFORGE" && break
6084 done
6085 test -n "$FONTFORGE" || FONTFORGE="false"
6087 for ac_prog in pkg-config
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy $ac_prog; ac_word=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 else
6096 if test -n "$PKG_CONFIG"; then
6097 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_PKG_CONFIG="$ac_prog"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6117 if test -n "$PKG_CONFIG"; then
6118 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6119 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6120 else
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6126 test -n "$PKG_CONFIG" && break
6127 done
6128 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6131 case $host_cpu in
6132 *i[3456789]86*)
6133 # Extract the first word of "prelink", so it can be a program name with args.
6134 set dummy prelink; ac_word=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_path_PRELINK+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 else
6140 case $PRELINK in
6141 [\\/]* | ?:[\\/]*)
6142 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in /sbin /usr/sbin $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6160 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6162 esac
6164 PRELINK=$ac_cv_path_PRELINK
6165 if test -n "$PRELINK"; then
6166 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6167 echo "${ECHO_T}$PRELINK" >&6; }
6168 else
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6175 esac
6179 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6180 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6181 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 else
6184 ac_check_lib_save_LIBS=$LIBS
6185 LIBS="-li386 $LIBS"
6186 cat >conftest.$ac_ext <<_ACEOF
6187 /* confdefs.h. */
6188 _ACEOF
6189 cat confdefs.h >>conftest.$ac_ext
6190 cat >>conftest.$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6196 #ifdef __cplusplus
6197 extern "C"
6198 #endif
6199 char i386_set_ldt ();
6201 main ()
6203 return i386_set_ldt ();
6205 return 0;
6207 _ACEOF
6208 rm -f conftest.$ac_objext conftest$ac_exeext
6209 if { (ac_try="$ac_link"
6210 case "(($ac_try" in
6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6213 esac
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>conftest.er1
6216 ac_status=$?
6217 grep -v '^ *+' conftest.er1 >conftest.err
6218 rm -f conftest.er1
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest$ac_exeext &&
6225 $as_test_x conftest$ac_exeext; then
6226 ac_cv_lib_i386_i386_set_ldt=yes
6227 else
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_cv_lib_i386_i386_set_ldt=no
6234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6235 conftest$ac_exeext conftest.$ac_ext
6236 LIBS=$ac_check_lib_save_LIBS
6238 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6239 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6240 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6241 cat >>confdefs.h <<_ACEOF
6242 #define HAVE_LIBI386 1
6243 _ACEOF
6245 LIBS="-li386 $LIBS"
6250 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6251 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6252 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 else
6255 ac_check_lib_save_LIBS=$LIBS
6256 LIBS="-lossaudio $LIBS"
6257 cat >conftest.$ac_ext <<_ACEOF
6258 /* confdefs.h. */
6259 _ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6264 /* Override any GCC internal prototype to avoid an error.
6265 Use char because int might match the return type of a GCC
6266 builtin and then its argument prototype would still apply. */
6267 #ifdef __cplusplus
6268 extern "C"
6269 #endif
6270 char _oss_ioctl ();
6272 main ()
6274 return _oss_ioctl ();
6276 return 0;
6278 _ACEOF
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6281 case "(($ac_try" in
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6284 esac
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>conftest.er1
6287 ac_status=$?
6288 grep -v '^ *+' conftest.er1 >conftest.err
6289 rm -f conftest.er1
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest$ac_exeext &&
6296 $as_test_x conftest$ac_exeext; then
6297 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 else
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_cv_lib_ossaudio__oss_ioctl=no
6305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6306 conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6314 _ACEOF
6316 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6321 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lpthread $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char pthread_create ();
6342 main ()
6344 return pthread_create ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_pthread_pthread_create=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_pthread_pthread_create=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6380 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6381 if test $ac_cv_lib_pthread_pthread_create = yes; then
6382 LIBPTHREAD="-lpthread"
6387 XLIB=""
6389 XFILES=""
6391 OPENGLFILES=""
6393 GLU32FILES=""
6395 OPENGL_LIBS=""
6397 QUARTZFILES=""
6401 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6403 if test "${ac_cv_header_stdc+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 else
6406 cat >conftest.$ac_ext <<_ACEOF
6407 /* confdefs.h. */
6408 _ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 #include <stdlib.h>
6413 #include <stdarg.h>
6414 #include <string.h>
6415 #include <float.h>
6418 main ()
6422 return 0;
6424 _ACEOF
6425 rm -f conftest.$ac_objext
6426 if { (ac_try="$ac_compile"
6427 case "(($ac_try" in
6428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6429 *) ac_try_echo=$ac_try;;
6430 esac
6431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6432 (eval "$ac_compile") 2>conftest.er1
6433 ac_status=$?
6434 grep -v '^ *+' conftest.er1 >conftest.err
6435 rm -f conftest.er1
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } && {
6439 test -z "$ac_c_werror_flag" ||
6440 test ! -s conftest.err
6441 } && test -s conftest.$ac_objext; then
6442 ac_cv_header_stdc=yes
6443 else
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_cv_header_stdc=no
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat >conftest.$ac_ext <<_ACEOF
6455 /* confdefs.h. */
6456 _ACEOF
6457 cat confdefs.h >>conftest.$ac_ext
6458 cat >>conftest.$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6460 #include <string.h>
6462 _ACEOF
6463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6464 $EGREP "memchr" >/dev/null 2>&1; then
6466 else
6467 ac_cv_header_stdc=no
6469 rm -f conftest*
6473 if test $ac_cv_header_stdc = yes; then
6474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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>
6483 _ACEOF
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "free" >/dev/null 2>&1; then
6487 else
6488 ac_cv_header_stdc=no
6490 rm -f conftest*
6494 if test $ac_cv_header_stdc = yes; then
6495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6496 if test "$cross_compiling" = yes; then
6498 else
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 #include <ctype.h>
6506 #include <stdlib.h>
6507 #if ((' ' & 0x0FF) == 0x020)
6508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6510 #else
6511 # define ISLOWER(c) \
6512 (('a' <= (c) && (c) <= 'i') \
6513 || ('j' <= (c) && (c) <= 'r') \
6514 || ('s' <= (c) && (c) <= 'z'))
6515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6516 #endif
6518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6520 main ()
6522 int i;
6523 for (i = 0; i < 256; i++)
6524 if (XOR (islower (i), ISLOWER (i))
6525 || toupper (i) != TOUPPER (i))
6526 return 2;
6527 return 0;
6529 _ACEOF
6530 rm -f conftest$ac_exeext
6531 if { (ac_try="$ac_link"
6532 case "(($ac_try" in
6533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6535 esac
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_link") 2>&5
6538 ac_status=$?
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6541 { (case "(($ac_try" in
6542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6543 *) ac_try_echo=$ac_try;;
6544 esac
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_try") 2>&5
6547 ac_status=$?
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6551 else
6552 echo "$as_me: program exited with status $ac_status" >&5
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6556 ( exit $ac_status )
6557 ac_cv_header_stdc=no
6559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6565 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6567 if test $ac_cv_header_stdc = yes; then
6569 cat >>confdefs.h <<\_ACEOF
6570 #define STDC_HEADERS 1
6571 _ACEOF
6575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6585 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6586 inttypes.h stdint.h unistd.h
6588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6602 #include <$ac_header>
6603 _ACEOF
6604 rm -f conftest.$ac_objext
6605 if { (ac_try="$ac_compile"
6606 case "(($ac_try" in
6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6609 esac
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_compile") 2>conftest.er1
6612 ac_status=$?
6613 grep -v '^ *+' conftest.er1 >conftest.err
6614 rm -f conftest.er1
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } && {
6618 test -z "$ac_c_werror_flag" ||
6619 test ! -s conftest.err
6620 } && test -s conftest.$ac_objext; then
6621 eval "$as_ac_Header=yes"
6622 else
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 eval "$as_ac_Header=no"
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 ac_res=`eval echo '${'$as_ac_Header'}'`
6632 { echo "$as_me:$LINENO: result: $ac_res" >&5
6633 echo "${ECHO_T}$ac_res" >&6; }
6634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6637 _ACEOF
6641 done
6754 for ac_header in \
6755 AudioUnit/AudioUnit.h \
6756 Carbon/Carbon.h \
6757 CoreAudio/CoreAudio.h \
6758 DiskArbitration/DiskArbitration.h \
6759 IOKit/IOKitLib.h \
6760 alsa/asoundlib.h \
6761 arpa/inet.h \
6762 arpa/nameser.h \
6763 asm/types.h \
6764 capi20.h \
6765 cups/cups.h \
6766 curses.h \
6767 direct.h \
6768 dlfcn.h \
6769 elf.h \
6770 float.h \
6771 fontconfig/fontconfig.h \
6772 getopt.h \
6773 ieeefp.h \
6774 io.h \
6775 jack/jack.h \
6776 jpeglib.h \
6777 lber.h \
6778 lcms.h \
6779 lcms/lcms.h \
6780 ldap.h \
6781 libaudioio.h \
6782 link.h \
6783 linux/cdrom.h \
6784 linux/compiler.h \
6785 linux/hdreg.h \
6786 linux/input.h \
6787 linux/ioctl.h \
6788 linux/joystick.h \
6789 linux/major.h \
6790 linux/param.h \
6791 linux/serial.h \
6792 linux/ucdrom.h \
6793 mach/mach.h \
6794 mach/machine.h \
6795 machine/cpu.h \
6796 machine/limits.h \
6797 machine/soundcard.h \
6798 mntent.h \
6799 ncurses.h \
6800 netdb.h \
6801 netinet/in.h \
6802 netinet/in_systm.h \
6803 netinet/tcp.h \
6804 netinet/tcp_fsm.h \
6805 openssl/err.h \
6806 openssl/ssl.h \
6807 png.h \
6808 poll.h \
6809 process.h \
6810 pthread.h \
6811 pwd.h \
6812 regex.h \
6813 sched.h \
6814 scsi/scsi.h \
6815 scsi/scsi_ioctl.h \
6816 scsi/sg.h \
6817 soundcard.h \
6818 stdint.h \
6819 strings.h \
6820 sys/asoundlib.h \
6821 sys/cdio.h \
6822 sys/elf32.h \
6823 sys/epoll.h \
6824 sys/errno.h \
6825 sys/event.h \
6826 sys/exec_elf.h \
6827 sys/filio.h \
6828 sys/ioctl.h \
6829 sys/ipc.h \
6830 sys/limits.h \
6831 sys/link.h \
6832 sys/lwp.h \
6833 sys/mman.h \
6834 sys/modem.h \
6835 sys/msg.h \
6836 sys/mtio.h \
6837 sys/param.h \
6838 sys/poll.h \
6839 sys/prctl.h \
6840 sys/ptrace.h \
6841 sys/reg.h \
6842 sys/resource.h \
6843 sys/scsiio.h \
6844 sys/shm.h \
6845 sys/signal.h \
6846 sys/socket.h \
6847 sys/socketvar.h \
6848 sys/sockio.h \
6849 sys/soundcard.h \
6850 sys/statvfs.h \
6851 sys/strtio.h \
6852 sys/syscall.h \
6853 sys/sysctl.h \
6854 sys/time.h \
6855 sys/times.h \
6856 sys/uio.h \
6857 sys/un.h \
6858 sys/vm86.h \
6859 sys/wait.h \
6860 syscall.h \
6861 termios.h \
6862 unistd.h \
6863 utime.h \
6864 valgrind/memcheck.h
6867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_res=`eval echo '${'$as_ac_Header'}'`
6875 { echo "$as_me:$LINENO: result: $ac_res" >&5
6876 echo "${ECHO_T}$ac_res" >&6; }
6877 else
6878 # Is the header compilable?
6879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6881 cat >conftest.$ac_ext <<_ACEOF
6882 /* confdefs.h. */
6883 _ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 $ac_includes_default
6888 #include <$ac_header>
6889 _ACEOF
6890 rm -f conftest.$ac_objext
6891 if { (ac_try="$ac_compile"
6892 case "(($ac_try" in
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6895 esac
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_compile") 2>conftest.er1
6898 ac_status=$?
6899 grep -v '^ *+' conftest.er1 >conftest.err
6900 rm -f conftest.er1
6901 cat conftest.err >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.$ac_objext; then
6907 ac_header_compiler=yes
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_header_compiler=no
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6917 echo "${ECHO_T}$ac_header_compiler" >&6; }
6919 # Is the header present?
6920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6922 cat >conftest.$ac_ext <<_ACEOF
6923 /* confdefs.h. */
6924 _ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 #include <$ac_header>
6929 _ACEOF
6930 if { (ac_try="$ac_cpp conftest.$ac_ext"
6931 case "(($ac_try" in
6932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6934 esac
6935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6937 ac_status=$?
6938 grep -v '^ *+' conftest.er1 >conftest.err
6939 rm -f conftest.er1
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } >/dev/null && {
6943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6944 test ! -s conftest.err
6945 }; then
6946 ac_header_preproc=yes
6947 else
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_header_preproc=no
6954 rm -f conftest.err conftest.$ac_ext
6955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6956 echo "${ECHO_T}$ac_header_preproc" >&6; }
6958 # So? What about this header?
6959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6960 yes:no: )
6961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6965 ac_header_preproc=yes
6967 no:yes:* )
6968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6980 ( cat <<\_ASBOX
6981 ## ------------------------------------ ##
6982 ## Report this to wine-devel@winehq.org ##
6983 ## ------------------------------------ ##
6984 _ASBOX
6985 ) | sed "s/^/$as_me: WARNING: /" >&2
6987 esac
6988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 else
6993 eval "$as_ac_Header=\$ac_header_preproc"
6995 ac_res=`eval echo '${'$as_ac_Header'}'`
6996 { echo "$as_me:$LINENO: result: $ac_res" >&5
6997 echo "${ECHO_T}$ac_res" >&6; }
7000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 _ACEOF
7007 done
7009 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7010 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7011 if test "${ac_cv_header_stat_broken+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014 cat >conftest.$ac_ext <<_ACEOF
7015 /* confdefs.h. */
7016 _ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 #include <sys/stat.h>
7023 #if defined S_ISBLK && defined S_IFDIR
7024 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7025 #endif
7027 #if defined S_ISBLK && defined S_IFCHR
7028 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7029 #endif
7031 #if defined S_ISLNK && defined S_IFREG
7032 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7033 #endif
7035 #if defined S_ISSOCK && defined S_IFREG
7036 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7037 #endif
7039 _ACEOF
7040 rm -f conftest.$ac_objext
7041 if { (ac_try="$ac_compile"
7042 case "(($ac_try" in
7043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044 *) ac_try_echo=$ac_try;;
7045 esac
7046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7048 ac_status=$?
7049 grep -v '^ *+' conftest.er1 >conftest.err
7050 rm -f conftest.er1
7051 cat conftest.err >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.$ac_objext; then
7057 ac_cv_header_stat_broken=no
7058 else
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.$ac_ext >&5
7062 ac_cv_header_stat_broken=yes
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7068 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7069 if test $ac_cv_header_stat_broken = yes; then
7071 cat >>confdefs.h <<\_ACEOF
7072 #define STAT_MACROS_BROKEN 1
7073 _ACEOF
7083 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 else
7091 cat >conftest.$ac_ext <<_ACEOF
7092 /* confdefs.h. */
7093 _ACEOF
7094 cat confdefs.h >>conftest.$ac_ext
7095 cat >>conftest.$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 #include <sys/types.h>
7098 #if HAVE_SYS_PARAM_H
7099 # include <sys/param.h>
7100 #endif
7102 #include <$ac_header>
7103 _ACEOF
7104 rm -f conftest.$ac_objext
7105 if { (ac_try="$ac_compile"
7106 case "(($ac_try" in
7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7109 esac
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7112 ac_status=$?
7113 grep -v '^ *+' conftest.er1 >conftest.err
7114 rm -f conftest.er1
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 eval "$as_ac_Header=yes"
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 eval "$as_ac_Header=no"
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7131 ac_res=`eval echo '${'$as_ac_Header'}'`
7132 { echo "$as_me:$LINENO: result: $ac_res" >&5
7133 echo "${ECHO_T}$ac_res" >&6; }
7134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7135 cat >>confdefs.h <<_ACEOF
7136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7137 _ACEOF
7141 done
7152 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
7154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 else
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #if HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7169 #endif
7170 #if HAVE_SYS_SOCKETVAR_H
7171 # include <sys/socketvar.h>
7172 #endif
7173 #if HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7175 #endif
7177 #include <$ac_header>
7178 _ACEOF
7179 rm -f conftest.$ac_objext
7180 if { (ac_try="$ac_compile"
7181 case "(($ac_try" in
7182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7183 *) ac_try_echo=$ac_try;;
7184 esac
7185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7186 (eval "$ac_compile") 2>conftest.er1
7187 ac_status=$?
7188 grep -v '^ *+' conftest.er1 >conftest.err
7189 rm -f conftest.er1
7190 cat conftest.err >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } && {
7193 test -z "$ac_c_werror_flag" ||
7194 test ! -s conftest.err
7195 } && test -s conftest.$ac_objext; then
7196 eval "$as_ac_Header=yes"
7197 else
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.$ac_ext >&5
7201 eval "$as_ac_Header=no"
7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7206 ac_res=`eval echo '${'$as_ac_Header'}'`
7207 { echo "$as_me:$LINENO: result: $ac_res" >&5
7208 echo "${ECHO_T}$ac_res" >&6; }
7209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7210 cat >>confdefs.h <<_ACEOF
7211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7212 _ACEOF
7216 done
7220 for ac_header in netinet/tcp_var.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7238 #if HAVE_SYS_SOCKETVAR_H
7239 # include <sys/socketvar.h>
7240 #endif
7241 #if HAVE_NETINET_IN_H
7242 # include <netinet/in.h>
7243 #endif
7244 #ifdef HAVE_NETINET_TCP_H
7245 # include <netinet/tcp.h>
7246 #endif
7248 #include <$ac_header>
7249 _ACEOF
7250 rm -f conftest.$ac_objext
7251 if { (ac_try="$ac_compile"
7252 case "(($ac_try" in
7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7255 esac
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_compile") 2>conftest.er1
7258 ac_status=$?
7259 grep -v '^ *+' conftest.er1 >conftest.err
7260 rm -f conftest.er1
7261 cat conftest.err >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } && {
7264 test -z "$ac_c_werror_flag" ||
7265 test ! -s conftest.err
7266 } && test -s conftest.$ac_objext; then
7267 eval "$as_ac_Header=yes"
7268 else
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 eval "$as_ac_Header=no"
7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7277 ac_res=`eval echo '${'$as_ac_Header'}'`
7278 { echo "$as_me:$LINENO: result: $ac_res" >&5
7279 echo "${ECHO_T}$ac_res" >&6; }
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7283 _ACEOF
7287 done
7291 for ac_header in linux/ipx.h
7293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 else
7299 cat >conftest.$ac_ext <<_ACEOF
7300 /* confdefs.h. */
7301 _ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 #include <sys/types.h>
7306 #ifdef HAVE_ASM_TYPES_H
7307 # include <asm/types.h>
7308 #endif
7309 #if HAVE_SYS_SOCKET_H
7310 # include <sys/socket.h>
7311 #endif
7313 #include <$ac_header>
7314 _ACEOF
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7317 case "(($ac_try" in
7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7320 esac
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.$ac_objext; then
7332 eval "$as_ac_Header=yes"
7333 else
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342 ac_res=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h <<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7356 for ac_header in resolv.h
7358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 else
7364 cat >conftest.$ac_ext <<_ACEOF
7365 /* confdefs.h. */
7366 _ACEOF
7367 cat confdefs.h >>conftest.$ac_ext
7368 cat >>conftest.$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include <sys/types.h>
7371 #if HAVE_SYS_SOCKET_H
7372 # include <sys/socket.h>
7373 #endif
7374 #if HAVE_NETINET_IN_H
7375 # include <netinet/in.h>
7376 #endif
7377 #if HAVE_ARPA_NAMESER_H
7378 # include <arpa/nameser.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 ucontext.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 <signal.h>
7440 #include <$ac_header>
7441 _ACEOF
7442 rm -f conftest.$ac_objext
7443 if { (ac_try="$ac_compile"
7444 case "(($ac_try" in
7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7446 *) ac_try_echo=$ac_try;;
7447 esac
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_compile") 2>conftest.er1
7450 ac_status=$?
7451 grep -v '^ *+' conftest.er1 >conftest.err
7452 rm -f conftest.er1
7453 cat conftest.err >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest.$ac_objext; then
7459 eval "$as_ac_Header=yes"
7460 else
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.$ac_ext >&5
7464 eval "$as_ac_Header=no"
7467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469 ac_res=`eval echo '${'$as_ac_Header'}'`
7470 { echo "$as_me:$LINENO: result: $ac_res" >&5
7471 echo "${ECHO_T}$ac_res" >&6; }
7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7473 cat >>confdefs.h <<_ACEOF
7474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 _ACEOF
7479 done
7483 for ac_header in sys/thr.h
7485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 else
7491 cat >conftest.$ac_ext <<_ACEOF
7492 /* confdefs.h. */
7493 _ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 #include <sys/types.h>
7498 #if HAVE_UCONTEXT_H
7499 #include <ucontext.h>
7500 #endif
7502 #include <$ac_header>
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (ac_try="$ac_compile"
7506 case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7509 esac
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 eval "$as_ac_Header=yes"
7522 else
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7526 eval "$as_ac_Header=no"
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 ac_res=`eval echo '${'$as_ac_Header'}'`
7532 { echo "$as_me:$LINENO: result: $ac_res" >&5
7533 echo "${ECHO_T}$ac_res" >&6; }
7534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7535 cat >>confdefs.h <<_ACEOF
7536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 _ACEOF
7541 done
7545 for ac_header in pthread_np.h
7547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 else
7553 cat >conftest.$ac_ext <<_ACEOF
7554 /* confdefs.h. */
7555 _ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #ifdef HAVE_PTHREAD_H
7560 #include <pthread.h>
7561 #endif
7563 #include <$ac_header>
7564 _ACEOF
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7567 case "(($ac_try" in
7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7569 *) ac_try_echo=$ac_try;;
7570 esac
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7573 ac_status=$?
7574 grep -v '^ *+' conftest.er1 >conftest.err
7575 rm -f conftest.er1
7576 cat conftest.err >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.$ac_objext; then
7582 eval "$as_ac_Header=yes"
7583 else
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7592 ac_res=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h <<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7606 for ac_header in linux/videodev.h
7608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614 cat >conftest.$ac_ext <<_ACEOF
7615 /* confdefs.h. */
7616 _ACEOF
7617 cat confdefs.h >>conftest.$ac_ext
7618 cat >>conftest.$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 #ifdef HAVE_SYS_TIME_H
7621 #include <sys/time.h>
7622 #endif
7623 #include <sys/types.h>
7624 #ifdef HAVE_ASM_TYPES_H
7625 #include <asm/types.h>
7626 #endif
7628 #include <$ac_header>
7629 _ACEOF
7630 rm -f conftest.$ac_objext
7631 if { (ac_try="$ac_compile"
7632 case "(($ac_try" in
7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7635 esac
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_compile") 2>conftest.er1
7638 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && {
7644 test -z "$ac_c_werror_flag" ||
7645 test ! -s conftest.err
7646 } && test -s conftest.$ac_objext; then
7647 eval "$as_ac_Header=yes"
7648 else
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_res=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h <<_ACEOF
7662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7667 done
7671 for ac_header in linux/capi.h
7673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 else
7679 cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h. */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 #define __user
7687 #include <$ac_header>
7688 _ACEOF
7689 rm -f conftest.$ac_objext
7690 if { (ac_try="$ac_compile"
7691 case "(($ac_try" in
7692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7693 *) ac_try_echo=$ac_try;;
7694 esac
7695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7696 (eval "$ac_compile") 2>conftest.er1
7697 ac_status=$?
7698 grep -v '^ *+' conftest.er1 >conftest.err
7699 rm -f conftest.er1
7700 cat conftest.err >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } && {
7703 test -z "$ac_c_werror_flag" ||
7704 test ! -s conftest.err
7705 } && test -s conftest.$ac_objext; then
7706 eval "$as_ac_Header=yes"
7707 else
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.$ac_ext >&5
7711 eval "$as_ac_Header=no"
7714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716 ac_res=`eval echo '${'$as_ac_Header'}'`
7717 { echo "$as_me:$LINENO: result: $ac_res" >&5
7718 echo "${ECHO_T}$ac_res" >&6; }
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h <<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 _ACEOF
7726 done
7730 DLLEXT=""
7732 DLLFLAGS="-D_REENTRANT"
7734 LDSHARED=""
7736 LDDLLFLAGS=""
7738 LIBEXT="so"
7740 IMPLIBEXT="def"
7742 LDRPATH_INSTALL=""
7744 LDRPATH_LOCAL=""
7746 # Extract the first word of "ldd", so it can be a program name with args.
7747 set dummy ldd; ac_word=$2
7748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7750 if test "${ac_cv_path_LDD+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 else
7753 case $LDD in
7754 [\\/]* | ?:[\\/]*)
7755 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759 as_dummy="/sbin:/usr/sbin:$PATH"
7760 for as_dir in $as_dummy
7762 IFS=$as_save_IFS
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 break 2
7770 done
7771 done
7772 IFS=$as_save_IFS
7774 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7776 esac
7778 LDD=$ac_cv_path_LDD
7779 if test -n "$LDD"; then
7780 { echo "$as_me:$LINENO: result: $LDD" >&5
7781 echo "${ECHO_T}$LDD" >&6; }
7782 else
7783 { echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6; }
7789 case $host_os in
7790 cygwin*|mingw32*)
7791 if test -n "$ac_tool_prefix"; then
7792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7793 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7796 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 else
7799 if test -n "$DLLTOOL"; then
7800 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7801 else
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 for as_dir in $PATH
7805 IFS=$as_save_IFS
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 break 2
7813 done
7814 done
7815 IFS=$as_save_IFS
7819 DLLTOOL=$ac_cv_prog_DLLTOOL
7820 if test -n "$DLLTOOL"; then
7821 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7822 echo "${ECHO_T}$DLLTOOL" >&6; }
7823 else
7824 { echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6; }
7830 if test -z "$ac_cv_prog_DLLTOOL"; then
7831 ac_ct_DLLTOOL=$DLLTOOL
7832 # Extract the first word of "dlltool", so it can be a program name with args.
7833 set dummy dlltool; ac_word=$2
7834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7836 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 else
7839 if test -n "$ac_ct_DLLTOOL"; then
7840 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7841 else
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 for as_dir in $PATH
7845 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 break 2
7853 done
7854 done
7855 IFS=$as_save_IFS
7859 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7862 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7863 else
7864 { echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6; }
7868 if test "x$ac_ct_DLLTOOL" = x; then
7869 DLLTOOL="false"
7870 else
7871 case $cross_compiling:$ac_tool_warned in
7872 yes:)
7873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7874 whose name does not start with the host triplet. If you think this
7875 configuration is useful to you, please write to autoconf@gnu.org." >&5
7876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7877 whose name does not start with the host triplet. If you think this
7878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7879 ac_tool_warned=yes ;;
7880 esac
7881 DLLTOOL=$ac_ct_DLLTOOL
7883 else
7884 DLLTOOL="$ac_cv_prog_DLLTOOL"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7892 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 else
7895 if test -n "$DLLWRAP"; then
7896 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7897 else
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 for as_dir in $PATH
7901 IFS=$as_save_IFS
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 break 2
7909 done
7910 done
7911 IFS=$as_save_IFS
7915 DLLWRAP=$ac_cv_prog_DLLWRAP
7916 if test -n "$DLLWRAP"; then
7917 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7918 echo "${ECHO_T}$DLLWRAP" >&6; }
7919 else
7920 { echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6; }
7926 if test -z "$ac_cv_prog_DLLWRAP"; then
7927 ac_ct_DLLWRAP=$DLLWRAP
7928 # Extract the first word of "dllwrap", so it can be a program name with args.
7929 set dummy dllwrap; ac_word=$2
7930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7932 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7934 else
7935 if test -n "$ac_ct_DLLWRAP"; then
7936 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7937 else
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7955 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7958 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7959 else
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7964 if test "x$ac_ct_DLLWRAP" = x; then
7965 DLLWRAP="false"
7966 else
7967 case $cross_compiling:$ac_tool_warned in
7968 yes:)
7969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7970 whose name does not start with the host triplet. If you think this
7971 configuration is useful to you, please write to autoconf@gnu.org." >&5
7972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7973 whose name does not start with the host triplet. If you think this
7974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7975 ac_tool_warned=yes ;;
7976 esac
7977 DLLWRAP=$ac_ct_DLLWRAP
7979 else
7980 DLLWRAP="$ac_cv_prog_DLLWRAP"
7983 if test -n "$ac_tool_prefix"; then
7984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7985 set dummy ${ac_tool_prefix}ar; ac_word=$2
7986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7988 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 else
7991 if test -n "$MINGWAR"; then
7992 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7993 else
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 for as_dir in $PATH
7997 IFS=$as_save_IFS
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 break 2
8005 done
8006 done
8007 IFS=$as_save_IFS
8011 MINGWAR=$ac_cv_prog_MINGWAR
8012 if test -n "$MINGWAR"; then
8013 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8014 echo "${ECHO_T}$MINGWAR" >&6; }
8015 else
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8022 if test -z "$ac_cv_prog_MINGWAR"; then
8023 ac_ct_MINGWAR=$MINGWAR
8024 # Extract the first word of "ar", so it can be a program name with args.
8025 set dummy ar; ac_word=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8030 else
8031 if test -n "$ac_ct_MINGWAR"; then
8032 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8033 else
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 for as_dir in $PATH
8037 IFS=$as_save_IFS
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_ac_ct_MINGWAR="ar"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 break 2
8045 done
8046 done
8047 IFS=$as_save_IFS
8051 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8052 if test -n "$ac_ct_MINGWAR"; then
8053 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8054 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8055 else
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8060 if test "x$ac_ct_MINGWAR" = x; then
8061 MINGWAR="false"
8062 else
8063 case $cross_compiling:$ac_tool_warned in
8064 yes:)
8065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8066 whose name does not start with the host triplet. If you think this
8067 configuration is useful to you, please write to autoconf@gnu.org." >&5
8068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8069 whose name does not start with the host triplet. If you think this
8070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8071 ac_tool_warned=yes ;;
8072 esac
8073 MINGWAR=$ac_ct_MINGWAR
8075 else
8076 MINGWAR="$ac_cv_prog_MINGWAR"
8079 if test "$DLLWRAP" = "false"; then
8080 LIBEXT="a"
8081 else
8082 LIBEXT="dll"
8084 IMPLIBEXT="a"
8085 WIN16_FILES=""
8086 WIN16_INSTALL=""
8088 darwin*|macosx*)
8089 DLLEXT=".so"
8090 LIBEXT="dylib"
8091 DLLFLAGS="$DLLFLAGS -fPIC"
8092 LDDLLFLAGS="-bundle -multiply_defined suppress"
8093 LIBWINE_LDFLAGS="-multiply_defined suppress"
8094 LDSHARED="\$(CC) -dynamiclib"
8095 STRIP="$STRIP -x"
8096 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8097 SECURITYLIB="-framework Security -framework CoreFoundation"
8099 COREFOUNDATIONLIB="-framework CoreFoundation"
8101 IOKITLIB="-framework IOKit -framework CoreFoundation"
8103 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8105 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8106 then
8107 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8110 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8111 then
8112 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8115 case $host_cpu in
8116 *powerpc*)
8117 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8118 esac
8119 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8120 then
8121 CARBONLIB="-framework Carbon"
8123 QUARTZFILES='$(QUARTZFILES)'
8127 DLLFLAGS="$DLLFLAGS -fPIC"
8128 DLLEXT=".so"
8129 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8130 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8131 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8136 cat >conftest.$ac_ext <<_ACEOF
8137 void myfunc() {}
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (ac_try="$ac_link"
8141 case "(($ac_try" in
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8144 esac
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_link") 2>conftest.er1
8147 ac_status=$?
8148 grep -v '^ *+' conftest.er1 >conftest.err
8149 rm -f conftest.er1
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest$ac_exeext &&
8156 $as_test_x conftest$ac_exeext; then
8157 ac_cv_c_dll_gnuelf="yes"
8158 else
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 ac_cv_c_dll_gnuelf="no"
8165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8170 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8171 if test "$ac_cv_c_dll_gnuelf" = "yes"
8172 then
8173 LDSHARED="\$(CC) -shared"
8174 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8175 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8176 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8177 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8182 cat >conftest.$ac_ext <<_ACEOF
8183 /* confdefs.h. */
8184 _ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8190 main ()
8194 return 0;
8196 _ACEOF
8197 rm -f conftest.$ac_objext conftest$ac_exeext
8198 if { (ac_try="$ac_link"
8199 case "(($ac_try" in
8200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8201 *) ac_try_echo=$ac_try;;
8202 esac
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_link") 2>conftest.er1
8205 ac_status=$?
8206 grep -v '^ *+' conftest.er1 >conftest.err
8207 rm -f conftest.er1
8208 cat conftest.err >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } && {
8211 test -z "$ac_c_werror_flag" ||
8212 test ! -s conftest.err
8213 } && test -s conftest$ac_exeext &&
8214 $as_test_x conftest$ac_exeext; then
8215 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8216 else
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.$ac_ext >&5
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8228 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8229 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8230 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8231 else
8232 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8233 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8234 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8239 cat >conftest.$ac_ext <<_ACEOF
8240 /* confdefs.h. */
8241 _ACEOF
8242 cat confdefs.h >>conftest.$ac_ext
8243 cat >>conftest.$ac_ext <<_ACEOF
8244 /* end confdefs.h. */
8247 main ()
8251 return 0;
8253 _ACEOF
8254 rm -f conftest.$ac_objext conftest$ac_exeext
8255 if { (ac_try="$ac_link"
8256 case "(($ac_try" in
8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8259 esac
8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_link") 2>conftest.er1
8262 ac_status=$?
8263 grep -v '^ *+' conftest.er1 >conftest.err
8264 rm -f conftest.er1
8265 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && {
8268 test -z "$ac_c_werror_flag" ||
8269 test ! -s conftest.err
8270 } && test -s conftest$ac_exeext &&
8271 $as_test_x conftest$ac_exeext; then
8272 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8273 else
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8285 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8286 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8287 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8293 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8294 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8295 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298 ac_wine_try_cflags_saved=$CFLAGS
8299 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8300 cat >conftest.$ac_ext <<_ACEOF
8301 /* confdefs.h. */
8302 _ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8308 main ()
8312 return 0;
8314 _ACEOF
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8317 case "(($ac_try" in
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8320 esac
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8323 ac_status=$?
8324 grep -v '^ *+' conftest.er1 >conftest.err
8325 rm -f conftest.er1
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest$ac_exeext &&
8332 $as_test_x conftest$ac_exeext; then
8333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8342 conftest$ac_exeext conftest.$ac_ext
8343 CFLAGS=$ac_wine_try_cflags_saved
8345 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8346 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8347 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8348 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8352 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8353 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8354 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 else
8357 ac_wine_try_cflags_saved=$CFLAGS
8358 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8359 cat >conftest.$ac_ext <<_ACEOF
8360 /* confdefs.h. */
8361 _ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8367 main ()
8371 return 0;
8373 _ACEOF
8374 rm -f conftest.$ac_objext conftest$ac_exeext
8375 if { (ac_try="$ac_link"
8376 case "(($ac_try" in
8377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8379 esac
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8382 ac_status=$?
8383 grep -v '^ *+' conftest.er1 >conftest.err
8384 rm -f conftest.er1
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8393 else
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8405 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8406 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8407 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8411 echo '{ global: *; };' >conftest.map
8412 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8413 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8414 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8415 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8419 cat >conftest.$ac_ext <<_ACEOF
8420 /* confdefs.h. */
8421 _ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8427 main ()
8431 return 0;
8433 _ACEOF
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (ac_try="$ac_link"
8436 case "(($ac_try" in
8437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438 *) ac_try_echo=$ac_try;;
8439 esac
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_link") 2>conftest.er1
8442 ac_status=$?
8443 grep -v '^ *+' conftest.er1 >conftest.err
8444 rm -f conftest.er1
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest$ac_exeext &&
8451 $as_test_x conftest$ac_exeext; then
8452 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8453 else
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8465 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8466 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8467 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8470 rm -f conftest.map
8472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8473 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8474 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8479 cat >conftest.$ac_ext <<_ACEOF
8480 /* confdefs.h. */
8481 _ACEOF
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8487 main ()
8491 return 0;
8493 _ACEOF
8494 rm -f conftest.$ac_objext conftest$ac_exeext
8495 if { (ac_try="$ac_link"
8496 case "(($ac_try" in
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8499 esac
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_link") 2>conftest.er1
8502 ac_status=$?
8503 grep -v '^ *+' conftest.er1 >conftest.err
8504 rm -f conftest.er1
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest$ac_exeext &&
8511 $as_test_x conftest$ac_exeext; then
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8525 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8526 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8527 LDEXECFLAGS="-Wl,--export-dynamic"
8532 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8534 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 else
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8540 cat >conftest.$ac_ext <<_ACEOF
8541 /* confdefs.h. */
8542 _ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8548 main ()
8552 return 0;
8554 _ACEOF
8555 rm -f conftest.$ac_objext conftest$ac_exeext
8556 if { (ac_try="$ac_link"
8557 case "(($ac_try" in
8558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8560 esac
8561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_link") 2>conftest.er1
8563 ac_status=$?
8564 grep -v '^ *+' conftest.er1 >conftest.err
8565 rm -f conftest.er1
8566 cat conftest.err >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && {
8569 test -z "$ac_c_werror_flag" ||
8570 test ! -s conftest.err
8571 } && test -s conftest$ac_exeext &&
8572 $as_test_x conftest$ac_exeext; then
8573 eval "$as_ac_var=yes"
8574 else
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8578 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 ac_res=`eval echo '${'$as_ac_var'}'`
8586 { echo "$as_me:$LINENO: result: $ac_res" >&5
8587 echo "${ECHO_T}$ac_res" >&6; }
8588 if test `eval echo '${'$as_ac_var'}'` = yes; then
8589 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8591 else
8592 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8593 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat >conftest.$ac_ext <<_ACEOF
8601 /* confdefs.h. */
8602 _ACEOF
8603 cat confdefs.h >>conftest.$ac_ext
8604 cat >>conftest.$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8608 main ()
8612 return 0;
8614 _ACEOF
8615 rm -f conftest.$ac_objext conftest$ac_exeext
8616 if { (ac_try="$ac_link"
8617 case "(($ac_try" in
8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8619 *) ac_try_echo=$ac_try;;
8620 esac
8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8622 (eval "$ac_link") 2>conftest.er1
8623 ac_status=$?
8624 grep -v '^ *+' conftest.er1 >conftest.err
8625 rm -f conftest.er1
8626 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && {
8629 test -z "$ac_c_werror_flag" ||
8630 test ! -s conftest.err
8631 } && test -s conftest$ac_exeext &&
8632 $as_test_x conftest$ac_exeext; then
8633 eval "$as_ac_var=yes"
8634 else
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8638 eval "$as_ac_var=no"
8641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 ac_res=`eval echo '${'$as_ac_var'}'`
8646 { echo "$as_me:$LINENO: result: $ac_res" >&5
8647 echo "${ECHO_T}$ac_res" >&6; }
8648 if test `eval echo '${'$as_ac_var'}'` = yes; then
8649 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8650 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8657 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8663 cat >conftest.$ac_ext <<_ACEOF
8664 /* confdefs.h. */
8665 _ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8671 main ()
8675 return 0;
8677 _ACEOF
8678 rm -f conftest.$ac_objext conftest$ac_exeext
8679 if { (ac_try="$ac_link"
8680 case "(($ac_try" in
8681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8682 *) ac_try_echo=$ac_try;;
8683 esac
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_link") 2>conftest.er1
8686 ac_status=$?
8687 grep -v '^ *+' conftest.er1 >conftest.err
8688 rm -f conftest.er1
8689 cat conftest.err >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } && {
8692 test -z "$ac_c_werror_flag" ||
8693 test ! -s conftest.err
8694 } && test -s conftest$ac_exeext &&
8695 $as_test_x conftest$ac_exeext; then
8696 ac_cv_cflags__Wl___enable_new_dtags=yes
8697 else
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.$ac_ext >&5
8701 ac_cv_cflags__Wl___enable_new_dtags=no
8704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8711 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8715 case $host_cpu in
8716 *i[3456789]86* | x86_64)
8717 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8718 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8719 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8724 cat >conftest.$ac_ext <<_ACEOF
8725 /* confdefs.h. */
8726 _ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8732 main ()
8736 return 0;
8738 _ACEOF
8739 rm -f conftest.$ac_objext conftest$ac_exeext
8740 if { (ac_try="$ac_link"
8741 case "(($ac_try" in
8742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743 *) ac_try_echo=$ac_try;;
8744 esac
8745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746 (eval "$ac_link") 2>conftest.er1
8747 ac_status=$?
8748 grep -v '^ *+' conftest.er1 >conftest.err
8749 rm -f conftest.er1
8750 cat conftest.err >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } && {
8753 test -z "$ac_c_werror_flag" ||
8754 test ! -s conftest.err
8755 } && test -s conftest$ac_exeext &&
8756 $as_test_x conftest$ac_exeext; then
8757 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8758 else
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8770 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8771 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8772 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8776 esac
8778 else
8779 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8781 if test "${ac_cv_c_dll_unixware+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat >conftest.$ac_ext <<_ACEOF
8787 void myfunc() {}
8788 _ACEOF
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8791 case "(($ac_try" in
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8794 esac
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext &&
8806 $as_test_x conftest$ac_exeext; then
8807 ac_cv_c_dll_unixware="yes"
8808 else
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_c_dll_unixware="no"
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8820 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8822 then
8823 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8824 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8826 else
8827 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8828 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8829 if test "${ac_cv_c_dll_hpux+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -shared"
8834 cat >conftest.$ac_ext <<_ACEOF
8835 void myfunc() {}
8836 _ACEOF
8837 rm -f conftest.$ac_objext conftest$ac_exeext
8838 if { (ac_try="$ac_link"
8839 case "(($ac_try" in
8840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8842 esac
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_link") 2>conftest.er1
8845 ac_status=$?
8846 grep -v '^ *+' conftest.er1 >conftest.err
8847 rm -f conftest.er1
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } && {
8851 test -z "$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8853 } && test -s conftest$ac_exeext &&
8854 $as_test_x conftest$ac_exeext; then
8855 ac_cv_c_dll_hpux="yes"
8856 else
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_c_dll_hpux="no"
8863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8868 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8869 if test "$ac_cv_c_dll_hpux" = "yes"
8870 then
8871 LIBEXT="sl"
8872 DLLEXT=".sl"
8873 LDDLLFLAGS="-shared -fPIC"
8874 LDSHARED="\$(CC) -shared"
8879 CROSSTEST=""
8881 if test "$cross_compiling" = "no"
8882 then
8883 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8885 # Extract the first word of "$ac_prog", so it can be a program name with args.
8886 set dummy $ac_prog; ac_word=$2
8887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8889 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 else
8892 if test -n "$CROSSCC"; then
8893 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8894 else
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 for as_dir in $PATH
8898 IFS=$as_save_IFS
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_prog_CROSSCC="$ac_prog"
8903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 break 2
8906 done
8907 done
8908 IFS=$as_save_IFS
8912 CROSSCC=$ac_cv_prog_CROSSCC
8913 if test -n "$CROSSCC"; then
8914 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8915 echo "${ECHO_T}$CROSSCC" >&6; }
8916 else
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8922 test -n "$CROSSCC" && break
8923 done
8924 test -n "$CROSSCC" || CROSSCC="false"
8926 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8928 # Extract the first word of "$ac_prog", so it can be a program name with args.
8929 set dummy $ac_prog; ac_word=$2
8930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else
8935 if test -n "$DLLTOOL"; then
8936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8937 else
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 for as_dir in $PATH
8941 IFS=$as_save_IFS
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8945 ac_cv_prog_DLLTOOL="$ac_prog"
8946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8947 break 2
8949 done
8950 done
8951 IFS=$as_save_IFS
8955 DLLTOOL=$ac_cv_prog_DLLTOOL
8956 if test -n "$DLLTOOL"; then
8957 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8958 echo "${ECHO_T}$DLLTOOL" >&6; }
8959 else
8960 { echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6; }
8965 test -n "$DLLTOOL" && break
8966 done
8967 test -n "$DLLTOOL" || DLLTOOL="false"
8969 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8971 # Extract the first word of "$ac_prog", so it can be a program name with args.
8972 set dummy $ac_prog; ac_word=$2
8973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8975 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 if test -n "$CROSSWINDRES"; then
8979 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8980 else
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 for as_dir in $PATH
8984 IFS=$as_save_IFS
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_CROSSWINDRES="$ac_prog"
8989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8990 break 2
8992 done
8993 done
8994 IFS=$as_save_IFS
8998 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8999 if test -n "$CROSSWINDRES"; then
9000 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9001 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9002 else
9003 { echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6; }
9008 test -n "$CROSSWINDRES" && break
9009 done
9010 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9012 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9014 # Extract the first word of "$ac_prog", so it can be a program name with args.
9015 set dummy $ac_prog; ac_word=$2
9016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9018 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 else
9021 if test -n "$MINGWAR"; then
9022 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9023 else
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 for as_dir in $PATH
9027 IFS=$as_save_IFS
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_MINGWAR="$ac_prog"
9032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 break 2
9035 done
9036 done
9037 IFS=$as_save_IFS
9041 MINGWAR=$ac_cv_prog_MINGWAR
9042 if test -n "$MINGWAR"; then
9043 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9044 echo "${ECHO_T}$MINGWAR" >&6; }
9045 else
9046 { echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6; }
9051 test -n "$MINGWAR" && break
9052 done
9053 test -n "$MINGWAR" || MINGWAR="false"
9055 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9058 esac
9060 if test "$LIBEXT" = "a"; then
9061 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9062 It is currently not possible to build Wine without shared library
9063 (.so) support to allow transparent switch between .so and .dll files.
9064 If you are using Linux, you will need a newer binutils.
9065 " >&5
9066 echo "$as_me: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9070 " >&2;}
9071 { (exit 1); exit 1; }; }
9075 if test "$have_x" = "yes"
9076 then
9077 XLIB="-lXext -lX11"
9078 ac_save_CPPFLAGS="$CPPFLAGS"
9079 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9081 { echo "$as_me:$LINENO: checking for -lX11" >&5
9082 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_soname_X11+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 else
9086 ac_check_soname_save_LIBS=$LIBS
9087 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9089 /* confdefs.h. */
9090 _ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9098 #ifdef __cplusplus
9099 extern "C"
9100 #endif
9101 char XCreateWindow ();
9103 main ()
9105 return XCreateWindow ();
9107 return 0;
9109 _ACEOF
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9112 case "(($ac_try" in
9113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9115 esac
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9118 ac_status=$?
9119 grep -v '^ *+' conftest.er1 >conftest.err
9120 rm -f conftest.er1
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest$ac_exeext &&
9127 $as_test_x conftest$ac_exeext; then
9128 case "$LIBEXT" in
9129 dll) ;;
9130 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'` ;;
9131 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9132 esac
9133 else
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.$ac_ext >&5
9140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_soname_save_LIBS
9144 if test "x$ac_cv_lib_soname_X11" = "x"; then
9145 { echo "$as_me:$LINENO: result: not found" >&5
9146 echo "${ECHO_T}not found" >&6; }
9148 else
9149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9150 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9152 cat >>confdefs.h <<_ACEOF
9153 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9154 _ACEOF
9159 { echo "$as_me:$LINENO: checking for -lXext" >&5
9160 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9161 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 else
9164 ac_check_soname_save_LIBS=$LIBS
9165 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9166 cat >conftest.$ac_ext <<_ACEOF
9167 /* confdefs.h. */
9168 _ACEOF
9169 cat confdefs.h >>conftest.$ac_ext
9170 cat >>conftest.$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char XextCreateExtension ();
9181 main ()
9183 return XextCreateExtension ();
9185 return 0;
9187 _ACEOF
9188 rm -f conftest.$ac_objext conftest$ac_exeext
9189 if { (ac_try="$ac_link"
9190 case "(($ac_try" in
9191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9193 esac
9194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9195 (eval "$ac_link") 2>conftest.er1
9196 ac_status=$?
9197 grep -v '^ *+' conftest.er1 >conftest.err
9198 rm -f conftest.er1
9199 cat conftest.err >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } && {
9202 test -z "$ac_c_werror_flag" ||
9203 test ! -s conftest.err
9204 } && test -s conftest$ac_exeext &&
9205 $as_test_x conftest$ac_exeext; then
9206 case "$LIBEXT" in
9207 dll) ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9210 esac
9211 else
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9223 { echo "$as_me:$LINENO: result: not found" >&5
9224 echo "${ECHO_T}not found" >&6; }
9226 else
9227 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9228 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9232 _ACEOF
9250 for ac_header in X11/Xlib.h \
9251 X11/XKBlib.h \
9252 X11/Xutil.h \
9253 X11/Xcursor/Xcursor.h \
9254 X11/extensions/shape.h \
9255 X11/extensions/XInput.h \
9256 X11/extensions/XShm.h \
9257 X11/extensions/Xcomposite.h \
9258 X11/extensions/Xinerama.h \
9259 X11/extensions/Xrandr.h \
9260 X11/extensions/Xrender.h \
9261 X11/extensions/xf86vmode.h
9263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 cat >conftest.$ac_ext <<_ACEOF
9270 /* confdefs.h. */
9271 _ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #ifdef HAVE_X11_XLIB_H
9276 # include <X11/Xlib.h>
9277 #endif
9278 #ifdef HAVE_X11_XUTIL_H
9279 # include <X11/Xutil.h>
9280 #endif
9282 #include <$ac_header>
9283 _ACEOF
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9286 case "(($ac_try" in
9287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9288 *) ac_try_echo=$ac_try;;
9289 esac
9290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291 (eval "$ac_compile") 2>conftest.er1
9292 ac_status=$?
9293 grep -v '^ *+' conftest.er1 >conftest.err
9294 rm -f conftest.er1
9295 cat conftest.err >&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } && {
9298 test -z "$ac_c_werror_flag" ||
9299 test ! -s conftest.err
9300 } && test -s conftest.$ac_objext; then
9301 eval "$as_ac_Header=yes"
9302 else
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 eval "$as_ac_Header=no"
9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9311 ac_res=`eval echo '${'$as_ac_Header'}'`
9312 { echo "$as_me:$LINENO: result: $ac_res" >&5
9313 echo "${ECHO_T}$ac_res" >&6; }
9314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9315 cat >>confdefs.h <<_ACEOF
9316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9317 _ACEOF
9321 done
9324 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9325 then
9326 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9327 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9328 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 else
9331 ac_check_lib_save_LIBS=$LIBS
9332 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9343 #ifdef __cplusplus
9344 extern "C"
9345 #endif
9346 char XkbQueryExtension ();
9348 main ()
9350 return XkbQueryExtension ();
9352 return 0;
9354 _ACEOF
9355 rm -f conftest.$ac_objext conftest$ac_exeext
9356 if { (ac_try="$ac_link"
9357 case "(($ac_try" in
9358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9359 *) ac_try_echo=$ac_try;;
9360 esac
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9362 (eval "$ac_link") 2>conftest.er1
9363 ac_status=$?
9364 grep -v '^ *+' conftest.er1 >conftest.err
9365 rm -f conftest.er1
9366 cat conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } && {
9369 test -z "$ac_c_werror_flag" ||
9370 test ! -s conftest.err
9371 } && test -s conftest$ac_exeext &&
9372 $as_test_x conftest$ac_exeext; then
9373 ac_cv_lib_X11_XkbQueryExtension=yes
9374 else
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9378 ac_cv_lib_X11_XkbQueryExtension=no
9381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9386 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9387 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9389 cat >>confdefs.h <<\_ACEOF
9390 #define HAVE_XKB 1
9391 _ACEOF
9397 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9398 then
9399 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9400 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9401 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 else
9404 ac_check_soname_save_LIBS=$LIBS
9405 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9406 cat >conftest.$ac_ext <<_ACEOF
9407 /* confdefs.h. */
9408 _ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char XcursorImageLoadCursor ();
9421 main ()
9423 return XcursorImageLoadCursor ();
9425 return 0;
9427 _ACEOF
9428 rm -f conftest.$ac_objext conftest$ac_exeext
9429 if { (ac_try="$ac_link"
9430 case "(($ac_try" in
9431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432 *) ac_try_echo=$ac_try;;
9433 esac
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_link") 2>conftest.er1
9436 ac_status=$?
9437 grep -v '^ *+' conftest.er1 >conftest.err
9438 rm -f conftest.er1
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && {
9442 test -z "$ac_c_werror_flag" ||
9443 test ! -s conftest.err
9444 } && test -s conftest$ac_exeext &&
9445 $as_test_x conftest$ac_exeext; then
9446 case "$LIBEXT" in
9447 dll) ;;
9448 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'` ;;
9449 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9450 esac
9451 else
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.$ac_ext >&5
9458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9459 conftest$ac_exeext conftest.$ac_ext
9460 LIBS=$ac_check_soname_save_LIBS
9462 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9463 { echo "$as_me:$LINENO: result: not found" >&5
9464 echo "${ECHO_T}not found" >&6; }
9466 else
9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9468 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9470 cat >>confdefs.h <<_ACEOF
9471 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9472 _ACEOF
9479 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9480 then
9481 { echo "$as_me:$LINENO: checking for -lXi" >&5
9482 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9483 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 else
9486 ac_check_soname_save_LIBS=$LIBS
9487 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9488 cat >conftest.$ac_ext <<_ACEOF
9489 /* confdefs.h. */
9490 _ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 char XOpenDevice ();
9503 main ()
9505 return XOpenDevice ();
9507 return 0;
9509 _ACEOF
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (ac_try="$ac_link"
9512 case "(($ac_try" in
9513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9515 esac
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9528 case "$LIBEXT" in
9529 dll) ;;
9530 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'` ;;
9531 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9532 esac
9533 else
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9545 { echo "$as_me:$LINENO: result: not found" >&5
9546 echo "${ECHO_T}not found" >&6; }
9548 else
9549 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9550 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9554 _ACEOF
9561 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9562 then
9563 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9564 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9565 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9570 cat >conftest.$ac_ext <<_ACEOF
9571 /* confdefs.h. */
9572 _ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9580 #ifdef __cplusplus
9581 extern "C"
9582 #endif
9583 char XShmQueryExtension ();
9585 main ()
9587 return XShmQueryExtension ();
9589 return 0;
9591 _ACEOF
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (ac_try="$ac_link"
9594 case "(($ac_try" in
9595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9596 *) ac_try_echo=$ac_try;;
9597 esac
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_link") 2>conftest.er1
9600 ac_status=$?
9601 grep -v '^ *+' conftest.er1 >conftest.err
9602 rm -f conftest.er1
9603 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest$ac_exeext &&
9609 $as_test_x conftest$ac_exeext; then
9610 ac_cv_lib_Xext_XShmQueryExtension=yes
9611 else
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9615 ac_cv_lib_Xext_XShmQueryExtension=no
9618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9619 conftest$ac_exeext conftest.$ac_ext
9620 LIBS=$ac_check_lib_save_LIBS
9622 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9623 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9624 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9626 cat >>confdefs.h <<\_ACEOF
9627 #define HAVE_LIBXXSHM 1
9628 _ACEOF
9633 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9634 wine_notices="$wine_notices|XShm development files not found.
9635 Wine will be built without XShm support. (winex11.drv)"
9639 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9640 then
9641 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9642 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9643 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 else
9646 ac_check_lib_save_LIBS=$LIBS
9647 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9648 cat >conftest.$ac_ext <<_ACEOF
9649 /* confdefs.h. */
9650 _ACEOF
9651 cat confdefs.h >>conftest.$ac_ext
9652 cat >>conftest.$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char XShapeQueryExtension ();
9663 main ()
9665 return XShapeQueryExtension ();
9667 return 0;
9669 _ACEOF
9670 rm -f conftest.$ac_objext conftest$ac_exeext
9671 if { (ac_try="$ac_link"
9672 case "(($ac_try" in
9673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9674 *) ac_try_echo=$ac_try;;
9675 esac
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_link") 2>conftest.er1
9678 ac_status=$?
9679 grep -v '^ *+' conftest.er1 >conftest.err
9680 rm -f conftest.er1
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest$ac_exeext &&
9687 $as_test_x conftest$ac_exeext; then
9688 ac_cv_lib_Xext_XShapeQueryExtension=yes
9689 else
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.$ac_ext >&5
9693 ac_cv_lib_Xext_XShapeQueryExtension=no
9696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9701 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9702 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9704 cat >>confdefs.h <<\_ACEOF
9705 #define HAVE_LIBXSHAPE 1
9706 _ACEOF
9711 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9712 wine_notices="$wine_notices|XShape development files not found.
9713 Wine will be built without XShape support. (winex11.drv)"
9717 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9718 then
9719 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9720 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9724 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9727 /* confdefs.h. */
9728 _ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XF86VidModeQueryExtension ();
9741 main ()
9743 return XF86VidModeQueryExtension ();
9745 return 0;
9747 _ACEOF
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9750 case "(($ac_try" in
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9753 esac
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9756 ac_status=$?
9757 grep -v '^ *+' conftest.er1 >conftest.err
9758 rm -f conftest.er1
9759 cat conftest.err >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest$ac_exeext &&
9765 $as_test_x conftest$ac_exeext; then
9766 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9767 else
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9771 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_lib_save_LIBS
9778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9779 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9780 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9782 cat >>confdefs.h <<\_ACEOF
9783 #define HAVE_LIBXXF86VM 1
9784 _ACEOF
9786 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9791 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9792 wine_notices="$wine_notices|Xxf86vm development files not found.
9793 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9797 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"
9798 then
9799 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9800 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9801 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 else
9804 ac_check_soname_save_LIBS=$LIBS
9805 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9806 cat >conftest.$ac_ext <<_ACEOF
9807 /* confdefs.h. */
9808 _ACEOF
9809 cat confdefs.h >>conftest.$ac_ext
9810 cat >>conftest.$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9816 #ifdef __cplusplus
9817 extern "C"
9818 #endif
9819 char XRenderQueryExtension ();
9821 main ()
9823 return XRenderQueryExtension ();
9825 return 0;
9827 _ACEOF
9828 rm -f conftest.$ac_objext conftest$ac_exeext
9829 if { (ac_try="$ac_link"
9830 case "(($ac_try" in
9831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9833 esac
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9836 ac_status=$?
9837 grep -v '^ *+' conftest.er1 >conftest.err
9838 rm -f conftest.er1
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9846 case "$LIBEXT" in
9847 dll) ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9850 esac
9851 else
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9863 { echo "$as_me:$LINENO: result: not found" >&5
9864 echo "${ECHO_T}not found" >&6; }
9866 else
9867 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9868 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9872 _ACEOF
9874 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9875 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9876 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 else
9879 ac_check_lib_save_LIBS=$LIBS
9880 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9881 cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h. */
9883 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9891 #ifdef __cplusplus
9892 extern "C"
9893 #endif
9894 char XRenderSetPictureTransform ();
9896 main ()
9898 return XRenderSetPictureTransform ();
9900 return 0;
9902 _ACEOF
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9905 case "(($ac_try" in
9906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9907 *) ac_try_echo=$ac_try;;
9908 esac
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9911 ac_status=$?
9912 grep -v '^ *+' conftest.er1 >conftest.err
9913 rm -f conftest.er1
9914 cat conftest.err >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest$ac_exeext &&
9920 $as_test_x conftest$ac_exeext; then
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9922 else
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9930 conftest$ac_exeext conftest.$ac_ext
9931 LIBS=$ac_check_lib_save_LIBS
9933 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9934 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9935 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9937 cat >>confdefs.h <<\_ACEOF
9938 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9939 _ACEOF
9947 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9948 wine_notices="$wine_notices|XRender development files not found.
9949 Wine will be built without XRender support. (winex11.drv)"
9953 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9954 then
9955 cat >conftest.$ac_ext <<_ACEOF
9956 /* confdefs.h. */
9957 _ACEOF
9958 cat confdefs.h >>conftest.$ac_ext
9959 cat >>conftest.$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9961 #include <X11/Xlib.h>
9962 #include <X11/extensions/Xrandr.h>
9964 main ()
9966 static typeof(XRRSetScreenConfigAndRate) * func;
9968 return 0;
9970 _ACEOF
9971 rm -f conftest.$ac_objext
9972 if { (ac_try="$ac_compile"
9973 case "(($ac_try" in
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_compile") 2>conftest.er1
9979 ac_status=$?
9980 grep -v '^ *+' conftest.er1 >conftest.err
9981 rm -f conftest.er1
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest.$ac_objext; then
9988 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9989 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9990 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 else
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9995 cat >conftest.$ac_ext <<_ACEOF
9996 /* confdefs.h. */
9997 _ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XRRQueryExtension ();
10010 main ()
10012 return XRRQueryExtension ();
10014 return 0;
10016 _ACEOF
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10022 esac
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_link") 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } && {
10031 test -z "$ac_c_werror_flag" ||
10032 test ! -s conftest.err
10033 } && test -s conftest$ac_exeext &&
10034 $as_test_x conftest$ac_exeext; then
10035 case "$LIBEXT" in
10036 dll) ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10039 esac
10040 else
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10052 { echo "$as_me:$LINENO: result: not found" >&5
10053 echo "${ECHO_T}not found" >&6; }
10055 else
10056 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10057 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10059 cat >>confdefs.h <<_ACEOF
10060 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10061 _ACEOF
10066 else
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.$ac_ext >&5
10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 wine_notices="$wine_notices|XRandr development files not found.
10077 Wine will be built without XRandr support. (winex11.drv)"
10081 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10082 then
10083 cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h. */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10092 main ()
10094 static typeof(XineramaQueryScreens) * func;
10096 return 0;
10098 _ACEOF
10099 rm -f conftest.$ac_objext
10100 if { (ac_try="$ac_compile"
10101 case "(($ac_try" in
10102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10104 esac
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_compile") 2>conftest.er1
10107 ac_status=$?
10108 grep -v '^ *+' conftest.er1 >conftest.err
10109 rm -f conftest.er1
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } && {
10113 test -z "$ac_c_werror_flag" ||
10114 test ! -s conftest.err
10115 } && test -s conftest.$ac_objext; then
10116 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10117 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10118 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 else
10121 ac_check_soname_save_LIBS=$LIBS
10122 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10123 cat >conftest.$ac_ext <<_ACEOF
10124 /* confdefs.h. */
10125 _ACEOF
10126 cat confdefs.h >>conftest.$ac_ext
10127 cat >>conftest.$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10133 #ifdef __cplusplus
10134 extern "C"
10135 #endif
10136 char XineramaQueryScreens ();
10138 main ()
10140 return XineramaQueryScreens ();
10142 return 0;
10144 _ACEOF
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (ac_try="$ac_link"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10150 esac
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_link") 2>conftest.er1
10153 ac_status=$?
10154 grep -v '^ *+' conftest.er1 >conftest.err
10155 rm -f conftest.er1
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && {
10159 test -z "$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10161 } && test -s conftest$ac_exeext &&
10162 $as_test_x conftest$ac_exeext; then
10163 case "$LIBEXT" in
10164 dll) ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10167 esac
10168 else
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.$ac_ext >&5
10175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10180 { echo "$as_me:$LINENO: result: not found" >&5
10181 echo "${ECHO_T}not found" >&6; }
10183 else
10184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10185 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10189 _ACEOF
10194 else
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.$ac_ext >&5
10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 wine_notices="$wine_notices|Xinerama development files not found.
10205 Wine will be built without Xinerama support. (winex11.drv)"
10209 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10210 then
10211 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10212 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10213 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 else
10216 ac_check_soname_save_LIBS=$LIBS
10217 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10218 cat >conftest.$ac_ext <<_ACEOF
10219 /* confdefs.h. */
10220 _ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char XCompositeRedirectWindow ();
10233 main ()
10235 return XCompositeRedirectWindow ();
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (ac_try="$ac_link"
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_link") 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_exeext &&
10257 $as_test_x conftest$ac_exeext; then
10258 case "$LIBEXT" in
10259 dll) ;;
10260 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10261 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10262 esac
10263 else
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10275 { echo "$as_me:$LINENO: result: not found" >&5
10276 echo "${ECHO_T}not found" >&6; }
10278 else
10279 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10280 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10282 cat >>confdefs.h <<_ACEOF
10283 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10284 _ACEOF
10290 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10291 wine_notices="$wine_notices|XComposite development files not found.
10292 Wine will be built without XComposite support. (winex11.drv)"
10297 if test "x$with_opengl" != "xno"
10298 then
10303 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else
10311 cat >conftest.$ac_ext <<_ACEOF
10312 /* confdefs.h. */
10313 _ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 #ifdef HAVE_GL_GLX_H
10318 # include <GL/glx.h>
10319 #endif
10321 #include <$ac_header>
10322 _ACEOF
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10328 esac
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10331 ac_status=$?
10332 grep -v '^ *+' conftest.er1 >conftest.err
10333 rm -f conftest.er1
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.$ac_objext; then
10340 eval "$as_ac_Header=yes"
10341 else
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10345 eval "$as_ac_Header=no"
10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 ac_res=`eval echo '${'$as_ac_Header'}'`
10351 { echo "$as_me:$LINENO: result: $ac_res" >&5
10352 echo "${ECHO_T}$ac_res" >&6; }
10353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10354 cat >>confdefs.h <<_ACEOF
10355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10356 _ACEOF
10360 done
10362 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10363 then
10364 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10365 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10366 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 else
10369 cat >conftest.$ac_ext <<_ACEOF
10370 /* confdefs.h. */
10371 _ACEOF
10372 cat confdefs.h >>conftest.$ac_ext
10373 cat >>conftest.$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10375 #include <GL/gl.h>
10377 main ()
10379 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10381 return 0;
10383 _ACEOF
10384 rm -f conftest.$ac_objext
10385 if { (ac_try="$ac_compile"
10386 case "(($ac_try" in
10387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10389 esac
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_compile") 2>conftest.er1
10392 ac_status=$?
10393 grep -v '^ *+' conftest.er1 >conftest.err
10394 rm -f conftest.er1
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest.$ac_objext; then
10401 wine_cv_opengl_header_version_OK="yes"
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 wine_cv_opengl_header_version_OK="no"
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10412 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10414 if test "$wine_cv_opengl_header_version_OK" = "yes"
10415 then
10416 { echo "$as_me:$LINENO: checking for -lGL" >&5
10417 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10418 if test "${ac_cv_lib_soname_GL+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 else
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10423 cat >conftest.$ac_ext <<_ACEOF
10424 /* confdefs.h. */
10425 _ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10433 #ifdef __cplusplus
10434 extern "C"
10435 #endif
10436 char glXCreateContext ();
10438 main ()
10440 return glXCreateContext ();
10442 return 0;
10444 _ACEOF
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (ac_try="$ac_link"
10447 case "(($ac_try" in
10448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10449 *) ac_try_echo=$ac_try;;
10450 esac
10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10452 (eval "$ac_link") 2>conftest.er1
10453 ac_status=$?
10454 grep -v '^ *+' conftest.er1 >conftest.err
10455 rm -f conftest.er1
10456 cat conftest.err >&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && {
10459 test -z "$ac_c_werror_flag" ||
10460 test ! -s conftest.err
10461 } && test -s conftest$ac_exeext &&
10462 $as_test_x conftest$ac_exeext; then
10463 case "$LIBEXT" in
10464 dll) ;;
10465 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'` ;;
10466 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10467 esac
10468 else
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_soname_save_LIBS
10479 if test "x$ac_cv_lib_soname_GL" = "x"; then
10480 { echo "$as_me:$LINENO: result: not found" >&5
10481 echo "${ECHO_T}not found" >&6; }
10482 { echo "$as_me:$LINENO: checking for -lGL" >&5
10483 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10484 if test "${ac_cv_lib_soname_GL+set}" = set; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 else
10487 ac_check_soname_save_LIBS=$LIBS
10488 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10489 cat >conftest.$ac_ext <<_ACEOF
10490 /* confdefs.h. */
10491 _ACEOF
10492 cat confdefs.h >>conftest.$ac_ext
10493 cat >>conftest.$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char glXCreateContext ();
10504 main ()
10506 return glXCreateContext ();
10508 return 0;
10510 _ACEOF
10511 rm -f conftest.$ac_objext conftest$ac_exeext
10512 if { (ac_try="$ac_link"
10513 case "(($ac_try" in
10514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10515 *) ac_try_echo=$ac_try;;
10516 esac
10517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10518 (eval "$ac_link") 2>conftest.er1
10519 ac_status=$?
10520 grep -v '^ *+' conftest.er1 >conftest.err
10521 rm -f conftest.er1
10522 cat conftest.err >&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } && {
10525 test -z "$ac_c_werror_flag" ||
10526 test ! -s conftest.err
10527 } && test -s conftest$ac_exeext &&
10528 $as_test_x conftest$ac_exeext; then
10529 case "$LIBEXT" in
10530 dll) ;;
10531 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'` ;;
10532 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10533 esac
10534 else
10535 echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.$ac_ext >&5
10541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_soname_save_LIBS
10545 if test "x$ac_cv_lib_soname_GL" = "x"; then
10546 { echo "$as_me:$LINENO: result: not found" >&5
10547 echo "${ECHO_T}not found" >&6; }
10548 if test -f /usr/X11R6/lib/libGL.a
10549 then
10550 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10551 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10552 else
10553 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10554 Wine will be built without OpenGL or Direct3D support."
10556 else
10557 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10558 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10560 cat >>confdefs.h <<_ACEOF
10561 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10562 _ACEOF
10564 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10565 OPENGLFILES='$(OPENGLFILES)'
10567 cat >>confdefs.h <<\_ACEOF
10568 #define HAVE_OPENGL 1
10569 _ACEOF
10573 else
10574 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10575 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10577 cat >>confdefs.h <<_ACEOF
10578 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10579 _ACEOF
10581 OPENGL_LIBS="-lGL"
10582 OPENGLFILES='$(OPENGLFILES)'
10584 cat >>confdefs.h <<\_ACEOF
10585 #define HAVE_OPENGL 1
10586 _ACEOF
10591 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10592 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10593 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 else
10596 ac_check_lib_save_LIBS=$LIBS
10597 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10598 cat >conftest.$ac_ext <<_ACEOF
10599 /* confdefs.h. */
10600 _ACEOF
10601 cat confdefs.h >>conftest.$ac_ext
10602 cat >>conftest.$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10608 #ifdef __cplusplus
10609 extern "C"
10610 #endif
10611 char gluLookAt ();
10613 main ()
10615 return gluLookAt ();
10617 return 0;
10619 _ACEOF
10620 rm -f conftest.$ac_objext conftest$ac_exeext
10621 if { (ac_try="$ac_link"
10622 case "(($ac_try" in
10623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10624 *) ac_try_echo=$ac_try;;
10625 esac
10626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10627 (eval "$ac_link") 2>conftest.er1
10628 ac_status=$?
10629 grep -v '^ *+' conftest.er1 >conftest.err
10630 rm -f conftest.er1
10631 cat conftest.err >&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } && {
10634 test -z "$ac_c_werror_flag" ||
10635 test ! -s conftest.err
10636 } && test -s conftest$ac_exeext &&
10637 $as_test_x conftest$ac_exeext; then
10638 ac_cv_lib_GLU_gluLookAt=yes
10639 else
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.$ac_ext >&5
10643 ac_cv_lib_GLU_gluLookAt=no
10646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_lib_save_LIBS
10650 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10651 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10652 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10653 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10654 GLU32FILES='$(GLU32FILES)'
10658 else
10659 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10660 Wine will be built without OpenGL or Direct3D support."
10662 else
10663 wine_warnings="$wine_warnings|OpenGL development headers not found.
10664 Wine will be built without OpenGL or Direct3D support."
10668 NASLIBS=""
10671 for ac_header in audio/audiolib.h
10673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 ac_res=`eval echo '${'$as_ac_Header'}'`
10681 { echo "$as_me:$LINENO: result: $ac_res" >&5
10682 echo "${ECHO_T}$ac_res" >&6; }
10683 else
10684 # Is the header compilable?
10685 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10687 cat >conftest.$ac_ext <<_ACEOF
10688 /* confdefs.h. */
10689 _ACEOF
10690 cat confdefs.h >>conftest.$ac_ext
10691 cat >>conftest.$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10693 $ac_includes_default
10694 #include <$ac_header>
10695 _ACEOF
10696 rm -f conftest.$ac_objext
10697 if { (ac_try="$ac_compile"
10698 case "(($ac_try" in
10699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10700 *) ac_try_echo=$ac_try;;
10701 esac
10702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10703 (eval "$ac_compile") 2>conftest.er1
10704 ac_status=$?
10705 grep -v '^ *+' conftest.er1 >conftest.err
10706 rm -f conftest.er1
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } && {
10710 test -z "$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10712 } && test -s conftest.$ac_objext; then
10713 ac_header_compiler=yes
10714 else
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ac_header_compiler=no
10721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10722 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10723 echo "${ECHO_T}$ac_header_compiler" >&6; }
10725 # Is the header present?
10726 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10728 cat >conftest.$ac_ext <<_ACEOF
10729 /* confdefs.h. */
10730 _ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734 #include <$ac_header>
10735 _ACEOF
10736 if { (ac_try="$ac_cpp conftest.$ac_ext"
10737 case "(($ac_try" in
10738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10739 *) ac_try_echo=$ac_try;;
10740 esac
10741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10743 ac_status=$?
10744 grep -v '^ *+' conftest.er1 >conftest.err
10745 rm -f conftest.er1
10746 cat conftest.err >&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } >/dev/null && {
10749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10750 test ! -s conftest.err
10751 }; then
10752 ac_header_preproc=yes
10753 else
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10757 ac_header_preproc=no
10760 rm -f conftest.err conftest.$ac_ext
10761 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10762 echo "${ECHO_T}$ac_header_preproc" >&6; }
10764 # So? What about this header?
10765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10766 yes:no: )
10767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10771 ac_header_preproc=yes
10773 no:yes:* )
10774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10786 ( cat <<\_ASBOX
10787 ## ------------------------------------ ##
10788 ## Report this to wine-devel@winehq.org ##
10789 ## ------------------------------------ ##
10790 _ASBOX
10791 ) | sed "s/^/$as_me: WARNING: /" >&2
10793 esac
10794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 else
10799 eval "$as_ac_Header=\$ac_header_preproc"
10801 ac_res=`eval echo '${'$as_ac_Header'}'`
10802 { echo "$as_me:$LINENO: result: $ac_res" >&5
10803 echo "${ECHO_T}$ac_res" >&6; }
10806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10807 cat >>confdefs.h <<_ACEOF
10808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10809 _ACEOF
10811 for ac_header in audio/soundlib.h
10813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 else
10819 cat >conftest.$ac_ext <<_ACEOF
10820 /* confdefs.h. */
10821 _ACEOF
10822 cat confdefs.h >>conftest.$ac_ext
10823 cat >>conftest.$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10825 #include <audio/audiolib.h>
10827 #include <$ac_header>
10828 _ACEOF
10829 rm -f conftest.$ac_objext
10830 if { (ac_try="$ac_compile"
10831 case "(($ac_try" in
10832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10833 *) ac_try_echo=$ac_try;;
10834 esac
10835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10836 (eval "$ac_compile") 2>conftest.er1
10837 ac_status=$?
10838 grep -v '^ *+' conftest.er1 >conftest.err
10839 rm -f conftest.er1
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && {
10843 test -z "$ac_c_werror_flag" ||
10844 test ! -s conftest.err
10845 } && test -s conftest.$ac_objext; then
10846 eval "$as_ac_Header=yes"
10847 else
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10851 eval "$as_ac_Header=no"
10854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10856 ac_res=`eval echo '${'$as_ac_Header'}'`
10857 { echo "$as_me:$LINENO: result: $ac_res" >&5
10858 echo "${ECHO_T}$ac_res" >&6; }
10859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10860 cat >>confdefs.h <<_ACEOF
10861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10862 _ACEOF
10866 done
10868 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10869 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10870 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10875 cat >conftest.$ac_ext <<_ACEOF
10876 /* confdefs.h. */
10877 _ACEOF
10878 cat confdefs.h >>conftest.$ac_ext
10879 cat >>conftest.$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char AuCreateFlow ();
10890 main ()
10892 return AuCreateFlow ();
10894 return 0;
10896 _ACEOF
10897 rm -f conftest.$ac_objext conftest$ac_exeext
10898 if { (ac_try="$ac_link"
10899 case "(($ac_try" in
10900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10901 *) ac_try_echo=$ac_try;;
10902 esac
10903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10904 (eval "$ac_link") 2>conftest.er1
10905 ac_status=$?
10906 grep -v '^ *+' conftest.er1 >conftest.err
10907 rm -f conftest.er1
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } && {
10911 test -z "$ac_c_werror_flag" ||
10912 test ! -s conftest.err
10913 } && test -s conftest$ac_exeext &&
10914 $as_test_x conftest$ac_exeext; then
10915 ac_cv_lib_audio_AuCreateFlow=yes
10916 else
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 ac_cv_lib_audio_AuCreateFlow=no
10923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_lib_save_LIBS
10927 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10928 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10929 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10931 cat >>confdefs.h <<\_ACEOF
10932 #define HAVE_NAS 1
10933 _ACEOF
10935 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10936 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10937 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 else
10940 ac_check_lib_save_LIBS=$LIBS
10941 LIBS="-lXau $X_LIBS $LIBS"
10942 cat >conftest.$ac_ext <<_ACEOF
10943 /* confdefs.h. */
10944 _ACEOF
10945 cat confdefs.h >>conftest.$ac_ext
10946 cat >>conftest.$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10952 #ifdef __cplusplus
10953 extern "C"
10954 #endif
10955 char XauGetBestAuthByAddr ();
10957 main ()
10959 return XauGetBestAuthByAddr ();
10961 return 0;
10963 _ACEOF
10964 rm -f conftest.$ac_objext conftest$ac_exeext
10965 if { (ac_try="$ac_link"
10966 case "(($ac_try" in
10967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10969 esac
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_link") 2>conftest.er1
10972 ac_status=$?
10973 grep -v '^ *+' conftest.er1 >conftest.err
10974 rm -f conftest.er1
10975 cat conftest.err >&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } && {
10978 test -z "$ac_c_werror_flag" ||
10979 test ! -s conftest.err
10980 } && test -s conftest$ac_exeext &&
10981 $as_test_x conftest$ac_exeext; then
10982 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10983 else
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10987 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10995 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10996 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10997 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10998 else
10999 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11007 done
11010 CPPFLAGS="$ac_save_CPPFLAGS"
11011 XFILES='$(XFILES)'
11012 else
11013 XLIB=""
11014 X_CFLAGS=""
11015 X_LIBS=""
11016 wine_warnings="$wine_warnings|X development files not found. Wine will be built
11017 without X support, which probably isn't what you want. You will need to install
11018 development packages of Xlib/Xfree86 at the very least."
11022 XML2LIBS=""
11024 XML2INCL=""
11026 XSLTLIBS=""
11028 XSLTINCL=""
11030 ac_save_CPPFLAGS="$CPPFLAGS"
11031 if test "$PKG_CONFIG" != "false"
11032 then
11033 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11034 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11035 else
11036 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11037 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11039 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11041 for ac_header in libxml/parser.h
11043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 ac_res=`eval echo '${'$as_ac_Header'}'`
11051 { echo "$as_me:$LINENO: result: $ac_res" >&5
11052 echo "${ECHO_T}$ac_res" >&6; }
11053 else
11054 # Is the header compilable?
11055 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11057 cat >conftest.$ac_ext <<_ACEOF
11058 /* confdefs.h. */
11059 _ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11063 $ac_includes_default
11064 #include <$ac_header>
11065 _ACEOF
11066 rm -f conftest.$ac_objext
11067 if { (ac_try="$ac_compile"
11068 case "(($ac_try" in
11069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11070 *) ac_try_echo=$ac_try;;
11071 esac
11072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11073 (eval "$ac_compile") 2>conftest.er1
11074 ac_status=$?
11075 grep -v '^ *+' conftest.er1 >conftest.err
11076 rm -f conftest.er1
11077 cat conftest.err >&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } && {
11080 test -z "$ac_c_werror_flag" ||
11081 test ! -s conftest.err
11082 } && test -s conftest.$ac_objext; then
11083 ac_header_compiler=yes
11084 else
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.$ac_ext >&5
11088 ac_header_compiler=no
11091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11093 echo "${ECHO_T}$ac_header_compiler" >&6; }
11095 # Is the header present?
11096 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11098 cat >conftest.$ac_ext <<_ACEOF
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 #include <$ac_header>
11105 _ACEOF
11106 if { (ac_try="$ac_cpp conftest.$ac_ext"
11107 case "(($ac_try" in
11108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11109 *) ac_try_echo=$ac_try;;
11110 esac
11111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11113 ac_status=$?
11114 grep -v '^ *+' conftest.er1 >conftest.err
11115 rm -f conftest.er1
11116 cat conftest.err >&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } >/dev/null && {
11119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11120 test ! -s conftest.err
11121 }; then
11122 ac_header_preproc=yes
11123 else
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.$ac_ext >&5
11127 ac_header_preproc=no
11130 rm -f conftest.err conftest.$ac_ext
11131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11132 echo "${ECHO_T}$ac_header_preproc" >&6; }
11134 # So? What about this header?
11135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11136 yes:no: )
11137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11141 ac_header_preproc=yes
11143 no:yes:* )
11144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11156 ( cat <<\_ASBOX
11157 ## ------------------------------------ ##
11158 ## Report this to wine-devel@winehq.org ##
11159 ## ------------------------------------ ##
11160 _ASBOX
11161 ) | sed "s/^/$as_me: WARNING: /" >&2
11163 esac
11164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11167 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 else
11169 eval "$as_ac_Header=\$ac_header_preproc"
11171 ac_res=`eval echo '${'$as_ac_Header'}'`
11172 { echo "$as_me:$LINENO: result: $ac_res" >&5
11173 echo "${ECHO_T}$ac_res" >&6; }
11176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11177 cat >>confdefs.h <<_ACEOF
11178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11179 _ACEOF
11180 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11181 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11182 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 else
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lxml2 $ac_xml_libs $LIBS"
11187 cat >conftest.$ac_ext <<_ACEOF
11188 /* confdefs.h. */
11189 _ACEOF
11190 cat confdefs.h >>conftest.$ac_ext
11191 cat >>conftest.$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char xmlParseMemory ();
11202 main ()
11204 return xmlParseMemory ();
11206 return 0;
11208 _ACEOF
11209 rm -f conftest.$ac_objext conftest$ac_exeext
11210 if { (ac_try="$ac_link"
11211 case "(($ac_try" in
11212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11213 *) ac_try_echo=$ac_try;;
11214 esac
11215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11216 (eval "$ac_link") 2>conftest.er1
11217 ac_status=$?
11218 grep -v '^ *+' conftest.er1 >conftest.err
11219 rm -f conftest.er1
11220 cat conftest.err >&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && {
11223 test -z "$ac_c_werror_flag" ||
11224 test ! -s conftest.err
11225 } && test -s conftest$ac_exeext &&
11226 $as_test_x conftest$ac_exeext; then
11227 ac_cv_lib_xml2_xmlParseMemory=yes
11228 else
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.$ac_ext >&5
11232 ac_cv_lib_xml2_xmlParseMemory=no
11235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11236 conftest$ac_exeext conftest.$ac_ext
11237 LIBS=$ac_check_lib_save_LIBS
11239 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11240 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11241 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11243 cat >>confdefs.h <<\_ACEOF
11244 #define HAVE_LIBXML2 1
11245 _ACEOF
11247 XML2LIBS="$ac_xml_libs"
11248 XML2INCL="$ac_xml_cflags"
11251 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11252 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11253 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 else
11256 ac_check_lib_save_LIBS=$LIBS
11257 LIBS="-lxml2 $ac_xml_libs $LIBS"
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char xmlReadMemory ();
11273 main ()
11275 return xmlReadMemory ();
11277 return 0;
11279 _ACEOF
11280 rm -f conftest.$ac_objext conftest$ac_exeext
11281 if { (ac_try="$ac_link"
11282 case "(($ac_try" in
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11285 esac
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_link") 2>conftest.er1
11288 ac_status=$?
11289 grep -v '^ *+' conftest.er1 >conftest.err
11290 rm -f conftest.er1
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && {
11294 test -z "$ac_c_werror_flag" ||
11295 test ! -s conftest.err
11296 } && test -s conftest$ac_exeext &&
11297 $as_test_x conftest$ac_exeext; then
11298 ac_cv_lib_xml2_xmlReadMemory=yes
11299 else
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.$ac_ext >&5
11303 ac_cv_lib_xml2_xmlReadMemory=no
11306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11311 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11312 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11314 cat >>confdefs.h <<\_ACEOF
11315 #define HAVE_XMLREADMEMORY 1
11316 _ACEOF
11320 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11321 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11322 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxml2 $ac_xml_libs $LIBS"
11327 cat >conftest.$ac_ext <<_ACEOF
11328 /* confdefs.h. */
11329 _ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char xmlNewDocPI ();
11342 main ()
11344 return xmlNewDocPI ();
11346 return 0;
11348 _ACEOF
11349 rm -f conftest.$ac_objext conftest$ac_exeext
11350 if { (ac_try="$ac_link"
11351 case "(($ac_try" in
11352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11353 *) ac_try_echo=$ac_try;;
11354 esac
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_link") 2>conftest.er1
11357 ac_status=$?
11358 grep -v '^ *+' conftest.er1 >conftest.err
11359 rm -f conftest.er1
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest$ac_exeext &&
11366 $as_test_x conftest$ac_exeext; then
11367 ac_cv_lib_xml2_xmlNewDocPI=yes
11368 else
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11372 ac_cv_lib_xml2_xmlNewDocPI=no
11375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11380 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11381 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11383 cat >>confdefs.h <<\_ACEOF
11384 #define HAVE_XMLNEWDOCPI 1
11385 _ACEOF
11392 done
11394 CPPFLAGS="$ac_save_CPPFLAGS"
11395 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11396 wine_notices="$wine_notices|libxml2 development files not found.
11397 Wine will be built without XML support. (msxml.dll)"
11401 if test "$PKG_CONFIG" != "false"
11402 then
11403 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11404 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11405 else
11406 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11407 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11409 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11412 for ac_header in libxslt/pattern.h libxslt/transform.h
11414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 else
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 #ifdef HAVE_LIBXSLT_PATTERN_H
11427 # include <libxslt/pattern.h>
11428 #endif
11430 #include <$ac_header>
11431 _ACEOF
11432 rm -f conftest.$ac_objext
11433 if { (ac_try="$ac_compile"
11434 case "(($ac_try" in
11435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11436 *) ac_try_echo=$ac_try;;
11437 esac
11438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11439 (eval "$ac_compile") 2>conftest.er1
11440 ac_status=$?
11441 grep -v '^ *+' conftest.er1 >conftest.err
11442 rm -f conftest.er1
11443 cat conftest.err >&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } && {
11446 test -z "$ac_c_werror_flag" ||
11447 test ! -s conftest.err
11448 } && test -s conftest.$ac_objext; then
11449 eval "$as_ac_Header=yes"
11450 else
11451 echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.$ac_ext >&5
11454 eval "$as_ac_Header=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11459 ac_res=`eval echo '${'$as_ac_Header'}'`
11460 { echo "$as_me:$LINENO: result: $ac_res" >&5
11461 echo "${ECHO_T}$ac_res" >&6; }
11462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11463 cat >>confdefs.h <<_ACEOF
11464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11465 _ACEOF
11466 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11467 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11468 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11469 echo $ECHO_N "(cached) $ECHO_C" >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lxslt $ac_xslt_libs $LIBS"
11473 cat >conftest.$ac_ext <<_ACEOF
11474 /* confdefs.h. */
11475 _ACEOF
11476 cat confdefs.h >>conftest.$ac_ext
11477 cat >>conftest.$ac_ext <<_ACEOF
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char xsltCompilePattern ();
11488 main ()
11490 return xsltCompilePattern ();
11492 return 0;
11494 _ACEOF
11495 rm -f conftest.$ac_objext conftest$ac_exeext
11496 if { (ac_try="$ac_link"
11497 case "(($ac_try" in
11498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499 *) ac_try_echo=$ac_try;;
11500 esac
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_link") 2>conftest.er1
11503 ac_status=$?
11504 grep -v '^ *+' conftest.er1 >conftest.err
11505 rm -f conftest.er1
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } && {
11509 test -z "$ac_c_werror_flag" ||
11510 test ! -s conftest.err
11511 } && test -s conftest$ac_exeext &&
11512 $as_test_x conftest$ac_exeext; then
11513 ac_cv_lib_xslt_xsltCompilePattern=yes
11514 else
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.$ac_ext >&5
11518 ac_cv_lib_xslt_xsltCompilePattern=no
11521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11526 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11527 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11529 cat >>confdefs.h <<\_ACEOF
11530 #define HAVE_LIBXSLT 1
11531 _ACEOF
11533 XSLTLIBS="$ac_xslt_libs"
11534 XSLTINCL="$ac_xslt_cflags"
11540 done
11542 CPPFLAGS="$ac_save_CPPFLAGS"
11543 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11544 wine_notices="$wine_notices|libxslt development files not found.
11545 Wine will be built without xslt support. (msxml.dll)"
11549 HALINCL=""
11551 if test "$PKG_CONFIG" != "false"
11552 then
11553 ac_save_CPPFLAGS="$CPPFLAGS"
11554 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11555 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11556 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11559 for ac_header in dbus/dbus.h hal/libhal.h
11561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 ac_res=`eval echo '${'$as_ac_Header'}'`
11569 { echo "$as_me:$LINENO: result: $ac_res" >&5
11570 echo "${ECHO_T}$ac_res" >&6; }
11571 else
11572 # Is the header compilable?
11573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11575 cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h. */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 $ac_includes_default
11582 #include <$ac_header>
11583 _ACEOF
11584 rm -f conftest.$ac_objext
11585 if { (ac_try="$ac_compile"
11586 case "(($ac_try" in
11587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11588 *) ac_try_echo=$ac_try;;
11589 esac
11590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11591 (eval "$ac_compile") 2>conftest.er1
11592 ac_status=$?
11593 grep -v '^ *+' conftest.er1 >conftest.err
11594 rm -f conftest.er1
11595 cat conftest.err >&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } && {
11598 test -z "$ac_c_werror_flag" ||
11599 test ! -s conftest.err
11600 } && test -s conftest.$ac_objext; then
11601 ac_header_compiler=yes
11602 else
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.$ac_ext >&5
11606 ac_header_compiler=no
11609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11611 echo "${ECHO_T}$ac_header_compiler" >&6; }
11613 # Is the header present?
11614 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11616 cat >conftest.$ac_ext <<_ACEOF
11617 /* confdefs.h. */
11618 _ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11622 #include <$ac_header>
11623 _ACEOF
11624 if { (ac_try="$ac_cpp conftest.$ac_ext"
11625 case "(($ac_try" in
11626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11627 *) ac_try_echo=$ac_try;;
11628 esac
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11631 ac_status=$?
11632 grep -v '^ *+' conftest.er1 >conftest.err
11633 rm -f conftest.er1
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } >/dev/null && {
11637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11638 test ! -s conftest.err
11639 }; then
11640 ac_header_preproc=yes
11641 else
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.$ac_ext >&5
11645 ac_header_preproc=no
11648 rm -f conftest.err conftest.$ac_ext
11649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11650 echo "${ECHO_T}$ac_header_preproc" >&6; }
11652 # So? What about this header?
11653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11654 yes:no: )
11655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11659 ac_header_preproc=yes
11661 no:yes:* )
11662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11674 ( cat <<\_ASBOX
11675 ## ------------------------------------ ##
11676 ## Report this to wine-devel@winehq.org ##
11677 ## ------------------------------------ ##
11678 _ASBOX
11679 ) | sed "s/^/$as_me: WARNING: /" >&2
11681 esac
11682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 else
11687 eval "$as_ac_Header=\$ac_header_preproc"
11689 ac_res=`eval echo '${'$as_ac_Header'}'`
11690 { echo "$as_me:$LINENO: result: $ac_res" >&5
11691 echo "${ECHO_T}$ac_res" >&6; }
11694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11695 cat >>confdefs.h <<_ACEOF
11696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11697 _ACEOF
11701 done
11703 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11704 then
11705 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11706 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11707 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710 ac_check_lib_save_LIBS=$LIBS
11711 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11712 cat >conftest.$ac_ext <<_ACEOF
11713 /* confdefs.h. */
11714 _ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char dbus_connection_close ();
11727 main ()
11729 return dbus_connection_close ();
11731 return 0;
11733 _ACEOF
11734 rm -f conftest.$ac_objext conftest$ac_exeext
11735 if { (ac_try="$ac_link"
11736 case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11739 esac
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_link") 2>conftest.er1
11742 ac_status=$?
11743 grep -v '^ *+' conftest.er1 >conftest.err
11744 rm -f conftest.er1
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } && {
11748 test -z "$ac_c_werror_flag" ||
11749 test ! -s conftest.err
11750 } && test -s conftest$ac_exeext &&
11751 $as_test_x conftest$ac_exeext; then
11752 ac_cv_lib_dbus_1_dbus_connection_close=yes
11753 else
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11757 ac_cv_lib_dbus_1_dbus_connection_close=no
11760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11765 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11766 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11767 { echo "$as_me:$LINENO: checking for -lhal" >&5
11768 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11769 if test "${ac_cv_lib_soname_hal+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 else
11772 ac_check_soname_save_LIBS=$LIBS
11773 LIBS="-lhal $ac_hal_libs $LIBS"
11774 cat >conftest.$ac_ext <<_ACEOF
11775 /* confdefs.h. */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char libhal_ctx_new ();
11789 main ()
11791 return libhal_ctx_new ();
11793 return 0;
11795 _ACEOF
11796 rm -f conftest.$ac_objext conftest$ac_exeext
11797 if { (ac_try="$ac_link"
11798 case "(($ac_try" in
11799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11800 *) ac_try_echo=$ac_try;;
11801 esac
11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_link") 2>conftest.er1
11804 ac_status=$?
11805 grep -v '^ *+' conftest.er1 >conftest.err
11806 rm -f conftest.er1
11807 cat conftest.err >&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && {
11810 test -z "$ac_c_werror_flag" ||
11811 test ! -s conftest.err
11812 } && test -s conftest$ac_exeext &&
11813 $as_test_x conftest$ac_exeext; then
11814 case "$LIBEXT" in
11815 dll) ;;
11816 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'` ;;
11817 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11818 esac
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if test "x$ac_cv_lib_soname_hal" = "x"; then
11831 { echo "$as_me:$LINENO: result: not found" >&5
11832 echo "${ECHO_T}not found" >&6; }
11834 else
11835 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11836 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11840 _ACEOF
11842 HALINCL="$ac_hal_cflags"
11848 CPPFLAGS="$ac_save_CPPFLAGS"
11850 if test "x$ac_cv_lib_soname_hal" = "x"; then
11851 wine_notices="$wine_notices|libhal development files not found.
11852 Wine will be built without dynamic device support. (explorer.exe)"
11856 CURSESLIBS=""
11857 if test "$ac_cv_header_ncurses_h" = "yes"
11858 then
11859 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11860 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11861 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 else
11864 ac_check_soname_save_LIBS=$LIBS
11865 LIBS="-lncurses $LIBS"
11866 cat >conftest.$ac_ext <<_ACEOF
11867 /* confdefs.h. */
11868 _ACEOF
11869 cat confdefs.h >>conftest.$ac_ext
11870 cat >>conftest.$ac_ext <<_ACEOF
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char waddch ();
11881 main ()
11883 return waddch ();
11885 return 0;
11887 _ACEOF
11888 rm -f conftest.$ac_objext conftest$ac_exeext
11889 if { (ac_try="$ac_link"
11890 case "(($ac_try" in
11891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11892 *) ac_try_echo=$ac_try;;
11893 esac
11894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11895 (eval "$ac_link") 2>conftest.er1
11896 ac_status=$?
11897 grep -v '^ *+' conftest.er1 >conftest.err
11898 rm -f conftest.er1
11899 cat conftest.err >&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); } && {
11902 test -z "$ac_c_werror_flag" ||
11903 test ! -s conftest.err
11904 } && test -s conftest$ac_exeext &&
11905 $as_test_x conftest$ac_exeext; then
11906 case "$LIBEXT" in
11907 dll) ;;
11908 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'` ;;
11909 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11910 esac
11911 else
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_soname_save_LIBS
11922 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11923 { echo "$as_me:$LINENO: result: not found" >&5
11924 echo "${ECHO_T}not found" >&6; }
11926 else
11927 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11928 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11930 cat >>confdefs.h <<_ACEOF
11931 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11932 _ACEOF
11934 CURSESLIBS="-lncurses"
11937 elif test "$ac_cv_header_curses_h" = "yes"
11938 then
11939 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11940 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11941 if test "${ac_cv_lib_soname_curses+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 else
11944 ac_check_soname_save_LIBS=$LIBS
11945 LIBS="-lcurses $LIBS"
11946 cat >conftest.$ac_ext <<_ACEOF
11947 /* confdefs.h. */
11948 _ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11956 #ifdef __cplusplus
11957 extern "C"
11958 #endif
11959 char waddch ();
11961 main ()
11963 return waddch ();
11965 return 0;
11967 _ACEOF
11968 rm -f conftest.$ac_objext conftest$ac_exeext
11969 if { (ac_try="$ac_link"
11970 case "(($ac_try" in
11971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11972 *) ac_try_echo=$ac_try;;
11973 esac
11974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11975 (eval "$ac_link") 2>conftest.er1
11976 ac_status=$?
11977 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1
11979 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } && {
11982 test -z "$ac_c_werror_flag" ||
11983 test ! -s conftest.err
11984 } && test -s conftest$ac_exeext &&
11985 $as_test_x conftest$ac_exeext; then
11986 case "$LIBEXT" in
11987 dll) ;;
11988 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'` ;;
11989 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11990 esac
11991 else
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_soname_save_LIBS
12002 if test "x$ac_cv_lib_soname_curses" = "x"; then
12003 { echo "$as_me:$LINENO: result: not found" >&5
12004 echo "${ECHO_T}not found" >&6; }
12006 else
12007 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12008 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12010 cat >>confdefs.h <<_ACEOF
12011 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12012 _ACEOF
12014 CURSESLIBS="-lcurses"
12018 ac_save_LIBS="$LIBS"
12019 LIBS="$LIBS $CURSESLIBS"
12021 for ac_func in mousemask
12023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12024 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12026 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 else
12029 cat >conftest.$ac_ext <<_ACEOF
12030 /* confdefs.h. */
12031 _ACEOF
12032 cat confdefs.h >>conftest.$ac_ext
12033 cat >>conftest.$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12037 #define $ac_func innocuous_$ac_func
12039 /* System header to define __stub macros and hopefully few prototypes,
12040 which can conflict with char $ac_func (); below.
12041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12042 <limits.h> exists even on freestanding compilers. */
12044 #ifdef __STDC__
12045 # include <limits.h>
12046 #else
12047 # include <assert.h>
12048 #endif
12050 #undef $ac_func
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12055 #ifdef __cplusplus
12056 extern "C"
12057 #endif
12058 char $ac_func ();
12059 /* The GNU C library defines this for functions which it implements
12060 to always fail with ENOSYS. Some functions are actually named
12061 something starting with __ and the normal name is an alias. */
12062 #if defined __stub_$ac_func || defined __stub___$ac_func
12063 choke me
12064 #endif
12067 main ()
12069 return $ac_func ();
12071 return 0;
12073 _ACEOF
12074 rm -f conftest.$ac_objext conftest$ac_exeext
12075 if { (ac_try="$ac_link"
12076 case "(($ac_try" in
12077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12078 *) ac_try_echo=$ac_try;;
12079 esac
12080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12081 (eval "$ac_link") 2>conftest.er1
12082 ac_status=$?
12083 grep -v '^ *+' conftest.er1 >conftest.err
12084 rm -f conftest.er1
12085 cat conftest.err >&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } && {
12088 test -z "$ac_c_werror_flag" ||
12089 test ! -s conftest.err
12090 } && test -s conftest$ac_exeext &&
12091 $as_test_x conftest$ac_exeext; then
12092 eval "$as_ac_var=yes"
12093 else
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12097 eval "$as_ac_var=no"
12100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12101 conftest$ac_exeext conftest.$ac_ext
12103 ac_res=`eval echo '${'$as_ac_var'}'`
12104 { echo "$as_me:$LINENO: result: $ac_res" >&5
12105 echo "${ECHO_T}$ac_res" >&6; }
12106 if test `eval echo '${'$as_ac_var'}'` = yes; then
12107 cat >>confdefs.h <<_ACEOF
12108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12109 _ACEOF
12112 done
12114 LIBS="$ac_save_LIBS"
12115 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12116 wine_notices="$wine_notices|lib(n)curses development files not found.
12117 Wine will be built without (n)curses support. (wineconsole.exe)"
12121 # Extract the first word of "sane-config", so it can be a program name with args.
12122 set dummy sane-config; ac_word=$2
12123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12125 if test "${ac_cv_prog_sane_devel+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12128 if test -n "$sane_devel"; then
12129 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12130 else
12131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12132 for as_dir in $PATH
12134 IFS=$as_save_IFS
12135 test -z "$as_dir" && as_dir=.
12136 for ac_exec_ext in '' $ac_executable_extensions; do
12137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12138 ac_cv_prog_sane_devel="sane-config"
12139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12140 break 2
12142 done
12143 done
12144 IFS=$as_save_IFS
12146 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12149 sane_devel=$ac_cv_prog_sane_devel
12150 if test -n "$sane_devel"; then
12151 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12152 echo "${ECHO_T}$sane_devel" >&6; }
12153 else
12154 { echo "$as_me:$LINENO: result: no" >&5
12155 echo "${ECHO_T}no" >&6; }
12159 if test "$sane_devel" != "no"
12160 then
12161 ac_sane_incl="`$sane_devel --cflags`"
12162 ac_save_CPPFLAGS="$CPPFLAGS"
12163 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12164 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12165 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12166 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12167 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12171 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12172 else
12173 # Is the header compilable?
12174 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12175 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12176 cat >conftest.$ac_ext <<_ACEOF
12177 /* confdefs.h. */
12178 _ACEOF
12179 cat confdefs.h >>conftest.$ac_ext
12180 cat >>conftest.$ac_ext <<_ACEOF
12181 /* end confdefs.h. */
12182 $ac_includes_default
12183 #include <sane/sane.h>
12184 _ACEOF
12185 rm -f conftest.$ac_objext
12186 if { (ac_try="$ac_compile"
12187 case "(($ac_try" in
12188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12189 *) ac_try_echo=$ac_try;;
12190 esac
12191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12192 (eval "$ac_compile") 2>conftest.er1
12193 ac_status=$?
12194 grep -v '^ *+' conftest.er1 >conftest.err
12195 rm -f conftest.er1
12196 cat conftest.err >&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } && {
12199 test -z "$ac_c_werror_flag" ||
12200 test ! -s conftest.err
12201 } && test -s conftest.$ac_objext; then
12202 ac_header_compiler=yes
12203 else
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.$ac_ext >&5
12207 ac_header_compiler=no
12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12212 echo "${ECHO_T}$ac_header_compiler" >&6; }
12214 # Is the header present?
12215 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12216 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12217 cat >conftest.$ac_ext <<_ACEOF
12218 /* confdefs.h. */
12219 _ACEOF
12220 cat confdefs.h >>conftest.$ac_ext
12221 cat >>conftest.$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12223 #include <sane/sane.h>
12224 _ACEOF
12225 if { (ac_try="$ac_cpp conftest.$ac_ext"
12226 case "(($ac_try" in
12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228 *) ac_try_echo=$ac_try;;
12229 esac
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12232 ac_status=$?
12233 grep -v '^ *+' conftest.er1 >conftest.err
12234 rm -f conftest.er1
12235 cat conftest.err >&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } >/dev/null && {
12238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12239 test ! -s conftest.err
12240 }; then
12241 ac_header_preproc=yes
12242 else
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12246 ac_header_preproc=no
12249 rm -f conftest.err conftest.$ac_ext
12250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12251 echo "${ECHO_T}$ac_header_preproc" >&6; }
12253 # So? What about this header?
12254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12255 yes:no: )
12256 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12257 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12258 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12259 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12260 ac_header_preproc=yes
12262 no:yes:* )
12263 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12264 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12265 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12266 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12267 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12268 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12269 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12270 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12272 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12273 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12274 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12275 ( cat <<\_ASBOX
12276 ## ------------------------------------ ##
12277 ## Report this to wine-devel@winehq.org ##
12278 ## ------------------------------------ ##
12279 _ASBOX
12280 ) | sed "s/^/$as_me: WARNING: /" >&2
12282 esac
12283 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12284 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12285 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 else
12288 ac_cv_header_sane_sane_h=$ac_header_preproc
12290 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12291 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12294 if test $ac_cv_header_sane_sane_h = yes; then
12295 { echo "$as_me:$LINENO: checking for -lsane" >&5
12296 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12297 if test "${ac_cv_lib_soname_sane+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 else
12300 ac_check_soname_save_LIBS=$LIBS
12301 LIBS="-lsane $LIBS"
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12312 #ifdef __cplusplus
12313 extern "C"
12314 #endif
12315 char sane_init ();
12317 main ()
12319 return sane_init ();
12321 return 0;
12323 _ACEOF
12324 rm -f conftest.$ac_objext conftest$ac_exeext
12325 if { (ac_try="$ac_link"
12326 case "(($ac_try" in
12327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12328 *) ac_try_echo=$ac_try;;
12329 esac
12330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12331 (eval "$ac_link") 2>conftest.er1
12332 ac_status=$?
12333 grep -v '^ *+' conftest.er1 >conftest.err
12334 rm -f conftest.er1
12335 cat conftest.err >&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } && {
12338 test -z "$ac_c_werror_flag" ||
12339 test ! -s conftest.err
12340 } && test -s conftest$ac_exeext &&
12341 $as_test_x conftest$ac_exeext; then
12342 case "$LIBEXT" in
12343 dll) ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12346 esac
12347 else
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.$ac_ext >&5
12354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if test "x$ac_cv_lib_soname_sane" = "x"; then
12359 { echo "$as_me:$LINENO: result: not found" >&5
12360 echo "${ECHO_T}not found" >&6; }
12362 else
12363 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12364 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12368 _ACEOF
12370 SANEINCL="$ac_sane_incl"
12377 CPPFLAGS="$ac_save_CPPFLAGS"
12379 if test "x$ac_cv_lib_soname_sane" = "x"; then
12380 wine_notices="$wine_notices|libsane development files not found.
12381 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12385 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12386 set dummy gphoto2-config; ac_word=$2
12387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12389 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 else
12392 if test -n "$gphoto2_devel"; then
12393 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12394 else
12395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396 for as_dir in $PATH
12398 IFS=$as_save_IFS
12399 test -z "$as_dir" && as_dir=.
12400 for ac_exec_ext in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_prog_gphoto2_devel="gphoto2-config"
12403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12404 break 2
12406 done
12407 done
12408 IFS=$as_save_IFS
12410 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12413 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12414 if test -n "$gphoto2_devel"; then
12415 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12416 echo "${ECHO_T}$gphoto2_devel" >&6; }
12417 else
12418 { echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6; }
12423 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12424 set dummy gphoto2-port-config; ac_word=$2
12425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12427 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 else
12430 if test -n "$gphoto2port_devel"; then
12431 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12432 else
12433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12434 for as_dir in $PATH
12436 IFS=$as_save_IFS
12437 test -z "$as_dir" && as_dir=.
12438 for ac_exec_ext in '' $ac_executable_extensions; do
12439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12440 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12442 break 2
12444 done
12445 done
12446 IFS=$as_save_IFS
12448 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12451 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12452 if test -n "$gphoto2port_devel"; then
12453 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12454 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12455 else
12456 { echo "$as_me:$LINENO: result: no" >&5
12457 echo "${ECHO_T}no" >&6; }
12461 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12462 then
12463 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12464 ac_gphoto2_libs=""
12465 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12467 case "$i" in
12468 -L/usr/lib|-L/usr/lib64) ;;
12469 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12470 esac
12471 done
12472 ac_save_CPPFLAGS="$CPPFLAGS"
12473 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12474 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12475 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12476 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12477 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12481 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12482 else
12483 # Is the header compilable?
12484 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12485 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12486 cat >conftest.$ac_ext <<_ACEOF
12487 /* confdefs.h. */
12488 _ACEOF
12489 cat confdefs.h >>conftest.$ac_ext
12490 cat >>conftest.$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12492 $ac_includes_default
12493 #include <gphoto2-camera.h>
12494 _ACEOF
12495 rm -f conftest.$ac_objext
12496 if { (ac_try="$ac_compile"
12497 case "(($ac_try" in
12498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12499 *) ac_try_echo=$ac_try;;
12500 esac
12501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12502 (eval "$ac_compile") 2>conftest.er1
12503 ac_status=$?
12504 grep -v '^ *+' conftest.er1 >conftest.err
12505 rm -f conftest.er1
12506 cat conftest.err >&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && {
12509 test -z "$ac_c_werror_flag" ||
12510 test ! -s conftest.err
12511 } && test -s conftest.$ac_objext; then
12512 ac_header_compiler=yes
12513 else
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12517 ac_header_compiler=no
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12522 echo "${ECHO_T}$ac_header_compiler" >&6; }
12524 # Is the header present?
12525 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12526 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12527 cat >conftest.$ac_ext <<_ACEOF
12528 /* confdefs.h. */
12529 _ACEOF
12530 cat confdefs.h >>conftest.$ac_ext
12531 cat >>conftest.$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533 #include <gphoto2-camera.h>
12534 _ACEOF
12535 if { (ac_try="$ac_cpp conftest.$ac_ext"
12536 case "(($ac_try" in
12537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12538 *) ac_try_echo=$ac_try;;
12539 esac
12540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } >/dev/null && {
12548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 }; then
12551 ac_header_preproc=yes
12552 else
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.$ac_ext >&5
12556 ac_header_preproc=no
12559 rm -f conftest.err conftest.$ac_ext
12560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12561 echo "${ECHO_T}$ac_header_preproc" >&6; }
12563 # So? What about this header?
12564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12565 yes:no: )
12566 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12567 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12568 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12569 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12570 ac_header_preproc=yes
12572 no:yes:* )
12573 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12574 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12575 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12576 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12577 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12578 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12579 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12580 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12581 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12582 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12583 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12584 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12585 ( cat <<\_ASBOX
12586 ## ------------------------------------ ##
12587 ## Report this to wine-devel@winehq.org ##
12588 ## ------------------------------------ ##
12589 _ASBOX
12590 ) | sed "s/^/$as_me: WARNING: /" >&2
12592 esac
12593 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12594 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12595 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 else
12598 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12600 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12601 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12604 if test $ac_cv_header_gphoto2_camera_h = yes; then
12605 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12606 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12607 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610 ac_check_lib_save_LIBS=$LIBS
12611 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12612 cat >conftest.$ac_ext <<_ACEOF
12613 /* confdefs.h. */
12614 _ACEOF
12615 cat confdefs.h >>conftest.$ac_ext
12616 cat >>conftest.$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char gp_camera_new ();
12627 main ()
12629 return gp_camera_new ();
12631 return 0;
12633 _ACEOF
12634 rm -f conftest.$ac_objext conftest$ac_exeext
12635 if { (ac_try="$ac_link"
12636 case "(($ac_try" in
12637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12638 *) ac_try_echo=$ac_try;;
12639 esac
12640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12641 (eval "$ac_link") 2>conftest.er1
12642 ac_status=$?
12643 grep -v '^ *+' conftest.er1 >conftest.err
12644 rm -f conftest.er1
12645 cat conftest.err >&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } && {
12648 test -z "$ac_c_werror_flag" ||
12649 test ! -s conftest.err
12650 } && test -s conftest$ac_exeext &&
12651 $as_test_x conftest$ac_exeext; then
12652 ac_cv_lib_gphoto2_gp_camera_new=yes
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12657 ac_cv_lib_gphoto2_gp_camera_new=no
12660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_lib_save_LIBS
12664 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12665 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12666 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12668 cat >>confdefs.h <<\_ACEOF
12669 #define HAVE_GPHOTO2 1
12670 _ACEOF
12672 GPHOTO2LIBS="$ac_gphoto2_libs"
12674 GPHOTO2INCL="$ac_gphoto2_incl"
12681 CPPFLAGS="$ac_save_CPPFLAGS"
12683 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12684 wine_notices="$wine_notices|libgphoto2 development files not found.
12685 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12690 RESOLVLIBS=""
12692 if test "$ac_cv_header_resolv_h" = "yes"
12693 then
12694 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12695 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12696 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12698 else
12699 ac_check_lib_save_LIBS=$LIBS
12700 LIBS="-lresolv $LIBS"
12701 cat >conftest.$ac_ext <<_ACEOF
12702 /* confdefs.h. */
12703 _ACEOF
12704 cat confdefs.h >>conftest.$ac_ext
12705 cat >>conftest.$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 char res_query ();
12716 main ()
12718 return res_query ();
12720 return 0;
12722 _ACEOF
12723 rm -f conftest.$ac_objext conftest$ac_exeext
12724 if { (ac_try="$ac_link"
12725 case "(($ac_try" in
12726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12727 *) ac_try_echo=$ac_try;;
12728 esac
12729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12730 (eval "$ac_link") 2>conftest.er1
12731 ac_status=$?
12732 grep -v '^ *+' conftest.er1 >conftest.err
12733 rm -f conftest.er1
12734 cat conftest.err >&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } && {
12737 test -z "$ac_c_werror_flag" ||
12738 test ! -s conftest.err
12739 } && test -s conftest$ac_exeext &&
12740 $as_test_x conftest$ac_exeext; then
12741 ac_cv_lib_resolv_res_query=yes
12742 else
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.$ac_ext >&5
12746 ac_cv_lib_resolv_res_query=no
12749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12750 conftest$ac_exeext conftest.$ac_ext
12751 LIBS=$ac_check_lib_save_LIBS
12753 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12754 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12755 if test $ac_cv_lib_resolv_res_query = yes; then
12757 cat >>confdefs.h <<\_ACEOF
12758 #define HAVE_RESOLV 1
12759 _ACEOF
12761 RESOLVLIBS="-lresolv"
12766 LCMSLIBS=""
12768 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12769 then
12770 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12771 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12772 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 else
12775 ac_check_lib_save_LIBS=$LIBS
12776 LIBS="-llcms $LIBS"
12777 cat >conftest.$ac_ext <<_ACEOF
12778 /* confdefs.h. */
12779 _ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char cmsOpenProfileFromFile ();
12792 main ()
12794 return cmsOpenProfileFromFile ();
12796 return 0;
12798 _ACEOF
12799 rm -f conftest.$ac_objext conftest$ac_exeext
12800 if { (ac_try="$ac_link"
12801 case "(($ac_try" in
12802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12803 *) ac_try_echo=$ac_try;;
12804 esac
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_link") 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } && {
12813 test -z "$ac_c_werror_flag" ||
12814 test ! -s conftest.err
12815 } && test -s conftest$ac_exeext &&
12816 $as_test_x conftest$ac_exeext; then
12817 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12818 else
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12822 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12830 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12831 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12833 cat >>confdefs.h <<\_ACEOF
12834 #define HAVE_LCMS 1
12835 _ACEOF
12837 LCMSLIBS="-llcms"
12841 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12842 wine_notices="$wine_notices|liblcms development files not found.
12843 Wine will be built without Color Management support. (mscms.dll)"
12847 LDAPLIBS=""
12849 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12850 then
12851 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12852 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12853 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12858 cat >conftest.$ac_ext <<_ACEOF
12859 /* confdefs.h. */
12860 _ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char ldap_initialize ();
12873 main ()
12875 return ldap_initialize ();
12877 return 0;
12879 _ACEOF
12880 rm -f conftest.$ac_objext conftest$ac_exeext
12881 if { (ac_try="$ac_link"
12882 case "(($ac_try" in
12883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12884 *) ac_try_echo=$ac_try;;
12885 esac
12886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12887 (eval "$ac_link") 2>conftest.er1
12888 ac_status=$?
12889 grep -v '^ *+' conftest.er1 >conftest.err
12890 rm -f conftest.er1
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } && {
12894 test -z "$ac_c_werror_flag" ||
12895 test ! -s conftest.err
12896 } && test -s conftest$ac_exeext &&
12897 $as_test_x conftest$ac_exeext; then
12898 ac_cv_lib_ldap_r_ldap_initialize=yes
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 ac_cv_lib_ldap_r_ldap_initialize=no
12906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12911 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12912 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12913 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12914 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12915 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12917 else
12918 ac_check_lib_save_LIBS=$LIBS
12919 LIBS="-llber $LIBPTHREAD $LIBS"
12920 cat >conftest.$ac_ext <<_ACEOF
12921 /* confdefs.h. */
12922 _ACEOF
12923 cat confdefs.h >>conftest.$ac_ext
12924 cat >>conftest.$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 #ifdef __cplusplus
12931 extern "C"
12932 #endif
12933 char ber_init ();
12935 main ()
12937 return ber_init ();
12939 return 0;
12941 _ACEOF
12942 rm -f conftest.$ac_objext conftest$ac_exeext
12943 if { (ac_try="$ac_link"
12944 case "(($ac_try" in
12945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12946 *) ac_try_echo=$ac_try;;
12947 esac
12948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12949 (eval "$ac_link") 2>conftest.er1
12950 ac_status=$?
12951 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1
12953 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && {
12956 test -z "$ac_c_werror_flag" ||
12957 test ! -s conftest.err
12958 } && test -s conftest$ac_exeext &&
12959 $as_test_x conftest$ac_exeext; then
12960 ac_cv_lib_lber_ber_init=yes
12961 else
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12965 ac_cv_lib_lber_ber_init=no
12968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_lib_save_LIBS
12972 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12973 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12974 if test $ac_cv_lib_lber_ber_init = yes; then
12976 cat >>confdefs.h <<\_ACEOF
12977 #define HAVE_LDAP 1
12978 _ACEOF
12980 LDAPLIBS="-lldap_r -llber"
12985 ac_wine_check_funcs_save_LIBS="$LIBS"
12986 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12995 for ac_func in \
12996 ldap_count_references \
12997 ldap_first_reference \
12998 ldap_next_reference \
12999 ldap_parse_reference \
13000 ldap_parse_sort_control \
13001 ldap_parse_sortresponse_control \
13002 ldap_parse_vlv_control \
13003 ldap_parse_vlvresponse_control
13005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13010 else
13011 cat >conftest.$ac_ext <<_ACEOF
13012 /* confdefs.h. */
13013 _ACEOF
13014 cat confdefs.h >>conftest.$ac_ext
13015 cat >>conftest.$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13019 #define $ac_func innocuous_$ac_func
13021 /* System header to define __stub macros and hopefully few prototypes,
13022 which can conflict with char $ac_func (); below.
13023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13024 <limits.h> exists even on freestanding compilers. */
13026 #ifdef __STDC__
13027 # include <limits.h>
13028 #else
13029 # include <assert.h>
13030 #endif
13032 #undef $ac_func
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char $ac_func ();
13041 /* The GNU C library defines this for functions which it implements
13042 to always fail with ENOSYS. Some functions are actually named
13043 something starting with __ and the normal name is an alias. */
13044 #if defined __stub_$ac_func || defined __stub___$ac_func
13045 choke me
13046 #endif
13049 main ()
13051 return $ac_func ();
13053 return 0;
13055 _ACEOF
13056 rm -f conftest.$ac_objext conftest$ac_exeext
13057 if { (ac_try="$ac_link"
13058 case "(($ac_try" in
13059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13060 *) ac_try_echo=$ac_try;;
13061 esac
13062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13063 (eval "$ac_link") 2>conftest.er1
13064 ac_status=$?
13065 grep -v '^ *+' conftest.er1 >conftest.err
13066 rm -f conftest.er1
13067 cat conftest.err >&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } && {
13070 test -z "$ac_c_werror_flag" ||
13071 test ! -s conftest.err
13072 } && test -s conftest$ac_exeext &&
13073 $as_test_x conftest$ac_exeext; then
13074 eval "$as_ac_var=yes"
13075 else
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.$ac_ext >&5
13079 eval "$as_ac_var=no"
13082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13083 conftest$ac_exeext conftest.$ac_ext
13085 ac_res=`eval echo '${'$as_ac_var'}'`
13086 { echo "$as_me:$LINENO: result: $ac_res" >&5
13087 echo "${ECHO_T}$ac_res" >&6; }
13088 if test `eval echo '${'$as_ac_var'}'` = yes; then
13089 cat >>confdefs.h <<_ACEOF
13090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13091 _ACEOF
13094 done
13096 LIBS="$ac_wine_check_funcs_save_LIBS"
13098 if test "x$LDAPLIBS" = "x"; then
13099 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13100 Wine will be built without LDAP support. (wldap32.dll)"
13104 for ac_prog in freetype-config freetype2-config
13106 # Extract the first word of "$ac_prog", so it can be a program name with args.
13107 set dummy $ac_prog; ac_word=$2
13108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13110 if test "${ac_cv_prog_ft_devel+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 else
13113 if test -n "$ft_devel"; then
13114 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13115 else
13116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13117 for as_dir in $PATH
13119 IFS=$as_save_IFS
13120 test -z "$as_dir" && as_dir=.
13121 for ac_exec_ext in '' $ac_executable_extensions; do
13122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13123 ac_cv_prog_ft_devel="$ac_prog"
13124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13125 break 2
13127 done
13128 done
13129 IFS=$as_save_IFS
13133 ft_devel=$ac_cv_prog_ft_devel
13134 if test -n "$ft_devel"; then
13135 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13136 echo "${ECHO_T}$ft_devel" >&6; }
13137 else
13138 { echo "$as_me:$LINENO: result: no" >&5
13139 echo "${ECHO_T}no" >&6; }
13143 test -n "$ft_devel" && break
13144 done
13145 test -n "$ft_devel" || ft_devel="false"
13147 if test "$ft_devel" != "false"
13148 then
13149 ac_freetype_libs=`$ft_devel --libs`
13150 ac_freetype_incl=`$ft_devel --cflags`
13151 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13152 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13153 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156 ac_check_soname_save_LIBS=$LIBS
13157 LIBS="-lfreetype $ac_freetype_libs $LIBS"
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. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char FT_Init_FreeType ();
13173 main ()
13175 return FT_Init_FreeType ();
13177 return 0;
13179 _ACEOF
13180 rm -f conftest.$ac_objext conftest$ac_exeext
13181 if { (ac_try="$ac_link"
13182 case "(($ac_try" in
13183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13185 esac
13186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 (eval "$ac_link") 2>conftest.er1
13188 ac_status=$?
13189 grep -v '^ *+' conftest.er1 >conftest.err
13190 rm -f conftest.er1
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest$ac_exeext &&
13197 $as_test_x conftest$ac_exeext; then
13198 case "$LIBEXT" in
13199 dll) ;;
13200 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'` ;;
13201 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13202 esac
13203 else
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13215 { echo "$as_me:$LINENO: result: not found" >&5
13216 echo "${ECHO_T}not found" >&6; }
13217 ft_lib=no
13218 else
13219 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13220 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13224 _ACEOF
13226 ft_lib=yes
13229 if test "$ft_lib" = "yes"
13230 then
13231 ac_save_CPPFLAGS="$CPPFLAGS"
13232 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13245 for ac_header in ft2build.h \
13246 freetype/freetype.h \
13247 freetype/ftglyph.h \
13248 freetype/fttypes.h \
13249 freetype/tttables.h \
13250 freetype/ftnames.h \
13251 freetype/ftsnames.h \
13252 freetype/ttnameid.h \
13253 freetype/ftoutln.h \
13254 freetype/ftwinfnt.h \
13255 freetype/ftmodapi.h \
13256 freetype/internal/sfnt.h
13258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 else
13264 cat >conftest.$ac_ext <<_ACEOF
13265 /* confdefs.h. */
13266 _ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 #if HAVE_FT2BUILD_H
13271 #include <ft2build.h>
13272 #endif
13274 #include <$ac_header>
13275 _ACEOF
13276 rm -f conftest.$ac_objext
13277 if { (ac_try="$ac_compile"
13278 case "(($ac_try" in
13279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13280 *) ac_try_echo=$ac_try;;
13281 esac
13282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13283 (eval "$ac_compile") 2>conftest.er1
13284 ac_status=$?
13285 grep -v '^ *+' conftest.er1 >conftest.err
13286 rm -f conftest.er1
13287 cat conftest.err >&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } && {
13290 test -z "$ac_c_werror_flag" ||
13291 test ! -s conftest.err
13292 } && test -s conftest.$ac_objext; then
13293 eval "$as_ac_Header=yes"
13294 else
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.$ac_ext >&5
13298 eval "$as_ac_Header=no"
13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13303 ac_res=`eval echo '${'$as_ac_Header'}'`
13304 { echo "$as_me:$LINENO: result: $ac_res" >&5
13305 echo "${ECHO_T}$ac_res" >&6; }
13306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13307 cat >>confdefs.h <<_ACEOF
13308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13309 _ACEOF
13313 done
13315 cat >conftest.$ac_ext <<_ACEOF
13316 /* confdefs.h. */
13317 _ACEOF
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 #include <ft2build.h>
13322 #include <freetype/fttrigon.h>
13323 _ACEOF
13324 if { (ac_try="$ac_cpp conftest.$ac_ext"
13325 case "(($ac_try" in
13326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13328 esac
13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } >/dev/null && {
13337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13338 test ! -s conftest.err
13339 }; then
13341 cat >>confdefs.h <<\_ACEOF
13342 #define HAVE_FREETYPE_FTTRIGON_H 1
13343 _ACEOF
13345 wine_cv_fttrigon=yes
13346 else
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 wine_cv_fttrigon=no
13353 rm -f conftest.err conftest.$ac_ext
13354 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13355 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13356 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else
13359 cat >conftest.$ac_ext <<_ACEOF
13360 /* confdefs.h. */
13361 _ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365 #include <freetype/ftmodapi.h>
13367 typedef FT_TrueTypeEngineType ac__type_new_;
13369 main ()
13371 if ((ac__type_new_ *) 0)
13372 return 0;
13373 if (sizeof (ac__type_new_))
13374 return 0;
13376 return 0;
13378 _ACEOF
13379 rm -f conftest.$ac_objext
13380 if { (ac_try="$ac_compile"
13381 case "(($ac_try" in
13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13384 esac
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_compile") 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest.$ac_objext; then
13396 ac_cv_type_FT_TrueTypeEngineType=yes
13397 else
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 ac_cv_type_FT_TrueTypeEngineType=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13407 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13408 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13410 cat >>confdefs.h <<_ACEOF
13411 #define HAVE_FT_TRUETYPEENGINETYPE 1
13412 _ACEOF
13417 ac_save_CFLAGS="$CFLAGS"
13418 CFLAGS="$CFLAGS $ac_freetype_libs"
13420 for ac_func in FT_Load_Sfnt_Table
13422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13425 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13427 else
13428 cat >conftest.$ac_ext <<_ACEOF
13429 /* confdefs.h. */
13430 _ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13436 #define $ac_func innocuous_$ac_func
13438 /* System header to define __stub macros and hopefully few prototypes,
13439 which can conflict with char $ac_func (); below.
13440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13441 <limits.h> exists even on freestanding compilers. */
13443 #ifdef __STDC__
13444 # include <limits.h>
13445 #else
13446 # include <assert.h>
13447 #endif
13449 #undef $ac_func
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13454 #ifdef __cplusplus
13455 extern "C"
13456 #endif
13457 char $ac_func ();
13458 /* The GNU C library defines this for functions which it implements
13459 to always fail with ENOSYS. Some functions are actually named
13460 something starting with __ and the normal name is an alias. */
13461 #if defined __stub_$ac_func || defined __stub___$ac_func
13462 choke me
13463 #endif
13466 main ()
13468 return $ac_func ();
13470 return 0;
13472 _ACEOF
13473 rm -f conftest.$ac_objext conftest$ac_exeext
13474 if { (ac_try="$ac_link"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13478 esac
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_link") 2>conftest.er1
13481 ac_status=$?
13482 grep -v '^ *+' conftest.er1 >conftest.err
13483 rm -f conftest.er1
13484 cat conftest.err >&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } && {
13487 test -z "$ac_c_werror_flag" ||
13488 test ! -s conftest.err
13489 } && test -s conftest$ac_exeext &&
13490 $as_test_x conftest$ac_exeext; then
13491 eval "$as_ac_var=yes"
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 eval "$as_ac_var=no"
13499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13500 conftest$ac_exeext conftest.$ac_ext
13502 ac_res=`eval echo '${'$as_ac_var'}'`
13503 { echo "$as_me:$LINENO: result: $ac_res" >&5
13504 echo "${ECHO_T}$ac_res" >&6; }
13505 if test `eval echo '${'$as_ac_var'}'` = yes; then
13506 cat >>confdefs.h <<_ACEOF
13507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13508 _ACEOF
13511 done
13513 CFLAGS="$ac_save_CFLAGS"
13514 CPPFLAGS="$ac_save_CPPFLAGS"
13515 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13516 then
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_FREETYPE 1
13520 _ACEOF
13522 FREETYPELIBS="$ac_freetype_libs"
13524 FREETYPEINCL="$ac_freetype_incl"
13530 if test "$FONTFORGE" = "false"
13531 then
13532 wine_warnings="$wine_warnings|FontForge is missing.
13533 Fonts will not be built. Dialog text may be invisible or unaligned."
13534 elif test "x$FREETYPELIBS" = "x"
13535 then
13536 wine_warnings="$wine_warnings|FreeType development files not found.
13537 Fonts will not be built. Dialog text may be invisible or unaligned."
13538 else
13539 FONTSSUBDIRS="fonts"
13543 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13544 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13545 if test "${ac_cv_c_ppdev+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13547 else
13548 cat >conftest.$ac_ext <<_ACEOF
13549 /* confdefs.h. */
13550 _ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554 #include <linux/ppdev.h>
13556 main ()
13558 ioctl (1,PPCLAIM,0)
13560 return 0;
13562 _ACEOF
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 *) ac_try_echo=$ac_try;;
13568 esac
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13571 ac_status=$?
13572 grep -v '^ *+' conftest.er1 >conftest.err
13573 rm -f conftest.er1
13574 cat conftest.err >&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } && {
13577 test -z "$ac_c_werror_flag" ||
13578 test ! -s conftest.err
13579 } && test -s conftest.$ac_objext; then
13580 ac_cv_c_ppdev="yes"
13581 else
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13585 ac_cv_c_ppdev="no"
13588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13590 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13591 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13592 if test "$ac_cv_c_ppdev" = "yes"
13593 then
13595 cat >>confdefs.h <<\_ACEOF
13596 #define HAVE_PPDEV 1
13597 _ACEOF
13601 { echo "$as_me:$LINENO: checking for va_copy" >&5
13602 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13603 if test "${ac_cv_c_va_copy+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 else
13606 cat >conftest.$ac_ext <<_ACEOF
13607 /* confdefs.h. */
13608 _ACEOF
13609 cat confdefs.h >>conftest.$ac_ext
13610 cat >>conftest.$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13612 #include <stdarg.h>
13614 main ()
13616 va_list ap1, ap2; va_copy(ap1,ap2);
13618 return 0;
13620 _ACEOF
13621 rm -f conftest.$ac_objext conftest$ac_exeext
13622 if { (ac_try="$ac_link"
13623 case "(($ac_try" in
13624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13625 *) ac_try_echo=$ac_try;;
13626 esac
13627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13628 (eval "$ac_link") 2>conftest.er1
13629 ac_status=$?
13630 grep -v '^ *+' conftest.er1 >conftest.err
13631 rm -f conftest.er1
13632 cat conftest.err >&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } && {
13635 test -z "$ac_c_werror_flag" ||
13636 test ! -s conftest.err
13637 } && test -s conftest$ac_exeext &&
13638 $as_test_x conftest$ac_exeext; then
13639 ac_cv_c_va_copy="yes"
13640 else
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 ac_cv_c_va_copy="no"
13647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13648 conftest$ac_exeext conftest.$ac_ext
13651 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13652 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13653 if test "$ac_cv_c_va_copy" = "yes"
13654 then
13656 cat >>confdefs.h <<\_ACEOF
13657 #define HAVE_VA_COPY 1
13658 _ACEOF
13661 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13662 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13663 if test "${ac_cv_c___va_copy+set}" = set; then
13664 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 else
13666 cat >conftest.$ac_ext <<_ACEOF
13667 /* confdefs.h. */
13668 _ACEOF
13669 cat confdefs.h >>conftest.$ac_ext
13670 cat >>conftest.$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13672 #include <stdarg.h>
13674 main ()
13676 va_list ap1, ap2; __va_copy(ap1,ap2);
13678 return 0;
13680 _ACEOF
13681 rm -f conftest.$ac_objext conftest$ac_exeext
13682 if { (ac_try="$ac_link"
13683 case "(($ac_try" in
13684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13685 *) ac_try_echo=$ac_try;;
13686 esac
13687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13688 (eval "$ac_link") 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && {
13695 test -z "$ac_c_werror_flag" ||
13696 test ! -s conftest.err
13697 } && test -s conftest$ac_exeext &&
13698 $as_test_x conftest$ac_exeext; then
13699 ac_cv_c___va_copy="yes"
13700 else
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 ac_cv_c___va_copy="no"
13707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13708 conftest$ac_exeext conftest.$ac_ext
13711 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13712 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13713 if test "$ac_cv_c___va_copy" = "yes"
13714 then
13716 cat >>confdefs.h <<\_ACEOF
13717 #define HAVE___VA_COPY 1
13718 _ACEOF
13722 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13723 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13724 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 else
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #include <setjmp.h>
13735 main ()
13737 sigjmp_buf buf;
13738 sigsetjmp( buf, 1 );
13739 siglongjmp( buf, 1 );
13741 return 0;
13743 _ACEOF
13744 rm -f conftest.$ac_objext conftest$ac_exeext
13745 if { (ac_try="$ac_link"
13746 case "(($ac_try" in
13747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13748 *) ac_try_echo=$ac_try;;
13749 esac
13750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13751 (eval "$ac_link") 2>conftest.er1
13752 ac_status=$?
13753 grep -v '^ *+' conftest.er1 >conftest.err
13754 rm -f conftest.er1
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } && {
13758 test -z "$ac_c_werror_flag" ||
13759 test ! -s conftest.err
13760 } && test -s conftest$ac_exeext &&
13761 $as_test_x conftest$ac_exeext; then
13762 ac_cv_c_sigsetjmp="yes"
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13767 ac_cv_c_sigsetjmp="no"
13770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13771 conftest$ac_exeext conftest.$ac_ext
13774 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13775 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13776 if test "$ac_cv_c_sigsetjmp" = "yes"
13777 then
13779 cat >>confdefs.h <<\_ACEOF
13780 #define HAVE_SIGSETJMP 1
13781 _ACEOF
13785 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13786 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13787 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 #define _GNU_SOURCE
13797 #include <pthread.h>
13799 typedef pthread_rwlock_t ac__type_new_;
13801 main ()
13803 if ((ac__type_new_ *) 0)
13804 return 0;
13805 if (sizeof (ac__type_new_))
13806 return 0;
13808 return 0;
13810 _ACEOF
13811 rm -f conftest.$ac_objext
13812 if { (ac_try="$ac_compile"
13813 case "(($ac_try" in
13814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13815 *) ac_try_echo=$ac_try;;
13816 esac
13817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13818 (eval "$ac_compile") 2>conftest.er1
13819 ac_status=$?
13820 grep -v '^ *+' conftest.er1 >conftest.err
13821 rm -f conftest.er1
13822 cat conftest.err >&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } && {
13825 test -z "$ac_c_werror_flag" ||
13826 test ! -s conftest.err
13827 } && test -s conftest.$ac_objext; then
13828 ac_cv_type_pthread_rwlock_t=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13833 ac_cv_type_pthread_rwlock_t=no
13836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13838 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13839 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13840 if test $ac_cv_type_pthread_rwlock_t = yes; then
13842 cat >>confdefs.h <<_ACEOF
13843 #define HAVE_PTHREAD_RWLOCK_T 1
13844 _ACEOF
13848 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13849 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13850 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13852 else
13853 cat >conftest.$ac_ext <<_ACEOF
13854 /* confdefs.h. */
13855 _ACEOF
13856 cat confdefs.h >>conftest.$ac_ext
13857 cat >>conftest.$ac_ext <<_ACEOF
13858 /* end confdefs.h. */
13859 #define _GNU_SOURCE
13860 #include <pthread.h>
13862 typedef pthread_rwlockattr_t ac__type_new_;
13864 main ()
13866 if ((ac__type_new_ *) 0)
13867 return 0;
13868 if (sizeof (ac__type_new_))
13869 return 0;
13871 return 0;
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (ac_try="$ac_compile"
13876 case "(($ac_try" in
13877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13878 *) ac_try_echo=$ac_try;;
13879 esac
13880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13881 (eval "$ac_compile") 2>conftest.er1
13882 ac_status=$?
13883 grep -v '^ *+' conftest.er1 >conftest.err
13884 rm -f conftest.er1
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } && {
13888 test -z "$ac_c_werror_flag" ||
13889 test ! -s conftest.err
13890 } && test -s conftest.$ac_objext; then
13891 ac_cv_type_pthread_rwlockattr_t=yes
13892 else
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13896 ac_cv_type_pthread_rwlockattr_t=no
13899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13901 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13902 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13903 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13905 cat >>confdefs.h <<_ACEOF
13906 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13907 _ACEOF
13913 ac_wine_check_funcs_save_LIBS="$LIBS"
13914 LIBS="$LIBS $LIBPTHREAD"
13919 for ac_func in \
13920 pthread_attr_get_np \
13921 pthread_getattr_np \
13922 pthread_get_stackaddr_np \
13923 pthread_get_stacksize_np
13925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 else
13931 cat >conftest.$ac_ext <<_ACEOF
13932 /* confdefs.h. */
13933 _ACEOF
13934 cat confdefs.h >>conftest.$ac_ext
13935 cat >>conftest.$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13939 #define $ac_func innocuous_$ac_func
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char $ac_func (); below.
13943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13944 <limits.h> exists even on freestanding compilers. */
13946 #ifdef __STDC__
13947 # include <limits.h>
13948 #else
13949 # include <assert.h>
13950 #endif
13952 #undef $ac_func
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char $ac_func ();
13961 /* The GNU C library defines this for functions which it implements
13962 to always fail with ENOSYS. Some functions are actually named
13963 something starting with __ and the normal name is an alias. */
13964 #if defined __stub_$ac_func || defined __stub___$ac_func
13965 choke me
13966 #endif
13969 main ()
13971 return $ac_func ();
13973 return 0;
13975 _ACEOF
13976 rm -f conftest.$ac_objext conftest$ac_exeext
13977 if { (ac_try="$ac_link"
13978 case "(($ac_try" in
13979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13980 *) ac_try_echo=$ac_try;;
13981 esac
13982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13983 (eval "$ac_link") 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } && {
13990 test -z "$ac_c_werror_flag" ||
13991 test ! -s conftest.err
13992 } && test -s conftest$ac_exeext &&
13993 $as_test_x conftest$ac_exeext; then
13994 eval "$as_ac_var=yes"
13995 else
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.$ac_ext >&5
13999 eval "$as_ac_var=no"
14002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14003 conftest$ac_exeext conftest.$ac_ext
14005 ac_res=`eval echo '${'$as_ac_var'}'`
14006 { echo "$as_me:$LINENO: result: $ac_res" >&5
14007 echo "${ECHO_T}$ac_res" >&6; }
14008 if test `eval echo '${'$as_ac_var'}'` = yes; then
14009 cat >>confdefs.h <<_ACEOF
14010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14011 _ACEOF
14014 done
14016 LIBS="$ac_wine_check_funcs_save_LIBS"
14018 # Extract the first word of "esd-config", so it can be a program name with args.
14019 set dummy esd-config; ac_word=$2
14020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14022 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14024 else
14025 case $ESDCONFIG in
14026 [\\/]* | ?:[\\/]*)
14027 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14033 IFS=$as_save_IFS
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14037 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14039 break 2
14041 done
14042 done
14043 IFS=$as_save_IFS
14046 esac
14048 ESDCONFIG=$ac_cv_path_ESDCONFIG
14049 if test -n "$ESDCONFIG"; then
14050 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14051 echo "${ECHO_T}$ESDCONFIG" >&6; }
14052 else
14053 { echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6; }
14058 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14059 then
14060 ESD_CFLAGS=""
14061 for i in `$ESDCONFIG --cflags`
14063 case "$i" in
14064 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14065 esac
14066 done
14067 ESD_LIBS=`$ESDCONFIG --libs`
14068 save_CFLAGS="$CFLAGS"
14069 CFLAGS="$CFLAGS $ESD_CFLAGS"
14070 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14071 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14072 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 else
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lesd $LIBS"
14077 cat >conftest.$ac_ext <<_ACEOF
14078 /* confdefs.h. */
14079 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14087 #ifdef __cplusplus
14088 extern "C"
14089 #endif
14090 char esd_open_sound ();
14092 main ()
14094 return esd_open_sound ();
14096 return 0;
14098 _ACEOF
14099 rm -f conftest.$ac_objext conftest$ac_exeext
14100 if { (ac_try="$ac_link"
14101 case "(($ac_try" in
14102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14103 *) ac_try_echo=$ac_try;;
14104 esac
14105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14106 (eval "$ac_link") 2>conftest.er1
14107 ac_status=$?
14108 grep -v '^ *+' conftest.er1 >conftest.err
14109 rm -f conftest.er1
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && {
14113 test -z "$ac_c_werror_flag" ||
14114 test ! -s conftest.err
14115 } && test -s conftest$ac_exeext &&
14116 $as_test_x conftest$ac_exeext; then
14117 ac_cv_lib_esd_esd_open_sound=yes
14118 else
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_lib_esd_esd_open_sound=no
14125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14130 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14131 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14132 ESDLIBS=$ESD_LIBS
14134 ESDINCL=$ESD_CFLAGS
14137 cat >>confdefs.h <<\_ACEOF
14138 #define HAVE_ESD 1
14139 _ACEOF
14143 CFLAGS="$save_CFLAGS"
14146 ALSALIBS=""
14148 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14149 then
14150 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14151 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14152 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 ac_check_lib_save_LIBS=$LIBS
14156 LIBS="-lasound $LIBS"
14157 cat >conftest.$ac_ext <<_ACEOF
14158 /* confdefs.h. */
14159 _ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14167 #ifdef __cplusplus
14168 extern "C"
14169 #endif
14170 char snd_pcm_hw_params_get_access ();
14172 main ()
14174 return snd_pcm_hw_params_get_access ();
14176 return 0;
14178 _ACEOF
14179 rm -f conftest.$ac_objext conftest$ac_exeext
14180 if { (ac_try="$ac_link"
14181 case "(($ac_try" in
14182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14183 *) ac_try_echo=$ac_try;;
14184 esac
14185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14186 (eval "$ac_link") 2>conftest.er1
14187 ac_status=$?
14188 grep -v '^ *+' conftest.er1 >conftest.err
14189 rm -f conftest.er1
14190 cat conftest.err >&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } && {
14193 test -z "$ac_c_werror_flag" ||
14194 test ! -s conftest.err
14195 } && test -s conftest$ac_exeext &&
14196 $as_test_x conftest$ac_exeext; then
14197 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14198 else
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.$ac_ext >&5
14202 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS=$ac_check_lib_save_LIBS
14209 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14210 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14211 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14212 cat >conftest.$ac_ext <<_ACEOF
14213 /* confdefs.h. */
14214 _ACEOF
14215 cat confdefs.h >>conftest.$ac_ext
14216 cat >>conftest.$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 #ifdef HAVE_ALSA_ASOUNDLIB_H
14219 #include <alsa/asoundlib.h>
14220 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14221 #include <sys/asoundlib.h>
14222 #endif
14224 main ()
14226 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14228 return 0;
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (ac_try="$ac_compile"
14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14236 esac
14237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14238 (eval "$ac_compile") 2>conftest.er1
14239 ac_status=$?
14240 grep -v '^ *+' conftest.er1 >conftest.err
14241 rm -f conftest.er1
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest.$ac_objext; then
14249 cat >>confdefs.h <<\_ACEOF
14250 #define HAVE_ALSA 1
14251 _ACEOF
14253 ALSALIBS="-lasound"
14254 else
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.$ac_ext >&5
14261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14266 AUDIOIOLIBS=""
14268 if test "$ac_cv_header_libaudioio_h" = "yes"
14269 then
14270 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14271 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14272 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-laudioio $LIBS"
14277 cat >conftest.$ac_ext <<_ACEOF
14278 /* confdefs.h. */
14279 _ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
14287 #ifdef __cplusplus
14288 extern "C"
14289 #endif
14290 char AudioIOGetVersion ();
14292 main ()
14294 return AudioIOGetVersion ();
14296 return 0;
14298 _ACEOF
14299 rm -f conftest.$ac_objext conftest$ac_exeext
14300 if { (ac_try="$ac_link"
14301 case "(($ac_try" in
14302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14303 *) ac_try_echo=$ac_try;;
14304 esac
14305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14306 (eval "$ac_link") 2>conftest.er1
14307 ac_status=$?
14308 grep -v '^ *+' conftest.er1 >conftest.err
14309 rm -f conftest.er1
14310 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && {
14313 test -z "$ac_c_werror_flag" ||
14314 test ! -s conftest.err
14315 } && test -s conftest$ac_exeext &&
14316 $as_test_x conftest$ac_exeext; then
14317 ac_cv_lib_audioio_AudioIOGetVersion=yes
14318 else
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14322 ac_cv_lib_audioio_AudioIOGetVersion=no
14325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14326 conftest$ac_exeext conftest.$ac_ext
14327 LIBS=$ac_check_lib_save_LIBS
14329 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14330 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14331 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14332 AUDIOIOLIBS="-laudioio"
14334 cat >>confdefs.h <<\_ACEOF
14335 #define HAVE_LIBAUDIOIO 1
14336 _ACEOF
14343 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14344 then
14345 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14346 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14347 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 else
14350 ac_check_soname_save_LIBS=$LIBS
14351 LIBS="-lcapi20 $LIBS"
14352 cat >conftest.$ac_ext <<_ACEOF
14353 /* confdefs.h. */
14354 _ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14362 #ifdef __cplusplus
14363 extern "C"
14364 #endif
14365 char capi20_register ();
14367 main ()
14369 return capi20_register ();
14371 return 0;
14373 _ACEOF
14374 rm -f conftest.$ac_objext conftest$ac_exeext
14375 if { (ac_try="$ac_link"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_link") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest$ac_exeext &&
14391 $as_test_x conftest$ac_exeext; then
14392 case "$LIBEXT" in
14393 dll) ;;
14394 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'` ;;
14395 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14396 esac
14397 else
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.$ac_ext >&5
14404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_soname_save_LIBS
14408 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14409 { echo "$as_me:$LINENO: result: not found" >&5
14410 echo "${ECHO_T}not found" >&6; }
14412 else
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14414 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14416 cat >>confdefs.h <<_ACEOF
14417 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14418 _ACEOF
14424 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14425 wine_notices="$wine_notices|libcapi20 development files not found.
14426 Wine will be built without ISDN support. (capi2032.dll)"
14430 if test "$ac_cv_header_cups_cups_h" = "yes"
14431 then
14432 { echo "$as_me:$LINENO: checking for -lcups" >&5
14433 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14434 if test "${ac_cv_lib_soname_cups+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 else
14437 ac_check_soname_save_LIBS=$LIBS
14438 LIBS="-lcups $LIBS"
14439 cat >conftest.$ac_ext <<_ACEOF
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14449 #ifdef __cplusplus
14450 extern "C"
14451 #endif
14452 char cupsGetDefault ();
14454 main ()
14456 return cupsGetDefault ();
14458 return 0;
14460 _ACEOF
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14466 esac
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link") 2>conftest.er1
14469 ac_status=$?
14470 grep -v '^ *+' conftest.er1 >conftest.err
14471 rm -f conftest.er1
14472 cat conftest.err >&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } && {
14475 test -z "$ac_c_werror_flag" ||
14476 test ! -s conftest.err
14477 } && test -s conftest$ac_exeext &&
14478 $as_test_x conftest$ac_exeext; then
14479 case "$LIBEXT" in
14480 dll) ;;
14481 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'` ;;
14482 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14483 esac
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LIBS=$ac_check_soname_save_LIBS
14495 if test "x$ac_cv_lib_soname_cups" = "x"; then
14496 { echo "$as_me:$LINENO: result: not found" >&5
14497 echo "${ECHO_T}not found" >&6; }
14499 else
14500 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14501 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14503 cat >>confdefs.h <<_ACEOF
14504 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14505 _ACEOF
14511 if test "x$ac_cv_lib_soname_cups" = "x"; then
14512 wine_notices="$wine_notices|libcups development files not found.
14513 Wine will be built without CUPS support."
14517 if test "$ac_cv_header_jack_jack_h" = "yes"
14518 then
14519 { echo "$as_me:$LINENO: checking for -ljack" >&5
14520 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14521 if test "${ac_cv_lib_soname_jack+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 ac_check_soname_save_LIBS=$LIBS
14525 LIBS="-ljack $LIBS"
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14533 /* Override any GCC internal prototype to avoid an error.
14534 Use char because int might match the return type of a GCC
14535 builtin and then its argument prototype would still apply. */
14536 #ifdef __cplusplus
14537 extern "C"
14538 #endif
14539 char jack_client_new ();
14541 main ()
14543 return jack_client_new ();
14545 return 0;
14547 _ACEOF
14548 rm -f conftest.$ac_objext conftest$ac_exeext
14549 if { (ac_try="$ac_link"
14550 case "(($ac_try" in
14551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14553 esac
14554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14555 (eval "$ac_link") 2>conftest.er1
14556 ac_status=$?
14557 grep -v '^ *+' conftest.er1 >conftest.err
14558 rm -f conftest.er1
14559 cat conftest.err >&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } && {
14562 test -z "$ac_c_werror_flag" ||
14563 test ! -s conftest.err
14564 } && test -s conftest$ac_exeext &&
14565 $as_test_x conftest$ac_exeext; then
14566 case "$LIBEXT" in
14567 dll) ;;
14568 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'` ;;
14569 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14570 esac
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_soname_save_LIBS
14582 if test "x$ac_cv_lib_soname_jack" = "x"; then
14583 { echo "$as_me:$LINENO: result: not found" >&5
14584 echo "${ECHO_T}not found" >&6; }
14586 else
14587 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14588 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14590 cat >>confdefs.h <<_ACEOF
14591 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14592 _ACEOF
14599 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14600 then
14601 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14602 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14603 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606 ac_check_soname_save_LIBS=$LIBS
14607 LIBS="-lfontconfig $LIBS"
14608 cat >conftest.$ac_ext <<_ACEOF
14609 /* confdefs.h. */
14610 _ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14615 /* Override any GCC internal prototype to avoid an error.
14616 Use char because int might match the return type of a GCC
14617 builtin and then its argument prototype would still apply. */
14618 #ifdef __cplusplus
14619 extern "C"
14620 #endif
14621 char FcInit ();
14623 main ()
14625 return FcInit ();
14627 return 0;
14629 _ACEOF
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (ac_try="$ac_link"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link") 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest$ac_exeext &&
14647 $as_test_x conftest$ac_exeext; then
14648 case "$LIBEXT" in
14649 dll) ;;
14650 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'` ;;
14651 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14652 esac
14653 else
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.$ac_ext >&5
14660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14661 conftest$ac_exeext conftest.$ac_ext
14662 LIBS=$ac_check_soname_save_LIBS
14664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14665 { echo "$as_me:$LINENO: result: not found" >&5
14666 echo "${ECHO_T}not found" >&6; }
14668 else
14669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14670 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14672 cat >>confdefs.h <<_ACEOF
14673 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14674 _ACEOF
14679 elif test -n "$X_CFLAGS"
14680 then
14681 ac_save_CPPFLAGS="$CPPFLAGS"
14682 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14683 $as_unset ac_cv_header_fontconfig_fontconfig_h
14685 for ac_header in fontconfig/fontconfig.h
14687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 ac_res=`eval echo '${'$as_ac_Header'}'`
14695 { echo "$as_me:$LINENO: result: $ac_res" >&5
14696 echo "${ECHO_T}$ac_res" >&6; }
14697 else
14698 # Is the header compilable?
14699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14701 cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 $ac_includes_default
14708 #include <$ac_header>
14709 _ACEOF
14710 rm -f conftest.$ac_objext
14711 if { (ac_try="$ac_compile"
14712 case "(($ac_try" in
14713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14715 esac
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_compile") 2>conftest.er1
14718 ac_status=$?
14719 grep -v '^ *+' conftest.er1 >conftest.err
14720 rm -f conftest.er1
14721 cat conftest.err >&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } && {
14724 test -z "$ac_c_werror_flag" ||
14725 test ! -s conftest.err
14726 } && test -s conftest.$ac_objext; then
14727 ac_header_compiler=yes
14728 else
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14732 ac_header_compiler=no
14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14736 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14737 echo "${ECHO_T}$ac_header_compiler" >&6; }
14739 # Is the header present?
14740 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <$ac_header>
14749 _ACEOF
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null && {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 }; then
14766 ac_header_preproc=yes
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14771 ac_header_preproc=no
14774 rm -f conftest.err conftest.$ac_ext
14775 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14776 echo "${ECHO_T}$ac_header_preproc" >&6; }
14778 # So? What about this header?
14779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14780 yes:no: )
14781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14785 ac_header_preproc=yes
14787 no:yes:* )
14788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14792 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14795 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14798 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14800 ( cat <<\_ASBOX
14801 ## ------------------------------------ ##
14802 ## Report this to wine-devel@winehq.org ##
14803 ## ------------------------------------ ##
14804 _ASBOX
14805 ) | sed "s/^/$as_me: WARNING: /" >&2
14807 esac
14808 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14811 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 else
14813 eval "$as_ac_Header=\$ac_header_preproc"
14815 ac_res=`eval echo '${'$as_ac_Header'}'`
14816 { echo "$as_me:$LINENO: result: $ac_res" >&5
14817 echo "${ECHO_T}$ac_res" >&6; }
14820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14821 cat >>confdefs.h <<_ACEOF
14822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14823 _ACEOF
14827 done
14829 CPPFLAGS="$ac_save_CPPFLAGS"
14830 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14831 then
14832 FONTCONFIGINCL="$X_CFLAGS"
14834 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14835 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14836 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 else
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lfontconfig $X_LIBS $LIBS"
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 #ifdef __cplusplus
14852 extern "C"
14853 #endif
14854 char FcInit ();
14856 main ()
14858 return FcInit ();
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (ac_try="$ac_link"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_link") 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } && {
14877 test -z "$ac_c_werror_flag" ||
14878 test ! -s conftest.err
14879 } && test -s conftest$ac_exeext &&
14880 $as_test_x conftest$ac_exeext; then
14881 case "$LIBEXT" in
14882 dll) ;;
14883 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'` ;;
14884 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14885 esac
14886 else
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14894 conftest$ac_exeext conftest.$ac_ext
14895 LIBS=$ac_check_soname_save_LIBS
14897 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14898 { echo "$as_me:$LINENO: result: not found" >&5
14899 echo "${ECHO_T}not found" >&6; }
14901 else
14902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14903 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14905 cat >>confdefs.h <<_ACEOF
14906 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14907 _ACEOF
14914 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14915 wine_notices="$wine_notices|fontconfig development files not found.
14916 Wine will be built without fontconfig support."
14920 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14921 then
14922 { echo "$as_me:$LINENO: checking for -lssl" >&5
14923 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14924 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 else
14927 ac_check_soname_save_LIBS=$LIBS
14928 LIBS="-lssl $LIBS"
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14939 #ifdef __cplusplus
14940 extern "C"
14941 #endif
14942 char SSL_library_init ();
14944 main ()
14946 return SSL_library_init ();
14948 return 0;
14950 _ACEOF
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (ac_try="$ac_link"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14956 esac
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_link") 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest$ac_exeext &&
14968 $as_test_x conftest$ac_exeext; then
14969 case "$LIBEXT" in
14970 dll) ;;
14971 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'` ;;
14972 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14973 esac
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_check_soname_save_LIBS
14985 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14986 { echo "$as_me:$LINENO: result: not found" >&5
14987 echo "${ECHO_T}not found" >&6; }
14989 else
14990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14991 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14993 cat >>confdefs.h <<_ACEOF
14994 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14995 _ACEOF
15000 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15001 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15002 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 ac_check_soname_save_LIBS=$LIBS
15006 LIBS="-lcrypto $LIBS"
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15017 #ifdef __cplusplus
15018 extern "C"
15019 #endif
15020 char BIO_new_socket ();
15022 main ()
15024 return BIO_new_socket ();
15026 return 0;
15028 _ACEOF
15029 rm -f conftest.$ac_objext conftest$ac_exeext
15030 if { (ac_try="$ac_link"
15031 case "(($ac_try" in
15032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15033 *) ac_try_echo=$ac_try;;
15034 esac
15035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15036 (eval "$ac_link") 2>conftest.er1
15037 ac_status=$?
15038 grep -v '^ *+' conftest.er1 >conftest.err
15039 rm -f conftest.er1
15040 cat conftest.err >&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } && {
15043 test -z "$ac_c_werror_flag" ||
15044 test ! -s conftest.err
15045 } && test -s conftest$ac_exeext &&
15046 $as_test_x conftest$ac_exeext; then
15047 case "$LIBEXT" in
15048 dll) ;;
15049 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'` ;;
15050 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15051 esac
15052 else
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.$ac_ext >&5
15059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15060 conftest$ac_exeext conftest.$ac_ext
15061 LIBS=$ac_check_soname_save_LIBS
15063 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15064 { echo "$as_me:$LINENO: result: not found" >&5
15065 echo "${ECHO_T}not found" >&6; }
15067 else
15068 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15069 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15071 cat >>confdefs.h <<_ACEOF
15072 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15073 _ACEOF
15079 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15080 wine_notices="$wine_notices|OpenSSL development files not found.
15081 Wine will be built without SSL support. (wininet.dll)"
15085 if test "$ac_cv_header_jpeglib_h" = "yes"
15086 then
15087 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15088 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15089 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-ljpeg $LIBS"
15094 cat >conftest.$ac_ext <<_ACEOF
15095 /* confdefs.h. */
15096 _ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15104 #ifdef __cplusplus
15105 extern "C"
15106 #endif
15107 char jpeg_start_decompress ();
15109 main ()
15111 return jpeg_start_decompress ();
15113 return 0;
15115 _ACEOF
15116 rm -f conftest.$ac_objext conftest$ac_exeext
15117 if { (ac_try="$ac_link"
15118 case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15121 esac
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_link") 2>conftest.er1
15124 ac_status=$?
15125 grep -v '^ *+' conftest.er1 >conftest.err
15126 rm -f conftest.er1
15127 cat conftest.err >&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && {
15130 test -z "$ac_c_werror_flag" ||
15131 test ! -s conftest.err
15132 } && test -s conftest$ac_exeext &&
15133 $as_test_x conftest$ac_exeext; then
15134 case "$LIBEXT" in
15135 dll) ;;
15136 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'` ;;
15137 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15138 esac
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_soname_save_LIBS
15150 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15151 { echo "$as_me:$LINENO: result: not found" >&5
15152 echo "${ECHO_T}not found" >&6; }
15154 else
15155 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15156 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15158 cat >>confdefs.h <<_ACEOF
15159 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15160 _ACEOF
15166 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15167 wine_notices="$wine_notices|libjpeg development files not found.
15168 Wine will be built without JPEG support. (oleaut32.dll)"
15172 if test "$ac_cv_header_png_h" = "yes"
15173 then
15174 { echo "$as_me:$LINENO: checking for -lpng" >&5
15175 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15176 if test "${ac_cv_lib_soname_png+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 else
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lpng $LIBS"
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char png_create_read_struct ();
15196 main ()
15198 return png_create_read_struct ();
15200 return 0;
15202 _ACEOF
15203 rm -f conftest.$ac_objext conftest$ac_exeext
15204 if { (ac_try="$ac_link"
15205 case "(($ac_try" in
15206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15207 *) ac_try_echo=$ac_try;;
15208 esac
15209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15210 (eval "$ac_link") 2>conftest.er1
15211 ac_status=$?
15212 grep -v '^ *+' conftest.er1 >conftest.err
15213 rm -f conftest.er1
15214 cat conftest.err >&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } && {
15217 test -z "$ac_c_werror_flag" ||
15218 test ! -s conftest.err
15219 } && test -s conftest$ac_exeext &&
15220 $as_test_x conftest$ac_exeext; then
15221 case "$LIBEXT" in
15222 dll) ;;
15223 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'` ;;
15224 *) 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'` ;;
15225 esac
15226 else
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15234 conftest$ac_exeext conftest.$ac_ext
15235 LIBS=$ac_check_soname_save_LIBS
15237 if test "x$ac_cv_lib_soname_png" = "x"; then
15238 { echo "$as_me:$LINENO: result: not found" >&5
15239 echo "${ECHO_T}not found" >&6; }
15241 else
15242 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15243 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15245 cat >>confdefs.h <<_ACEOF
15246 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15247 _ACEOF
15253 if test "x$ac_cv_lib_soname_png" = "x"; then
15254 wine_notices="$wine_notices|libpng development files not found.
15255 Wine will be built without PNG support. (oleaut32.dll)"
15259 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15260 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15261 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15262 "$ac_cv_header_soundcard_h" != "yes"; then
15263 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15268 EXTRACFLAGS=""
15270 if test "x${GCC}" = "xyes"
15271 then
15272 EXTRACFLAGS="-Wall -pipe"
15274 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15275 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15276 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 else
15279 if test "$cross_compiling" = yes; then
15280 ac_cv_c_gcc_strength_bug="yes"
15281 else
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 int L[4] = {0,1,2,3};
15290 main ()
15292 static int Array[3];
15293 unsigned int B = 3;
15294 int i;
15295 for(i=0; i<B; i++) Array[i] = i - 3;
15296 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15297 L[i] = 4;
15298 exit( Array[1] != -2 || L[2] != 3)
15300 return 0;
15302 _ACEOF
15303 rm -f conftest$ac_exeext
15304 if { (ac_try="$ac_link"
15305 case "(($ac_try" in
15306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15307 *) ac_try_echo=$ac_try;;
15308 esac
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_link") 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15314 { (case "(($ac_try" in
15315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15317 esac
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_try") 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_c_gcc_strength_bug="no"
15324 else
15325 echo "$as_me: program exited with status $ac_status" >&5
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15329 ( exit $ac_status )
15330 ac_cv_c_gcc_strength_bug="yes"
15332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15337 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15338 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15339 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15340 then
15341 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15345 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15346 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15347 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 ac_wine_try_cflags_saved=$CFLAGS
15351 CFLAGS="$CFLAGS -fshort-wchar"
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 ()
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_cflags__fshort_wchar=yes
15386 else
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.$ac_ext >&5
15390 ac_cv_cflags__fshort_wchar=no
15393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15394 conftest$ac_exeext conftest.$ac_ext
15395 CFLAGS=$ac_wine_try_cflags_saved
15397 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15398 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15399 if test $ac_cv_cflags__fshort_wchar = yes; then
15401 cat >>confdefs.h <<\_ACEOF
15402 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15403 _ACEOF
15407 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15408 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15409 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 else
15412 ac_wine_try_cflags_saved=$CFLAGS
15413 CFLAGS="$CFLAGS -fno-strict-aliasing"
15414 cat >conftest.$ac_ext <<_ACEOF
15415 /* confdefs.h. */
15416 _ACEOF
15417 cat confdefs.h >>conftest.$ac_ext
15418 cat >>conftest.$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15422 main ()
15426 return 0;
15428 _ACEOF
15429 rm -f conftest.$ac_objext conftest$ac_exeext
15430 if { (ac_try="$ac_link"
15431 case "(($ac_try" in
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15433 *) ac_try_echo=$ac_try;;
15434 esac
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15436 (eval "$ac_link") 2>conftest.er1
15437 ac_status=$?
15438 grep -v '^ *+' conftest.er1 >conftest.err
15439 rm -f conftest.er1
15440 cat conftest.err >&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); } && {
15443 test -z "$ac_c_werror_flag" ||
15444 test ! -s conftest.err
15445 } && test -s conftest$ac_exeext &&
15446 $as_test_x conftest$ac_exeext; then
15447 ac_cv_cflags__fno_strict_aliasing=yes
15448 else
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15452 ac_cv_cflags__fno_strict_aliasing=no
15455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15456 conftest$ac_exeext conftest.$ac_ext
15457 CFLAGS=$ac_wine_try_cflags_saved
15459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15460 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15461 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15462 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15465 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15466 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15467 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 else
15470 ac_wine_try_cflags_saved=$CFLAGS
15471 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15472 cat >conftest.$ac_ext <<_ACEOF
15473 /* confdefs.h. */
15474 _ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15480 main ()
15484 return 0;
15486 _ACEOF
15487 rm -f conftest.$ac_objext conftest$ac_exeext
15488 if { (ac_try="$ac_link"
15489 case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15492 esac
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_link") 2>conftest.er1
15495 ac_status=$?
15496 grep -v '^ *+' conftest.er1 >conftest.err
15497 rm -f conftest.er1
15498 cat conftest.err >&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } && {
15501 test -z "$ac_c_werror_flag" ||
15502 test ! -s conftest.err
15503 } && test -s conftest$ac_exeext &&
15504 $as_test_x conftest$ac_exeext; then
15505 ac_cv_cflags__Wdeclaration_after_statement=yes
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15510 ac_cv_cflags__Wdeclaration_after_statement=no
15513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15514 conftest$ac_exeext conftest.$ac_ext
15515 CFLAGS=$ac_wine_try_cflags_saved
15517 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15518 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15519 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15520 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15523 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15524 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15525 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15526 echo $ECHO_N "(cached) $ECHO_C" >&6
15527 else
15528 ac_wine_try_cflags_saved=$CFLAGS
15529 CFLAGS="$CFLAGS -Wwrite-strings"
15530 cat >conftest.$ac_ext <<_ACEOF
15531 /* confdefs.h. */
15532 _ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15538 main ()
15542 return 0;
15544 _ACEOF
15545 rm -f conftest.$ac_objext conftest$ac_exeext
15546 if { (ac_try="$ac_link"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15550 esac
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_link") 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest$ac_exeext &&
15562 $as_test_x conftest$ac_exeext; then
15563 ac_cv_cflags__Wwrite_strings=yes
15564 else
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 ac_cv_cflags__Wwrite_strings=no
15571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15572 conftest$ac_exeext conftest.$ac_ext
15573 CFLAGS=$ac_wine_try_cflags_saved
15575 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15576 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15577 if test $ac_cv_cflags__Wwrite_strings = yes; then
15578 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15582 saved_CFLAGS="$CFLAGS"
15583 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15584 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15585 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15586 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15587 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 else
15589 cat >conftest.$ac_ext <<_ACEOF
15590 /* confdefs.h. */
15591 _ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 #include <string.h>
15597 main ()
15601 return 0;
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15609 esac
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15621 ac_cv_c_string_h_warnings=no
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 ac_cv_c_string_h_warnings=yes
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15631 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15632 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15633 CFLAGS="$saved_CFLAGS"
15634 if test "$ac_cv_c_string_h_warnings" = "no"
15635 then
15636 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15639 BUILTINFLAG=""
15641 saved_CFLAGS="$CFLAGS"
15642 CFLAGS="$CFLAGS -Werror"
15643 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15644 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15645 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 else
15648 cat >conftest.$ac_ext <<_ACEOF
15649 /* confdefs.h. */
15650 _ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15656 main ()
15658 int iswlower(unsigned short);
15660 return 0;
15662 _ACEOF
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15668 esac
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15671 ac_status=$?
15672 grep -v '^ *+' conftest.er1 >conftest.err
15673 rm -f conftest.er1
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 ac_cv_c_builtin_wchar_ctype=no
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15685 ac_cv_c_builtin_wchar_ctype=yes
15688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15690 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15691 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15692 CFLAGS="$saved_CFLAGS"
15693 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15694 then
15695 BUILTINFLAG="-fno-builtin"
15700 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15701 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15702 if test "${ac_cv_asm_func_def+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 else
15705 cat >conftest.$ac_ext <<_ACEOF
15706 /* confdefs.h. */
15707 _ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15713 main ()
15715 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15717 return 0;
15719 _ACEOF
15720 rm -f conftest.$ac_objext conftest$ac_exeext
15721 if { (ac_try="$ac_link"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15725 esac
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_link") 2>conftest.er1
15728 ac_status=$?
15729 grep -v '^ *+' conftest.er1 >conftest.err
15730 rm -f conftest.er1
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest$ac_exeext &&
15737 $as_test_x conftest$ac_exeext; then
15738 ac_cv_asm_func_def=".def"
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15743 cat >conftest.$ac_ext <<_ACEOF
15744 /* confdefs.h. */
15745 _ACEOF
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15751 main ()
15753 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15755 return 0;
15757 _ACEOF
15758 rm -f conftest.$ac_objext conftest$ac_exeext
15759 if { (ac_try="$ac_link"
15760 case "(($ac_try" in
15761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15762 *) ac_try_echo=$ac_try;;
15763 esac
15764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15765 (eval "$ac_link") 2>conftest.er1
15766 ac_status=$?
15767 grep -v '^ *+' conftest.er1 >conftest.err
15768 rm -f conftest.er1
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } && {
15772 test -z "$ac_c_werror_flag" ||
15773 test ! -s conftest.err
15774 } && test -s conftest$ac_exeext &&
15775 $as_test_x conftest$ac_exeext; then
15776 ac_cv_asm_func_def=".type @function"
15777 else
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15789 main ()
15791 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15793 return 0;
15795 _ACEOF
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (ac_try="$ac_link"
15798 case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15801 esac
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_link") 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest$ac_exeext &&
15813 $as_test_x conftest$ac_exeext; then
15814 ac_cv_asm_func_def=".type 2"
15815 else
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.$ac_ext >&5
15819 ac_cv_asm_func_def="unknown"
15822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15823 conftest$ac_exeext conftest.$ac_ext
15826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15827 conftest$ac_exeext conftest.$ac_ext
15830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15831 conftest$ac_exeext conftest.$ac_ext
15833 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15834 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15838 case "$ac_cv_asm_func_def" in
15839 ".def")
15840 cat >>confdefs.h <<\_ACEOF
15841 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15842 _ACEOF
15844 ".type @function")
15845 cat >>confdefs.h <<\_ACEOF
15846 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15847 _ACEOF
15849 ".type 2")
15850 cat >>confdefs.h <<\_ACEOF
15851 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15852 _ACEOF
15855 cat >>confdefs.h <<\_ACEOF
15856 #define __ASM_FUNC(name) ""
15857 _ACEOF
15859 esac
15862 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15863 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15864 if test "${ac_cv_c_extern_prefix+set}" = set; then
15865 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 else
15867 cat >conftest.$ac_ext <<_ACEOF
15868 /* confdefs.h. */
15869 _ACEOF
15870 cat confdefs.h >>conftest.$ac_ext
15871 cat >>conftest.$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 extern int ac_test;
15875 main ()
15877 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15879 return 0;
15881 _ACEOF
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (ac_try="$ac_link"
15884 case "(($ac_try" in
15885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15886 *) ac_try_echo=$ac_try;;
15887 esac
15888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15889 (eval "$ac_link") 2>conftest.er1
15890 ac_status=$?
15891 grep -v '^ *+' conftest.er1 >conftest.err
15892 rm -f conftest.er1
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } && {
15896 test -z "$ac_c_werror_flag" ||
15897 test ! -s conftest.err
15898 } && test -s conftest$ac_exeext &&
15899 $as_test_x conftest$ac_exeext; then
15900 ac_cv_c_extern_prefix="yes"
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15905 ac_cv_c_extern_prefix="no"
15908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15909 conftest$ac_exeext conftest.$ac_ext
15911 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15912 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15916 if test "$ac_cv_c_extern_prefix" = "yes"
15917 then
15918 cat >>confdefs.h <<\_ACEOF
15919 #define __ASM_NAME(name) "_" name
15920 _ACEOF
15922 else
15923 cat >>confdefs.h <<\_ACEOF
15924 #define __ASM_NAME(name) name
15925 _ACEOF
15930 LDPATH=""
15932 case $build_os in
15933 cygwin*|mingw32*)
15934 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15936 darwin*|macosx*)
15938 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15939 then
15940 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15944 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15946 esac
15948 case $host_os in
15949 mingw32*)
15950 CRTLIBS="-lmsvcrt"
15952 SOCKETLIBS="-lws2_32"
15955 esac
15957 MAIN_BINARY="wine-pthread"
15958 case $host_cpu in
15959 *i[3456789]86*)
15960 case $host_os in
15961 linux* | k*bsd*-gnu)
15962 MAIN_BINARY="wine-glibc"
15964 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15966 freebsd*)
15967 MAIN_BINARY="wine-freebsd"
15969 EXTRA_BINARIES="wine-pthread"
15971 esac
15973 esac
16040 for ac_func in \
16041 _pclose \
16042 _popen \
16043 _snprintf \
16044 _spawnvp \
16045 _strdup \
16046 _stricmp \
16047 _strnicmp \
16048 _vsnprintf \
16049 asctime_r \
16050 chsize \
16051 clone \
16052 dlopen \
16053 epoll_create \
16054 ffs \
16055 finite \
16056 fork \
16057 fpclass \
16058 fstatfs \
16059 fstatvfs \
16060 ftruncate \
16061 futimes \
16062 futimesat \
16063 getdirentries \
16064 getopt_long \
16065 getpagesize \
16066 getpwuid \
16067 gettid \
16068 gettimeofday \
16069 getuid \
16070 inet_pton \
16071 kqueue \
16072 lstat \
16073 memmove \
16074 mmap \
16075 pclose \
16076 poll \
16077 popen \
16078 prctl \
16079 pread \
16080 pwrite \
16081 readlink \
16082 rfork \
16083 sched_yield \
16084 select \
16085 setrlimit \
16086 settimeofday \
16087 sigaltstack \
16088 sigprocmask \
16089 snprintf \
16090 spawnvp \
16091 statfs \
16092 statvfs \
16093 strcasecmp \
16094 strdup \
16095 strerror \
16096 strncasecmp \
16097 strtold \
16098 tcgetattr \
16099 thr_kill2 \
16100 timegm \
16101 usleep \
16102 vsnprintf \
16103 wait4 \
16104 waitpid \
16107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16108 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16121 #define $ac_func innocuous_$ac_func
16123 /* System header to define __stub macros and hopefully few prototypes,
16124 which can conflict with char $ac_func (); below.
16125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16126 <limits.h> exists even on freestanding compilers. */
16128 #ifdef __STDC__
16129 # include <limits.h>
16130 #else
16131 # include <assert.h>
16132 #endif
16134 #undef $ac_func
16136 /* Override any GCC internal prototype to avoid an error.
16137 Use char because int might match the return type of a GCC
16138 builtin and then its argument prototype would still apply. */
16139 #ifdef __cplusplus
16140 extern "C"
16141 #endif
16142 char $ac_func ();
16143 /* The GNU C library defines this for functions which it implements
16144 to always fail with ENOSYS. Some functions are actually named
16145 something starting with __ and the normal name is an alias. */
16146 #if defined __stub_$ac_func || defined __stub___$ac_func
16147 choke me
16148 #endif
16151 main ()
16153 return $ac_func ();
16155 return 0;
16157 _ACEOF
16158 rm -f conftest.$ac_objext conftest$ac_exeext
16159 if { (ac_try="$ac_link"
16160 case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16163 esac
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_link") 2>conftest.er1
16166 ac_status=$?
16167 grep -v '^ *+' conftest.er1 >conftest.err
16168 rm -f conftest.er1
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } && {
16172 test -z "$ac_c_werror_flag" ||
16173 test ! -s conftest.err
16174 } && test -s conftest$ac_exeext &&
16175 $as_test_x conftest$ac_exeext; then
16176 eval "$as_ac_var=yes"
16177 else
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16181 eval "$as_ac_var=no"
16184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16185 conftest$ac_exeext conftest.$ac_ext
16187 ac_res=`eval echo '${'$as_ac_var'}'`
16188 { echo "$as_me:$LINENO: result: $ac_res" >&5
16189 echo "${ECHO_T}$ac_res" >&6; }
16190 if test `eval echo '${'$as_ac_var'}'` = yes; then
16191 cat >>confdefs.h <<_ACEOF
16192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16193 _ACEOF
16196 done
16199 if test "$ac_cv_func_dlopen" = no
16200 then
16201 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16202 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16203 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 else
16206 ac_check_lib_save_LIBS=$LIBS
16207 LIBS="-ldl $LIBS"
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char dlopen ();
16223 main ()
16225 return dlopen ();
16227 return 0;
16229 _ACEOF
16230 rm -f conftest.$ac_objext conftest$ac_exeext
16231 if { (ac_try="$ac_link"
16232 case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_link") 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest$ac_exeext &&
16247 $as_test_x conftest$ac_exeext; then
16248 ac_cv_lib_dl_dlopen=yes
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 ac_cv_lib_dl_dlopen=no
16256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16257 conftest$ac_exeext conftest.$ac_ext
16258 LIBS=$ac_check_lib_save_LIBS
16260 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16261 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16262 if test $ac_cv_lib_dl_dlopen = yes; then
16263 cat >>confdefs.h <<\_ACEOF
16264 #define HAVE_DLOPEN 1
16265 _ACEOF
16266 LIBDL="-ldl"
16271 ac_wine_check_funcs_save_LIBS="$LIBS"
16272 LIBS="$LIBS $LIBDL"
16274 for ac_func in dladdr
16276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 else
16282 cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h. */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16290 #define $ac_func innocuous_$ac_func
16292 /* System header to define __stub macros and hopefully few prototypes,
16293 which can conflict with char $ac_func (); below.
16294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16295 <limits.h> exists even on freestanding compilers. */
16297 #ifdef __STDC__
16298 # include <limits.h>
16299 #else
16300 # include <assert.h>
16301 #endif
16303 #undef $ac_func
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 #ifdef __cplusplus
16309 extern "C"
16310 #endif
16311 char $ac_func ();
16312 /* The GNU C library defines this for functions which it implements
16313 to always fail with ENOSYS. Some functions are actually named
16314 something starting with __ and the normal name is an alias. */
16315 #if defined __stub_$ac_func || defined __stub___$ac_func
16316 choke me
16317 #endif
16320 main ()
16322 return $ac_func ();
16324 return 0;
16326 _ACEOF
16327 rm -f conftest.$ac_objext conftest$ac_exeext
16328 if { (ac_try="$ac_link"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16332 esac
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_link") 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } && {
16341 test -z "$ac_c_werror_flag" ||
16342 test ! -s conftest.err
16343 } && test -s conftest$ac_exeext &&
16344 $as_test_x conftest$ac_exeext; then
16345 eval "$as_ac_var=yes"
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16350 eval "$as_ac_var=no"
16353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16354 conftest$ac_exeext conftest.$ac_ext
16356 ac_res=`eval echo '${'$as_ac_var'}'`
16357 { echo "$as_me:$LINENO: result: $ac_res" >&5
16358 echo "${ECHO_T}$ac_res" >&6; }
16359 if test `eval echo '${'$as_ac_var'}'` = yes; then
16360 cat >>confdefs.h <<_ACEOF
16361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16362 _ACEOF
16365 done
16367 LIBS="$ac_wine_check_funcs_save_LIBS"
16369 if test "$ac_cv_func_poll" = no
16370 then
16371 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16372 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16373 if test "${ac_cv_lib_poll_poll+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16375 else
16376 ac_check_lib_save_LIBS=$LIBS
16377 LIBS="-lpoll $LIBS"
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16388 #ifdef __cplusplus
16389 extern "C"
16390 #endif
16391 char poll ();
16393 main ()
16395 return poll ();
16397 return 0;
16399 _ACEOF
16400 rm -f conftest.$ac_objext conftest$ac_exeext
16401 if { (ac_try="$ac_link"
16402 case "(($ac_try" in
16403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16404 *) ac_try_echo=$ac_try;;
16405 esac
16406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16407 (eval "$ac_link") 2>conftest.er1
16408 ac_status=$?
16409 grep -v '^ *+' conftest.er1 >conftest.err
16410 rm -f conftest.er1
16411 cat conftest.err >&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } && {
16414 test -z "$ac_c_werror_flag" ||
16415 test ! -s conftest.err
16416 } && test -s conftest$ac_exeext &&
16417 $as_test_x conftest$ac_exeext; then
16418 ac_cv_lib_poll_poll=yes
16419 else
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 ac_cv_lib_poll_poll=no
16426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16427 conftest$ac_exeext conftest.$ac_ext
16428 LIBS=$ac_check_lib_save_LIBS
16430 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16431 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16432 if test $ac_cv_lib_poll_poll = yes; then
16433 cat >>confdefs.h <<\_ACEOF
16434 #define HAVE_POLL 1
16435 _ACEOF
16436 LIBPOLL="-lpoll"
16442 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16443 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16444 if test "${ac_cv_search_gethostbyname+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 else
16447 ac_func_search_save_LIBS=$LIBS
16448 cat >conftest.$ac_ext <<_ACEOF
16449 /* confdefs.h. */
16450 _ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 #ifdef __cplusplus
16459 extern "C"
16460 #endif
16461 char gethostbyname ();
16463 main ()
16465 return gethostbyname ();
16467 return 0;
16469 _ACEOF
16470 for ac_lib in '' nsl; do
16471 if test -z "$ac_lib"; then
16472 ac_res="none required"
16473 else
16474 ac_res=-l$ac_lib
16475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16477 rm -f conftest.$ac_objext conftest$ac_exeext
16478 if { (ac_try="$ac_link"
16479 case "(($ac_try" in
16480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16482 esac
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_link") 2>conftest.er1
16485 ac_status=$?
16486 grep -v '^ *+' conftest.er1 >conftest.err
16487 rm -f conftest.er1
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && {
16491 test -z "$ac_c_werror_flag" ||
16492 test ! -s conftest.err
16493 } && test -s conftest$ac_exeext &&
16494 $as_test_x conftest$ac_exeext; then
16495 ac_cv_search_gethostbyname=$ac_res
16496 else
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16504 conftest$ac_exeext
16505 if test "${ac_cv_search_gethostbyname+set}" = set; then
16506 break
16508 done
16509 if test "${ac_cv_search_gethostbyname+set}" = set; then
16511 else
16512 ac_cv_search_gethostbyname=no
16514 rm conftest.$ac_ext
16515 LIBS=$ac_func_search_save_LIBS
16517 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16518 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16519 ac_res=$ac_cv_search_gethostbyname
16520 if test "$ac_res" != no; then
16521 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16526 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16527 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16528 if test "${ac_cv_search_connect+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 else
16531 ac_func_search_save_LIBS=$LIBS
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16542 #ifdef __cplusplus
16543 extern "C"
16544 #endif
16545 char connect ();
16547 main ()
16549 return connect ();
16551 return 0;
16553 _ACEOF
16554 for ac_lib in '' socket; do
16555 if test -z "$ac_lib"; then
16556 ac_res="none required"
16557 else
16558 ac_res=-l$ac_lib
16559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16561 rm -f conftest.$ac_objext conftest$ac_exeext
16562 if { (ac_try="$ac_link"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16566 esac
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_link") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest$ac_exeext &&
16578 $as_test_x conftest$ac_exeext; then
16579 ac_cv_search_connect=$ac_res
16580 else
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16588 conftest$ac_exeext
16589 if test "${ac_cv_search_connect+set}" = set; then
16590 break
16592 done
16593 if test "${ac_cv_search_connect+set}" = set; then
16595 else
16596 ac_cv_search_connect=no
16598 rm conftest.$ac_ext
16599 LIBS=$ac_func_search_save_LIBS
16601 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16602 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16603 ac_res=$ac_cv_search_connect
16604 if test "$ac_res" != no; then
16605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16610 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16611 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16612 if test "${ac_cv_search_inet_aton+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 else
16615 ac_func_search_save_LIBS=$LIBS
16616 cat >conftest.$ac_ext <<_ACEOF
16617 /* confdefs.h. */
16618 _ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16626 #ifdef __cplusplus
16627 extern "C"
16628 #endif
16629 char inet_aton ();
16631 main ()
16633 return inet_aton ();
16635 return 0;
16637 _ACEOF
16638 for ac_lib in '' resolv; do
16639 if test -z "$ac_lib"; then
16640 ac_res="none required"
16641 else
16642 ac_res=-l$ac_lib
16643 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16645 rm -f conftest.$ac_objext conftest$ac_exeext
16646 if { (ac_try="$ac_link"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16650 esac
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_link") 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest$ac_exeext &&
16662 $as_test_x conftest$ac_exeext; then
16663 ac_cv_search_inet_aton=$ac_res
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16672 conftest$ac_exeext
16673 if test "${ac_cv_search_inet_aton+set}" = set; then
16674 break
16676 done
16677 if test "${ac_cv_search_inet_aton+set}" = set; then
16679 else
16680 ac_cv_search_inet_aton=no
16682 rm conftest.$ac_ext
16683 LIBS=$ac_func_search_save_LIBS
16685 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16686 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16687 ac_res=$ac_cv_search_inet_aton
16688 if test "$ac_res" != no; then
16689 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16702 for ac_func in \
16703 getaddrinfo \
16704 getnameinfo \
16705 getnetbyname \
16706 getprotobyname \
16707 getprotobynumber \
16708 getservbyport \
16709 inet_network \
16710 sendmsg \
16713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16727 #define $ac_func innocuous_$ac_func
16729 /* System header to define __stub macros and hopefully few prototypes,
16730 which can conflict with char $ac_func (); below.
16731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16732 <limits.h> exists even on freestanding compilers. */
16734 #ifdef __STDC__
16735 # include <limits.h>
16736 #else
16737 # include <assert.h>
16738 #endif
16740 #undef $ac_func
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16745 #ifdef __cplusplus
16746 extern "C"
16747 #endif
16748 char $ac_func ();
16749 /* The GNU C library defines this for functions which it implements
16750 to always fail with ENOSYS. Some functions are actually named
16751 something starting with __ and the normal name is an alias. */
16752 #if defined __stub_$ac_func || defined __stub___$ac_func
16753 choke me
16754 #endif
16757 main ()
16759 return $ac_func ();
16761 return 0;
16763 _ACEOF
16764 rm -f conftest.$ac_objext conftest$ac_exeext
16765 if { (ac_try="$ac_link"
16766 case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16769 esac
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_link") 2>conftest.er1
16772 ac_status=$?
16773 grep -v '^ *+' conftest.er1 >conftest.err
16774 rm -f conftest.er1
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && {
16778 test -z "$ac_c_werror_flag" ||
16779 test ! -s conftest.err
16780 } && test -s conftest$ac_exeext &&
16781 $as_test_x conftest$ac_exeext; then
16782 eval "$as_ac_var=yes"
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 eval "$as_ac_var=no"
16790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16791 conftest$ac_exeext conftest.$ac_ext
16793 ac_res=`eval echo '${'$as_ac_var'}'`
16794 { echo "$as_me:$LINENO: result: $ac_res" >&5
16795 echo "${ECHO_T}$ac_res" >&6; }
16796 if test `eval echo '${'$as_ac_var'}'` = yes; then
16797 cat >>confdefs.h <<_ACEOF
16798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16799 _ACEOF
16802 done
16806 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16807 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16808 if test "${ac_cv_c_const+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16810 else
16811 cat >conftest.$ac_ext <<_ACEOF
16812 /* confdefs.h. */
16813 _ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16819 main ()
16821 /* FIXME: Include the comments suggested by Paul. */
16822 #ifndef __cplusplus
16823 /* Ultrix mips cc rejects this. */
16824 typedef int charset[2];
16825 const charset cs;
16826 /* SunOS 4.1.1 cc rejects this. */
16827 char const *const *pcpcc;
16828 char **ppc;
16829 /* NEC SVR4.0.2 mips cc rejects this. */
16830 struct point {int x, y;};
16831 static struct point const zero = {0,0};
16832 /* AIX XL C 1.02.0.0 rejects this.
16833 It does not let you subtract one const X* pointer from another in
16834 an arm of an if-expression whose if-part is not a constant
16835 expression */
16836 const char *g = "string";
16837 pcpcc = &g + (g ? g-g : 0);
16838 /* HPUX 7.0 cc rejects these. */
16839 ++pcpcc;
16840 ppc = (char**) pcpcc;
16841 pcpcc = (char const *const *) ppc;
16842 { /* SCO 3.2v4 cc rejects this. */
16843 char *t;
16844 char const *s = 0 ? (char *) 0 : (char const *) 0;
16846 *t++ = 0;
16847 if (s) return 0;
16849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16850 int x[] = {25, 17};
16851 const int *foo = &x[0];
16852 ++foo;
16854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16855 typedef const int *iptr;
16856 iptr p = 0;
16857 ++p;
16859 { /* AIX XL C 1.02.0.0 rejects this saying
16860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16861 struct s { int j; const int *ap[3]; };
16862 struct s *b; b->j = 5;
16864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16865 const int foo = 10;
16866 if (!foo) return 0;
16868 return !cs[0] && !zero.x;
16869 #endif
16872 return 0;
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (ac_try="$ac_compile"
16877 case "(($ac_try" in
16878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16879 *) ac_try_echo=$ac_try;;
16880 esac
16881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16882 (eval "$ac_compile") 2>conftest.er1
16883 ac_status=$?
16884 grep -v '^ *+' conftest.er1 >conftest.err
16885 rm -f conftest.er1
16886 cat conftest.err >&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } && {
16889 test -z "$ac_c_werror_flag" ||
16890 test ! -s conftest.err
16891 } && test -s conftest.$ac_objext; then
16892 ac_cv_c_const=yes
16893 else
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16897 ac_cv_c_const=no
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16902 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16903 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16904 if test $ac_cv_c_const = no; then
16906 cat >>confdefs.h <<\_ACEOF
16907 #define const
16908 _ACEOF
16912 { echo "$as_me:$LINENO: checking for inline" >&5
16913 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16914 if test "${ac_cv_c_inline+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 ac_cv_c_inline=no
16918 for ac_kw in inline __inline__ __inline; do
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 #ifndef __cplusplus
16926 typedef int foo_t;
16927 static $ac_kw foo_t static_foo () {return 0; }
16928 $ac_kw foo_t foo () {return 0; }
16929 #endif
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_c_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 ac_cv_c_inline=$ac_kw
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 test "$ac_cv_c_inline" != no && break
16959 done
16962 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16963 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16966 case $ac_cv_c_inline in
16967 inline | yes) ;;
16969 case $ac_cv_c_inline in
16970 no) ac_val=;;
16971 *) ac_val=$ac_cv_c_inline;;
16972 esac
16973 cat >>confdefs.h <<_ACEOF
16974 #ifndef __cplusplus
16975 #define inline $ac_val
16976 #endif
16977 _ACEOF
16979 esac
16981 { echo "$as_me:$LINENO: checking for mode_t" >&5
16982 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16983 if test "${ac_cv_type_mode_t+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 typedef mode_t ac__type_new_;
16995 main ()
16997 if ((ac__type_new_ *) 0)
16998 return 0;
16999 if (sizeof (ac__type_new_))
17000 return 0;
17002 return 0;
17004 _ACEOF
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17009 *) ac_try_echo=$ac_try;;
17010 esac
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.$ac_objext; then
17022 ac_cv_type_mode_t=yes
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 ac_cv_type_mode_t=no
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17033 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17034 if test $ac_cv_type_mode_t = yes; then
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_MODE_T 1
17038 _ACEOF
17042 { echo "$as_me:$LINENO: checking for off_t" >&5
17043 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17044 if test "${ac_cv_type_off_t+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 typedef off_t ac__type_new_;
17056 main ()
17058 if ((ac__type_new_ *) 0)
17059 return 0;
17060 if (sizeof (ac__type_new_))
17061 return 0;
17063 return 0;
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 ac_cv_type_off_t=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 ac_cv_type_off_t=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17094 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17095 if test $ac_cv_type_off_t = yes; then
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_OFF_T 1
17099 _ACEOF
17103 { echo "$as_me:$LINENO: checking for pid_t" >&5
17104 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17105 if test "${ac_cv_type_pid_t+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 typedef pid_t ac__type_new_;
17117 main ()
17119 if ((ac__type_new_ *) 0)
17120 return 0;
17121 if (sizeof (ac__type_new_))
17122 return 0;
17124 return 0;
17126 _ACEOF
17127 rm -f conftest.$ac_objext
17128 if { (ac_try="$ac_compile"
17129 case "(($ac_try" in
17130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17131 *) ac_try_echo=$ac_try;;
17132 esac
17133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17134 (eval "$ac_compile") 2>conftest.er1
17135 ac_status=$?
17136 grep -v '^ *+' conftest.er1 >conftest.err
17137 rm -f conftest.er1
17138 cat conftest.err >&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } && {
17141 test -z "$ac_c_werror_flag" ||
17142 test ! -s conftest.err
17143 } && test -s conftest.$ac_objext; then
17144 ac_cv_type_pid_t=yes
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 ac_cv_type_pid_t=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17155 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17156 if test $ac_cv_type_pid_t = yes; then
17158 cat >>confdefs.h <<_ACEOF
17159 #define HAVE_PID_T 1
17160 _ACEOF
17164 { echo "$as_me:$LINENO: checking for size_t" >&5
17165 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17166 if test "${ac_cv_type_size_t+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 else
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17176 typedef size_t ac__type_new_;
17178 main ()
17180 if ((ac__type_new_ *) 0)
17181 return 0;
17182 if (sizeof (ac__type_new_))
17183 return 0;
17185 return 0;
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (ac_try="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17193 esac
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17196 ac_status=$?
17197 grep -v '^ *+' conftest.er1 >conftest.err
17198 rm -f conftest.er1
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_cv_type_size_t=yes
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_cv_type_size_t=no
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17216 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17217 if test $ac_cv_type_size_t = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_SIZE_T 1
17221 _ACEOF
17225 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17226 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17227 if test "${ac_cv_type_ssize_t+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17237 typedef ssize_t ac__type_new_;
17239 main ()
17241 if ((ac__type_new_ *) 0)
17242 return 0;
17243 if (sizeof (ac__type_new_))
17244 return 0;
17246 return 0;
17248 _ACEOF
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17254 esac
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 ac_cv_type_ssize_t=yes
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 ac_cv_type_ssize_t=no
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17277 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17278 if test $ac_cv_type_ssize_t = yes; then
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_SSIZE_T 1
17282 _ACEOF
17286 { echo "$as_me:$LINENO: checking for long long" >&5
17287 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17288 if test "${ac_cv_type_long_long+set}" = set; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 else
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17298 typedef long long ac__type_new_;
17300 main ()
17302 if ((ac__type_new_ *) 0)
17303 return 0;
17304 if (sizeof (ac__type_new_))
17305 return 0;
17307 return 0;
17309 _ACEOF
17310 rm -f conftest.$ac_objext
17311 if { (ac_try="$ac_compile"
17312 case "(($ac_try" in
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17315 esac
17316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17317 (eval "$ac_compile") 2>conftest.er1
17318 ac_status=$?
17319 grep -v '^ *+' conftest.er1 >conftest.err
17320 rm -f conftest.er1
17321 cat conftest.err >&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } && {
17324 test -z "$ac_c_werror_flag" ||
17325 test ! -s conftest.err
17326 } && test -s conftest.$ac_objext; then
17327 ac_cv_type_long_long=yes
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17332 ac_cv_type_long_long=no
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17338 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17339 if test $ac_cv_type_long_long = yes; then
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_LONG_LONG 1
17343 _ACEOF
17347 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17348 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17349 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17359 typedef fsblkcnt_t ac__type_new_;
17361 main ()
17363 if ((ac__type_new_ *) 0)
17364 return 0;
17365 if (sizeof (ac__type_new_))
17366 return 0;
17368 return 0;
17370 _ACEOF
17371 rm -f conftest.$ac_objext
17372 if { (ac_try="$ac_compile"
17373 case "(($ac_try" in
17374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17375 *) ac_try_echo=$ac_try;;
17376 esac
17377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17378 (eval "$ac_compile") 2>conftest.er1
17379 ac_status=$?
17380 grep -v '^ *+' conftest.er1 >conftest.err
17381 rm -f conftest.er1
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } && {
17385 test -z "$ac_c_werror_flag" ||
17386 test ! -s conftest.err
17387 } && test -s conftest.$ac_objext; then
17388 ac_cv_type_fsblkcnt_t=yes
17389 else
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.$ac_ext >&5
17393 ac_cv_type_fsblkcnt_t=no
17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17399 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17400 if test $ac_cv_type_fsblkcnt_t = yes; then
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_FSBLKCNT_T 1
17404 _ACEOF
17408 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17409 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17410 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17420 typedef fsfilcnt_t ac__type_new_;
17422 main ()
17424 if ((ac__type_new_ *) 0)
17425 return 0;
17426 if (sizeof (ac__type_new_))
17427 return 0;
17429 return 0;
17431 _ACEOF
17432 rm -f conftest.$ac_objext
17433 if { (ac_try="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 ac_cv_type_fsfilcnt_t=yes
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 ac_cv_type_fsfilcnt_t=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17460 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17461 if test $ac_cv_type_fsfilcnt_t = yes; then
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_FSFILCNT_T 1
17465 _ACEOF
17470 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17471 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17472 if test "${ac_cv_type_sigset_t+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 else
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 #include <signal.h>
17483 typedef sigset_t ac__type_new_;
17485 main ()
17487 if ((ac__type_new_ *) 0)
17488 return 0;
17489 if (sizeof (ac__type_new_))
17490 return 0;
17492 return 0;
17494 _ACEOF
17495 rm -f conftest.$ac_objext
17496 if { (ac_try="$ac_compile"
17497 case "(($ac_try" in
17498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17499 *) ac_try_echo=$ac_try;;
17500 esac
17501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17502 (eval "$ac_compile") 2>conftest.er1
17503 ac_status=$?
17504 grep -v '^ *+' conftest.er1 >conftest.err
17505 rm -f conftest.er1
17506 cat conftest.err >&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } && {
17509 test -z "$ac_c_werror_flag" ||
17510 test ! -s conftest.err
17511 } && test -s conftest.$ac_objext; then
17512 ac_cv_type_sigset_t=yes
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17517 ac_cv_type_sigset_t=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17522 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17523 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17524 if test $ac_cv_type_sigset_t = yes; then
17526 cat >>confdefs.h <<_ACEOF
17527 #define HAVE_SIGSET_T 1
17528 _ACEOF
17533 { echo "$as_me:$LINENO: checking for request_sense" >&5
17534 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17535 if test "${ac_cv_type_request_sense+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 else
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 #include <linux/cdrom.h>
17546 typedef request_sense ac__type_new_;
17548 main ()
17550 if ((ac__type_new_ *) 0)
17551 return 0;
17552 if (sizeof (ac__type_new_))
17553 return 0;
17555 return 0;
17557 _ACEOF
17558 rm -f conftest.$ac_objext
17559 if { (ac_try="$ac_compile"
17560 case "(($ac_try" in
17561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17562 *) ac_try_echo=$ac_try;;
17563 esac
17564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17565 (eval "$ac_compile") 2>conftest.er1
17566 ac_status=$?
17567 grep -v '^ *+' conftest.er1 >conftest.err
17568 rm -f conftest.er1
17569 cat conftest.err >&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } && {
17572 test -z "$ac_c_werror_flag" ||
17573 test ! -s conftest.err
17574 } && test -s conftest.$ac_objext; then
17575 ac_cv_type_request_sense=yes
17576 else
17577 echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.$ac_ext >&5
17580 ac_cv_type_request_sense=no
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17586 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17587 if test $ac_cv_type_request_sense = yes; then
17589 cat >>confdefs.h <<_ACEOF
17590 #define HAVE_REQUEST_SENSE 1
17591 _ACEOF
17597 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17598 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17599 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 else
17602 cat >conftest.$ac_ext <<_ACEOF
17603 /* confdefs.h. */
17604 _ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 #ifdef HAVE_LINUX_INPUT_H
17609 #include <linux/input.h>
17610 #endif
17613 main ()
17615 static struct ff_effect ac_aggr;
17616 if (ac_aggr.direction)
17617 return 0;
17619 return 0;
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17627 esac
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17630 ac_status=$?
17631 grep -v '^ *+' conftest.er1 >conftest.err
17632 rm -f conftest.er1
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_c_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 ac_cv_member_struct_ff_effect_direction=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17644 cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h. */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 #ifdef HAVE_LINUX_INPUT_H
17651 #include <linux/input.h>
17652 #endif
17655 main ()
17657 static struct ff_effect ac_aggr;
17658 if (sizeof ac_aggr.direction)
17659 return 0;
17661 return 0;
17663 _ACEOF
17664 rm -f conftest.$ac_objext
17665 if { (ac_try="$ac_compile"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17669 esac
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_compile") 2>conftest.er1
17672 ac_status=$?
17673 grep -v '^ *+' conftest.er1 >conftest.err
17674 rm -f conftest.er1
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && {
17678 test -z "$ac_c_werror_flag" ||
17679 test ! -s conftest.err
17680 } && test -s conftest.$ac_objext; then
17681 ac_cv_member_struct_ff_effect_direction=yes
17682 else
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_member_struct_ff_effect_direction=no
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17695 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17696 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17698 cat >>confdefs.h <<_ACEOF
17699 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17700 _ACEOF
17706 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17707 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17708 if test "${wine_cv_have_sigaddset+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 else
17711 cat >conftest.$ac_ext <<_ACEOF
17712 /* confdefs.h. */
17713 _ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 #include <signal.h>
17719 main ()
17721 sigset_t set; sigaddset(&set,SIGTERM);
17723 return 0;
17725 _ACEOF
17726 rm -f conftest.$ac_objext conftest$ac_exeext
17727 if { (ac_try="$ac_link"
17728 case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17731 esac
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_link") 2>conftest.er1
17734 ac_status=$?
17735 grep -v '^ *+' conftest.er1 >conftest.err
17736 rm -f conftest.er1
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest$ac_exeext &&
17743 $as_test_x conftest$ac_exeext; then
17744 wine_cv_have_sigaddset=yes
17745 else
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17749 wine_cv_have_sigaddset=no
17752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17753 conftest$ac_exeext conftest.$ac_ext
17755 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17756 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17757 if test "$wine_cv_have_sigaddset" = "yes"
17758 then
17760 cat >>confdefs.h <<\_ACEOF
17761 #define HAVE_SIGADDSET 1
17762 _ACEOF
17767 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17768 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17769 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17772 cat >conftest.$ac_ext <<_ACEOF
17773 /* confdefs.h. */
17774 _ACEOF
17775 cat confdefs.h >>conftest.$ac_ext
17776 cat >>conftest.$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 #include <netdb.h>
17780 main ()
17783 char *name=0;
17784 struct hostent he;
17785 struct hostent *result;
17786 char *buf=0;
17787 int bufsize=0;
17788 int res,errnr;
17789 char *addr=0;
17790 int addrlen=0;
17791 int addrtype=0;
17792 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17793 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17796 return 0;
17798 _ACEOF
17799 rm -f conftest.$ac_objext conftest$ac_exeext
17800 if { (ac_try="$ac_link"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17804 esac
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_link") 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest$ac_exeext &&
17816 $as_test_x conftest$ac_exeext; then
17817 wine_cv_linux_gethostbyname_r_6=yes
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 wine_cv_linux_gethostbyname_r_6=no
17826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17827 conftest$ac_exeext conftest.$ac_ext
17830 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17831 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17832 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17833 then
17835 cat >>confdefs.h <<\_ACEOF
17836 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17837 _ACEOF
17841 if test "$ac_cv_header_linux_joystick_h" = "yes"
17842 then
17843 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17844 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17845 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 else
17848 cat >conftest.$ac_ext <<_ACEOF
17849 /* confdefs.h. */
17850 _ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17855 #include <sys/ioctl.h>
17856 #include <sys/types.h>
17857 #include <linux/joystick.h>
17859 struct js_event blub;
17860 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17861 #error "no 2.2 header"
17862 #endif
17865 main ()
17867 /*empty*/
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17876 *) ac_try_echo=$ac_try;;
17877 esac
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17880 ac_status=$?
17881 grep -v '^ *+' conftest.er1 >conftest.err
17882 rm -f conftest.er1
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.$ac_objext; then
17889 wine_cv_linux_joystick_22_api=yes
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17894 wine_cv_linux_joystick_22_api=no
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17901 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17902 if test "$wine_cv_linux_joystick_22_api" = "yes"
17903 then
17905 cat >>confdefs.h <<\_ACEOF
17906 #define HAVE_LINUX_22_JOYSTICK_API 1
17907 _ACEOF
17913 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17914 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17915 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 else
17918 cat >conftest.$ac_ext <<_ACEOF
17919 /* confdefs.h. */
17920 _ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 #include <sys/types.h>
17925 #ifdef HAVE_SYS_PARAM_H
17926 # include <sys/param.h>
17927 #endif
17928 #ifdef HAVE_SYS_MOUNT_H
17929 # include <sys/mount.h>
17930 #endif
17931 #ifdef HAVE_SYS_VFS_H
17932 # include <sys/vfs.h>
17933 #endif
17934 #ifdef HAVE_SYS_STATFS_H
17935 # include <sys/statfs.h>
17936 #endif
17939 main ()
17941 static struct statfs ac_aggr;
17942 if (ac_aggr.f_bfree)
17943 return 0;
17945 return 0;
17947 _ACEOF
17948 rm -f conftest.$ac_objext
17949 if { (ac_try="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17953 esac
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17956 ac_status=$?
17957 grep -v '^ *+' conftest.er1 >conftest.err
17958 rm -f conftest.er1
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_member_struct_statfs_f_bfree=yes
17966 else
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 cat >conftest.$ac_ext <<_ACEOF
17971 /* confdefs.h. */
17972 _ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17979 #endif
17980 #ifdef HAVE_SYS_MOUNT_H
17981 # include <sys/mount.h>
17982 #endif
17983 #ifdef HAVE_SYS_VFS_H
17984 # include <sys/vfs.h>
17985 #endif
17986 #ifdef HAVE_SYS_STATFS_H
17987 # include <sys/statfs.h>
17988 #endif
17991 main ()
17993 static struct statfs ac_aggr;
17994 if (sizeof ac_aggr.f_bfree)
17995 return 0;
17997 return 0;
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18005 esac
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18008 ac_status=$?
18009 grep -v '^ *+' conftest.er1 >conftest.err
18010 rm -f conftest.er1
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.$ac_objext; then
18017 ac_cv_member_struct_statfs_f_bfree=yes
18018 else
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 ac_cv_member_struct_statfs_f_bfree=no
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18031 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18032 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18034 cat >>confdefs.h <<_ACEOF
18035 #define HAVE_STRUCT_STATFS_F_BFREE 1
18036 _ACEOF
18040 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18041 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18042 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <sys/types.h>
18052 #ifdef HAVE_SYS_PARAM_H
18053 # include <sys/param.h>
18054 #endif
18055 #ifdef HAVE_SYS_MOUNT_H
18056 # include <sys/mount.h>
18057 #endif
18058 #ifdef HAVE_SYS_VFS_H
18059 # include <sys/vfs.h>
18060 #endif
18061 #ifdef HAVE_SYS_STATFS_H
18062 # include <sys/statfs.h>
18063 #endif
18066 main ()
18068 static struct statfs ac_aggr;
18069 if (ac_aggr.f_bavail)
18070 return 0;
18072 return 0;
18074 _ACEOF
18075 rm -f conftest.$ac_objext
18076 if { (ac_try="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 ac_cv_member_struct_statfs_f_bavail=yes
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18106 #endif
18107 #ifdef HAVE_SYS_MOUNT_H
18108 # include <sys/mount.h>
18109 #endif
18110 #ifdef HAVE_SYS_VFS_H
18111 # include <sys/vfs.h>
18112 #endif
18113 #ifdef HAVE_SYS_STATFS_H
18114 # include <sys/statfs.h>
18115 #endif
18118 main ()
18120 static struct statfs ac_aggr;
18121 if (sizeof ac_aggr.f_bavail)
18122 return 0;
18124 return 0;
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (ac_try="$ac_compile"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18132 esac
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_compile") 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest.$ac_objext; then
18144 ac_cv_member_struct_statfs_f_bavail=yes
18145 else
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18149 ac_cv_member_struct_statfs_f_bavail=no
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18158 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18159 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18161 cat >>confdefs.h <<_ACEOF
18162 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18163 _ACEOF
18167 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18168 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <sys/types.h>
18179 #ifdef HAVE_SYS_PARAM_H
18180 # include <sys/param.h>
18181 #endif
18182 #ifdef HAVE_SYS_MOUNT_H
18183 # include <sys/mount.h>
18184 #endif
18185 #ifdef HAVE_SYS_VFS_H
18186 # include <sys/vfs.h>
18187 #endif
18188 #ifdef HAVE_SYS_STATFS_H
18189 # include <sys/statfs.h>
18190 #endif
18193 main ()
18195 static struct statfs ac_aggr;
18196 if (ac_aggr.f_frsize)
18197 return 0;
18199 return 0;
18201 _ACEOF
18202 rm -f conftest.$ac_objext
18203 if { (ac_try="$ac_compile"
18204 case "(($ac_try" in
18205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18207 esac
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_compile") 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } && {
18216 test -z "$ac_c_werror_flag" ||
18217 test ! -s conftest.err
18218 } && test -s conftest.$ac_objext; then
18219 ac_cv_member_struct_statfs_f_frsize=yes
18220 else
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18233 #endif
18234 #ifdef HAVE_SYS_MOUNT_H
18235 # include <sys/mount.h>
18236 #endif
18237 #ifdef HAVE_SYS_VFS_H
18238 # include <sys/vfs.h>
18239 #endif
18240 #ifdef HAVE_SYS_STATFS_H
18241 # include <sys/statfs.h>
18242 #endif
18245 main ()
18247 static struct statfs ac_aggr;
18248 if (sizeof ac_aggr.f_frsize)
18249 return 0;
18251 return 0;
18253 _ACEOF
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 ac_cv_member_struct_statfs_f_frsize=yes
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 ac_cv_member_struct_statfs_f_frsize=no
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18286 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18288 cat >>confdefs.h <<_ACEOF
18289 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18290 _ACEOF
18294 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18295 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18296 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 else
18299 cat >conftest.$ac_ext <<_ACEOF
18300 /* confdefs.h. */
18301 _ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 #include <sys/types.h>
18306 #ifdef HAVE_SYS_PARAM_H
18307 # include <sys/param.h>
18308 #endif
18309 #ifdef HAVE_SYS_MOUNT_H
18310 # include <sys/mount.h>
18311 #endif
18312 #ifdef HAVE_SYS_VFS_H
18313 # include <sys/vfs.h>
18314 #endif
18315 #ifdef HAVE_SYS_STATFS_H
18316 # include <sys/statfs.h>
18317 #endif
18320 main ()
18322 static struct statfs ac_aggr;
18323 if (ac_aggr.f_ffree)
18324 return 0;
18326 return 0;
18328 _ACEOF
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18334 esac
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 ac_cv_member_struct_statfs_f_ffree=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include <sys/types.h>
18358 #ifdef HAVE_SYS_PARAM_H
18359 # include <sys/param.h>
18360 #endif
18361 #ifdef HAVE_SYS_MOUNT_H
18362 # include <sys/mount.h>
18363 #endif
18364 #ifdef HAVE_SYS_VFS_H
18365 # include <sys/vfs.h>
18366 #endif
18367 #ifdef HAVE_SYS_STATFS_H
18368 # include <sys/statfs.h>
18369 #endif
18372 main ()
18374 static struct statfs ac_aggr;
18375 if (sizeof ac_aggr.f_ffree)
18376 return 0;
18378 return 0;
18380 _ACEOF
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18386 esac
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18389 ac_status=$?
18390 grep -v '^ *+' conftest.er1 >conftest.err
18391 rm -f conftest.er1
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.$ac_objext; then
18398 ac_cv_member_struct_statfs_f_ffree=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 ac_cv_member_struct_statfs_f_ffree=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18412 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18413 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18415 cat >>confdefs.h <<_ACEOF
18416 #define HAVE_STRUCT_STATFS_F_FFREE 1
18417 _ACEOF
18421 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18422 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18423 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18424 echo $ECHO_N "(cached) $ECHO_C" >&6
18425 else
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h. */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 #include <sys/types.h>
18433 #ifdef HAVE_SYS_PARAM_H
18434 # include <sys/param.h>
18435 #endif
18436 #ifdef HAVE_SYS_MOUNT_H
18437 # include <sys/mount.h>
18438 #endif
18439 #ifdef HAVE_SYS_VFS_H
18440 # include <sys/vfs.h>
18441 #endif
18442 #ifdef HAVE_SYS_STATFS_H
18443 # include <sys/statfs.h>
18444 #endif
18447 main ()
18449 static struct statfs ac_aggr;
18450 if (ac_aggr.f_favail)
18451 return 0;
18453 return 0;
18455 _ACEOF
18456 rm -f conftest.$ac_objext
18457 if { (ac_try="$ac_compile"
18458 case "(($ac_try" in
18459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18460 *) ac_try_echo=$ac_try;;
18461 esac
18462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18463 (eval "$ac_compile") 2>conftest.er1
18464 ac_status=$?
18465 grep -v '^ *+' conftest.er1 >conftest.err
18466 rm -f conftest.er1
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } && {
18470 test -z "$ac_c_werror_flag" ||
18471 test ! -s conftest.err
18472 } && test -s conftest.$ac_objext; then
18473 ac_cv_member_struct_statfs_f_favail=yes
18474 else
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #include <sys/types.h>
18485 #ifdef HAVE_SYS_PARAM_H
18486 # include <sys/param.h>
18487 #endif
18488 #ifdef HAVE_SYS_MOUNT_H
18489 # include <sys/mount.h>
18490 #endif
18491 #ifdef HAVE_SYS_VFS_H
18492 # include <sys/vfs.h>
18493 #endif
18494 #ifdef HAVE_SYS_STATFS_H
18495 # include <sys/statfs.h>
18496 #endif
18499 main ()
18501 static struct statfs ac_aggr;
18502 if (sizeof ac_aggr.f_favail)
18503 return 0;
18505 return 0;
18507 _ACEOF
18508 rm -f conftest.$ac_objext
18509 if { (ac_try="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18512 *) ac_try_echo=$ac_try;;
18513 esac
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_c_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.$ac_objext; then
18525 ac_cv_member_struct_statfs_f_favail=yes
18526 else
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18530 ac_cv_member_struct_statfs_f_favail=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18538 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18539 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18540 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18542 cat >>confdefs.h <<_ACEOF
18543 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18544 _ACEOF
18548 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18549 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18550 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18551 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 else
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <sys/types.h>
18560 #ifdef HAVE_SYS_PARAM_H
18561 # include <sys/param.h>
18562 #endif
18563 #ifdef HAVE_SYS_MOUNT_H
18564 # include <sys/mount.h>
18565 #endif
18566 #ifdef HAVE_SYS_VFS_H
18567 # include <sys/vfs.h>
18568 #endif
18569 #ifdef HAVE_SYS_STATFS_H
18570 # include <sys/statfs.h>
18571 #endif
18574 main ()
18576 static struct statfs ac_aggr;
18577 if (ac_aggr.f_namelen)
18578 return 0;
18580 return 0;
18582 _ACEOF
18583 rm -f conftest.$ac_objext
18584 if { (ac_try="$ac_compile"
18585 case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18588 esac
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_compile") 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } && {
18597 test -z "$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18599 } && test -s conftest.$ac_objext; then
18600 ac_cv_member_struct_statfs_f_namelen=yes
18601 else
18602 echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 #include <sys/types.h>
18612 #ifdef HAVE_SYS_PARAM_H
18613 # include <sys/param.h>
18614 #endif
18615 #ifdef HAVE_SYS_MOUNT_H
18616 # include <sys/mount.h>
18617 #endif
18618 #ifdef HAVE_SYS_VFS_H
18619 # include <sys/vfs.h>
18620 #endif
18621 #ifdef HAVE_SYS_STATFS_H
18622 # include <sys/statfs.h>
18623 #endif
18626 main ()
18628 static struct statfs ac_aggr;
18629 if (sizeof ac_aggr.f_namelen)
18630 return 0;
18632 return 0;
18634 _ACEOF
18635 rm -f conftest.$ac_objext
18636 if { (ac_try="$ac_compile"
18637 case "(($ac_try" in
18638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18639 *) ac_try_echo=$ac_try;;
18640 esac
18641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18642 (eval "$ac_compile") 2>conftest.er1
18643 ac_status=$?
18644 grep -v '^ *+' conftest.er1 >conftest.err
18645 rm -f conftest.er1
18646 cat conftest.err >&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } && {
18649 test -z "$ac_c_werror_flag" ||
18650 test ! -s conftest.err
18651 } && test -s conftest.$ac_objext; then
18652 ac_cv_member_struct_statfs_f_namelen=yes
18653 else
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18657 ac_cv_member_struct_statfs_f_namelen=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18666 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18667 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18669 cat >>confdefs.h <<_ACEOF
18670 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18671 _ACEOF
18677 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18678 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18679 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 else
18682 cat >conftest.$ac_ext <<_ACEOF
18683 /* confdefs.h. */
18684 _ACEOF
18685 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18688 #ifdef HAVE_SYS_STATVFS_H
18689 #include <sys/statvfs.h>
18690 #endif
18693 main ()
18695 static struct statvfs ac_aggr;
18696 if (ac_aggr.f_blocks)
18697 return 0;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (ac_try="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 ac_cv_member_struct_statvfs_f_blocks=yes
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #ifdef HAVE_SYS_STATVFS_H
18731 #include <sys/statvfs.h>
18732 #endif
18735 main ()
18737 static struct statvfs ac_aggr;
18738 if (sizeof ac_aggr.f_blocks)
18739 return 0;
18741 return 0;
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18749 esac
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 ac_cv_member_struct_statvfs_f_blocks=yes
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 ac_cv_member_struct_statvfs_f_blocks=no
18769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18774 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18775 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18776 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18780 _ACEOF
18786 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18787 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18788 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 else
18791 cat >conftest.$ac_ext <<_ACEOF
18792 /* confdefs.h. */
18793 _ACEOF
18794 cat confdefs.h >>conftest.$ac_ext
18795 cat >>conftest.$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18797 #include <sys/types.h>
18798 #ifdef HAVE_SYS_SOCKET_H
18799 # include <sys/socket.h>
18800 #endif
18801 #ifdef HAVE_SYS_UN_H
18802 # include <sys/un.h>
18803 #endif
18806 main ()
18808 static struct msghdr ac_aggr;
18809 if (ac_aggr.msg_accrights)
18810 return 0;
18812 return 0;
18814 _ACEOF
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 ac_cv_member_struct_msghdr_msg_accrights=yes
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18837 cat >conftest.$ac_ext <<_ACEOF
18838 /* confdefs.h. */
18839 _ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 #include <sys/types.h>
18844 #ifdef HAVE_SYS_SOCKET_H
18845 # include <sys/socket.h>
18846 #endif
18847 #ifdef HAVE_SYS_UN_H
18848 # include <sys/un.h>
18849 #endif
18852 main ()
18854 static struct msghdr ac_aggr;
18855 if (sizeof ac_aggr.msg_accrights)
18856 return 0;
18858 return 0;
18860 _ACEOF
18861 rm -f conftest.$ac_objext
18862 if { (ac_try="$ac_compile"
18863 case "(($ac_try" in
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18865 *) ac_try_echo=$ac_try;;
18866 esac
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_compile") 2>conftest.er1
18869 ac_status=$?
18870 grep -v '^ *+' conftest.er1 >conftest.err
18871 rm -f conftest.er1
18872 cat conftest.err >&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && {
18875 test -z "$ac_c_werror_flag" ||
18876 test ! -s conftest.err
18877 } && test -s conftest.$ac_objext; then
18878 ac_cv_member_struct_msghdr_msg_accrights=yes
18879 else
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.$ac_ext >&5
18883 ac_cv_member_struct_msghdr_msg_accrights=no
18886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18892 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18893 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18897 _ACEOF
18901 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18902 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18903 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 else
18906 cat >conftest.$ac_ext <<_ACEOF
18907 /* confdefs.h. */
18908 _ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #include <sys/types.h>
18913 #ifdef HAVE_SYS_SOCKET_H
18914 # include <sys/socket.h>
18915 #endif
18916 #ifdef HAVE_SYS_UN_H
18917 # include <sys/un.h>
18918 #endif
18921 main ()
18923 static struct sockaddr ac_aggr;
18924 if (ac_aggr.sa_len)
18925 return 0;
18927 return 0;
18929 _ACEOF
18930 rm -f conftest.$ac_objext
18931 if { (ac_try="$ac_compile"
18932 case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18935 esac
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_compile") 2>conftest.er1
18938 ac_status=$?
18939 grep -v '^ *+' conftest.er1 >conftest.err
18940 rm -f conftest.er1
18941 cat conftest.err >&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 } && test -s conftest.$ac_objext; then
18947 ac_cv_member_struct_sockaddr_sa_len=yes
18948 else
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <sys/types.h>
18959 #ifdef HAVE_SYS_SOCKET_H
18960 # include <sys/socket.h>
18961 #endif
18962 #ifdef HAVE_SYS_UN_H
18963 # include <sys/un.h>
18964 #endif
18967 main ()
18969 static struct sockaddr ac_aggr;
18970 if (sizeof ac_aggr.sa_len)
18971 return 0;
18973 return 0;
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 ac_cv_member_struct_sockaddr_sa_len=yes
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18998 ac_cv_member_struct_sockaddr_sa_len=no
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19007 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19008 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19012 _ACEOF
19016 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19017 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19018 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 else
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <sys/types.h>
19028 #ifdef HAVE_SYS_SOCKET_H
19029 # include <sys/socket.h>
19030 #endif
19031 #ifdef HAVE_SYS_UN_H
19032 # include <sys/un.h>
19033 #endif
19036 main ()
19038 static struct sockaddr_un ac_aggr;
19039 if (ac_aggr.sun_len)
19040 return 0;
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_struct_sockaddr_un_sun_len=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 cat >conftest.$ac_ext <<_ACEOF
19068 /* confdefs.h. */
19069 _ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 #include <sys/types.h>
19074 #ifdef HAVE_SYS_SOCKET_H
19075 # include <sys/socket.h>
19076 #endif
19077 #ifdef HAVE_SYS_UN_H
19078 # include <sys/un.h>
19079 #endif
19082 main ()
19084 static struct sockaddr_un ac_aggr;
19085 if (sizeof ac_aggr.sun_len)
19086 return 0;
19088 return 0;
19090 _ACEOF
19091 rm -f conftest.$ac_objext
19092 if { (ac_try="$ac_compile"
19093 case "(($ac_try" in
19094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19095 *) ac_try_echo=$ac_try;;
19096 esac
19097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19098 (eval "$ac_compile") 2>conftest.er1
19099 ac_status=$?
19100 grep -v '^ *+' conftest.er1 >conftest.err
19101 rm -f conftest.er1
19102 cat conftest.err >&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } && {
19105 test -z "$ac_c_werror_flag" ||
19106 test ! -s conftest.err
19107 } && test -s conftest.$ac_objext; then
19108 ac_cv_member_struct_sockaddr_un_sun_len=yes
19109 else
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19113 ac_cv_member_struct_sockaddr_un_sun_len=no
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19122 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19123 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19127 _ACEOF
19133 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19134 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19135 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19136 echo $ECHO_N "(cached) $ECHO_C" >&6
19137 else
19138 cat >conftest.$ac_ext <<_ACEOF
19139 /* confdefs.h. */
19140 _ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SCSI_SG_H
19146 #include <scsi/sg.h>
19147 #endif
19150 main ()
19152 static scsireq_t ac_aggr;
19153 if (ac_aggr.cmd)
19154 return 0;
19156 return 0;
19158 _ACEOF
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19164 esac
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19167 ac_status=$?
19168 grep -v '^ *+' conftest.er1 >conftest.err
19169 rm -f conftest.er1
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 ac_cv_member_scsireq_t_cmd=yes
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SCSI_SG_H
19189 #include <scsi/sg.h>
19190 #endif
19193 main ()
19195 static scsireq_t ac_aggr;
19196 if (sizeof ac_aggr.cmd)
19197 return 0;
19199 return 0;
19201 _ACEOF
19202 rm -f conftest.$ac_objext
19203 if { (ac_try="$ac_compile"
19204 case "(($ac_try" in
19205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19206 *) ac_try_echo=$ac_try;;
19207 esac
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209 (eval "$ac_compile") 2>conftest.er1
19210 ac_status=$?
19211 grep -v '^ *+' conftest.er1 >conftest.err
19212 rm -f conftest.er1
19213 cat conftest.err >&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && {
19216 test -z "$ac_c_werror_flag" ||
19217 test ! -s conftest.err
19218 } && test -s conftest.$ac_objext; then
19219 ac_cv_member_scsireq_t_cmd=yes
19220 else
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.$ac_ext >&5
19224 ac_cv_member_scsireq_t_cmd=no
19227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19232 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19233 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19234 if test $ac_cv_member_scsireq_t_cmd = yes; then
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_SCSIREQ_T_CMD 1
19238 _ACEOF
19242 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19243 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19244 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19246 else
19247 cat >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h. */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 #include <sys/types.h>
19254 #ifdef HAVE_SCSI_SG_H
19255 #include <scsi/sg.h>
19256 #endif
19259 main ()
19261 static sg_io_hdr_t ac_aggr;
19262 if (ac_aggr.interface_id)
19263 return 0;
19265 return 0;
19267 _ACEOF
19268 rm -f conftest.$ac_objext
19269 if { (ac_try="$ac_compile"
19270 case "(($ac_try" in
19271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19272 *) ac_try_echo=$ac_try;;
19273 esac
19274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19275 (eval "$ac_compile") 2>conftest.er1
19276 ac_status=$?
19277 grep -v '^ *+' conftest.er1 >conftest.err
19278 rm -f conftest.er1
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } && {
19282 test -z "$ac_c_werror_flag" ||
19283 test ! -s conftest.err
19284 } && test -s conftest.$ac_objext; then
19285 ac_cv_member_sg_io_hdr_t_interface_id=yes
19286 else
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 cat >conftest.$ac_ext <<_ACEOF
19291 /* confdefs.h. */
19292 _ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19296 #include <sys/types.h>
19297 #ifdef HAVE_SCSI_SG_H
19298 #include <scsi/sg.h>
19299 #endif
19302 main ()
19304 static sg_io_hdr_t ac_aggr;
19305 if (sizeof ac_aggr.interface_id)
19306 return 0;
19308 return 0;
19310 _ACEOF
19311 rm -f conftest.$ac_objext
19312 if { (ac_try="$ac_compile"
19313 case "(($ac_try" in
19314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19315 *) ac_try_echo=$ac_try;;
19316 esac
19317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19318 (eval "$ac_compile") 2>conftest.er1
19319 ac_status=$?
19320 grep -v '^ *+' conftest.er1 >conftest.err
19321 rm -f conftest.er1
19322 cat conftest.err >&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } && {
19325 test -z "$ac_c_werror_flag" ||
19326 test ! -s conftest.err
19327 } && test -s conftest.$ac_objext; then
19328 ac_cv_member_sg_io_hdr_t_interface_id=yes
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19333 ac_cv_member_sg_io_hdr_t_interface_id=no
19336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19341 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19342 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19343 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19347 _ACEOF
19353 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19354 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19355 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19356 echo $ECHO_N "(cached) $ECHO_C" >&6
19357 else
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 #include <signal.h>
19367 main ()
19369 static siginfo_t ac_aggr;
19370 if (ac_aggr.si_fd)
19371 return 0;
19373 return 0;
19375 _ACEOF
19376 rm -f conftest.$ac_objext
19377 if { (ac_try="$ac_compile"
19378 case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19381 esac
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_compile") 2>conftest.er1
19384 ac_status=$?
19385 grep -v '^ *+' conftest.er1 >conftest.err
19386 rm -f conftest.er1
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } && {
19390 test -z "$ac_c_werror_flag" ||
19391 test ! -s conftest.err
19392 } && test -s conftest.$ac_objext; then
19393 ac_cv_member_siginfo_t_si_fd=yes
19394 else
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <signal.h>
19407 main ()
19409 static siginfo_t ac_aggr;
19410 if (sizeof ac_aggr.si_fd)
19411 return 0;
19413 return 0;
19415 _ACEOF
19416 rm -f conftest.$ac_objext
19417 if { (ac_try="$ac_compile"
19418 case "(($ac_try" in
19419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19420 *) ac_try_echo=$ac_try;;
19421 esac
19422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423 (eval "$ac_compile") 2>conftest.er1
19424 ac_status=$?
19425 grep -v '^ *+' conftest.er1 >conftest.err
19426 rm -f conftest.er1
19427 cat conftest.err >&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } && {
19430 test -z "$ac_c_werror_flag" ||
19431 test ! -s conftest.err
19432 } && test -s conftest.$ac_objext; then
19433 ac_cv_member_siginfo_t_si_fd=yes
19434 else
19435 echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.$ac_ext >&5
19438 ac_cv_member_siginfo_t_si_fd=no
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19447 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19448 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_SIGINFO_T_SI_FD 1
19452 _ACEOF
19458 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19459 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19460 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 else
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #include <sys/types.h>
19470 #ifdef HAVE_SYS_MTIO_H
19471 #include <sys/mtio.h>
19472 #endif
19475 main ()
19477 static struct mtget ac_aggr;
19478 if (ac_aggr.mt_blksiz)
19479 return 0;
19481 return 0;
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19489 esac
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_member_struct_mtget_mt_blksiz=yes
19502 else
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19506 cat >conftest.$ac_ext <<_ACEOF
19507 /* confdefs.h. */
19508 _ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 #include <sys/types.h>
19513 #ifdef HAVE_SYS_MTIO_H
19514 #include <sys/mtio.h>
19515 #endif
19518 main ()
19520 static struct mtget ac_aggr;
19521 if (sizeof ac_aggr.mt_blksiz)
19522 return 0;
19524 return 0;
19526 _ACEOF
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19532 esac
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19535 ac_status=$?
19536 grep -v '^ *+' conftest.er1 >conftest.err
19537 rm -f conftest.er1
19538 cat conftest.err >&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.$ac_objext; then
19544 ac_cv_member_struct_mtget_mt_blksiz=yes
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19549 ac_cv_member_struct_mtget_mt_blksiz=no
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19558 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19559 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19561 cat >>confdefs.h <<_ACEOF
19562 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19563 _ACEOF
19567 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19568 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19569 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h. */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #include <sys/types.h>
19579 #ifdef HAVE_SYS_MTIO_H
19580 #include <sys/mtio.h>
19581 #endif
19584 main ()
19586 static struct mtget ac_aggr;
19587 if (ac_aggr.mt_gstat)
19588 return 0;
19590 return 0;
19592 _ACEOF
19593 rm -f conftest.$ac_objext
19594 if { (ac_try="$ac_compile"
19595 case "(($ac_try" in
19596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19598 esac
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_compile") 2>conftest.er1
19601 ac_status=$?
19602 grep -v '^ *+' conftest.er1 >conftest.err
19603 rm -f conftest.er1
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } && {
19607 test -z "$ac_c_werror_flag" ||
19608 test ! -s conftest.err
19609 } && test -s conftest.$ac_objext; then
19610 ac_cv_member_struct_mtget_mt_gstat=yes
19611 else
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.$ac_ext >&5
19615 cat >conftest.$ac_ext <<_ACEOF
19616 /* confdefs.h. */
19617 _ACEOF
19618 cat confdefs.h >>conftest.$ac_ext
19619 cat >>conftest.$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 #include <sys/types.h>
19622 #ifdef HAVE_SYS_MTIO_H
19623 #include <sys/mtio.h>
19624 #endif
19627 main ()
19629 static struct mtget ac_aggr;
19630 if (sizeof ac_aggr.mt_gstat)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_mtget_mt_gstat=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_member_struct_mtget_mt_gstat=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19668 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19672 _ACEOF
19676 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19677 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19678 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19680 else
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <sys/types.h>
19688 #ifdef HAVE_SYS_MTIO_H
19689 #include <sys/mtio.h>
19690 #endif
19693 main ()
19695 static struct mtget ac_aggr;
19696 if (ac_aggr.mt_blkno)
19697 return 0;
19699 return 0;
19701 _ACEOF
19702 rm -f conftest.$ac_objext
19703 if { (ac_try="$ac_compile"
19704 case "(($ac_try" in
19705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19706 *) ac_try_echo=$ac_try;;
19707 esac
19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19709 (eval "$ac_compile") 2>conftest.er1
19710 ac_status=$?
19711 grep -v '^ *+' conftest.er1 >conftest.err
19712 rm -f conftest.er1
19713 cat conftest.err >&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); } && {
19716 test -z "$ac_c_werror_flag" ||
19717 test ! -s conftest.err
19718 } && test -s conftest.$ac_objext; then
19719 ac_cv_member_struct_mtget_mt_blkno=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 cat >conftest.$ac_ext <<_ACEOF
19725 /* confdefs.h. */
19726 _ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #include <sys/types.h>
19731 #ifdef HAVE_SYS_MTIO_H
19732 #include <sys/mtio.h>
19733 #endif
19736 main ()
19738 static struct mtget ac_aggr;
19739 if (sizeof ac_aggr.mt_blkno)
19740 return 0;
19742 return 0;
19744 _ACEOF
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19750 esac
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19753 ac_status=$?
19754 grep -v '^ *+' conftest.er1 >conftest.err
19755 rm -f conftest.er1
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_cv_member_struct_mtget_mt_blkno=yes
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 ac_cv_member_struct_mtget_mt_blkno=no
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19776 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19777 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19779 cat >>confdefs.h <<_ACEOF
19780 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19781 _ACEOF
19787 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19788 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19789 if test "${ac_cv_member_struct_option_name+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 else
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 #ifdef HAVE_GETOPT_H
19799 #include <getopt.h>
19800 #endif
19803 main ()
19805 static struct option ac_aggr;
19806 if (ac_aggr.name)
19807 return 0;
19809 return 0;
19811 _ACEOF
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19820 ac_status=$?
19821 grep -v '^ *+' conftest.er1 >conftest.err
19822 rm -f conftest.er1
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_cv_member_struct_option_name=yes
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #ifdef HAVE_GETOPT_H
19841 #include <getopt.h>
19842 #endif
19845 main ()
19847 static struct option ac_aggr;
19848 if (sizeof ac_aggr.name)
19849 return 0;
19851 return 0;
19853 _ACEOF
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19859 esac
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19871 ac_cv_member_struct_option_name=yes
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 ac_cv_member_struct_option_name=no
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19884 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19885 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19886 if test $ac_cv_member_struct_option_name = yes; then
19888 cat >>confdefs.h <<_ACEOF
19889 #define HAVE_STRUCT_OPTION_NAME 1
19890 _ACEOF
19896 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19897 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19898 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 else
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $ac_includes_default
19909 main ()
19911 static struct stat ac_aggr;
19912 if (ac_aggr.st_blocks)
19913 return 0;
19915 return 0;
19917 _ACEOF
19918 rm -f conftest.$ac_objext
19919 if { (ac_try="$ac_compile"
19920 case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19923 esac
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_compile") 2>conftest.er1
19926 ac_status=$?
19927 grep -v '^ *+' conftest.er1 >conftest.err
19928 rm -f conftest.er1
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } && {
19932 test -z "$ac_c_werror_flag" ||
19933 test ! -s conftest.err
19934 } && test -s conftest.$ac_objext; then
19935 ac_cv_member_struct_stat_st_blocks=yes
19936 else
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19940 cat >conftest.$ac_ext <<_ACEOF
19941 /* confdefs.h. */
19942 _ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19948 main ()
19950 static struct stat ac_aggr;
19951 if (sizeof ac_aggr.st_blocks)
19952 return 0;
19954 return 0;
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (ac_try="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19962 esac
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19965 ac_status=$?
19966 grep -v '^ *+' conftest.er1 >conftest.err
19967 rm -f conftest.er1
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19974 ac_cv_member_struct_stat_st_blocks=yes
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19979 ac_cv_member_struct_stat_st_blocks=no
19982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19987 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19988 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19989 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19991 cat >>confdefs.h <<_ACEOF
19992 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19993 _ACEOF
19999 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20000 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20001 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 #ifdef HAVE_SYS_TYPES_H
20011 #include <sys/types.h>
20012 #endif
20013 #ifdef HAVE_NETINET_IN_H
20014 #include <netinet/in.h>
20015 #endif
20018 main ()
20020 static struct sockaddr_in6 ac_aggr;
20021 if (ac_aggr.sin6_scope_id)
20022 return 0;
20024 return 0;
20026 _ACEOF
20027 rm -f conftest.$ac_objext
20028 if { (ac_try="$ac_compile"
20029 case "(($ac_try" in
20030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20032 esac
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20044 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 #ifdef HAVE_SYS_TYPES_H
20056 #include <sys/types.h>
20057 #endif
20058 #ifdef HAVE_NETINET_IN_H
20059 #include <netinet/in.h>
20060 #endif
20063 main ()
20065 static struct sockaddr_in6 ac_aggr;
20066 if (sizeof ac_aggr.sin6_scope_id)
20067 return 0;
20069 return 0;
20071 _ACEOF
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20077 esac
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20103 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20104 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20106 cat >>confdefs.h <<_ACEOF
20107 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20108 _ACEOF
20114 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20115 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20116 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #ifdef HAVE_SYS_TYPES_H
20126 #include <sys/types.h>
20127 #endif
20128 #ifdef HAVE_NETINET_IN_H
20129 # include <netinet/in.h>
20130 #endif
20131 #ifdef HAVE_ARPA_NAMESER_H
20132 # include <arpa/nameser.h>
20133 #endif
20136 main ()
20138 static ns_msg ac_aggr;
20139 if (ac_aggr._msg_ptr)
20140 return 0;
20142 return 0;
20144 _ACEOF
20145 rm -f conftest.$ac_objext
20146 if { (ac_try="$ac_compile"
20147 case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20150 esac
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_compile") 2>conftest.er1
20153 ac_status=$?
20154 grep -v '^ *+' conftest.er1 >conftest.err
20155 rm -f conftest.er1
20156 cat conftest.err >&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } && {
20159 test -z "$ac_c_werror_flag" ||
20160 test ! -s conftest.err
20161 } && test -s conftest.$ac_objext; then
20162 ac_cv_member_ns_msg__msg_ptr=yes
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 cat >conftest.$ac_ext <<_ACEOF
20168 /* confdefs.h. */
20169 _ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 #ifdef HAVE_SYS_TYPES_H
20174 #include <sys/types.h>
20175 #endif
20176 #ifdef HAVE_NETINET_IN_H
20177 # include <netinet/in.h>
20178 #endif
20179 #ifdef HAVE_ARPA_NAMESER_H
20180 # include <arpa/nameser.h>
20181 #endif
20184 main ()
20186 static ns_msg ac_aggr;
20187 if (sizeof ac_aggr._msg_ptr)
20188 return 0;
20190 return 0;
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_cv_member_ns_msg__msg_ptr=yes
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 ac_cv_member_ns_msg__msg_ptr=no
20218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20224 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20225 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20227 cat >>confdefs.h <<_ACEOF
20228 #define HAVE_NS_MSG__MSG_PTR 1
20229 _ACEOF
20235 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20236 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20237 if test "${ac_cv_have_timezone+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <time.h>
20248 main ()
20250 timezone = 1
20252 return 0;
20254 _ACEOF
20255 rm -f conftest.$ac_objext conftest$ac_exeext
20256 if { (ac_try="$ac_link"
20257 case "(($ac_try" in
20258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20260 esac
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_link") 2>conftest.er1
20263 ac_status=$?
20264 grep -v '^ *+' conftest.er1 >conftest.err
20265 rm -f conftest.er1
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest$ac_exeext &&
20272 $as_test_x conftest$ac_exeext; then
20273 ac_cv_have_timezone="yes"
20274 else
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20278 ac_cv_have_timezone="no"
20281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20282 conftest$ac_exeext conftest.$ac_ext
20284 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20285 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20286 if test "$ac_cv_have_timezone" = "yes"
20287 then
20289 cat >>confdefs.h <<\_ACEOF
20290 #define HAVE_TIMEZONE 1
20291 _ACEOF
20294 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20295 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20296 if test "${ac_cv_have_daylight+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 else
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 #include <time.h>
20307 main ()
20309 daylight = 1
20311 return 0;
20313 _ACEOF
20314 rm -f conftest.$ac_objext conftest$ac_exeext
20315 if { (ac_try="$ac_link"
20316 case "(($ac_try" in
20317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20319 esac
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_link") 2>conftest.er1
20322 ac_status=$?
20323 grep -v '^ *+' conftest.er1 >conftest.err
20324 rm -f conftest.er1
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } && {
20328 test -z "$ac_c_werror_flag" ||
20329 test ! -s conftest.err
20330 } && test -s conftest$ac_exeext &&
20331 $as_test_x conftest$ac_exeext; then
20332 ac_cv_have_daylight="yes"
20333 else
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20337 ac_cv_have_daylight="no"
20340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20341 conftest$ac_exeext conftest.$ac_ext
20343 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20344 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20345 if test "$ac_cv_have_daylight" = "yes"
20346 then
20348 cat >>confdefs.h <<\_ACEOF
20349 #define HAVE_DAYLIGHT 1
20350 _ACEOF
20355 case $host_cpu in
20356 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20357 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20358 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifndef __i386__
20369 #endif
20370 _ACEOF
20371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20372 $EGREP "yes" >/dev/null 2>&1; then
20373 ac_cv_cpp_def___i386__=yes
20374 else
20375 ac_cv_cpp_def___i386__=no
20377 rm -f conftest*
20380 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20381 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20382 if test $ac_cv_cpp_def___i386__ = yes; then
20383 CFLAGS="$CFLAGS -D__i386__"
20384 LINTFLAGS="$LINTFLAGS -D__i386__"
20387 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20388 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20389 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 #ifndef __x86_64__
20400 #endif
20401 _ACEOF
20402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20403 $EGREP "yes" >/dev/null 2>&1; then
20404 ac_cv_cpp_def___x86_64__=yes
20405 else
20406 ac_cv_cpp_def___x86_64__=no
20408 rm -f conftest*
20411 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20412 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20413 if test $ac_cv_cpp_def___x86_64__ = yes; then
20414 CFLAGS="$CFLAGS -D__x86_64__"
20415 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20418 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20419 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20420 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #ifndef __ALPHA__
20431 #endif
20432 _ACEOF
20433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20434 $EGREP "yes" >/dev/null 2>&1; then
20435 ac_cv_cpp_def___ALPHA__=yes
20436 else
20437 ac_cv_cpp_def___ALPHA__=no
20439 rm -f conftest*
20442 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20443 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20444 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20445 CFLAGS="$CFLAGS -D__ALPHA__"
20446 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20449 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20450 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20451 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #ifndef __sparc__
20462 #endif
20463 _ACEOF
20464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20465 $EGREP "yes" >/dev/null 2>&1; then
20466 ac_cv_cpp_def___sparc__=yes
20467 else
20468 ac_cv_cpp_def___sparc__=no
20470 rm -f conftest*
20473 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20474 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20475 if test $ac_cv_cpp_def___sparc__ = yes; then
20476 CFLAGS="$CFLAGS -D__sparc__"
20477 LINTFLAGS="$LINTFLAGS -D__sparc__"
20480 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20481 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20482 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 else
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #ifndef __powerpc__
20493 #endif
20494 _ACEOF
20495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20496 $EGREP "yes" >/dev/null 2>&1; then
20497 ac_cv_cpp_def___powerpc__=yes
20498 else
20499 ac_cv_cpp_def___powerpc__=no
20501 rm -f conftest*
20504 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20505 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20506 if test $ac_cv_cpp_def___powerpc__ = yes; then
20507 CFLAGS="$CFLAGS -D__powerpc__"
20508 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20511 esac
20513 case $host_vendor in
20514 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20515 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20516 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 else
20519 cat >conftest.$ac_ext <<_ACEOF
20520 /* confdefs.h. */
20521 _ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 #ifndef __sun__
20527 #endif
20528 _ACEOF
20529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20530 $EGREP "yes" >/dev/null 2>&1; then
20531 ac_cv_cpp_def___sun__=yes
20532 else
20533 ac_cv_cpp_def___sun__=no
20535 rm -f conftest*
20538 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20539 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20540 if test $ac_cv_cpp_def___sun__ = yes; then
20541 CFLAGS="$CFLAGS -D__sun__"
20542 LINTFLAGS="$LINTFLAGS -D__sun__"
20545 esac
20548 DEPENDENCIES="### Dependencies:
20550 .INIT: Makefile
20551 .BEGIN: Makefile
20552 Makefile: dummy
20553 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20555 \$(OBJS): \$(IDL_GEN_HEADERS)
20556 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20557 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20558 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20564 ac_config_commands="$ac_config_commands include/stamp-h"
20567 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20569 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20571 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20573 ac_config_commands="$ac_config_commands dlls/user32/resources"
20575 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20577 ac_config_commands="$ac_config_commands include/wine"
20580 MAKE_RULES=Make.rules
20583 MAKE_DLL_RULES=dlls/Makedll.rules
20586 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20589 MAKE_TEST_RULES=dlls/Maketest.rules
20592 MAKE_PROG_RULES=programs/Makeprog.rules
20595 ac_config_files="$ac_config_files Make.rules"
20597 ac_config_files="$ac_config_files dlls/Makedll.rules"
20599 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20601 ac_config_files="$ac_config_files dlls/Maketest.rules"
20603 ac_config_files="$ac_config_files programs/Makeprog.rules"
20605 ac_config_files="$ac_config_files Makefile"
20607 ac_config_files="$ac_config_files dlls/Makefile"
20609 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20611 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20613 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
20615 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20617 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20621 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20625 ac_config_files="$ac_config_files dlls/atl/Makefile"
20627 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20629 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20631 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20633 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20637 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20641 ac_config_files="$ac_config_files dlls/cards/Makefile"
20643 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20645 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20647 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20649 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20653 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20657 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20661 ac_config_files="$ac_config_files dlls/credui/Makefile"
20663 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20667 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20669 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20673 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20675 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20679 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20681 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20683 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20685 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20689 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20693 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20695 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20699 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20703 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20705 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20707 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20709 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20711 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20713 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20715 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20717 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20721 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20723 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20725 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20727 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20729 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20731 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20733 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20735 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20737 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20739 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20741 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20745 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20747 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20751 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20753 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20755 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20757 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20759 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20761 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20763 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20765 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20767 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20769 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20771 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20773 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20775 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20777 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20779 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20781 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20783 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20785 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20787 ac_config_files="$ac_config_files dlls/hal/Makefile"
20789 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20791 ac_config_files="$ac_config_files dlls/hid/Makefile"
20793 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20795 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20797 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20799 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20801 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20803 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20805 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20807 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20809 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20811 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20813 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20815 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20817 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20819 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20821 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20823 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20825 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20827 ac_config_files="$ac_config_files dlls/itss/Makefile"
20829 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20831 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20833 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20835 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20837 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20839 ac_config_files="$ac_config_files dlls/localui/Makefile"
20841 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20845 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20847 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20849 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20851 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20853 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20855 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20857 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20859 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20861 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20863 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20865 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20867 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20869 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20871 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20873 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20875 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20877 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20879 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20881 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20883 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20885 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20887 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20889 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20891 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20893 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20895 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20897 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20899 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20901 ac_config_files="$ac_config_files dlls/msi/Makefile"
20903 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20905 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20907 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20909 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20911 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20913 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20915 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20917 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20919 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20921 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20923 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20925 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20927 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20929 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20931 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20933 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20935 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20937 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20939 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20941 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20943 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20945 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20947 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20949 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20951 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20953 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20955 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20957 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20959 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20961 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20963 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20965 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20967 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20969 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20971 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20973 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20975 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20977 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20979 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20981 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20983 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20985 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20987 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20989 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20991 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20993 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20995 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20997 ac_config_files="$ac_config_files dlls/printui/Makefile"
20999 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21001 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21003 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21005 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21007 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21009 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21011 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21013 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21015 ac_config_files="$ac_config_files dlls/query/Makefile"
21017 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21019 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21021 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21023 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21025 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21027 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21029 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21031 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21033 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21035 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21037 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21039 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21041 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21043 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21045 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21047 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21049 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21051 ac_config_files="$ac_config_files dlls/security/Makefile"
21053 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21055 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21057 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21059 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21061 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21063 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21065 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21067 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21069 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21071 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21073 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21075 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21077 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21079 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21081 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21083 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21085 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21087 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21089 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21091 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21093 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21095 ac_config_files="$ac_config_files dlls/sti/Makefile"
21097 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21099 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21101 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21103 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21105 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21107 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21109 ac_config_files="$ac_config_files dlls/url/Makefile"
21111 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21113 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21115 ac_config_files="$ac_config_files dlls/user32/Makefile"
21117 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21119 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21121 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21123 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21125 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21127 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21129 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21131 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21133 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21135 ac_config_files="$ac_config_files dlls/version/Makefile"
21137 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21139 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21141 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21143 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21145 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21147 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21149 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21151 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21153 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21155 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21157 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21159 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21161 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21163 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21165 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21167 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21169 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21171 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21173 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21175 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21177 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21179 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21181 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21183 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21185 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21187 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21189 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21191 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21193 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21195 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21197 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21199 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21201 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21203 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21205 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21207 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21209 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21211 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21213 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21215 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21217 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21219 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21221 ac_config_files="$ac_config_files documentation/Makefile"
21223 ac_config_files="$ac_config_files fonts/Makefile"
21225 ac_config_files="$ac_config_files include/Makefile"
21227 ac_config_files="$ac_config_files libs/Makefile"
21229 ac_config_files="$ac_config_files libs/port/Makefile"
21231 ac_config_files="$ac_config_files libs/wine/Makefile"
21233 ac_config_files="$ac_config_files libs/wpp/Makefile"
21235 ac_config_files="$ac_config_files loader/Makefile"
21237 ac_config_files="$ac_config_files programs/Makefile"
21239 ac_config_files="$ac_config_files programs/clock/Makefile"
21241 ac_config_files="$ac_config_files programs/cmd/Makefile"
21243 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21245 ac_config_files="$ac_config_files programs/control/Makefile"
21247 ac_config_files="$ac_config_files programs/eject/Makefile"
21249 ac_config_files="$ac_config_files programs/expand/Makefile"
21251 ac_config_files="$ac_config_files programs/explorer/Makefile"
21253 ac_config_files="$ac_config_files programs/hh/Makefile"
21255 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21257 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21259 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21261 ac_config_files="$ac_config_files programs/net/Makefile"
21263 ac_config_files="$ac_config_files programs/notepad/Makefile"
21265 ac_config_files="$ac_config_files programs/oleview/Makefile"
21267 ac_config_files="$ac_config_files programs/progman/Makefile"
21269 ac_config_files="$ac_config_files programs/regedit/Makefile"
21271 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21273 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21275 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21277 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21279 ac_config_files="$ac_config_files programs/start/Makefile"
21281 ac_config_files="$ac_config_files programs/svchost/Makefile"
21283 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21285 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21287 ac_config_files="$ac_config_files programs/view/Makefile"
21289 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21291 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21293 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21295 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21297 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21299 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21301 ac_config_files="$ac_config_files programs/winefile/Makefile"
21303 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21305 ac_config_files="$ac_config_files programs/winemine/Makefile"
21307 ac_config_files="$ac_config_files programs/winepath/Makefile"
21309 ac_config_files="$ac_config_files programs/winetest/Makefile"
21311 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21313 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21315 ac_config_files="$ac_config_files programs/winver/Makefile"
21317 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21319 ac_config_files="$ac_config_files programs/write/Makefile"
21321 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21323 ac_config_files="$ac_config_files server/Makefile"
21325 ac_config_files="$ac_config_files tools/Makefile"
21327 ac_config_files="$ac_config_files tools/widl/Makefile"
21329 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21331 ac_config_files="$ac_config_files tools/winedump/Makefile"
21333 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21335 ac_config_files="$ac_config_files tools/wmc/Makefile"
21337 ac_config_files="$ac_config_files tools/wrc/Makefile"
21340 cat >confcache <<\_ACEOF
21341 # This file is a shell script that caches the results of configure
21342 # tests run on this system so they can be shared between configure
21343 # scripts and configure runs, see configure's option --config-cache.
21344 # It is not useful on other systems. If it contains results you don't
21345 # want to keep, you may remove or edit it.
21347 # config.status only pays attention to the cache file if you give it
21348 # the --recheck option to rerun configure.
21350 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21351 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21352 # following values.
21354 _ACEOF
21356 # The following way of writing the cache mishandles newlines in values,
21357 # but we know of no workaround that is simple, portable, and efficient.
21358 # So, we kill variables containing newlines.
21359 # Ultrix sh set writes to stderr and can't be redirected directly,
21360 # and sets the high bit in the cache file unless we assign to the vars.
21362 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21363 eval ac_val=\$$ac_var
21364 case $ac_val in #(
21365 *${as_nl}*)
21366 case $ac_var in #(
21367 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21368 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21369 esac
21370 case $ac_var in #(
21371 _ | IFS | as_nl) ;; #(
21372 *) $as_unset $ac_var ;;
21373 esac ;;
21374 esac
21375 done
21377 (set) 2>&1 |
21378 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21379 *${as_nl}ac_space=\ *)
21380 # `set' does not quote correctly, so add quotes (double-quote
21381 # substitution turns \\\\ into \\, and sed turns \\ into \).
21382 sed -n \
21383 "s/'/'\\\\''/g;
21384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21385 ;; #(
21387 # `set' quotes correctly as required by POSIX, so do not add quotes.
21388 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21390 esac |
21391 sort
21393 sed '
21394 /^ac_cv_env_/b end
21395 t clear
21396 :clear
21397 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21398 t end
21399 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21400 :end' >>confcache
21401 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21402 if test -w "$cache_file"; then
21403 test "x$cache_file" != "x/dev/null" &&
21404 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21405 echo "$as_me: updating cache $cache_file" >&6;}
21406 cat confcache >$cache_file
21407 else
21408 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21409 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21412 rm -f confcache
21414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21415 # Let make expand exec_prefix.
21416 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21418 DEFS=-DHAVE_CONFIG_H
21420 ac_libobjs=
21421 ac_ltlibobjs=
21422 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21423 # 1. Remove the extension, and $U if already installed.
21424 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21425 ac_i=`echo "$ac_i" | sed "$ac_script"`
21426 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21427 # will be set to the directory where LIBOBJS objects are built.
21428 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21429 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21430 done
21431 LIBOBJS=$ac_libobjs
21433 LTLIBOBJS=$ac_ltlibobjs
21437 : ${CONFIG_STATUS=./config.status}
21438 ac_clean_files_save=$ac_clean_files
21439 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21440 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21441 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21442 cat >$CONFIG_STATUS <<_ACEOF
21443 #! $SHELL
21444 # Generated by $as_me.
21445 # Run this file to recreate the current configuration.
21446 # Compiler output produced by configure, useful for debugging
21447 # configure, is in config.log if it exists.
21449 debug=false
21450 ac_cs_recheck=false
21451 ac_cs_silent=false
21452 SHELL=\${CONFIG_SHELL-$SHELL}
21453 _ACEOF
21455 cat >>$CONFIG_STATUS <<\_ACEOF
21456 ## --------------------- ##
21457 ## M4sh Initialization. ##
21458 ## --------------------- ##
21460 # Be more Bourne compatible
21461 DUALCASE=1; export DUALCASE # for MKS sh
21462 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21463 emulate sh
21464 NULLCMD=:
21465 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21466 # is contrary to our usage. Disable this feature.
21467 alias -g '${1+"$@"}'='"$@"'
21468 setopt NO_GLOB_SUBST
21469 else
21470 case `(set -o) 2>/dev/null` in
21471 *posix*) set -o posix ;;
21472 esac
21479 # PATH needs CR
21480 # Avoid depending upon Character Ranges.
21481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21484 as_cr_digits='0123456789'
21485 as_cr_alnum=$as_cr_Letters$as_cr_digits
21487 # The user is always right.
21488 if test "${PATH_SEPARATOR+set}" != set; then
21489 echo "#! /bin/sh" >conf$$.sh
21490 echo "exit 0" >>conf$$.sh
21491 chmod +x conf$$.sh
21492 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21493 PATH_SEPARATOR=';'
21494 else
21495 PATH_SEPARATOR=:
21497 rm -f conf$$.sh
21500 # Support unset when possible.
21501 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21502 as_unset=unset
21503 else
21504 as_unset=false
21508 # IFS
21509 # We need space, tab and new line, in precisely that order. Quoting is
21510 # there to prevent editors from complaining about space-tab.
21511 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21512 # splitting by setting IFS to empty value.)
21513 as_nl='
21515 IFS=" "" $as_nl"
21517 # Find who we are. Look in the path if we contain no directory separator.
21518 case $0 in
21519 *[\\/]* ) as_myself=$0 ;;
21520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21521 for as_dir in $PATH
21523 IFS=$as_save_IFS
21524 test -z "$as_dir" && as_dir=.
21525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21526 done
21527 IFS=$as_save_IFS
21530 esac
21531 # We did not find ourselves, most probably we were run as `sh COMMAND'
21532 # in which case we are not to be found in the path.
21533 if test "x$as_myself" = x; then
21534 as_myself=$0
21536 if test ! -f "$as_myself"; then
21537 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21538 { (exit 1); exit 1; }
21541 # Work around bugs in pre-3.0 UWIN ksh.
21542 for as_var in ENV MAIL MAILPATH
21543 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21544 done
21545 PS1='$ '
21546 PS2='> '
21547 PS4='+ '
21549 # NLS nuisances.
21550 for as_var in \
21551 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21552 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21553 LC_TELEPHONE LC_TIME
21555 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21556 eval $as_var=C; export $as_var
21557 else
21558 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21560 done
21562 # Required to use basename.
21563 if expr a : '\(a\)' >/dev/null 2>&1 &&
21564 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21565 as_expr=expr
21566 else
21567 as_expr=false
21570 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21571 as_basename=basename
21572 else
21573 as_basename=false
21577 # Name of the executable.
21578 as_me=`$as_basename -- "$0" ||
21579 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21580 X"$0" : 'X\(//\)$' \| \
21581 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21582 echo X/"$0" |
21583 sed '/^.*\/\([^/][^/]*\)\/*$/{
21584 s//\1/
21587 /^X\/\(\/\/\)$/{
21588 s//\1/
21591 /^X\/\(\/\).*/{
21592 s//\1/
21595 s/.*/./; q'`
21597 # CDPATH.
21598 $as_unset CDPATH
21602 as_lineno_1=$LINENO
21603 as_lineno_2=$LINENO
21604 test "x$as_lineno_1" != "x$as_lineno_2" &&
21605 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21607 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21608 # uniformly replaced by the line number. The first 'sed' inserts a
21609 # line-number line after each line using $LINENO; the second 'sed'
21610 # does the real work. The second script uses 'N' to pair each
21611 # line-number line with the line containing $LINENO, and appends
21612 # trailing '-' during substitution so that $LINENO is not a special
21613 # case at line end.
21614 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21615 # scripts with optimization help from Paolo Bonzini. Blame Lee
21616 # E. McMahon (1931-1989) for sed's syntax. :-)
21617 sed -n '
21619 /[$]LINENO/=
21620 ' <$as_myself |
21621 sed '
21622 s/[$]LINENO.*/&-/
21623 t lineno
21625 :lineno
21627 :loop
21628 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21629 t loop
21630 s/-\n.*//
21631 ' >$as_me.lineno &&
21632 chmod +x "$as_me.lineno" ||
21633 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21634 { (exit 1); exit 1; }; }
21636 # Don't try to exec as it changes $[0], causing all sort of problems
21637 # (the dirname of $[0] is not the place where we might find the
21638 # original and so on. Autoconf is especially sensitive to this).
21639 . "./$as_me.lineno"
21640 # Exit status is that of the last command.
21641 exit
21645 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21646 as_dirname=dirname
21647 else
21648 as_dirname=false
21651 ECHO_C= ECHO_N= ECHO_T=
21652 case `echo -n x` in
21653 -n*)
21654 case `echo 'x\c'` in
21655 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21656 *) ECHO_C='\c';;
21657 esac;;
21659 ECHO_N='-n';;
21660 esac
21662 if expr a : '\(a\)' >/dev/null 2>&1 &&
21663 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21664 as_expr=expr
21665 else
21666 as_expr=false
21669 rm -f conf$$ conf$$.exe conf$$.file
21670 if test -d conf$$.dir; then
21671 rm -f conf$$.dir/conf$$.file
21672 else
21673 rm -f conf$$.dir
21674 mkdir conf$$.dir
21676 echo >conf$$.file
21677 if ln -s conf$$.file conf$$ 2>/dev/null; then
21678 as_ln_s='ln -s'
21679 # ... but there are two gotchas:
21680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21682 # In both cases, we have to default to `cp -p'.
21683 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21684 as_ln_s='cp -p'
21685 elif ln conf$$.file conf$$ 2>/dev/null; then
21686 as_ln_s=ln
21687 else
21688 as_ln_s='cp -p'
21690 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21691 rmdir conf$$.dir 2>/dev/null
21693 if mkdir -p . 2>/dev/null; then
21694 as_mkdir_p=:
21695 else
21696 test -d ./-p && rmdir ./-p
21697 as_mkdir_p=false
21700 if test -x / >/dev/null 2>&1; then
21701 as_test_x='test -x'
21702 else
21703 if ls -dL / >/dev/null 2>&1; then
21704 as_ls_L_option=L
21705 else
21706 as_ls_L_option=
21708 as_test_x='
21709 eval sh -c '\''
21710 if test -d "$1"; then
21711 test -d "$1/.";
21712 else
21713 case $1 in
21714 -*)set "./$1";;
21715 esac;
21716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21717 ???[sx]*):;;*)false;;esac;fi
21718 '\'' sh
21721 as_executable_p=$as_test_x
21723 # Sed expression to map a string onto a valid CPP name.
21724 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21726 # Sed expression to map a string onto a valid variable name.
21727 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21730 exec 6>&1
21732 # Save the log message, to keep $[0] and so on meaningful, and to
21733 # report actual input values of CONFIG_FILES etc. instead of their
21734 # values after options handling.
21735 ac_log="
21736 This file was extended by Wine $as_me 0.9.52, which was
21737 generated by GNU Autoconf 2.61. Invocation command line was
21739 CONFIG_FILES = $CONFIG_FILES
21740 CONFIG_HEADERS = $CONFIG_HEADERS
21741 CONFIG_LINKS = $CONFIG_LINKS
21742 CONFIG_COMMANDS = $CONFIG_COMMANDS
21743 $ $0 $@
21745 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21748 _ACEOF
21750 cat >>$CONFIG_STATUS <<_ACEOF
21751 # Files that config.status was made for.
21752 config_files="$ac_config_files"
21753 config_headers="$ac_config_headers"
21754 config_commands="$ac_config_commands"
21756 _ACEOF
21758 cat >>$CONFIG_STATUS <<\_ACEOF
21759 ac_cs_usage="\
21760 \`$as_me' instantiates files from templates according to the
21761 current configuration.
21763 Usage: $0 [OPTIONS] [FILE]...
21765 -h, --help print this help, then exit
21766 -V, --version print version number and configuration settings, then exit
21767 -q, --quiet do not print progress messages
21768 -d, --debug don't remove temporary files
21769 --recheck update $as_me by reconfiguring in the same conditions
21770 --file=FILE[:TEMPLATE]
21771 instantiate the configuration file FILE
21772 --header=FILE[:TEMPLATE]
21773 instantiate the configuration header FILE
21775 Configuration files:
21776 $config_files
21778 Configuration headers:
21779 $config_headers
21781 Configuration commands:
21782 $config_commands
21784 Report bugs to <bug-autoconf@gnu.org>."
21786 _ACEOF
21787 cat >>$CONFIG_STATUS <<_ACEOF
21788 ac_cs_version="\\
21789 Wine config.status 0.9.52
21790 configured by $0, generated by GNU Autoconf 2.61,
21791 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21793 Copyright (C) 2006 Free Software Foundation, Inc.
21794 This config.status script is free software; the Free Software Foundation
21795 gives unlimited permission to copy, distribute and modify it."
21797 ac_pwd='$ac_pwd'
21798 srcdir='$srcdir'
21799 INSTALL='$INSTALL'
21800 _ACEOF
21802 cat >>$CONFIG_STATUS <<\_ACEOF
21803 # If no file are specified by the user, then we need to provide default
21804 # value. By we need to know if files were specified by the user.
21805 ac_need_defaults=:
21806 while test $# != 0
21808 case $1 in
21809 --*=*)
21810 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21811 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21812 ac_shift=:
21815 ac_option=$1
21816 ac_optarg=$2
21817 ac_shift=shift
21819 esac
21821 case $ac_option in
21822 # Handling of the options.
21823 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21824 ac_cs_recheck=: ;;
21825 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21826 echo "$ac_cs_version"; exit ;;
21827 --debug | --debu | --deb | --de | --d | -d )
21828 debug=: ;;
21829 --file | --fil | --fi | --f )
21830 $ac_shift
21831 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21832 ac_need_defaults=false;;
21833 --header | --heade | --head | --hea )
21834 $ac_shift
21835 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21836 ac_need_defaults=false;;
21837 --he | --h)
21838 # Conflict between --help and --header
21839 { echo "$as_me: error: ambiguous option: $1
21840 Try \`$0 --help' for more information." >&2
21841 { (exit 1); exit 1; }; };;
21842 --help | --hel | -h )
21843 echo "$ac_cs_usage"; exit ;;
21844 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21845 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21846 ac_cs_silent=: ;;
21848 # This is an error.
21849 -*) { echo "$as_me: error: unrecognized option: $1
21850 Try \`$0 --help' for more information." >&2
21851 { (exit 1); exit 1; }; } ;;
21853 *) ac_config_targets="$ac_config_targets $1"
21854 ac_need_defaults=false ;;
21856 esac
21857 shift
21858 done
21860 ac_configure_extra_args=
21862 if $ac_cs_silent; then
21863 exec 6>/dev/null
21864 ac_configure_extra_args="$ac_configure_extra_args --silent"
21867 _ACEOF
21868 cat >>$CONFIG_STATUS <<_ACEOF
21869 if \$ac_cs_recheck; then
21870 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21871 CONFIG_SHELL=$SHELL
21872 export CONFIG_SHELL
21873 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21876 _ACEOF
21877 cat >>$CONFIG_STATUS <<\_ACEOF
21878 exec 5>>config.log
21880 echo
21881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21882 ## Running $as_me. ##
21883 _ASBOX
21884 echo "$ac_log"
21885 } >&5
21887 _ACEOF
21888 cat >>$CONFIG_STATUS <<_ACEOF
21889 _ACEOF
21891 cat >>$CONFIG_STATUS <<\_ACEOF
21893 # Handling of arguments.
21894 for ac_config_target in $ac_config_targets
21896 case $ac_config_target in
21897 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21898 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21899 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21900 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21901 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21902 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21903 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21904 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21905 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21906 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21907 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21908 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21909 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21910 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21911 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21912 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21913 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21914 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
21915 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21916 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21917 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21918 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21919 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21920 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21921 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21922 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21923 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21924 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21925 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21926 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21927 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21928 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21929 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21930 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21931 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21932 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21933 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21934 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21935 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21936 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21937 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21938 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21939 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21940 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21941 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21942 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21943 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21944 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21945 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21946 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21947 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21948 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21949 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21950 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21951 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21952 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21953 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21954 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21955 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21956 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21957 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21958 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21959 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21960 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21961 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21962 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21963 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21964 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21965 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21966 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21967 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21968 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21969 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21970 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21971 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21972 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21973 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21974 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21975 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21976 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21977 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21978 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21979 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21980 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21981 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21982 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21983 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21984 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21985 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21986 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21987 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21988 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21989 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21990 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21991 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21992 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21993 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21994 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21995 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21996 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21997 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21998 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21999 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22000 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22001 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22002 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22003 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22004 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22005 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22006 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22007 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22008 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22009 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22010 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22011 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22012 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22013 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22014 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22015 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22016 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22017 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22018 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22019 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22020 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22021 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22022 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22023 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22024 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22025 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22026 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22027 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22028 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22029 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22030 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22031 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22032 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22033 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22034 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22035 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22036 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22037 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22038 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22039 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22040 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22041 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22042 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22043 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22044 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22045 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22046 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22047 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22048 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22049 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22050 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22051 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22052 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22053 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22054 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22055 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22056 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22057 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22058 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22059 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22060 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22061 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22062 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22063 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22064 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22065 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22066 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22067 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22068 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22069 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22070 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22071 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22072 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22073 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22074 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22075 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22076 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22077 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22078 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22079 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22080 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22081 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22082 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22083 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22084 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22085 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22086 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22087 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22088 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22089 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22090 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22091 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22092 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22093 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22094 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22095 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22096 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22097 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22098 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22099 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22100 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22101 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22102 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22103 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22104 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22105 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22106 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22107 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22108 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22109 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22110 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22111 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22112 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22113 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22114 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22115 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22116 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22117 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22118 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22119 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22120 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22121 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22122 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22123 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22124 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22125 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22126 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22127 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22128 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22129 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22130 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22131 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22132 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22133 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22134 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22135 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22136 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22137 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22138 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22139 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22140 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22141 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22142 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22143 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22144 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22145 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22146 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22147 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22148 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22149 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22150 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22151 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22152 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22153 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22154 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22155 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22156 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22157 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22158 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22159 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22160 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22161 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22162 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22163 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22164 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22165 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22166 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22167 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22168 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22169 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22170 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22171 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22172 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22173 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22174 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22175 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22176 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22177 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22178 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22179 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22180 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22181 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22182 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22183 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22184 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22185 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22186 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22187 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22188 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22189 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22190 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22191 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22192 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22193 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22194 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22195 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22196 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22197 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22198 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22199 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22200 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22201 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22202 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22203 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22204 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22205 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22206 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22207 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22208 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22209 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22210 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22211 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22212 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22213 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22214 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22215 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22216 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22217 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22218 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22219 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22220 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22221 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22222 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22223 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22224 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22225 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22226 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22227 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22228 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22229 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22230 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22231 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22232 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22233 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22234 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22235 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22236 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22237 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22238 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22239 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22240 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22241 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22242 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22243 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22244 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22245 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22246 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22247 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22248 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22249 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22250 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22251 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22252 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22253 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22254 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22255 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22256 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22257 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22258 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22259 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22260 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22261 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22262 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22263 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22264 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22265 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22266 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22267 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22268 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22269 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22270 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22271 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22272 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22273 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22274 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22275 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22276 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22278 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22279 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22280 { (exit 1); exit 1; }; };;
22281 esac
22282 done
22285 # If the user did not use the arguments to specify the items to instantiate,
22286 # then the envvar interface is used. Set only those that are not.
22287 # We use the long form for the default assignment because of an extremely
22288 # bizarre bug on SunOS 4.1.3.
22289 if $ac_need_defaults; then
22290 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22291 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22295 # Have a temporary directory for convenience. Make it in the build tree
22296 # simply because there is no reason against having it here, and in addition,
22297 # creating and moving files from /tmp can sometimes cause problems.
22298 # Hook for its removal unless debugging.
22299 # Note that there is a small window in which the directory will not be cleaned:
22300 # after its creation but before its name has been assigned to `$tmp'.
22301 $debug ||
22303 tmp=
22304 trap 'exit_status=$?
22305 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22307 trap '{ (exit 1); exit 1; }' 1 2 13 15
22309 # Create a (secure) tmp directory for tmp files.
22312 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22313 test -n "$tmp" && test -d "$tmp"
22314 } ||
22316 tmp=./conf$$-$RANDOM
22317 (umask 077 && mkdir "$tmp")
22318 } ||
22320 echo "$me: cannot create a temporary directory in ." >&2
22321 { (exit 1); exit 1; }
22325 # Set up the sed scripts for CONFIG_FILES section.
22328 # No need to generate the scripts if there are no CONFIG_FILES.
22329 # This happens for instance when ./config.status config.h
22330 if test -n "$CONFIG_FILES"; then
22332 _ACEOF
22334 # Create sed commands to just substitute file output variables.
22336 # Remaining file output variables are in a fragment that also has non-file
22337 # output varibles.
22341 ac_delim='%!_!# '
22342 for ac_last_try in false false false false false :; do
22343 cat >conf$$subs.sed <<_ACEOF
22344 SHELL!$SHELL$ac_delim
22345 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22346 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22347 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22348 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22349 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22350 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22351 exec_prefix!$exec_prefix$ac_delim
22352 prefix!$prefix$ac_delim
22353 program_transform_name!$program_transform_name$ac_delim
22354 bindir!$bindir$ac_delim
22355 sbindir!$sbindir$ac_delim
22356 libexecdir!$libexecdir$ac_delim
22357 datarootdir!$datarootdir$ac_delim
22358 datadir!$datadir$ac_delim
22359 sysconfdir!$sysconfdir$ac_delim
22360 sharedstatedir!$sharedstatedir$ac_delim
22361 localstatedir!$localstatedir$ac_delim
22362 includedir!$includedir$ac_delim
22363 oldincludedir!$oldincludedir$ac_delim
22364 docdir!$docdir$ac_delim
22365 infodir!$infodir$ac_delim
22366 htmldir!$htmldir$ac_delim
22367 dvidir!$dvidir$ac_delim
22368 pdfdir!$pdfdir$ac_delim
22369 psdir!$psdir$ac_delim
22370 libdir!$libdir$ac_delim
22371 localedir!$localedir$ac_delim
22372 mandir!$mandir$ac_delim
22373 DEFS!$DEFS$ac_delim
22374 ECHO_C!$ECHO_C$ac_delim
22375 ECHO_N!$ECHO_N$ac_delim
22376 ECHO_T!$ECHO_T$ac_delim
22377 LIBS!$LIBS$ac_delim
22378 build_alias!$build_alias$ac_delim
22379 host_alias!$host_alias$ac_delim
22380 target_alias!$target_alias$ac_delim
22381 build!$build$ac_delim
22382 build_cpu!$build_cpu$ac_delim
22383 build_vendor!$build_vendor$ac_delim
22384 build_os!$build_os$ac_delim
22385 host!$host$ac_delim
22386 host_cpu!$host_cpu$ac_delim
22387 host_vendor!$host_vendor$ac_delim
22388 host_os!$host_os$ac_delim
22389 WIN16_FILES!$WIN16_FILES$ac_delim
22390 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22391 SET_MAKE!$SET_MAKE$ac_delim
22392 CC!$CC$ac_delim
22393 CFLAGS!$CFLAGS$ac_delim
22394 LDFLAGS!$LDFLAGS$ac_delim
22395 CPPFLAGS!$CPPFLAGS$ac_delim
22396 ac_ct_CC!$ac_ct_CC$ac_delim
22397 EXEEXT!$EXEEXT$ac_delim
22398 OBJEXT!$OBJEXT$ac_delim
22399 CXX!$CXX$ac_delim
22400 CXXFLAGS!$CXXFLAGS$ac_delim
22401 ac_ct_CXX!$ac_ct_CXX$ac_delim
22402 CPPBIN!$CPPBIN$ac_delim
22403 TOOLSDIR!$TOOLSDIR$ac_delim
22404 XMKMF!$XMKMF$ac_delim
22405 CPP!$CPP$ac_delim
22406 X_CFLAGS!$X_CFLAGS$ac_delim
22407 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22408 X_LIBS!$X_LIBS$ac_delim
22409 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22410 FLEX!$FLEX$ac_delim
22411 BISON!$BISON$ac_delim
22412 AS!$AS$ac_delim
22413 ac_ct_AS!$ac_ct_AS$ac_delim
22414 LD!$LD$ac_delim
22415 AR!$AR$ac_delim
22416 RANLIB!$RANLIB$ac_delim
22417 STRIP!$STRIP$ac_delim
22418 WINDRES!$WINDRES$ac_delim
22419 LN_S!$LN_S$ac_delim
22420 LN!$LN$ac_delim
22421 GREP!$GREP$ac_delim
22422 EGREP!$EGREP$ac_delim
22423 LDCONFIG!$LDCONFIG$ac_delim
22424 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22425 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22426 _ACEOF
22428 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22429 break
22430 elif $ac_last_try; then
22431 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22432 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22433 { (exit 1); exit 1; }; }
22434 else
22435 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22437 done
22439 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22440 if test -n "$ac_eof"; then
22441 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22442 ac_eof=`expr $ac_eof + 1`
22445 cat >>$CONFIG_STATUS <<_ACEOF
22446 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22448 /^[ ]*@MAKE_RULES@[ ]*$/{
22449 r $MAKE_RULES
22452 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22453 r $MAKE_DLL_RULES
22456 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22457 r $MAKE_IMPLIB_RULES
22460 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22461 r $MAKE_TEST_RULES
22464 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22465 r $MAKE_PROG_RULES
22468 _ACEOF
22469 sed '
22470 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22471 s/^/s,@/; s/!/@,|#_!!_#|/
22474 s/'"$ac_delim"'$/,g/; t
22475 s/$/\\/; p
22476 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22477 ' >>$CONFIG_STATUS <conf$$subs.sed
22478 rm -f conf$$subs.sed
22479 cat >>$CONFIG_STATUS <<_ACEOF
22480 CEOF$ac_eof
22481 _ACEOF
22484 ac_delim='%!_!# '
22485 for ac_last_try in false false false false false :; do
22486 cat >conf$$subs.sed <<_ACEOF
22487 INSTALL_DATA!$INSTALL_DATA$ac_delim
22488 LINT!$LINT$ac_delim
22489 LINTFLAGS!$LINTFLAGS$ac_delim
22490 FONTFORGE!$FONTFORGE$ac_delim
22491 PKG_CONFIG!$PKG_CONFIG$ac_delim
22492 PRELINK!$PRELINK$ac_delim
22493 LIBPTHREAD!$LIBPTHREAD$ac_delim
22494 XLIB!$XLIB$ac_delim
22495 XFILES!$XFILES$ac_delim
22496 OPENGLFILES!$OPENGLFILES$ac_delim
22497 GLU32FILES!$GLU32FILES$ac_delim
22498 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22499 QUARTZFILES!$QUARTZFILES$ac_delim
22500 DLLEXT!$DLLEXT$ac_delim
22501 DLLFLAGS!$DLLFLAGS$ac_delim
22502 LDSHARED!$LDSHARED$ac_delim
22503 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22504 LIBEXT!$LIBEXT$ac_delim
22505 IMPLIBEXT!$IMPLIBEXT$ac_delim
22506 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22507 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22508 LDD!$LDD$ac_delim
22509 DLLTOOL!$DLLTOOL$ac_delim
22510 DLLWRAP!$DLLWRAP$ac_delim
22511 MINGWAR!$MINGWAR$ac_delim
22512 SECURITYLIB!$SECURITYLIB$ac_delim
22513 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22514 IOKITLIB!$IOKITLIB$ac_delim
22515 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22516 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22517 COREAUDIO!$COREAUDIO$ac_delim
22518 CARBONLIB!$CARBONLIB$ac_delim
22519 CROSSTEST!$CROSSTEST$ac_delim
22520 CROSSCC!$CROSSCC$ac_delim
22521 CROSSWINDRES!$CROSSWINDRES$ac_delim
22522 NASLIBS!$NASLIBS$ac_delim
22523 XML2LIBS!$XML2LIBS$ac_delim
22524 XML2INCL!$XML2INCL$ac_delim
22525 XSLTLIBS!$XSLTLIBS$ac_delim
22526 XSLTINCL!$XSLTINCL$ac_delim
22527 HALINCL!$HALINCL$ac_delim
22528 sane_devel!$sane_devel$ac_delim
22529 SANEINCL!$SANEINCL$ac_delim
22530 gphoto2_devel!$gphoto2_devel$ac_delim
22531 gphoto2port_devel!$gphoto2port_devel$ac_delim
22532 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22533 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22534 RESOLVLIBS!$RESOLVLIBS$ac_delim
22535 LCMSLIBS!$LCMSLIBS$ac_delim
22536 LDAPLIBS!$LDAPLIBS$ac_delim
22537 ft_devel!$ft_devel$ac_delim
22538 FREETYPELIBS!$FREETYPELIBS$ac_delim
22539 FREETYPEINCL!$FREETYPEINCL$ac_delim
22540 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22541 ESDCONFIG!$ESDCONFIG$ac_delim
22542 ESDLIBS!$ESDLIBS$ac_delim
22543 ESDINCL!$ESDINCL$ac_delim
22544 ALSALIBS!$ALSALIBS$ac_delim
22545 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22546 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22547 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22548 BUILTINFLAG!$BUILTINFLAG$ac_delim
22549 LDPATH!$LDPATH$ac_delim
22550 CRTLIBS!$CRTLIBS$ac_delim
22551 SOCKETLIBS!$SOCKETLIBS$ac_delim
22552 MAIN_BINARY!$MAIN_BINARY$ac_delim
22553 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22554 LIBDL!$LIBDL$ac_delim
22555 LIBPOLL!$LIBPOLL$ac_delim
22556 DEPENDENCIES!$DEPENDENCIES$ac_delim
22557 LIBOBJS!$LIBOBJS$ac_delim
22558 LTLIBOBJS!$LTLIBOBJS$ac_delim
22559 _ACEOF
22561 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22562 break
22563 elif $ac_last_try; then
22564 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22565 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22566 { (exit 1); exit 1; }; }
22567 else
22568 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22570 done
22572 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22573 if test -n "$ac_eof"; then
22574 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22575 ac_eof=`expr $ac_eof + 1`
22578 cat >>$CONFIG_STATUS <<_ACEOF
22579 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22581 _ACEOF
22582 sed '
22583 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22584 s/^/s,@/; s/!/@,|#_!!_#|/
22587 s/'"$ac_delim"'$/,g/; t
22588 s/$/\\/; p
22589 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22590 ' >>$CONFIG_STATUS <conf$$subs.sed
22591 rm -f conf$$subs.sed
22592 cat >>$CONFIG_STATUS <<_ACEOF
22593 :end
22594 s/|#_!!_#|//g
22595 CEOF$ac_eof
22596 _ACEOF
22599 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22600 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22601 # trailing colons and then remove the whole line if VPATH becomes empty
22602 # (actually we leave an empty line to preserve line numbers).
22603 if test "x$srcdir" = x.; then
22604 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22605 s/:*\$(srcdir):*/:/
22606 s/:*\${srcdir}:*/:/
22607 s/:*@srcdir@:*/:/
22608 s/^\([^=]*=[ ]*\):*/\1/
22609 s/:*$//
22610 s/^[^=]*=[ ]*$//
22614 cat >>$CONFIG_STATUS <<\_ACEOF
22615 fi # test -n "$CONFIG_FILES"
22618 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22620 case $ac_tag in
22621 :[FHLC]) ac_mode=$ac_tag; continue;;
22622 esac
22623 case $ac_mode$ac_tag in
22624 :[FHL]*:*);;
22625 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22626 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22627 { (exit 1); exit 1; }; };;
22628 :[FH]-) ac_tag=-:-;;
22629 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22630 esac
22631 ac_save_IFS=$IFS
22632 IFS=:
22633 set x $ac_tag
22634 IFS=$ac_save_IFS
22635 shift
22636 ac_file=$1
22637 shift
22639 case $ac_mode in
22640 :L) ac_source=$1;;
22641 :[FH])
22642 ac_file_inputs=
22643 for ac_f
22645 case $ac_f in
22646 -) ac_f="$tmp/stdin";;
22647 *) # Look for the file first in the build tree, then in the source tree
22648 # (if the path is not absolute). The absolute path cannot be DOS-style,
22649 # because $ac_f cannot contain `:'.
22650 test -f "$ac_f" ||
22651 case $ac_f in
22652 [\\/$]*) false;;
22653 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22654 esac ||
22655 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22656 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22657 { (exit 1); exit 1; }; };;
22658 esac
22659 ac_file_inputs="$ac_file_inputs $ac_f"
22660 done
22662 # Let's still pretend it is `configure' which instantiates (i.e., don't
22663 # use $as_me), people would be surprised to read:
22664 # /* config.h. Generated by config.status. */
22665 configure_input="Generated from "`IFS=:
22666 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22667 if test x"$ac_file" != x-; then
22668 configure_input="$ac_file. $configure_input"
22669 { echo "$as_me:$LINENO: creating $ac_file" >&5
22670 echo "$as_me: creating $ac_file" >&6;}
22673 case $ac_tag in
22674 *:-:* | *:-) cat >"$tmp/stdin";;
22675 esac
22677 esac
22679 ac_dir=`$as_dirname -- "$ac_file" ||
22680 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22681 X"$ac_file" : 'X\(//\)[^/]' \| \
22682 X"$ac_file" : 'X\(//\)$' \| \
22683 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22684 echo X"$ac_file" |
22685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22686 s//\1/
22689 /^X\(\/\/\)[^/].*/{
22690 s//\1/
22693 /^X\(\/\/\)$/{
22694 s//\1/
22697 /^X\(\/\).*/{
22698 s//\1/
22701 s/.*/./; q'`
22702 { as_dir="$ac_dir"
22703 case $as_dir in #(
22704 -*) as_dir=./$as_dir;;
22705 esac
22706 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22707 as_dirs=
22708 while :; do
22709 case $as_dir in #(
22710 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22711 *) as_qdir=$as_dir;;
22712 esac
22713 as_dirs="'$as_qdir' $as_dirs"
22714 as_dir=`$as_dirname -- "$as_dir" ||
22715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22716 X"$as_dir" : 'X\(//\)[^/]' \| \
22717 X"$as_dir" : 'X\(//\)$' \| \
22718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22719 echo X"$as_dir" |
22720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22721 s//\1/
22724 /^X\(\/\/\)[^/].*/{
22725 s//\1/
22728 /^X\(\/\/\)$/{
22729 s//\1/
22732 /^X\(\/\).*/{
22733 s//\1/
22736 s/.*/./; q'`
22737 test -d "$as_dir" && break
22738 done
22739 test -z "$as_dirs" || eval "mkdir $as_dirs"
22740 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22741 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22742 { (exit 1); exit 1; }; }; }
22743 ac_builddir=.
22745 case "$ac_dir" in
22746 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22748 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22749 # A ".." for each directory in $ac_dir_suffix.
22750 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22751 case $ac_top_builddir_sub in
22752 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22753 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22754 esac ;;
22755 esac
22756 ac_abs_top_builddir=$ac_pwd
22757 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22758 # for backward compatibility:
22759 ac_top_builddir=$ac_top_build_prefix
22761 case $srcdir in
22762 .) # We are building in place.
22763 ac_srcdir=.
22764 ac_top_srcdir=$ac_top_builddir_sub
22765 ac_abs_top_srcdir=$ac_pwd ;;
22766 [\\/]* | ?:[\\/]* ) # Absolute name.
22767 ac_srcdir=$srcdir$ac_dir_suffix;
22768 ac_top_srcdir=$srcdir
22769 ac_abs_top_srcdir=$srcdir ;;
22770 *) # Relative name.
22771 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22772 ac_top_srcdir=$ac_top_build_prefix$srcdir
22773 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22774 esac
22775 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22778 case $ac_mode in
22781 # CONFIG_FILE
22784 case $INSTALL in
22785 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22786 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22787 esac
22788 _ACEOF
22790 cat >>$CONFIG_STATUS <<\_ACEOF
22791 # If the template does not know about datarootdir, expand it.
22792 # FIXME: This hack should be removed a few years after 2.60.
22793 ac_datarootdir_hack=; ac_datarootdir_seen=
22795 case `sed -n '/datarootdir/ {
22799 /@datadir@/p
22800 /@docdir@/p
22801 /@infodir@/p
22802 /@localedir@/p
22803 /@mandir@/p
22804 ' $ac_file_inputs` in
22805 *datarootdir*) ac_datarootdir_seen=yes;;
22806 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22807 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22808 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22809 _ACEOF
22810 cat >>$CONFIG_STATUS <<_ACEOF
22811 ac_datarootdir_hack='
22812 s&@datadir@&$datadir&g
22813 s&@docdir@&$docdir&g
22814 s&@infodir@&$infodir&g
22815 s&@localedir@&$localedir&g
22816 s&@mandir@&$mandir&g
22817 s&\\\${datarootdir}&$datarootdir&g' ;;
22818 esac
22819 _ACEOF
22821 # Neutralize VPATH when `$srcdir' = `.'.
22822 # Shell code in configure.ac might set extrasub.
22823 # FIXME: do we really want to maintain this feature?
22824 cat >>$CONFIG_STATUS <<_ACEOF
22825 sed "$ac_vpsub
22826 $extrasub
22827 _ACEOF
22828 cat >>$CONFIG_STATUS <<\_ACEOF
22830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22831 s&@configure_input@&$configure_input&;t t
22832 s&@top_builddir@&$ac_top_builddir_sub&;t t
22833 s&@srcdir@&$ac_srcdir&;t t
22834 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22835 s&@top_srcdir@&$ac_top_srcdir&;t t
22836 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22837 s&@builddir@&$ac_builddir&;t t
22838 s&@abs_builddir@&$ac_abs_builddir&;t t
22839 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22840 s&@INSTALL@&$ac_INSTALL&;t t
22841 $ac_datarootdir_hack
22842 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22845 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22846 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22847 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22848 which seems to be undefined. Please make sure it is defined." >&5
22849 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22850 which seems to be undefined. Please make sure it is defined." >&2;}
22852 rm -f "$tmp/stdin"
22853 case $ac_file in
22854 -) cat "$tmp/out"; rm -f "$tmp/out";;
22855 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22856 esac
22860 # CONFIG_HEADER
22862 _ACEOF
22864 # Transform confdefs.h into a sed script `conftest.defines', that
22865 # substitutes the proper values into config.h.in to produce config.h.
22866 rm -f conftest.defines conftest.tail
22867 # First, append a space to every undef/define line, to ease matching.
22868 echo 's/$/ /' >conftest.defines
22869 # Then, protect against being on the right side of a sed subst, or in
22870 # an unquoted here document, in config.status. If some macros were
22871 # called several times there might be several #defines for the same
22872 # symbol, which is useless. But do not sort them, since the last
22873 # AC_DEFINE must be honored.
22874 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22875 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22876 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22877 # PARAMS is the parameter list in the macro definition--in most cases, it's
22878 # just an empty string.
22879 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22880 ac_dB='\\)[ (].*,\\1define\\2'
22881 ac_dC=' '
22882 ac_dD=' ,'
22884 uniq confdefs.h |
22885 sed -n '
22886 t rset
22887 :rset
22888 s/^[ ]*#[ ]*define[ ][ ]*//
22889 t ok
22892 s/[\\&,]/\\&/g
22893 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22894 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22895 ' >>conftest.defines
22897 # Remove the space that was appended to ease matching.
22898 # Then replace #undef with comments. This is necessary, for
22899 # example, in the case of _POSIX_SOURCE, which is predefined and required
22900 # on some systems where configure will not decide to define it.
22901 # (The regexp can be short, since the line contains either #define or #undef.)
22902 echo 's/ $//
22903 s,^[ #]*u.*,/* & */,' >>conftest.defines
22905 # Break up conftest.defines:
22906 ac_max_sed_lines=50
22908 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22909 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22910 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22911 # et cetera.
22912 ac_in='$ac_file_inputs'
22913 ac_out='"$tmp/out1"'
22914 ac_nxt='"$tmp/out2"'
22916 while :
22918 # Write a here document:
22919 cat >>$CONFIG_STATUS <<_ACEOF
22920 # First, check the format of the line:
22921 cat >"\$tmp/defines.sed" <<\\CEOF
22922 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22923 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22925 :def
22926 _ACEOF
22927 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22928 echo 'CEOF
22929 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22930 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22931 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22932 grep . conftest.tail >/dev/null || break
22933 rm -f conftest.defines
22934 mv conftest.tail conftest.defines
22935 done
22936 rm -f conftest.defines conftest.tail
22938 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22939 cat >>$CONFIG_STATUS <<\_ACEOF
22940 if test x"$ac_file" != x-; then
22941 echo "/* $configure_input */" >"$tmp/config.h"
22942 cat "$ac_result" >>"$tmp/config.h"
22943 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22944 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22945 echo "$as_me: $ac_file is unchanged" >&6;}
22946 else
22947 rm -f $ac_file
22948 mv "$tmp/config.h" $ac_file
22950 else
22951 echo "/* $configure_input */"
22952 cat "$ac_result"
22954 rm -f "$tmp/out12"
22957 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22958 echo "$as_me: executing $ac_file commands" >&6;}
22960 esac
22963 case $ac_file$ac_mode in
22964 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22965 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22966 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22967 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22968 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22969 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22970 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22971 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22972 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22973 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22974 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22975 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22976 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22978 esac
22979 done # for ac_tag
22982 { (exit 0); exit 0; }
22983 _ACEOF
22984 chmod +x $CONFIG_STATUS
22985 ac_clean_files=$ac_clean_files_save
22988 # configure is writing to config.log, and then calls config.status.
22989 # config.status does its own redirection, appending to config.log.
22990 # Unfortunately, on DOS this fails, as config.log is still kept open
22991 # by configure, so config.status won't be able to write to it; its
22992 # output is simply discarded. So we exec the FD to /dev/null,
22993 # effectively closing config.log, so it can be properly (re)opened and
22994 # appended to by config.status. When coming back to configure, we
22995 # need to make the FD available again.
22996 if test "$no_create" != yes; then
22997 ac_cs_success=:
22998 ac_config_status_args=
22999 test "$silent" = yes &&
23000 ac_config_status_args="$ac_config_status_args --quiet"
23001 exec 5>/dev/null
23002 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23003 exec 5>>config.log
23004 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23005 # would make configure fail if this is the last instruction.
23006 $ac_cs_success || { (exit 1); exit 1; }
23010 if test "$no_create" = "yes"
23011 then
23012 exit 0
23015 ac_save_IFS="$IFS"
23016 IFS="|"
23017 if test "$verbose" = "yes"; then
23018 for msg in $wine_notices; do
23019 if test -n "$msg"; then
23020 echo >&2
23021 { echo "$as_me:$LINENO: $msg" >&5
23022 echo "$as_me: $msg" >&6;}
23024 done
23026 for msg in $wine_warnings; do
23027 if test -n "$msg"; then
23028 echo >&2
23029 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23030 echo "$as_me: WARNING: $msg" >&2;}
23032 done
23033 IFS="$ac_save_IFS"
23035 echo
23036 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
23037 echo