gdiplus: Fix test typo/compile error.
[wine/wine-kai.git] / configure
blob8567e538dc8f880ae3f8046a3dd8c80763b61cf9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.40'
578 PACKAGE_STRING='Wine 0.9.40'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 ICULIBS
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.40
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.40, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lxpg4 $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _xpg4_setrunelocale ();
6341 main ()
6343 return _xpg4_setrunelocale ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6383 _ACEOF
6385 LIBS="-lxpg4 $LIBS"
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h. */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6406 #ifdef __cplusplus
6407 extern "C"
6408 #endif
6409 char pthread_create ();
6411 main ()
6413 return pthread_create ();
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest$ac_exeext &&
6435 $as_test_x conftest$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create=yes
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create=no
6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD="-lpthread"
6456 XLIB=""
6458 XFILES=""
6460 OPENGLFILES=""
6462 GLU32FILES=""
6464 OPENGL_LIBS=""
6466 QUARTZFILES=""
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6482 #include <stdarg.h>
6483 #include <string.h>
6484 #include <float.h>
6487 main ()
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6499 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <string.h>
6531 _ACEOF
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6535 else
6536 ac_cv_header_stdc=no
6538 rm -f conftest*
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <stdlib.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6567 else
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6620 else
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ( exit $ac_status )
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6640 _ACEOF
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6675 case "(($ac_try" in
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6678 esac
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then
6690 eval "$as_ac_Header=yes"
6691 else
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 ac_res=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h <<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6823 for ac_header in \
6824 AudioUnit/AudioUnit.h \
6825 Carbon/Carbon.h \
6826 CoreAudio/CoreAudio.h \
6827 DiskArbitration/DiskArbitration.h \
6828 IOKit/IOKitLib.h \
6829 alsa/asoundlib.h \
6830 arpa/inet.h \
6831 arpa/nameser.h \
6832 asm/types.h \
6833 capi20.h \
6834 cups/cups.h \
6835 curses.h \
6836 direct.h \
6837 dlfcn.h \
6838 elf.h \
6839 float.h \
6840 fontconfig/fontconfig.h \
6841 getopt.h \
6842 ieeefp.h \
6843 io.h \
6844 jack/jack.h \
6845 jpeglib.h \
6846 lber.h \
6847 lcms.h \
6848 lcms/lcms.h \
6849 ldap.h \
6850 libaudioio.h \
6851 link.h \
6852 linux/cdrom.h \
6853 linux/compiler.h \
6854 linux/hdreg.h \
6855 linux/input.h \
6856 linux/ioctl.h \
6857 linux/joystick.h \
6858 linux/major.h \
6859 linux/param.h \
6860 linux/serial.h \
6861 linux/ucdrom.h \
6862 mach/mach.h \
6863 mach/machine.h \
6864 machine/cpu.h \
6865 machine/limits.h \
6866 machine/soundcard.h \
6867 mntent.h \
6868 ncurses.h \
6869 netdb.h \
6870 netinet/in.h \
6871 netinet/in_systm.h \
6872 netinet/tcp.h \
6873 netinet/tcp_fsm.h \
6874 openssl/err.h \
6875 openssl/ssl.h \
6876 png.h \
6877 poll.h \
6878 process.h \
6879 pthread.h \
6880 pwd.h \
6881 regex.h \
6882 sched.h \
6883 scsi/scsi.h \
6884 scsi/scsi_ioctl.h \
6885 scsi/sg.h \
6886 soundcard.h \
6887 stdint.h \
6888 strings.h \
6889 sys/asoundlib.h \
6890 sys/cdio.h \
6891 sys/elf32.h \
6892 sys/epoll.h \
6893 sys/errno.h \
6894 sys/event.h \
6895 sys/exec_elf.h \
6896 sys/filio.h \
6897 sys/ioctl.h \
6898 sys/ipc.h \
6899 sys/limits.h \
6900 sys/link.h \
6901 sys/lwp.h \
6902 sys/mman.h \
6903 sys/modem.h \
6904 sys/msg.h \
6905 sys/mtio.h \
6906 sys/param.h \
6907 sys/poll.h \
6908 sys/prctl.h \
6909 sys/ptrace.h \
6910 sys/reg.h \
6911 sys/resource.h \
6912 sys/scsiio.h \
6913 sys/shm.h \
6914 sys/signal.h \
6915 sys/socket.h \
6916 sys/sockio.h \
6917 sys/soundcard.h \
6918 sys/statvfs.h \
6919 sys/strtio.h \
6920 sys/syscall.h \
6921 sys/sysctl.h \
6922 sys/time.h \
6923 sys/times.h \
6924 sys/uio.h \
6925 sys/un.h \
6926 sys/vm86.h \
6927 sys/wait.h \
6928 syscall.h \
6929 termios.h \
6930 unicode/ubidi.h \
6931 unistd.h \
6932 utime.h \
6933 valgrind/memcheck.h
6936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 ac_res=`eval echo '${'$as_ac_Header'}'`
6944 { echo "$as_me:$LINENO: result: $ac_res" >&5
6945 echo "${ECHO_T}$ac_res" >&6; }
6946 else
6947 # Is the header compilable?
6948 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6950 cat >conftest.$ac_ext <<_ACEOF
6951 /* confdefs.h. */
6952 _ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 $ac_includes_default
6957 #include <$ac_header>
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (ac_try="$ac_compile"
6961 case "(($ac_try" in
6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6963 *) ac_try_echo=$ac_try;;
6964 esac
6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966 (eval "$ac_compile") 2>conftest.er1
6967 ac_status=$?
6968 grep -v '^ *+' conftest.er1 >conftest.err
6969 rm -f conftest.er1
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } && {
6973 test -z "$ac_c_werror_flag" ||
6974 test ! -s conftest.err
6975 } && test -s conftest.$ac_objext; then
6976 ac_header_compiler=yes
6977 else
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 ac_header_compiler=no
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6986 echo "${ECHO_T}$ac_header_compiler" >&6; }
6988 # Is the header present?
6989 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6991 cat >conftest.$ac_ext <<_ACEOF
6992 /* confdefs.h. */
6993 _ACEOF
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 #include <$ac_header>
6998 _ACEOF
6999 if { (ac_try="$ac_cpp conftest.$ac_ext"
7000 case "(($ac_try" in
7001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7002 *) ac_try_echo=$ac_try;;
7003 esac
7004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7006 ac_status=$?
7007 grep -v '^ *+' conftest.er1 >conftest.err
7008 rm -f conftest.er1
7009 cat conftest.err >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } >/dev/null && {
7012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7013 test ! -s conftest.err
7014 }; then
7015 ac_header_preproc=yes
7016 else
7017 echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 ac_header_preproc=no
7023 rm -f conftest.err conftest.$ac_ext
7024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7025 echo "${ECHO_T}$ac_header_preproc" >&6; }
7027 # So? What about this header?
7028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7029 yes:no: )
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7034 ac_header_preproc=yes
7036 no:yes:* )
7037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7049 ( cat <<\_ASBOX
7050 ## ------------------------------------ ##
7051 ## Report this to wine-devel@winehq.org ##
7052 ## ------------------------------------ ##
7053 _ASBOX
7054 ) | sed "s/^/$as_me: WARNING: /" >&2
7056 esac
7057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7060 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 else
7062 eval "$as_ac_Header=\$ac_header_preproc"
7064 ac_res=`eval echo '${'$as_ac_Header'}'`
7065 { echo "$as_me:$LINENO: result: $ac_res" >&5
7066 echo "${ECHO_T}$ac_res" >&6; }
7069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7070 cat >>confdefs.h <<_ACEOF
7071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 _ACEOF
7076 done
7078 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7079 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7080 if test "${ac_cv_header_stat_broken+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 else
7083 cat >conftest.$ac_ext <<_ACEOF
7084 /* confdefs.h. */
7085 _ACEOF
7086 cat confdefs.h >>conftest.$ac_ext
7087 cat >>conftest.$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7089 #include <sys/types.h>
7090 #include <sys/stat.h>
7092 #if defined S_ISBLK && defined S_IFDIR
7093 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7094 #endif
7096 #if defined S_ISBLK && defined S_IFCHR
7097 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7098 #endif
7100 #if defined S_ISLNK && defined S_IFREG
7101 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7102 #endif
7104 #if defined S_ISSOCK && defined S_IFREG
7105 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7106 #endif
7108 _ACEOF
7109 rm -f conftest.$ac_objext
7110 if { (ac_try="$ac_compile"
7111 case "(($ac_try" in
7112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7113 *) ac_try_echo=$ac_try;;
7114 esac
7115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7116 (eval "$ac_compile") 2>conftest.er1
7117 ac_status=$?
7118 grep -v '^ *+' conftest.er1 >conftest.err
7119 rm -f conftest.er1
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } && {
7123 test -z "$ac_c_werror_flag" ||
7124 test ! -s conftest.err
7125 } && test -s conftest.$ac_objext; then
7126 ac_cv_header_stat_broken=no
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_cv_header_stat_broken=yes
7134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7136 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7137 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7138 if test $ac_cv_header_stat_broken = yes; then
7140 cat >>confdefs.h <<\_ACEOF
7141 #define STAT_MACROS_BROKEN 1
7142 _ACEOF
7152 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.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_PARAM_H
7168 # include <sys/param.h>
7169 #endif
7171 #include <$ac_header>
7172 _ACEOF
7173 rm -f conftest.$ac_objext
7174 if { (ac_try="$ac_compile"
7175 case "(($ac_try" in
7176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7177 *) ac_try_echo=$ac_try;;
7178 esac
7179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7180 (eval "$ac_compile") 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } && {
7187 test -z "$ac_c_werror_flag" ||
7188 test ! -s conftest.err
7189 } && test -s conftest.$ac_objext; then
7190 eval "$as_ac_Header=yes"
7191 else
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.$ac_ext >&5
7195 eval "$as_ac_Header=no"
7198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7200 ac_res=`eval echo '${'$as_ac_Header'}'`
7201 { echo "$as_me:$LINENO: result: $ac_res" >&5
7202 echo "${ECHO_T}$ac_res" >&6; }
7203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7204 cat >>confdefs.h <<_ACEOF
7205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7206 _ACEOF
7210 done
7219 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 else
7227 cat >conftest.$ac_ext <<_ACEOF
7228 /* confdefs.h. */
7229 _ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 #include <sys/types.h>
7234 #if HAVE_SYS_SOCKET_H
7235 # include <sys/socket.h>
7236 #endif
7238 #include <$ac_header>
7239 _ACEOF
7240 rm -f conftest.$ac_objext
7241 if { (ac_try="$ac_compile"
7242 case "(($ac_try" in
7243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7245 esac
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_compile") 2>conftest.er1
7248 ac_status=$?
7249 grep -v '^ *+' conftest.er1 >conftest.err
7250 rm -f conftest.er1
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } && {
7254 test -z "$ac_c_werror_flag" ||
7255 test ! -s conftest.err
7256 } && test -s conftest.$ac_objext; then
7257 eval "$as_ac_Header=yes"
7258 else
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7262 eval "$as_ac_Header=no"
7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 ac_res=`eval echo '${'$as_ac_Header'}'`
7268 { echo "$as_me:$LINENO: result: $ac_res" >&5
7269 echo "${ECHO_T}$ac_res" >&6; }
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7277 done
7281 for ac_header in linux/ipx.h
7283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 else
7289 cat >conftest.$ac_ext <<_ACEOF
7290 /* confdefs.h. */
7291 _ACEOF
7292 cat confdefs.h >>conftest.$ac_ext
7293 cat >>conftest.$ac_ext <<_ACEOF
7294 /* end confdefs.h. */
7295 #include <sys/types.h>
7296 #ifdef HAVE_ASM_TYPES_H
7297 # include <asm/types.h>
7298 #endif
7299 #if HAVE_SYS_SOCKET_H
7300 # include <sys/socket.h>
7301 #endif
7303 #include <$ac_header>
7304 _ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (ac_try="$ac_compile"
7307 case "(($ac_try" in
7308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7309 *) ac_try_echo=$ac_try;;
7310 esac
7311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7312 (eval "$ac_compile") 2>conftest.er1
7313 ac_status=$?
7314 grep -v '^ *+' conftest.er1 >conftest.err
7315 rm -f conftest.er1
7316 cat conftest.err >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); } && {
7319 test -z "$ac_c_werror_flag" ||
7320 test ! -s conftest.err
7321 } && test -s conftest.$ac_objext; then
7322 eval "$as_ac_Header=yes"
7323 else
7324 echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.$ac_ext >&5
7327 eval "$as_ac_Header=no"
7330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7332 ac_res=`eval echo '${'$as_ac_Header'}'`
7333 { echo "$as_me:$LINENO: result: $ac_res" >&5
7334 echo "${ECHO_T}$ac_res" >&6; }
7335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7336 cat >>confdefs.h <<_ACEOF
7337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7346 for ac_header in resolv.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 else
7354 cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h. */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #if HAVE_SYS_SOCKET_H
7362 # include <sys/socket.h>
7363 #endif
7364 #if HAVE_NETINET_IN_H
7365 # include <netinet/in.h>
7366 #endif
7367 #if HAVE_ARPA_NAMESER_H
7368 # include <arpa/nameser.h>
7369 #endif
7371 #include <$ac_header>
7372 _ACEOF
7373 rm -f conftest.$ac_objext
7374 if { (ac_try="$ac_compile"
7375 case "(($ac_try" in
7376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7377 *) ac_try_echo=$ac_try;;
7378 esac
7379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7380 (eval "$ac_compile") 2>conftest.er1
7381 ac_status=$?
7382 grep -v '^ *+' conftest.er1 >conftest.err
7383 rm -f conftest.er1
7384 cat conftest.err >&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } && {
7387 test -z "$ac_c_werror_flag" ||
7388 test ! -s conftest.err
7389 } && test -s conftest.$ac_objext; then
7390 eval "$as_ac_Header=yes"
7391 else
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7395 eval "$as_ac_Header=no"
7398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7400 ac_res=`eval echo '${'$as_ac_Header'}'`
7401 { echo "$as_me:$LINENO: result: $ac_res" >&5
7402 echo "${ECHO_T}$ac_res" >&6; }
7403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7404 cat >>confdefs.h <<_ACEOF
7405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 _ACEOF
7410 done
7414 for ac_header in ucontext.h
7416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 else
7422 cat >conftest.$ac_ext <<_ACEOF
7423 /* confdefs.h. */
7424 _ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 #include <signal.h>
7430 #include <$ac_header>
7431 _ACEOF
7432 rm -f conftest.$ac_objext
7433 if { (ac_try="$ac_compile"
7434 case "(($ac_try" in
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7437 esac
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_compile") 2>conftest.er1
7440 ac_status=$?
7441 grep -v '^ *+' conftest.er1 >conftest.err
7442 rm -f conftest.er1
7443 cat conftest.err >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } && {
7446 test -z "$ac_c_werror_flag" ||
7447 test ! -s conftest.err
7448 } && test -s conftest.$ac_objext; then
7449 eval "$as_ac_Header=yes"
7450 else
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7454 eval "$as_ac_Header=no"
7457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 ac_res=`eval echo '${'$as_ac_Header'}'`
7460 { echo "$as_me:$LINENO: result: $ac_res" >&5
7461 echo "${ECHO_T}$ac_res" >&6; }
7462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7463 cat >>confdefs.h <<_ACEOF
7464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7469 done
7473 for ac_header in pthread_np.h
7475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 else
7481 cat >conftest.$ac_ext <<_ACEOF
7482 /* confdefs.h. */
7483 _ACEOF
7484 cat confdefs.h >>conftest.$ac_ext
7485 cat >>conftest.$ac_ext <<_ACEOF
7486 /* end confdefs.h. */
7487 #ifdef HAVE_PTHREAD_H
7488 #include <pthread.h>
7489 #endif
7491 #include <$ac_header>
7492 _ACEOF
7493 rm -f conftest.$ac_objext
7494 if { (ac_try="$ac_compile"
7495 case "(($ac_try" in
7496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 *) ac_try_echo=$ac_try;;
7498 esac
7499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 (eval "$ac_compile") 2>conftest.er1
7501 ac_status=$?
7502 grep -v '^ *+' conftest.er1 >conftest.err
7503 rm -f conftest.er1
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } && {
7507 test -z "$ac_c_werror_flag" ||
7508 test ! -s conftest.err
7509 } && test -s conftest.$ac_objext; then
7510 eval "$as_ac_Header=yes"
7511 else
7512 echo "$as_me: failed program was:" >&5
7513 sed 's/^/| /' conftest.$ac_ext >&5
7515 eval "$as_ac_Header=no"
7518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7520 ac_res=`eval echo '${'$as_ac_Header'}'`
7521 { echo "$as_me:$LINENO: result: $ac_res" >&5
7522 echo "${ECHO_T}$ac_res" >&6; }
7523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7524 cat >>confdefs.h <<_ACEOF
7525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7526 _ACEOF
7530 done
7534 for ac_header in linux/videodev.h
7536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 else
7542 cat >conftest.$ac_ext <<_ACEOF
7543 /* confdefs.h. */
7544 _ACEOF
7545 cat confdefs.h >>conftest.$ac_ext
7546 cat >>conftest.$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7548 #ifdef HAVE_SYS_TIME_H
7549 #include <sys/time.h>
7550 #endif
7551 #include <sys/types.h>
7552 #ifdef HAVE_ASM_TYPES_H
7553 #include <asm/types.h>
7554 #endif
7556 #include <$ac_header>
7557 _ACEOF
7558 rm -f conftest.$ac_objext
7559 if { (ac_try="$ac_compile"
7560 case "(($ac_try" in
7561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7562 *) ac_try_echo=$ac_try;;
7563 esac
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_compile") 2>conftest.er1
7566 ac_status=$?
7567 grep -v '^ *+' conftest.er1 >conftest.err
7568 rm -f conftest.er1
7569 cat conftest.err >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } && {
7572 test -z "$ac_c_werror_flag" ||
7573 test ! -s conftest.err
7574 } && test -s conftest.$ac_objext; then
7575 eval "$as_ac_Header=yes"
7576 else
7577 echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7580 eval "$as_ac_Header=no"
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7585 ac_res=`eval echo '${'$as_ac_Header'}'`
7586 { echo "$as_me:$LINENO: result: $ac_res" >&5
7587 echo "${ECHO_T}$ac_res" >&6; }
7588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7589 cat >>confdefs.h <<_ACEOF
7590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7599 for ac_header in linux/capi.h
7601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 else
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 #define __user
7615 #include <$ac_header>
7616 _ACEOF
7617 rm -f conftest.$ac_objext
7618 if { (ac_try="$ac_compile"
7619 case "(($ac_try" in
7620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7621 *) ac_try_echo=$ac_try;;
7622 esac
7623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7624 (eval "$ac_compile") 2>conftest.er1
7625 ac_status=$?
7626 grep -v '^ *+' conftest.er1 >conftest.err
7627 rm -f conftest.er1
7628 cat conftest.err >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } && {
7631 test -z "$ac_c_werror_flag" ||
7632 test ! -s conftest.err
7633 } && test -s conftest.$ac_objext; then
7634 eval "$as_ac_Header=yes"
7635 else
7636 echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.$ac_ext >&5
7639 eval "$as_ac_Header=no"
7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644 ac_res=`eval echo '${'$as_ac_Header'}'`
7645 { echo "$as_me:$LINENO: result: $ac_res" >&5
7646 echo "${ECHO_T}$ac_res" >&6; }
7647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7648 cat >>confdefs.h <<_ACEOF
7649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7650 _ACEOF
7654 done
7658 DLLEXT=""
7660 DLLFLAGS="-D_REENTRANT"
7662 LDSHARED=""
7664 LDDLLFLAGS=""
7666 LIBEXT="so"
7668 IMPLIBEXT="def"
7670 LDRPATH_INSTALL=""
7672 LDRPATH_LOCAL=""
7674 # Extract the first word of "ldd", so it can be a program name with args.
7675 set dummy ldd; ac_word=$2
7676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7678 if test "${ac_cv_path_LDD+set}" = set; then
7679 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 else
7681 case $LDD in
7682 [\\/]* | ?:[\\/]*)
7683 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 as_dummy="/sbin:/usr/sbin:$PATH"
7688 for as_dir in $as_dummy
7690 IFS=$as_save_IFS
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7696 break 2
7698 done
7699 done
7700 IFS=$as_save_IFS
7702 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7704 esac
7706 LDD=$ac_cv_path_LDD
7707 if test -n "$LDD"; then
7708 { echo "$as_me:$LINENO: result: $LDD" >&5
7709 echo "${ECHO_T}$LDD" >&6; }
7710 else
7711 { echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6; }
7717 case $host_os in
7718 cygwin*|mingw32*)
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7721 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7724 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7725 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 else
7727 if test -n "$DLLTOOL"; then
7728 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7737 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 DLLTOOL=$ac_cv_prog_DLLTOOL
7748 if test -n "$DLLTOOL"; then
7749 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7750 echo "${ECHO_T}$DLLTOOL" >&6; }
7751 else
7752 { echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6; }
7758 if test -z "$ac_cv_prog_DLLTOOL"; then
7759 ac_ct_DLLTOOL=$DLLTOOL
7760 # Extract the first word of "dlltool", so it can be a program name with args.
7761 set dummy dlltool; ac_word=$2
7762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7764 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 else
7767 if test -n "$ac_ct_DLLTOOL"; then
7768 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7769 else
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 for as_dir in $PATH
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7777 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7781 done
7782 done
7783 IFS=$as_save_IFS
7787 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7788 if test -n "$ac_ct_DLLTOOL"; then
7789 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7790 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7791 else
7792 { echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6; }
7796 if test "x$ac_ct_DLLTOOL" = x; then
7797 DLLTOOL="false"
7798 else
7799 case $cross_compiling:$ac_tool_warned in
7800 yes:)
7801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7802 whose name does not start with the host triplet. If you think this
7803 configuration is useful to you, please write to autoconf@gnu.org." >&5
7804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7805 whose name does not start with the host triplet. If you think this
7806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7807 ac_tool_warned=yes ;;
7808 esac
7809 DLLTOOL=$ac_ct_DLLTOOL
7811 else
7812 DLLTOOL="$ac_cv_prog_DLLTOOL"
7815 if test -n "$ac_tool_prefix"; then
7816 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7820 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7822 else
7823 if test -n "$DLLWRAP"; then
7824 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7825 else
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 for as_dir in $PATH
7829 IFS=$as_save_IFS
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 break 2
7837 done
7838 done
7839 IFS=$as_save_IFS
7843 DLLWRAP=$ac_cv_prog_DLLWRAP
7844 if test -n "$DLLWRAP"; then
7845 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7846 echo "${ECHO_T}$DLLWRAP" >&6; }
7847 else
7848 { echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6; }
7854 if test -z "$ac_cv_prog_DLLWRAP"; then
7855 ac_ct_DLLWRAP=$DLLWRAP
7856 # Extract the first word of "dllwrap", so it can be a program name with args.
7857 set dummy dllwrap; ac_word=$2
7858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7860 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 else
7863 if test -n "$ac_ct_DLLWRAP"; then
7864 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7865 else
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7869 IFS=$as_save_IFS
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 break 2
7877 done
7878 done
7879 IFS=$as_save_IFS
7883 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7884 if test -n "$ac_ct_DLLWRAP"; then
7885 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7886 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7887 else
7888 { echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6; }
7892 if test "x$ac_ct_DLLWRAP" = x; then
7893 DLLWRAP="false"
7894 else
7895 case $cross_compiling:$ac_tool_warned in
7896 yes:)
7897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7898 whose name does not start with the host triplet. If you think this
7899 configuration is useful to you, please write to autoconf@gnu.org." >&5
7900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7901 whose name does not start with the host triplet. If you think this
7902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7903 ac_tool_warned=yes ;;
7904 esac
7905 DLLWRAP=$ac_ct_DLLWRAP
7907 else
7908 DLLWRAP="$ac_cv_prog_DLLWRAP"
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7913 set dummy ${ac_tool_prefix}ar; ac_word=$2
7914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7916 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7917 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 else
7919 if test -n "$MINGWAR"; then
7920 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 MINGWAR=$ac_cv_prog_MINGWAR
7940 if test -n "$MINGWAR"; then
7941 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7942 echo "${ECHO_T}$MINGWAR" >&6; }
7943 else
7944 { echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6; }
7950 if test -z "$ac_cv_prog_MINGWAR"; then
7951 ac_ct_MINGWAR=$MINGWAR
7952 # Extract the first word of "ar", so it can be a program name with args.
7953 set dummy ar; ac_word=$2
7954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7956 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 else
7959 if test -n "$ac_ct_MINGWAR"; then
7960 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_prog_ac_ct_MINGWAR="ar"
7970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7973 done
7974 done
7975 IFS=$as_save_IFS
7979 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7980 if test -n "$ac_ct_MINGWAR"; then
7981 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7982 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7983 else
7984 { echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6; }
7988 if test "x$ac_ct_MINGWAR" = x; then
7989 MINGWAR="false"
7990 else
7991 case $cross_compiling:$ac_tool_warned in
7992 yes:)
7993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7994 whose name does not start with the host triplet. If you think this
7995 configuration is useful to you, please write to autoconf@gnu.org." >&5
7996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7997 whose name does not start with the host triplet. If you think this
7998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001 MINGWAR=$ac_ct_MINGWAR
8003 else
8004 MINGWAR="$ac_cv_prog_MINGWAR"
8007 if test "$DLLWRAP" = "false"; then
8008 LIBEXT="a"
8009 else
8010 LIBEXT="dll"
8012 IMPLIBEXT="a"
8013 WIN16_FILES=""
8014 WIN16_INSTALL=""
8016 darwin*|macosx*)
8017 DLLEXT=".so"
8018 LIBEXT="dylib"
8019 DLLFLAGS="$DLLFLAGS -fPIC"
8020 LDDLLFLAGS="-bundle -multiply_defined suppress"
8021 LIBWINE_LDFLAGS="-multiply_defined suppress"
8022 LDSHARED="\$(CC) -dynamiclib"
8023 STRIP="$STRIP -x"
8024 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8025 COREFOUNDATIONLIB="-framework CoreFoundation"
8027 IOKITLIB="-framework IOKit -framework CoreFoundation"
8029 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8031 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8032 then
8033 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8036 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8037 then
8038 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8041 case $host_cpu in
8042 *powerpc*)
8043 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8044 esac
8045 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8046 then
8047 CARBONLIB="-framework Carbon"
8049 QUARTZFILES='$(QUARTZFILES)'
8053 DLLFLAGS="$DLLFLAGS -fPIC"
8054 DLLEXT=".so"
8055 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8056 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8057 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 else
8060 ac_wine_try_cflags_saved=$CFLAGS
8061 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8062 cat >conftest.$ac_ext <<_ACEOF
8063 void myfunc() {}
8064 _ACEOF
8065 rm -f conftest.$ac_objext conftest$ac_exeext
8066 if { (ac_try="$ac_link"
8067 case "(($ac_try" in
8068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8070 esac
8071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8072 (eval "$ac_link") 2>conftest.er1
8073 ac_status=$?
8074 grep -v '^ *+' conftest.er1 >conftest.err
8075 rm -f conftest.er1
8076 cat conftest.err >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); } && {
8079 test -z "$ac_c_werror_flag" ||
8080 test ! -s conftest.err
8081 } && test -s conftest$ac_exeext &&
8082 $as_test_x conftest$ac_exeext; then
8083 ac_cv_c_dll_gnuelf="yes"
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 ac_cv_c_dll_gnuelf="no"
8091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8092 conftest$ac_exeext conftest.$ac_ext
8093 CFLAGS=$ac_wine_try_cflags_saved
8095 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8096 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8097 if test "$ac_cv_c_dll_gnuelf" = "yes"
8098 then
8099 LDSHARED="\$(CC) -shared"
8100 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8101 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8102 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8103 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 else
8106 ac_wine_try_cflags_saved=$CFLAGS
8107 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h. */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8116 main ()
8120 return 0;
8122 _ACEOF
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8125 case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8128 esac
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest$ac_exeext &&
8140 $as_test_x conftest$ac_exeext; then
8141 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8142 else
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8146 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8150 conftest$ac_exeext conftest.$ac_ext
8151 CFLAGS=$ac_wine_try_cflags_saved
8153 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8154 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8155 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8156 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8157 else
8158 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8159 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8160 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8165 cat >conftest.$ac_ext <<_ACEOF
8166 /* confdefs.h. */
8167 _ACEOF
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8173 main ()
8177 return 0;
8179 _ACEOF
8180 rm -f conftest.$ac_objext conftest$ac_exeext
8181 if { (ac_try="$ac_link"
8182 case "(($ac_try" in
8183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8184 *) ac_try_echo=$ac_try;;
8185 esac
8186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8187 (eval "$ac_link") 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } && {
8194 test -z "$ac_c_werror_flag" ||
8195 test ! -s conftest.err
8196 } && test -s conftest$ac_exeext &&
8197 $as_test_x conftest$ac_exeext; then
8198 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8203 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8207 conftest$ac_exeext conftest.$ac_ext
8208 CFLAGS=$ac_wine_try_cflags_saved
8210 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8211 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8212 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8213 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8219 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8220 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8221 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8222 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 else
8224 ac_wine_try_cflags_saved=$CFLAGS
8225 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8226 cat >conftest.$ac_ext <<_ACEOF
8227 /* confdefs.h. */
8228 _ACEOF
8229 cat confdefs.h >>conftest.$ac_ext
8230 cat >>conftest.$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8234 main ()
8238 return 0;
8240 _ACEOF
8241 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (ac_try="$ac_link"
8243 case "(($ac_try" in
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8246 esac
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_link") 2>conftest.er1
8249 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest$ac_exeext &&
8258 $as_test_x conftest$ac_exeext; then
8259 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8260 else
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8264 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8272 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8273 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8274 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8278 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8279 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8280 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8285 cat >conftest.$ac_ext <<_ACEOF
8286 /* confdefs.h. */
8287 _ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8293 main ()
8297 return 0;
8299 _ACEOF
8300 rm -f conftest.$ac_objext conftest$ac_exeext
8301 if { (ac_try="$ac_link"
8302 case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_link") 2>conftest.er1
8308 ac_status=$?
8309 grep -v '^ *+' conftest.er1 >conftest.err
8310 rm -f conftest.er1
8311 cat conftest.err >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); } && {
8314 test -z "$ac_c_werror_flag" ||
8315 test ! -s conftest.err
8316 } && test -s conftest$ac_exeext &&
8317 $as_test_x conftest$ac_exeext; then
8318 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8319 else
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8327 conftest$ac_exeext conftest.$ac_ext
8328 CFLAGS=$ac_wine_try_cflags_saved
8330 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8331 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8332 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8333 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8337 echo '{ global: *; };' >conftest.map
8338 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8339 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8340 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8345 cat >conftest.$ac_ext <<_ACEOF
8346 /* confdefs.h. */
8347 _ACEOF
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8353 main ()
8357 return 0;
8359 _ACEOF
8360 rm -f conftest.$ac_objext conftest$ac_exeext
8361 if { (ac_try="$ac_link"
8362 case "(($ac_try" in
8363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8364 *) ac_try_echo=$ac_try;;
8365 esac
8366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8367 (eval "$ac_link") 2>conftest.er1
8368 ac_status=$?
8369 grep -v '^ *+' conftest.er1 >conftest.err
8370 rm -f conftest.er1
8371 cat conftest.err >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); } && {
8374 test -z "$ac_c_werror_flag" ||
8375 test ! -s conftest.err
8376 } && test -s conftest$ac_exeext &&
8377 $as_test_x conftest$ac_exeext; then
8378 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8379 else
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.$ac_ext >&5
8383 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8391 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8392 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8393 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8396 rm -f conftest.map
8398 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8399 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8400 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8405 cat >conftest.$ac_ext <<_ACEOF
8406 /* confdefs.h. */
8407 _ACEOF
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8413 main ()
8417 return 0;
8419 _ACEOF
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (ac_try="$ac_link"
8422 case "(($ac_try" in
8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8424 *) ac_try_echo=$ac_try;;
8425 esac
8426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8427 (eval "$ac_link") 2>conftest.er1
8428 ac_status=$?
8429 grep -v '^ *+' conftest.er1 >conftest.err
8430 rm -f conftest.er1
8431 cat conftest.err >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } && {
8434 test -z "$ac_c_werror_flag" ||
8435 test ! -s conftest.err
8436 } && test -s conftest$ac_exeext &&
8437 $as_test_x conftest$ac_exeext; then
8438 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8439 else
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8447 conftest$ac_exeext conftest.$ac_ext
8448 CFLAGS=$ac_wine_try_cflags_saved
8450 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8451 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8452 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8453 LDEXECFLAGS="-Wl,--export-dynamic"
8458 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8459 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8460 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8466 cat >conftest.$ac_ext <<_ACEOF
8467 /* confdefs.h. */
8468 _ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8474 main ()
8478 return 0;
8480 _ACEOF
8481 rm -f conftest.$ac_objext conftest$ac_exeext
8482 if { (ac_try="$ac_link"
8483 case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8486 esac
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_link") 2>conftest.er1
8489 ac_status=$?
8490 grep -v '^ *+' conftest.er1 >conftest.err
8491 rm -f conftest.er1
8492 cat conftest.err >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } && {
8495 test -z "$ac_c_werror_flag" ||
8496 test ! -s conftest.err
8497 } && test -s conftest$ac_exeext &&
8498 $as_test_x conftest$ac_exeext; then
8499 eval "$as_ac_var=yes"
8500 else
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.$ac_ext >&5
8504 eval "$as_ac_var=no"
8507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8508 conftest$ac_exeext conftest.$ac_ext
8509 CFLAGS=$ac_wine_try_cflags_saved
8511 ac_res=`eval echo '${'$as_ac_var'}'`
8512 { echo "$as_me:$LINENO: result: $ac_res" >&5
8513 echo "${ECHO_T}$ac_res" >&6; }
8514 if test `eval echo '${'$as_ac_var'}'` = yes; then
8515 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8516 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8517 else
8518 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8519 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8520 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8526 cat >conftest.$ac_ext <<_ACEOF
8527 /* confdefs.h. */
8528 _ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8534 main ()
8538 return 0;
8540 _ACEOF
8541 rm -f conftest.$ac_objext conftest$ac_exeext
8542 if { (ac_try="$ac_link"
8543 case "(($ac_try" in
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8546 esac
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_link") 2>conftest.er1
8549 ac_status=$?
8550 grep -v '^ *+' conftest.er1 >conftest.err
8551 rm -f conftest.er1
8552 cat conftest.err >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } && {
8555 test -z "$ac_c_werror_flag" ||
8556 test ! -s conftest.err
8557 } && test -s conftest$ac_exeext &&
8558 $as_test_x conftest$ac_exeext; then
8559 eval "$as_ac_var=yes"
8560 else
8561 echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8564 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 ac_res=`eval echo '${'$as_ac_var'}'`
8572 { echo "$as_me:$LINENO: result: $ac_res" >&5
8573 echo "${ECHO_T}$ac_res" >&6; }
8574 if test `eval echo '${'$as_ac_var'}'` = yes; then
8575 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8576 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8582 case $host_cpu in
8583 *i[3456789]86* | x86_64)
8584 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8585 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8586 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8591 cat >conftest.$ac_ext <<_ACEOF
8592 /* confdefs.h. */
8593 _ACEOF
8594 cat confdefs.h >>conftest.$ac_ext
8595 cat >>conftest.$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8599 main ()
8603 return 0;
8605 _ACEOF
8606 rm -f conftest.$ac_objext conftest$ac_exeext
8607 if { (ac_try="$ac_link"
8608 case "(($ac_try" in
8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8611 esac
8612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 (eval "$ac_link") 2>conftest.er1
8614 ac_status=$?
8615 grep -v '^ *+' conftest.er1 >conftest.err
8616 rm -f conftest.er1
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && {
8620 test -z "$ac_c_werror_flag" ||
8621 test ! -s conftest.err
8622 } && test -s conftest$ac_exeext &&
8623 $as_test_x conftest$ac_exeext; then
8624 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8625 else
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8637 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8638 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8639 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8643 esac
8645 else
8646 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8647 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8648 if test "${ac_cv_c_dll_unixware+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8653 cat >conftest.$ac_ext <<_ACEOF
8654 void myfunc() {}
8655 _ACEOF
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8658 case "(($ac_try" in
8659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8660 *) ac_try_echo=$ac_try;;
8661 esac
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest$ac_exeext &&
8673 $as_test_x conftest$ac_exeext; then
8674 ac_cv_c_dll_unixware="yes"
8675 else
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8679 ac_cv_c_dll_unixware="no"
8682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8687 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8688 if test "$ac_cv_c_dll_unixware" = "yes"
8689 then
8690 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8691 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8693 else
8694 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8695 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8696 if test "${ac_cv_c_dll_hpux+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -shared"
8701 cat >conftest.$ac_ext <<_ACEOF
8702 void myfunc() {}
8703 _ACEOF
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (ac_try="$ac_link"
8706 case "(($ac_try" in
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8709 esac
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_link") 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest$ac_exeext &&
8721 $as_test_x conftest$ac_exeext; then
8722 ac_cv_c_dll_hpux="yes"
8723 else
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8727 ac_cv_c_dll_hpux="no"
8730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8735 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8736 if test "$ac_cv_c_dll_hpux" = "yes"
8737 then
8738 LIBEXT="sl"
8739 DLLEXT=".sl"
8740 LDDLLFLAGS="-shared -fPIC"
8741 LDSHARED="\$(CC) -shared"
8746 CROSSTEST=""
8748 if test "$cross_compiling" = "no"
8749 then
8750 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8752 # Extract the first word of "$ac_prog", so it can be a program name with args.
8753 set dummy $ac_prog; ac_word=$2
8754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8756 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 else
8759 if test -n "$CROSSCC"; then
8760 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8761 else
8762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8763 for as_dir in $PATH
8765 IFS=$as_save_IFS
8766 test -z "$as_dir" && as_dir=.
8767 for ac_exec_ext in '' $ac_executable_extensions; do
8768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8769 ac_cv_prog_CROSSCC="$ac_prog"
8770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 break 2
8773 done
8774 done
8775 IFS=$as_save_IFS
8779 CROSSCC=$ac_cv_prog_CROSSCC
8780 if test -n "$CROSSCC"; then
8781 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8782 echo "${ECHO_T}$CROSSCC" >&6; }
8783 else
8784 { echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6; }
8789 test -n "$CROSSCC" && break
8790 done
8791 test -n "$CROSSCC" || CROSSCC="false"
8793 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8795 # Extract the first word of "$ac_prog", so it can be a program name with args.
8796 set dummy $ac_prog; ac_word=$2
8797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8799 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 else
8802 if test -n "$DLLTOOL"; then
8803 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8804 else
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8806 for as_dir in $PATH
8808 IFS=$as_save_IFS
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_DLLTOOL="$ac_prog"
8813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 break 2
8816 done
8817 done
8818 IFS=$as_save_IFS
8822 DLLTOOL=$ac_cv_prog_DLLTOOL
8823 if test -n "$DLLTOOL"; then
8824 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8825 echo "${ECHO_T}$DLLTOOL" >&6; }
8826 else
8827 { echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6; }
8832 test -n "$DLLTOOL" && break
8833 done
8834 test -n "$DLLTOOL" || DLLTOOL="false"
8836 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8838 # Extract the first word of "$ac_prog", so it can be a program name with args.
8839 set dummy $ac_prog; ac_word=$2
8840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8842 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 else
8845 if test -n "$CROSSWINDRES"; then
8846 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8847 else
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 for as_dir in $PATH
8851 IFS=$as_save_IFS
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8855 ac_cv_prog_CROSSWINDRES="$ac_prog"
8856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8857 break 2
8859 done
8860 done
8861 IFS=$as_save_IFS
8865 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8866 if test -n "$CROSSWINDRES"; then
8867 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8868 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8869 else
8870 { echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6; }
8875 test -n "$CROSSWINDRES" && break
8876 done
8877 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8879 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8881 # Extract the first word of "$ac_prog", so it can be a program name with args.
8882 set dummy $ac_prog; ac_word=$2
8883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8885 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 else
8888 if test -n "$MINGWAR"; then
8889 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8890 else
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 for as_dir in $PATH
8894 IFS=$as_save_IFS
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8898 ac_cv_prog_MINGWAR="$ac_prog"
8899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 break 2
8902 done
8903 done
8904 IFS=$as_save_IFS
8908 MINGWAR=$ac_cv_prog_MINGWAR
8909 if test -n "$MINGWAR"; then
8910 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8911 echo "${ECHO_T}$MINGWAR" >&6; }
8912 else
8913 { echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6; }
8918 test -n "$MINGWAR" && break
8919 done
8920 test -n "$MINGWAR" || MINGWAR="false"
8922 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8925 esac
8927 if test "$LIBEXT" = "a"; then
8928 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8929 It is currently not possible to build Wine without shared library
8930 (.so) support to allow transparent switch between .so and .dll files.
8931 If you are using Linux, you will need a newer binutils.
8932 " >&5
8933 echo "$as_me: error: could not find a way to build shared libraries.
8934 It is currently not possible to build Wine without shared library
8935 (.so) support to allow transparent switch between .so and .dll files.
8936 If you are using Linux, you will need a newer binutils.
8937 " >&2;}
8938 { (exit 1); exit 1; }; }
8942 if test "$have_x" = "yes"
8943 then
8944 XLIB="-lXext -lX11"
8945 ac_save_CPPFLAGS="$CPPFLAGS"
8946 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8948 { echo "$as_me:$LINENO: checking for -lX11" >&5
8949 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
8950 if test "${ac_cv_lib_soname_X11+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 else
8953 ac_check_soname_save_LIBS=$LIBS
8954 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8965 #ifdef __cplusplus
8966 extern "C"
8967 #endif
8968 char XCreateWindow ();
8970 main ()
8972 return XCreateWindow ();
8974 return 0;
8976 _ACEOF
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (ac_try="$ac_link"
8979 case "(($ac_try" in
8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981 *) ac_try_echo=$ac_try;;
8982 esac
8983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8984 (eval "$ac_link") 2>conftest.er1
8985 ac_status=$?
8986 grep -v '^ *+' conftest.er1 >conftest.err
8987 rm -f conftest.er1
8988 cat conftest.err >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); } && {
8991 test -z "$ac_c_werror_flag" ||
8992 test ! -s conftest.err
8993 } && test -s conftest$ac_exeext &&
8994 $as_test_x conftest$ac_exeext; then
8995 case "$LIBEXT" in
8996 dll) ;;
8997 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'` ;;
8998 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8999 esac
9000 else
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_soname_save_LIBS
9011 if test "x$ac_cv_lib_soname_X11" = "x"; then
9012 { echo "$as_me:$LINENO: result: not found" >&5
9013 echo "${ECHO_T}not found" >&6; }
9015 else
9016 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9017 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9019 cat >>confdefs.h <<_ACEOF
9020 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9021 _ACEOF
9026 { echo "$as_me:$LINENO: checking for -lXext" >&5
9027 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 else
9031 ac_check_soname_save_LIBS=$LIBS
9032 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h. */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9043 #ifdef __cplusplus
9044 extern "C"
9045 #endif
9046 char XextCreateExtension ();
9048 main ()
9050 return XextCreateExtension ();
9052 return 0;
9054 _ACEOF
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (ac_try="$ac_link"
9057 case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9060 esac
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9063 ac_status=$?
9064 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && {
9069 test -z "$ac_c_werror_flag" ||
9070 test ! -s conftest.err
9071 } && test -s conftest$ac_exeext &&
9072 $as_test_x conftest$ac_exeext; then
9073 case "$LIBEXT" in
9074 dll) ;;
9075 dylib) ac_cv_lib_soname_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'` ;;
9076 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9077 esac
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086 conftest$ac_exeext conftest.$ac_ext
9087 LIBS=$ac_check_soname_save_LIBS
9089 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9090 { echo "$as_me:$LINENO: result: not found" >&5
9091 echo "${ECHO_T}not found" >&6; }
9093 else
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9095 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9097 cat >>confdefs.h <<_ACEOF
9098 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9099 _ACEOF
9116 for ac_header in X11/Xlib.h \
9117 X11/XKBlib.h \
9118 X11/Xutil.h \
9119 X11/Xcursor/Xcursor.h \
9120 X11/extensions/shape.h \
9121 X11/extensions/XInput.h \
9122 X11/extensions/XShm.h \
9123 X11/extensions/Xinerama.h \
9124 X11/extensions/Xrandr.h \
9125 X11/extensions/Xrender.h \
9126 X11/extensions/xf86vmode.h
9128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9129 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 else
9134 cat >conftest.$ac_ext <<_ACEOF
9135 /* confdefs.h. */
9136 _ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9140 #ifdef HAVE_X11_XLIB_H
9141 # include <X11/Xlib.h>
9142 #endif
9143 #ifdef HAVE_X11_XUTIL_H
9144 # include <X11/Xutil.h>
9145 #endif
9147 #include <$ac_header>
9148 _ACEOF
9149 rm -f conftest.$ac_objext
9150 if { (ac_try="$ac_compile"
9151 case "(($ac_try" in
9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153 *) ac_try_echo=$ac_try;;
9154 esac
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_compile") 2>conftest.er1
9157 ac_status=$?
9158 grep -v '^ *+' conftest.er1 >conftest.err
9159 rm -f conftest.er1
9160 cat conftest.err >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } && {
9163 test -z "$ac_c_werror_flag" ||
9164 test ! -s conftest.err
9165 } && test -s conftest.$ac_objext; then
9166 eval "$as_ac_Header=yes"
9167 else
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 eval "$as_ac_Header=no"
9174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9176 ac_res=`eval echo '${'$as_ac_Header'}'`
9177 { echo "$as_me:$LINENO: result: $ac_res" >&5
9178 echo "${ECHO_T}$ac_res" >&6; }
9179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9182 _ACEOF
9186 done
9189 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9190 then
9191 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9192 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9193 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 else
9196 ac_check_lib_save_LIBS=$LIBS
9197 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9198 cat >conftest.$ac_ext <<_ACEOF
9199 /* confdefs.h. */
9200 _ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9208 #ifdef __cplusplus
9209 extern "C"
9210 #endif
9211 char XkbQueryExtension ();
9213 main ()
9215 return XkbQueryExtension ();
9217 return 0;
9219 _ACEOF
9220 rm -f conftest.$ac_objext conftest$ac_exeext
9221 if { (ac_try="$ac_link"
9222 case "(($ac_try" in
9223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9224 *) ac_try_echo=$ac_try;;
9225 esac
9226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9227 (eval "$ac_link") 2>conftest.er1
9228 ac_status=$?
9229 grep -v '^ *+' conftest.er1 >conftest.err
9230 rm -f conftest.er1
9231 cat conftest.err >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } && {
9234 test -z "$ac_c_werror_flag" ||
9235 test ! -s conftest.err
9236 } && test -s conftest$ac_exeext &&
9237 $as_test_x conftest$ac_exeext; then
9238 ac_cv_lib_X11_XkbQueryExtension=yes
9239 else
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_cv_lib_X11_XkbQueryExtension=no
9246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS=$ac_check_lib_save_LIBS
9250 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9251 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9252 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9254 cat >>confdefs.h <<\_ACEOF
9255 #define HAVE_XKB 1
9256 _ACEOF
9262 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9263 then
9264 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9265 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9266 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 ac_check_soname_save_LIBS=$LIBS
9270 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9271 cat >conftest.$ac_ext <<_ACEOF
9272 /* confdefs.h. */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9281 #ifdef __cplusplus
9282 extern "C"
9283 #endif
9284 char XcursorImageLoadCursor ();
9286 main ()
9288 return XcursorImageLoadCursor ();
9290 return 0;
9292 _ACEOF
9293 rm -f conftest.$ac_objext conftest$ac_exeext
9294 if { (ac_try="$ac_link"
9295 case "(($ac_try" in
9296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9297 *) ac_try_echo=$ac_try;;
9298 esac
9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9300 (eval "$ac_link") 2>conftest.er1
9301 ac_status=$?
9302 grep -v '^ *+' conftest.er1 >conftest.err
9303 rm -f conftest.er1
9304 cat conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } && {
9307 test -z "$ac_c_werror_flag" ||
9308 test ! -s conftest.err
9309 } && test -s conftest$ac_exeext &&
9310 $as_test_x conftest$ac_exeext; then
9311 case "$LIBEXT" in
9312 dll) ;;
9313 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'` ;;
9314 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9315 esac
9316 else
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_soname_save_LIBS
9327 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9328 { echo "$as_me:$LINENO: result: not found" >&5
9329 echo "${ECHO_T}not found" >&6; }
9331 else
9332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9333 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9335 cat >>confdefs.h <<_ACEOF
9336 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9337 _ACEOF
9344 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9345 then
9346 { echo "$as_me:$LINENO: checking for -lXi" >&5
9347 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9348 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 else
9351 ac_check_soname_save_LIBS=$LIBS
9352 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any GCC internal prototype to avoid an error.
9361 Use char because int might match the return type of a GCC
9362 builtin and then its argument prototype would still apply. */
9363 #ifdef __cplusplus
9364 extern "C"
9365 #endif
9366 char XOpenDevice ();
9368 main ()
9370 return XOpenDevice ();
9372 return 0;
9374 _ACEOF
9375 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (ac_try="$ac_link"
9377 case "(($ac_try" in
9378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379 *) ac_try_echo=$ac_try;;
9380 esac
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_link") 2>conftest.er1
9383 ac_status=$?
9384 grep -v '^ *+' conftest.er1 >conftest.err
9385 rm -f conftest.er1
9386 cat conftest.err >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } && {
9389 test -z "$ac_c_werror_flag" ||
9390 test ! -s conftest.err
9391 } && test -s conftest$ac_exeext &&
9392 $as_test_x conftest$ac_exeext; then
9393 case "$LIBEXT" in
9394 dll) ;;
9395 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'` ;;
9396 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9397 esac
9398 else
9399 echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_soname_save_LIBS
9409 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9410 { echo "$as_me:$LINENO: result: not found" >&5
9411 echo "${ECHO_T}not found" >&6; }
9413 else
9414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9415 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9417 cat >>confdefs.h <<_ACEOF
9418 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9419 _ACEOF
9426 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9427 then
9428 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9429 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9430 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else
9433 ac_check_lib_save_LIBS=$LIBS
9434 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char XShmQueryExtension ();
9450 main ()
9452 return XShmQueryExtension ();
9454 return 0;
9456 _ACEOF
9457 rm -f conftest.$ac_objext conftest$ac_exeext
9458 if { (ac_try="$ac_link"
9459 case "(($ac_try" in
9460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9461 *) ac_try_echo=$ac_try;;
9462 esac
9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464 (eval "$ac_link") 2>conftest.er1
9465 ac_status=$?
9466 grep -v '^ *+' conftest.er1 >conftest.err
9467 rm -f conftest.er1
9468 cat conftest.err >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } && {
9471 test -z "$ac_c_werror_flag" ||
9472 test ! -s conftest.err
9473 } && test -s conftest$ac_exeext &&
9474 $as_test_x conftest$ac_exeext; then
9475 ac_cv_lib_Xext_XShmQueryExtension=yes
9476 else
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9480 ac_cv_lib_Xext_XShmQueryExtension=no
9483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LIBS=$ac_check_lib_save_LIBS
9487 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9488 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9489 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9491 cat >>confdefs.h <<\_ACEOF
9492 #define HAVE_LIBXXSHM 1
9493 _ACEOF
9498 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9499 wine_notices="$wine_notices|XShm development files not found.
9500 Wine will be built without XShm support. (winex11.drv)"
9504 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9505 then
9506 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9507 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9508 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 else
9511 ac_check_lib_save_LIBS=$LIBS
9512 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9513 cat >conftest.$ac_ext <<_ACEOF
9514 /* confdefs.h. */
9515 _ACEOF
9516 cat confdefs.h >>conftest.$ac_ext
9517 cat >>conftest.$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char XShapeQueryExtension ();
9528 main ()
9530 return XShapeQueryExtension ();
9532 return 0;
9534 _ACEOF
9535 rm -f conftest.$ac_objext conftest$ac_exeext
9536 if { (ac_try="$ac_link"
9537 case "(($ac_try" in
9538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9539 *) ac_try_echo=$ac_try;;
9540 esac
9541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9542 (eval "$ac_link") 2>conftest.er1
9543 ac_status=$?
9544 grep -v '^ *+' conftest.er1 >conftest.err
9545 rm -f conftest.er1
9546 cat conftest.err >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } && {
9549 test -z "$ac_c_werror_flag" ||
9550 test ! -s conftest.err
9551 } && test -s conftest$ac_exeext &&
9552 $as_test_x conftest$ac_exeext; then
9553 ac_cv_lib_Xext_XShapeQueryExtension=yes
9554 else
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9558 ac_cv_lib_Xext_XShapeQueryExtension=no
9561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9566 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9567 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9569 cat >>confdefs.h <<\_ACEOF
9570 #define HAVE_LIBXSHAPE 1
9571 _ACEOF
9576 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9577 wine_notices="$wine_notices|XShape development files not found.
9578 Wine will be built without XShape support. (winex11.drv)"
9582 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9583 then
9584 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9585 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9586 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 else
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9591 cat >conftest.$ac_ext <<_ACEOF
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char XF86VidModeQueryExtension ();
9606 main ()
9608 return XF86VidModeQueryExtension ();
9610 return 0;
9612 _ACEOF
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9615 case "(($ac_try" in
9616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9617 *) ac_try_echo=$ac_try;;
9618 esac
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9621 ac_status=$?
9622 grep -v '^ *+' conftest.er1 >conftest.err
9623 rm -f conftest.er1
9624 cat conftest.err >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } && {
9627 test -z "$ac_c_werror_flag" ||
9628 test ! -s conftest.err
9629 } && test -s conftest$ac_exeext &&
9630 $as_test_x conftest$ac_exeext; then
9631 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9632 else
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.$ac_ext >&5
9636 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9644 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9645 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9647 cat >>confdefs.h <<\_ACEOF
9648 #define HAVE_LIBXXF86VM 1
9649 _ACEOF
9651 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9656 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9657 wine_notices="$wine_notices|Xxf86vm development files not found.
9658 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9662 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"
9663 then
9664 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9665 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9666 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 else
9669 ac_check_soname_save_LIBS=$LIBS
9670 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9671 cat >conftest.$ac_ext <<_ACEOF
9672 /* confdefs.h. */
9673 _ACEOF
9674 cat confdefs.h >>conftest.$ac_ext
9675 cat >>conftest.$ac_ext <<_ACEOF
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9681 #ifdef __cplusplus
9682 extern "C"
9683 #endif
9684 char XRenderQueryExtension ();
9686 main ()
9688 return XRenderQueryExtension ();
9690 return 0;
9692 _ACEOF
9693 rm -f conftest.$ac_objext conftest$ac_exeext
9694 if { (ac_try="$ac_link"
9695 case "(($ac_try" in
9696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9697 *) ac_try_echo=$ac_try;;
9698 esac
9699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9700 (eval "$ac_link") 2>conftest.er1
9701 ac_status=$?
9702 grep -v '^ *+' conftest.er1 >conftest.err
9703 rm -f conftest.er1
9704 cat conftest.err >&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } && {
9707 test -z "$ac_c_werror_flag" ||
9708 test ! -s conftest.err
9709 } && test -s conftest$ac_exeext &&
9710 $as_test_x conftest$ac_exeext; then
9711 case "$LIBEXT" in
9712 dll) ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9715 esac
9716 else
9717 echo "$as_me: failed program was:" >&5
9718 sed 's/^/| /' conftest.$ac_ext >&5
9723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9728 { echo "$as_me:$LINENO: result: not found" >&5
9729 echo "${ECHO_T}not found" >&6; }
9731 else
9732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9733 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9737 _ACEOF
9739 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9740 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else
9744 ac_check_lib_save_LIBS=$LIBS
9745 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9756 #ifdef __cplusplus
9757 extern "C"
9758 #endif
9759 char XRenderSetPictureTransform ();
9761 main ()
9763 return XRenderSetPictureTransform ();
9765 return 0;
9767 _ACEOF
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (ac_try="$ac_link"
9770 case "(($ac_try" in
9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9773 esac
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest$ac_exeext &&
9785 $as_test_x conftest$ac_exeext; then
9786 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9787 else
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_lib_save_LIBS
9798 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9799 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9800 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9802 cat >>confdefs.h <<\_ACEOF
9803 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9804 _ACEOF
9812 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9813 wine_notices="$wine_notices|XRender development files not found.
9814 Wine will be built without XRender support. (winex11.drv)"
9818 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9819 then
9820 cat >conftest.$ac_ext <<_ACEOF
9821 /* confdefs.h. */
9822 _ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 #include <X11/Xlib.h>
9827 #include <X11/extensions/Xrandr.h>
9829 main ()
9831 static typeof(XRRSetScreenConfigAndRate) * func;
9833 return 0;
9835 _ACEOF
9836 rm -f conftest.$ac_objext
9837 if { (ac_try="$ac_compile"
9838 case "(($ac_try" in
9839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9840 *) ac_try_echo=$ac_try;;
9841 esac
9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_compile") 2>conftest.er1
9844 ac_status=$?
9845 grep -v '^ *+' conftest.er1 >conftest.err
9846 rm -f conftest.er1
9847 cat conftest.err >&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } && {
9850 test -z "$ac_c_werror_flag" ||
9851 test ! -s conftest.err
9852 } && test -s conftest.$ac_objext; then
9853 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9854 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9855 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 else
9858 ac_check_soname_save_LIBS=$LIBS
9859 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9860 cat >conftest.$ac_ext <<_ACEOF
9861 /* confdefs.h. */
9862 _ACEOF
9863 cat confdefs.h >>conftest.$ac_ext
9864 cat >>conftest.$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XRRQueryExtension ();
9875 main ()
9877 return XRRQueryExtension ();
9879 return 0;
9881 _ACEOF
9882 rm -f conftest.$ac_objext conftest$ac_exeext
9883 if { (ac_try="$ac_link"
9884 case "(($ac_try" in
9885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9886 *) ac_try_echo=$ac_try;;
9887 esac
9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9889 (eval "$ac_link") 2>conftest.er1
9890 ac_status=$?
9891 grep -v '^ *+' conftest.er1 >conftest.err
9892 rm -f conftest.er1
9893 cat conftest.err >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } && {
9896 test -z "$ac_c_werror_flag" ||
9897 test ! -s conftest.err
9898 } && test -s conftest$ac_exeext &&
9899 $as_test_x conftest$ac_exeext; then
9900 case "$LIBEXT" in
9901 dll) ;;
9902 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'` ;;
9903 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9904 esac
9905 else
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.$ac_ext >&5
9912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_soname_save_LIBS
9916 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9917 { echo "$as_me:$LINENO: result: not found" >&5
9918 echo "${ECHO_T}not found" >&6; }
9920 else
9921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
9922 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
9924 cat >>confdefs.h <<_ACEOF
9925 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9926 _ACEOF
9931 else
9932 echo "$as_me: failed program was:" >&5
9933 sed 's/^/| /' conftest.$ac_ext >&5
9938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9940 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9941 wine_notices="$wine_notices|XRandr development files not found.
9942 Wine will be built without XRandr support. (winex11.drv)"
9946 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9947 then
9948 cat >conftest.$ac_ext <<_ACEOF
9949 /* confdefs.h. */
9950 _ACEOF
9951 cat confdefs.h >>conftest.$ac_ext
9952 cat >>conftest.$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 #include <X11/Xlib.h>
9955 #include <X11/extensions/Xinerama.h>
9957 main ()
9959 static typeof(XineramaQueryScreens) * func;
9961 return 0;
9963 _ACEOF
9964 rm -f conftest.$ac_objext
9965 if { (ac_try="$ac_compile"
9966 case "(($ac_try" in
9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9969 esac
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_compile") 2>conftest.er1
9972 ac_status=$?
9973 grep -v '^ *+' conftest.er1 >conftest.err
9974 rm -f conftest.er1
9975 cat conftest.err >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } && {
9978 test -z "$ac_c_werror_flag" ||
9979 test ! -s conftest.err
9980 } && test -s conftest.$ac_objext; then
9981 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
9982 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
9983 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 else
9986 ac_check_soname_save_LIBS=$LIBS
9987 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9988 cat >conftest.$ac_ext <<_ACEOF
9989 /* confdefs.h. */
9990 _ACEOF
9991 cat confdefs.h >>conftest.$ac_ext
9992 cat >>conftest.$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
9998 #ifdef __cplusplus
9999 extern "C"
10000 #endif
10001 char XineramaQueryScreens ();
10003 main ()
10005 return XineramaQueryScreens ();
10007 return 0;
10009 _ACEOF
10010 rm -f conftest.$ac_objext conftest$ac_exeext
10011 if { (ac_try="$ac_link"
10012 case "(($ac_try" in
10013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;;
10015 esac
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_link") 2>conftest.er1
10018 ac_status=$?
10019 grep -v '^ *+' conftest.er1 >conftest.err
10020 rm -f conftest.er1
10021 cat conftest.err >&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); } && {
10024 test -z "$ac_c_werror_flag" ||
10025 test ! -s conftest.err
10026 } && test -s conftest$ac_exeext &&
10027 $as_test_x conftest$ac_exeext; then
10028 case "$LIBEXT" in
10029 dll) ;;
10030 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'` ;;
10031 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10032 esac
10033 else
10034 echo "$as_me: failed program was:" >&5
10035 sed 's/^/| /' conftest.$ac_ext >&5
10040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_soname_save_LIBS
10044 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10045 { echo "$as_me:$LINENO: result: not found" >&5
10046 echo "${ECHO_T}not found" >&6; }
10048 else
10049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10050 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10052 cat >>confdefs.h <<_ACEOF
10053 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10054 _ACEOF
10059 else
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10068 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10069 wine_notices="$wine_notices|Xinerama development files not found.
10070 Wine will be built without Xinerama support. (winex11.drv)"
10075 if test "x$with_opengl" != "xno"
10076 then
10081 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10084 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 cat >conftest.$ac_ext <<_ACEOF
10090 /* confdefs.h. */
10091 _ACEOF
10092 cat confdefs.h >>conftest.$ac_ext
10093 cat >>conftest.$ac_ext <<_ACEOF
10094 /* end confdefs.h. */
10095 #ifdef HAVE_GL_GLX_H
10096 # include <GL/glx.h>
10097 #endif
10099 #include <$ac_header>
10100 _ACEOF
10101 rm -f conftest.$ac_objext
10102 if { (ac_try="$ac_compile"
10103 case "(($ac_try" in
10104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10105 *) ac_try_echo=$ac_try;;
10106 esac
10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10108 (eval "$ac_compile") 2>conftest.er1
10109 ac_status=$?
10110 grep -v '^ *+' conftest.er1 >conftest.err
10111 rm -f conftest.er1
10112 cat conftest.err >&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } && {
10115 test -z "$ac_c_werror_flag" ||
10116 test ! -s conftest.err
10117 } && test -s conftest.$ac_objext; then
10118 eval "$as_ac_Header=yes"
10119 else
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.$ac_ext >&5
10123 eval "$as_ac_Header=no"
10126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10128 ac_res=`eval echo '${'$as_ac_Header'}'`
10129 { echo "$as_me:$LINENO: result: $ac_res" >&5
10130 echo "${ECHO_T}$ac_res" >&6; }
10131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10132 cat >>confdefs.h <<_ACEOF
10133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10134 _ACEOF
10138 done
10140 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10141 then
10142 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10143 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10144 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 else
10147 cat >conftest.$ac_ext <<_ACEOF
10148 /* confdefs.h. */
10149 _ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10153 #include <GL/gl.h>
10155 main ()
10157 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10159 return 0;
10161 _ACEOF
10162 rm -f conftest.$ac_objext
10163 if { (ac_try="$ac_compile"
10164 case "(($ac_try" in
10165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166 *) ac_try_echo=$ac_try;;
10167 esac
10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169 (eval "$ac_compile") 2>conftest.er1
10170 ac_status=$?
10171 grep -v '^ *+' conftest.er1 >conftest.err
10172 rm -f conftest.er1
10173 cat conftest.err >&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && {
10176 test -z "$ac_c_werror_flag" ||
10177 test ! -s conftest.err
10178 } && test -s conftest.$ac_objext; then
10179 wine_cv_opengl_header_version_OK="yes"
10180 else
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.$ac_ext >&5
10184 wine_cv_opengl_header_version_OK="no"
10187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10189 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10190 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10192 if test "$wine_cv_opengl_header_version_OK" = "yes"
10193 then
10194 { echo "$as_me:$LINENO: checking for -lGL" >&5
10195 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10196 if test "${ac_cv_lib_soname_GL+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10198 else
10199 ac_check_soname_save_LIBS=$LIBS
10200 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10201 cat >conftest.$ac_ext <<_ACEOF
10202 /* confdefs.h. */
10203 _ACEOF
10204 cat confdefs.h >>conftest.$ac_ext
10205 cat >>conftest.$ac_ext <<_ACEOF
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10211 #ifdef __cplusplus
10212 extern "C"
10213 #endif
10214 char glXCreateContext ();
10216 main ()
10218 return glXCreateContext ();
10220 return 0;
10222 _ACEOF
10223 rm -f conftest.$ac_objext conftest$ac_exeext
10224 if { (ac_try="$ac_link"
10225 case "(($ac_try" in
10226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10228 esac
10229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10230 (eval "$ac_link") 2>conftest.er1
10231 ac_status=$?
10232 grep -v '^ *+' conftest.er1 >conftest.err
10233 rm -f conftest.er1
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } && {
10237 test -z "$ac_c_werror_flag" ||
10238 test ! -s conftest.err
10239 } && test -s conftest$ac_exeext &&
10240 $as_test_x conftest$ac_exeext; then
10241 case "$LIBEXT" in
10242 dll) ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10245 esac
10246 else
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LIBS=$ac_check_soname_save_LIBS
10257 if test "x$ac_cv_lib_soname_GL" = "x"; then
10258 { echo "$as_me:$LINENO: result: not found" >&5
10259 echo "${ECHO_T}not found" >&6; }
10260 if test -f /usr/X11R6/lib/libGL.a
10261 then
10262 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10263 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10264 else
10265 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10266 Wine will be build without OpenGL or Direct3D support."
10268 else
10269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10270 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10272 cat >>confdefs.h <<_ACEOF
10273 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10274 _ACEOF
10276 OPENGL_LIBS="-lGL"
10277 OPENGLFILES='$(OPENGLFILES)'
10279 cat >>confdefs.h <<\_ACEOF
10280 #define HAVE_OPENGL 1
10281 _ACEOF
10286 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10287 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10288 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 else
10291 ac_check_lib_save_LIBS=$LIBS
10292 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10293 cat >conftest.$ac_ext <<_ACEOF
10294 /* confdefs.h. */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char gluLookAt ();
10308 main ()
10310 return gluLookAt ();
10312 return 0;
10314 _ACEOF
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (ac_try="$ac_link"
10317 case "(($ac_try" in
10318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;;
10320 esac
10321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_link") 2>conftest.er1
10323 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && {
10329 test -z "$ac_c_werror_flag" ||
10330 test ! -s conftest.err
10331 } && test -s conftest$ac_exeext &&
10332 $as_test_x conftest$ac_exeext; then
10333 ac_cv_lib_GLU_gluLookAt=yes
10334 else
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.$ac_ext >&5
10338 ac_cv_lib_GLU_gluLookAt=no
10341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_lib_save_LIBS
10345 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10346 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10347 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10348 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10349 GLU32FILES='$(GLU32FILES)'
10353 else
10354 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10355 Wine will be build without OpenGL or Direct3D support."
10357 else
10358 wine_warnings="$wine_warnings|OpenGL development headers not found.
10359 Wine will be build without OpenGL or Direct3D support."
10363 NASLIBS=""
10366 for ac_header in audio/audiolib.h
10368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 ac_res=`eval echo '${'$as_ac_Header'}'`
10376 { echo "$as_me:$LINENO: result: $ac_res" >&5
10377 echo "${ECHO_T}$ac_res" >&6; }
10378 else
10379 # Is the header compilable?
10380 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10382 cat >conftest.$ac_ext <<_ACEOF
10383 /* confdefs.h. */
10384 _ACEOF
10385 cat confdefs.h >>conftest.$ac_ext
10386 cat >>conftest.$ac_ext <<_ACEOF
10387 /* end confdefs.h. */
10388 $ac_includes_default
10389 #include <$ac_header>
10390 _ACEOF
10391 rm -f conftest.$ac_objext
10392 if { (ac_try="$ac_compile"
10393 case "(($ac_try" in
10394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10395 *) ac_try_echo=$ac_try;;
10396 esac
10397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10398 (eval "$ac_compile") 2>conftest.er1
10399 ac_status=$?
10400 grep -v '^ *+' conftest.er1 >conftest.err
10401 rm -f conftest.er1
10402 cat conftest.err >&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } && {
10405 test -z "$ac_c_werror_flag" ||
10406 test ! -s conftest.err
10407 } && test -s conftest.$ac_objext; then
10408 ac_header_compiler=yes
10409 else
10410 echo "$as_me: failed program was:" >&5
10411 sed 's/^/| /' conftest.$ac_ext >&5
10413 ac_header_compiler=no
10416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10417 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10418 echo "${ECHO_T}$ac_header_compiler" >&6; }
10420 # Is the header present?
10421 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
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. */
10429 #include <$ac_header>
10430 _ACEOF
10431 if { (ac_try="$ac_cpp conftest.$ac_ext"
10432 case "(($ac_try" in
10433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10434 *) ac_try_echo=$ac_try;;
10435 esac
10436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10438 ac_status=$?
10439 grep -v '^ *+' conftest.er1 >conftest.err
10440 rm -f conftest.er1
10441 cat conftest.err >&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); } >/dev/null && {
10444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10445 test ! -s conftest.err
10446 }; then
10447 ac_header_preproc=yes
10448 else
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10452 ac_header_preproc=no
10455 rm -f conftest.err conftest.$ac_ext
10456 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10457 echo "${ECHO_T}$ac_header_preproc" >&6; }
10459 # So? What about this header?
10460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10461 yes:no: )
10462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10466 ac_header_preproc=yes
10468 no:yes:* )
10469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10481 ( cat <<\_ASBOX
10482 ## ------------------------------------ ##
10483 ## Report this to wine-devel@winehq.org ##
10484 ## ------------------------------------ ##
10485 _ASBOX
10486 ) | sed "s/^/$as_me: WARNING: /" >&2
10488 esac
10489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 else
10494 eval "$as_ac_Header=\$ac_header_preproc"
10496 ac_res=`eval echo '${'$as_ac_Header'}'`
10497 { echo "$as_me:$LINENO: result: $ac_res" >&5
10498 echo "${ECHO_T}$ac_res" >&6; }
10501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10502 cat >>confdefs.h <<_ACEOF
10503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10504 _ACEOF
10506 for ac_header in audio/soundlib.h
10508 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 cat >conftest.$ac_ext <<_ACEOF
10515 /* confdefs.h. */
10516 _ACEOF
10517 cat confdefs.h >>conftest.$ac_ext
10518 cat >>conftest.$ac_ext <<_ACEOF
10519 /* end confdefs.h. */
10520 #include <audio/audiolib.h>
10522 #include <$ac_header>
10523 _ACEOF
10524 rm -f conftest.$ac_objext
10525 if { (ac_try="$ac_compile"
10526 case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;;
10529 esac
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_compile") 2>conftest.er1
10532 ac_status=$?
10533 grep -v '^ *+' conftest.er1 >conftest.err
10534 rm -f conftest.er1
10535 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err
10540 } && test -s conftest.$ac_objext; then
10541 eval "$as_ac_Header=yes"
10542 else
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.$ac_ext >&5
10546 eval "$as_ac_Header=no"
10549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10551 ac_res=`eval echo '${'$as_ac_Header'}'`
10552 { echo "$as_me:$LINENO: result: $ac_res" >&5
10553 echo "${ECHO_T}$ac_res" >&6; }
10554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10555 cat >>confdefs.h <<_ACEOF
10556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10557 _ACEOF
10561 done
10563 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10564 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10565 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 else
10568 ac_check_lib_save_LIBS=$LIBS
10569 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 char AuCreateFlow ();
10585 main ()
10587 return AuCreateFlow ();
10589 return 0;
10591 _ACEOF
10592 rm -f conftest.$ac_objext conftest$ac_exeext
10593 if { (ac_try="$ac_link"
10594 case "(($ac_try" in
10595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10596 *) ac_try_echo=$ac_try;;
10597 esac
10598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10599 (eval "$ac_link") 2>conftest.er1
10600 ac_status=$?
10601 grep -v '^ *+' conftest.er1 >conftest.err
10602 rm -f conftest.er1
10603 cat conftest.err >&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } && {
10606 test -z "$ac_c_werror_flag" ||
10607 test ! -s conftest.err
10608 } && test -s conftest$ac_exeext &&
10609 $as_test_x conftest$ac_exeext; then
10610 ac_cv_lib_audio_AuCreateFlow=yes
10611 else
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10615 ac_cv_lib_audio_AuCreateFlow=no
10618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10619 conftest$ac_exeext conftest.$ac_ext
10620 LIBS=$ac_check_lib_save_LIBS
10622 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10623 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10624 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10626 cat >>confdefs.h <<\_ACEOF
10627 #define HAVE_NAS 1
10628 _ACEOF
10630 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10631 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10632 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 else
10635 ac_check_lib_save_LIBS=$LIBS
10636 LIBS="-lXau $X_LIBS $LIBS"
10637 cat >conftest.$ac_ext <<_ACEOF
10638 /* confdefs.h. */
10639 _ACEOF
10640 cat confdefs.h >>conftest.$ac_ext
10641 cat >>conftest.$ac_ext <<_ACEOF
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10647 #ifdef __cplusplus
10648 extern "C"
10649 #endif
10650 char XauGetBestAuthByAddr ();
10652 main ()
10654 return XauGetBestAuthByAddr ();
10656 return 0;
10658 _ACEOF
10659 rm -f conftest.$ac_objext conftest$ac_exeext
10660 if { (ac_try="$ac_link"
10661 case "(($ac_try" in
10662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10663 *) ac_try_echo=$ac_try;;
10664 esac
10665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10666 (eval "$ac_link") 2>conftest.er1
10667 ac_status=$?
10668 grep -v '^ *+' conftest.er1 >conftest.err
10669 rm -f conftest.er1
10670 cat conftest.err >&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); } && {
10673 test -z "$ac_c_werror_flag" ||
10674 test ! -s conftest.err
10675 } && test -s conftest$ac_exeext &&
10676 $as_test_x conftest$ac_exeext; then
10677 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10678 else
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10690 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10691 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10692 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10693 else
10694 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10702 done
10705 CPPFLAGS="$ac_save_CPPFLAGS"
10706 XFILES='$(XFILES)'
10707 else
10708 XLIB=""
10709 X_CFLAGS=""
10710 X_LIBS=""
10711 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10712 without X support, which probably isn't what you want. You will need to install
10713 development packages of Xlib/Xfree86 at the very least."
10717 XML2LIBS=""
10719 XML2INCL=""
10721 XSLTLIBS=""
10723 XSLTINCL=""
10725 ac_save_CPPFLAGS="$CPPFLAGS"
10726 if test "$PKG_CONFIG" != "false"
10727 then
10728 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10729 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10730 else
10731 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10732 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10734 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10736 for ac_header in libxml/parser.h
10738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10740 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 ac_res=`eval echo '${'$as_ac_Header'}'`
10746 { echo "$as_me:$LINENO: result: $ac_res" >&5
10747 echo "${ECHO_T}$ac_res" >&6; }
10748 else
10749 # Is the header compilable?
10750 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10752 cat >conftest.$ac_ext <<_ACEOF
10753 /* confdefs.h. */
10754 _ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 $ac_includes_default
10759 #include <$ac_header>
10760 _ACEOF
10761 rm -f conftest.$ac_objext
10762 if { (ac_try="$ac_compile"
10763 case "(($ac_try" in
10764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10765 *) ac_try_echo=$ac_try;;
10766 esac
10767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10768 (eval "$ac_compile") 2>conftest.er1
10769 ac_status=$?
10770 grep -v '^ *+' conftest.er1 >conftest.err
10771 rm -f conftest.er1
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } && {
10775 test -z "$ac_c_werror_flag" ||
10776 test ! -s conftest.err
10777 } && test -s conftest.$ac_objext; then
10778 ac_header_compiler=yes
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10783 ac_header_compiler=no
10786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10787 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10788 echo "${ECHO_T}$ac_header_compiler" >&6; }
10790 # Is the header present?
10791 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10793 cat >conftest.$ac_ext <<_ACEOF
10794 /* confdefs.h. */
10795 _ACEOF
10796 cat confdefs.h >>conftest.$ac_ext
10797 cat >>conftest.$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 #include <$ac_header>
10800 _ACEOF
10801 if { (ac_try="$ac_cpp conftest.$ac_ext"
10802 case "(($ac_try" in
10803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10804 *) ac_try_echo=$ac_try;;
10805 esac
10806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10807 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10808 ac_status=$?
10809 grep -v '^ *+' conftest.er1 >conftest.err
10810 rm -f conftest.er1
10811 cat conftest.err >&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } >/dev/null && {
10814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10815 test ! -s conftest.err
10816 }; then
10817 ac_header_preproc=yes
10818 else
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.$ac_ext >&5
10822 ac_header_preproc=no
10825 rm -f conftest.err conftest.$ac_ext
10826 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10827 echo "${ECHO_T}$ac_header_preproc" >&6; }
10829 # So? What about this header?
10830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10831 yes:no: )
10832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10836 ac_header_preproc=yes
10838 no:yes:* )
10839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10851 ( cat <<\_ASBOX
10852 ## ------------------------------------ ##
10853 ## Report this to wine-devel@winehq.org ##
10854 ## ------------------------------------ ##
10855 _ASBOX
10856 ) | sed "s/^/$as_me: WARNING: /" >&2
10858 esac
10859 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10863 else
10864 eval "$as_ac_Header=\$ac_header_preproc"
10866 ac_res=`eval echo '${'$as_ac_Header'}'`
10867 { echo "$as_me:$LINENO: result: $ac_res" >&5
10868 echo "${ECHO_T}$ac_res" >&6; }
10871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10872 cat >>confdefs.h <<_ACEOF
10873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10874 _ACEOF
10875 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10876 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10877 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lxml2 $ac_xml_libs $LIBS"
10882 cat >conftest.$ac_ext <<_ACEOF
10883 /* confdefs.h. */
10884 _ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char xmlParseMemory ();
10897 main ()
10899 return xmlParseMemory ();
10901 return 0;
10903 _ACEOF
10904 rm -f conftest.$ac_objext conftest$ac_exeext
10905 if { (ac_try="$ac_link"
10906 case "(($ac_try" in
10907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10908 *) ac_try_echo=$ac_try;;
10909 esac
10910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10911 (eval "$ac_link") 2>conftest.er1
10912 ac_status=$?
10913 grep -v '^ *+' conftest.er1 >conftest.err
10914 rm -f conftest.er1
10915 cat conftest.err >&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } && {
10918 test -z "$ac_c_werror_flag" ||
10919 test ! -s conftest.err
10920 } && test -s conftest$ac_exeext &&
10921 $as_test_x conftest$ac_exeext; then
10922 ac_cv_lib_xml2_xmlParseMemory=yes
10923 else
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.$ac_ext >&5
10927 ac_cv_lib_xml2_xmlParseMemory=no
10930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10935 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10936 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10938 cat >>confdefs.h <<\_ACEOF
10939 #define HAVE_LIBXML2 1
10940 _ACEOF
10942 XML2LIBS="$ac_xml_libs"
10943 XML2INCL="$ac_xml_cflags"
10946 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10947 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10948 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lxml2 $ac_xml_libs $LIBS"
10953 cat >conftest.$ac_ext <<_ACEOF
10954 /* confdefs.h. */
10955 _ACEOF
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10963 #ifdef __cplusplus
10964 extern "C"
10965 #endif
10966 char xmlReadMemory ();
10968 main ()
10970 return xmlReadMemory ();
10972 return 0;
10974 _ACEOF
10975 rm -f conftest.$ac_objext conftest$ac_exeext
10976 if { (ac_try="$ac_link"
10977 case "(($ac_try" in
10978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10979 *) ac_try_echo=$ac_try;;
10980 esac
10981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10982 (eval "$ac_link") 2>conftest.er1
10983 ac_status=$?
10984 grep -v '^ *+' conftest.er1 >conftest.err
10985 rm -f conftest.er1
10986 cat conftest.err >&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } && {
10989 test -z "$ac_c_werror_flag" ||
10990 test ! -s conftest.err
10991 } && test -s conftest$ac_exeext &&
10992 $as_test_x conftest$ac_exeext; then
10993 ac_cv_lib_xml2_xmlReadMemory=yes
10994 else
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10998 ac_cv_lib_xml2_xmlReadMemory=no
11001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11006 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11007 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11009 cat >>confdefs.h <<\_ACEOF
11010 #define HAVE_XMLREADMEMORY 1
11011 _ACEOF
11015 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11016 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11017 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lxml2 $ac_xml_libs $LIBS"
11022 cat >conftest.$ac_ext <<_ACEOF
11023 /* confdefs.h. */
11024 _ACEOF
11025 cat confdefs.h >>conftest.$ac_ext
11026 cat >>conftest.$ac_ext <<_ACEOF
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char xmlNewDocPI ();
11037 main ()
11039 return xmlNewDocPI ();
11041 return 0;
11043 _ACEOF
11044 rm -f conftest.$ac_objext conftest$ac_exeext
11045 if { (ac_try="$ac_link"
11046 case "(($ac_try" in
11047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11048 *) ac_try_echo=$ac_try;;
11049 esac
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_link") 2>conftest.er1
11052 ac_status=$?
11053 grep -v '^ *+' conftest.er1 >conftest.err
11054 rm -f conftest.er1
11055 cat conftest.err >&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } && {
11058 test -z "$ac_c_werror_flag" ||
11059 test ! -s conftest.err
11060 } && test -s conftest$ac_exeext &&
11061 $as_test_x conftest$ac_exeext; then
11062 ac_cv_lib_xml2_xmlNewDocPI=yes
11063 else
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 ac_cv_lib_xml2_xmlNewDocPI=no
11070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_lib_save_LIBS
11074 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11075 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11076 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11078 cat >>confdefs.h <<\_ACEOF
11079 #define HAVE_XMLNEWDOCPI 1
11080 _ACEOF
11087 done
11089 CPPFLAGS="$ac_save_CPPFLAGS"
11090 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11091 wine_notices="$wine_notices|libxml2 development files not found.
11092 Wine will be built without XML support. (msxml.dll)"
11096 if test "$PKG_CONFIG" != "false"
11097 then
11098 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11099 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11100 else
11101 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11102 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11104 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11107 for ac_header in libxslt/pattern.h libxslt/transform.h
11109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 else
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 #ifdef HAVE_LIBXSLT_PATTERN_H
11122 # include <libxslt/pattern.h>
11123 #endif
11125 #include <$ac_header>
11126 _ACEOF
11127 rm -f conftest.$ac_objext
11128 if { (ac_try="$ac_compile"
11129 case "(($ac_try" in
11130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11131 *) ac_try_echo=$ac_try;;
11132 esac
11133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11134 (eval "$ac_compile") 2>conftest.er1
11135 ac_status=$?
11136 grep -v '^ *+' conftest.er1 >conftest.err
11137 rm -f conftest.er1
11138 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } && {
11141 test -z "$ac_c_werror_flag" ||
11142 test ! -s conftest.err
11143 } && test -s conftest.$ac_objext; then
11144 eval "$as_ac_Header=yes"
11145 else
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 eval "$as_ac_Header=no"
11152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11154 ac_res=`eval echo '${'$as_ac_Header'}'`
11155 { echo "$as_me:$LINENO: result: $ac_res" >&5
11156 echo "${ECHO_T}$ac_res" >&6; }
11157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11158 cat >>confdefs.h <<_ACEOF
11159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11160 _ACEOF
11161 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11162 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11163 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lxslt $ac_xslt_libs $LIBS"
11168 cat >conftest.$ac_ext <<_ACEOF
11169 /* confdefs.h. */
11170 _ACEOF
11171 cat confdefs.h >>conftest.$ac_ext
11172 cat >>conftest.$ac_ext <<_ACEOF
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char xsltCompilePattern ();
11183 main ()
11185 return xsltCompilePattern ();
11187 return 0;
11189 _ACEOF
11190 rm -f conftest.$ac_objext conftest$ac_exeext
11191 if { (ac_try="$ac_link"
11192 case "(($ac_try" in
11193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11194 *) ac_try_echo=$ac_try;;
11195 esac
11196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11197 (eval "$ac_link") 2>conftest.er1
11198 ac_status=$?
11199 grep -v '^ *+' conftest.er1 >conftest.err
11200 rm -f conftest.er1
11201 cat conftest.err >&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); } && {
11204 test -z "$ac_c_werror_flag" ||
11205 test ! -s conftest.err
11206 } && test -s conftest$ac_exeext &&
11207 $as_test_x conftest$ac_exeext; then
11208 ac_cv_lib_xslt_xsltCompilePattern=yes
11209 else
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11213 ac_cv_lib_xslt_xsltCompilePattern=no
11216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11217 conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11220 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11221 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11222 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11224 cat >>confdefs.h <<\_ACEOF
11225 #define HAVE_LIBXSLT 1
11226 _ACEOF
11228 XSLTLIBS="$ac_xslt_libs"
11229 XSLTINCL="$ac_xslt_cflags"
11235 done
11237 CPPFLAGS="$ac_save_CPPFLAGS"
11238 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11239 wine_notices="$wine_notices|libxslt development files not found.
11240 Wine will be built without xslt support. (msxml.dll)"
11244 HALINCL=""
11246 if test "$PKG_CONFIG" != "false"
11247 then
11248 ac_save_CPPFLAGS="$CPPFLAGS"
11249 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11250 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11251 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11254 for ac_header in dbus/dbus.h hal/libhal.h
11256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 ac_res=`eval echo '${'$as_ac_Header'}'`
11264 { echo "$as_me:$LINENO: result: $ac_res" >&5
11265 echo "${ECHO_T}$ac_res" >&6; }
11266 else
11267 # Is the header compilable?
11268 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11270 cat >conftest.$ac_ext <<_ACEOF
11271 /* confdefs.h. */
11272 _ACEOF
11273 cat confdefs.h >>conftest.$ac_ext
11274 cat >>conftest.$ac_ext <<_ACEOF
11275 /* end confdefs.h. */
11276 $ac_includes_default
11277 #include <$ac_header>
11278 _ACEOF
11279 rm -f conftest.$ac_objext
11280 if { (ac_try="$ac_compile"
11281 case "(($ac_try" in
11282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11284 esac
11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11286 (eval "$ac_compile") 2>conftest.er1
11287 ac_status=$?
11288 grep -v '^ *+' conftest.er1 >conftest.err
11289 rm -f conftest.er1
11290 cat conftest.err >&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } && {
11293 test -z "$ac_c_werror_flag" ||
11294 test ! -s conftest.err
11295 } && test -s conftest.$ac_objext; then
11296 ac_header_compiler=yes
11297 else
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.$ac_ext >&5
11301 ac_header_compiler=no
11304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11306 echo "${ECHO_T}$ac_header_compiler" >&6; }
11308 # Is the header present?
11309 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h. */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <$ac_header>
11318 _ACEOF
11319 if { (ac_try="$ac_cpp conftest.$ac_ext"
11320 case "(($ac_try" in
11321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11322 *) ac_try_echo=$ac_try;;
11323 esac
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11326 ac_status=$?
11327 grep -v '^ *+' conftest.er1 >conftest.err
11328 rm -f conftest.er1
11329 cat conftest.err >&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } >/dev/null && {
11332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11333 test ! -s conftest.err
11334 }; then
11335 ac_header_preproc=yes
11336 else
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 ac_header_preproc=no
11343 rm -f conftest.err conftest.$ac_ext
11344 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11345 echo "${ECHO_T}$ac_header_preproc" >&6; }
11347 # So? What about this header?
11348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11349 yes:no: )
11350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11354 ac_header_preproc=yes
11356 no:yes:* )
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11369 ( cat <<\_ASBOX
11370 ## ------------------------------------ ##
11371 ## Report this to wine-devel@winehq.org ##
11372 ## ------------------------------------ ##
11373 _ASBOX
11374 ) | sed "s/^/$as_me: WARNING: /" >&2
11376 esac
11377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 else
11382 eval "$as_ac_Header=\$ac_header_preproc"
11384 ac_res=`eval echo '${'$as_ac_Header'}'`
11385 { echo "$as_me:$LINENO: result: $ac_res" >&5
11386 echo "${ECHO_T}$ac_res" >&6; }
11389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11390 cat >>confdefs.h <<_ACEOF
11391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11392 _ACEOF
11396 done
11398 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11399 then
11400 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11401 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11402 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 else
11405 ac_check_lib_save_LIBS=$LIBS
11406 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11407 cat >conftest.$ac_ext <<_ACEOF
11408 /* confdefs.h. */
11409 _ACEOF
11410 cat confdefs.h >>conftest.$ac_ext
11411 cat >>conftest.$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char dbus_connection_close ();
11422 main ()
11424 return dbus_connection_close ();
11426 return 0;
11428 _ACEOF
11429 rm -f conftest.$ac_objext conftest$ac_exeext
11430 if { (ac_try="$ac_link"
11431 case "(($ac_try" in
11432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11433 *) ac_try_echo=$ac_try;;
11434 esac
11435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11436 (eval "$ac_link") 2>conftest.er1
11437 ac_status=$?
11438 grep -v '^ *+' conftest.er1 >conftest.err
11439 rm -f conftest.er1
11440 cat conftest.err >&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } && {
11443 test -z "$ac_c_werror_flag" ||
11444 test ! -s conftest.err
11445 } && test -s conftest$ac_exeext &&
11446 $as_test_x conftest$ac_exeext; then
11447 ac_cv_lib_dbus_1_dbus_connection_close=yes
11448 else
11449 echo "$as_me: failed program was:" >&5
11450 sed 's/^/| /' conftest.$ac_ext >&5
11452 ac_cv_lib_dbus_1_dbus_connection_close=no
11455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11460 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11461 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11462 { echo "$as_me:$LINENO: checking for -lhal" >&5
11463 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11464 if test "${ac_cv_lib_soname_hal+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467 ac_check_soname_save_LIBS=$LIBS
11468 LIBS="-lhal $ac_hal_libs $LIBS"
11469 cat >conftest.$ac_ext <<_ACEOF
11470 /* confdefs.h. */
11471 _ACEOF
11472 cat confdefs.h >>conftest.$ac_ext
11473 cat >>conftest.$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 char libhal_ctx_new ();
11484 main ()
11486 return libhal_ctx_new ();
11488 return 0;
11490 _ACEOF
11491 rm -f conftest.$ac_objext conftest$ac_exeext
11492 if { (ac_try="$ac_link"
11493 case "(($ac_try" in
11494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11495 *) ac_try_echo=$ac_try;;
11496 esac
11497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11498 (eval "$ac_link") 2>conftest.er1
11499 ac_status=$?
11500 grep -v '^ *+' conftest.er1 >conftest.err
11501 rm -f conftest.er1
11502 cat conftest.err >&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } && {
11505 test -z "$ac_c_werror_flag" ||
11506 test ! -s conftest.err
11507 } && test -s conftest$ac_exeext &&
11508 $as_test_x conftest$ac_exeext; then
11509 case "$LIBEXT" in
11510 dll) ;;
11511 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'` ;;
11512 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11513 esac
11514 else
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.$ac_ext >&5
11521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if test "x$ac_cv_lib_soname_hal" = "x"; then
11526 { echo "$as_me:$LINENO: result: not found" >&5
11527 echo "${ECHO_T}not found" >&6; }
11529 else
11530 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11531 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11535 _ACEOF
11537 HALINCL="$ac_hal_cflags"
11543 CPPFLAGS="$ac_save_CPPFLAGS"
11545 if test "x$ac_cv_lib_soname_hal" = "x"; then
11546 wine_notices="$wine_notices|libhal development files not found.
11547 Wine will be built without dynamic device support. (explorer.exe)"
11551 CURSESLIBS=""
11552 if test "$ac_cv_header_ncurses_h" = "yes"
11553 then
11554 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11555 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11556 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 else
11559 ac_check_soname_save_LIBS=$LIBS
11560 LIBS="-lncurses $LIBS"
11561 cat >conftest.$ac_ext <<_ACEOF
11562 /* confdefs.h. */
11563 _ACEOF
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11571 #ifdef __cplusplus
11572 extern "C"
11573 #endif
11574 char waddch ();
11576 main ()
11578 return waddch ();
11580 return 0;
11582 _ACEOF
11583 rm -f conftest.$ac_objext conftest$ac_exeext
11584 if { (ac_try="$ac_link"
11585 case "(($ac_try" in
11586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11587 *) ac_try_echo=$ac_try;;
11588 esac
11589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11590 (eval "$ac_link") 2>conftest.er1
11591 ac_status=$?
11592 grep -v '^ *+' conftest.er1 >conftest.err
11593 rm -f conftest.er1
11594 cat conftest.err >&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); } && {
11597 test -z "$ac_c_werror_flag" ||
11598 test ! -s conftest.err
11599 } && test -s conftest$ac_exeext &&
11600 $as_test_x conftest$ac_exeext; then
11601 case "$LIBEXT" in
11602 dll) ;;
11603 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'` ;;
11604 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11605 esac
11606 else
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_soname_save_LIBS
11617 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11618 { echo "$as_me:$LINENO: result: not found" >&5
11619 echo "${ECHO_T}not found" >&6; }
11621 else
11622 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11623 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11625 cat >>confdefs.h <<_ACEOF
11626 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11627 _ACEOF
11629 CURSESLIBS="-lncurses"
11632 elif test "$ac_cv_header_curses_h" = "yes"
11633 then
11634 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11635 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11636 if test "${ac_cv_lib_soname_curses+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 else
11639 ac_check_soname_save_LIBS=$LIBS
11640 LIBS="-lcurses $LIBS"
11641 cat >conftest.$ac_ext <<_ACEOF
11642 /* confdefs.h. */
11643 _ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char waddch ();
11656 main ()
11658 return waddch ();
11660 return 0;
11662 _ACEOF
11663 rm -f conftest.$ac_objext conftest$ac_exeext
11664 if { (ac_try="$ac_link"
11665 case "(($ac_try" in
11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11668 esac
11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_link") 2>conftest.er1
11671 ac_status=$?
11672 grep -v '^ *+' conftest.er1 >conftest.err
11673 rm -f conftest.er1
11674 cat conftest.err >&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } && {
11677 test -z "$ac_c_werror_flag" ||
11678 test ! -s conftest.err
11679 } && test -s conftest$ac_exeext &&
11680 $as_test_x conftest$ac_exeext; then
11681 case "$LIBEXT" in
11682 dll) ;;
11683 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'` ;;
11684 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11685 esac
11686 else
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11694 conftest$ac_exeext conftest.$ac_ext
11695 LIBS=$ac_check_soname_save_LIBS
11697 if test "x$ac_cv_lib_soname_curses" = "x"; then
11698 { echo "$as_me:$LINENO: result: not found" >&5
11699 echo "${ECHO_T}not found" >&6; }
11701 else
11702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11703 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11705 cat >>confdefs.h <<_ACEOF
11706 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11707 _ACEOF
11709 CURSESLIBS="-lcurses"
11713 ac_save_LIBS="$LIBS"
11714 LIBS="$LIBS $CURSESLIBS"
11716 for ac_func in mousemask
11718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 else
11724 cat >conftest.$ac_ext <<_ACEOF
11725 /* confdefs.h. */
11726 _ACEOF
11727 cat confdefs.h >>conftest.$ac_ext
11728 cat >>conftest.$ac_ext <<_ACEOF
11729 /* end confdefs.h. */
11730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11732 #define $ac_func innocuous_$ac_func
11734 /* System header to define __stub macros and hopefully few prototypes,
11735 which can conflict with char $ac_func (); below.
11736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11737 <limits.h> exists even on freestanding compilers. */
11739 #ifdef __STDC__
11740 # include <limits.h>
11741 #else
11742 # include <assert.h>
11743 #endif
11745 #undef $ac_func
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char $ac_func ();
11754 /* The GNU C library defines this for functions which it implements
11755 to always fail with ENOSYS. Some functions are actually named
11756 something starting with __ and the normal name is an alias. */
11757 #if defined __stub_$ac_func || defined __stub___$ac_func
11758 choke me
11759 #endif
11762 main ()
11764 return $ac_func ();
11766 return 0;
11768 _ACEOF
11769 rm -f conftest.$ac_objext conftest$ac_exeext
11770 if { (ac_try="$ac_link"
11771 case "(($ac_try" in
11772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11773 *) ac_try_echo=$ac_try;;
11774 esac
11775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11776 (eval "$ac_link") 2>conftest.er1
11777 ac_status=$?
11778 grep -v '^ *+' conftest.er1 >conftest.err
11779 rm -f conftest.er1
11780 cat conftest.err >&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } && {
11783 test -z "$ac_c_werror_flag" ||
11784 test ! -s conftest.err
11785 } && test -s conftest$ac_exeext &&
11786 $as_test_x conftest$ac_exeext; then
11787 eval "$as_ac_var=yes"
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 eval "$as_ac_var=no"
11795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11796 conftest$ac_exeext conftest.$ac_ext
11798 ac_res=`eval echo '${'$as_ac_var'}'`
11799 { echo "$as_me:$LINENO: result: $ac_res" >&5
11800 echo "${ECHO_T}$ac_res" >&6; }
11801 if test `eval echo '${'$as_ac_var'}'` = yes; then
11802 cat >>confdefs.h <<_ACEOF
11803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11804 _ACEOF
11807 done
11809 LIBS="$ac_save_LIBS"
11810 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11811 wine_notices="$wine_notices|lib(n)curses development files not found.
11812 Wine will be built without (n)curses support. (wineconsole.exe)"
11816 # Extract the first word of "sane-config", so it can be a program name with args.
11817 set dummy sane-config; ac_word=$2
11818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11820 if test "${ac_cv_prog_sane_devel+set}" = set; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 else
11823 if test -n "$sane_devel"; then
11824 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11825 else
11826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11827 for as_dir in $PATH
11829 IFS=$as_save_IFS
11830 test -z "$as_dir" && as_dir=.
11831 for ac_exec_ext in '' $ac_executable_extensions; do
11832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11833 ac_cv_prog_sane_devel="sane-config"
11834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11835 break 2
11837 done
11838 done
11839 IFS=$as_save_IFS
11841 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11844 sane_devel=$ac_cv_prog_sane_devel
11845 if test -n "$sane_devel"; then
11846 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11847 echo "${ECHO_T}$sane_devel" >&6; }
11848 else
11849 { echo "$as_me:$LINENO: result: no" >&5
11850 echo "${ECHO_T}no" >&6; }
11854 if test "$sane_devel" != "no"
11855 then
11856 ac_sane_incl="`$sane_devel --cflags`"
11857 ac_save_CPPFLAGS="$CPPFLAGS"
11858 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11859 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11860 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11861 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11862 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11866 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11867 else
11868 # Is the header compilable?
11869 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11870 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11871 cat >conftest.$ac_ext <<_ACEOF
11872 /* confdefs.h. */
11873 _ACEOF
11874 cat confdefs.h >>conftest.$ac_ext
11875 cat >>conftest.$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 $ac_includes_default
11878 #include <sane/sane.h>
11879 _ACEOF
11880 rm -f conftest.$ac_objext
11881 if { (ac_try="$ac_compile"
11882 case "(($ac_try" in
11883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11884 *) ac_try_echo=$ac_try;;
11885 esac
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_compile") 2>conftest.er1
11888 ac_status=$?
11889 grep -v '^ *+' conftest.er1 >conftest.err
11890 rm -f conftest.er1
11891 cat conftest.err >&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } && {
11894 test -z "$ac_c_werror_flag" ||
11895 test ! -s conftest.err
11896 } && test -s conftest.$ac_objext; then
11897 ac_header_compiler=yes
11898 else
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.$ac_ext >&5
11902 ac_header_compiler=no
11905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11906 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11907 echo "${ECHO_T}$ac_header_compiler" >&6; }
11909 # Is the header present?
11910 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11911 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11912 cat >conftest.$ac_ext <<_ACEOF
11913 /* confdefs.h. */
11914 _ACEOF
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11918 #include <sane/sane.h>
11919 _ACEOF
11920 if { (ac_try="$ac_cpp conftest.$ac_ext"
11921 case "(($ac_try" in
11922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11924 esac
11925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11927 ac_status=$?
11928 grep -v '^ *+' conftest.er1 >conftest.err
11929 rm -f conftest.er1
11930 cat conftest.err >&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } >/dev/null && {
11933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11934 test ! -s conftest.err
11935 }; then
11936 ac_header_preproc=yes
11937 else
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11941 ac_header_preproc=no
11944 rm -f conftest.err conftest.$ac_ext
11945 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11946 echo "${ECHO_T}$ac_header_preproc" >&6; }
11948 # So? What about this header?
11949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11950 yes:no: )
11951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11952 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11954 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11955 ac_header_preproc=yes
11957 no:yes:* )
11958 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11959 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11960 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11961 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11962 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11963 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11965 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11967 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11969 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11970 ( cat <<\_ASBOX
11971 ## ------------------------------------ ##
11972 ## Report this to wine-devel@winehq.org ##
11973 ## ------------------------------------ ##
11974 _ASBOX
11975 ) | sed "s/^/$as_me: WARNING: /" >&2
11977 esac
11978 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11979 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11980 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 else
11983 ac_cv_header_sane_sane_h=$ac_header_preproc
11985 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11986 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11989 if test $ac_cv_header_sane_sane_h = yes; then
11990 { echo "$as_me:$LINENO: checking for -lsane" >&5
11991 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11992 if test "${ac_cv_lib_soname_sane+set}" = set; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 else
11995 ac_check_soname_save_LIBS=$LIBS
11996 LIBS="-lsane $LIBS"
11997 cat >conftest.$ac_ext <<_ACEOF
11998 /* confdefs.h. */
11999 _ACEOF
12000 cat confdefs.h >>conftest.$ac_ext
12001 cat >>conftest.$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char sane_init ();
12012 main ()
12014 return sane_init ();
12016 return 0;
12018 _ACEOF
12019 rm -f conftest.$ac_objext conftest$ac_exeext
12020 if { (ac_try="$ac_link"
12021 case "(($ac_try" in
12022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12023 *) ac_try_echo=$ac_try;;
12024 esac
12025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12026 (eval "$ac_link") 2>conftest.er1
12027 ac_status=$?
12028 grep -v '^ *+' conftest.er1 >conftest.err
12029 rm -f conftest.er1
12030 cat conftest.err >&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); } && {
12033 test -z "$ac_c_werror_flag" ||
12034 test ! -s conftest.err
12035 } && test -s conftest$ac_exeext &&
12036 $as_test_x conftest$ac_exeext; then
12037 case "$LIBEXT" in
12038 dll) ;;
12039 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'` ;;
12040 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12041 esac
12042 else
12043 echo "$as_me: failed program was:" >&5
12044 sed 's/^/| /' conftest.$ac_ext >&5
12049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_soname_save_LIBS
12053 if test "x$ac_cv_lib_soname_sane" = "x"; then
12054 { echo "$as_me:$LINENO: result: not found" >&5
12055 echo "${ECHO_T}not found" >&6; }
12057 else
12058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12059 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12061 cat >>confdefs.h <<_ACEOF
12062 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12063 _ACEOF
12065 SANEINCL="$ac_sane_incl"
12072 CPPFLAGS="$ac_save_CPPFLAGS"
12074 if test "x$ac_cv_lib_soname_sane" = "x"; then
12075 wine_notices="$wine_notices|libsane development files not found.
12076 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12080 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12081 set dummy gphoto2-config; ac_word=$2
12082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12084 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 else
12087 if test -n "$gphoto2_devel"; then
12088 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12089 else
12090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12091 for as_dir in $PATH
12093 IFS=$as_save_IFS
12094 test -z "$as_dir" && as_dir=.
12095 for ac_exec_ext in '' $ac_executable_extensions; do
12096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12097 ac_cv_prog_gphoto2_devel="gphoto2-config"
12098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 break 2
12101 done
12102 done
12103 IFS=$as_save_IFS
12105 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12108 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12109 if test -n "$gphoto2_devel"; then
12110 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12111 echo "${ECHO_T}$gphoto2_devel" >&6; }
12112 else
12113 { echo "$as_me:$LINENO: result: no" >&5
12114 echo "${ECHO_T}no" >&6; }
12118 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12119 set dummy gphoto2-port-config; ac_word=$2
12120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12122 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 else
12125 if test -n "$gphoto2port_devel"; then
12126 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12127 else
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12131 IFS=$as_save_IFS
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12135 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12137 break 2
12139 done
12140 done
12141 IFS=$as_save_IFS
12143 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12146 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12147 if test -n "$gphoto2port_devel"; then
12148 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12149 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12150 else
12151 { echo "$as_me:$LINENO: result: no" >&5
12152 echo "${ECHO_T}no" >&6; }
12156 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12157 then
12158 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12159 ac_gphoto2_libs=""
12160 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12162 case "$i" in
12163 -L/usr/lib|-L/usr/lib64) ;;
12164 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12165 esac
12166 done
12167 ac_save_CPPFLAGS="$CPPFLAGS"
12168 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12169 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12170 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12171 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12172 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12175 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12176 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12177 else
12178 # Is the header compilable?
12179 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12180 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12181 cat >conftest.$ac_ext <<_ACEOF
12182 /* confdefs.h. */
12183 _ACEOF
12184 cat confdefs.h >>conftest.$ac_ext
12185 cat >>conftest.$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187 $ac_includes_default
12188 #include <gphoto2-camera.h>
12189 _ACEOF
12190 rm -f conftest.$ac_objext
12191 if { (ac_try="$ac_compile"
12192 case "(($ac_try" in
12193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12194 *) ac_try_echo=$ac_try;;
12195 esac
12196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12197 (eval "$ac_compile") 2>conftest.er1
12198 ac_status=$?
12199 grep -v '^ *+' conftest.er1 >conftest.err
12200 rm -f conftest.er1
12201 cat conftest.err >&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } && {
12204 test -z "$ac_c_werror_flag" ||
12205 test ! -s conftest.err
12206 } && test -s conftest.$ac_objext; then
12207 ac_header_compiler=yes
12208 else
12209 echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.$ac_ext >&5
12212 ac_header_compiler=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12216 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12217 echo "${ECHO_T}$ac_header_compiler" >&6; }
12219 # Is the header present?
12220 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12221 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12222 cat >conftest.$ac_ext <<_ACEOF
12223 /* confdefs.h. */
12224 _ACEOF
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <gphoto2-camera.h>
12229 _ACEOF
12230 if { (ac_try="$ac_cpp conftest.$ac_ext"
12231 case "(($ac_try" in
12232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12233 *) ac_try_echo=$ac_try;;
12234 esac
12235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12237 ac_status=$?
12238 grep -v '^ *+' conftest.er1 >conftest.err
12239 rm -f conftest.er1
12240 cat conftest.err >&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } >/dev/null && {
12243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12244 test ! -s conftest.err
12245 }; then
12246 ac_header_preproc=yes
12247 else
12248 echo "$as_me: failed program was:" >&5
12249 sed 's/^/| /' conftest.$ac_ext >&5
12251 ac_header_preproc=no
12254 rm -f conftest.err conftest.$ac_ext
12255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12256 echo "${ECHO_T}$ac_header_preproc" >&6; }
12258 # So? What about this header?
12259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12260 yes:no: )
12261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12262 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12263 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12264 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12265 ac_header_preproc=yes
12267 no:yes:* )
12268 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12269 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12271 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12273 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12275 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12277 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12278 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12279 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12280 ( cat <<\_ASBOX
12281 ## ------------------------------------ ##
12282 ## Report this to wine-devel@winehq.org ##
12283 ## ------------------------------------ ##
12284 _ASBOX
12285 ) | sed "s/^/$as_me: WARNING: /" >&2
12287 esac
12288 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12289 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12290 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 else
12293 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12295 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12296 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12299 if test $ac_cv_header_gphoto2_camera_h = yes; then
12300 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12301 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12302 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 else
12305 ac_check_lib_save_LIBS=$LIBS
12306 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12307 cat >conftest.$ac_ext <<_ACEOF
12308 /* confdefs.h. */
12309 _ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 #ifdef __cplusplus
12318 extern "C"
12319 #endif
12320 char gp_camera_new ();
12322 main ()
12324 return gp_camera_new ();
12326 return 0;
12328 _ACEOF
12329 rm -f conftest.$ac_objext conftest$ac_exeext
12330 if { (ac_try="$ac_link"
12331 case "(($ac_try" in
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12333 *) ac_try_echo=$ac_try;;
12334 esac
12335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12336 (eval "$ac_link") 2>conftest.er1
12337 ac_status=$?
12338 grep -v '^ *+' conftest.er1 >conftest.err
12339 rm -f conftest.er1
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } && {
12343 test -z "$ac_c_werror_flag" ||
12344 test ! -s conftest.err
12345 } && test -s conftest$ac_exeext &&
12346 $as_test_x conftest$ac_exeext; then
12347 ac_cv_lib_gphoto2_gp_camera_new=yes
12348 else
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12352 ac_cv_lib_gphoto2_gp_camera_new=no
12355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_lib_save_LIBS
12359 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12360 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12361 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12363 cat >>confdefs.h <<\_ACEOF
12364 #define HAVE_GPHOTO2 1
12365 _ACEOF
12367 GPHOTO2LIBS="$ac_gphoto2_libs"
12369 GPHOTO2INCL="$ac_gphoto2_incl"
12376 CPPFLAGS="$ac_save_CPPFLAGS"
12378 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12379 wine_notices="$wine_notices|libgphoto2 development files not found.
12380 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12385 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12386 then
12387 saved_libs="$LIBS"
12388 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12389 if test -n "$ICU_LIB_DIR"
12390 then
12391 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12393 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12394 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12395 LIBS="$saved_libs $icu_libs"
12396 if test "$cross_compiling" = yes; then
12397 { echo "$as_me:$LINENO: result: no" >&5
12398 echo "${ECHO_T}no" >&6; }
12399 else
12400 cat >conftest.$ac_ext <<_ACEOF
12401 /* confdefs.h. */
12402 _ACEOF
12403 cat confdefs.h >>conftest.$ac_ext
12404 cat >>conftest.$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12406 #include <unicode/ubidi.h>
12408 main ()
12410 ubidi_open()
12412 return 0;
12414 _ACEOF
12415 rm -f conftest$ac_exeext
12416 if { (ac_try="$ac_link"
12417 case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12420 esac
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_link") 2>&5
12423 ac_status=$?
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12426 { (case "(($ac_try" in
12427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12428 *) ac_try_echo=$ac_try;;
12429 esac
12430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12431 (eval "$ac_try") 2>&5
12432 ac_status=$?
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; }; then
12436 cat >>confdefs.h <<\_ACEOF
12437 #define HAVE_ICU 1
12438 _ACEOF
12440 ICULIBS="$icu_libs"
12442 { echo "$as_me:$LINENO: result: yes" >&5
12443 echo "${ECHO_T}yes" >&6; }
12444 else
12445 echo "$as_me: program exited with status $ac_status" >&5
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 ( exit $ac_status )
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12457 LIBS="$saved_libs"
12459 if test "x$ICULIBS" = "x"; then
12460 wine_notices="$wine_notices|libicu development files not found.
12461 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12465 RESOLVLIBS=""
12467 if test "$ac_cv_header_resolv_h" = "yes"
12468 then
12469 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12470 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12471 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 else
12474 ac_check_lib_save_LIBS=$LIBS
12475 LIBS="-lresolv $LIBS"
12476 cat >conftest.$ac_ext <<_ACEOF
12477 /* confdefs.h. */
12478 _ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12483 /* Override any GCC internal prototype to avoid an error.
12484 Use char because int might match the return type of a GCC
12485 builtin and then its argument prototype would still apply. */
12486 #ifdef __cplusplus
12487 extern "C"
12488 #endif
12489 char res_query ();
12491 main ()
12493 return res_query ();
12495 return 0;
12497 _ACEOF
12498 rm -f conftest.$ac_objext conftest$ac_exeext
12499 if { (ac_try="$ac_link"
12500 case "(($ac_try" in
12501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12502 *) ac_try_echo=$ac_try;;
12503 esac
12504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12505 (eval "$ac_link") 2>conftest.er1
12506 ac_status=$?
12507 grep -v '^ *+' conftest.er1 >conftest.err
12508 rm -f conftest.er1
12509 cat conftest.err >&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); } && {
12512 test -z "$ac_c_werror_flag" ||
12513 test ! -s conftest.err
12514 } && test -s conftest$ac_exeext &&
12515 $as_test_x conftest$ac_exeext; then
12516 ac_cv_lib_resolv_res_query=yes
12517 else
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.$ac_ext >&5
12521 ac_cv_lib_resolv_res_query=no
12524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12528 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12529 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12530 if test $ac_cv_lib_resolv_res_query = yes; then
12532 cat >>confdefs.h <<\_ACEOF
12533 #define HAVE_RESOLV 1
12534 _ACEOF
12536 RESOLVLIBS="-lresolv"
12541 LCMSLIBS=""
12543 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12544 then
12545 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12546 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12547 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 else
12550 ac_check_lib_save_LIBS=$LIBS
12551 LIBS="-llcms $LIBS"
12552 cat >conftest.$ac_ext <<_ACEOF
12553 /* confdefs.h. */
12554 _ACEOF
12555 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12559 /* Override any GCC internal prototype to avoid an error.
12560 Use char because int might match the return type of a GCC
12561 builtin and then its argument prototype would still apply. */
12562 #ifdef __cplusplus
12563 extern "C"
12564 #endif
12565 char cmsOpenProfileFromFile ();
12567 main ()
12569 return cmsOpenProfileFromFile ();
12571 return 0;
12573 _ACEOF
12574 rm -f conftest.$ac_objext conftest$ac_exeext
12575 if { (ac_try="$ac_link"
12576 case "(($ac_try" in
12577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12579 esac
12580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 (eval "$ac_link") 2>conftest.er1
12582 ac_status=$?
12583 grep -v '^ *+' conftest.er1 >conftest.err
12584 rm -f conftest.er1
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } && {
12588 test -z "$ac_c_werror_flag" ||
12589 test ! -s conftest.err
12590 } && test -s conftest$ac_exeext &&
12591 $as_test_x conftest$ac_exeext; then
12592 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12593 else
12594 echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.$ac_ext >&5
12597 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_lib_save_LIBS
12604 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12605 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12606 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12608 cat >>confdefs.h <<\_ACEOF
12609 #define HAVE_LCMS 1
12610 _ACEOF
12612 LCMSLIBS="-llcms"
12616 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" = "yes"; then
12617 wine_notices="$wine_notices|liblcms development files not found.
12618 Wine will be built without Color Management support. (mscms.dll)"
12622 LDAPLIBS=""
12624 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12625 then
12626 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12627 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12628 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char ldap_initialize ();
12648 main ()
12650 return ldap_initialize ();
12652 return 0;
12654 _ACEOF
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (ac_try="$ac_link"
12657 case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12660 esac
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_link") 2>conftest.er1
12663 ac_status=$?
12664 grep -v '^ *+' conftest.er1 >conftest.err
12665 rm -f conftest.er1
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext &&
12672 $as_test_x conftest$ac_exeext; then
12673 ac_cv_lib_ldap_r_ldap_initialize=yes
12674 else
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12678 ac_cv_lib_ldap_r_ldap_initialize=no
12681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_lib_save_LIBS
12685 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12686 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12687 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12688 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12689 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12690 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 else
12693 ac_check_lib_save_LIBS=$LIBS
12694 LIBS="-llber $LIBPTHREAD $LIBS"
12695 cat >conftest.$ac_ext <<_ACEOF
12696 /* confdefs.h. */
12697 _ACEOF
12698 cat confdefs.h >>conftest.$ac_ext
12699 cat >>conftest.$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12705 #ifdef __cplusplus
12706 extern "C"
12707 #endif
12708 char ber_init ();
12710 main ()
12712 return ber_init ();
12714 return 0;
12716 _ACEOF
12717 rm -f conftest.$ac_objext conftest$ac_exeext
12718 if { (ac_try="$ac_link"
12719 case "(($ac_try" in
12720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12721 *) ac_try_echo=$ac_try;;
12722 esac
12723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12724 (eval "$ac_link") 2>conftest.er1
12725 ac_status=$?
12726 grep -v '^ *+' conftest.er1 >conftest.err
12727 rm -f conftest.er1
12728 cat conftest.err >&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } && {
12731 test -z "$ac_c_werror_flag" ||
12732 test ! -s conftest.err
12733 } && test -s conftest$ac_exeext &&
12734 $as_test_x conftest$ac_exeext; then
12735 ac_cv_lib_lber_ber_init=yes
12736 else
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.$ac_ext >&5
12740 ac_cv_lib_lber_ber_init=no
12743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12747 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12748 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12749 if test $ac_cv_lib_lber_ber_init = yes; then
12751 cat >>confdefs.h <<\_ACEOF
12752 #define HAVE_LDAP 1
12753 _ACEOF
12755 LDAPLIBS="-lldap_r -llber"
12760 ac_wine_check_funcs_save_LIBS="$LIBS"
12761 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12766 for ac_func in \
12767 ldap_count_references \
12768 ldap_first_reference \
12769 ldap_next_reference \
12770 ldap_parse_reference
12772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 else
12778 cat >conftest.$ac_ext <<_ACEOF
12779 /* confdefs.h. */
12780 _ACEOF
12781 cat confdefs.h >>conftest.$ac_ext
12782 cat >>conftest.$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12786 #define $ac_func innocuous_$ac_func
12788 /* System header to define __stub macros and hopefully few prototypes,
12789 which can conflict with char $ac_func (); below.
12790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12791 <limits.h> exists even on freestanding compilers. */
12793 #ifdef __STDC__
12794 # include <limits.h>
12795 #else
12796 # include <assert.h>
12797 #endif
12799 #undef $ac_func
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char $ac_func ();
12808 /* The GNU C library defines this for functions which it implements
12809 to always fail with ENOSYS. Some functions are actually named
12810 something starting with __ and the normal name is an alias. */
12811 #if defined __stub_$ac_func || defined __stub___$ac_func
12812 choke me
12813 #endif
12816 main ()
12818 return $ac_func ();
12820 return 0;
12822 _ACEOF
12823 rm -f conftest.$ac_objext conftest$ac_exeext
12824 if { (ac_try="$ac_link"
12825 case "(($ac_try" in
12826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12827 *) ac_try_echo=$ac_try;;
12828 esac
12829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12830 (eval "$ac_link") 2>conftest.er1
12831 ac_status=$?
12832 grep -v '^ *+' conftest.er1 >conftest.err
12833 rm -f conftest.er1
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } && {
12837 test -z "$ac_c_werror_flag" ||
12838 test ! -s conftest.err
12839 } && test -s conftest$ac_exeext &&
12840 $as_test_x conftest$ac_exeext; then
12841 eval "$as_ac_var=yes"
12842 else
12843 echo "$as_me: failed program was:" >&5
12844 sed 's/^/| /' conftest.$ac_ext >&5
12846 eval "$as_ac_var=no"
12849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12850 conftest$ac_exeext conftest.$ac_ext
12852 ac_res=`eval echo '${'$as_ac_var'}'`
12853 { echo "$as_me:$LINENO: result: $ac_res" >&5
12854 echo "${ECHO_T}$ac_res" >&6; }
12855 if test `eval echo '${'$as_ac_var'}'` = yes; then
12856 cat >>confdefs.h <<_ACEOF
12857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12858 _ACEOF
12861 done
12863 LIBS="$ac_wine_check_funcs_save_LIBS"
12865 if test "x$LDAPLIBS" = "x"; then
12866 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12867 Wine will be built without LDAP support. (wldap32.dll)"
12871 for ac_prog in freetype-config freetype2-config
12873 # Extract the first word of "$ac_prog", so it can be a program name with args.
12874 set dummy $ac_prog; ac_word=$2
12875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12877 if test "${ac_cv_prog_ft_devel+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 else
12880 if test -n "$ft_devel"; then
12881 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12882 else
12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12886 IFS=$as_save_IFS
12887 test -z "$as_dir" && as_dir=.
12888 for ac_exec_ext in '' $ac_executable_extensions; do
12889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12890 ac_cv_prog_ft_devel="$ac_prog"
12891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12892 break 2
12894 done
12895 done
12896 IFS=$as_save_IFS
12900 ft_devel=$ac_cv_prog_ft_devel
12901 if test -n "$ft_devel"; then
12902 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12903 echo "${ECHO_T}$ft_devel" >&6; }
12904 else
12905 { echo "$as_me:$LINENO: result: no" >&5
12906 echo "${ECHO_T}no" >&6; }
12910 test -n "$ft_devel" && break
12911 done
12912 test -n "$ft_devel" || ft_devel="false"
12914 if test "$ft_devel" != "false"
12915 then
12916 ac_freetype_libs=`$ft_devel --libs`
12917 ac_freetype_incl=`$ft_devel --cflags`
12918 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12919 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12920 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 else
12923 ac_check_soname_save_LIBS=$LIBS
12924 LIBS="-lfreetype $ac_freetype_libs $LIBS"
12925 cat >conftest.$ac_ext <<_ACEOF
12926 /* confdefs.h. */
12927 _ACEOF
12928 cat confdefs.h >>conftest.$ac_ext
12929 cat >>conftest.$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12935 #ifdef __cplusplus
12936 extern "C"
12937 #endif
12938 char FT_Init_FreeType ();
12940 main ()
12942 return FT_Init_FreeType ();
12944 return 0;
12946 _ACEOF
12947 rm -f conftest.$ac_objext conftest$ac_exeext
12948 if { (ac_try="$ac_link"
12949 case "(($ac_try" in
12950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12951 *) ac_try_echo=$ac_try;;
12952 esac
12953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12954 (eval "$ac_link") 2>conftest.er1
12955 ac_status=$?
12956 grep -v '^ *+' conftest.er1 >conftest.err
12957 rm -f conftest.er1
12958 cat conftest.err >&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } && {
12961 test -z "$ac_c_werror_flag" ||
12962 test ! -s conftest.err
12963 } && test -s conftest$ac_exeext &&
12964 $as_test_x conftest$ac_exeext; then
12965 case "$LIBEXT" in
12966 dll) ;;
12967 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'` ;;
12968 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12969 esac
12970 else
12971 echo "$as_me: failed program was:" >&5
12972 sed 's/^/| /' conftest.$ac_ext >&5
12977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12978 conftest$ac_exeext conftest.$ac_ext
12979 LIBS=$ac_check_soname_save_LIBS
12981 if test "x$ac_cv_lib_soname_freetype" = "x"; then
12982 { echo "$as_me:$LINENO: result: not found" >&5
12983 echo "${ECHO_T}not found" >&6; }
12984 ft_lib=no
12985 else
12986 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12987 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
12989 cat >>confdefs.h <<_ACEOF
12990 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12991 _ACEOF
12993 ft_lib=yes
12996 if test "$ft_lib" = "yes"
12997 then
12998 ac_save_CPPFLAGS="$CPPFLAGS"
12999 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13011 for ac_header in ft2build.h \
13012 freetype/freetype.h \
13013 freetype/ftglyph.h \
13014 freetype/tttables.h \
13015 freetype/ftnames.h \
13016 freetype/ftsnames.h \
13017 freetype/ttnameid.h \
13018 freetype/ftoutln.h \
13019 freetype/ftwinfnt.h \
13020 freetype/ftmodapi.h \
13021 freetype/internal/sfnt.h
13023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 cat >conftest.$ac_ext <<_ACEOF
13030 /* confdefs.h. */
13031 _ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #if HAVE_FT2BUILD_H
13036 #include <ft2build.h>
13037 #endif
13039 #include <$ac_header>
13040 _ACEOF
13041 rm -f conftest.$ac_objext
13042 if { (ac_try="$ac_compile"
13043 case "(($ac_try" in
13044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13045 *) ac_try_echo=$ac_try;;
13046 esac
13047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13048 (eval "$ac_compile") 2>conftest.er1
13049 ac_status=$?
13050 grep -v '^ *+' conftest.er1 >conftest.err
13051 rm -f conftest.er1
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } && {
13055 test -z "$ac_c_werror_flag" ||
13056 test ! -s conftest.err
13057 } && test -s conftest.$ac_objext; then
13058 eval "$as_ac_Header=yes"
13059 else
13060 echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.$ac_ext >&5
13063 eval "$as_ac_Header=no"
13066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13068 ac_res=`eval echo '${'$as_ac_Header'}'`
13069 { echo "$as_me:$LINENO: result: $ac_res" >&5
13070 echo "${ECHO_T}$ac_res" >&6; }
13071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13072 cat >>confdefs.h <<_ACEOF
13073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 _ACEOF
13078 done
13080 cat >conftest.$ac_ext <<_ACEOF
13081 /* confdefs.h. */
13082 _ACEOF
13083 cat confdefs.h >>conftest.$ac_ext
13084 cat >>conftest.$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 #include <ft2build.h>
13087 #include <freetype/fttrigon.h>
13088 _ACEOF
13089 if { (ac_try="$ac_cpp conftest.$ac_ext"
13090 case "(($ac_try" in
13091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13092 *) ac_try_echo=$ac_try;;
13093 esac
13094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13095 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13096 ac_status=$?
13097 grep -v '^ *+' conftest.er1 >conftest.err
13098 rm -f conftest.er1
13099 cat conftest.err >&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } >/dev/null && {
13102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13103 test ! -s conftest.err
13104 }; then
13106 cat >>confdefs.h <<\_ACEOF
13107 #define HAVE_FREETYPE_FTTRIGON_H 1
13108 _ACEOF
13110 wine_cv_fttrigon=yes
13111 else
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.$ac_ext >&5
13115 wine_cv_fttrigon=no
13118 rm -f conftest.err conftest.$ac_ext
13119 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13120 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13121 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13123 else
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 #include <freetype/ftmodapi.h>
13132 typedef FT_TrueTypeEngineType ac__type_new_;
13134 main ()
13136 if ((ac__type_new_ *) 0)
13137 return 0;
13138 if (sizeof (ac__type_new_))
13139 return 0;
13141 return 0;
13143 _ACEOF
13144 rm -f conftest.$ac_objext
13145 if { (ac_try="$ac_compile"
13146 case "(($ac_try" in
13147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13148 *) ac_try_echo=$ac_try;;
13149 esac
13150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13151 (eval "$ac_compile") 2>conftest.er1
13152 ac_status=$?
13153 grep -v '^ *+' conftest.er1 >conftest.err
13154 rm -f conftest.er1
13155 cat conftest.err >&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } && {
13158 test -z "$ac_c_werror_flag" ||
13159 test ! -s conftest.err
13160 } && test -s conftest.$ac_objext; then
13161 ac_cv_type_FT_TrueTypeEngineType=yes
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13166 ac_cv_type_FT_TrueTypeEngineType=no
13169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13171 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13172 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13173 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13175 cat >>confdefs.h <<_ACEOF
13176 #define HAVE_FT_TRUETYPEENGINETYPE 1
13177 _ACEOF
13182 ac_save_CFLAGS="$CFLAGS"
13183 CFLAGS="$CFLAGS $ac_freetype_libs"
13185 for ac_func in FT_Load_Sfnt_Table
13187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 cat >conftest.$ac_ext <<_ACEOF
13194 /* confdefs.h. */
13195 _ACEOF
13196 cat confdefs.h >>conftest.$ac_ext
13197 cat >>conftest.$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13201 #define $ac_func innocuous_$ac_func
13203 /* System header to define __stub macros and hopefully few prototypes,
13204 which can conflict with char $ac_func (); below.
13205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13206 <limits.h> exists even on freestanding compilers. */
13208 #ifdef __STDC__
13209 # include <limits.h>
13210 #else
13211 # include <assert.h>
13212 #endif
13214 #undef $ac_func
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 #ifdef __cplusplus
13220 extern "C"
13221 #endif
13222 char $ac_func ();
13223 /* The GNU C library defines this for functions which it implements
13224 to always fail with ENOSYS. Some functions are actually named
13225 something starting with __ and the normal name is an alias. */
13226 #if defined __stub_$ac_func || defined __stub___$ac_func
13227 choke me
13228 #endif
13231 main ()
13233 return $ac_func ();
13235 return 0;
13237 _ACEOF
13238 rm -f conftest.$ac_objext conftest$ac_exeext
13239 if { (ac_try="$ac_link"
13240 case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13243 esac
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_link") 2>conftest.er1
13246 ac_status=$?
13247 grep -v '^ *+' conftest.er1 >conftest.err
13248 rm -f conftest.er1
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } && {
13252 test -z "$ac_c_werror_flag" ||
13253 test ! -s conftest.err
13254 } && test -s conftest$ac_exeext &&
13255 $as_test_x conftest$ac_exeext; then
13256 eval "$as_ac_var=yes"
13257 else
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.$ac_ext >&5
13261 eval "$as_ac_var=no"
13264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13265 conftest$ac_exeext conftest.$ac_ext
13267 ac_res=`eval echo '${'$as_ac_var'}'`
13268 { echo "$as_me:$LINENO: result: $ac_res" >&5
13269 echo "${ECHO_T}$ac_res" >&6; }
13270 if test `eval echo '${'$as_ac_var'}'` = yes; then
13271 cat >>confdefs.h <<_ACEOF
13272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13273 _ACEOF
13276 done
13278 CFLAGS="$ac_save_CFLAGS"
13279 CPPFLAGS="$ac_save_CPPFLAGS"
13280 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13281 then
13283 cat >>confdefs.h <<\_ACEOF
13284 #define HAVE_FREETYPE 1
13285 _ACEOF
13287 FREETYPELIBS="$ac_freetype_libs"
13289 FREETYPEINCL="$ac_freetype_incl"
13295 if test "$FONTFORGE" = "false"
13296 then
13297 wine_warnings="$wine_warnings|FontForge is missing.
13298 Fonts will not be built. Dialog text may be invisible or unaligned."
13299 elif test "x$FREETYPELIBS" = "x"
13300 then
13301 wine_warnings="$wine_warnings|FreeType development files not found.
13302 Fonts will not be built. Dialog text may be invisible or unaligned."
13303 else
13304 FONTSSUBDIRS="fonts"
13308 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13309 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13310 if test "${ac_cv_c_ppdev+set}" = set; then
13311 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 else
13313 cat >conftest.$ac_ext <<_ACEOF
13314 /* confdefs.h. */
13315 _ACEOF
13316 cat confdefs.h >>conftest.$ac_ext
13317 cat >>conftest.$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 #include <linux/ppdev.h>
13321 main ()
13323 ioctl (1,PPCLAIM,0)
13325 return 0;
13327 _ACEOF
13328 rm -f conftest.$ac_objext
13329 if { (ac_try="$ac_compile"
13330 case "(($ac_try" in
13331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13332 *) ac_try_echo=$ac_try;;
13333 esac
13334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13335 (eval "$ac_compile") 2>conftest.er1
13336 ac_status=$?
13337 grep -v '^ *+' conftest.er1 >conftest.err
13338 rm -f conftest.er1
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } && {
13342 test -z "$ac_c_werror_flag" ||
13343 test ! -s conftest.err
13344 } && test -s conftest.$ac_objext; then
13345 ac_cv_c_ppdev="yes"
13346 else
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 ac_cv_c_ppdev="no"
13353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13355 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13356 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13357 if test "$ac_cv_c_ppdev" = "yes"
13358 then
13360 cat >>confdefs.h <<\_ACEOF
13361 #define HAVE_PPDEV 1
13362 _ACEOF
13366 { echo "$as_me:$LINENO: checking for va_copy" >&5
13367 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13368 if test "${ac_cv_c_va_copy+set}" = set; then
13369 echo $ECHO_N "(cached) $ECHO_C" >&6
13370 else
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 #include <stdarg.h>
13379 main ()
13381 va_list ap1, ap2; va_copy(ap1,ap2);
13383 return 0;
13385 _ACEOF
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (ac_try="$ac_link"
13388 case "(($ac_try" in
13389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13390 *) ac_try_echo=$ac_try;;
13391 esac
13392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13393 (eval "$ac_link") 2>conftest.er1
13394 ac_status=$?
13395 grep -v '^ *+' conftest.er1 >conftest.err
13396 rm -f conftest.er1
13397 cat conftest.err >&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } && {
13400 test -z "$ac_c_werror_flag" ||
13401 test ! -s conftest.err
13402 } && test -s conftest$ac_exeext &&
13403 $as_test_x conftest$ac_exeext; then
13404 ac_cv_c_va_copy="yes"
13405 else
13406 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.$ac_ext >&5
13409 ac_cv_c_va_copy="no"
13412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13413 conftest$ac_exeext conftest.$ac_ext
13416 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13417 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13418 if test "$ac_cv_c_va_copy" = "yes"
13419 then
13421 cat >>confdefs.h <<\_ACEOF
13422 #define HAVE_VA_COPY 1
13423 _ACEOF
13426 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13427 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13428 if test "${ac_cv_c___va_copy+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 cat >conftest.$ac_ext <<_ACEOF
13432 /* confdefs.h. */
13433 _ACEOF
13434 cat confdefs.h >>conftest.$ac_ext
13435 cat >>conftest.$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13437 #include <stdarg.h>
13439 main ()
13441 va_list ap1, ap2; __va_copy(ap1,ap2);
13443 return 0;
13445 _ACEOF
13446 rm -f conftest.$ac_objext conftest$ac_exeext
13447 if { (ac_try="$ac_link"
13448 case "(($ac_try" in
13449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13450 *) ac_try_echo=$ac_try;;
13451 esac
13452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13453 (eval "$ac_link") 2>conftest.er1
13454 ac_status=$?
13455 grep -v '^ *+' conftest.er1 >conftest.err
13456 rm -f conftest.er1
13457 cat conftest.err >&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } && {
13460 test -z "$ac_c_werror_flag" ||
13461 test ! -s conftest.err
13462 } && test -s conftest$ac_exeext &&
13463 $as_test_x conftest$ac_exeext; then
13464 ac_cv_c___va_copy="yes"
13465 else
13466 echo "$as_me: failed program was:" >&5
13467 sed 's/^/| /' conftest.$ac_ext >&5
13469 ac_cv_c___va_copy="no"
13472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13473 conftest$ac_exeext conftest.$ac_ext
13476 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13477 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13478 if test "$ac_cv_c___va_copy" = "yes"
13479 then
13481 cat >>confdefs.h <<\_ACEOF
13482 #define HAVE___VA_COPY 1
13483 _ACEOF
13487 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13488 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13489 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 else
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 #include <setjmp.h>
13500 main ()
13502 sigjmp_buf buf;
13503 sigsetjmp( buf, 1 );
13504 siglongjmp( buf, 1 );
13506 return 0;
13508 _ACEOF
13509 rm -f conftest.$ac_objext conftest$ac_exeext
13510 if { (ac_try="$ac_link"
13511 case "(($ac_try" in
13512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13514 esac
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_link") 2>conftest.er1
13517 ac_status=$?
13518 grep -v '^ *+' conftest.er1 >conftest.err
13519 rm -f conftest.er1
13520 cat conftest.err >&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); } && {
13523 test -z "$ac_c_werror_flag" ||
13524 test ! -s conftest.err
13525 } && test -s conftest$ac_exeext &&
13526 $as_test_x conftest$ac_exeext; then
13527 ac_cv_c_sigsetjmp="yes"
13528 else
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13532 ac_cv_c_sigsetjmp="no"
13535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13536 conftest$ac_exeext conftest.$ac_ext
13539 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13540 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13541 if test "$ac_cv_c_sigsetjmp" = "yes"
13542 then
13544 cat >>confdefs.h <<\_ACEOF
13545 #define HAVE_SIGSETJMP 1
13546 _ACEOF
13550 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13551 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13552 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 else
13555 cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h. */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561 #define _GNU_SOURCE
13562 #include <pthread.h>
13564 typedef pthread_rwlock_t ac__type_new_;
13566 main ()
13568 if ((ac__type_new_ *) 0)
13569 return 0;
13570 if (sizeof (ac__type_new_))
13571 return 0;
13573 return 0;
13575 _ACEOF
13576 rm -f conftest.$ac_objext
13577 if { (ac_try="$ac_compile"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_compile") 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest.$ac_objext; then
13593 ac_cv_type_pthread_rwlock_t=yes
13594 else
13595 echo "$as_me: failed program was:" >&5
13596 sed 's/^/| /' conftest.$ac_ext >&5
13598 ac_cv_type_pthread_rwlock_t=no
13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13603 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13604 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13605 if test $ac_cv_type_pthread_rwlock_t = yes; then
13607 cat >>confdefs.h <<_ACEOF
13608 #define HAVE_PTHREAD_RWLOCK_T 1
13609 _ACEOF
13613 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13614 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13615 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13617 else
13618 cat >conftest.$ac_ext <<_ACEOF
13619 /* confdefs.h. */
13620 _ACEOF
13621 cat confdefs.h >>conftest.$ac_ext
13622 cat >>conftest.$ac_ext <<_ACEOF
13623 /* end confdefs.h. */
13624 #define _GNU_SOURCE
13625 #include <pthread.h>
13627 typedef pthread_rwlockattr_t ac__type_new_;
13629 main ()
13631 if ((ac__type_new_ *) 0)
13632 return 0;
13633 if (sizeof (ac__type_new_))
13634 return 0;
13636 return 0;
13638 _ACEOF
13639 rm -f conftest.$ac_objext
13640 if { (ac_try="$ac_compile"
13641 case "(($ac_try" in
13642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13643 *) ac_try_echo=$ac_try;;
13644 esac
13645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13646 (eval "$ac_compile") 2>conftest.er1
13647 ac_status=$?
13648 grep -v '^ *+' conftest.er1 >conftest.err
13649 rm -f conftest.er1
13650 cat conftest.err >&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); } && {
13653 test -z "$ac_c_werror_flag" ||
13654 test ! -s conftest.err
13655 } && test -s conftest.$ac_objext; then
13656 ac_cv_type_pthread_rwlockattr_t=yes
13657 else
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13661 ac_cv_type_pthread_rwlockattr_t=no
13664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13667 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13668 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13670 cat >>confdefs.h <<_ACEOF
13671 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13672 _ACEOF
13678 ac_wine_check_funcs_save_LIBS="$LIBS"
13679 LIBS="$LIBS $LIBPTHREAD"
13684 for ac_func in \
13685 pthread_attr_get_np \
13686 pthread_getattr_np \
13687 pthread_get_stackaddr_np \
13688 pthread_get_stacksize_np
13690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 cat >conftest.$ac_ext <<_ACEOF
13697 /* confdefs.h. */
13698 _ACEOF
13699 cat confdefs.h >>conftest.$ac_ext
13700 cat >>conftest.$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13704 #define $ac_func innocuous_$ac_func
13706 /* System header to define __stub macros and hopefully few prototypes,
13707 which can conflict with char $ac_func (); below.
13708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13709 <limits.h> exists even on freestanding compilers. */
13711 #ifdef __STDC__
13712 # include <limits.h>
13713 #else
13714 # include <assert.h>
13715 #endif
13717 #undef $ac_func
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13722 #ifdef __cplusplus
13723 extern "C"
13724 #endif
13725 char $ac_func ();
13726 /* The GNU C library defines this for functions which it implements
13727 to always fail with ENOSYS. Some functions are actually named
13728 something starting with __ and the normal name is an alias. */
13729 #if defined __stub_$ac_func || defined __stub___$ac_func
13730 choke me
13731 #endif
13734 main ()
13736 return $ac_func ();
13738 return 0;
13740 _ACEOF
13741 rm -f conftest.$ac_objext conftest$ac_exeext
13742 if { (ac_try="$ac_link"
13743 case "(($ac_try" in
13744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13745 *) ac_try_echo=$ac_try;;
13746 esac
13747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13748 (eval "$ac_link") 2>conftest.er1
13749 ac_status=$?
13750 grep -v '^ *+' conftest.er1 >conftest.err
13751 rm -f conftest.er1
13752 cat conftest.err >&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } && {
13755 test -z "$ac_c_werror_flag" ||
13756 test ! -s conftest.err
13757 } && test -s conftest$ac_exeext &&
13758 $as_test_x conftest$ac_exeext; then
13759 eval "$as_ac_var=yes"
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 eval "$as_ac_var=no"
13767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13768 conftest$ac_exeext conftest.$ac_ext
13770 ac_res=`eval echo '${'$as_ac_var'}'`
13771 { echo "$as_me:$LINENO: result: $ac_res" >&5
13772 echo "${ECHO_T}$ac_res" >&6; }
13773 if test `eval echo '${'$as_ac_var'}'` = yes; then
13774 cat >>confdefs.h <<_ACEOF
13775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13776 _ACEOF
13779 done
13781 LIBS="$ac_wine_check_funcs_save_LIBS"
13783 # Extract the first word of "esd-config", so it can be a program name with args.
13784 set dummy esd-config; ac_word=$2
13785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13787 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 case $ESDCONFIG in
13791 [\\/]* | ?:[\\/]*)
13792 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13796 for as_dir in $PATH
13798 IFS=$as_save_IFS
13799 test -z "$as_dir" && as_dir=.
13800 for ac_exec_ext in '' $ac_executable_extensions; do
13801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13802 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13804 break 2
13806 done
13807 done
13808 IFS=$as_save_IFS
13811 esac
13813 ESDCONFIG=$ac_cv_path_ESDCONFIG
13814 if test -n "$ESDCONFIG"; then
13815 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13816 echo "${ECHO_T}$ESDCONFIG" >&6; }
13817 else
13818 { echo "$as_me:$LINENO: result: no" >&5
13819 echo "${ECHO_T}no" >&6; }
13823 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13824 then
13825 ESD_CFLAGS=""
13826 for i in `$ESDCONFIG --cflags`
13828 case "$i" in
13829 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13830 esac
13831 done
13832 ESD_LIBS=`$ESDCONFIG --libs`
13833 save_CFLAGS="$CFLAGS"
13834 CFLAGS="$CFLAGS $ESD_CFLAGS"
13835 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13836 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13837 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lesd $LIBS"
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char esd_open_sound ();
13857 main ()
13859 return esd_open_sound ();
13861 return 0;
13863 _ACEOF
13864 rm -f conftest.$ac_objext conftest$ac_exeext
13865 if { (ac_try="$ac_link"
13866 case "(($ac_try" in
13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13869 esac
13870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13871 (eval "$ac_link") 2>conftest.er1
13872 ac_status=$?
13873 grep -v '^ *+' conftest.er1 >conftest.err
13874 rm -f conftest.er1
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } && {
13878 test -z "$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13880 } && test -s conftest$ac_exeext &&
13881 $as_test_x conftest$ac_exeext; then
13882 ac_cv_lib_esd_esd_open_sound=yes
13883 else
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13887 ac_cv_lib_esd_esd_open_sound=no
13890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13891 conftest$ac_exeext conftest.$ac_ext
13892 LIBS=$ac_check_lib_save_LIBS
13894 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13895 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13896 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13897 ESDLIBS=$ESD_LIBS
13899 ESDINCL=$ESD_CFLAGS
13902 cat >>confdefs.h <<\_ACEOF
13903 #define HAVE_ESD 1
13904 _ACEOF
13908 CFLAGS="$save_CFLAGS"
13911 ALSALIBS=""
13913 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13914 then
13915 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13916 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13917 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 else
13920 ac_check_lib_save_LIBS=$LIBS
13921 LIBS="-lasound $LIBS"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 #ifdef __cplusplus
13933 extern "C"
13934 #endif
13935 char snd_pcm_hw_params_get_access ();
13937 main ()
13939 return snd_pcm_hw_params_get_access ();
13941 return 0;
13943 _ACEOF
13944 rm -f conftest.$ac_objext conftest$ac_exeext
13945 if { (ac_try="$ac_link"
13946 case "(($ac_try" in
13947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13949 esac
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_link") 2>conftest.er1
13952 ac_status=$?
13953 grep -v '^ *+' conftest.er1 >conftest.err
13954 rm -f conftest.er1
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest$ac_exeext &&
13961 $as_test_x conftest$ac_exeext; then
13962 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13963 else
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.$ac_ext >&5
13967 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13971 conftest$ac_exeext conftest.$ac_ext
13972 LIBS=$ac_check_lib_save_LIBS
13974 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13975 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13976 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 #ifdef HAVE_ALSA_ASOUNDLIB_H
13984 #include <alsa/asoundlib.h>
13985 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13986 #include <sys/asoundlib.h>
13987 #endif
13989 main ()
13991 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13993 return 0;
13995 _ACEOF
13996 rm -f conftest.$ac_objext
13997 if { (ac_try="$ac_compile"
13998 case "(($ac_try" in
13999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14000 *) ac_try_echo=$ac_try;;
14001 esac
14002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14003 (eval "$ac_compile") 2>conftest.er1
14004 ac_status=$?
14005 grep -v '^ *+' conftest.er1 >conftest.err
14006 rm -f conftest.er1
14007 cat conftest.err >&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } && {
14010 test -z "$ac_c_werror_flag" ||
14011 test ! -s conftest.err
14012 } && test -s conftest.$ac_objext; then
14014 cat >>confdefs.h <<\_ACEOF
14015 #define HAVE_ALSA 1
14016 _ACEOF
14018 ALSALIBS="-lasound"
14019 else
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14031 AUDIOIOLIBS=""
14033 if test "$ac_cv_header_libaudioio_h" = "yes"
14034 then
14035 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14036 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14037 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040 ac_check_lib_save_LIBS=$LIBS
14041 LIBS="-laudioio $LIBS"
14042 cat >conftest.$ac_ext <<_ACEOF
14043 /* confdefs.h. */
14044 _ACEOF
14045 cat confdefs.h >>conftest.$ac_ext
14046 cat >>conftest.$ac_ext <<_ACEOF
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 #ifdef __cplusplus
14053 extern "C"
14054 #endif
14055 char AudioIOGetVersion ();
14057 main ()
14059 return AudioIOGetVersion ();
14061 return 0;
14063 _ACEOF
14064 rm -f conftest.$ac_objext conftest$ac_exeext
14065 if { (ac_try="$ac_link"
14066 case "(($ac_try" in
14067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14068 *) ac_try_echo=$ac_try;;
14069 esac
14070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14071 (eval "$ac_link") 2>conftest.er1
14072 ac_status=$?
14073 grep -v '^ *+' conftest.er1 >conftest.err
14074 rm -f conftest.er1
14075 cat conftest.err >&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } && {
14078 test -z "$ac_c_werror_flag" ||
14079 test ! -s conftest.err
14080 } && test -s conftest$ac_exeext &&
14081 $as_test_x conftest$ac_exeext; then
14082 ac_cv_lib_audioio_AudioIOGetVersion=yes
14083 else
14084 echo "$as_me: failed program was:" >&5
14085 sed 's/^/| /' conftest.$ac_ext >&5
14087 ac_cv_lib_audioio_AudioIOGetVersion=no
14090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14095 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14096 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14097 AUDIOIOLIBS="-laudioio"
14099 cat >>confdefs.h <<\_ACEOF
14100 #define HAVE_LIBAUDIOIO 1
14101 _ACEOF
14108 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14109 then
14110 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14111 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14112 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14114 else
14115 ac_check_soname_save_LIBS=$LIBS
14116 LIBS="-lcapi20 $LIBS"
14117 cat >conftest.$ac_ext <<_ACEOF
14118 /* confdefs.h. */
14119 _ACEOF
14120 cat confdefs.h >>conftest.$ac_ext
14121 cat >>conftest.$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 #ifdef __cplusplus
14128 extern "C"
14129 #endif
14130 char capi20_register ();
14132 main ()
14134 return capi20_register ();
14136 return 0;
14138 _ACEOF
14139 rm -f conftest.$ac_objext conftest$ac_exeext
14140 if { (ac_try="$ac_link"
14141 case "(($ac_try" in
14142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14144 esac
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_link") 2>conftest.er1
14147 ac_status=$?
14148 grep -v '^ *+' conftest.er1 >conftest.err
14149 rm -f conftest.er1
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest$ac_exeext &&
14156 $as_test_x conftest$ac_exeext; then
14157 case "$LIBEXT" in
14158 dll) ;;
14159 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'` ;;
14160 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14161 esac
14162 else
14163 echo "$as_me: failed program was:" >&5
14164 sed 's/^/| /' conftest.$ac_ext >&5
14169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14170 conftest$ac_exeext conftest.$ac_ext
14171 LIBS=$ac_check_soname_save_LIBS
14173 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14174 { echo "$as_me:$LINENO: result: not found" >&5
14175 echo "${ECHO_T}not found" >&6; }
14177 else
14178 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14179 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14181 cat >>confdefs.h <<_ACEOF
14182 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14183 _ACEOF
14189 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14190 wine_notices="$wine_notices|libcapi20 development files not found.
14191 Wine will be built without ISDN support. (capi2032.dll)"
14195 if test "$ac_cv_header_cups_cups_h" = "yes"
14196 then
14197 { echo "$as_me:$LINENO: checking for -lcups" >&5
14198 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14199 if test "${ac_cv_lib_soname_cups+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 else
14202 ac_check_soname_save_LIBS=$LIBS
14203 LIBS="-lcups $LIBS"
14204 cat >conftest.$ac_ext <<_ACEOF
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 char cupsGetDefault ();
14219 main ()
14221 return cupsGetDefault ();
14223 return 0;
14225 _ACEOF
14226 rm -f conftest.$ac_objext conftest$ac_exeext
14227 if { (ac_try="$ac_link"
14228 case "(($ac_try" in
14229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230 *) ac_try_echo=$ac_try;;
14231 esac
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_link") 2>conftest.er1
14234 ac_status=$?
14235 grep -v '^ *+' conftest.er1 >conftest.err
14236 rm -f conftest.er1
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } && {
14240 test -z "$ac_c_werror_flag" ||
14241 test ! -s conftest.err
14242 } && test -s conftest$ac_exeext &&
14243 $as_test_x conftest$ac_exeext; then
14244 case "$LIBEXT" in
14245 dll) ;;
14246 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'` ;;
14247 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14248 esac
14249 else
14250 echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.$ac_ext >&5
14256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_soname_save_LIBS
14260 if test "x$ac_cv_lib_soname_cups" = "x"; then
14261 { echo "$as_me:$LINENO: result: not found" >&5
14262 echo "${ECHO_T}not found" >&6; }
14264 else
14265 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14266 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14268 cat >>confdefs.h <<_ACEOF
14269 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14270 _ACEOF
14276 if test "x$ac_cv_lib_soname_cups" = "x"; then
14277 wine_notices="$wine_notices|libcups development files not found.
14278 Wine will be built without CUPS support."
14282 if test "$ac_cv_header_jack_jack_h" = "yes"
14283 then
14284 { echo "$as_me:$LINENO: checking for -ljack" >&5
14285 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14286 if test "${ac_cv_lib_soname_jack+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14289 ac_check_soname_save_LIBS=$LIBS
14290 LIBS="-ljack $LIBS"
14291 cat >conftest.$ac_ext <<_ACEOF
14292 /* confdefs.h. */
14293 _ACEOF
14294 cat confdefs.h >>conftest.$ac_ext
14295 cat >>conftest.$ac_ext <<_ACEOF
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 #ifdef __cplusplus
14302 extern "C"
14303 #endif
14304 char jack_client_new ();
14306 main ()
14308 return jack_client_new ();
14310 return 0;
14312 _ACEOF
14313 rm -f conftest.$ac_objext conftest$ac_exeext
14314 if { (ac_try="$ac_link"
14315 case "(($ac_try" in
14316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14317 *) ac_try_echo=$ac_try;;
14318 esac
14319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14320 (eval "$ac_link") 2>conftest.er1
14321 ac_status=$?
14322 grep -v '^ *+' conftest.er1 >conftest.err
14323 rm -f conftest.er1
14324 cat conftest.err >&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } && {
14327 test -z "$ac_c_werror_flag" ||
14328 test ! -s conftest.err
14329 } && test -s conftest$ac_exeext &&
14330 $as_test_x conftest$ac_exeext; then
14331 case "$LIBEXT" in
14332 dll) ;;
14333 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'` ;;
14334 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14335 esac
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14344 conftest$ac_exeext conftest.$ac_ext
14345 LIBS=$ac_check_soname_save_LIBS
14347 if test "x$ac_cv_lib_soname_jack" = "x"; then
14348 { echo "$as_me:$LINENO: result: not found" >&5
14349 echo "${ECHO_T}not found" >&6; }
14351 else
14352 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14353 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14355 cat >>confdefs.h <<_ACEOF
14356 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14357 _ACEOF
14364 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14365 then
14366 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14367 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14368 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 else
14371 ac_check_soname_save_LIBS=$LIBS
14372 LIBS="-lfontconfig $LIBS"
14373 cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h. */
14375 _ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14383 #ifdef __cplusplus
14384 extern "C"
14385 #endif
14386 char FcInit ();
14388 main ()
14390 return FcInit ();
14392 return 0;
14394 _ACEOF
14395 rm -f conftest.$ac_objext conftest$ac_exeext
14396 if { (ac_try="$ac_link"
14397 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14400 esac
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_link") 2>conftest.er1
14403 ac_status=$?
14404 grep -v '^ *+' conftest.er1 >conftest.err
14405 rm -f conftest.er1
14406 cat conftest.err >&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } && {
14409 test -z "$ac_c_werror_flag" ||
14410 test ! -s conftest.err
14411 } && test -s conftest$ac_exeext &&
14412 $as_test_x conftest$ac_exeext; then
14413 case "$LIBEXT" in
14414 dll) ;;
14415 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'` ;;
14416 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14417 esac
14418 else
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_soname_save_LIBS
14429 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14430 { echo "$as_me:$LINENO: result: not found" >&5
14431 echo "${ECHO_T}not found" >&6; }
14433 else
14434 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14435 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14437 cat >>confdefs.h <<_ACEOF
14438 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14439 _ACEOF
14445 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14446 wine_notices="$wine_notices|fontconfig development files not found.
14447 Wine will be built without fontconfig support."
14451 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14452 then
14453 { echo "$as_me:$LINENO: checking for -lssl" >&5
14454 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14455 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 else
14458 ac_check_soname_save_LIBS=$LIBS
14459 LIBS="-lssl $LIBS"
14460 cat >conftest.$ac_ext <<_ACEOF
14461 /* confdefs.h. */
14462 _ACEOF
14463 cat confdefs.h >>conftest.$ac_ext
14464 cat >>conftest.$ac_ext <<_ACEOF
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char SSL_library_init ();
14475 main ()
14477 return SSL_library_init ();
14479 return 0;
14481 _ACEOF
14482 rm -f conftest.$ac_objext conftest$ac_exeext
14483 if { (ac_try="$ac_link"
14484 case "(($ac_try" in
14485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14487 esac
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14490 ac_status=$?
14491 grep -v '^ *+' conftest.er1 >conftest.err
14492 rm -f conftest.er1
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } && {
14496 test -z "$ac_c_werror_flag" ||
14497 test ! -s conftest.err
14498 } && test -s conftest$ac_exeext &&
14499 $as_test_x conftest$ac_exeext; then
14500 case "$LIBEXT" in
14501 dll) ;;
14502 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'` ;;
14503 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14504 esac
14505 else
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5
14512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14513 conftest$ac_exeext conftest.$ac_ext
14514 LIBS=$ac_check_soname_save_LIBS
14516 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14517 { echo "$as_me:$LINENO: result: not found" >&5
14518 echo "${ECHO_T}not found" >&6; }
14520 else
14521 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14522 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14524 cat >>confdefs.h <<_ACEOF
14525 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14526 _ACEOF
14531 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14532 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14533 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 else
14536 ac_check_soname_save_LIBS=$LIBS
14537 LIBS="-lcrypto $LIBS"
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char BIO_new_socket ();
14553 main ()
14555 return BIO_new_socket ();
14557 return 0;
14559 _ACEOF
14560 rm -f conftest.$ac_objext conftest$ac_exeext
14561 if { (ac_try="$ac_link"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14565 esac
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_link") 2>conftest.er1
14568 ac_status=$?
14569 grep -v '^ *+' conftest.er1 >conftest.err
14570 rm -f conftest.er1
14571 cat conftest.err >&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } && {
14574 test -z "$ac_c_werror_flag" ||
14575 test ! -s conftest.err
14576 } && test -s conftest$ac_exeext &&
14577 $as_test_x conftest$ac_exeext; then
14578 case "$LIBEXT" in
14579 dll) ;;
14580 dylib) ac_cv_lib_soname_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'` ;;
14581 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14582 esac
14583 else
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14591 conftest$ac_exeext conftest.$ac_ext
14592 LIBS=$ac_check_soname_save_LIBS
14594 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14595 { echo "$as_me:$LINENO: result: not found" >&5
14596 echo "${ECHO_T}not found" >&6; }
14598 else
14599 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14600 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14604 _ACEOF
14610 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14611 wine_notices="$wine_notices|OpenSSL development files not found.
14612 Wine will be built without SSL support. (wininet.dll)"
14616 if test "$ac_cv_header_jpeglib_h" = "yes"
14617 then
14618 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14619 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14620 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 else
14623 ac_check_soname_save_LIBS=$LIBS
14624 LIBS="-ljpeg $LIBS"
14625 cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14632 /* Override any GCC internal prototype to avoid an error.
14633 Use char because int might match the return type of a GCC
14634 builtin and then its argument prototype would still apply. */
14635 #ifdef __cplusplus
14636 extern "C"
14637 #endif
14638 char jpeg_start_decompress ();
14640 main ()
14642 return jpeg_start_decompress ();
14644 return 0;
14646 _ACEOF
14647 rm -f conftest.$ac_objext conftest$ac_exeext
14648 if { (ac_try="$ac_link"
14649 case "(($ac_try" in
14650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651 *) ac_try_echo=$ac_try;;
14652 esac
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_link") 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_c_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest$ac_exeext &&
14664 $as_test_x conftest$ac_exeext; then
14665 case "$LIBEXT" in
14666 dll) ;;
14667 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'` ;;
14668 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14669 esac
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_soname_save_LIBS
14681 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14682 { echo "$as_me:$LINENO: result: not found" >&5
14683 echo "${ECHO_T}not found" >&6; }
14685 else
14686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14687 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14689 cat >>confdefs.h <<_ACEOF
14690 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14691 _ACEOF
14697 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14698 wine_notices="$wine_notices|libjpeg development files not found.
14699 Wine will be built without JPEG support. (oleaut32.dll)"
14703 if test "$ac_cv_header_png_h" = "yes"
14704 then
14705 { echo "$as_me:$LINENO: checking for -lpng" >&5
14706 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14707 if test "${ac_cv_lib_soname_png+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 ac_check_soname_save_LIBS=$LIBS
14711 LIBS="-lpng $LIBS"
14712 cat >conftest.$ac_ext <<_ACEOF
14713 /* confdefs.h. */
14714 _ACEOF
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14722 #ifdef __cplusplus
14723 extern "C"
14724 #endif
14725 char png_create_read_struct ();
14727 main ()
14729 return png_create_read_struct ();
14731 return 0;
14733 _ACEOF
14734 rm -f conftest.$ac_objext conftest$ac_exeext
14735 if { (ac_try="$ac_link"
14736 case "(($ac_try" in
14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14739 esac
14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_link") 2>conftest.er1
14742 ac_status=$?
14743 grep -v '^ *+' conftest.er1 >conftest.err
14744 rm -f conftest.er1
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest$ac_exeext &&
14751 $as_test_x conftest$ac_exeext; then
14752 case "$LIBEXT" in
14753 dll) ;;
14754 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'` ;;
14755 *) 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'` ;;
14756 esac
14757 else
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14765 conftest$ac_exeext conftest.$ac_ext
14766 LIBS=$ac_check_soname_save_LIBS
14768 if test "x$ac_cv_lib_soname_png" = "x"; then
14769 { echo "$as_me:$LINENO: result: not found" >&5
14770 echo "${ECHO_T}not found" >&6; }
14772 else
14773 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14774 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14776 cat >>confdefs.h <<_ACEOF
14777 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14778 _ACEOF
14784 if test "x$ac_cv_lib_soname_png" = "x"; then
14785 wine_notices="$wine_notices|libpng development files not found.
14786 Wine will be built without PNG support. (oleaut32.dll)"
14790 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14791 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14792 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14793 "$ac_cv_header_soundcard_h" != "yes"; then
14794 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14799 EXTRACFLAGS=""
14801 if test "x${GCC}" = "xyes"
14802 then
14803 EXTRACFLAGS="-Wall -pipe"
14805 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14806 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14807 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810 if test "$cross_compiling" = yes; then
14811 ac_cv_c_gcc_strength_bug="yes"
14812 else
14813 cat >conftest.$ac_ext <<_ACEOF
14814 /* confdefs.h. */
14815 _ACEOF
14816 cat confdefs.h >>conftest.$ac_ext
14817 cat >>conftest.$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 int L[4] = {0,1,2,3};
14821 main ()
14823 static int Array[3];
14824 unsigned int B = 3;
14825 int i;
14826 for(i=0; i<B; i++) Array[i] = i - 3;
14827 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14828 L[i] = 4;
14829 exit( Array[1] != -2 || L[2] != 3)
14831 return 0;
14833 _ACEOF
14834 rm -f conftest$ac_exeext
14835 if { (ac_try="$ac_link"
14836 case "(($ac_try" in
14837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14838 *) ac_try_echo=$ac_try;;
14839 esac
14840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14841 (eval "$ac_link") 2>&5
14842 ac_status=$?
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14845 { (case "(($ac_try" in
14846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14847 *) ac_try_echo=$ac_try;;
14848 esac
14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14850 (eval "$ac_try") 2>&5
14851 ac_status=$?
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_cv_c_gcc_strength_bug="no"
14855 else
14856 echo "$as_me: program exited with status $ac_status" >&5
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.$ac_ext >&5
14860 ( exit $ac_status )
14861 ac_cv_c_gcc_strength_bug="yes"
14863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14868 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14869 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14870 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14871 then
14872 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14876 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14877 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14878 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 else
14881 ac_wine_try_cflags_saved=$CFLAGS
14882 CFLAGS="$CFLAGS -fshort-wchar"
14883 cat >conftest.$ac_ext <<_ACEOF
14884 /* confdefs.h. */
14885 _ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14891 main ()
14895 return 0;
14897 _ACEOF
14898 rm -f conftest.$ac_objext conftest$ac_exeext
14899 if { (ac_try="$ac_link"
14900 case "(($ac_try" in
14901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14903 esac
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_link") 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } && {
14912 test -z "$ac_c_werror_flag" ||
14913 test ! -s conftest.err
14914 } && test -s conftest$ac_exeext &&
14915 $as_test_x conftest$ac_exeext; then
14916 ac_cv_cflags__fshort_wchar=yes
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14921 ac_cv_cflags__fshort_wchar=no
14924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14925 conftest$ac_exeext conftest.$ac_ext
14926 CFLAGS=$ac_wine_try_cflags_saved
14928 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14929 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14930 if test $ac_cv_cflags__fshort_wchar = yes; then
14932 cat >>confdefs.h <<\_ACEOF
14933 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14934 _ACEOF
14938 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14939 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14940 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 ac_wine_try_cflags_saved=$CFLAGS
14944 CFLAGS="$CFLAGS -fno-strict-aliasing"
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14953 main ()
14957 return 0;
14959 _ACEOF
14960 rm -f conftest.$ac_objext conftest$ac_exeext
14961 if { (ac_try="$ac_link"
14962 case "(($ac_try" in
14963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14965 esac
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14968 ac_status=$?
14969 grep -v '^ *+' conftest.er1 >conftest.err
14970 rm -f conftest.er1
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14978 ac_cv_cflags__fno_strict_aliasing=yes
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 ac_cv_cflags__fno_strict_aliasing=no
14986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14987 conftest$ac_exeext conftest.$ac_ext
14988 CFLAGS=$ac_wine_try_cflags_saved
14990 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14991 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14992 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14993 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14996 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14997 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14998 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 ac_wine_try_cflags_saved=$CFLAGS
15002 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h. */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15011 main ()
15015 return 0;
15017 _ACEOF
15018 rm -f conftest.$ac_objext conftest$ac_exeext
15019 if { (ac_try="$ac_link"
15020 case "(($ac_try" in
15021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15022 *) ac_try_echo=$ac_try;;
15023 esac
15024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15025 (eval "$ac_link") 2>conftest.er1
15026 ac_status=$?
15027 grep -v '^ *+' conftest.er1 >conftest.err
15028 rm -f conftest.er1
15029 cat conftest.err >&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } && {
15032 test -z "$ac_c_werror_flag" ||
15033 test ! -s conftest.err
15034 } && test -s conftest$ac_exeext &&
15035 $as_test_x conftest$ac_exeext; then
15036 ac_cv_cflags__Wdeclaration_after_statement=yes
15037 else
15038 echo "$as_me: failed program was:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15041 ac_cv_cflags__Wdeclaration_after_statement=no
15044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15045 conftest$ac_exeext conftest.$ac_ext
15046 CFLAGS=$ac_wine_try_cflags_saved
15048 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15049 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15050 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15051 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15054 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15055 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15056 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 else
15059 ac_wine_try_cflags_saved=$CFLAGS
15060 CFLAGS="$CFLAGS -Wwrite-strings"
15061 cat >conftest.$ac_ext <<_ACEOF
15062 /* confdefs.h. */
15063 _ACEOF
15064 cat confdefs.h >>conftest.$ac_ext
15065 cat >>conftest.$ac_ext <<_ACEOF
15066 /* end confdefs.h. */
15069 main ()
15073 return 0;
15075 _ACEOF
15076 rm -f conftest.$ac_objext conftest$ac_exeext
15077 if { (ac_try="$ac_link"
15078 case "(($ac_try" in
15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15081 esac
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_link") 2>conftest.er1
15084 ac_status=$?
15085 grep -v '^ *+' conftest.er1 >conftest.err
15086 rm -f conftest.er1
15087 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } && {
15090 test -z "$ac_c_werror_flag" ||
15091 test ! -s conftest.err
15092 } && test -s conftest$ac_exeext &&
15093 $as_test_x conftest$ac_exeext; then
15094 ac_cv_cflags__Wwrite_strings=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15099 ac_cv_cflags__Wwrite_strings=no
15102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15103 conftest$ac_exeext conftest.$ac_ext
15104 CFLAGS=$ac_wine_try_cflags_saved
15106 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15107 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15108 if test $ac_cv_cflags__Wwrite_strings = yes; then
15109 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15113 saved_CFLAGS="$CFLAGS"
15114 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15115 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15116 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15117 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 cat >conftest.$ac_ext <<_ACEOF
15121 /* confdefs.h. */
15122 _ACEOF
15123 cat confdefs.h >>conftest.$ac_ext
15124 cat >>conftest.$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 #include <string.h>
15128 main ()
15132 return 0;
15134 _ACEOF
15135 rm -f conftest.$ac_objext
15136 if { (ac_try="$ac_compile"
15137 case "(($ac_try" in
15138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15139 *) ac_try_echo=$ac_try;;
15140 esac
15141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15142 (eval "$ac_compile") 2>conftest.er1
15143 ac_status=$?
15144 grep -v '^ *+' conftest.er1 >conftest.err
15145 rm -f conftest.er1
15146 cat conftest.err >&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); } && {
15149 test -z "$ac_c_werror_flag" ||
15150 test ! -s conftest.err
15151 } && test -s conftest.$ac_objext; then
15152 ac_cv_c_string_h_warnings=no
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15157 ac_cv_c_string_h_warnings=yes
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15163 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15164 CFLAGS="$saved_CFLAGS"
15165 if test "$ac_cv_c_string_h_warnings" = "no"
15166 then
15167 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15170 BUILTINFLAG=""
15172 saved_CFLAGS="$CFLAGS"
15173 CFLAGS="$CFLAGS -Werror"
15174 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15175 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15176 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15178 else
15179 cat >conftest.$ac_ext <<_ACEOF
15180 /* confdefs.h. */
15181 _ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15187 main ()
15189 int iswlower(unsigned short);
15191 return 0;
15193 _ACEOF
15194 rm -f conftest.$ac_objext
15195 if { (ac_try="$ac_compile"
15196 case "(($ac_try" in
15197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15198 *) ac_try_echo=$ac_try;;
15199 esac
15200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15201 (eval "$ac_compile") 2>conftest.er1
15202 ac_status=$?
15203 grep -v '^ *+' conftest.er1 >conftest.err
15204 rm -f conftest.er1
15205 cat conftest.err >&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } && {
15208 test -z "$ac_c_werror_flag" ||
15209 test ! -s conftest.err
15210 } && test -s conftest.$ac_objext; then
15211 ac_cv_c_builtin_wchar_ctype=no
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15216 ac_cv_c_builtin_wchar_ctype=yes
15219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15221 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15222 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15223 CFLAGS="$saved_CFLAGS"
15224 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15225 then
15226 BUILTINFLAG="-fno-builtin"
15231 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15232 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15233 if test "${ac_cv_asm_func_def+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 else
15236 cat >conftest.$ac_ext <<_ACEOF
15237 /* confdefs.h. */
15238 _ACEOF
15239 cat confdefs.h >>conftest.$ac_ext
15240 cat >>conftest.$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15244 main ()
15246 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15248 return 0;
15250 _ACEOF
15251 rm -f conftest.$ac_objext conftest$ac_exeext
15252 if { (ac_try="$ac_link"
15253 case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15256 esac
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_link") 2>conftest.er1
15259 ac_status=$?
15260 grep -v '^ *+' conftest.er1 >conftest.err
15261 rm -f conftest.er1
15262 cat conftest.err >&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } && {
15265 test -z "$ac_c_werror_flag" ||
15266 test ! -s conftest.err
15267 } && test -s conftest$ac_exeext &&
15268 $as_test_x conftest$ac_exeext; then
15269 ac_cv_asm_func_def=".def"
15270 else
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.$ac_ext >&5
15274 cat >conftest.$ac_ext <<_ACEOF
15275 /* confdefs.h. */
15276 _ACEOF
15277 cat confdefs.h >>conftest.$ac_ext
15278 cat >>conftest.$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15282 main ()
15284 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15286 return 0;
15288 _ACEOF
15289 rm -f conftest.$ac_objext conftest$ac_exeext
15290 if { (ac_try="$ac_link"
15291 case "(($ac_try" in
15292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15293 *) ac_try_echo=$ac_try;;
15294 esac
15295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15296 (eval "$ac_link") 2>conftest.er1
15297 ac_status=$?
15298 grep -v '^ *+' conftest.er1 >conftest.err
15299 rm -f conftest.er1
15300 cat conftest.err >&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } && {
15303 test -z "$ac_c_werror_flag" ||
15304 test ! -s conftest.err
15305 } && test -s conftest$ac_exeext &&
15306 $as_test_x conftest$ac_exeext; then
15307 ac_cv_asm_func_def=".type @function"
15308 else
15309 echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.$ac_ext >&5
15312 cat >conftest.$ac_ext <<_ACEOF
15313 /* confdefs.h. */
15314 _ACEOF
15315 cat confdefs.h >>conftest.$ac_ext
15316 cat >>conftest.$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15320 main ()
15322 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15324 return 0;
15326 _ACEOF
15327 rm -f conftest.$ac_objext conftest$ac_exeext
15328 if { (ac_try="$ac_link"
15329 case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15332 esac
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_link") 2>conftest.er1
15335 ac_status=$?
15336 grep -v '^ *+' conftest.er1 >conftest.err
15337 rm -f conftest.er1
15338 cat conftest.err >&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); } && {
15341 test -z "$ac_c_werror_flag" ||
15342 test ! -s conftest.err
15343 } && test -s conftest$ac_exeext &&
15344 $as_test_x conftest$ac_exeext; then
15345 ac_cv_asm_func_def=".type 2"
15346 else
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ac_cv_asm_func_def="unknown"
15353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15354 conftest$ac_exeext conftest.$ac_ext
15357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15358 conftest$ac_exeext conftest.$ac_ext
15361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15362 conftest$ac_exeext conftest.$ac_ext
15364 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15365 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15369 case "$ac_cv_asm_func_def" in
15370 ".def")
15371 cat >>confdefs.h <<\_ACEOF
15372 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15373 _ACEOF
15375 ".type @function")
15376 cat >>confdefs.h <<\_ACEOF
15377 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15378 _ACEOF
15380 ".type 2")
15381 cat >>confdefs.h <<\_ACEOF
15382 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15383 _ACEOF
15386 cat >>confdefs.h <<\_ACEOF
15387 #define __ASM_FUNC(name) ""
15388 _ACEOF
15390 esac
15393 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15394 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15395 if test "${ac_cv_c_extern_prefix+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 cat >conftest.$ac_ext <<_ACEOF
15399 /* confdefs.h. */
15400 _ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404 extern int ac_test;
15406 main ()
15408 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15410 return 0;
15412 _ACEOF
15413 rm -f conftest.$ac_objext conftest$ac_exeext
15414 if { (ac_try="$ac_link"
15415 case "(($ac_try" in
15416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15417 *) ac_try_echo=$ac_try;;
15418 esac
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_link") 2>conftest.er1
15421 ac_status=$?
15422 grep -v '^ *+' conftest.er1 >conftest.err
15423 rm -f conftest.er1
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } && {
15427 test -z "$ac_c_werror_flag" ||
15428 test ! -s conftest.err
15429 } && test -s conftest$ac_exeext &&
15430 $as_test_x conftest$ac_exeext; then
15431 ac_cv_c_extern_prefix="yes"
15432 else
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15436 ac_cv_c_extern_prefix="no"
15439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15440 conftest$ac_exeext conftest.$ac_ext
15442 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15443 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15447 if test "$ac_cv_c_extern_prefix" = "yes"
15448 then
15449 cat >>confdefs.h <<\_ACEOF
15450 #define __ASM_NAME(name) "_" name
15451 _ACEOF
15453 else
15454 cat >>confdefs.h <<\_ACEOF
15455 #define __ASM_NAME(name) name
15456 _ACEOF
15461 LDPATH=""
15463 case $build_os in
15464 cygwin*|mingw32*)
15465 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15467 darwin*|macosx*)
15469 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15470 then
15471 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15475 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15477 esac
15479 case $host_os in
15480 mingw32*)
15481 CRTLIBS="-lmsvcrt"
15483 SOCKETLIBS="-lws2_32"
15486 esac
15488 MAIN_BINARY="wine-pthread"
15489 case $host_cpu in
15490 *i[3456789]86*)
15491 case $host_os in
15492 linux* | k*bsd*-gnu)
15493 MAIN_BINARY="wine-glibc"
15495 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15497 esac
15499 esac
15563 for ac_func in \
15564 _pclose \
15565 _popen \
15566 _snprintf \
15567 _spawnvp \
15568 _stricmp \
15569 _strnicmp \
15570 _vsnprintf \
15571 asctime_r \
15572 chsize \
15573 clone \
15574 dlopen \
15575 epoll_create \
15576 ffs \
15577 finite \
15578 fork \
15579 fpclass \
15580 fstatfs \
15581 fstatvfs \
15582 ftruncate \
15583 futimes \
15584 futimesat \
15585 getdirentries \
15586 getopt_long \
15587 getpagesize \
15588 getpwuid \
15589 gettid \
15590 gettimeofday \
15591 getuid \
15592 inet_pton \
15593 kqueue \
15594 lstat \
15595 memmove \
15596 mmap \
15597 pclose \
15598 poll \
15599 popen \
15600 prctl \
15601 pread \
15602 pwrite \
15603 readlink \
15604 rfork \
15605 sched_yield \
15606 select \
15607 setrlimit \
15608 settimeofday \
15609 sigaltstack \
15610 sigprocmask \
15611 snprintf \
15612 spawnvp \
15613 statfs \
15614 statvfs \
15615 strcasecmp \
15616 strerror \
15617 strncasecmp \
15618 strtold \
15619 tcgetattr \
15620 timegm \
15621 usleep \
15622 vsnprintf \
15623 wait4 \
15624 waitpid \
15627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 else
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15641 #define $ac_func innocuous_$ac_func
15643 /* System header to define __stub macros and hopefully few prototypes,
15644 which can conflict with char $ac_func (); below.
15645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15646 <limits.h> exists even on freestanding compilers. */
15648 #ifdef __STDC__
15649 # include <limits.h>
15650 #else
15651 # include <assert.h>
15652 #endif
15654 #undef $ac_func
15656 /* Override any GCC internal prototype to avoid an error.
15657 Use char because int might match the return type of a GCC
15658 builtin and then its argument prototype would still apply. */
15659 #ifdef __cplusplus
15660 extern "C"
15661 #endif
15662 char $ac_func ();
15663 /* The GNU C library defines this for functions which it implements
15664 to always fail with ENOSYS. Some functions are actually named
15665 something starting with __ and the normal name is an alias. */
15666 #if defined __stub_$ac_func || defined __stub___$ac_func
15667 choke me
15668 #endif
15671 main ()
15673 return $ac_func ();
15675 return 0;
15677 _ACEOF
15678 rm -f conftest.$ac_objext conftest$ac_exeext
15679 if { (ac_try="$ac_link"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15683 esac
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_link") 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_c_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest$ac_exeext &&
15695 $as_test_x conftest$ac_exeext; then
15696 eval "$as_ac_var=yes"
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15701 eval "$as_ac_var=no"
15704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15705 conftest$ac_exeext conftest.$ac_ext
15707 ac_res=`eval echo '${'$as_ac_var'}'`
15708 { echo "$as_me:$LINENO: result: $ac_res" >&5
15709 echo "${ECHO_T}$ac_res" >&6; }
15710 if test `eval echo '${'$as_ac_var'}'` = yes; then
15711 cat >>confdefs.h <<_ACEOF
15712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15713 _ACEOF
15716 done
15719 if test "$ac_cv_func_dlopen" = no
15720 then
15721 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15722 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15723 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 else
15726 ac_check_lib_save_LIBS=$LIBS
15727 LIBS="-ldl $LIBS"
15728 cat >conftest.$ac_ext <<_ACEOF
15729 /* confdefs.h. */
15730 _ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15735 /* Override any GCC internal prototype to avoid an error.
15736 Use char because int might match the return type of a GCC
15737 builtin and then its argument prototype would still apply. */
15738 #ifdef __cplusplus
15739 extern "C"
15740 #endif
15741 char dlopen ();
15743 main ()
15745 return dlopen ();
15747 return 0;
15749 _ACEOF
15750 rm -f conftest.$ac_objext conftest$ac_exeext
15751 if { (ac_try="$ac_link"
15752 case "(($ac_try" in
15753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15755 esac
15756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_link") 2>conftest.er1
15758 ac_status=$?
15759 grep -v '^ *+' conftest.er1 >conftest.err
15760 rm -f conftest.er1
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_c_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest$ac_exeext &&
15767 $as_test_x conftest$ac_exeext; then
15768 ac_cv_lib_dl_dlopen=yes
15769 else
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15773 ac_cv_lib_dl_dlopen=no
15776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15777 conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_lib_save_LIBS
15780 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15781 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15782 if test $ac_cv_lib_dl_dlopen = yes; then
15783 cat >>confdefs.h <<\_ACEOF
15784 #define HAVE_DLOPEN 1
15785 _ACEOF
15786 LIBDL="-ldl"
15791 ac_wine_check_funcs_save_LIBS="$LIBS"
15792 LIBS="$LIBS $LIBDL"
15794 for ac_func in dladdr
15796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15810 #define $ac_func innocuous_$ac_func
15812 /* System header to define __stub macros and hopefully few prototypes,
15813 which can conflict with char $ac_func (); below.
15814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815 <limits.h> exists even on freestanding compilers. */
15817 #ifdef __STDC__
15818 # include <limits.h>
15819 #else
15820 # include <assert.h>
15821 #endif
15823 #undef $ac_func
15825 /* Override any GCC internal prototype to avoid an error.
15826 Use char because int might match the return type of a GCC
15827 builtin and then its argument prototype would still apply. */
15828 #ifdef __cplusplus
15829 extern "C"
15830 #endif
15831 char $ac_func ();
15832 /* The GNU C library defines this for functions which it implements
15833 to always fail with ENOSYS. Some functions are actually named
15834 something starting with __ and the normal name is an alias. */
15835 #if defined __stub_$ac_func || defined __stub___$ac_func
15836 choke me
15837 #endif
15840 main ()
15842 return $ac_func ();
15844 return 0;
15846 _ACEOF
15847 rm -f conftest.$ac_objext conftest$ac_exeext
15848 if { (ac_try="$ac_link"
15849 case "(($ac_try" in
15850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15851 *) ac_try_echo=$ac_try;;
15852 esac
15853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15854 (eval "$ac_link") 2>conftest.er1
15855 ac_status=$?
15856 grep -v '^ *+' conftest.er1 >conftest.err
15857 rm -f conftest.er1
15858 cat conftest.err >&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } && {
15861 test -z "$ac_c_werror_flag" ||
15862 test ! -s conftest.err
15863 } && test -s conftest$ac_exeext &&
15864 $as_test_x conftest$ac_exeext; then
15865 eval "$as_ac_var=yes"
15866 else
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15870 eval "$as_ac_var=no"
15873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15874 conftest$ac_exeext conftest.$ac_ext
15876 ac_res=`eval echo '${'$as_ac_var'}'`
15877 { echo "$as_me:$LINENO: result: $ac_res" >&5
15878 echo "${ECHO_T}$ac_res" >&6; }
15879 if test `eval echo '${'$as_ac_var'}'` = yes; then
15880 cat >>confdefs.h <<_ACEOF
15881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15882 _ACEOF
15885 done
15887 LIBS="$ac_wine_check_funcs_save_LIBS"
15889 if test "$ac_cv_func_poll" = no
15890 then
15891 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15892 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15893 if test "${ac_cv_lib_poll_poll+set}" = set; then
15894 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 else
15896 ac_check_lib_save_LIBS=$LIBS
15897 LIBS="-lpoll $LIBS"
15898 cat >conftest.$ac_ext <<_ACEOF
15899 /* confdefs.h. */
15900 _ACEOF
15901 cat confdefs.h >>conftest.$ac_ext
15902 cat >>conftest.$ac_ext <<_ACEOF
15903 /* end confdefs.h. */
15905 /* Override any GCC internal prototype to avoid an error.
15906 Use char because int might match the return type of a GCC
15907 builtin and then its argument prototype would still apply. */
15908 #ifdef __cplusplus
15909 extern "C"
15910 #endif
15911 char poll ();
15913 main ()
15915 return poll ();
15917 return 0;
15919 _ACEOF
15920 rm -f conftest.$ac_objext conftest$ac_exeext
15921 if { (ac_try="$ac_link"
15922 case "(($ac_try" in
15923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924 *) ac_try_echo=$ac_try;;
15925 esac
15926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15927 (eval "$ac_link") 2>conftest.er1
15928 ac_status=$?
15929 grep -v '^ *+' conftest.er1 >conftest.err
15930 rm -f conftest.er1
15931 cat conftest.err >&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } && {
15934 test -z "$ac_c_werror_flag" ||
15935 test ! -s conftest.err
15936 } && test -s conftest$ac_exeext &&
15937 $as_test_x conftest$ac_exeext; then
15938 ac_cv_lib_poll_poll=yes
15939 else
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 ac_cv_lib_poll_poll=no
15946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15947 conftest$ac_exeext conftest.$ac_ext
15948 LIBS=$ac_check_lib_save_LIBS
15950 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
15951 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
15952 if test $ac_cv_lib_poll_poll = yes; then
15953 cat >>confdefs.h <<\_ACEOF
15954 #define HAVE_POLL 1
15955 _ACEOF
15956 LIBPOLL="-lpoll"
15962 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
15963 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
15964 if test "${ac_cv_search_gethostbyname+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15966 else
15967 ac_func_search_save_LIBS=$LIBS
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15978 #ifdef __cplusplus
15979 extern "C"
15980 #endif
15981 char gethostbyname ();
15983 main ()
15985 return gethostbyname ();
15987 return 0;
15989 _ACEOF
15990 for ac_lib in '' nsl; do
15991 if test -z "$ac_lib"; then
15992 ac_res="none required"
15993 else
15994 ac_res=-l$ac_lib
15995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15997 rm -f conftest.$ac_objext conftest$ac_exeext
15998 if { (ac_try="$ac_link"
15999 case "(($ac_try" in
16000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16002 esac
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_link") 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_c_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest$ac_exeext &&
16014 $as_test_x conftest$ac_exeext; then
16015 ac_cv_search_gethostbyname=$ac_res
16016 else
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.$ac_ext >&5
16023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024 conftest$ac_exeext
16025 if test "${ac_cv_search_gethostbyname+set}" = set; then
16026 break
16028 done
16029 if test "${ac_cv_search_gethostbyname+set}" = set; then
16031 else
16032 ac_cv_search_gethostbyname=no
16034 rm conftest.$ac_ext
16035 LIBS=$ac_func_search_save_LIBS
16037 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16038 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16039 ac_res=$ac_cv_search_gethostbyname
16040 if test "$ac_res" != no; then
16041 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16046 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16047 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16048 if test "${ac_cv_search_connect+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 else
16051 ac_func_search_save_LIBS=$LIBS
16052 cat >conftest.$ac_ext <<_ACEOF
16053 /* confdefs.h. */
16054 _ACEOF
16055 cat confdefs.h >>conftest.$ac_ext
16056 cat >>conftest.$ac_ext <<_ACEOF
16057 /* end confdefs.h. */
16059 /* Override any GCC internal prototype to avoid an error.
16060 Use char because int might match the return type of a GCC
16061 builtin and then its argument prototype would still apply. */
16062 #ifdef __cplusplus
16063 extern "C"
16064 #endif
16065 char connect ();
16067 main ()
16069 return connect ();
16071 return 0;
16073 _ACEOF
16074 for ac_lib in '' socket; do
16075 if test -z "$ac_lib"; then
16076 ac_res="none required"
16077 else
16078 ac_res=-l$ac_lib
16079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16081 rm -f conftest.$ac_objext conftest$ac_exeext
16082 if { (ac_try="$ac_link"
16083 case "(($ac_try" in
16084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16085 *) ac_try_echo=$ac_try;;
16086 esac
16087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16088 (eval "$ac_link") 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } && {
16095 test -z "$ac_c_werror_flag" ||
16096 test ! -s conftest.err
16097 } && test -s conftest$ac_exeext &&
16098 $as_test_x conftest$ac_exeext; then
16099 ac_cv_search_connect=$ac_res
16100 else
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16108 conftest$ac_exeext
16109 if test "${ac_cv_search_connect+set}" = set; then
16110 break
16112 done
16113 if test "${ac_cv_search_connect+set}" = set; then
16115 else
16116 ac_cv_search_connect=no
16118 rm conftest.$ac_ext
16119 LIBS=$ac_func_search_save_LIBS
16121 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16122 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16123 ac_res=$ac_cv_search_connect
16124 if test "$ac_res" != no; then
16125 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16130 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16131 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16132 if test "${ac_cv_search_inet_aton+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 else
16135 ac_func_search_save_LIBS=$LIBS
16136 cat >conftest.$ac_ext <<_ACEOF
16137 /* confdefs.h. */
16138 _ACEOF
16139 cat confdefs.h >>conftest.$ac_ext
16140 cat >>conftest.$ac_ext <<_ACEOF
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char inet_aton ();
16151 main ()
16153 return inet_aton ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' resolv; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (ac_try="$ac_link"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_link") 2>conftest.er1
16173 ac_status=$?
16174 grep -v '^ *+' conftest.er1 >conftest.err
16175 rm -f conftest.er1
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest$ac_exeext &&
16182 $as_test_x conftest$ac_exeext; then
16183 ac_cv_search_inet_aton=$ac_res
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16192 conftest$ac_exeext
16193 if test "${ac_cv_search_inet_aton+set}" = set; then
16194 break
16196 done
16197 if test "${ac_cv_search_inet_aton+set}" = set; then
16199 else
16200 ac_cv_search_inet_aton=no
16202 rm conftest.$ac_ext
16203 LIBS=$ac_func_search_save_LIBS
16205 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16206 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16207 ac_res=$ac_cv_search_inet_aton
16208 if test "$ac_res" != no; then
16209 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16222 for ac_func in \
16223 getaddrinfo \
16224 getnameinfo \
16225 getnetbyname \
16226 getprotobyname \
16227 getprotobynumber \
16228 getservbyport \
16229 inet_network \
16230 sendmsg \
16233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 else
16239 cat >conftest.$ac_ext <<_ACEOF
16240 /* confdefs.h. */
16241 _ACEOF
16242 cat confdefs.h >>conftest.$ac_ext
16243 cat >>conftest.$ac_ext <<_ACEOF
16244 /* end confdefs.h. */
16245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16247 #define $ac_func innocuous_$ac_func
16249 /* System header to define __stub macros and hopefully few prototypes,
16250 which can conflict with char $ac_func (); below.
16251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16252 <limits.h> exists even on freestanding compilers. */
16254 #ifdef __STDC__
16255 # include <limits.h>
16256 #else
16257 # include <assert.h>
16258 #endif
16260 #undef $ac_func
16262 /* Override any GCC internal prototype to avoid an error.
16263 Use char because int might match the return type of a GCC
16264 builtin and then its argument prototype would still apply. */
16265 #ifdef __cplusplus
16266 extern "C"
16267 #endif
16268 char $ac_func ();
16269 /* The GNU C library defines this for functions which it implements
16270 to always fail with ENOSYS. Some functions are actually named
16271 something starting with __ and the normal name is an alias. */
16272 #if defined __stub_$ac_func || defined __stub___$ac_func
16273 choke me
16274 #endif
16277 main ()
16279 return $ac_func ();
16281 return 0;
16283 _ACEOF
16284 rm -f conftest.$ac_objext conftest$ac_exeext
16285 if { (ac_try="$ac_link"
16286 case "(($ac_try" in
16287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16288 *) ac_try_echo=$ac_try;;
16289 esac
16290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16291 (eval "$ac_link") 2>conftest.er1
16292 ac_status=$?
16293 grep -v '^ *+' conftest.er1 >conftest.err
16294 rm -f conftest.er1
16295 cat conftest.err >&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); } && {
16298 test -z "$ac_c_werror_flag" ||
16299 test ! -s conftest.err
16300 } && test -s conftest$ac_exeext &&
16301 $as_test_x conftest$ac_exeext; then
16302 eval "$as_ac_var=yes"
16303 else
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16307 eval "$as_ac_var=no"
16310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16311 conftest$ac_exeext conftest.$ac_ext
16313 ac_res=`eval echo '${'$as_ac_var'}'`
16314 { echo "$as_me:$LINENO: result: $ac_res" >&5
16315 echo "${ECHO_T}$ac_res" >&6; }
16316 if test `eval echo '${'$as_ac_var'}'` = yes; then
16317 cat >>confdefs.h <<_ACEOF
16318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16319 _ACEOF
16322 done
16326 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16327 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16328 if test "${ac_cv_c_const+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 cat >conftest.$ac_ext <<_ACEOF
16332 /* confdefs.h. */
16333 _ACEOF
16334 cat confdefs.h >>conftest.$ac_ext
16335 cat >>conftest.$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16339 main ()
16341 /* FIXME: Include the comments suggested by Paul. */
16342 #ifndef __cplusplus
16343 /* Ultrix mips cc rejects this. */
16344 typedef int charset[2];
16345 const charset cs;
16346 /* SunOS 4.1.1 cc rejects this. */
16347 char const *const *pcpcc;
16348 char **ppc;
16349 /* NEC SVR4.0.2 mips cc rejects this. */
16350 struct point {int x, y;};
16351 static struct point const zero = {0,0};
16352 /* AIX XL C 1.02.0.0 rejects this.
16353 It does not let you subtract one const X* pointer from another in
16354 an arm of an if-expression whose if-part is not a constant
16355 expression */
16356 const char *g = "string";
16357 pcpcc = &g + (g ? g-g : 0);
16358 /* HPUX 7.0 cc rejects these. */
16359 ++pcpcc;
16360 ppc = (char**) pcpcc;
16361 pcpcc = (char const *const *) ppc;
16362 { /* SCO 3.2v4 cc rejects this. */
16363 char *t;
16364 char const *s = 0 ? (char *) 0 : (char const *) 0;
16366 *t++ = 0;
16367 if (s) return 0;
16369 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16370 int x[] = {25, 17};
16371 const int *foo = &x[0];
16372 ++foo;
16374 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16375 typedef const int *iptr;
16376 iptr p = 0;
16377 ++p;
16379 { /* AIX XL C 1.02.0.0 rejects this saying
16380 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16381 struct s { int j; const int *ap[3]; };
16382 struct s *b; b->j = 5;
16384 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16385 const int foo = 10;
16386 if (!foo) return 0;
16388 return !cs[0] && !zero.x;
16389 #endif
16392 return 0;
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (ac_try="$ac_compile"
16397 case "(($ac_try" in
16398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16400 esac
16401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16402 (eval "$ac_compile") 2>conftest.er1
16403 ac_status=$?
16404 grep -v '^ *+' conftest.er1 >conftest.err
16405 rm -f conftest.er1
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } && {
16409 test -z "$ac_c_werror_flag" ||
16410 test ! -s conftest.err
16411 } && test -s conftest.$ac_objext; then
16412 ac_cv_c_const=yes
16413 else
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16417 ac_cv_c_const=no
16420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16422 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16423 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16424 if test $ac_cv_c_const = no; then
16426 cat >>confdefs.h <<\_ACEOF
16427 #define const
16428 _ACEOF
16432 { echo "$as_me:$LINENO: checking for inline" >&5
16433 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16434 if test "${ac_cv_c_inline+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 ac_cv_c_inline=no
16438 for ac_kw in inline __inline__ __inline; do
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 #ifndef __cplusplus
16446 typedef int foo_t;
16447 static $ac_kw foo_t static_foo () {return 0; }
16448 $ac_kw foo_t foo () {return 0; }
16449 #endif
16451 _ACEOF
16452 rm -f conftest.$ac_objext
16453 if { (ac_try="$ac_compile"
16454 case "(($ac_try" in
16455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16456 *) ac_try_echo=$ac_try;;
16457 esac
16458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459 (eval "$ac_compile") 2>conftest.er1
16460 ac_status=$?
16461 grep -v '^ *+' conftest.er1 >conftest.err
16462 rm -f conftest.er1
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } && {
16466 test -z "$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16468 } && test -s conftest.$ac_objext; then
16469 ac_cv_c_inline=$ac_kw
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 test "$ac_cv_c_inline" != no && break
16479 done
16482 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16483 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16486 case $ac_cv_c_inline in
16487 inline | yes) ;;
16489 case $ac_cv_c_inline in
16490 no) ac_val=;;
16491 *) ac_val=$ac_cv_c_inline;;
16492 esac
16493 cat >>confdefs.h <<_ACEOF
16494 #ifndef __cplusplus
16495 #define inline $ac_val
16496 #endif
16497 _ACEOF
16499 esac
16501 { echo "$as_me:$LINENO: checking for mode_t" >&5
16502 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16503 if test "${ac_cv_type_mode_t+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 else
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 $ac_includes_default
16513 typedef mode_t ac__type_new_;
16515 main ()
16517 if ((ac__type_new_ *) 0)
16518 return 0;
16519 if (sizeof (ac__type_new_))
16520 return 0;
16522 return 0;
16524 _ACEOF
16525 rm -f conftest.$ac_objext
16526 if { (ac_try="$ac_compile"
16527 case "(($ac_try" in
16528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16529 *) ac_try_echo=$ac_try;;
16530 esac
16531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16532 (eval "$ac_compile") 2>conftest.er1
16533 ac_status=$?
16534 grep -v '^ *+' conftest.er1 >conftest.err
16535 rm -f conftest.er1
16536 cat conftest.err >&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } && {
16539 test -z "$ac_c_werror_flag" ||
16540 test ! -s conftest.err
16541 } && test -s conftest.$ac_objext; then
16542 ac_cv_type_mode_t=yes
16543 else
16544 echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.$ac_ext >&5
16547 ac_cv_type_mode_t=no
16550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16553 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16554 if test $ac_cv_type_mode_t = yes; then
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_MODE_T 1
16558 _ACEOF
16562 { echo "$as_me:$LINENO: checking for off_t" >&5
16563 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16564 if test "${ac_cv_type_off_t+set}" = set; then
16565 echo $ECHO_N "(cached) $ECHO_C" >&6
16566 else
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 $ac_includes_default
16574 typedef off_t ac__type_new_;
16576 main ()
16578 if ((ac__type_new_ *) 0)
16579 return 0;
16580 if (sizeof (ac__type_new_))
16581 return 0;
16583 return 0;
16585 _ACEOF
16586 rm -f conftest.$ac_objext
16587 if { (ac_try="$ac_compile"
16588 case "(($ac_try" in
16589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16591 esac
16592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16593 (eval "$ac_compile") 2>conftest.er1
16594 ac_status=$?
16595 grep -v '^ *+' conftest.er1 >conftest.err
16596 rm -f conftest.er1
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } && {
16600 test -z "$ac_c_werror_flag" ||
16601 test ! -s conftest.err
16602 } && test -s conftest.$ac_objext; then
16603 ac_cv_type_off_t=yes
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16608 ac_cv_type_off_t=no
16611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16614 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16615 if test $ac_cv_type_off_t = yes; then
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_OFF_T 1
16619 _ACEOF
16623 { echo "$as_me:$LINENO: checking for pid_t" >&5
16624 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16625 if test "${ac_cv_type_pid_t+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 else
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16635 typedef pid_t ac__type_new_;
16637 main ()
16639 if ((ac__type_new_ *) 0)
16640 return 0;
16641 if (sizeof (ac__type_new_))
16642 return 0;
16644 return 0;
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 ac_cv_type_pid_t=yes
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16669 ac_cv_type_pid_t=no
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16675 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16676 if test $ac_cv_type_pid_t = yes; then
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_PID_T 1
16680 _ACEOF
16684 { echo "$as_me:$LINENO: checking for size_t" >&5
16685 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16686 if test "${ac_cv_type_size_t+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 typedef size_t ac__type_new_;
16698 main ()
16700 if ((ac__type_new_ *) 0)
16701 return 0;
16702 if (sizeof (ac__type_new_))
16703 return 0;
16705 return 0;
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (ac_try="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713 esac
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_c_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.$ac_objext; then
16725 ac_cv_type_size_t=yes
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 ac_cv_type_size_t=no
16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16736 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16737 if test $ac_cv_type_size_t = yes; then
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_SIZE_T 1
16741 _ACEOF
16745 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16746 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16747 if test "${ac_cv_type_ssize_t+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 else
16750 cat >conftest.$ac_ext <<_ACEOF
16751 /* confdefs.h. */
16752 _ACEOF
16753 cat confdefs.h >>conftest.$ac_ext
16754 cat >>conftest.$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16756 $ac_includes_default
16757 typedef ssize_t ac__type_new_;
16759 main ()
16761 if ((ac__type_new_ *) 0)
16762 return 0;
16763 if (sizeof (ac__type_new_))
16764 return 0;
16766 return 0;
16768 _ACEOF
16769 rm -f conftest.$ac_objext
16770 if { (ac_try="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16773 *) ac_try_echo=$ac_try;;
16774 esac
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16777 ac_status=$?
16778 grep -v '^ *+' conftest.er1 >conftest.err
16779 rm -f conftest.er1
16780 cat conftest.err >&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_c_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.$ac_objext; then
16786 ac_cv_type_ssize_t=yes
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16791 ac_cv_type_ssize_t=no
16794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16797 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16798 if test $ac_cv_type_ssize_t = yes; then
16800 cat >>confdefs.h <<_ACEOF
16801 #define HAVE_SSIZE_T 1
16802 _ACEOF
16806 { echo "$as_me:$LINENO: checking for long long" >&5
16807 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16808 if test "${ac_cv_type_long_long+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. */
16817 $ac_includes_default
16818 typedef long long ac__type_new_;
16820 main ()
16822 if ((ac__type_new_ *) 0)
16823 return 0;
16824 if (sizeof (ac__type_new_))
16825 return 0;
16827 return 0;
16829 _ACEOF
16830 rm -f conftest.$ac_objext
16831 if { (ac_try="$ac_compile"
16832 case "(($ac_try" in
16833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16835 esac
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_compile") 2>conftest.er1
16838 ac_status=$?
16839 grep -v '^ *+' conftest.er1 >conftest.err
16840 rm -f conftest.er1
16841 cat conftest.err >&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } && {
16844 test -z "$ac_c_werror_flag" ||
16845 test ! -s conftest.err
16846 } && test -s conftest.$ac_objext; then
16847 ac_cv_type_long_long=yes
16848 else
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16852 ac_cv_type_long_long=no
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16858 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16859 if test $ac_cv_type_long_long = yes; then
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_LONG_LONG 1
16863 _ACEOF
16867 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16868 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16869 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 else
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 $ac_includes_default
16879 typedef fsblkcnt_t ac__type_new_;
16881 main ()
16883 if ((ac__type_new_ *) 0)
16884 return 0;
16885 if (sizeof (ac__type_new_))
16886 return 0;
16888 return 0;
16890 _ACEOF
16891 rm -f conftest.$ac_objext
16892 if { (ac_try="$ac_compile"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16896 esac
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compile") 2>conftest.er1
16899 ac_status=$?
16900 grep -v '^ *+' conftest.er1 >conftest.err
16901 rm -f conftest.er1
16902 cat conftest.err >&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } && {
16905 test -z "$ac_c_werror_flag" ||
16906 test ! -s conftest.err
16907 } && test -s conftest.$ac_objext; then
16908 ac_cv_type_fsblkcnt_t=yes
16909 else
16910 echo "$as_me: failed program was:" >&5
16911 sed 's/^/| /' conftest.$ac_ext >&5
16913 ac_cv_type_fsblkcnt_t=no
16916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16919 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16920 if test $ac_cv_type_fsblkcnt_t = yes; then
16922 cat >>confdefs.h <<_ACEOF
16923 #define HAVE_FSBLKCNT_T 1
16924 _ACEOF
16928 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16929 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16930 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16931 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 else
16933 cat >conftest.$ac_ext <<_ACEOF
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16940 typedef fsfilcnt_t ac__type_new_;
16942 main ()
16944 if ((ac__type_new_ *) 0)
16945 return 0;
16946 if (sizeof (ac__type_new_))
16947 return 0;
16949 return 0;
16951 _ACEOF
16952 rm -f conftest.$ac_objext
16953 if { (ac_try="$ac_compile"
16954 case "(($ac_try" in
16955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16956 *) ac_try_echo=$ac_try;;
16957 esac
16958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16959 (eval "$ac_compile") 2>conftest.er1
16960 ac_status=$?
16961 grep -v '^ *+' conftest.er1 >conftest.err
16962 rm -f conftest.er1
16963 cat conftest.err >&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } && {
16966 test -z "$ac_c_werror_flag" ||
16967 test ! -s conftest.err
16968 } && test -s conftest.$ac_objext; then
16969 ac_cv_type_fsfilcnt_t=yes
16970 else
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16974 ac_cv_type_fsfilcnt_t=no
16977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16980 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
16981 if test $ac_cv_type_fsfilcnt_t = yes; then
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_FSFILCNT_T 1
16985 _ACEOF
16990 { echo "$as_me:$LINENO: checking for sigset_t" >&5
16991 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
16992 if test "${ac_cv_type_sigset_t+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 else
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <signal.h>
17003 typedef sigset_t ac__type_new_;
17005 main ()
17007 if ((ac__type_new_ *) 0)
17008 return 0;
17009 if (sizeof (ac__type_new_))
17010 return 0;
17012 return 0;
17014 _ACEOF
17015 rm -f conftest.$ac_objext
17016 if { (ac_try="$ac_compile"
17017 case "(($ac_try" in
17018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17020 esac
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_compile") 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } && {
17029 test -z "$ac_c_werror_flag" ||
17030 test ! -s conftest.err
17031 } && test -s conftest.$ac_objext; then
17032 ac_cv_type_sigset_t=yes
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 ac_cv_type_sigset_t=no
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17043 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17044 if test $ac_cv_type_sigset_t = yes; then
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_SIGSET_T 1
17048 _ACEOF
17053 { echo "$as_me:$LINENO: checking for request_sense" >&5
17054 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17055 if test "${ac_cv_type_request_sense+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 else
17058 cat >conftest.$ac_ext <<_ACEOF
17059 /* confdefs.h. */
17060 _ACEOF
17061 cat confdefs.h >>conftest.$ac_ext
17062 cat >>conftest.$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17064 #include <linux/cdrom.h>
17066 typedef request_sense ac__type_new_;
17068 main ()
17070 if ((ac__type_new_ *) 0)
17071 return 0;
17072 if (sizeof (ac__type_new_))
17073 return 0;
17075 return 0;
17077 _ACEOF
17078 rm -f conftest.$ac_objext
17079 if { (ac_try="$ac_compile"
17080 case "(($ac_try" in
17081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17082 *) ac_try_echo=$ac_try;;
17083 esac
17084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17085 (eval "$ac_compile") 2>conftest.er1
17086 ac_status=$?
17087 grep -v '^ *+' conftest.er1 >conftest.err
17088 rm -f conftest.er1
17089 cat conftest.err >&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } && {
17092 test -z "$ac_c_werror_flag" ||
17093 test ! -s conftest.err
17094 } && test -s conftest.$ac_objext; then
17095 ac_cv_type_request_sense=yes
17096 else
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 ac_cv_type_request_sense=no
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17105 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17106 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17107 if test $ac_cv_type_request_sense = yes; then
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_REQUEST_SENSE 1
17111 _ACEOF
17117 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17118 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17119 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #ifdef HAVE_LINUX_INPUT_H
17129 #include <linux/input.h>
17130 #endif
17133 main ()
17135 static struct ff_effect ac_aggr;
17136 if (ac_aggr.direction)
17137 return 0;
17139 return 0;
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 ac_cv_member_struct_ff_effect_direction=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #ifdef HAVE_LINUX_INPUT_H
17171 #include <linux/input.h>
17172 #endif
17175 main ()
17177 static struct ff_effect ac_aggr;
17178 if (sizeof ac_aggr.direction)
17179 return 0;
17181 return 0;
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (ac_try="$ac_compile"
17186 case "(($ac_try" in
17187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188 *) ac_try_echo=$ac_try;;
17189 esac
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_compile") 2>conftest.er1
17192 ac_status=$?
17193 grep -v '^ *+' conftest.er1 >conftest.err
17194 rm -f conftest.er1
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && {
17198 test -z "$ac_c_werror_flag" ||
17199 test ! -s conftest.err
17200 } && test -s conftest.$ac_objext; then
17201 ac_cv_member_struct_ff_effect_direction=yes
17202 else
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17206 ac_cv_member_struct_ff_effect_direction=no
17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17215 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17216 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17220 _ACEOF
17226 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17227 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17228 if test "${wine_cv_have_sigaddset+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231 cat >conftest.$ac_ext <<_ACEOF
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 #include <signal.h>
17239 main ()
17241 sigset_t set; sigaddset(&set,SIGTERM);
17243 return 0;
17245 _ACEOF
17246 rm -f conftest.$ac_objext conftest$ac_exeext
17247 if { (ac_try="$ac_link"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_link") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest$ac_exeext &&
17263 $as_test_x conftest$ac_exeext; then
17264 wine_cv_have_sigaddset=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17269 wine_cv_have_sigaddset=no
17272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17273 conftest$ac_exeext conftest.$ac_ext
17275 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17276 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17277 if test "$wine_cv_have_sigaddset" = "yes"
17278 then
17280 cat >>confdefs.h <<\_ACEOF
17281 #define HAVE_SIGADDSET 1
17282 _ACEOF
17287 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17288 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17289 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17290 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 else
17292 cat >conftest.$ac_ext <<_ACEOF
17293 /* confdefs.h. */
17294 _ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17298 #include <netdb.h>
17300 main ()
17303 char *name=NULL;
17304 struct hostent he;
17305 struct hostent *result;
17306 char *buf=NULL;
17307 int bufsize=0;
17308 int res,errnr;
17309 char *addr=NULL;
17310 int addrlen=0;
17311 int addrtype=0;
17312 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17313 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17316 return 0;
17318 _ACEOF
17319 rm -f conftest.$ac_objext conftest$ac_exeext
17320 if { (ac_try="$ac_link"
17321 case "(($ac_try" in
17322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17323 *) ac_try_echo=$ac_try;;
17324 esac
17325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17326 (eval "$ac_link") 2>conftest.er1
17327 ac_status=$?
17328 grep -v '^ *+' conftest.er1 >conftest.err
17329 rm -f conftest.er1
17330 cat conftest.err >&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } && {
17333 test -z "$ac_c_werror_flag" ||
17334 test ! -s conftest.err
17335 } && test -s conftest$ac_exeext &&
17336 $as_test_x conftest$ac_exeext; then
17337 wine_cv_linux_gethostbyname_r_6=yes
17338 else
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17342 wine_cv_linux_gethostbyname_r_6=no
17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17347 conftest$ac_exeext conftest.$ac_ext
17350 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17351 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17352 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17353 then
17355 cat >>confdefs.h <<\_ACEOF
17356 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17357 _ACEOF
17361 if test "$ac_cv_header_linux_joystick_h" = "yes"
17362 then
17363 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17364 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17365 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 cat >conftest.$ac_ext <<_ACEOF
17369 /* confdefs.h. */
17370 _ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17375 #include <sys/ioctl.h>
17376 #include <sys/types.h>
17377 #include <linux/joystick.h>
17379 struct js_event blub;
17380 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17381 #error "no 2.2 header"
17382 #endif
17385 main ()
17387 /*empty*/
17389 return 0;
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 wine_cv_linux_joystick_22_api=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 wine_cv_linux_joystick_22_api=no
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17421 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17422 if test "$wine_cv_linux_joystick_22_api" = "yes"
17423 then
17425 cat >>confdefs.h <<\_ACEOF
17426 #define HAVE_LINUX_22_JOYSTICK_API 1
17427 _ACEOF
17433 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17434 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17435 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 else
17438 cat >conftest.$ac_ext <<_ACEOF
17439 /* confdefs.h. */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444 #include <sys/types.h>
17445 #ifdef HAVE_SYS_PARAM_H
17446 # include <sys/param.h>
17447 #endif
17448 #ifdef HAVE_SYS_MOUNT_H
17449 # include <sys/mount.h>
17450 #endif
17451 #ifdef HAVE_SYS_VFS_H
17452 # include <sys/vfs.h>
17453 #endif
17454 #ifdef HAVE_SYS_STATFS_H
17455 # include <sys/statfs.h>
17456 #endif
17459 main ()
17461 static struct statfs ac_aggr;
17462 if (ac_aggr.f_bfree)
17463 return 0;
17465 return 0;
17467 _ACEOF
17468 rm -f conftest.$ac_objext
17469 if { (ac_try="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17473 esac
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17476 ac_status=$?
17477 grep -v '^ *+' conftest.er1 >conftest.err
17478 rm -f conftest.er1
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_c_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 ac_cv_member_struct_statfs_f_bfree=yes
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <sys/types.h>
17497 #ifdef HAVE_SYS_PARAM_H
17498 # include <sys/param.h>
17499 #endif
17500 #ifdef HAVE_SYS_MOUNT_H
17501 # include <sys/mount.h>
17502 #endif
17503 #ifdef HAVE_SYS_VFS_H
17504 # include <sys/vfs.h>
17505 #endif
17506 #ifdef HAVE_SYS_STATFS_H
17507 # include <sys/statfs.h>
17508 #endif
17511 main ()
17513 static struct statfs ac_aggr;
17514 if (sizeof ac_aggr.f_bfree)
17515 return 0;
17517 return 0;
17519 _ACEOF
17520 rm -f conftest.$ac_objext
17521 if { (ac_try="$ac_compile"
17522 case "(($ac_try" in
17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17524 *) ac_try_echo=$ac_try;;
17525 esac
17526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17527 (eval "$ac_compile") 2>conftest.er1
17528 ac_status=$?
17529 grep -v '^ *+' conftest.er1 >conftest.err
17530 rm -f conftest.er1
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } && {
17534 test -z "$ac_c_werror_flag" ||
17535 test ! -s conftest.err
17536 } && test -s conftest.$ac_objext; then
17537 ac_cv_member_struct_statfs_f_bfree=yes
17538 else
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17542 ac_cv_member_struct_statfs_f_bfree=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17551 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17552 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17554 cat >>confdefs.h <<_ACEOF
17555 #define HAVE_STRUCT_STATFS_F_BFREE 1
17556 _ACEOF
17560 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17561 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17562 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 else
17565 cat >conftest.$ac_ext <<_ACEOF
17566 /* confdefs.h. */
17567 _ACEOF
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17571 #include <sys/types.h>
17572 #ifdef HAVE_SYS_PARAM_H
17573 # include <sys/param.h>
17574 #endif
17575 #ifdef HAVE_SYS_MOUNT_H
17576 # include <sys/mount.h>
17577 #endif
17578 #ifdef HAVE_SYS_VFS_H
17579 # include <sys/vfs.h>
17580 #endif
17581 #ifdef HAVE_SYS_STATFS_H
17582 # include <sys/statfs.h>
17583 #endif
17586 main ()
17588 static struct statfs ac_aggr;
17589 if (ac_aggr.f_bavail)
17590 return 0;
17592 return 0;
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_c_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 ac_cv_member_struct_statfs_f_bavail=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #include <sys/types.h>
17624 #ifdef HAVE_SYS_PARAM_H
17625 # include <sys/param.h>
17626 #endif
17627 #ifdef HAVE_SYS_MOUNT_H
17628 # include <sys/mount.h>
17629 #endif
17630 #ifdef HAVE_SYS_VFS_H
17631 # include <sys/vfs.h>
17632 #endif
17633 #ifdef HAVE_SYS_STATFS_H
17634 # include <sys/statfs.h>
17635 #endif
17638 main ()
17640 static struct statfs ac_aggr;
17641 if (sizeof ac_aggr.f_bavail)
17642 return 0;
17644 return 0;
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (ac_try="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17652 esac
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17655 ac_status=$?
17656 grep -v '^ *+' conftest.er1 >conftest.err
17657 rm -f conftest.er1
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_c_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 ac_cv_member_struct_statfs_f_bavail=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 ac_cv_member_struct_statfs_f_bavail=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17678 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17679 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17681 cat >>confdefs.h <<_ACEOF
17682 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17683 _ACEOF
17687 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17688 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17689 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17691 else
17692 cat >conftest.$ac_ext <<_ACEOF
17693 /* confdefs.h. */
17694 _ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17698 #include <sys/types.h>
17699 #ifdef HAVE_SYS_PARAM_H
17700 # include <sys/param.h>
17701 #endif
17702 #ifdef HAVE_SYS_MOUNT_H
17703 # include <sys/mount.h>
17704 #endif
17705 #ifdef HAVE_SYS_VFS_H
17706 # include <sys/vfs.h>
17707 #endif
17708 #ifdef HAVE_SYS_STATFS_H
17709 # include <sys/statfs.h>
17710 #endif
17713 main ()
17715 static struct statfs ac_aggr;
17716 if (ac_aggr.f_frsize)
17717 return 0;
17719 return 0;
17721 _ACEOF
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17727 esac
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_c_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.$ac_objext; then
17739 ac_cv_member_struct_statfs_f_frsize=yes
17740 else
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17744 cat >conftest.$ac_ext <<_ACEOF
17745 /* confdefs.h. */
17746 _ACEOF
17747 cat confdefs.h >>conftest.$ac_ext
17748 cat >>conftest.$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 #include <sys/types.h>
17751 #ifdef HAVE_SYS_PARAM_H
17752 # include <sys/param.h>
17753 #endif
17754 #ifdef HAVE_SYS_MOUNT_H
17755 # include <sys/mount.h>
17756 #endif
17757 #ifdef HAVE_SYS_VFS_H
17758 # include <sys/vfs.h>
17759 #endif
17760 #ifdef HAVE_SYS_STATFS_H
17761 # include <sys/statfs.h>
17762 #endif
17765 main ()
17767 static struct statfs ac_aggr;
17768 if (sizeof ac_aggr.f_frsize)
17769 return 0;
17771 return 0;
17773 _ACEOF
17774 rm -f conftest.$ac_objext
17775 if { (ac_try="$ac_compile"
17776 case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17779 esac
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_compile") 2>conftest.er1
17782 ac_status=$?
17783 grep -v '^ *+' conftest.er1 >conftest.err
17784 rm -f conftest.er1
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } && {
17788 test -z "$ac_c_werror_flag" ||
17789 test ! -s conftest.err
17790 } && test -s conftest.$ac_objext; then
17791 ac_cv_member_struct_statfs_f_frsize=yes
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 ac_cv_member_struct_statfs_f_frsize=no
17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17805 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17806 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17808 cat >>confdefs.h <<_ACEOF
17809 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17810 _ACEOF
17814 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17815 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17816 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 else
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 #include <sys/types.h>
17826 #ifdef HAVE_SYS_PARAM_H
17827 # include <sys/param.h>
17828 #endif
17829 #ifdef HAVE_SYS_MOUNT_H
17830 # include <sys/mount.h>
17831 #endif
17832 #ifdef HAVE_SYS_VFS_H
17833 # include <sys/vfs.h>
17834 #endif
17835 #ifdef HAVE_SYS_STATFS_H
17836 # include <sys/statfs.h>
17837 #endif
17840 main ()
17842 static struct statfs ac_aggr;
17843 if (ac_aggr.f_ffree)
17844 return 0;
17846 return 0;
17848 _ACEOF
17849 rm -f conftest.$ac_objext
17850 if { (ac_try="$ac_compile"
17851 case "(($ac_try" in
17852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17853 *) ac_try_echo=$ac_try;;
17854 esac
17855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17856 (eval "$ac_compile") 2>conftest.er1
17857 ac_status=$?
17858 grep -v '^ *+' conftest.er1 >conftest.err
17859 rm -f conftest.er1
17860 cat conftest.err >&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } && {
17863 test -z "$ac_c_werror_flag" ||
17864 test ! -s conftest.err
17865 } && test -s conftest.$ac_objext; then
17866 ac_cv_member_struct_statfs_f_ffree=yes
17867 else
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.$ac_ext >&5
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <sys/types.h>
17878 #ifdef HAVE_SYS_PARAM_H
17879 # include <sys/param.h>
17880 #endif
17881 #ifdef HAVE_SYS_MOUNT_H
17882 # include <sys/mount.h>
17883 #endif
17884 #ifdef HAVE_SYS_VFS_H
17885 # include <sys/vfs.h>
17886 #endif
17887 #ifdef HAVE_SYS_STATFS_H
17888 # include <sys/statfs.h>
17889 #endif
17892 main ()
17894 static struct statfs ac_aggr;
17895 if (sizeof ac_aggr.f_ffree)
17896 return 0;
17898 return 0;
17900 _ACEOF
17901 rm -f conftest.$ac_objext
17902 if { (ac_try="$ac_compile"
17903 case "(($ac_try" in
17904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17906 esac
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_compile") 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } && {
17915 test -z "$ac_c_werror_flag" ||
17916 test ! -s conftest.err
17917 } && test -s conftest.$ac_objext; then
17918 ac_cv_member_struct_statfs_f_ffree=yes
17919 else
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17923 ac_cv_member_struct_statfs_f_ffree=no
17926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17932 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17933 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_STRUCT_STATFS_F_FFREE 1
17937 _ACEOF
17941 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17942 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17943 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #include <sys/types.h>
17953 #ifdef HAVE_SYS_PARAM_H
17954 # include <sys/param.h>
17955 #endif
17956 #ifdef HAVE_SYS_MOUNT_H
17957 # include <sys/mount.h>
17958 #endif
17959 #ifdef HAVE_SYS_VFS_H
17960 # include <sys/vfs.h>
17961 #endif
17962 #ifdef HAVE_SYS_STATFS_H
17963 # include <sys/statfs.h>
17964 #endif
17967 main ()
17969 static struct statfs ac_aggr;
17970 if (ac_aggr.f_favail)
17971 return 0;
17973 return 0;
17975 _ACEOF
17976 rm -f conftest.$ac_objext
17977 if { (ac_try="$ac_compile"
17978 case "(($ac_try" in
17979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17980 *) ac_try_echo=$ac_try;;
17981 esac
17982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17983 (eval "$ac_compile") 2>conftest.er1
17984 ac_status=$?
17985 grep -v '^ *+' conftest.er1 >conftest.err
17986 rm -f conftest.er1
17987 cat conftest.err >&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } && {
17990 test -z "$ac_c_werror_flag" ||
17991 test ! -s conftest.err
17992 } && test -s conftest.$ac_objext; then
17993 ac_cv_member_struct_statfs_f_favail=yes
17994 else
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17998 cat >conftest.$ac_ext <<_ACEOF
17999 /* confdefs.h. */
18000 _ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18004 #include <sys/types.h>
18005 #ifdef HAVE_SYS_PARAM_H
18006 # include <sys/param.h>
18007 #endif
18008 #ifdef HAVE_SYS_MOUNT_H
18009 # include <sys/mount.h>
18010 #endif
18011 #ifdef HAVE_SYS_VFS_H
18012 # include <sys/vfs.h>
18013 #endif
18014 #ifdef HAVE_SYS_STATFS_H
18015 # include <sys/statfs.h>
18016 #endif
18019 main ()
18021 static struct statfs ac_aggr;
18022 if (sizeof ac_aggr.f_favail)
18023 return 0;
18025 return 0;
18027 _ACEOF
18028 rm -f conftest.$ac_objext
18029 if { (ac_try="$ac_compile"
18030 case "(($ac_try" in
18031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18033 esac
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_compile") 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } && {
18042 test -z "$ac_c_werror_flag" ||
18043 test ! -s conftest.err
18044 } && test -s conftest.$ac_objext; then
18045 ac_cv_member_struct_statfs_f_favail=yes
18046 else
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18050 ac_cv_member_struct_statfs_f_favail=no
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18059 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18060 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18062 cat >>confdefs.h <<_ACEOF
18063 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18064 _ACEOF
18068 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18069 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18070 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073 cat >conftest.$ac_ext <<_ACEOF
18074 /* confdefs.h. */
18075 _ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 #include <sys/types.h>
18080 #ifdef HAVE_SYS_PARAM_H
18081 # include <sys/param.h>
18082 #endif
18083 #ifdef HAVE_SYS_MOUNT_H
18084 # include <sys/mount.h>
18085 #endif
18086 #ifdef HAVE_SYS_VFS_H
18087 # include <sys/vfs.h>
18088 #endif
18089 #ifdef HAVE_SYS_STATFS_H
18090 # include <sys/statfs.h>
18091 #endif
18094 main ()
18096 static struct statfs ac_aggr;
18097 if (ac_aggr.f_namelen)
18098 return 0;
18100 return 0;
18102 _ACEOF
18103 rm -f conftest.$ac_objext
18104 if { (ac_try="$ac_compile"
18105 case "(($ac_try" in
18106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18107 *) ac_try_echo=$ac_try;;
18108 esac
18109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18110 (eval "$ac_compile") 2>conftest.er1
18111 ac_status=$?
18112 grep -v '^ *+' conftest.er1 >conftest.err
18113 rm -f conftest.er1
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } && {
18117 test -z "$ac_c_werror_flag" ||
18118 test ! -s conftest.err
18119 } && test -s conftest.$ac_objext; then
18120 ac_cv_member_struct_statfs_f_namelen=yes
18121 else
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #include <sys/types.h>
18132 #ifdef HAVE_SYS_PARAM_H
18133 # include <sys/param.h>
18134 #endif
18135 #ifdef HAVE_SYS_MOUNT_H
18136 # include <sys/mount.h>
18137 #endif
18138 #ifdef HAVE_SYS_VFS_H
18139 # include <sys/vfs.h>
18140 #endif
18141 #ifdef HAVE_SYS_STATFS_H
18142 # include <sys/statfs.h>
18143 #endif
18146 main ()
18148 static struct statfs ac_aggr;
18149 if (sizeof ac_aggr.f_namelen)
18150 return 0;
18152 return 0;
18154 _ACEOF
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18160 esac
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_member_struct_statfs_f_namelen=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ac_cv_member_struct_statfs_f_namelen=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18186 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18187 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18189 cat >>confdefs.h <<_ACEOF
18190 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18191 _ACEOF
18197 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18198 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18199 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 else
18202 cat >conftest.$ac_ext <<_ACEOF
18203 /* confdefs.h. */
18204 _ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 #ifdef HAVE_SYS_STATVFS_H
18209 #include <sys/statvfs.h>
18210 #endif
18213 main ()
18215 static struct statvfs ac_aggr;
18216 if (ac_aggr.f_blocks)
18217 return 0;
18219 return 0;
18221 _ACEOF
18222 rm -f conftest.$ac_objext
18223 if { (ac_try="$ac_compile"
18224 case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18227 esac
18228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_compile") 2>conftest.er1
18230 ac_status=$?
18231 grep -v '^ *+' conftest.er1 >conftest.err
18232 rm -f conftest.er1
18233 cat conftest.err >&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } && {
18236 test -z "$ac_c_werror_flag" ||
18237 test ! -s conftest.err
18238 } && test -s conftest.$ac_objext; then
18239 ac_cv_member_struct_statvfs_f_blocks=yes
18240 else
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18244 cat >conftest.$ac_ext <<_ACEOF
18245 /* confdefs.h. */
18246 _ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 #ifdef HAVE_SYS_STATVFS_H
18251 #include <sys/statvfs.h>
18252 #endif
18255 main ()
18257 static struct statvfs ac_aggr;
18258 if (sizeof ac_aggr.f_blocks)
18259 return 0;
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.$ac_objext; then
18281 ac_cv_member_struct_statvfs_f_blocks=yes
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 ac_cv_member_struct_statvfs_f_blocks=no
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18295 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18296 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18298 cat >>confdefs.h <<_ACEOF
18299 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18300 _ACEOF
18306 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18307 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18308 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 else
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <sys/types.h>
18318 #ifdef HAVE_SYS_SOCKET_H
18319 # include <sys/socket.h>
18320 #endif
18321 #ifdef HAVE_SYS_UN_H
18322 # include <sys/un.h>
18323 #endif
18326 main ()
18328 static struct msghdr ac_aggr;
18329 if (ac_aggr.msg_accrights)
18330 return 0;
18332 return 0;
18334 _ACEOF
18335 rm -f conftest.$ac_objext
18336 if { (ac_try="$ac_compile"
18337 case "(($ac_try" in
18338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18339 *) ac_try_echo=$ac_try;;
18340 esac
18341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18342 (eval "$ac_compile") 2>conftest.er1
18343 ac_status=$?
18344 grep -v '^ *+' conftest.er1 >conftest.err
18345 rm -f conftest.er1
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } && {
18349 test -z "$ac_c_werror_flag" ||
18350 test ! -s conftest.err
18351 } && test -s conftest.$ac_objext; then
18352 ac_cv_member_struct_msghdr_msg_accrights=yes
18353 else
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 #include <sys/types.h>
18364 #ifdef HAVE_SYS_SOCKET_H
18365 # include <sys/socket.h>
18366 #endif
18367 #ifdef HAVE_SYS_UN_H
18368 # include <sys/un.h>
18369 #endif
18372 main ()
18374 static struct msghdr ac_aggr;
18375 if (sizeof ac_aggr.msg_accrights)
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_msghdr_msg_accrights=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 ac_cv_member_struct_msghdr_msg_accrights=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_msghdr_msg_accrights" >&5
18412 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18413 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18415 cat >>confdefs.h <<_ACEOF
18416 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18417 _ACEOF
18421 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18422 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18423 if test "${ac_cv_member_struct_sockaddr_sa_len+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_SOCKET_H
18434 # include <sys/socket.h>
18435 #endif
18436 #ifdef HAVE_SYS_UN_H
18437 # include <sys/un.h>
18438 #endif
18441 main ()
18443 static struct sockaddr ac_aggr;
18444 if (ac_aggr.sa_len)
18445 return 0;
18447 return 0;
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (ac_try="$ac_compile"
18452 case "(($ac_try" in
18453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18455 esac
18456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18457 (eval "$ac_compile") 2>conftest.er1
18458 ac_status=$?
18459 grep -v '^ *+' conftest.er1 >conftest.err
18460 rm -f conftest.er1
18461 cat conftest.err >&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } && {
18464 test -z "$ac_c_werror_flag" ||
18465 test ! -s conftest.err
18466 } && test -s conftest.$ac_objext; then
18467 ac_cv_member_struct_sockaddr_sa_len=yes
18468 else
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 #include <sys/types.h>
18479 #ifdef HAVE_SYS_SOCKET_H
18480 # include <sys/socket.h>
18481 #endif
18482 #ifdef HAVE_SYS_UN_H
18483 # include <sys/un.h>
18484 #endif
18487 main ()
18489 static struct sockaddr ac_aggr;
18490 if (sizeof ac_aggr.sa_len)
18491 return 0;
18493 return 0;
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (ac_try="$ac_compile"
18498 case "(($ac_try" in
18499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18500 *) ac_try_echo=$ac_try;;
18501 esac
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_compile") 2>conftest.er1
18504 ac_status=$?
18505 grep -v '^ *+' conftest.er1 >conftest.err
18506 rm -f conftest.er1
18507 cat conftest.err >&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } && {
18510 test -z "$ac_c_werror_flag" ||
18511 test ! -s conftest.err
18512 } && test -s conftest.$ac_objext; then
18513 ac_cv_member_struct_sockaddr_sa_len=yes
18514 else
18515 echo "$as_me: failed program was:" >&5
18516 sed 's/^/| /' conftest.$ac_ext >&5
18518 ac_cv_member_struct_sockaddr_sa_len=no
18521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18527 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18528 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18530 cat >>confdefs.h <<_ACEOF
18531 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18532 _ACEOF
18536 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18537 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18538 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 #include <sys/types.h>
18548 #ifdef HAVE_SYS_SOCKET_H
18549 # include <sys/socket.h>
18550 #endif
18551 #ifdef HAVE_SYS_UN_H
18552 # include <sys/un.h>
18553 #endif
18556 main ()
18558 static struct sockaddr_un ac_aggr;
18559 if (ac_aggr.sun_len)
18560 return 0;
18562 return 0;
18564 _ACEOF
18565 rm -f conftest.$ac_objext
18566 if { (ac_try="$ac_compile"
18567 case "(($ac_try" in
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18570 esac
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_compile") 2>conftest.er1
18573 ac_status=$?
18574 grep -v '^ *+' conftest.er1 >conftest.err
18575 rm -f conftest.er1
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } && {
18579 test -z "$ac_c_werror_flag" ||
18580 test ! -s conftest.err
18581 } && test -s conftest.$ac_objext; then
18582 ac_cv_member_struct_sockaddr_un_sun_len=yes
18583 else
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 #include <sys/types.h>
18594 #ifdef HAVE_SYS_SOCKET_H
18595 # include <sys/socket.h>
18596 #endif
18597 #ifdef HAVE_SYS_UN_H
18598 # include <sys/un.h>
18599 #endif
18602 main ()
18604 static struct sockaddr_un ac_aggr;
18605 if (sizeof ac_aggr.sun_len)
18606 return 0;
18608 return 0;
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (ac_try="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18616 esac
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18619 ac_status=$?
18620 grep -v '^ *+' conftest.er1 >conftest.err
18621 rm -f conftest.er1
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 ac_cv_member_struct_sockaddr_un_sun_len=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 ac_cv_member_struct_sockaddr_un_sun_len=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18642 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18643 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18647 _ACEOF
18653 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18654 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18655 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 else
18658 cat >conftest.$ac_ext <<_ACEOF
18659 /* confdefs.h. */
18660 _ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 #include <sys/types.h>
18665 #ifdef HAVE_SCSI_SG_H
18666 #include <scsi/sg.h>
18667 #endif
18670 main ()
18672 static scsireq_t ac_aggr;
18673 if (ac_aggr.cmd)
18674 return 0;
18676 return 0;
18678 _ACEOF
18679 rm -f conftest.$ac_objext
18680 if { (ac_try="$ac_compile"
18681 case "(($ac_try" in
18682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18684 esac
18685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18686 (eval "$ac_compile") 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } && {
18693 test -z "$ac_c_werror_flag" ||
18694 test ! -s conftest.err
18695 } && test -s conftest.$ac_objext; then
18696 ac_cv_member_scsireq_t_cmd=yes
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 cat >conftest.$ac_ext <<_ACEOF
18702 /* confdefs.h. */
18703 _ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <sys/types.h>
18708 #ifdef HAVE_SCSI_SG_H
18709 #include <scsi/sg.h>
18710 #endif
18713 main ()
18715 static scsireq_t ac_aggr;
18716 if (sizeof ac_aggr.cmd)
18717 return 0;
18719 return 0;
18721 _ACEOF
18722 rm -f conftest.$ac_objext
18723 if { (ac_try="$ac_compile"
18724 case "(($ac_try" in
18725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18726 *) ac_try_echo=$ac_try;;
18727 esac
18728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18729 (eval "$ac_compile") 2>conftest.er1
18730 ac_status=$?
18731 grep -v '^ *+' conftest.er1 >conftest.err
18732 rm -f conftest.er1
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } && {
18736 test -z "$ac_c_werror_flag" ||
18737 test ! -s conftest.err
18738 } && test -s conftest.$ac_objext; then
18739 ac_cv_member_scsireq_t_cmd=yes
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 ac_cv_member_scsireq_t_cmd=no
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18753 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18754 if test $ac_cv_member_scsireq_t_cmd = yes; then
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_SCSIREQ_T_CMD 1
18758 _ACEOF
18762 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18763 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18764 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18767 cat >conftest.$ac_ext <<_ACEOF
18768 /* confdefs.h. */
18769 _ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 #include <sys/types.h>
18774 #ifdef HAVE_SCSI_SG_H
18775 #include <scsi/sg.h>
18776 #endif
18779 main ()
18781 static sg_io_hdr_t ac_aggr;
18782 if (ac_aggr.interface_id)
18783 return 0;
18785 return 0;
18787 _ACEOF
18788 rm -f conftest.$ac_objext
18789 if { (ac_try="$ac_compile"
18790 case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18793 esac
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_compile") 2>conftest.er1
18796 ac_status=$?
18797 grep -v '^ *+' conftest.er1 >conftest.err
18798 rm -f conftest.er1
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_c_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest.$ac_objext; then
18805 ac_cv_member_sg_io_hdr_t_interface_id=yes
18806 else
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 #include <sys/types.h>
18817 #ifdef HAVE_SCSI_SG_H
18818 #include <scsi/sg.h>
18819 #endif
18822 main ()
18824 static sg_io_hdr_t ac_aggr;
18825 if (sizeof ac_aggr.interface_id)
18826 return 0;
18828 return 0;
18830 _ACEOF
18831 rm -f conftest.$ac_objext
18832 if { (ac_try="$ac_compile"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18836 esac
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18839 ac_status=$?
18840 grep -v '^ *+' conftest.er1 >conftest.err
18841 rm -f conftest.er1
18842 cat conftest.err >&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.$ac_objext; then
18848 ac_cv_member_sg_io_hdr_t_interface_id=yes
18849 else
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18853 ac_cv_member_sg_io_hdr_t_interface_id=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18862 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18863 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18867 _ACEOF
18873 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18874 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18875 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 else
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 #include <signal.h>
18887 main ()
18889 static siginfo_t ac_aggr;
18890 if (ac_aggr.si_fd)
18891 return 0;
18893 return 0;
18895 _ACEOF
18896 rm -f conftest.$ac_objext
18897 if { (ac_try="$ac_compile"
18898 case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18901 esac
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18904 ac_status=$?
18905 grep -v '^ *+' conftest.er1 >conftest.err
18906 rm -f conftest.er1
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_c_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18913 ac_cv_member_siginfo_t_si_fd=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <signal.h>
18927 main ()
18929 static siginfo_t ac_aggr;
18930 if (sizeof ac_aggr.si_fd)
18931 return 0;
18933 return 0;
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_siginfo_t_si_fd=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 ac_cv_member_siginfo_t_si_fd=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18966 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18967 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
18968 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_SIGINFO_T_SI_FD 1
18972 _ACEOF
18978 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
18979 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
18980 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18983 cat >conftest.$ac_ext <<_ACEOF
18984 /* confdefs.h. */
18985 _ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #include <sys/types.h>
18990 #ifdef HAVE_SYS_MTIO_H
18991 #include <sys/mtio.h>
18992 #endif
18995 main ()
18997 static struct mtget ac_aggr;
18998 if (ac_aggr.mt_blksiz)
18999 return 0;
19001 return 0;
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_struct_mtget_mt_blksiz=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <sys/types.h>
19033 #ifdef HAVE_SYS_MTIO_H
19034 #include <sys/mtio.h>
19035 #endif
19038 main ()
19040 static struct mtget ac_aggr;
19041 if (sizeof ac_aggr.mt_blksiz)
19042 return 0;
19044 return 0;
19046 _ACEOF
19047 rm -f conftest.$ac_objext
19048 if { (ac_try="$ac_compile"
19049 case "(($ac_try" in
19050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19052 esac
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_compile") 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } && {
19061 test -z "$ac_c_werror_flag" ||
19062 test ! -s conftest.err
19063 } && test -s conftest.$ac_objext; then
19064 ac_cv_member_struct_mtget_mt_blksiz=yes
19065 else
19066 echo "$as_me: failed program was:" >&5
19067 sed 's/^/| /' conftest.$ac_ext >&5
19069 ac_cv_member_struct_mtget_mt_blksiz=no
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19077 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19078 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19079 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19083 _ACEOF
19087 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19088 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19089 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 else
19092 cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h. */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <sys/types.h>
19099 #ifdef HAVE_SYS_MTIO_H
19100 #include <sys/mtio.h>
19101 #endif
19104 main ()
19106 static struct mtget ac_aggr;
19107 if (ac_aggr.mt_gstat)
19108 return 0;
19110 return 0;
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_member_struct_mtget_mt_gstat=yes
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19135 cat >conftest.$ac_ext <<_ACEOF
19136 /* confdefs.h. */
19137 _ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #include <sys/types.h>
19142 #ifdef HAVE_SYS_MTIO_H
19143 #include <sys/mtio.h>
19144 #endif
19147 main ()
19149 static struct mtget ac_aggr;
19150 if (sizeof ac_aggr.mt_gstat)
19151 return 0;
19153 return 0;
19155 _ACEOF
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19161 esac
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 ac_cv_member_struct_mtget_mt_gstat=yes
19174 else
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.$ac_ext >&5
19178 ac_cv_member_struct_mtget_mt_gstat=no
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19187 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19188 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19192 _ACEOF
19196 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19197 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19198 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 else
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <sys/types.h>
19208 #ifdef HAVE_SYS_MTIO_H
19209 #include <sys/mtio.h>
19210 #endif
19213 main ()
19215 static struct mtget ac_aggr;
19216 if (ac_aggr.mt_blkno)
19217 return 0;
19219 return 0;
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19227 esac
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_member_struct_mtget_mt_blkno=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h. */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include <sys/types.h>
19251 #ifdef HAVE_SYS_MTIO_H
19252 #include <sys/mtio.h>
19253 #endif
19256 main ()
19258 static struct mtget ac_aggr;
19259 if (sizeof ac_aggr.mt_blkno)
19260 return 0;
19262 return 0;
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (ac_try="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19270 esac
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 ac_cv_member_struct_mtget_mt_blkno=yes
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_member_struct_mtget_mt_blkno=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19296 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19297 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19301 _ACEOF
19307 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19308 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19309 if test "${ac_cv_member_struct_option_name+set}" = set; then
19310 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 else
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 #ifdef HAVE_GETOPT_H
19319 #include <getopt.h>
19320 #endif
19323 main ()
19325 static struct option ac_aggr;
19326 if (ac_aggr.name)
19327 return 0;
19329 return 0;
19331 _ACEOF
19332 rm -f conftest.$ac_objext
19333 if { (ac_try="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19337 esac
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19340 ac_status=$?
19341 grep -v '^ *+' conftest.er1 >conftest.err
19342 rm -f conftest.er1
19343 cat conftest.err >&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 ac_cv_member_struct_option_name=yes
19350 else
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 cat >conftest.$ac_ext <<_ACEOF
19355 /* confdefs.h. */
19356 _ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360 #ifdef HAVE_GETOPT_H
19361 #include <getopt.h>
19362 #endif
19365 main ()
19367 static struct option ac_aggr;
19368 if (sizeof ac_aggr.name)
19369 return 0;
19371 return 0;
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19379 esac
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_c_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 ac_cv_member_struct_option_name=yes
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 ac_cv_member_struct_option_name=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19405 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19406 if test $ac_cv_member_struct_option_name = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_OPTION_NAME 1
19410 _ACEOF
19416 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19417 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19418 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 $ac_includes_default
19429 main ()
19431 static struct stat ac_aggr;
19432 if (ac_aggr.st_blocks)
19433 return 0;
19435 return 0;
19437 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (ac_try="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19443 esac
19444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19445 (eval "$ac_compile") 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } && {
19452 test -z "$ac_c_werror_flag" ||
19453 test ! -s conftest.err
19454 } && test -s conftest.$ac_objext; then
19455 ac_cv_member_struct_stat_st_blocks=yes
19456 else
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19460 cat >conftest.$ac_ext <<_ACEOF
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 $ac_includes_default
19468 main ()
19470 static struct stat ac_aggr;
19471 if (sizeof ac_aggr.st_blocks)
19472 return 0;
19474 return 0;
19476 _ACEOF
19477 rm -f conftest.$ac_objext
19478 if { (ac_try="$ac_compile"
19479 case "(($ac_try" in
19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19481 *) ac_try_echo=$ac_try;;
19482 esac
19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19484 (eval "$ac_compile") 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } && {
19491 test -z "$ac_c_werror_flag" ||
19492 test ! -s conftest.err
19493 } && test -s conftest.$ac_objext; then
19494 ac_cv_member_struct_stat_st_blocks=yes
19495 else
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 ac_cv_member_struct_stat_st_blocks=no
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19507 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19508 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19509 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19511 cat >>confdefs.h <<_ACEOF
19512 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19513 _ACEOF
19519 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19520 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19521 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 else
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #ifdef HAVE_SYS_TYPES_H
19531 #include <sys/types.h>
19532 #endif
19533 #ifdef HAVE_NETINET_IN_H
19534 #include <netinet/in.h>
19535 #endif
19538 main ()
19540 static struct sockaddr_in6 ac_aggr;
19541 if (ac_aggr.sin6_scope_id)
19542 return 0;
19544 return 0;
19546 _ACEOF
19547 rm -f conftest.$ac_objext
19548 if { (ac_try="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19552 esac
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19565 else
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #ifdef HAVE_SYS_TYPES_H
19576 #include <sys/types.h>
19577 #endif
19578 #ifdef HAVE_NETINET_IN_H
19579 #include <netinet/in.h>
19580 #endif
19583 main ()
19585 static struct sockaddr_in6 ac_aggr;
19586 if (sizeof ac_aggr.sin6_scope_id)
19587 return 0;
19589 return 0;
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19623 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19624 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19626 cat >>confdefs.h <<_ACEOF
19627 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19628 _ACEOF
19634 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19635 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19636 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19637 echo $ECHO_N "(cached) $ECHO_C" >&6
19638 else
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 #ifdef HAVE_SYS_TYPES_H
19646 #include <sys/types.h>
19647 #endif
19648 #ifdef HAVE_NETINET_IN_H
19649 # include <netinet/in.h>
19650 #endif
19651 #ifdef HAVE_ARPA_NAMESER_H
19652 # include <arpa/nameser.h>
19653 #endif
19656 main ()
19658 static ns_msg ac_aggr;
19659 if (ac_aggr._msg_ptr)
19660 return 0;
19662 return 0;
19664 _ACEOF
19665 rm -f conftest.$ac_objext
19666 if { (ac_try="$ac_compile"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19670 esac
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_compile") 2>conftest.er1
19673 ac_status=$?
19674 grep -v '^ *+' conftest.er1 >conftest.err
19675 rm -f conftest.er1
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } && {
19679 test -z "$ac_c_werror_flag" ||
19680 test ! -s conftest.err
19681 } && test -s conftest.$ac_objext; then
19682 ac_cv_member_ns_msg__msg_ptr=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h. */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #ifdef HAVE_SYS_TYPES_H
19694 #include <sys/types.h>
19695 #endif
19696 #ifdef HAVE_NETINET_IN_H
19697 # include <netinet/in.h>
19698 #endif
19699 #ifdef HAVE_ARPA_NAMESER_H
19700 # include <arpa/nameser.h>
19701 #endif
19704 main ()
19706 static ns_msg ac_aggr;
19707 if (sizeof ac_aggr._msg_ptr)
19708 return 0;
19710 return 0;
19712 _ACEOF
19713 rm -f conftest.$ac_objext
19714 if { (ac_try="$ac_compile"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_compile") 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && {
19727 test -z "$ac_c_werror_flag" ||
19728 test ! -s conftest.err
19729 } && test -s conftest.$ac_objext; then
19730 ac_cv_member_ns_msg__msg_ptr=yes
19731 else
19732 echo "$as_me: failed program was:" >&5
19733 sed 's/^/| /' conftest.$ac_ext >&5
19735 ac_cv_member_ns_msg__msg_ptr=no
19738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19743 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19744 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19745 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19747 cat >>confdefs.h <<_ACEOF
19748 #define HAVE_NS_MSG__MSG_PTR 1
19749 _ACEOF
19755 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19756 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19757 if test "${ac_cv_have_timezone+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 else
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h. */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 #include <time.h>
19768 main ()
19770 timezone = 1
19772 return 0;
19774 _ACEOF
19775 rm -f conftest.$ac_objext conftest$ac_exeext
19776 if { (ac_try="$ac_link"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_link") 2>conftest.er1
19783 ac_status=$?
19784 grep -v '^ *+' conftest.er1 >conftest.err
19785 rm -f conftest.er1
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest$ac_exeext &&
19792 $as_test_x conftest$ac_exeext; then
19793 ac_cv_have_timezone="yes"
19794 else
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 ac_cv_have_timezone="no"
19801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19802 conftest$ac_exeext conftest.$ac_ext
19804 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19805 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19806 if test "$ac_cv_have_timezone" = "yes"
19807 then
19809 cat >>confdefs.h <<\_ACEOF
19810 #define HAVE_TIMEZONE 1
19811 _ACEOF
19814 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19815 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19816 if test "${ac_cv_have_daylight+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 else
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 #include <time.h>
19827 main ()
19829 daylight = 1
19831 return 0;
19833 _ACEOF
19834 rm -f conftest.$ac_objext conftest$ac_exeext
19835 if { (ac_try="$ac_link"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_link") 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest$ac_exeext &&
19851 $as_test_x conftest$ac_exeext; then
19852 ac_cv_have_daylight="yes"
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19857 ac_cv_have_daylight="no"
19860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19861 conftest$ac_exeext conftest.$ac_ext
19863 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19864 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19865 if test "$ac_cv_have_daylight" = "yes"
19866 then
19868 cat >>confdefs.h <<\_ACEOF
19869 #define HAVE_DAYLIGHT 1
19870 _ACEOF
19875 case $host_cpu in
19876 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19877 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19878 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 #ifndef __i386__
19889 #endif
19890 _ACEOF
19891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19892 $EGREP "yes" >/dev/null 2>&1; then
19893 ac_cv_cpp_def___i386__=yes
19894 else
19895 ac_cv_cpp_def___i386__=no
19897 rm -f conftest*
19900 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19901 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19902 if test $ac_cv_cpp_def___i386__ = yes; then
19903 CFLAGS="$CFLAGS -D__i386__"
19904 LINTFLAGS="$LINTFLAGS -D__i386__"
19907 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19908 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19909 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 else
19912 cat >conftest.$ac_ext <<_ACEOF
19913 /* confdefs.h. */
19914 _ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #ifndef __x86_64__
19920 #endif
19921 _ACEOF
19922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19923 $EGREP "yes" >/dev/null 2>&1; then
19924 ac_cv_cpp_def___x86_64__=yes
19925 else
19926 ac_cv_cpp_def___x86_64__=no
19928 rm -f conftest*
19931 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19932 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19933 if test $ac_cv_cpp_def___x86_64__ = yes; then
19934 CFLAGS="$CFLAGS -D__x86_64__"
19935 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19938 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19939 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19940 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 else
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 #ifndef __ALPHA__
19951 #endif
19952 _ACEOF
19953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19954 $EGREP "yes" >/dev/null 2>&1; then
19955 ac_cv_cpp_def___ALPHA__=yes
19956 else
19957 ac_cv_cpp_def___ALPHA__=no
19959 rm -f conftest*
19962 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19963 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
19964 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19965 CFLAGS="$CFLAGS -D__ALPHA__"
19966 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19969 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19970 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
19971 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19974 cat >conftest.$ac_ext <<_ACEOF
19975 /* confdefs.h. */
19976 _ACEOF
19977 cat confdefs.h >>conftest.$ac_ext
19978 cat >>conftest.$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 #ifndef __sparc__
19982 #endif
19983 _ACEOF
19984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19985 $EGREP "yes" >/dev/null 2>&1; then
19986 ac_cv_cpp_def___sparc__=yes
19987 else
19988 ac_cv_cpp_def___sparc__=no
19990 rm -f conftest*
19993 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19994 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
19995 if test $ac_cv_cpp_def___sparc__ = yes; then
19996 CFLAGS="$CFLAGS -D__sparc__"
19997 LINTFLAGS="$LINTFLAGS -D__sparc__"
20000 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20001 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20002 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 else
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #ifndef __powerpc__
20013 #endif
20014 _ACEOF
20015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20016 $EGREP "yes" >/dev/null 2>&1; then
20017 ac_cv_cpp_def___powerpc__=yes
20018 else
20019 ac_cv_cpp_def___powerpc__=no
20021 rm -f conftest*
20024 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20025 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20026 if test $ac_cv_cpp_def___powerpc__ = yes; then
20027 CFLAGS="$CFLAGS -D__powerpc__"
20028 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20031 esac
20033 case $host_vendor in
20034 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20035 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20036 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20037 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 else
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 #ifndef __sun__
20047 #endif
20048 _ACEOF
20049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20050 $EGREP "yes" >/dev/null 2>&1; then
20051 ac_cv_cpp_def___sun__=yes
20052 else
20053 ac_cv_cpp_def___sun__=no
20055 rm -f conftest*
20058 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20059 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20060 if test $ac_cv_cpp_def___sun__ = yes; then
20061 CFLAGS="$CFLAGS -D__sun__"
20062 LINTFLAGS="$LINTFLAGS -D__sun__"
20065 esac
20068 DEPENDENCIES="### Dependencies:
20070 .INIT: Makefile
20071 .BEGIN: Makefile
20072 Makefile: dummy
20073 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20075 \$(OBJS): \$(IDL_GEN_HEADERS)
20076 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20077 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20078 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20084 ac_config_commands="$ac_config_commands include/stamp-h"
20087 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20089 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20091 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20093 ac_config_commands="$ac_config_commands dlls/user32/resources"
20095 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20097 ac_config_commands="$ac_config_commands include/wine"
20100 MAKE_RULES=Make.rules
20103 MAKE_DLL_RULES=dlls/Makedll.rules
20106 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20109 MAKE_TEST_RULES=dlls/Maketest.rules
20112 MAKE_PROG_RULES=programs/Makeprog.rules
20115 ac_config_files="$ac_config_files Make.rules"
20117 ac_config_files="$ac_config_files dlls/Makedll.rules"
20119 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20121 ac_config_files="$ac_config_files dlls/Maketest.rules"
20123 ac_config_files="$ac_config_files programs/Makeprog.rules"
20125 ac_config_files="$ac_config_files Makefile"
20127 ac_config_files="$ac_config_files dlls/Makefile"
20129 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20131 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20133 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20135 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20137 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20139 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20141 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20143 ac_config_files="$ac_config_files dlls/atl/Makefile"
20145 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20147 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20149 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20151 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20153 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20155 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20157 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20159 ac_config_files="$ac_config_files dlls/cards/Makefile"
20161 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20163 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20165 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20167 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20169 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20171 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20173 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20175 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20177 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20179 ac_config_files="$ac_config_files dlls/credui/Makefile"
20181 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20183 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20185 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20187 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20189 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20191 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20193 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20195 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20197 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20199 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20201 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20203 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20205 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20207 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20209 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20211 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20213 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20215 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20217 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20219 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20221 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20223 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20225 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20227 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20229 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20231 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20233 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20235 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20237 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20239 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20241 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20243 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20245 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20247 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20249 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20251 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20253 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20255 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20257 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20259 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20261 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20263 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20265 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20267 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20269 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20271 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20273 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20275 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20277 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20279 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20281 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20283 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20285 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20287 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20289 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20291 ac_config_files="$ac_config_files dlls/hal/Makefile"
20293 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20295 ac_config_files="$ac_config_files dlls/hid/Makefile"
20297 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20299 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20301 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20303 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20305 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20307 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20309 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20311 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20313 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20315 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20317 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20319 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20321 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20323 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20325 ac_config_files="$ac_config_files dlls/itss/Makefile"
20327 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20329 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20331 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20333 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20335 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/localui/Makefile"
20339 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20341 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20343 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20347 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20349 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20351 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20353 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20355 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20357 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20359 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20361 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20363 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20365 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20367 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20369 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20371 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20373 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20375 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20377 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20379 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20381 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20383 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20385 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20387 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20389 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20391 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20393 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20395 ac_config_files="$ac_config_files dlls/msi/Makefile"
20397 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20401 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20403 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20405 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20407 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20409 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20411 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20413 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20415 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20417 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20421 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20423 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20425 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20427 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20431 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20433 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20435 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20437 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20439 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20443 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20445 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20447 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20449 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20451 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20453 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20455 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20459 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20463 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20465 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20467 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20469 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20471 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20473 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20475 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20477 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20479 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20483 ac_config_files="$ac_config_files dlls/printui/Makefile"
20485 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20487 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20491 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20493 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20495 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20497 ac_config_files="$ac_config_files dlls/query/Makefile"
20499 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20501 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20503 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20505 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20509 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20511 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20515 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20517 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20519 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20523 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20525 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20527 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20529 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20531 ac_config_files="$ac_config_files dlls/security/Makefile"
20533 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20535 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20537 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20541 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20545 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20547 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20549 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20551 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20553 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20555 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20559 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20561 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20563 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20565 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20569 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20571 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20573 ac_config_files="$ac_config_files dlls/sti/Makefile"
20575 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20577 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20579 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20581 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20583 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20585 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20587 ac_config_files="$ac_config_files dlls/url/Makefile"
20589 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20591 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/user32/Makefile"
20595 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20599 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20601 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20605 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20607 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20611 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20613 ac_config_files="$ac_config_files dlls/version/Makefile"
20615 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20619 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20621 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20623 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20625 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20627 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20629 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20631 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20633 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20635 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20637 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20639 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20641 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20643 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20645 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20647 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20649 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20651 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20653 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20655 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20657 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20659 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20661 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20663 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20667 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20671 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20673 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20675 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20679 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20681 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20685 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20687 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20689 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20691 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20693 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20695 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20697 ac_config_files="$ac_config_files documentation/Makefile"
20699 ac_config_files="$ac_config_files fonts/Makefile"
20701 ac_config_files="$ac_config_files include/Makefile"
20703 ac_config_files="$ac_config_files libs/Makefile"
20705 ac_config_files="$ac_config_files libs/port/Makefile"
20707 ac_config_files="$ac_config_files libs/wine/Makefile"
20709 ac_config_files="$ac_config_files libs/wpp/Makefile"
20711 ac_config_files="$ac_config_files loader/Makefile"
20713 ac_config_files="$ac_config_files programs/Makefile"
20715 ac_config_files="$ac_config_files programs/clock/Makefile"
20717 ac_config_files="$ac_config_files programs/cmd/Makefile"
20719 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20721 ac_config_files="$ac_config_files programs/control/Makefile"
20723 ac_config_files="$ac_config_files programs/eject/Makefile"
20725 ac_config_files="$ac_config_files programs/expand/Makefile"
20727 ac_config_files="$ac_config_files programs/explorer/Makefile"
20729 ac_config_files="$ac_config_files programs/hh/Makefile"
20731 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20733 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20735 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20737 ac_config_files="$ac_config_files programs/net/Makefile"
20739 ac_config_files="$ac_config_files programs/notepad/Makefile"
20741 ac_config_files="$ac_config_files programs/oleview/Makefile"
20743 ac_config_files="$ac_config_files programs/progman/Makefile"
20745 ac_config_files="$ac_config_files programs/regedit/Makefile"
20747 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20749 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20751 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20753 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20755 ac_config_files="$ac_config_files programs/start/Makefile"
20757 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20759 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20761 ac_config_files="$ac_config_files programs/view/Makefile"
20763 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20765 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20767 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20769 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20771 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20773 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20775 ac_config_files="$ac_config_files programs/winefile/Makefile"
20777 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20779 ac_config_files="$ac_config_files programs/winemine/Makefile"
20781 ac_config_files="$ac_config_files programs/winepath/Makefile"
20783 ac_config_files="$ac_config_files programs/winetest/Makefile"
20785 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20787 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20789 ac_config_files="$ac_config_files programs/winver/Makefile"
20791 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20793 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20795 ac_config_files="$ac_config_files server/Makefile"
20797 ac_config_files="$ac_config_files tools/Makefile"
20799 ac_config_files="$ac_config_files tools/widl/Makefile"
20801 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20803 ac_config_files="$ac_config_files tools/winedump/Makefile"
20805 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20807 ac_config_files="$ac_config_files tools/wmc/Makefile"
20809 ac_config_files="$ac_config_files tools/wrc/Makefile"
20812 cat >confcache <<\_ACEOF
20813 # This file is a shell script that caches the results of configure
20814 # tests run on this system so they can be shared between configure
20815 # scripts and configure runs, see configure's option --config-cache.
20816 # It is not useful on other systems. If it contains results you don't
20817 # want to keep, you may remove or edit it.
20819 # config.status only pays attention to the cache file if you give it
20820 # the --recheck option to rerun configure.
20822 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20824 # following values.
20826 _ACEOF
20828 # The following way of writing the cache mishandles newlines in values,
20829 # but we know of no workaround that is simple, portable, and efficient.
20830 # So, we kill variables containing newlines.
20831 # Ultrix sh set writes to stderr and can't be redirected directly,
20832 # and sets the high bit in the cache file unless we assign to the vars.
20834 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20835 eval ac_val=\$$ac_var
20836 case $ac_val in #(
20837 *${as_nl}*)
20838 case $ac_var in #(
20839 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20840 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20841 esac
20842 case $ac_var in #(
20843 _ | IFS | as_nl) ;; #(
20844 *) $as_unset $ac_var ;;
20845 esac ;;
20846 esac
20847 done
20849 (set) 2>&1 |
20850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20851 *${as_nl}ac_space=\ *)
20852 # `set' does not quote correctly, so add quotes (double-quote
20853 # substitution turns \\\\ into \\, and sed turns \\ into \).
20854 sed -n \
20855 "s/'/'\\\\''/g;
20856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20857 ;; #(
20859 # `set' quotes correctly as required by POSIX, so do not add quotes.
20860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20862 esac |
20863 sort
20865 sed '
20866 /^ac_cv_env_/b end
20867 t clear
20868 :clear
20869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20870 t end
20871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20872 :end' >>confcache
20873 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20874 if test -w "$cache_file"; then
20875 test "x$cache_file" != "x/dev/null" &&
20876 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20877 echo "$as_me: updating cache $cache_file" >&6;}
20878 cat confcache >$cache_file
20879 else
20880 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20881 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20884 rm -f confcache
20886 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20887 # Let make expand exec_prefix.
20888 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20890 DEFS=-DHAVE_CONFIG_H
20892 ac_libobjs=
20893 ac_ltlibobjs=
20894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20895 # 1. Remove the extension, and $U if already installed.
20896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20897 ac_i=`echo "$ac_i" | sed "$ac_script"`
20898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20899 # will be set to the directory where LIBOBJS objects are built.
20900 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20901 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20902 done
20903 LIBOBJS=$ac_libobjs
20905 LTLIBOBJS=$ac_ltlibobjs
20909 : ${CONFIG_STATUS=./config.status}
20910 ac_clean_files_save=$ac_clean_files
20911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20914 cat >$CONFIG_STATUS <<_ACEOF
20915 #! $SHELL
20916 # Generated by $as_me.
20917 # Run this file to recreate the current configuration.
20918 # Compiler output produced by configure, useful for debugging
20919 # configure, is in config.log if it exists.
20921 debug=false
20922 ac_cs_recheck=false
20923 ac_cs_silent=false
20924 SHELL=\${CONFIG_SHELL-$SHELL}
20925 _ACEOF
20927 cat >>$CONFIG_STATUS <<\_ACEOF
20928 ## --------------------- ##
20929 ## M4sh Initialization. ##
20930 ## --------------------- ##
20932 # Be more Bourne compatible
20933 DUALCASE=1; export DUALCASE # for MKS sh
20934 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20935 emulate sh
20936 NULLCMD=:
20937 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20938 # is contrary to our usage. Disable this feature.
20939 alias -g '${1+"$@"}'='"$@"'
20940 setopt NO_GLOB_SUBST
20941 else
20942 case `(set -o) 2>/dev/null` in
20943 *posix*) set -o posix ;;
20944 esac
20951 # PATH needs CR
20952 # Avoid depending upon Character Ranges.
20953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20956 as_cr_digits='0123456789'
20957 as_cr_alnum=$as_cr_Letters$as_cr_digits
20959 # The user is always right.
20960 if test "${PATH_SEPARATOR+set}" != set; then
20961 echo "#! /bin/sh" >conf$$.sh
20962 echo "exit 0" >>conf$$.sh
20963 chmod +x conf$$.sh
20964 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20965 PATH_SEPARATOR=';'
20966 else
20967 PATH_SEPARATOR=:
20969 rm -f conf$$.sh
20972 # Support unset when possible.
20973 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20974 as_unset=unset
20975 else
20976 as_unset=false
20980 # IFS
20981 # We need space, tab and new line, in precisely that order. Quoting is
20982 # there to prevent editors from complaining about space-tab.
20983 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20984 # splitting by setting IFS to empty value.)
20985 as_nl='
20987 IFS=" "" $as_nl"
20989 # Find who we are. Look in the path if we contain no directory separator.
20990 case $0 in
20991 *[\\/]* ) as_myself=$0 ;;
20992 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20993 for as_dir in $PATH
20995 IFS=$as_save_IFS
20996 test -z "$as_dir" && as_dir=.
20997 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20998 done
20999 IFS=$as_save_IFS
21002 esac
21003 # We did not find ourselves, most probably we were run as `sh COMMAND'
21004 # in which case we are not to be found in the path.
21005 if test "x$as_myself" = x; then
21006 as_myself=$0
21008 if test ! -f "$as_myself"; then
21009 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21010 { (exit 1); exit 1; }
21013 # Work around bugs in pre-3.0 UWIN ksh.
21014 for as_var in ENV MAIL MAILPATH
21015 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21016 done
21017 PS1='$ '
21018 PS2='> '
21019 PS4='+ '
21021 # NLS nuisances.
21022 for as_var in \
21023 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21024 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21025 LC_TELEPHONE LC_TIME
21027 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21028 eval $as_var=C; export $as_var
21029 else
21030 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21032 done
21034 # Required to use basename.
21035 if expr a : '\(a\)' >/dev/null 2>&1 &&
21036 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21037 as_expr=expr
21038 else
21039 as_expr=false
21042 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21043 as_basename=basename
21044 else
21045 as_basename=false
21049 # Name of the executable.
21050 as_me=`$as_basename -- "$0" ||
21051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21052 X"$0" : 'X\(//\)$' \| \
21053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21054 echo X/"$0" |
21055 sed '/^.*\/\([^/][^/]*\)\/*$/{
21056 s//\1/
21059 /^X\/\(\/\/\)$/{
21060 s//\1/
21063 /^X\/\(\/\).*/{
21064 s//\1/
21067 s/.*/./; q'`
21069 # CDPATH.
21070 $as_unset CDPATH
21074 as_lineno_1=$LINENO
21075 as_lineno_2=$LINENO
21076 test "x$as_lineno_1" != "x$as_lineno_2" &&
21077 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21080 # uniformly replaced by the line number. The first 'sed' inserts a
21081 # line-number line after each line using $LINENO; the second 'sed'
21082 # does the real work. The second script uses 'N' to pair each
21083 # line-number line with the line containing $LINENO, and appends
21084 # trailing '-' during substitution so that $LINENO is not a special
21085 # case at line end.
21086 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21087 # scripts with optimization help from Paolo Bonzini. Blame Lee
21088 # E. McMahon (1931-1989) for sed's syntax. :-)
21089 sed -n '
21091 /[$]LINENO/=
21092 ' <$as_myself |
21093 sed '
21094 s/[$]LINENO.*/&-/
21095 t lineno
21097 :lineno
21099 :loop
21100 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21101 t loop
21102 s/-\n.*//
21103 ' >$as_me.lineno &&
21104 chmod +x "$as_me.lineno" ||
21105 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21106 { (exit 1); exit 1; }; }
21108 # Don't try to exec as it changes $[0], causing all sort of problems
21109 # (the dirname of $[0] is not the place where we might find the
21110 # original and so on. Autoconf is especially sensitive to this).
21111 . "./$as_me.lineno"
21112 # Exit status is that of the last command.
21113 exit
21117 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21118 as_dirname=dirname
21119 else
21120 as_dirname=false
21123 ECHO_C= ECHO_N= ECHO_T=
21124 case `echo -n x` in
21125 -n*)
21126 case `echo 'x\c'` in
21127 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21128 *) ECHO_C='\c';;
21129 esac;;
21131 ECHO_N='-n';;
21132 esac
21134 if expr a : '\(a\)' >/dev/null 2>&1 &&
21135 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21136 as_expr=expr
21137 else
21138 as_expr=false
21141 rm -f conf$$ conf$$.exe conf$$.file
21142 if test -d conf$$.dir; then
21143 rm -f conf$$.dir/conf$$.file
21144 else
21145 rm -f conf$$.dir
21146 mkdir conf$$.dir
21148 echo >conf$$.file
21149 if ln -s conf$$.file conf$$ 2>/dev/null; then
21150 as_ln_s='ln -s'
21151 # ... but there are two gotchas:
21152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21154 # In both cases, we have to default to `cp -p'.
21155 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21156 as_ln_s='cp -p'
21157 elif ln conf$$.file conf$$ 2>/dev/null; then
21158 as_ln_s=ln
21159 else
21160 as_ln_s='cp -p'
21162 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21163 rmdir conf$$.dir 2>/dev/null
21165 if mkdir -p . 2>/dev/null; then
21166 as_mkdir_p=:
21167 else
21168 test -d ./-p && rmdir ./-p
21169 as_mkdir_p=false
21172 if test -x / >/dev/null 2>&1; then
21173 as_test_x='test -x'
21174 else
21175 if ls -dL / >/dev/null 2>&1; then
21176 as_ls_L_option=L
21177 else
21178 as_ls_L_option=
21180 as_test_x='
21181 eval sh -c '\''
21182 if test -d "$1"; then
21183 test -d "$1/.";
21184 else
21185 case $1 in
21186 -*)set "./$1";;
21187 esac;
21188 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21189 ???[sx]*):;;*)false;;esac;fi
21190 '\'' sh
21193 as_executable_p=$as_test_x
21195 # Sed expression to map a string onto a valid CPP name.
21196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21198 # Sed expression to map a string onto a valid variable name.
21199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21202 exec 6>&1
21204 # Save the log message, to keep $[0] and so on meaningful, and to
21205 # report actual input values of CONFIG_FILES etc. instead of their
21206 # values after options handling.
21207 ac_log="
21208 This file was extended by Wine $as_me 0.9.40, which was
21209 generated by GNU Autoconf 2.61. Invocation command line was
21211 CONFIG_FILES = $CONFIG_FILES
21212 CONFIG_HEADERS = $CONFIG_HEADERS
21213 CONFIG_LINKS = $CONFIG_LINKS
21214 CONFIG_COMMANDS = $CONFIG_COMMANDS
21215 $ $0 $@
21217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21220 _ACEOF
21222 cat >>$CONFIG_STATUS <<_ACEOF
21223 # Files that config.status was made for.
21224 config_files="$ac_config_files"
21225 config_headers="$ac_config_headers"
21226 config_commands="$ac_config_commands"
21228 _ACEOF
21230 cat >>$CONFIG_STATUS <<\_ACEOF
21231 ac_cs_usage="\
21232 \`$as_me' instantiates files from templates according to the
21233 current configuration.
21235 Usage: $0 [OPTIONS] [FILE]...
21237 -h, --help print this help, then exit
21238 -V, --version print version number and configuration settings, then exit
21239 -q, --quiet do not print progress messages
21240 -d, --debug don't remove temporary files
21241 --recheck update $as_me by reconfiguring in the same conditions
21242 --file=FILE[:TEMPLATE]
21243 instantiate the configuration file FILE
21244 --header=FILE[:TEMPLATE]
21245 instantiate the configuration header FILE
21247 Configuration files:
21248 $config_files
21250 Configuration headers:
21251 $config_headers
21253 Configuration commands:
21254 $config_commands
21256 Report bugs to <bug-autoconf@gnu.org>."
21258 _ACEOF
21259 cat >>$CONFIG_STATUS <<_ACEOF
21260 ac_cs_version="\\
21261 Wine config.status 0.9.40
21262 configured by $0, generated by GNU Autoconf 2.61,
21263 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21265 Copyright (C) 2006 Free Software Foundation, Inc.
21266 This config.status script is free software; the Free Software Foundation
21267 gives unlimited permission to copy, distribute and modify it."
21269 ac_pwd='$ac_pwd'
21270 srcdir='$srcdir'
21271 INSTALL='$INSTALL'
21272 _ACEOF
21274 cat >>$CONFIG_STATUS <<\_ACEOF
21275 # If no file are specified by the user, then we need to provide default
21276 # value. By we need to know if files were specified by the user.
21277 ac_need_defaults=:
21278 while test $# != 0
21280 case $1 in
21281 --*=*)
21282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21283 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21284 ac_shift=:
21287 ac_option=$1
21288 ac_optarg=$2
21289 ac_shift=shift
21291 esac
21293 case $ac_option in
21294 # Handling of the options.
21295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21296 ac_cs_recheck=: ;;
21297 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21298 echo "$ac_cs_version"; exit ;;
21299 --debug | --debu | --deb | --de | --d | -d )
21300 debug=: ;;
21301 --file | --fil | --fi | --f )
21302 $ac_shift
21303 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21304 ac_need_defaults=false;;
21305 --header | --heade | --head | --hea )
21306 $ac_shift
21307 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21308 ac_need_defaults=false;;
21309 --he | --h)
21310 # Conflict between --help and --header
21311 { echo "$as_me: error: ambiguous option: $1
21312 Try \`$0 --help' for more information." >&2
21313 { (exit 1); exit 1; }; };;
21314 --help | --hel | -h )
21315 echo "$ac_cs_usage"; exit ;;
21316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21317 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21318 ac_cs_silent=: ;;
21320 # This is an error.
21321 -*) { echo "$as_me: error: unrecognized option: $1
21322 Try \`$0 --help' for more information." >&2
21323 { (exit 1); exit 1; }; } ;;
21325 *) ac_config_targets="$ac_config_targets $1"
21326 ac_need_defaults=false ;;
21328 esac
21329 shift
21330 done
21332 ac_configure_extra_args=
21334 if $ac_cs_silent; then
21335 exec 6>/dev/null
21336 ac_configure_extra_args="$ac_configure_extra_args --silent"
21339 _ACEOF
21340 cat >>$CONFIG_STATUS <<_ACEOF
21341 if \$ac_cs_recheck; then
21342 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21343 CONFIG_SHELL=$SHELL
21344 export CONFIG_SHELL
21345 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21348 _ACEOF
21349 cat >>$CONFIG_STATUS <<\_ACEOF
21350 exec 5>>config.log
21352 echo
21353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21354 ## Running $as_me. ##
21355 _ASBOX
21356 echo "$ac_log"
21357 } >&5
21359 _ACEOF
21360 cat >>$CONFIG_STATUS <<_ACEOF
21361 _ACEOF
21363 cat >>$CONFIG_STATUS <<\_ACEOF
21365 # Handling of arguments.
21366 for ac_config_target in $ac_config_targets
21368 case $ac_config_target in
21369 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21370 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21371 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21372 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21373 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21374 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21375 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21376 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21377 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21378 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21379 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21380 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21381 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21382 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21383 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21384 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21385 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21386 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21387 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21388 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21389 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21390 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21391 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21392 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21393 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21394 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21395 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21396 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21397 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21398 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21399 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21400 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21401 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21402 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21403 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21404 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21405 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21406 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21407 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21408 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21409 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21410 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21411 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21412 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21413 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21414 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21415 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21416 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21417 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21418 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21419 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21420 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21421 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21422 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21423 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21424 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21425 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21426 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21427 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21428 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21429 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21430 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21431 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21432 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21433 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21434 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21435 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21436 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21437 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21438 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21439 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21440 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21441 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21442 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21443 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21444 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21445 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21446 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21447 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21448 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21449 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21450 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21451 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21452 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21453 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21454 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21455 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21456 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21457 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21458 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21459 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21460 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21461 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21462 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21463 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21464 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21465 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21466 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21467 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21468 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21469 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21470 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21471 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21472 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21473 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21474 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21475 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21476 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21477 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21478 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21479 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21480 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21481 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21482 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21483 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21484 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21485 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21486 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21487 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21488 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21489 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21490 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21491 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21492 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21493 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21494 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21495 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21496 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21497 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21498 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21499 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21500 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21501 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21502 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21503 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21504 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21505 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21506 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21507 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21508 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21509 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21510 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21511 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21512 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21513 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21514 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21515 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21516 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21517 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21518 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21519 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21520 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21521 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21522 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21523 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21524 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21525 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21526 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21527 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21528 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21529 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21530 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21531 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21532 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21533 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21534 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21535 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21536 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21537 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21538 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21539 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21540 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21541 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21542 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21543 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21544 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21545 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21546 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21547 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21548 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21549 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21550 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21551 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21552 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21553 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21554 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21555 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21556 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21557 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21558 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21559 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21560 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21561 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21562 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21563 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21564 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21565 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21566 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21567 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21568 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21569 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21570 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21571 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21572 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21573 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21574 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21575 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21576 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21577 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21578 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21579 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21580 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21581 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21582 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21583 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21584 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21585 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21586 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21587 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21588 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21589 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21590 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21591 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21592 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21593 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21594 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21595 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21596 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21597 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21598 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21599 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21600 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21601 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21602 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21603 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21604 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21605 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21606 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21607 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21608 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21609 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21610 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21611 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21612 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21613 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21614 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21615 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21616 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21617 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21618 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21619 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21620 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21621 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21622 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21623 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21624 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21625 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21626 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21627 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21628 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21629 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21630 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21631 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21632 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21633 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21634 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21635 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21636 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21637 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21638 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21639 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21640 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21641 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21642 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21643 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21644 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21645 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21646 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21647 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21648 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21649 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21650 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21651 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21652 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21653 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21654 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21655 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21656 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21657 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21658 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21659 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21660 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21661 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21662 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21663 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21664 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21665 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21666 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21667 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21668 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21669 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21670 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21671 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21672 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21673 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21674 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21675 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21676 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21677 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21678 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21679 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21680 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21681 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21682 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21683 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21684 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21685 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21686 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21687 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21688 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21689 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21690 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21691 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21692 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21693 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21694 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21695 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21696 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21697 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21698 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21699 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21700 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21701 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21702 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21703 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21704 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21705 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21706 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21707 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21708 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21709 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21710 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21711 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21712 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21713 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21714 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21715 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21716 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21717 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21718 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21719 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21720 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21721 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21722 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21723 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21724 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21726 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21727 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21728 { (exit 1); exit 1; }; };;
21729 esac
21730 done
21733 # If the user did not use the arguments to specify the items to instantiate,
21734 # then the envvar interface is used. Set only those that are not.
21735 # We use the long form for the default assignment because of an extremely
21736 # bizarre bug on SunOS 4.1.3.
21737 if $ac_need_defaults; then
21738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21743 # Have a temporary directory for convenience. Make it in the build tree
21744 # simply because there is no reason against having it here, and in addition,
21745 # creating and moving files from /tmp can sometimes cause problems.
21746 # Hook for its removal unless debugging.
21747 # Note that there is a small window in which the directory will not be cleaned:
21748 # after its creation but before its name has been assigned to `$tmp'.
21749 $debug ||
21751 tmp=
21752 trap 'exit_status=$?
21753 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21755 trap '{ (exit 1); exit 1; }' 1 2 13 15
21757 # Create a (secure) tmp directory for tmp files.
21760 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21761 test -n "$tmp" && test -d "$tmp"
21762 } ||
21764 tmp=./conf$$-$RANDOM
21765 (umask 077 && mkdir "$tmp")
21766 } ||
21768 echo "$me: cannot create a temporary directory in ." >&2
21769 { (exit 1); exit 1; }
21773 # Set up the sed scripts for CONFIG_FILES section.
21776 # No need to generate the scripts if there are no CONFIG_FILES.
21777 # This happens for instance when ./config.status config.h
21778 if test -n "$CONFIG_FILES"; then
21780 _ACEOF
21782 # Create sed commands to just substitute file output variables.
21784 # Remaining file output variables are in a fragment that also has non-file
21785 # output varibles.
21789 ac_delim='%!_!# '
21790 for ac_last_try in false false false false false :; do
21791 cat >conf$$subs.sed <<_ACEOF
21792 SHELL!$SHELL$ac_delim
21793 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21794 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21795 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21796 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21797 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21798 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21799 exec_prefix!$exec_prefix$ac_delim
21800 prefix!$prefix$ac_delim
21801 program_transform_name!$program_transform_name$ac_delim
21802 bindir!$bindir$ac_delim
21803 sbindir!$sbindir$ac_delim
21804 libexecdir!$libexecdir$ac_delim
21805 datarootdir!$datarootdir$ac_delim
21806 datadir!$datadir$ac_delim
21807 sysconfdir!$sysconfdir$ac_delim
21808 sharedstatedir!$sharedstatedir$ac_delim
21809 localstatedir!$localstatedir$ac_delim
21810 includedir!$includedir$ac_delim
21811 oldincludedir!$oldincludedir$ac_delim
21812 docdir!$docdir$ac_delim
21813 infodir!$infodir$ac_delim
21814 htmldir!$htmldir$ac_delim
21815 dvidir!$dvidir$ac_delim
21816 pdfdir!$pdfdir$ac_delim
21817 psdir!$psdir$ac_delim
21818 libdir!$libdir$ac_delim
21819 localedir!$localedir$ac_delim
21820 mandir!$mandir$ac_delim
21821 DEFS!$DEFS$ac_delim
21822 ECHO_C!$ECHO_C$ac_delim
21823 ECHO_N!$ECHO_N$ac_delim
21824 ECHO_T!$ECHO_T$ac_delim
21825 LIBS!$LIBS$ac_delim
21826 build_alias!$build_alias$ac_delim
21827 host_alias!$host_alias$ac_delim
21828 target_alias!$target_alias$ac_delim
21829 build!$build$ac_delim
21830 build_cpu!$build_cpu$ac_delim
21831 build_vendor!$build_vendor$ac_delim
21832 build_os!$build_os$ac_delim
21833 host!$host$ac_delim
21834 host_cpu!$host_cpu$ac_delim
21835 host_vendor!$host_vendor$ac_delim
21836 host_os!$host_os$ac_delim
21837 WIN16_FILES!$WIN16_FILES$ac_delim
21838 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21839 SET_MAKE!$SET_MAKE$ac_delim
21840 CC!$CC$ac_delim
21841 CFLAGS!$CFLAGS$ac_delim
21842 LDFLAGS!$LDFLAGS$ac_delim
21843 CPPFLAGS!$CPPFLAGS$ac_delim
21844 ac_ct_CC!$ac_ct_CC$ac_delim
21845 EXEEXT!$EXEEXT$ac_delim
21846 OBJEXT!$OBJEXT$ac_delim
21847 CXX!$CXX$ac_delim
21848 CXXFLAGS!$CXXFLAGS$ac_delim
21849 ac_ct_CXX!$ac_ct_CXX$ac_delim
21850 CPPBIN!$CPPBIN$ac_delim
21851 TOOLSDIR!$TOOLSDIR$ac_delim
21852 XMKMF!$XMKMF$ac_delim
21853 CPP!$CPP$ac_delim
21854 X_CFLAGS!$X_CFLAGS$ac_delim
21855 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21856 X_LIBS!$X_LIBS$ac_delim
21857 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21858 FLEX!$FLEX$ac_delim
21859 BISON!$BISON$ac_delim
21860 AS!$AS$ac_delim
21861 ac_ct_AS!$ac_ct_AS$ac_delim
21862 LD!$LD$ac_delim
21863 AR!$AR$ac_delim
21864 RANLIB!$RANLIB$ac_delim
21865 STRIP!$STRIP$ac_delim
21866 WINDRES!$WINDRES$ac_delim
21867 LN_S!$LN_S$ac_delim
21868 LN!$LN$ac_delim
21869 GREP!$GREP$ac_delim
21870 EGREP!$EGREP$ac_delim
21871 LDCONFIG!$LDCONFIG$ac_delim
21872 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21873 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21874 _ACEOF
21876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21877 break
21878 elif $ac_last_try; then
21879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21881 { (exit 1); exit 1; }; }
21882 else
21883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21885 done
21887 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21888 if test -n "$ac_eof"; then
21889 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21890 ac_eof=`expr $ac_eof + 1`
21893 cat >>$CONFIG_STATUS <<_ACEOF
21894 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21896 /^[ ]*@MAKE_RULES@[ ]*$/{
21897 r $MAKE_RULES
21900 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21901 r $MAKE_DLL_RULES
21904 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21905 r $MAKE_IMPLIB_RULES
21908 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21909 r $MAKE_TEST_RULES
21912 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21913 r $MAKE_PROG_RULES
21916 _ACEOF
21917 sed '
21918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21919 s/^/s,@/; s/!/@,|#_!!_#|/
21922 s/'"$ac_delim"'$/,g/; t
21923 s/$/\\/; p
21924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21925 ' >>$CONFIG_STATUS <conf$$subs.sed
21926 rm -f conf$$subs.sed
21927 cat >>$CONFIG_STATUS <<_ACEOF
21928 CEOF$ac_eof
21929 _ACEOF
21932 ac_delim='%!_!# '
21933 for ac_last_try in false false false false false :; do
21934 cat >conf$$subs.sed <<_ACEOF
21935 INSTALL_DATA!$INSTALL_DATA$ac_delim
21936 LINT!$LINT$ac_delim
21937 LINTFLAGS!$LINTFLAGS$ac_delim
21938 FONTFORGE!$FONTFORGE$ac_delim
21939 PKG_CONFIG!$PKG_CONFIG$ac_delim
21940 PRELINK!$PRELINK$ac_delim
21941 LIBPTHREAD!$LIBPTHREAD$ac_delim
21942 XLIB!$XLIB$ac_delim
21943 XFILES!$XFILES$ac_delim
21944 OPENGLFILES!$OPENGLFILES$ac_delim
21945 GLU32FILES!$GLU32FILES$ac_delim
21946 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21947 QUARTZFILES!$QUARTZFILES$ac_delim
21948 DLLEXT!$DLLEXT$ac_delim
21949 DLLFLAGS!$DLLFLAGS$ac_delim
21950 LDSHARED!$LDSHARED$ac_delim
21951 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21952 LIBEXT!$LIBEXT$ac_delim
21953 IMPLIBEXT!$IMPLIBEXT$ac_delim
21954 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
21955 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
21956 LDD!$LDD$ac_delim
21957 DLLTOOL!$DLLTOOL$ac_delim
21958 DLLWRAP!$DLLWRAP$ac_delim
21959 MINGWAR!$MINGWAR$ac_delim
21960 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21961 IOKITLIB!$IOKITLIB$ac_delim
21962 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21963 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21964 COREAUDIO!$COREAUDIO$ac_delim
21965 CARBONLIB!$CARBONLIB$ac_delim
21966 CROSSTEST!$CROSSTEST$ac_delim
21967 CROSSCC!$CROSSCC$ac_delim
21968 CROSSWINDRES!$CROSSWINDRES$ac_delim
21969 NASLIBS!$NASLIBS$ac_delim
21970 XML2LIBS!$XML2LIBS$ac_delim
21971 XML2INCL!$XML2INCL$ac_delim
21972 XSLTLIBS!$XSLTLIBS$ac_delim
21973 XSLTINCL!$XSLTINCL$ac_delim
21974 HALINCL!$HALINCL$ac_delim
21975 sane_devel!$sane_devel$ac_delim
21976 SANEINCL!$SANEINCL$ac_delim
21977 gphoto2_devel!$gphoto2_devel$ac_delim
21978 gphoto2port_devel!$gphoto2port_devel$ac_delim
21979 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21980 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21981 ICULIBS!$ICULIBS$ac_delim
21982 RESOLVLIBS!$RESOLVLIBS$ac_delim
21983 LCMSLIBS!$LCMSLIBS$ac_delim
21984 LDAPLIBS!$LDAPLIBS$ac_delim
21985 ft_devel!$ft_devel$ac_delim
21986 FREETYPELIBS!$FREETYPELIBS$ac_delim
21987 FREETYPEINCL!$FREETYPEINCL$ac_delim
21988 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21989 ESDCONFIG!$ESDCONFIG$ac_delim
21990 ESDLIBS!$ESDLIBS$ac_delim
21991 ESDINCL!$ESDINCL$ac_delim
21992 ALSALIBS!$ALSALIBS$ac_delim
21993 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21994 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21995 BUILTINFLAG!$BUILTINFLAG$ac_delim
21996 LDPATH!$LDPATH$ac_delim
21997 CRTLIBS!$CRTLIBS$ac_delim
21998 SOCKETLIBS!$SOCKETLIBS$ac_delim
21999 MAIN_BINARY!$MAIN_BINARY$ac_delim
22000 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22001 LIBDL!$LIBDL$ac_delim
22002 LIBPOLL!$LIBPOLL$ac_delim
22003 DEPENDENCIES!$DEPENDENCIES$ac_delim
22004 LIBOBJS!$LIBOBJS$ac_delim
22005 LTLIBOBJS!$LTLIBOBJS$ac_delim
22006 _ACEOF
22008 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22009 break
22010 elif $ac_last_try; then
22011 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22012 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22013 { (exit 1); exit 1; }; }
22014 else
22015 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22017 done
22019 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22020 if test -n "$ac_eof"; then
22021 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22022 ac_eof=`expr $ac_eof + 1`
22025 cat >>$CONFIG_STATUS <<_ACEOF
22026 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22028 _ACEOF
22029 sed '
22030 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22031 s/^/s,@/; s/!/@,|#_!!_#|/
22034 s/'"$ac_delim"'$/,g/; t
22035 s/$/\\/; p
22036 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22037 ' >>$CONFIG_STATUS <conf$$subs.sed
22038 rm -f conf$$subs.sed
22039 cat >>$CONFIG_STATUS <<_ACEOF
22040 :end
22041 s/|#_!!_#|//g
22042 CEOF$ac_eof
22043 _ACEOF
22046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22048 # trailing colons and then remove the whole line if VPATH becomes empty
22049 # (actually we leave an empty line to preserve line numbers).
22050 if test "x$srcdir" = x.; then
22051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22052 s/:*\$(srcdir):*/:/
22053 s/:*\${srcdir}:*/:/
22054 s/:*@srcdir@:*/:/
22055 s/^\([^=]*=[ ]*\):*/\1/
22056 s/:*$//
22057 s/^[^=]*=[ ]*$//
22061 cat >>$CONFIG_STATUS <<\_ACEOF
22062 fi # test -n "$CONFIG_FILES"
22065 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22067 case $ac_tag in
22068 :[FHLC]) ac_mode=$ac_tag; continue;;
22069 esac
22070 case $ac_mode$ac_tag in
22071 :[FHL]*:*);;
22072 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22073 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22074 { (exit 1); exit 1; }; };;
22075 :[FH]-) ac_tag=-:-;;
22076 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22077 esac
22078 ac_save_IFS=$IFS
22079 IFS=:
22080 set x $ac_tag
22081 IFS=$ac_save_IFS
22082 shift
22083 ac_file=$1
22084 shift
22086 case $ac_mode in
22087 :L) ac_source=$1;;
22088 :[FH])
22089 ac_file_inputs=
22090 for ac_f
22092 case $ac_f in
22093 -) ac_f="$tmp/stdin";;
22094 *) # Look for the file first in the build tree, then in the source tree
22095 # (if the path is not absolute). The absolute path cannot be DOS-style,
22096 # because $ac_f cannot contain `:'.
22097 test -f "$ac_f" ||
22098 case $ac_f in
22099 [\\/$]*) false;;
22100 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22101 esac ||
22102 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22103 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22104 { (exit 1); exit 1; }; };;
22105 esac
22106 ac_file_inputs="$ac_file_inputs $ac_f"
22107 done
22109 # Let's still pretend it is `configure' which instantiates (i.e., don't
22110 # use $as_me), people would be surprised to read:
22111 # /* config.h. Generated by config.status. */
22112 configure_input="Generated from "`IFS=:
22113 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22114 if test x"$ac_file" != x-; then
22115 configure_input="$ac_file. $configure_input"
22116 { echo "$as_me:$LINENO: creating $ac_file" >&5
22117 echo "$as_me: creating $ac_file" >&6;}
22120 case $ac_tag in
22121 *:-:* | *:-) cat >"$tmp/stdin";;
22122 esac
22124 esac
22126 ac_dir=`$as_dirname -- "$ac_file" ||
22127 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22128 X"$ac_file" : 'X\(//\)[^/]' \| \
22129 X"$ac_file" : 'X\(//\)$' \| \
22130 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22131 echo X"$ac_file" |
22132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22133 s//\1/
22136 /^X\(\/\/\)[^/].*/{
22137 s//\1/
22140 /^X\(\/\/\)$/{
22141 s//\1/
22144 /^X\(\/\).*/{
22145 s//\1/
22148 s/.*/./; q'`
22149 { as_dir="$ac_dir"
22150 case $as_dir in #(
22151 -*) as_dir=./$as_dir;;
22152 esac
22153 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22154 as_dirs=
22155 while :; do
22156 case $as_dir in #(
22157 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22158 *) as_qdir=$as_dir;;
22159 esac
22160 as_dirs="'$as_qdir' $as_dirs"
22161 as_dir=`$as_dirname -- "$as_dir" ||
22162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22163 X"$as_dir" : 'X\(//\)[^/]' \| \
22164 X"$as_dir" : 'X\(//\)$' \| \
22165 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22166 echo X"$as_dir" |
22167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22168 s//\1/
22171 /^X\(\/\/\)[^/].*/{
22172 s//\1/
22175 /^X\(\/\/\)$/{
22176 s//\1/
22179 /^X\(\/\).*/{
22180 s//\1/
22183 s/.*/./; q'`
22184 test -d "$as_dir" && break
22185 done
22186 test -z "$as_dirs" || eval "mkdir $as_dirs"
22187 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22188 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22189 { (exit 1); exit 1; }; }; }
22190 ac_builddir=.
22192 case "$ac_dir" in
22193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22195 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22196 # A ".." for each directory in $ac_dir_suffix.
22197 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22198 case $ac_top_builddir_sub in
22199 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22200 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22201 esac ;;
22202 esac
22203 ac_abs_top_builddir=$ac_pwd
22204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22205 # for backward compatibility:
22206 ac_top_builddir=$ac_top_build_prefix
22208 case $srcdir in
22209 .) # We are building in place.
22210 ac_srcdir=.
22211 ac_top_srcdir=$ac_top_builddir_sub
22212 ac_abs_top_srcdir=$ac_pwd ;;
22213 [\\/]* | ?:[\\/]* ) # Absolute name.
22214 ac_srcdir=$srcdir$ac_dir_suffix;
22215 ac_top_srcdir=$srcdir
22216 ac_abs_top_srcdir=$srcdir ;;
22217 *) # Relative name.
22218 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22219 ac_top_srcdir=$ac_top_build_prefix$srcdir
22220 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22221 esac
22222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22225 case $ac_mode in
22228 # CONFIG_FILE
22231 case $INSTALL in
22232 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22233 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22234 esac
22235 _ACEOF
22237 cat >>$CONFIG_STATUS <<\_ACEOF
22238 # If the template does not know about datarootdir, expand it.
22239 # FIXME: This hack should be removed a few years after 2.60.
22240 ac_datarootdir_hack=; ac_datarootdir_seen=
22242 case `sed -n '/datarootdir/ {
22246 /@datadir@/p
22247 /@docdir@/p
22248 /@infodir@/p
22249 /@localedir@/p
22250 /@mandir@/p
22251 ' $ac_file_inputs` in
22252 *datarootdir*) ac_datarootdir_seen=yes;;
22253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22254 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22255 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22256 _ACEOF
22257 cat >>$CONFIG_STATUS <<_ACEOF
22258 ac_datarootdir_hack='
22259 s&@datadir@&$datadir&g
22260 s&@docdir@&$docdir&g
22261 s&@infodir@&$infodir&g
22262 s&@localedir@&$localedir&g
22263 s&@mandir@&$mandir&g
22264 s&\\\${datarootdir}&$datarootdir&g' ;;
22265 esac
22266 _ACEOF
22268 # Neutralize VPATH when `$srcdir' = `.'.
22269 # Shell code in configure.ac might set extrasub.
22270 # FIXME: do we really want to maintain this feature?
22271 cat >>$CONFIG_STATUS <<_ACEOF
22272 sed "$ac_vpsub
22273 $extrasub
22274 _ACEOF
22275 cat >>$CONFIG_STATUS <<\_ACEOF
22277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22278 s&@configure_input@&$configure_input&;t t
22279 s&@top_builddir@&$ac_top_builddir_sub&;t t
22280 s&@srcdir@&$ac_srcdir&;t t
22281 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22282 s&@top_srcdir@&$ac_top_srcdir&;t t
22283 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22284 s&@builddir@&$ac_builddir&;t t
22285 s&@abs_builddir@&$ac_abs_builddir&;t t
22286 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22287 s&@INSTALL@&$ac_INSTALL&;t t
22288 $ac_datarootdir_hack
22289 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22291 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22292 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22293 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22294 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22295 which seems to be undefined. Please make sure it is defined." >&5
22296 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22297 which seems to be undefined. Please make sure it is defined." >&2;}
22299 rm -f "$tmp/stdin"
22300 case $ac_file in
22301 -) cat "$tmp/out"; rm -f "$tmp/out";;
22302 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22303 esac
22307 # CONFIG_HEADER
22309 _ACEOF
22311 # Transform confdefs.h into a sed script `conftest.defines', that
22312 # substitutes the proper values into config.h.in to produce config.h.
22313 rm -f conftest.defines conftest.tail
22314 # First, append a space to every undef/define line, to ease matching.
22315 echo 's/$/ /' >conftest.defines
22316 # Then, protect against being on the right side of a sed subst, or in
22317 # an unquoted here document, in config.status. If some macros were
22318 # called several times there might be several #defines for the same
22319 # symbol, which is useless. But do not sort them, since the last
22320 # AC_DEFINE must be honored.
22321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22322 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22323 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22324 # PARAMS is the parameter list in the macro definition--in most cases, it's
22325 # just an empty string.
22326 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22327 ac_dB='\\)[ (].*,\\1define\\2'
22328 ac_dC=' '
22329 ac_dD=' ,'
22331 uniq confdefs.h |
22332 sed -n '
22333 t rset
22334 :rset
22335 s/^[ ]*#[ ]*define[ ][ ]*//
22336 t ok
22339 s/[\\&,]/\\&/g
22340 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22341 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22342 ' >>conftest.defines
22344 # Remove the space that was appended to ease matching.
22345 # Then replace #undef with comments. This is necessary, for
22346 # example, in the case of _POSIX_SOURCE, which is predefined and required
22347 # on some systems where configure will not decide to define it.
22348 # (The regexp can be short, since the line contains either #define or #undef.)
22349 echo 's/ $//
22350 s,^[ #]*u.*,/* & */,' >>conftest.defines
22352 # Break up conftest.defines:
22353 ac_max_sed_lines=50
22355 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22356 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22357 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22358 # et cetera.
22359 ac_in='$ac_file_inputs'
22360 ac_out='"$tmp/out1"'
22361 ac_nxt='"$tmp/out2"'
22363 while :
22365 # Write a here document:
22366 cat >>$CONFIG_STATUS <<_ACEOF
22367 # First, check the format of the line:
22368 cat >"\$tmp/defines.sed" <<\\CEOF
22369 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22370 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22372 :def
22373 _ACEOF
22374 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22375 echo 'CEOF
22376 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22377 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22378 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22379 grep . conftest.tail >/dev/null || break
22380 rm -f conftest.defines
22381 mv conftest.tail conftest.defines
22382 done
22383 rm -f conftest.defines conftest.tail
22385 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22386 cat >>$CONFIG_STATUS <<\_ACEOF
22387 if test x"$ac_file" != x-; then
22388 echo "/* $configure_input */" >"$tmp/config.h"
22389 cat "$ac_result" >>"$tmp/config.h"
22390 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22391 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22392 echo "$as_me: $ac_file is unchanged" >&6;}
22393 else
22394 rm -f $ac_file
22395 mv "$tmp/config.h" $ac_file
22397 else
22398 echo "/* $configure_input */"
22399 cat "$ac_result"
22401 rm -f "$tmp/out12"
22404 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22405 echo "$as_me: executing $ac_file commands" >&6;}
22407 esac
22410 case $ac_file$ac_mode in
22411 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22412 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22413 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22414 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22415 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22416 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22417 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22418 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22419 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22420 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22421 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22422 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22423 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22425 esac
22426 done # for ac_tag
22429 { (exit 0); exit 0; }
22430 _ACEOF
22431 chmod +x $CONFIG_STATUS
22432 ac_clean_files=$ac_clean_files_save
22435 # configure is writing to config.log, and then calls config.status.
22436 # config.status does its own redirection, appending to config.log.
22437 # Unfortunately, on DOS this fails, as config.log is still kept open
22438 # by configure, so config.status won't be able to write to it; its
22439 # output is simply discarded. So we exec the FD to /dev/null,
22440 # effectively closing config.log, so it can be properly (re)opened and
22441 # appended to by config.status. When coming back to configure, we
22442 # need to make the FD available again.
22443 if test "$no_create" != yes; then
22444 ac_cs_success=:
22445 ac_config_status_args=
22446 test "$silent" = yes &&
22447 ac_config_status_args="$ac_config_status_args --quiet"
22448 exec 5>/dev/null
22449 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22450 exec 5>>config.log
22451 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22452 # would make configure fail if this is the last instruction.
22453 $ac_cs_success || { (exit 1); exit 1; }
22457 if test "$no_create" = "yes"
22458 then
22459 exit 0
22462 ac_save_IFS="$IFS"
22463 IFS="|"
22464 if test "$verbose" = "yes"; then
22465 for msg in $wine_notices; do
22466 if test -n "$msg"; then
22467 echo >&2
22468 { echo "$as_me:$LINENO: $msg" >&5
22469 echo "$as_me: $msg" >&6;}
22471 done
22473 for msg in $wine_warnings; do
22474 if test -n "$msg"; then
22475 echo >&2
22476 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22477 echo "$as_me: WARNING: $msg" >&2;}
22479 done
22480 IFS="$ac_save_IFS"
22482 echo
22483 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22484 echo