Release 0.9.55.
[wine/multimedia.git] / configure
blobe16fd36a3a787b54f0b615db81e7cb7f5c303d2e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.55.
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.55'
578 PACKAGE_STRING='Wine 0.9.55'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 SECURITYLIB
726 COREFOUNDATIONLIB
727 IOKITLIB
728 LDEXECFLAGS
729 DISKARBITRATIONLIB
730 COREAUDIO
731 CARBONLIB
732 CROSSTEST
733 CROSSCC
734 CROSSWINDRES
735 NASLIBS
736 XML2LIBS
737 XML2INCL
738 XSLTLIBS
739 XSLTINCL
740 HALINCL
741 sane_devel
742 SANEINCL
743 gphoto2_devel
744 gphoto2port_devel
745 GPHOTO2LIBS
746 GPHOTO2INCL
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 FONTCONFIGINCL
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.55 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.55:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-alsa do not use the Alsa sound support
1376 --without-audioio do not use the AudioIO sound support
1377 --without-capi do not use CAPI (ISDN support)
1378 --without-cms do not use CMS (color management support)
1379 --without-coreaudio do not use the CoreAudio sound support
1380 --without-cups do not use CUPS
1381 --without-curses do not use (n)curses
1382 --without-esd do not use the EsounD sound support
1383 --without-fontconfig do not use fontconfig
1384 --without-gphoto do not use gphoto (Digital Camera support)
1385 --without-hal do not use HAL (dynamic device support)
1386 --without-jack do not use the Jack sound support
1387 --without-jpeg do not use JPEG
1388 --without-ldap do not use LDAP
1389 --without-nas do not use the NAS sound support
1390 --without-opengl do not use OpenGL
1391 --without-openssl do not use OpenSSL
1392 --without-oss do not use the OSS sound support
1393 --without-png do not use PNG
1394 --without-sane do not use SANE (scanner support)
1395 --without-xcomposite do not use the Xcomposite extension
1396 --without-xcursor do not use the Xcursor extension
1397 --without-xinerama do not use Xinerama (multi-monitor support)
1398 --without-xinput do not use the Xinput extension
1399 --without-xml do not use XML
1400 --without-xrandr do not use Xrandr (resolution changes)
1401 --without-xrender do not use the Xrender extension
1402 --without-xshape do not use the Xshape extension
1403 --without-xshm do not use XShm (shared memory extension)
1404 --without-xslt do not use XSLT
1405 --without-xvidmode do not use XFree video mode extension
1406 --with-wine-tools=DIR use Wine tools from directory DIR
1407 --with-x use the X Window System
1409 Some influential environment variables:
1410 CC C compiler command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1413 nonstandard directory <lib dir>
1414 LIBS libraries to pass to the linker, e.g. -l<library>
1415 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1416 you have headers in a nonstandard directory <include dir>
1417 CXX C++ compiler command
1418 CXXFLAGS C++ compiler flags
1419 XMKMF Path to xmkmf, Makefile generator for X Window System
1420 CPP C preprocessor
1422 Use these variables to override the choices made by `configure' or to help
1423 it to find libraries and programs with nonstandard names/locations.
1425 Report bugs to <wine-devel@winehq.org>.
1426 _ACEOF
1427 ac_status=$?
1430 if test "$ac_init_help" = "recursive"; then
1431 # If there are subdirs, report their specific --help.
1432 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1433 test -d "$ac_dir" || continue
1434 ac_builddir=.
1436 case "$ac_dir" in
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 esac ;;
1446 esac
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1452 case $srcdir in
1453 .) # We are building in place.
1454 ac_srcdir=.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1461 *) # Relative name.
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465 esac
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1471 echo &&
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1474 echo &&
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1476 else
1477 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478 fi || ac_status=$?
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1480 done
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1485 cat <<\_ACEOF
1486 Wine configure 0.9.55
1487 generated by GNU Autoconf 2.61
1489 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1490 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1493 _ACEOF
1494 exit
1496 cat >config.log <<_ACEOF
1497 This file contains any messages produced by compilers while
1498 running configure, to aid debugging if configure makes a mistake.
1500 It was created by Wine $as_me 0.9.55, which was
1501 generated by GNU Autoconf 2.61. Invocation command line was
1503 $ $0 $@
1505 _ACEOF
1506 exec 5>>config.log
1508 cat <<_ASUNAME
1509 ## --------- ##
1510 ## Platform. ##
1511 ## --------- ##
1513 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1514 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1515 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1516 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1517 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1519 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1520 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1522 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1523 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1524 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1525 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1526 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1527 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1528 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1530 _ASUNAME
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 for as_dir in $PATH
1535 IFS=$as_save_IFS
1536 test -z "$as_dir" && as_dir=.
1537 echo "PATH: $as_dir"
1538 done
1539 IFS=$as_save_IFS
1541 } >&5
1543 cat >&5 <<_ACEOF
1546 ## ----------- ##
1547 ## Core tests. ##
1548 ## ----------- ##
1550 _ACEOF
1553 # Keep a trace of the command line.
1554 # Strip out --no-create and --no-recursion so they do not pile up.
1555 # Strip out --silent because we don't want to record it for future runs.
1556 # Also quote any args containing shell meta-characters.
1557 # Make two passes to allow for proper duplicate-argument suppression.
1558 ac_configure_args=
1559 ac_configure_args0=
1560 ac_configure_args1=
1561 ac_must_keep_next=false
1562 for ac_pass in 1 2
1564 for ac_arg
1566 case $ac_arg in
1567 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1569 | -silent | --silent | --silen | --sile | --sil)
1570 continue ;;
1571 *\'*)
1572 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 esac
1574 case $ac_pass in
1575 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1577 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1578 if test $ac_must_keep_next = true; then
1579 ac_must_keep_next=false # Got value, back to normal.
1580 else
1581 case $ac_arg in
1582 *=* | --config-cache | -C | -disable-* | --disable-* \
1583 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1584 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1585 | -with-* | --with-* | -without-* | --without-* | --x)
1586 case "$ac_configure_args0 " in
1587 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 esac
1590 -* ) ac_must_keep_next=true ;;
1591 esac
1593 ac_configure_args="$ac_configure_args '$ac_arg'"
1595 esac
1596 done
1597 done
1598 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1599 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1601 # When interrupted or exit'd, cleanup temporary files, and complete
1602 # config.log. We remove comments because anyway the quotes in there
1603 # would cause problems or look ugly.
1604 # WARNING: Use '\'' to represent an apostrophe within the trap.
1605 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1606 trap 'exit_status=$?
1607 # Save into config.log some information that might help in debugging.
1609 echo
1611 cat <<\_ASBOX
1612 ## ---------------- ##
1613 ## Cache variables. ##
1614 ## ---------------- ##
1615 _ASBOX
1616 echo
1617 # The following way of writing the cache mishandles newlines in values,
1619 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1620 eval ac_val=\$$ac_var
1621 case $ac_val in #(
1622 *${as_nl}*)
1623 case $ac_var in #(
1624 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1625 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1626 esac
1627 case $ac_var in #(
1628 _ | IFS | as_nl) ;; #(
1629 *) $as_unset $ac_var ;;
1630 esac ;;
1631 esac
1632 done
1633 (set) 2>&1 |
1634 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1635 *${as_nl}ac_space=\ *)
1636 sed -n \
1637 "s/'\''/'\''\\\\'\'''\''/g;
1638 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1639 ;; #(
1641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1643 esac |
1644 sort
1646 echo
1648 cat <<\_ASBOX
1649 ## ----------------- ##
1650 ## Output variables. ##
1651 ## ----------------- ##
1652 _ASBOX
1653 echo
1654 for ac_var in $ac_subst_vars
1656 eval ac_val=\$$ac_var
1657 case $ac_val in
1658 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1659 esac
1660 echo "$ac_var='\''$ac_val'\''"
1661 done | sort
1662 echo
1664 if test -n "$ac_subst_files"; then
1665 cat <<\_ASBOX
1666 ## ------------------- ##
1667 ## File substitutions. ##
1668 ## ------------------- ##
1669 _ASBOX
1670 echo
1671 for ac_var in $ac_subst_files
1673 eval ac_val=\$$ac_var
1674 case $ac_val in
1675 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 esac
1677 echo "$ac_var='\''$ac_val'\''"
1678 done | sort
1679 echo
1682 if test -s confdefs.h; then
1683 cat <<\_ASBOX
1684 ## ----------- ##
1685 ## confdefs.h. ##
1686 ## ----------- ##
1687 _ASBOX
1688 echo
1689 cat confdefs.h
1690 echo
1692 test "$ac_signal" != 0 &&
1693 echo "$as_me: caught signal $ac_signal"
1694 echo "$as_me: exit $exit_status"
1695 } >&5
1696 rm -f core *.core core.conftest.* &&
1697 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1698 exit $exit_status
1700 for ac_signal in 1 2 13 15; do
1701 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1702 done
1703 ac_signal=0
1705 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1706 rm -f -r conftest* confdefs.h
1708 # Predefined preprocessor variables.
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_NAME "$PACKAGE_NAME"
1712 _ACEOF
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1717 _ACEOF
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1722 _ACEOF
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_STRING "$PACKAGE_STRING"
1727 _ACEOF
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1732 _ACEOF
1735 # Let the site file select an alternate cache file if it wants to.
1736 # Prefer explicitly selected file to automatically selected ones.
1737 if test -n "$CONFIG_SITE"; then
1738 set x "$CONFIG_SITE"
1739 elif test "x$prefix" != xNONE; then
1740 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1741 else
1742 set x "$ac_default_prefix/share/config.site" \
1743 "$ac_default_prefix/etc/config.site"
1745 shift
1746 for ac_site_file
1748 if test -r "$ac_site_file"; then
1749 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1750 echo "$as_me: loading site script $ac_site_file" >&6;}
1751 sed 's/^/| /' "$ac_site_file" >&5
1752 . "$ac_site_file"
1754 done
1756 if test -r "$cache_file"; then
1757 # Some versions of bash will fail to source /dev/null (special
1758 # files actually), so we avoid doing that.
1759 if test -f "$cache_file"; then
1760 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1761 echo "$as_me: loading cache $cache_file" >&6;}
1762 case $cache_file in
1763 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1764 *) . "./$cache_file";;
1765 esac
1767 else
1768 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1769 echo "$as_me: creating cache $cache_file" >&6;}
1770 >$cache_file
1773 # Check that the precious variables saved in the cache have kept the same
1774 # value.
1775 ac_cache_corrupted=false
1776 for ac_var in $ac_precious_vars; do
1777 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1778 eval ac_new_set=\$ac_env_${ac_var}_set
1779 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1780 eval ac_new_val=\$ac_env_${ac_var}_value
1781 case $ac_old_set,$ac_new_set in
1782 set,)
1783 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1784 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1785 ac_cache_corrupted=: ;;
1786 ,set)
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1790 ,);;
1792 if test "x$ac_old_val" != "x$ac_new_val"; then
1793 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1794 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1795 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1796 echo "$as_me: former value: $ac_old_val" >&2;}
1797 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1798 echo "$as_me: current value: $ac_new_val" >&2;}
1799 ac_cache_corrupted=:
1800 fi;;
1801 esac
1802 # Pass precious variables to config.status.
1803 if test "$ac_new_set" = set; then
1804 case $ac_new_val in
1805 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1806 *) ac_arg=$ac_var=$ac_new_val ;;
1807 esac
1808 case " $ac_configure_args " in
1809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1810 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1811 esac
1813 done
1814 if $ac_cache_corrupted; then
1815 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1816 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1817 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1818 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1819 { (exit 1); exit 1; }; }
1846 ac_ext=c
1847 ac_cpp='$CPP $CPPFLAGS'
1848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1854 ac_config_headers="$ac_config_headers include/config.h"
1856 ac_aux_dir=
1857 for ac_dir in tools "$srcdir"/tools; do
1858 if test -f "$ac_dir/install-sh"; then
1859 ac_aux_dir=$ac_dir
1860 ac_install_sh="$ac_aux_dir/install-sh -c"
1861 break
1862 elif test -f "$ac_dir/install.sh"; then
1863 ac_aux_dir=$ac_dir
1864 ac_install_sh="$ac_aux_dir/install.sh -c"
1865 break
1866 elif test -f "$ac_dir/shtool"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/shtool install -c"
1869 break
1871 done
1872 if test -z "$ac_aux_dir"; then
1873 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1874 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1875 { (exit 1); exit 1; }; }
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 # Check whether --enable-win16 was given.
1890 if test "${enable_win16+set}" = set; then
1891 enableval=$enable_win16;
1894 # Check whether --enable-win64 was given.
1895 if test "${enable_win64+set}" = set; then
1896 enableval=$enable_win64;
1901 # Check whether --with-alsa was given.
1902 if test "${with_alsa+set}" = set; then
1903 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1907 # Check whether --with-audioio was given.
1908 if test "${with_audioio+set}" = set; then
1909 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1913 # Check whether --with-capi was given.
1914 if test "${with_capi+set}" = set; then
1915 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1919 # Check whether --with-cms was given.
1920 if test "${with_cms+set}" = set; then
1921 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1925 # Check whether --with-coreaudio was given.
1926 if test "${with_coreaudio+set}" = set; then
1927 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1931 # Check whether --with-cups was given.
1932 if test "${with_cups+set}" = set; then
1933 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1937 # Check whether --with-curses was given.
1938 if test "${with_curses+set}" = set; then
1939 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1943 # Check whether --with-esd was given.
1944 if test "${with_esd+set}" = set; then
1945 withval=$with_esd;
1949 # Check whether --with-fontconfig was given.
1950 if test "${with_fontconfig+set}" = set; then
1951 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1955 # Check whether --with-gphoto was given.
1956 if test "${with_gphoto+set}" = set; then
1957 withval=$with_gphoto;
1961 # Check whether --with-hal was given.
1962 if test "${with_hal+set}" = set; then
1963 withval=$with_hal;
1967 # Check whether --with-jack was given.
1968 if test "${with_jack+set}" = set; then
1969 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1973 # Check whether --with-jpeg was given.
1974 if test "${with_jpeg+set}" = set; then
1975 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1979 # Check whether --with-ldap was given.
1980 if test "${with_ldap+set}" = set; then
1981 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1985 # Check whether --with-nas was given.
1986 if test "${with_nas+set}" = set; then
1987 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
1991 # Check whether --with-opengl was given.
1992 if test "${with_opengl+set}" = set; then
1993 withval=$with_opengl;
1997 # Check whether --with-openssl was given.
1998 if test "${with_openssl+set}" = set; then
1999 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2003 # Check whether --with-oss was given.
2004 if test "${with_oss+set}" = set; then
2005 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2009 # Check whether --with-png was given.
2010 if test "${with_png+set}" = set; then
2011 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2015 # Check whether --with-sane was given.
2016 if test "${with_sane+set}" = set; then
2017 withval=$with_sane;
2021 # Check whether --with-xcomposite was given.
2022 if test "${with_xcomposite+set}" = set; then
2023 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2027 # Check whether --with-xcursor was given.
2028 if test "${with_xcursor+set}" = set; then
2029 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2033 # Check whether --with-xinerama was given.
2034 if test "${with_xinerama+set}" = set; then
2035 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2039 # Check whether --with-xinput was given.
2040 if test "${with_xinput+set}" = set; then
2041 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2045 # Check whether --with-xml was given.
2046 if test "${with_xml+set}" = set; then
2047 withval=$with_xml;
2051 # Check whether --with-xrandr was given.
2052 if test "${with_xrandr+set}" = set; then
2053 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2057 # Check whether --with-xrender was given.
2058 if test "${with_xrender+set}" = set; then
2059 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2063 # Check whether --with-xshape was given.
2064 if test "${with_xshape+set}" = set; then
2065 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2069 # Check whether --with-xshm was given.
2070 if test "${with_xshm+set}" = set; then
2071 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2075 # Check whether --with-xslt was given.
2076 if test "${with_xslt+set}" = set; then
2077 withval=$with_xslt;
2081 # Check whether --with-xvidmode was given.
2082 if test "${with_xvidmode+set}" = set; then
2083 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2088 # Check whether --with-wine-tools was given.
2089 if test "${with_wine_tools+set}" = set; then
2090 withval=$with_wine_tools;
2094 # Make sure we can run config.sub.
2095 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2096 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2097 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2098 { (exit 1); exit 1; }; }
2100 { echo "$as_me:$LINENO: checking build system type" >&5
2101 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2102 if test "${ac_cv_build+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 else
2105 ac_build_alias=$build_alias
2106 test "x$ac_build_alias" = x &&
2107 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2108 test "x$ac_build_alias" = x &&
2109 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2110 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2111 { (exit 1); exit 1; }; }
2112 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2113 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2114 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2115 { (exit 1); exit 1; }; }
2118 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2119 echo "${ECHO_T}$ac_cv_build" >&6; }
2120 case $ac_cv_build in
2121 *-*-*) ;;
2122 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2123 echo "$as_me: error: invalid value of canonical build" >&2;}
2124 { (exit 1); exit 1; }; };;
2125 esac
2126 build=$ac_cv_build
2127 ac_save_IFS=$IFS; IFS='-'
2128 set x $ac_cv_build
2129 shift
2130 build_cpu=$1
2131 build_vendor=$2
2132 shift; shift
2133 # Remember, the first character of IFS is used to create $*,
2134 # except with old shells:
2135 build_os=$*
2136 IFS=$ac_save_IFS
2137 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2140 { echo "$as_me:$LINENO: checking host system type" >&5
2141 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2142 if test "${ac_cv_host+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 else
2145 if test "x$host_alias" = x; then
2146 ac_cv_host=$ac_cv_build
2147 else
2148 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2149 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2150 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2151 { (exit 1); exit 1; }; }
2155 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2156 echo "${ECHO_T}$ac_cv_host" >&6; }
2157 case $ac_cv_host in
2158 *-*-*) ;;
2159 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2160 echo "$as_me: error: invalid value of canonical host" >&2;}
2161 { (exit 1); exit 1; }; };;
2162 esac
2163 host=$ac_cv_host
2164 ac_save_IFS=$IFS; IFS='-'
2165 set x $ac_cv_host
2166 shift
2167 host_cpu=$1
2168 host_vendor=$2
2169 shift; shift
2170 # Remember, the first character of IFS is used to create $*,
2171 # except with old shells:
2172 host_os=$*
2173 IFS=$ac_save_IFS
2174 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2177 case $host in
2178 x86_64*linux*)
2179 if test "x$enable_win64" != "xyes"
2180 then
2181 test -n "$CC" || CC="gcc -m32"
2182 test -n "$CXX"|| CXX="g++ -m32"
2183 test -n "$LD" || LD="ld -m elf_i386"
2184 test -n "$AS" || AS="as --32"
2185 host_cpu="i386"
2188 esac
2190 case $host_cpu in
2191 *i[3456789]86*)
2192 if test "x$enable_win16" != "xno"
2193 then
2194 enable_win16="yes"
2197 esac
2199 WIN16_FILES="\$(WIN16_FILES)"
2201 WIN16_INSTALL="\$(WIN16_INSTALL)"
2203 if test "x$enable_win16" != "xyes"
2204 then
2205 WIN16_FILES=""
2206 WIN16_INSTALL=""
2209 case "$srcdir" in
2210 .) ;;
2211 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2212 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2213 You need to run 'make distclean' in the source tree first." >&5
2214 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2215 You need to run 'make distclean' in the source tree first." >&2;}
2216 { (exit 1); exit 1; }; }
2217 fi ;;
2218 esac
2221 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2222 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2223 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2224 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 else
2227 cat >conftest.make <<\_ACEOF
2228 SHELL = /bin/sh
2229 all:
2230 @echo '@@@%%%=$(MAKE)=@@@%%%'
2231 _ACEOF
2232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2234 *@@@%%%=?*=@@@%%%*)
2235 eval ac_cv_prog_make_${ac_make}_set=yes;;
2237 eval ac_cv_prog_make_${ac_make}_set=no;;
2238 esac
2239 rm -f conftest.make
2241 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2242 { echo "$as_me:$LINENO: result: yes" >&5
2243 echo "${ECHO_T}yes" >&6; }
2244 SET_MAKE=
2245 else
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2248 SET_MAKE="MAKE=${MAKE-make}"
2251 ac_ext=c
2252 ac_cpp='$CPP $CPPFLAGS'
2253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256 if test -n "$ac_tool_prefix"; then
2257 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2261 if test "${ac_cv_prog_CC+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 else
2264 if test -n "$CC"; then
2265 ac_cv_prog_CC="$CC" # Let the user override the test.
2266 else
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 for as_dir in $PATH
2270 IFS=$as_save_IFS
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2274 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 break 2
2278 done
2279 done
2280 IFS=$as_save_IFS
2284 CC=$ac_cv_prog_CC
2285 if test -n "$CC"; then
2286 { echo "$as_me:$LINENO: result: $CC" >&5
2287 echo "${ECHO_T}$CC" >&6; }
2288 else
2289 { echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6; }
2295 if test -z "$ac_cv_prog_CC"; then
2296 ac_ct_CC=$CC
2297 # Extract the first word of "gcc", so it can be a program name with args.
2298 set dummy gcc; ac_word=$2
2299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_ac_ct_CC="gcc"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2320 IFS=$as_save_IFS
2324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2325 if test -n "$ac_ct_CC"; then
2326 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2327 echo "${ECHO_T}$ac_ct_CC" >&6; }
2328 else
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2333 if test "x$ac_ct_CC" = x; then
2334 CC=""
2335 else
2336 case $cross_compiling:$ac_tool_warned in
2337 yes:)
2338 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2339 whose name does not start with the host triplet. If you think this
2340 configuration is useful to you, please write to autoconf@gnu.org." >&5
2341 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2342 whose name does not start with the host triplet. If you think this
2343 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2344 ac_tool_warned=yes ;;
2345 esac
2346 CC=$ac_ct_CC
2348 else
2349 CC="$ac_cv_prog_CC"
2352 if test -z "$CC"; then
2353 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2355 set dummy ${ac_tool_prefix}cc; ac_word=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 else
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC="$CC" # Let the user override the test.
2363 else
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 for as_dir in $PATH
2367 IFS=$as_save_IFS
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_CC="${ac_tool_prefix}cc"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 break 2
2375 done
2376 done
2377 IFS=$as_save_IFS
2381 CC=$ac_cv_prog_CC
2382 if test -n "$CC"; then
2383 { echo "$as_me:$LINENO: result: $CC" >&5
2384 echo "${ECHO_T}$CC" >&6; }
2385 else
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2393 if test -z "$CC"; then
2394 # Extract the first word of "cc", so it can be a program name with args.
2395 set dummy cc; ac_word=$2
2396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2398 if test "${ac_cv_prog_CC+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC="$CC" # Let the user override the test.
2403 else
2404 ac_prog_rejected=no
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 for as_dir in $PATH
2408 IFS=$as_save_IFS
2409 test -z "$as_dir" && as_dir=.
2410 for ac_exec_ext in '' $ac_executable_extensions; do
2411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2413 ac_prog_rejected=yes
2414 continue
2416 ac_cv_prog_CC="cc"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 break 2
2420 done
2421 done
2422 IFS=$as_save_IFS
2424 if test $ac_prog_rejected = yes; then
2425 # We found a bogon in the path, so make sure we never use it.
2426 set dummy $ac_cv_prog_CC
2427 shift
2428 if test $# != 0; then
2429 # We chose a different compiler from the bogus one.
2430 # However, it has the same basename, so the bogon will be chosen
2431 # first if we set CC to just the basename; use the full file name.
2432 shift
2433 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2438 CC=$ac_cv_prog_CC
2439 if test -n "$CC"; then
2440 { echo "$as_me:$LINENO: result: $CC" >&5
2441 echo "${ECHO_T}$CC" >&6; }
2442 else
2443 { echo "$as_me:$LINENO: result: no" >&5
2444 echo "${ECHO_T}no" >&6; }
2449 if test -z "$CC"; then
2450 if test -n "$ac_tool_prefix"; then
2451 for ac_prog in cl.exe
2453 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2457 if test "${ac_cv_prog_CC+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460 if test -n "$CC"; then
2461 ac_cv_prog_CC="$CC" # Let the user override the test.
2462 else
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 break 2
2474 done
2475 done
2476 IFS=$as_save_IFS
2480 CC=$ac_cv_prog_CC
2481 if test -n "$CC"; then
2482 { echo "$as_me:$LINENO: result: $CC" >&5
2483 echo "${ECHO_T}$CC" >&6; }
2484 else
2485 { echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6; }
2490 test -n "$CC" && break
2491 done
2493 if test -z "$CC"; then
2494 ac_ct_CC=$CC
2495 for ac_prog in cl.exe
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test -n "$ac_ct_CC"; then
2505 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2506 else
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 for as_dir in $PATH
2510 IFS=$as_save_IFS
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_ac_ct_CC="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 break 2
2518 done
2519 done
2520 IFS=$as_save_IFS
2524 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2525 if test -n "$ac_ct_CC"; then
2526 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2527 echo "${ECHO_T}$ac_ct_CC" >&6; }
2528 else
2529 { echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6; }
2534 test -n "$ac_ct_CC" && break
2535 done
2537 if test "x$ac_ct_CC" = x; then
2538 CC=""
2539 else
2540 case $cross_compiling:$ac_tool_warned in
2541 yes:)
2542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2543 whose name does not start with the host triplet. If you think this
2544 configuration is useful to you, please write to autoconf@gnu.org." >&5
2545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2546 whose name does not start with the host triplet. If you think this
2547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2548 ac_tool_warned=yes ;;
2549 esac
2550 CC=$ac_ct_CC
2557 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: no acceptable C compiler found in \$PATH
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2563 # Provide some information about the compiler.
2564 echo "$as_me:$LINENO: checking for C compiler version" >&5
2565 ac_compiler=`set X $ac_compile; echo $2`
2566 { (ac_try="$ac_compiler --version >&5"
2567 case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2572 (eval "$ac_compiler --version >&5") 2>&5
2573 ac_status=$?
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }
2576 { (ac_try="$ac_compiler -v >&5"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compiler -v >&5") 2>&5
2583 ac_status=$?
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }
2586 { (ac_try="$ac_compiler -V >&5"
2587 case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590 esac
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compiler -V >&5") 2>&5
2593 ac_status=$?
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }
2597 cat >conftest.$ac_ext <<_ACEOF
2598 /* confdefs.h. */
2599 _ACEOF
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2605 main ()
2609 return 0;
2611 _ACEOF
2612 ac_clean_files_save=$ac_clean_files
2613 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2614 # Try to create an executable without -o first, disregard a.out.
2615 # It will help us diagnose broken compilers, and finding out an intuition
2616 # of exeext.
2617 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2618 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2619 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2621 # List of possible output files, starting from the most likely.
2622 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2623 # only as a last resort. b.out is created by i960 compilers.
2624 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2626 # The IRIX 6 linker writes into existing files which may not be
2627 # executable, retaining their permissions. Remove them first so a
2628 # subsequent execution test works.
2629 ac_rmfiles=
2630 for ac_file in $ac_files
2632 case $ac_file in
2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2635 esac
2636 done
2637 rm -f $ac_rmfiles
2639 if { (ac_try="$ac_link_default"
2640 case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2643 esac
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_link_default") 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; then
2649 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2650 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2651 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2652 # so that the user can short-circuit this test for compilers unknown to
2653 # Autoconf.
2654 for ac_file in $ac_files ''
2656 test -f "$ac_file" || continue
2657 case $ac_file in
2658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2660 [ab].out )
2661 # We found the default executable, but exeext='' is most
2662 # certainly right.
2663 break;;
2664 *.* )
2665 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2666 then :; else
2667 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2669 # We set ac_cv_exeext here because the later test for it is not
2670 # safe: cross compilers may not add the suffix if given an `-o'
2671 # argument, so we may need to know it at that point already.
2672 # Even if this section looks crufty: it has the advantage of
2673 # actually working.
2674 break;;
2676 break;;
2677 esac
2678 done
2679 test "$ac_cv_exeext" = no && ac_cv_exeext=
2681 else
2682 ac_file=''
2685 { echo "$as_me:$LINENO: result: $ac_file" >&5
2686 echo "${ECHO_T}$ac_file" >&6; }
2687 if test -z "$ac_file"; then
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2692 See \`config.log' for more details." >&5
2693 echo "$as_me: error: C compiler cannot create executables
2694 See \`config.log' for more details." >&2;}
2695 { (exit 77); exit 77; }; }
2698 ac_exeext=$ac_cv_exeext
2700 # Check that the compiler produces executables we can run. If not, either
2701 # the compiler is broken, or we cross compile.
2702 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2703 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2704 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2705 # If not cross compiling, check that we can run a simple program.
2706 if test "$cross_compiling" != yes; then
2707 if { ac_try='./$ac_file'
2708 { (case "(($ac_try" in
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2711 esac
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_try") 2>&5
2714 ac_status=$?
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2717 cross_compiling=no
2718 else
2719 if test "$cross_compiling" = maybe; then
2720 cross_compiling=yes
2721 else
2722 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2723 If you meant to cross compile, use \`--host'.
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: cannot run C compiled programs.
2726 If you meant to cross compile, use \`--host'.
2727 See \`config.log' for more details." >&2;}
2728 { (exit 1); exit 1; }; }
2732 { echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6; }
2735 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2736 ac_clean_files=$ac_clean_files_save
2737 # Check that the compiler produces executables we can run. If not, either
2738 # the compiler is broken, or we cross compile.
2739 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2740 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2741 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2742 echo "${ECHO_T}$cross_compiling" >&6; }
2744 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2745 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2746 if { (ac_try="$ac_link"
2747 case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_link") 2>&5
2753 ac_status=$?
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; then
2756 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2757 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2758 # work properly (i.e., refer to `conftest.exe'), while it won't with
2759 # `rm'.
2760 for ac_file in conftest.exe conftest conftest.*; do
2761 test -f "$ac_file" || continue
2762 case $ac_file in
2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2764 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2765 break;;
2766 * ) break;;
2767 esac
2768 done
2769 else
2770 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2771 See \`config.log' for more details." >&5
2772 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2773 See \`config.log' for more details." >&2;}
2774 { (exit 1); exit 1; }; }
2777 rm -f conftest$ac_cv_exeext
2778 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2779 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2781 rm -f conftest.$ac_ext
2782 EXEEXT=$ac_cv_exeext
2783 ac_exeext=$EXEEXT
2784 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2785 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2786 if test "${ac_cv_objext+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 else
2789 cat >conftest.$ac_ext <<_ACEOF
2790 /* confdefs.h. */
2791 _ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2797 main ()
2801 return 0;
2803 _ACEOF
2804 rm -f conftest.o conftest.obj
2805 if { (ac_try="$ac_compile"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_compile") 2>&5
2812 ac_status=$?
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 for ac_file in conftest.o conftest.obj conftest.*; do
2816 test -f "$ac_file" || continue;
2817 case $ac_file in
2818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2819 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2820 break;;
2821 esac
2822 done
2823 else
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }
2834 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2836 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2837 echo "${ECHO_T}$ac_cv_objext" >&6; }
2838 OBJEXT=$ac_cv_objext
2839 ac_objext=$OBJEXT
2840 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2841 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2842 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 else
2845 cat >conftest.$ac_ext <<_ACEOF
2846 /* confdefs.h. */
2847 _ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2853 main ()
2855 #ifndef __GNUC__
2856 choke me
2857 #endif
2860 return 0;
2862 _ACEOF
2863 rm -f conftest.$ac_objext
2864 if { (ac_try="$ac_compile"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2870 (eval "$ac_compile") 2>conftest.er1
2871 ac_status=$?
2872 grep -v '^ *+' conftest.er1 >conftest.err
2873 rm -f conftest.er1
2874 cat conftest.err >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } && {
2877 test -z "$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2879 } && test -s conftest.$ac_objext; then
2880 ac_compiler_gnu=yes
2881 else
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 ac_compiler_gnu=no
2888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2892 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2893 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2894 GCC=`test $ac_compiler_gnu = yes && echo yes`
2895 ac_test_CFLAGS=${CFLAGS+set}
2896 ac_save_CFLAGS=$CFLAGS
2897 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2898 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2899 if test "${ac_cv_prog_cc_g+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 else
2902 ac_save_c_werror_flag=$ac_c_werror_flag
2903 ac_c_werror_flag=yes
2904 ac_cv_prog_cc_g=no
2905 CFLAGS="-g"
2906 cat >conftest.$ac_ext <<_ACEOF
2907 /* confdefs.h. */
2908 _ACEOF
2909 cat confdefs.h >>conftest.$ac_ext
2910 cat >>conftest.$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2914 main ()
2918 return 0;
2920 _ACEOF
2921 rm -f conftest.$ac_objext
2922 if { (ac_try="$ac_compile"
2923 case "(($ac_try" in
2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925 *) ac_try_echo=$ac_try;;
2926 esac
2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2928 (eval "$ac_compile") 2>conftest.er1
2929 ac_status=$?
2930 grep -v '^ *+' conftest.er1 >conftest.err
2931 rm -f conftest.er1
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } && {
2935 test -z "$ac_c_werror_flag" ||
2936 test ! -s conftest.err
2937 } && test -s conftest.$ac_objext; then
2938 ac_cv_prog_cc_g=yes
2939 else
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 CFLAGS=""
2944 cat >conftest.$ac_ext <<_ACEOF
2945 /* confdefs.h. */
2946 _ACEOF
2947 cat confdefs.h >>conftest.$ac_ext
2948 cat >>conftest.$ac_ext <<_ACEOF
2949 /* end confdefs.h. */
2952 main ()
2956 return 0;
2958 _ACEOF
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2961 case "(($ac_try" in
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2964 esac
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2967 ac_status=$?
2968 grep -v '^ *+' conftest.er1 >conftest.err
2969 rm -f conftest.er1
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } && {
2973 test -z "$ac_c_werror_flag" ||
2974 test ! -s conftest.err
2975 } && test -s conftest.$ac_objext; then
2977 else
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2981 ac_c_werror_flag=$ac_save_c_werror_flag
2982 CFLAGS="-g"
2983 cat >conftest.$ac_ext <<_ACEOF
2984 /* confdefs.h. */
2985 _ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2991 main ()
2995 return 0;
2997 _ACEOF
2998 rm -f conftest.$ac_objext
2999 if { (ac_try="$ac_compile"
3000 case "(($ac_try" in
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3003 esac
3004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3005 (eval "$ac_compile") 2>conftest.er1
3006 ac_status=$?
3007 grep -v '^ *+' conftest.er1 >conftest.err
3008 rm -f conftest.er1
3009 cat conftest.err >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.$ac_objext; then
3015 ac_cv_prog_cc_g=yes
3016 else
3017 echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 ac_c_werror_flag=$ac_save_c_werror_flag
3032 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3033 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3034 if test "$ac_test_CFLAGS" = set; then
3035 CFLAGS=$ac_save_CFLAGS
3036 elif test $ac_cv_prog_cc_g = yes; then
3037 if test "$GCC" = yes; then
3038 CFLAGS="-g -O2"
3039 else
3040 CFLAGS="-g"
3042 else
3043 if test "$GCC" = yes; then
3044 CFLAGS="-O2"
3045 else
3046 CFLAGS=
3049 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3050 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3051 if test "${ac_cv_prog_cc_c89+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 else
3054 ac_cv_prog_cc_c89=no
3055 ac_save_CC=$CC
3056 cat >conftest.$ac_ext <<_ACEOF
3057 /* confdefs.h. */
3058 _ACEOF
3059 cat confdefs.h >>conftest.$ac_ext
3060 cat >>conftest.$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3062 #include <stdarg.h>
3063 #include <stdio.h>
3064 #include <sys/types.h>
3065 #include <sys/stat.h>
3066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3067 struct buf { int x; };
3068 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3069 static char *e (p, i)
3070 char **p;
3071 int i;
3073 return p[i];
3075 static char *f (char * (*g) (char **, int), char **p, ...)
3077 char *s;
3078 va_list v;
3079 va_start (v,p);
3080 s = g (p, va_arg (v,int));
3081 va_end (v);
3082 return s;
3085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3086 function prototypes and stuff, but not '\xHH' hex character constants.
3087 These don't provoke an error unfortunately, instead are silently treated
3088 as 'x'. The following induces an error, until -std is added to get
3089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3090 array size at least. It's necessary to write '\x00'==0 to get something
3091 that's true only with -std. */
3092 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3094 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3095 inside strings and character constants. */
3096 #define FOO(x) 'x'
3097 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3099 int test (int i, double x);
3100 struct s1 {int (*f) (int a);};
3101 struct s2 {int (*f) (double a);};
3102 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3103 int argc;
3104 char **argv;
3106 main ()
3108 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3110 return 0;
3112 _ACEOF
3113 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3114 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3116 CC="$ac_save_CC $ac_arg"
3117 rm -f conftest.$ac_objext
3118 if { (ac_try="$ac_compile"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compile") 2>conftest.er1
3125 ac_status=$?
3126 grep -v '^ *+' conftest.er1 >conftest.err
3127 rm -f conftest.er1
3128 cat conftest.err >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && {
3131 test -z "$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then
3134 ac_cv_prog_cc_c89=$ac_arg
3135 else
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3142 rm -f core conftest.err conftest.$ac_objext
3143 test "x$ac_cv_prog_cc_c89" != "xno" && break
3144 done
3145 rm -f conftest.$ac_ext
3146 CC=$ac_save_CC
3149 # AC_CACHE_VAL
3150 case "x$ac_cv_prog_cc_c89" in
3152 { echo "$as_me:$LINENO: result: none needed" >&5
3153 echo "${ECHO_T}none needed" >&6; } ;;
3154 xno)
3155 { echo "$as_me:$LINENO: result: unsupported" >&5
3156 echo "${ECHO_T}unsupported" >&6; } ;;
3158 CC="$CC $ac_cv_prog_cc_c89"
3159 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3160 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3161 esac
3164 ac_ext=c
3165 ac_cpp='$CPP $CPPFLAGS'
3166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3170 ac_ext=cpp
3171 ac_cpp='$CXXCPP $CPPFLAGS'
3172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3175 if test -z "$CXX"; then
3176 if test -n "$CCC"; then
3177 CXX=$CCC
3178 else
3179 if test -n "$ac_tool_prefix"; then
3180 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3186 if test "${ac_cv_prog_CXX+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189 if test -n "$CXX"; then
3190 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3191 else
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in $PATH
3195 IFS=$as_save_IFS
3196 test -z "$as_dir" && as_dir=.
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 break 2
3203 done
3204 done
3205 IFS=$as_save_IFS
3209 CXX=$ac_cv_prog_CXX
3210 if test -n "$CXX"; then
3211 { echo "$as_me:$LINENO: result: $CXX" >&5
3212 echo "${ECHO_T}$CXX" >&6; }
3213 else
3214 { echo "$as_me:$LINENO: result: no" >&5
3215 echo "${ECHO_T}no" >&6; }
3219 test -n "$CXX" && break
3220 done
3222 if test -z "$CXX"; then
3223 ac_ct_CXX=$CXX
3224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3226 # Extract the first word of "$ac_prog", so it can be a program name with args.
3227 set dummy $ac_prog; ac_word=$2
3228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3230 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 else
3233 if test -n "$ac_ct_CXX"; then
3234 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3239 IFS=$as_save_IFS
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3243 ac_cv_prog_ac_ct_CXX="$ac_prog"
3244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 break 2
3247 done
3248 done
3249 IFS=$as_save_IFS
3253 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3254 if test -n "$ac_ct_CXX"; then
3255 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3256 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3257 else
3258 { echo "$as_me:$LINENO: result: no" >&5
3259 echo "${ECHO_T}no" >&6; }
3263 test -n "$ac_ct_CXX" && break
3264 done
3266 if test "x$ac_ct_CXX" = x; then
3267 CXX="g++"
3268 else
3269 case $cross_compiling:$ac_tool_warned in
3270 yes:)
3271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3272 whose name does not start with the host triplet. If you think this
3273 configuration is useful to you, please write to autoconf@gnu.org." >&5
3274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3275 whose name does not start with the host triplet. If you think this
3276 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3277 ac_tool_warned=yes ;;
3278 esac
3279 CXX=$ac_ct_CXX
3285 # Provide some information about the compiler.
3286 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3287 ac_compiler=`set X $ac_compile; echo $2`
3288 { (ac_try="$ac_compiler --version >&5"
3289 case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3292 esac
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compiler --version >&5") 2>&5
3295 ac_status=$?
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }
3298 { (ac_try="$ac_compiler -v >&5"
3299 case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3302 esac
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_compiler -v >&5") 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }
3308 { (ac_try="$ac_compiler -V >&5"
3309 case "(($ac_try" in
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3312 esac
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compiler -V >&5") 2>&5
3315 ac_status=$?
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }
3319 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3320 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3321 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 else
3324 cat >conftest.$ac_ext <<_ACEOF
3325 /* confdefs.h. */
3326 _ACEOF
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3332 main ()
3334 #ifndef __GNUC__
3335 choke me
3336 #endif
3339 return 0;
3341 _ACEOF
3342 rm -f conftest.$ac_objext
3343 if { (ac_try="$ac_compile"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compile") 2>conftest.er1
3350 ac_status=$?
3351 grep -v '^ *+' conftest.er1 >conftest.err
3352 rm -f conftest.er1
3353 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } && {
3356 test -z "$ac_cxx_werror_flag" ||
3357 test ! -s conftest.err
3358 } && test -s conftest.$ac_objext; then
3359 ac_compiler_gnu=yes
3360 else
3361 echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3364 ac_compiler_gnu=no
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3371 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3372 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3373 GXX=`test $ac_compiler_gnu = yes && echo yes`
3374 ac_test_CXXFLAGS=${CXXFLAGS+set}
3375 ac_save_CXXFLAGS=$CXXFLAGS
3376 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3377 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3378 if test "${ac_cv_prog_cxx_g+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 else
3381 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3382 ac_cxx_werror_flag=yes
3383 ac_cv_prog_cxx_g=no
3384 CXXFLAGS="-g"
3385 cat >conftest.$ac_ext <<_ACEOF
3386 /* confdefs.h. */
3387 _ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3393 main ()
3397 return 0;
3399 _ACEOF
3400 rm -f conftest.$ac_objext
3401 if { (ac_try="$ac_compile"
3402 case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3405 esac
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_compile") 2>conftest.er1
3408 ac_status=$?
3409 grep -v '^ *+' conftest.er1 >conftest.err
3410 rm -f conftest.er1
3411 cat conftest.err >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } && {
3414 test -z "$ac_cxx_werror_flag" ||
3415 test ! -s conftest.err
3416 } && test -s conftest.$ac_objext; then
3417 ac_cv_prog_cxx_g=yes
3418 else
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3422 CXXFLAGS=""
3423 cat >conftest.$ac_ext <<_ACEOF
3424 /* confdefs.h. */
3425 _ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3431 main ()
3435 return 0;
3437 _ACEOF
3438 rm -f conftest.$ac_objext
3439 if { (ac_try="$ac_compile"
3440 case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443 esac
3444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445 (eval "$ac_compile") 2>conftest.er1
3446 ac_status=$?
3447 grep -v '^ *+' conftest.er1 >conftest.err
3448 rm -f conftest.er1
3449 cat conftest.err >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } && {
3452 test -z "$ac_cxx_werror_flag" ||
3453 test ! -s conftest.err
3454 } && test -s conftest.$ac_objext; then
3456 else
3457 echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3461 CXXFLAGS="-g"
3462 cat >conftest.$ac_ext <<_ACEOF
3463 /* confdefs.h. */
3464 _ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3470 main ()
3474 return 0;
3476 _ACEOF
3477 rm -f conftest.$ac_objext
3478 if { (ac_try="$ac_compile"
3479 case "(($ac_try" in
3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3482 esac
3483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3484 (eval "$ac_compile") 2>conftest.er1
3485 ac_status=$?
3486 grep -v '^ *+' conftest.er1 >conftest.err
3487 rm -f conftest.er1
3488 cat conftest.err >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } && {
3491 test -z "$ac_cxx_werror_flag" ||
3492 test ! -s conftest.err
3493 } && test -s conftest.$ac_objext; then
3494 ac_cv_prog_cxx_g=yes
3495 else
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3511 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3512 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3513 if test "$ac_test_CXXFLAGS" = set; then
3514 CXXFLAGS=$ac_save_CXXFLAGS
3515 elif test $ac_cv_prog_cxx_g = yes; then
3516 if test "$GXX" = yes; then
3517 CXXFLAGS="-g -O2"
3518 else
3519 CXXFLAGS="-g"
3521 else
3522 if test "$GXX" = yes; then
3523 CXXFLAGS="-O2"
3524 else
3525 CXXFLAGS=
3528 ac_ext=c
3529 ac_cpp='$CPP $CPPFLAGS'
3530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3534 if test -n "$ac_tool_prefix"; then
3535 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3536 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3539 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 else
3542 if test -n "$CPPBIN"; then
3543 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3544 else
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH
3548 IFS=$as_save_IFS
3549 test -z "$as_dir" && as_dir=.
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3552 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 break 2
3556 done
3557 done
3558 IFS=$as_save_IFS
3562 CPPBIN=$ac_cv_prog_CPPBIN
3563 if test -n "$CPPBIN"; then
3564 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3565 echo "${ECHO_T}$CPPBIN" >&6; }
3566 else
3567 { echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6; }
3573 if test -z "$ac_cv_prog_CPPBIN"; then
3574 ac_ct_CPPBIN=$CPPBIN
3575 # Extract the first word of "cpp", so it can be a program name with args.
3576 set dummy cpp; ac_word=$2
3577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3579 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 if test -n "$ac_ct_CPPBIN"; then
3583 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 ac_cv_prog_ac_ct_CPPBIN="cpp"
3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3598 IFS=$as_save_IFS
3602 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3603 if test -n "$ac_ct_CPPBIN"; then
3604 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3605 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3606 else
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3611 if test "x$ac_ct_CPPBIN" = x; then
3612 CPPBIN="cpp"
3613 else
3614 case $cross_compiling:$ac_tool_warned in
3615 yes:)
3616 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3617 whose name does not start with the host triplet. If you think this
3618 configuration is useful to you, please write to autoconf@gnu.org." >&5
3619 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3620 whose name does not start with the host triplet. If you think this
3621 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3622 ac_tool_warned=yes ;;
3623 esac
3624 CPPBIN=$ac_ct_CPPBIN
3626 else
3627 CPPBIN="$ac_cv_prog_CPPBIN"
3631 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3632 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3633 if test "${wine_cv_toolsdir+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 else
3636 if test -z "$with_wine_tools"; then
3637 if test "$cross_compiling" = "yes"; then
3638 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3639 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3640 { (exit 1); exit 1; }; }
3641 else
3642 wine_cv_toolsdir="\$(TOPOBJDIR)"
3644 elif test -d "$with_wine_tools/tools/winebuild"; then
3645 case $with_wine_tools in
3646 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3647 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3648 esac
3649 else
3650 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3651 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3652 { (exit 1); exit 1; }; }
3655 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3656 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3657 TOOLSDIR=$wine_cv_toolsdir
3661 ac_ext=c
3662 ac_cpp='$CPP $CPPFLAGS'
3663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3666 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3667 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3668 # On Suns, sometimes $CPP names a directory.
3669 if test -n "$CPP" && test -d "$CPP"; then
3670 CPP=
3672 if test -z "$CPP"; then
3673 if test "${ac_cv_prog_CPP+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 else
3676 # Double quotes because CPP needs to be expanded
3677 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3679 ac_preproc_ok=false
3680 for ac_c_preproc_warn_flag in '' yes
3682 # Use a header file that comes with gcc, so configuring glibc
3683 # with a fresh cross-compiler works.
3684 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3685 # <limits.h> exists even on freestanding compilers.
3686 # On the NeXT, cc -E runs the code through the compiler's parser,
3687 # not just through cpp. "Syntax error" is here to catch this case.
3688 cat >conftest.$ac_ext <<_ACEOF
3689 /* confdefs.h. */
3690 _ACEOF
3691 cat confdefs.h >>conftest.$ac_ext
3692 cat >>conftest.$ac_ext <<_ACEOF
3693 /* end confdefs.h. */
3694 #ifdef __STDC__
3695 # include <limits.h>
3696 #else
3697 # include <assert.h>
3698 #endif
3699 Syntax error
3700 _ACEOF
3701 if { (ac_try="$ac_cpp conftest.$ac_ext"
3702 case "(($ac_try" in
3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3705 esac
3706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3708 ac_status=$?
3709 grep -v '^ *+' conftest.er1 >conftest.err
3710 rm -f conftest.er1
3711 cat conftest.err >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } >/dev/null && {
3714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3715 test ! -s conftest.err
3716 }; then
3718 else
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 # Broken: fails on valid input.
3723 continue
3726 rm -f conftest.err conftest.$ac_ext
3728 # OK, works on sane cases. Now check whether nonexistent headers
3729 # can be detected and how.
3730 cat >conftest.$ac_ext <<_ACEOF
3731 /* confdefs.h. */
3732 _ACEOF
3733 cat confdefs.h >>conftest.$ac_ext
3734 cat >>conftest.$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 #include <ac_nonexistent.h>
3737 _ACEOF
3738 if { (ac_try="$ac_cpp conftest.$ac_ext"
3739 case "(($ac_try" in
3740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741 *) ac_try_echo=$ac_try;;
3742 esac
3743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3745 ac_status=$?
3746 grep -v '^ *+' conftest.er1 >conftest.err
3747 rm -f conftest.er1
3748 cat conftest.err >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } >/dev/null && {
3751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3752 test ! -s conftest.err
3753 }; then
3754 # Broken: success on invalid input.
3755 continue
3756 else
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3760 # Passes both tests.
3761 ac_preproc_ok=:
3762 break
3765 rm -f conftest.err conftest.$ac_ext
3767 done
3768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3769 rm -f conftest.err conftest.$ac_ext
3770 if $ac_preproc_ok; then
3771 break
3774 done
3775 ac_cv_prog_CPP=$CPP
3778 CPP=$ac_cv_prog_CPP
3779 else
3780 ac_cv_prog_CPP=$CPP
3782 { echo "$as_me:$LINENO: result: $CPP" >&5
3783 echo "${ECHO_T}$CPP" >&6; }
3784 ac_preproc_ok=false
3785 for ac_c_preproc_warn_flag in '' yes
3787 # Use a header file that comes with gcc, so configuring glibc
3788 # with a fresh cross-compiler works.
3789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3790 # <limits.h> exists even on freestanding compilers.
3791 # On the NeXT, cc -E runs the code through the compiler's parser,
3792 # not just through cpp. "Syntax error" is here to catch this case.
3793 cat >conftest.$ac_ext <<_ACEOF
3794 /* confdefs.h. */
3795 _ACEOF
3796 cat confdefs.h >>conftest.$ac_ext
3797 cat >>conftest.$ac_ext <<_ACEOF
3798 /* end confdefs.h. */
3799 #ifdef __STDC__
3800 # include <limits.h>
3801 #else
3802 # include <assert.h>
3803 #endif
3804 Syntax error
3805 _ACEOF
3806 if { (ac_try="$ac_cpp conftest.$ac_ext"
3807 case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3813 ac_status=$?
3814 grep -v '^ *+' conftest.er1 >conftest.err
3815 rm -f conftest.er1
3816 cat conftest.err >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } >/dev/null && {
3819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3820 test ! -s conftest.err
3821 }; then
3823 else
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3827 # Broken: fails on valid input.
3828 continue
3831 rm -f conftest.err conftest.$ac_ext
3833 # OK, works on sane cases. Now check whether nonexistent headers
3834 # can be detected and how.
3835 cat >conftest.$ac_ext <<_ACEOF
3836 /* confdefs.h. */
3837 _ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 #include <ac_nonexistent.h>
3842 _ACEOF
3843 if { (ac_try="$ac_cpp conftest.$ac_ext"
3844 case "(($ac_try" in
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3847 esac
3848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3850 ac_status=$?
3851 grep -v '^ *+' conftest.er1 >conftest.err
3852 rm -f conftest.er1
3853 cat conftest.err >&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } >/dev/null && {
3856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3857 test ! -s conftest.err
3858 }; then
3859 # Broken: success on invalid input.
3860 continue
3861 else
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 # Passes both tests.
3866 ac_preproc_ok=:
3867 break
3870 rm -f conftest.err conftest.$ac_ext
3872 done
3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3874 rm -f conftest.err conftest.$ac_ext
3875 if $ac_preproc_ok; then
3877 else
3878 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3879 See \`config.log' for more details." >&5
3880 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3881 See \`config.log' for more details." >&2;}
3882 { (exit 1); exit 1; }; }
3885 ac_ext=c
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3892 { echo "$as_me:$LINENO: checking for X" >&5
3893 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3896 # Check whether --with-x was given.
3897 if test "${with_x+set}" = set; then
3898 withval=$with_x;
3901 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3902 if test "x$with_x" = xno; then
3903 # The user explicitly disabled X.
3904 have_x=disabled
3905 else
3906 case $x_includes,$x_libraries in #(
3907 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3908 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3909 { (exit 1); exit 1; }; };; #(
3910 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 else
3913 # One or both of the vars are not set, and there is no cached value.
3914 ac_x_includes=no ac_x_libraries=no
3915 rm -f -r conftest.dir
3916 if mkdir conftest.dir; then
3917 cd conftest.dir
3918 cat >Imakefile <<'_ACEOF'
3919 incroot:
3920 @echo incroot='${INCROOT}'
3921 usrlibdir:
3922 @echo usrlibdir='${USRLIBDIR}'
3923 libdir:
3924 @echo libdir='${LIBDIR}'
3925 _ACEOF
3926 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3927 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3928 for ac_var in incroot usrlibdir libdir; do
3929 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3930 done
3931 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3932 for ac_extension in a so sl; do
3933 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3934 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3935 ac_im_usrlibdir=$ac_im_libdir; break
3937 done
3938 # Screen out bogus values from the imake configuration. They are
3939 # bogus both because they are the default anyway, and because
3940 # using them would break gcc on systems where it needs fixed includes.
3941 case $ac_im_incroot in
3942 /usr/include) ac_x_includes= ;;
3943 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3944 esac
3945 case $ac_im_usrlibdir in
3946 /usr/lib | /lib) ;;
3947 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3948 esac
3950 cd ..
3951 rm -f -r conftest.dir
3954 # Standard set of common directories for X headers.
3955 # Check X11 before X11Rn because it is often a symlink to the current release.
3956 ac_x_header_dirs='
3957 /usr/X11/include
3958 /usr/X11R6/include
3959 /usr/X11R5/include
3960 /usr/X11R4/include
3962 /usr/include/X11
3963 /usr/include/X11R6
3964 /usr/include/X11R5
3965 /usr/include/X11R4
3967 /usr/local/X11/include
3968 /usr/local/X11R6/include
3969 /usr/local/X11R5/include
3970 /usr/local/X11R4/include
3972 /usr/local/include/X11
3973 /usr/local/include/X11R6
3974 /usr/local/include/X11R5
3975 /usr/local/include/X11R4
3977 /usr/X386/include
3978 /usr/x386/include
3979 /usr/XFree86/include/X11
3981 /usr/include
3982 /usr/local/include
3983 /usr/unsupported/include
3984 /usr/athena/include
3985 /usr/local/x11r5/include
3986 /usr/lpp/Xamples/include
3988 /usr/openwin/include
3989 /usr/openwin/share/include'
3991 if test "$ac_x_includes" = no; then
3992 # Guess where to find include files, by looking for Xlib.h.
3993 # First, try using that file with no special directory specified.
3994 cat >conftest.$ac_ext <<_ACEOF
3995 /* confdefs.h. */
3996 _ACEOF
3997 cat confdefs.h >>conftest.$ac_ext
3998 cat >>conftest.$ac_ext <<_ACEOF
3999 /* end confdefs.h. */
4000 #include <X11/Xlib.h>
4001 _ACEOF
4002 if { (ac_try="$ac_cpp conftest.$ac_ext"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4009 ac_status=$?
4010 grep -v '^ *+' conftest.er1 >conftest.err
4011 rm -f conftest.er1
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } >/dev/null && {
4015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4016 test ! -s conftest.err
4017 }; then
4018 # We can compile using X headers with no special include directory.
4019 ac_x_includes=
4020 else
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 for ac_dir in $ac_x_header_dirs; do
4025 if test -r "$ac_dir/X11/Xlib.h"; then
4026 ac_x_includes=$ac_dir
4027 break
4029 done
4032 rm -f conftest.err conftest.$ac_ext
4033 fi # $ac_x_includes = no
4035 if test "$ac_x_libraries" = no; then
4036 # Check for the libraries.
4037 # See if we find them without any special options.
4038 # Don't add to $LIBS permanently.
4039 ac_save_LIBS=$LIBS
4040 LIBS="-lX11 $LIBS"
4041 cat >conftest.$ac_ext <<_ACEOF
4042 /* confdefs.h. */
4043 _ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4047 #include <X11/Xlib.h>
4049 main ()
4051 XrmInitialize ()
4053 return 0;
4055 _ACEOF
4056 rm -f conftest.$ac_objext conftest$ac_exeext
4057 if { (ac_try="$ac_link"
4058 case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061 esac
4062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4063 (eval "$ac_link") 2>conftest.er1
4064 ac_status=$?
4065 grep -v '^ *+' conftest.er1 >conftest.err
4066 rm -f conftest.er1
4067 cat conftest.err >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } && {
4070 test -z "$ac_c_werror_flag" ||
4071 test ! -s conftest.err
4072 } && test -s conftest$ac_exeext &&
4073 $as_test_x conftest$ac_exeext; then
4074 LIBS=$ac_save_LIBS
4075 # We can link X programs with no special library path.
4076 ac_x_libraries=
4077 else
4078 echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 LIBS=$ac_save_LIBS
4082 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4084 # Don't even attempt the hair of trying to link an X program!
4085 for ac_extension in a so sl; do
4086 if test -r "$ac_dir/libX11.$ac_extension"; then
4087 ac_x_libraries=$ac_dir
4088 break 2
4090 done
4091 done
4094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4095 conftest$ac_exeext conftest.$ac_ext
4096 fi # $ac_x_libraries = no
4098 case $ac_x_includes,$ac_x_libraries in #(
4099 no,* | *,no | *\'*)
4100 # Didn't find X, or a directory has "'" in its name.
4101 ac_cv_have_x="have_x=no";; #(
4103 # Record where we found X for the cache.
4104 ac_cv_have_x="have_x=yes\
4105 ac_x_includes='$ac_x_includes'\
4106 ac_x_libraries='$ac_x_libraries'"
4107 esac
4109 ;; #(
4110 *) have_x=yes;;
4111 esac
4112 eval "$ac_cv_have_x"
4113 fi # $with_x != no
4115 if test "$have_x" != yes; then
4116 { echo "$as_me:$LINENO: result: $have_x" >&5
4117 echo "${ECHO_T}$have_x" >&6; }
4118 no_x=yes
4119 else
4120 # If each of the values was on the command line, it overrides each guess.
4121 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4122 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4123 # Update the cache value to reflect the command line values.
4124 ac_cv_have_x="have_x=yes\
4125 ac_x_includes='$x_includes'\
4126 ac_x_libraries='$x_libraries'"
4127 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4128 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4131 if test "$no_x" = yes; then
4132 # Not all programs may use this symbol, but it does not hurt to define it.
4134 cat >>confdefs.h <<\_ACEOF
4135 #define X_DISPLAY_MISSING 1
4136 _ACEOF
4138 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4139 else
4140 if test -n "$x_includes"; then
4141 X_CFLAGS="$X_CFLAGS -I$x_includes"
4144 # It would also be nice to do this for all -L options, not just this one.
4145 if test -n "$x_libraries"; then
4146 X_LIBS="$X_LIBS -L$x_libraries"
4147 # For Solaris; some versions of Sun CC require a space after -R and
4148 # others require no space. Words are not sufficient . . . .
4149 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4150 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4151 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4152 ac_xsave_c_werror_flag=$ac_c_werror_flag
4153 ac_c_werror_flag=yes
4154 cat >conftest.$ac_ext <<_ACEOF
4155 /* confdefs.h. */
4156 _ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4162 main ()
4166 return 0;
4168 _ACEOF
4169 rm -f conftest.$ac_objext conftest$ac_exeext
4170 if { (ac_try="$ac_link"
4171 case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_link") 2>conftest.er1
4177 ac_status=$?
4178 grep -v '^ *+' conftest.er1 >conftest.err
4179 rm -f conftest.er1
4180 cat conftest.err >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); } && {
4183 test -z "$ac_c_werror_flag" ||
4184 test ! -s conftest.err
4185 } && test -s conftest$ac_exeext &&
4186 $as_test_x conftest$ac_exeext; then
4187 { echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6; }
4189 X_LIBS="$X_LIBS -R$x_libraries"
4190 else
4191 echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.$ac_ext >&5
4194 LIBS="$ac_xsave_LIBS -R $x_libraries"
4195 cat >conftest.$ac_ext <<_ACEOF
4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 rm -f conftest.$ac_objext conftest$ac_exeext
4211 if { (ac_try="$ac_link"
4212 case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_link") 2>conftest.er1
4218 ac_status=$?
4219 grep -v '^ *+' conftest.er1 >conftest.err
4220 rm -f conftest.er1
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } && {
4224 test -z "$ac_c_werror_flag" ||
4225 test ! -s conftest.err
4226 } && test -s conftest$ac_exeext &&
4227 $as_test_x conftest$ac_exeext; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 X_LIBS="$X_LIBS -R $x_libraries"
4231 else
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 { echo "$as_me:$LINENO: result: neither works" >&5
4236 echo "${ECHO_T}neither works" >&6; }
4239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4240 conftest$ac_exeext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4244 conftest$ac_exeext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_xsave_c_werror_flag
4246 LIBS=$ac_xsave_LIBS
4249 # Check for system-dependent libraries X programs must link with.
4250 # Do this before checking for the system-independent R6 libraries
4251 # (-lICE), since we may need -lsocket or whatever for X linking.
4253 if test "$ISC" = yes; then
4254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4255 else
4256 # Martyn Johnson says this is needed for Ultrix, if the X
4257 # libraries were built with DECnet support. And Karl Berry says
4258 # the Alpha needs dnet_stub (dnet does not exist).
4259 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4260 cat >conftest.$ac_ext <<_ACEOF
4261 /* confdefs.h. */
4262 _ACEOF
4263 cat confdefs.h >>conftest.$ac_ext
4264 cat >>conftest.$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char XOpenDisplay ();
4275 main ()
4277 return XOpenDisplay ();
4279 return 0;
4281 _ACEOF
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>conftest.er1
4290 ac_status=$?
4291 grep -v '^ *+' conftest.er1 >conftest.err
4292 rm -f conftest.er1
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } && {
4296 test -z "$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 } && test -s conftest$ac_exeext &&
4299 $as_test_x conftest$ac_exeext; then
4301 else
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4306 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4307 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 else
4310 ac_check_lib_save_LIBS=$LIBS
4311 LIBS="-ldnet $LIBS"
4312 cat >conftest.$ac_ext <<_ACEOF
4313 /* confdefs.h. */
4314 _ACEOF
4315 cat confdefs.h >>conftest.$ac_ext
4316 cat >>conftest.$ac_ext <<_ACEOF
4317 /* end confdefs.h. */
4319 /* Override any GCC internal prototype to avoid an error.
4320 Use char because int might match the return type of a GCC
4321 builtin and then its argument prototype would still apply. */
4322 #ifdef __cplusplus
4323 extern "C"
4324 #endif
4325 char dnet_ntoa ();
4327 main ()
4329 return dnet_ntoa ();
4331 return 0;
4333 _ACEOF
4334 rm -f conftest.$ac_objext conftest$ac_exeext
4335 if { (ac_try="$ac_link"
4336 case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4341 (eval "$ac_link") 2>conftest.er1
4342 ac_status=$?
4343 grep -v '^ *+' conftest.er1 >conftest.err
4344 rm -f conftest.er1
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && {
4348 test -z "$ac_c_werror_flag" ||
4349 test ! -s conftest.err
4350 } && test -s conftest$ac_exeext &&
4351 $as_test_x conftest$ac_exeext; then
4352 ac_cv_lib_dnet_dnet_ntoa=yes
4353 else
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.$ac_ext >&5
4357 ac_cv_lib_dnet_dnet_ntoa=no
4360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4361 conftest$ac_exeext conftest.$ac_ext
4362 LIBS=$ac_check_lib_save_LIBS
4364 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4365 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4366 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4367 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4370 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4371 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4372 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4373 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 else
4376 ac_check_lib_save_LIBS=$LIBS
4377 LIBS="-ldnet_stub $LIBS"
4378 cat >conftest.$ac_ext <<_ACEOF
4379 /* confdefs.h. */
4380 _ACEOF
4381 cat confdefs.h >>conftest.$ac_ext
4382 cat >>conftest.$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4385 /* Override any GCC internal prototype to avoid an error.
4386 Use char because int might match the return type of a GCC
4387 builtin and then its argument prototype would still apply. */
4388 #ifdef __cplusplus
4389 extern "C"
4390 #endif
4391 char dnet_ntoa ();
4393 main ()
4395 return dnet_ntoa ();
4397 return 0;
4399 _ACEOF
4400 rm -f conftest.$ac_objext conftest$ac_exeext
4401 if { (ac_try="$ac_link"
4402 case "(($ac_try" in
4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4405 esac
4406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4407 (eval "$ac_link") 2>conftest.er1
4408 ac_status=$?
4409 grep -v '^ *+' conftest.er1 >conftest.err
4410 rm -f conftest.er1
4411 cat conftest.err >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); } && {
4414 test -z "$ac_c_werror_flag" ||
4415 test ! -s conftest.err
4416 } && test -s conftest$ac_exeext &&
4417 $as_test_x conftest$ac_exeext; then
4418 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4419 else
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.$ac_ext >&5
4423 ac_cv_lib_dnet_stub_dnet_ntoa=no
4426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4427 conftest$ac_exeext conftest.$ac_ext
4428 LIBS=$ac_check_lib_save_LIBS
4430 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4431 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4432 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4433 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4440 conftest$ac_exeext conftest.$ac_ext
4441 LIBS="$ac_xsave_LIBS"
4443 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4444 # to get the SysV transport functions.
4445 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4446 # needs -lnsl.
4447 # The nsl library prevents programs from opening the X display
4448 # on Irix 5.2, according to T.E. Dickey.
4449 # The functions gethostbyname, getservbyname, and inet_addr are
4450 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4451 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4452 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4453 if test "${ac_cv_func_gethostbyname+set}" = set; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 else
4456 cat >conftest.$ac_ext <<_ACEOF
4457 /* confdefs.h. */
4458 _ACEOF
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4462 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4464 #define gethostbyname innocuous_gethostbyname
4466 /* System header to define __stub macros and hopefully few prototypes,
4467 which can conflict with char gethostbyname (); below.
4468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4469 <limits.h> exists even on freestanding compilers. */
4471 #ifdef __STDC__
4472 # include <limits.h>
4473 #else
4474 # include <assert.h>
4475 #endif
4477 #undef gethostbyname
4479 /* Override any GCC internal prototype to avoid an error.
4480 Use char because int might match the return type of a GCC
4481 builtin and then its argument prototype would still apply. */
4482 #ifdef __cplusplus
4483 extern "C"
4484 #endif
4485 char gethostbyname ();
4486 /* The GNU C library defines this for functions which it implements
4487 to always fail with ENOSYS. Some functions are actually named
4488 something starting with __ and the normal name is an alias. */
4489 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4490 choke me
4491 #endif
4494 main ()
4496 return gethostbyname ();
4498 return 0;
4500 _ACEOF
4501 rm -f conftest.$ac_objext conftest$ac_exeext
4502 if { (ac_try="$ac_link"
4503 case "(($ac_try" in
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4506 esac
4507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508 (eval "$ac_link") 2>conftest.er1
4509 ac_status=$?
4510 grep -v '^ *+' conftest.er1 >conftest.err
4511 rm -f conftest.er1
4512 cat conftest.err >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && {
4515 test -z "$ac_c_werror_flag" ||
4516 test ! -s conftest.err
4517 } && test -s conftest$ac_exeext &&
4518 $as_test_x conftest$ac_exeext; then
4519 ac_cv_func_gethostbyname=yes
4520 else
4521 echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.$ac_ext >&5
4524 ac_cv_func_gethostbyname=no
4527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4528 conftest$ac_exeext conftest.$ac_ext
4530 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4531 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4533 if test $ac_cv_func_gethostbyname = no; then
4534 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4535 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4536 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 else
4539 ac_check_lib_save_LIBS=$LIBS
4540 LIBS="-lnsl $LIBS"
4541 cat >conftest.$ac_ext <<_ACEOF
4542 /* confdefs.h. */
4543 _ACEOF
4544 cat confdefs.h >>conftest.$ac_ext
4545 cat >>conftest.$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4548 /* Override any GCC internal prototype to avoid an error.
4549 Use char because int might match the return type of a GCC
4550 builtin and then its argument prototype would still apply. */
4551 #ifdef __cplusplus
4552 extern "C"
4553 #endif
4554 char gethostbyname ();
4556 main ()
4558 return gethostbyname ();
4560 return 0;
4562 _ACEOF
4563 rm -f conftest.$ac_objext conftest$ac_exeext
4564 if { (ac_try="$ac_link"
4565 case "(($ac_try" in
4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4568 esac
4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570 (eval "$ac_link") 2>conftest.er1
4571 ac_status=$?
4572 grep -v '^ *+' conftest.er1 >conftest.err
4573 rm -f conftest.er1
4574 cat conftest.err >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } && {
4577 test -z "$ac_c_werror_flag" ||
4578 test ! -s conftest.err
4579 } && test -s conftest$ac_exeext &&
4580 $as_test_x conftest$ac_exeext; then
4581 ac_cv_lib_nsl_gethostbyname=yes
4582 else
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4586 ac_cv_lib_nsl_gethostbyname=no
4589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4590 conftest$ac_exeext conftest.$ac_ext
4591 LIBS=$ac_check_lib_save_LIBS
4593 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4594 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4595 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4599 if test $ac_cv_lib_nsl_gethostbyname = no; then
4600 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4601 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4602 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 else
4605 ac_check_lib_save_LIBS=$LIBS
4606 LIBS="-lbsd $LIBS"
4607 cat >conftest.$ac_ext <<_ACEOF
4608 /* confdefs.h. */
4609 _ACEOF
4610 cat confdefs.h >>conftest.$ac_ext
4611 cat >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4614 /* Override any GCC internal prototype to avoid an error.
4615 Use char because int might match the return type of a GCC
4616 builtin and then its argument prototype would still apply. */
4617 #ifdef __cplusplus
4618 extern "C"
4619 #endif
4620 char gethostbyname ();
4622 main ()
4624 return gethostbyname ();
4626 return 0;
4628 _ACEOF
4629 rm -f conftest.$ac_objext conftest$ac_exeext
4630 if { (ac_try="$ac_link"
4631 case "(($ac_try" in
4632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4633 *) ac_try_echo=$ac_try;;
4634 esac
4635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4636 (eval "$ac_link") 2>conftest.er1
4637 ac_status=$?
4638 grep -v '^ *+' conftest.er1 >conftest.err
4639 rm -f conftest.er1
4640 cat conftest.err >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); } && {
4643 test -z "$ac_c_werror_flag" ||
4644 test ! -s conftest.err
4645 } && test -s conftest$ac_exeext &&
4646 $as_test_x conftest$ac_exeext; then
4647 ac_cv_lib_bsd_gethostbyname=yes
4648 else
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.$ac_ext >&5
4652 ac_cv_lib_bsd_gethostbyname=no
4655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4656 conftest$ac_exeext conftest.$ac_ext
4657 LIBS=$ac_check_lib_save_LIBS
4659 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4660 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4661 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4662 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4668 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4669 # socket/setsockopt and other routines are undefined under SCO ODT
4670 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4671 # on later versions), says Simon Leinen: it contains gethostby*
4672 # variants that don't use the name server (or something). -lsocket
4673 # must be given before -lnsl if both are needed. We assume that
4674 # if connect needs -lnsl, so does gethostbyname.
4675 { echo "$as_me:$LINENO: checking for connect" >&5
4676 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4677 if test "${ac_cv_func_connect+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4679 else
4680 cat >conftest.$ac_ext <<_ACEOF
4681 /* confdefs.h. */
4682 _ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h. */
4686 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4688 #define connect innocuous_connect
4690 /* System header to define __stub macros and hopefully few prototypes,
4691 which can conflict with char connect (); below.
4692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4693 <limits.h> exists even on freestanding compilers. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4701 #undef connect
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4706 #ifdef __cplusplus
4707 extern "C"
4708 #endif
4709 char connect ();
4710 /* The GNU C library defines this for functions which it implements
4711 to always fail with ENOSYS. Some functions are actually named
4712 something starting with __ and the normal name is an alias. */
4713 #if defined __stub_connect || defined __stub___connect
4714 choke me
4715 #endif
4718 main ()
4720 return connect ();
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_func_connect=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_func_connect=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4754 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4755 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4757 if test $ac_cv_func_connect = no; then
4758 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4759 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4760 if test "${ac_cv_lib_socket_connect+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 else
4763 ac_check_lib_save_LIBS=$LIBS
4764 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4765 cat >conftest.$ac_ext <<_ACEOF
4766 /* confdefs.h. */
4767 _ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4772 /* Override any GCC internal prototype to avoid an error.
4773 Use char because int might match the return type of a GCC
4774 builtin and then its argument prototype would still apply. */
4775 #ifdef __cplusplus
4776 extern "C"
4777 #endif
4778 char connect ();
4780 main ()
4782 return connect ();
4784 return 0;
4786 _ACEOF
4787 rm -f conftest.$ac_objext conftest$ac_exeext
4788 if { (ac_try="$ac_link"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4794 (eval "$ac_link") 2>conftest.er1
4795 ac_status=$?
4796 grep -v '^ *+' conftest.er1 >conftest.err
4797 rm -f conftest.er1
4798 cat conftest.err >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } && {
4801 test -z "$ac_c_werror_flag" ||
4802 test ! -s conftest.err
4803 } && test -s conftest$ac_exeext &&
4804 $as_test_x conftest$ac_exeext; then
4805 ac_cv_lib_socket_connect=yes
4806 else
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4810 ac_cv_lib_socket_connect=no
4813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4814 conftest$ac_exeext conftest.$ac_ext
4815 LIBS=$ac_check_lib_save_LIBS
4817 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4818 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4819 if test $ac_cv_lib_socket_connect = yes; then
4820 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4825 # Guillermo Gomez says -lposix is necessary on A/UX.
4826 { echo "$as_me:$LINENO: checking for remove" >&5
4827 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4828 if test "${ac_cv_func_remove+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 cat >conftest.$ac_ext <<_ACEOF
4832 /* confdefs.h. */
4833 _ACEOF
4834 cat confdefs.h >>conftest.$ac_ext
4835 cat >>conftest.$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4839 #define remove innocuous_remove
4841 /* System header to define __stub macros and hopefully few prototypes,
4842 which can conflict with char remove (); below.
4843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4844 <limits.h> exists even on freestanding compilers. */
4846 #ifdef __STDC__
4847 # include <limits.h>
4848 #else
4849 # include <assert.h>
4850 #endif
4852 #undef remove
4854 /* Override any GCC internal prototype to avoid an error.
4855 Use char because int might match the return type of a GCC
4856 builtin and then its argument prototype would still apply. */
4857 #ifdef __cplusplus
4858 extern "C"
4859 #endif
4860 char remove ();
4861 /* The GNU C library defines this for functions which it implements
4862 to always fail with ENOSYS. Some functions are actually named
4863 something starting with __ and the normal name is an alias. */
4864 #if defined __stub_remove || defined __stub___remove
4865 choke me
4866 #endif
4869 main ()
4871 return remove ();
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_func_remove=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_func_remove=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4905 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4906 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4908 if test $ac_cv_func_remove = no; then
4909 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4910 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4911 if test "${ac_cv_lib_posix_remove+set}" = set; then
4912 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 else
4914 ac_check_lib_save_LIBS=$LIBS
4915 LIBS="-lposix $LIBS"
4916 cat >conftest.$ac_ext <<_ACEOF
4917 /* confdefs.h. */
4918 _ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4923 /* Override any GCC internal prototype to avoid an error.
4924 Use char because int might match the return type of a GCC
4925 builtin and then its argument prototype would still apply. */
4926 #ifdef __cplusplus
4927 extern "C"
4928 #endif
4929 char remove ();
4931 main ()
4933 return remove ();
4935 return 0;
4937 _ACEOF
4938 rm -f conftest.$ac_objext conftest$ac_exeext
4939 if { (ac_try="$ac_link"
4940 case "(($ac_try" in
4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4943 esac
4944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4945 (eval "$ac_link") 2>conftest.er1
4946 ac_status=$?
4947 grep -v '^ *+' conftest.er1 >conftest.err
4948 rm -f conftest.er1
4949 cat conftest.err >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } && {
4952 test -z "$ac_c_werror_flag" ||
4953 test ! -s conftest.err
4954 } && test -s conftest$ac_exeext &&
4955 $as_test_x conftest$ac_exeext; then
4956 ac_cv_lib_posix_remove=yes
4957 else
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.$ac_ext >&5
4961 ac_cv_lib_posix_remove=no
4964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4965 conftest$ac_exeext conftest.$ac_ext
4966 LIBS=$ac_check_lib_save_LIBS
4968 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4969 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4970 if test $ac_cv_lib_posix_remove = yes; then
4971 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4976 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4977 { echo "$as_me:$LINENO: checking for shmat" >&5
4978 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4979 if test "${ac_cv_func_shmat+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 else
4982 cat >conftest.$ac_ext <<_ACEOF
4983 /* confdefs.h. */
4984 _ACEOF
4985 cat confdefs.h >>conftest.$ac_ext
4986 cat >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4988 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4990 #define shmat innocuous_shmat
4992 /* System header to define __stub macros and hopefully few prototypes,
4993 which can conflict with char shmat (); below.
4994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4995 <limits.h> exists even on freestanding compilers. */
4997 #ifdef __STDC__
4998 # include <limits.h>
4999 #else
5000 # include <assert.h>
5001 #endif
5003 #undef shmat
5005 /* Override any GCC internal prototype to avoid an error.
5006 Use char because int might match the return type of a GCC
5007 builtin and then its argument prototype would still apply. */
5008 #ifdef __cplusplus
5009 extern "C"
5010 #endif
5011 char shmat ();
5012 /* The GNU C library defines this for functions which it implements
5013 to always fail with ENOSYS. Some functions are actually named
5014 something starting with __ and the normal name is an alias. */
5015 #if defined __stub_shmat || defined __stub___shmat
5016 choke me
5017 #endif
5020 main ()
5022 return shmat ();
5024 return 0;
5026 _ACEOF
5027 rm -f conftest.$ac_objext conftest$ac_exeext
5028 if { (ac_try="$ac_link"
5029 case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5032 esac
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_link") 2>conftest.er1
5035 ac_status=$?
5036 grep -v '^ *+' conftest.er1 >conftest.err
5037 rm -f conftest.er1
5038 cat conftest.err >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } && {
5041 test -z "$ac_c_werror_flag" ||
5042 test ! -s conftest.err
5043 } && test -s conftest$ac_exeext &&
5044 $as_test_x conftest$ac_exeext; then
5045 ac_cv_func_shmat=yes
5046 else
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5050 ac_cv_func_shmat=no
5053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5054 conftest$ac_exeext conftest.$ac_ext
5056 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5057 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5059 if test $ac_cv_func_shmat = no; then
5060 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5061 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5062 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 else
5065 ac_check_lib_save_LIBS=$LIBS
5066 LIBS="-lipc $LIBS"
5067 cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h. */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 /* Override any GCC internal prototype to avoid an error.
5075 Use char because int might match the return type of a GCC
5076 builtin and then its argument prototype would still apply. */
5077 #ifdef __cplusplus
5078 extern "C"
5079 #endif
5080 char shmat ();
5082 main ()
5084 return shmat ();
5086 return 0;
5088 _ACEOF
5089 rm -f conftest.$ac_objext conftest$ac_exeext
5090 if { (ac_try="$ac_link"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_link") 2>conftest.er1
5097 ac_status=$?
5098 grep -v '^ *+' conftest.er1 >conftest.err
5099 rm -f conftest.er1
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } && {
5103 test -z "$ac_c_werror_flag" ||
5104 test ! -s conftest.err
5105 } && test -s conftest$ac_exeext &&
5106 $as_test_x conftest$ac_exeext; then
5107 ac_cv_lib_ipc_shmat=yes
5108 else
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5112 ac_cv_lib_ipc_shmat=no
5115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5116 conftest$ac_exeext conftest.$ac_ext
5117 LIBS=$ac_check_lib_save_LIBS
5119 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5120 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5121 if test $ac_cv_lib_ipc_shmat = yes; then
5122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5128 # Check for libraries that X11R6 Xt/Xaw programs need.
5129 ac_save_LDFLAGS=$LDFLAGS
5130 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5131 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5132 # check for ICE first), but we must link in the order -lSM -lICE or
5133 # we get undefined symbols. So assume we have SM if we have ICE.
5134 # These have to be linked with before -lX11, unlike the other
5135 # libraries we check for below, so use a different variable.
5136 # John Interrante, Karl Berry
5137 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5138 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5139 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5141 else
5142 ac_check_lib_save_LIBS=$LIBS
5143 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5144 cat >conftest.$ac_ext <<_ACEOF
5145 /* confdefs.h. */
5146 _ACEOF
5147 cat confdefs.h >>conftest.$ac_ext
5148 cat >>conftest.$ac_ext <<_ACEOF
5149 /* end confdefs.h. */
5151 /* Override any GCC internal prototype to avoid an error.
5152 Use char because int might match the return type of a GCC
5153 builtin and then its argument prototype would still apply. */
5154 #ifdef __cplusplus
5155 extern "C"
5156 #endif
5157 char IceConnectionNumber ();
5159 main ()
5161 return IceConnectionNumber ();
5163 return 0;
5165 _ACEOF
5166 rm -f conftest.$ac_objext conftest$ac_exeext
5167 if { (ac_try="$ac_link"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5173 (eval "$ac_link") 2>conftest.er1
5174 ac_status=$?
5175 grep -v '^ *+' conftest.er1 >conftest.err
5176 rm -f conftest.er1
5177 cat conftest.err >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } && {
5180 test -z "$ac_c_werror_flag" ||
5181 test ! -s conftest.err
5182 } && test -s conftest$ac_exeext &&
5183 $as_test_x conftest$ac_exeext; then
5184 ac_cv_lib_ICE_IceConnectionNumber=yes
5185 else
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5189 ac_cv_lib_ICE_IceConnectionNumber=no
5192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5193 conftest$ac_exeext conftest.$ac_ext
5194 LIBS=$ac_check_lib_save_LIBS
5196 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5197 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5198 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5199 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5202 LDFLAGS=$ac_save_LDFLAGS
5207 for ac_prog in flex
5209 # Extract the first word of "$ac_prog", so it can be a program name with args.
5210 set dummy $ac_prog; ac_word=$2
5211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5213 if test "${ac_cv_prog_FLEX+set}" = set; then
5214 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 else
5216 if test -n "$FLEX"; then
5217 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_FLEX="$ac_prog"
5227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 FLEX=$ac_cv_prog_FLEX
5237 if test -n "$FLEX"; then
5238 { echo "$as_me:$LINENO: result: $FLEX" >&5
5239 echo "${ECHO_T}$FLEX" >&6; }
5240 else
5241 { echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6; }
5246 test -n "$FLEX" && break
5247 done
5248 test -n "$FLEX" || FLEX="none"
5250 if test "$FLEX" = "none"
5251 then
5252 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5253 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5254 { (exit 1); exit 1; }; }
5257 for ac_prog in bison
5259 # Extract the first word of "$ac_prog", so it can be a program name with args.
5260 set dummy $ac_prog; ac_word=$2
5261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5263 if test "${ac_cv_prog_BISON+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 else
5266 if test -n "$BISON"; then
5267 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5276 ac_cv_prog_BISON="$ac_prog"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5282 IFS=$as_save_IFS
5286 BISON=$ac_cv_prog_BISON
5287 if test -n "$BISON"; then
5288 { echo "$as_me:$LINENO: result: $BISON" >&5
5289 echo "${ECHO_T}$BISON" >&6; }
5290 else
5291 { echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6; }
5296 test -n "$BISON" && break
5297 done
5298 test -n "$BISON" || BISON="none"
5300 if test "$BISON" = "none"
5301 then
5302 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5303 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5304 { (exit 1); exit 1; }; }
5307 if test -n "$ac_tool_prefix"; then
5308 for ac_prog in gas as
5310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5314 if test "${ac_cv_prog_AS+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 else
5317 if test -n "$AS"; then
5318 ac_cv_prog_AS="$AS" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5333 IFS=$as_save_IFS
5337 AS=$ac_cv_prog_AS
5338 if test -n "$AS"; then
5339 { echo "$as_me:$LINENO: result: $AS" >&5
5340 echo "${ECHO_T}$AS" >&6; }
5341 else
5342 { echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6; }
5347 test -n "$AS" && break
5348 done
5350 if test -z "$AS"; then
5351 ac_ct_AS=$AS
5352 for ac_prog in gas as
5354 # Extract the first word of "$ac_prog", so it can be a program name with args.
5355 set dummy $ac_prog; ac_word=$2
5356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5358 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5359 echo $ECHO_N "(cached) $ECHO_C" >&6
5360 else
5361 if test -n "$ac_ct_AS"; then
5362 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5371 ac_cv_prog_ac_ct_AS="$ac_prog"
5372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5381 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5382 if test -n "$ac_ct_AS"; then
5383 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5384 echo "${ECHO_T}$ac_ct_AS" >&6; }
5385 else
5386 { echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6; }
5391 test -n "$ac_ct_AS" && break
5392 done
5394 if test "x$ac_ct_AS" = x; then
5395 AS="as"
5396 else
5397 case $cross_compiling:$ac_tool_warned in
5398 yes:)
5399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5400 whose name does not start with the host triplet. If you think this
5401 configuration is useful to you, please write to autoconf@gnu.org." >&5
5402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5403 whose name does not start with the host triplet. If you think this
5404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 AS=$ac_ct_AS
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5413 set dummy ${ac_tool_prefix}ld; ac_word=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_LD+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if test -n "$LD"; then
5420 ac_cv_prog_LD="$LD" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_LD="${ac_tool_prefix}ld"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 LD=$ac_cv_prog_LD
5440 if test -n "$LD"; then
5441 { echo "$as_me:$LINENO: result: $LD" >&5
5442 echo "${ECHO_T}$LD" >&6; }
5443 else
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_LD"; then
5451 ac_ct_LD=$LD
5452 # Extract the first word of "ld", so it can be a program name with args.
5453 set dummy ld; ac_word=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 if test -n "$ac_ct_LD"; then
5460 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_LD="ld"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5480 if test -n "$ac_ct_LD"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5482 echo "${ECHO_T}$ac_ct_LD" >&6; }
5483 else
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_LD" = x; then
5489 LD="ld"
5490 else
5491 case $cross_compiling:$ac_tool_warned in
5492 yes:)
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 LD=$ac_ct_LD
5503 else
5504 LD="$ac_cv_prog_LD"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}ar; ac_word=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_AR+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else
5515 if test -n "$AR"; then
5516 ac_cv_prog_AR="$AR" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_AR="${ac_tool_prefix}ar"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 AR=$ac_cv_prog_AR
5536 if test -n "$AR"; then
5537 { echo "$as_me:$LINENO: result: $AR" >&5
5538 echo "${ECHO_T}$AR" >&6; }
5539 else
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_AR"; then
5547 ac_ct_AR=$AR
5548 # Extract the first word of "ar", so it can be a program name with args.
5549 set dummy ar; ac_word=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 else
5555 if test -n "$ac_ct_AR"; then
5556 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_AR="ar"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5576 if test -n "$ac_ct_AR"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5578 echo "${ECHO_T}$ac_ct_AR" >&6; }
5579 else
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_AR" = x; then
5585 AR="ar"
5586 else
5587 case $cross_compiling:$ac_tool_warned in
5588 yes:)
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned=yes ;;
5596 esac
5597 AR=$ac_ct_AR
5599 else
5600 AR="$ac_cv_prog_AR"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_RANLIB+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$RANLIB"; then
5612 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 RANLIB=$ac_cv_prog_RANLIB
5632 if test -n "$RANLIB"; then
5633 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5634 echo "${ECHO_T}$RANLIB" >&6; }
5635 else
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_RANLIB"; then
5643 ac_ct_RANLIB=$RANLIB
5644 # Extract the first word of "ranlib", so it can be a program name with args.
5645 set dummy ranlib; ac_word=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 if test -n "$ac_ct_RANLIB"; then
5652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5657 IFS=$as_save_IFS
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_RANLIB="ranlib"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5672 if test -n "$ac_ct_RANLIB"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5674 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5675 else
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_RANLIB" = x; then
5681 RANLIB=":"
5682 else
5683 case $cross_compiling:$ac_tool_warned in
5684 yes:)
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned=yes ;;
5692 esac
5693 RANLIB=$ac_ct_RANLIB
5695 else
5696 RANLIB="$ac_cv_prog_RANLIB"
5699 if test -n "$ac_tool_prefix"; then
5700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5701 set dummy ${ac_tool_prefix}strip; ac_word=$2
5702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5704 if test "${ac_cv_prog_STRIP+set}" = set; then
5705 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 else
5707 if test -n "$STRIP"; then
5708 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5717 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5727 STRIP=$ac_cv_prog_STRIP
5728 if test -n "$STRIP"; then
5729 { echo "$as_me:$LINENO: result: $STRIP" >&5
5730 echo "${ECHO_T}$STRIP" >&6; }
5731 else
5732 { echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6; }
5738 if test -z "$ac_cv_prog_STRIP"; then
5739 ac_ct_STRIP=$STRIP
5740 # Extract the first word of "strip", so it can be a program name with args.
5741 set dummy strip; ac_word=$2
5742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5744 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5745 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 else
5747 if test -n "$ac_ct_STRIP"; then
5748 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5757 ac_cv_prog_ac_ct_STRIP="strip"
5758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5761 done
5762 done
5763 IFS=$as_save_IFS
5767 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5768 if test -n "$ac_ct_STRIP"; then
5769 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5770 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5771 else
5772 { echo "$as_me:$LINENO: result: no" >&5
5773 echo "${ECHO_T}no" >&6; }
5776 if test "x$ac_ct_STRIP" = x; then
5777 STRIP="strip"
5778 else
5779 case $cross_compiling:$ac_tool_warned in
5780 yes:)
5781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5782 whose name does not start with the host triplet. If you think this
5783 configuration is useful to you, please write to autoconf@gnu.org." >&5
5784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5785 whose name does not start with the host triplet. If you think this
5786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5787 ac_tool_warned=yes ;;
5788 esac
5789 STRIP=$ac_ct_STRIP
5791 else
5792 STRIP="$ac_cv_prog_STRIP"
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}windres; ac_word=$2
5798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5800 if test "${ac_cv_prog_WINDRES+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 else
5803 if test -n "$WINDRES"; then
5804 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5817 done
5818 done
5819 IFS=$as_save_IFS
5823 WINDRES=$ac_cv_prog_WINDRES
5824 if test -n "$WINDRES"; then
5825 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5826 echo "${ECHO_T}$WINDRES" >&6; }
5827 else
5828 { echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6; }
5834 if test -z "$ac_cv_prog_WINDRES"; then
5835 ac_ct_WINDRES=$WINDRES
5836 # Extract the first word of "windres", so it can be a program name with args.
5837 set dummy windres; ac_word=$2
5838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5840 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5841 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 else
5843 if test -n "$ac_ct_WINDRES"; then
5844 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5853 ac_cv_prog_ac_ct_WINDRES="windres"
5854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5864 if test -n "$ac_ct_WINDRES"; then
5865 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5866 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5867 else
5868 { echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6; }
5872 if test "x$ac_ct_WINDRES" = x; then
5873 WINDRES="false"
5874 else
5875 case $cross_compiling:$ac_tool_warned in
5876 yes:)
5877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5878 whose name does not start with the host triplet. If you think this
5879 configuration is useful to you, please write to autoconf@gnu.org." >&5
5880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5881 whose name does not start with the host triplet. If you think this
5882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5883 ac_tool_warned=yes ;;
5884 esac
5885 WINDRES=$ac_ct_WINDRES
5887 else
5888 WINDRES="$ac_cv_prog_WINDRES"
5891 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5892 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5893 LN_S=$as_ln_s
5894 if test "$LN_S" = "ln -s"; then
5895 { echo "$as_me:$LINENO: result: yes" >&5
5896 echo "${ECHO_T}yes" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5899 echo "${ECHO_T}no, using $LN_S" >&6; }
5902 { echo "$as_me:$LINENO: checking whether ln works" >&5
5903 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5904 rm -f conf$$ conf$$.file
5905 echo >conf$$.file
5906 if ln conf$$.file conf$$ 2>/dev/null; then
5907 LN=ln
5909 { echo "$as_me:$LINENO: result: yes" >&5
5910 echo "${ECHO_T}yes" >&6; }
5911 else
5912 LN="cp -p"
5914 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5915 echo "${ECHO_T}no, using $LN" >&6; }
5917 rm -f conf$$ conf$$.file
5918 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5919 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5920 if test "${ac_cv_path_GREP+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 else
5923 # Extract the first word of "grep ggrep" to use in msg output
5924 if test -z "$GREP"; then
5925 set dummy grep ggrep; ac_prog_name=$2
5926 if test "${ac_cv_path_GREP+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 else
5929 ac_path_GREP_found=false
5930 # Loop through the user's path and test for each of PROGNAME-LIST
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 for ac_prog in grep ggrep; do
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5939 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5940 # Check for GNU ac_path_GREP and select it if it is found.
5941 # Check for GNU $ac_path_GREP
5942 case `"$ac_path_GREP" --version 2>&1` in
5943 *GNU*)
5944 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5946 ac_count=0
5947 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5948 while :
5950 cat "conftest.in" "conftest.in" >"conftest.tmp"
5951 mv "conftest.tmp" "conftest.in"
5952 cp "conftest.in" "conftest.nl"
5953 echo 'GREP' >> "conftest.nl"
5954 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5955 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5956 ac_count=`expr $ac_count + 1`
5957 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5958 # Best one so far, save it but keep looking for a better one
5959 ac_cv_path_GREP="$ac_path_GREP"
5960 ac_path_GREP_max=$ac_count
5962 # 10*(2^10) chars as input seems more than enough
5963 test $ac_count -gt 10 && break
5964 done
5965 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5966 esac
5969 $ac_path_GREP_found && break 3
5970 done
5971 done
5973 done
5974 IFS=$as_save_IFS
5979 GREP="$ac_cv_path_GREP"
5980 if test -z "$GREP"; then
5981 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5982 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5983 { (exit 1); exit 1; }; }
5986 else
5987 ac_cv_path_GREP=$GREP
5992 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5993 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5994 GREP="$ac_cv_path_GREP"
5997 { echo "$as_me:$LINENO: checking for egrep" >&5
5998 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5999 if test "${ac_cv_path_EGREP+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6003 then ac_cv_path_EGREP="$GREP -E"
6004 else
6005 # Extract the first word of "egrep" to use in msg output
6006 if test -z "$EGREP"; then
6007 set dummy egrep; ac_prog_name=$2
6008 if test "${ac_cv_path_EGREP+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6010 else
6011 ac_path_EGREP_found=false
6012 # Loop through the user's path and test for each of PROGNAME-LIST
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_prog in egrep; do
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6021 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6022 # Check for GNU ac_path_EGREP and select it if it is found.
6023 # Check for GNU $ac_path_EGREP
6024 case `"$ac_path_EGREP" --version 2>&1` in
6025 *GNU*)
6026 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6028 ac_count=0
6029 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6030 while :
6032 cat "conftest.in" "conftest.in" >"conftest.tmp"
6033 mv "conftest.tmp" "conftest.in"
6034 cp "conftest.in" "conftest.nl"
6035 echo 'EGREP' >> "conftest.nl"
6036 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6037 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6038 ac_count=`expr $ac_count + 1`
6039 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6040 # Best one so far, save it but keep looking for a better one
6041 ac_cv_path_EGREP="$ac_path_EGREP"
6042 ac_path_EGREP_max=$ac_count
6044 # 10*(2^10) chars as input seems more than enough
6045 test $ac_count -gt 10 && break
6046 done
6047 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6048 esac
6051 $ac_path_EGREP_found && break 3
6052 done
6053 done
6055 done
6056 IFS=$as_save_IFS
6061 EGREP="$ac_cv_path_EGREP"
6062 if test -z "$EGREP"; then
6063 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6064 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6065 { (exit 1); exit 1; }; }
6068 else
6069 ac_cv_path_EGREP=$EGREP
6075 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6076 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6077 EGREP="$ac_cv_path_EGREP"
6080 # Extract the first word of "ldconfig", so it can be a program name with args.
6081 set dummy ldconfig; ac_word=$2
6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6084 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 else
6087 case $LDCONFIG in
6088 [\\/]* | ?:[\\/]*)
6089 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in /sbin /usr/sbin $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6107 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6109 esac
6111 LDCONFIG=$ac_cv_path_LDCONFIG
6112 if test -n "$LDCONFIG"; then
6113 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6114 echo "${ECHO_T}$LDCONFIG" >&6; }
6115 else
6116 { echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6; }
6121 # Find a good install program. We prefer a C program (faster),
6122 # so one script is as good as another. But avoid the broken or
6123 # incompatible versions:
6124 # SysV /etc/install, /usr/sbin/install
6125 # SunOS /usr/etc/install
6126 # IRIX /sbin/install
6127 # AIX /bin/install
6128 # AmigaOS /C/install, which installs bootblocks on floppy discs
6129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6132 # OS/2's system install, which has a completely different semantic
6133 # ./install, which can be erroneously created by make from ./install.sh.
6134 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6135 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6136 if test -z "$INSTALL"; then
6137 if test "${ac_cv_path_install+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 # Account for people who put trailing slashes in PATH elements.
6146 case $as_dir/ in
6147 ./ | .// | /cC/* | \
6148 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6149 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6150 /usr/ucb/* ) ;;
6152 # OSF1 and SCO ODT 3.0 have their own names for install.
6153 # Don't use installbsd from OSF since it installs stuff as root
6154 # by default.
6155 for ac_prog in ginstall scoinst install; do
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6158 if test $ac_prog = install &&
6159 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6160 # AIX install. It has an incompatible calling convention.
6162 elif test $ac_prog = install &&
6163 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6164 # program-specific install script used by HP pwplus--don't use.
6166 else
6167 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6168 break 3
6171 done
6172 done
6174 esac
6175 done
6176 IFS=$as_save_IFS
6180 if test "${ac_cv_path_install+set}" = set; then
6181 INSTALL=$ac_cv_path_install
6182 else
6183 # As a last resort, use the slow shell script. Don't cache a
6184 # value for INSTALL within a source directory, because that will
6185 # break other packages using the cache if that directory is
6186 # removed, or if the value is a relative name.
6187 INSTALL=$ac_install_sh
6190 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6191 echo "${ECHO_T}$INSTALL" >&6; }
6193 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6194 # It thinks the first close brace ends the variable substitution.
6195 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6197 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6199 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6201 case "$INSTALL" in
6202 [\\/$]* | ?:[\\/]* ) ;;
6203 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6204 esac
6206 for ac_prog in lclint lint
6208 # Extract the first word of "$ac_prog", so it can be a program name with args.
6209 set dummy $ac_prog; ac_word=$2
6210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6212 if test "${ac_cv_prog_LINT+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 else
6215 if test -n "$LINT"; then
6216 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6217 else
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 for as_dir in $PATH
6221 IFS=$as_save_IFS
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6225 ac_cv_prog_LINT="$ac_prog"
6226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 break 2
6229 done
6230 done
6231 IFS=$as_save_IFS
6235 LINT=$ac_cv_prog_LINT
6236 if test -n "$LINT"; then
6237 { echo "$as_me:$LINENO: result: $LINT" >&5
6238 echo "${ECHO_T}$LINT" >&6; }
6239 else
6240 { echo "$as_me:$LINENO: result: no" >&5
6241 echo "${ECHO_T}no" >&6; }
6245 test -n "$LINT" && break
6246 done
6248 if test "$LINT" = "lint"
6249 then
6250 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6255 for ac_prog in fontforge
6257 # Extract the first word of "$ac_prog", so it can be a program name with args.
6258 set dummy $ac_prog; ac_word=$2
6259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6261 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 else
6264 if test -n "$FONTFORGE"; then
6265 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6270 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_prog_FONTFORGE="$ac_prog"
6275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 break 2
6278 done
6279 done
6280 IFS=$as_save_IFS
6284 FONTFORGE=$ac_cv_prog_FONTFORGE
6285 if test -n "$FONTFORGE"; then
6286 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6287 echo "${ECHO_T}$FONTFORGE" >&6; }
6288 else
6289 { echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6; }
6294 test -n "$FONTFORGE" && break
6295 done
6296 test -n "$FONTFORGE" || FONTFORGE="false"
6298 for ac_prog in pkg-config
6300 # Extract the first word of "$ac_prog", so it can be a program name with args.
6301 set dummy $ac_prog; ac_word=$2
6302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6304 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 else
6307 if test -n "$PKG_CONFIG"; then
6308 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6313 IFS=$as_save_IFS
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317 ac_cv_prog_PKG_CONFIG="$ac_prog"
6318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6319 break 2
6321 done
6322 done
6323 IFS=$as_save_IFS
6327 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6328 if test -n "$PKG_CONFIG"; then
6329 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6330 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6331 else
6332 { echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6; }
6337 test -n "$PKG_CONFIG" && break
6338 done
6339 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6342 case $host_cpu in
6343 *i[3456789]86*)
6344 # Extract the first word of "prelink", so it can be a program name with args.
6345 set dummy prelink; ac_word=$2
6346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6348 if test "${ac_cv_path_PRELINK+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 else
6351 case $PRELINK in
6352 [\\/]* | ?:[\\/]*)
6353 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in /sbin /usr/sbin $PATH
6359 IFS=$as_save_IFS
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 break 2
6367 done
6368 done
6369 IFS=$as_save_IFS
6371 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6373 esac
6375 PRELINK=$ac_cv_path_PRELINK
6376 if test -n "$PRELINK"; then
6377 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6378 echo "${ECHO_T}$PRELINK" >&6; }
6379 else
6380 { echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6; }
6386 esac
6390 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6391 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-li386 $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char i386_set_ldt ();
6412 main ()
6414 return i386_set_ldt ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_i386_i386_set_ldt=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_i386_i386_set_ldt=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6450 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6451 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6452 cat >>confdefs.h <<_ACEOF
6453 #define HAVE_LIBI386 1
6454 _ACEOF
6456 LIBS="-li386 $LIBS"
6461 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6462 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6463 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 else
6466 ac_check_lib_save_LIBS=$LIBS
6467 LIBS="-lossaudio $LIBS"
6468 cat >conftest.$ac_ext <<_ACEOF
6469 /* confdefs.h. */
6470 _ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6475 /* Override any GCC internal prototype to avoid an error.
6476 Use char because int might match the return type of a GCC
6477 builtin and then its argument prototype would still apply. */
6478 #ifdef __cplusplus
6479 extern "C"
6480 #endif
6481 char _oss_ioctl ();
6483 main ()
6485 return _oss_ioctl ();
6487 return 0;
6489 _ACEOF
6490 rm -f conftest.$ac_objext conftest$ac_exeext
6491 if { (ac_try="$ac_link"
6492 case "(($ac_try" in
6493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6494 *) ac_try_echo=$ac_try;;
6495 esac
6496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6497 (eval "$ac_link") 2>conftest.er1
6498 ac_status=$?
6499 grep -v '^ *+' conftest.er1 >conftest.err
6500 rm -f conftest.er1
6501 cat conftest.err >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); } && {
6504 test -z "$ac_c_werror_flag" ||
6505 test ! -s conftest.err
6506 } && test -s conftest$ac_exeext &&
6507 $as_test_x conftest$ac_exeext; then
6508 ac_cv_lib_ossaudio__oss_ioctl=yes
6509 else
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6513 ac_cv_lib_ossaudio__oss_ioctl=no
6516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6517 conftest$ac_exeext conftest.$ac_ext
6518 LIBS=$ac_check_lib_save_LIBS
6520 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6521 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6522 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6523 cat >>confdefs.h <<_ACEOF
6524 #define HAVE_LIBOSSAUDIO 1
6525 _ACEOF
6527 LIBS="-lossaudio $LIBS"
6531 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6532 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6533 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6534 echo $ECHO_N "(cached) $ECHO_C" >&6
6535 else
6536 ac_check_lib_save_LIBS=$LIBS
6537 LIBS="-lpthread $LIBS"
6538 cat >conftest.$ac_ext <<_ACEOF
6539 /* confdefs.h. */
6540 _ACEOF
6541 cat confdefs.h >>conftest.$ac_ext
6542 cat >>conftest.$ac_ext <<_ACEOF
6543 /* end confdefs.h. */
6545 /* Override any GCC internal prototype to avoid an error.
6546 Use char because int might match the return type of a GCC
6547 builtin and then its argument prototype would still apply. */
6548 #ifdef __cplusplus
6549 extern "C"
6550 #endif
6551 char pthread_create ();
6553 main ()
6555 return pthread_create ();
6557 return 0;
6559 _ACEOF
6560 rm -f conftest.$ac_objext conftest$ac_exeext
6561 if { (ac_try="$ac_link"
6562 case "(($ac_try" in
6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6565 esac
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_link") 2>conftest.er1
6568 ac_status=$?
6569 grep -v '^ *+' conftest.er1 >conftest.err
6570 rm -f conftest.er1
6571 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } && {
6574 test -z "$ac_c_werror_flag" ||
6575 test ! -s conftest.err
6576 } && test -s conftest$ac_exeext &&
6577 $as_test_x conftest$ac_exeext; then
6578 ac_cv_lib_pthread_pthread_create=yes
6579 else
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.$ac_ext >&5
6583 ac_cv_lib_pthread_pthread_create=no
6586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6587 conftest$ac_exeext conftest.$ac_ext
6588 LIBS=$ac_check_lib_save_LIBS
6590 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6591 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6592 if test $ac_cv_lib_pthread_pthread_create = yes; then
6593 LIBPTHREAD="-lpthread"
6598 XLIB=""
6600 XFILES=""
6602 OPENGLFILES=""
6604 GLU32FILES=""
6606 OPENGL_LIBS=""
6608 QUARTZFILES=""
6612 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6613 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6614 if test "${ac_cv_header_stdc+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 else
6617 cat >conftest.$ac_ext <<_ACEOF
6618 /* confdefs.h. */
6619 _ACEOF
6620 cat confdefs.h >>conftest.$ac_ext
6621 cat >>conftest.$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 #include <stdlib.h>
6624 #include <stdarg.h>
6625 #include <string.h>
6626 #include <float.h>
6629 main ()
6633 return 0;
6635 _ACEOF
6636 rm -f conftest.$ac_objext
6637 if { (ac_try="$ac_compile"
6638 case "(($ac_try" in
6639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6640 *) ac_try_echo=$ac_try;;
6641 esac
6642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6643 (eval "$ac_compile") 2>conftest.er1
6644 ac_status=$?
6645 grep -v '^ *+' conftest.er1 >conftest.err
6646 rm -f conftest.er1
6647 cat conftest.err >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); } && {
6650 test -z "$ac_c_werror_flag" ||
6651 test ! -s conftest.err
6652 } && test -s conftest.$ac_objext; then
6653 ac_cv_header_stdc=yes
6654 else
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6658 ac_cv_header_stdc=no
6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 if test $ac_cv_header_stdc = yes; then
6664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6665 cat >conftest.$ac_ext <<_ACEOF
6666 /* confdefs.h. */
6667 _ACEOF
6668 cat confdefs.h >>conftest.$ac_ext
6669 cat >>conftest.$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6671 #include <string.h>
6673 _ACEOF
6674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6675 $EGREP "memchr" >/dev/null 2>&1; then
6677 else
6678 ac_cv_header_stdc=no
6680 rm -f conftest*
6684 if test $ac_cv_header_stdc = yes; then
6685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6686 cat >conftest.$ac_ext <<_ACEOF
6687 /* confdefs.h. */
6688 _ACEOF
6689 cat confdefs.h >>conftest.$ac_ext
6690 cat >>conftest.$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6692 #include <stdlib.h>
6694 _ACEOF
6695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6696 $EGREP "free" >/dev/null 2>&1; then
6698 else
6699 ac_cv_header_stdc=no
6701 rm -f conftest*
6705 if test $ac_cv_header_stdc = yes; then
6706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6707 if test "$cross_compiling" = yes; then
6709 else
6710 cat >conftest.$ac_ext <<_ACEOF
6711 /* confdefs.h. */
6712 _ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 #include <ctype.h>
6717 #include <stdlib.h>
6718 #if ((' ' & 0x0FF) == 0x020)
6719 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6720 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6721 #else
6722 # define ISLOWER(c) \
6723 (('a' <= (c) && (c) <= 'i') \
6724 || ('j' <= (c) && (c) <= 'r') \
6725 || ('s' <= (c) && (c) <= 'z'))
6726 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6727 #endif
6729 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6731 main ()
6733 int i;
6734 for (i = 0; i < 256; i++)
6735 if (XOR (islower (i), ISLOWER (i))
6736 || toupper (i) != TOUPPER (i))
6737 return 2;
6738 return 0;
6740 _ACEOF
6741 rm -f conftest$ac_exeext
6742 if { (ac_try="$ac_link"
6743 case "(($ac_try" in
6744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6745 *) ac_try_echo=$ac_try;;
6746 esac
6747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6748 (eval "$ac_link") 2>&5
6749 ac_status=$?
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6752 { (case "(($ac_try" in
6753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6754 *) ac_try_echo=$ac_try;;
6755 esac
6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6757 (eval "$ac_try") 2>&5
6758 ac_status=$?
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6762 else
6763 echo "$as_me: program exited with status $ac_status" >&5
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6767 ( exit $ac_status )
6768 ac_cv_header_stdc=no
6770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6776 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6777 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6778 if test $ac_cv_header_stdc = yes; then
6780 cat >>confdefs.h <<\_ACEOF
6781 #define STDC_HEADERS 1
6782 _ACEOF
6786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6796 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6797 inttypes.h stdint.h unistd.h
6799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6800 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 else
6805 cat >conftest.$ac_ext <<_ACEOF
6806 /* confdefs.h. */
6807 _ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6813 #include <$ac_header>
6814 _ACEOF
6815 rm -f conftest.$ac_objext
6816 if { (ac_try="$ac_compile"
6817 case "(($ac_try" in
6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6819 *) ac_try_echo=$ac_try;;
6820 esac
6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6822 (eval "$ac_compile") 2>conftest.er1
6823 ac_status=$?
6824 grep -v '^ *+' conftest.er1 >conftest.err
6825 rm -f conftest.er1
6826 cat conftest.err >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } && {
6829 test -z "$ac_c_werror_flag" ||
6830 test ! -s conftest.err
6831 } && test -s conftest.$ac_objext; then
6832 eval "$as_ac_Header=yes"
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6837 eval "$as_ac_Header=no"
6840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6842 ac_res=`eval echo '${'$as_ac_Header'}'`
6843 { echo "$as_me:$LINENO: result: $ac_res" >&5
6844 echo "${ECHO_T}$ac_res" >&6; }
6845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6846 cat >>confdefs.h <<_ACEOF
6847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6848 _ACEOF
6852 done
6965 for ac_header in \
6966 AudioUnit/AudioUnit.h \
6967 Carbon/Carbon.h \
6968 CoreAudio/CoreAudio.h \
6969 DiskArbitration/DiskArbitration.h \
6970 IOKit/IOKitLib.h \
6971 alsa/asoundlib.h \
6972 arpa/inet.h \
6973 arpa/nameser.h \
6974 asm/types.h \
6975 capi20.h \
6976 cups/cups.h \
6977 curses.h \
6978 direct.h \
6979 dlfcn.h \
6980 elf.h \
6981 float.h \
6982 fontconfig/fontconfig.h \
6983 getopt.h \
6984 ieeefp.h \
6985 io.h \
6986 jack/jack.h \
6987 jpeglib.h \
6988 lber.h \
6989 lcms.h \
6990 lcms/lcms.h \
6991 ldap.h \
6992 libaudioio.h \
6993 link.h \
6994 linux/cdrom.h \
6995 linux/compiler.h \
6996 linux/hdreg.h \
6997 linux/input.h \
6998 linux/ioctl.h \
6999 linux/joystick.h \
7000 linux/major.h \
7001 linux/param.h \
7002 linux/serial.h \
7003 linux/ucdrom.h \
7004 mach/mach.h \
7005 mach/machine.h \
7006 machine/cpu.h \
7007 machine/limits.h \
7008 machine/soundcard.h \
7009 mntent.h \
7010 ncurses.h \
7011 netdb.h \
7012 netinet/in.h \
7013 netinet/in_systm.h \
7014 netinet/tcp.h \
7015 netinet/tcp_fsm.h \
7016 openssl/err.h \
7017 openssl/ssl.h \
7018 png.h \
7019 poll.h \
7020 process.h \
7021 pthread.h \
7022 pwd.h \
7023 regex.h \
7024 sched.h \
7025 scsi/scsi.h \
7026 scsi/scsi_ioctl.h \
7027 scsi/sg.h \
7028 soundcard.h \
7029 stdint.h \
7030 strings.h \
7031 sys/asoundlib.h \
7032 sys/cdio.h \
7033 sys/elf32.h \
7034 sys/epoll.h \
7035 sys/errno.h \
7036 sys/event.h \
7037 sys/exec_elf.h \
7038 sys/filio.h \
7039 sys/ioctl.h \
7040 sys/ipc.h \
7041 sys/limits.h \
7042 sys/link.h \
7043 sys/lwp.h \
7044 sys/mman.h \
7045 sys/modem.h \
7046 sys/msg.h \
7047 sys/mtio.h \
7048 sys/param.h \
7049 sys/poll.h \
7050 sys/prctl.h \
7051 sys/ptrace.h \
7052 sys/reg.h \
7053 sys/resource.h \
7054 sys/scsiio.h \
7055 sys/shm.h \
7056 sys/signal.h \
7057 sys/socket.h \
7058 sys/socketvar.h \
7059 sys/sockio.h \
7060 sys/soundcard.h \
7061 sys/statvfs.h \
7062 sys/strtio.h \
7063 sys/syscall.h \
7064 sys/sysctl.h \
7065 sys/time.h \
7066 sys/times.h \
7067 sys/uio.h \
7068 sys/un.h \
7069 sys/vm86.h \
7070 sys/wait.h \
7071 syscall.h \
7072 termios.h \
7073 unistd.h \
7074 utime.h \
7075 valgrind/memcheck.h
7078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 ac_res=`eval echo '${'$as_ac_Header'}'`
7086 { echo "$as_me:$LINENO: result: $ac_res" >&5
7087 echo "${ECHO_T}$ac_res" >&6; }
7088 else
7089 # Is the header compilable?
7090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7092 cat >conftest.$ac_ext <<_ACEOF
7093 /* confdefs.h. */
7094 _ACEOF
7095 cat confdefs.h >>conftest.$ac_ext
7096 cat >>conftest.$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7098 $ac_includes_default
7099 #include <$ac_header>
7100 _ACEOF
7101 rm -f conftest.$ac_objext
7102 if { (ac_try="$ac_compile"
7103 case "(($ac_try" in
7104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7105 *) ac_try_echo=$ac_try;;
7106 esac
7107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7108 (eval "$ac_compile") 2>conftest.er1
7109 ac_status=$?
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } && {
7115 test -z "$ac_c_werror_flag" ||
7116 test ! -s conftest.err
7117 } && test -s conftest.$ac_objext; then
7118 ac_header_compiler=yes
7119 else
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.$ac_ext >&5
7123 ac_header_compiler=no
7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7128 echo "${ECHO_T}$ac_header_compiler" >&6; }
7130 # Is the header present?
7131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7133 cat >conftest.$ac_ext <<_ACEOF
7134 /* confdefs.h. */
7135 _ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 #include <$ac_header>
7140 _ACEOF
7141 if { (ac_try="$ac_cpp conftest.$ac_ext"
7142 case "(($ac_try" in
7143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7144 *) ac_try_echo=$ac_try;;
7145 esac
7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7148 ac_status=$?
7149 grep -v '^ *+' conftest.er1 >conftest.err
7150 rm -f conftest.er1
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } >/dev/null && {
7154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7155 test ! -s conftest.err
7156 }; then
7157 ac_header_preproc=yes
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_header_preproc=no
7165 rm -f conftest.err conftest.$ac_ext
7166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7167 echo "${ECHO_T}$ac_header_preproc" >&6; }
7169 # So? What about this header?
7170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7171 yes:no: )
7172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7176 ac_header_preproc=yes
7178 no:yes:* )
7179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7191 ( cat <<\_ASBOX
7192 ## ------------------------------------ ##
7193 ## Report this to wine-devel@winehq.org ##
7194 ## ------------------------------------ ##
7195 _ASBOX
7196 ) | sed "s/^/$as_me: WARNING: /" >&2
7198 esac
7199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 else
7204 eval "$as_ac_Header=\$ac_header_preproc"
7206 ac_res=`eval echo '${'$as_ac_Header'}'`
7207 { echo "$as_me:$LINENO: result: $ac_res" >&5
7208 echo "${ECHO_T}$ac_res" >&6; }
7211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7212 cat >>confdefs.h <<_ACEOF
7213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7214 _ACEOF
7218 done
7220 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7221 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7222 if test "${ac_cv_header_stat_broken+set}" = set; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 else
7225 cat >conftest.$ac_ext <<_ACEOF
7226 /* confdefs.h. */
7227 _ACEOF
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 #include <sys/types.h>
7232 #include <sys/stat.h>
7234 #if defined S_ISBLK && defined S_IFDIR
7235 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7236 #endif
7238 #if defined S_ISBLK && defined S_IFCHR
7239 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7240 #endif
7242 #if defined S_ISLNK && defined S_IFREG
7243 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7244 #endif
7246 #if defined S_ISSOCK && defined S_IFREG
7247 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7248 #endif
7250 _ACEOF
7251 rm -f conftest.$ac_objext
7252 if { (ac_try="$ac_compile"
7253 case "(($ac_try" in
7254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7255 *) ac_try_echo=$ac_try;;
7256 esac
7257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7258 (eval "$ac_compile") 2>conftest.er1
7259 ac_status=$?
7260 grep -v '^ *+' conftest.er1 >conftest.err
7261 rm -f conftest.er1
7262 cat conftest.err >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } && {
7265 test -z "$ac_c_werror_flag" ||
7266 test ! -s conftest.err
7267 } && test -s conftest.$ac_objext; then
7268 ac_cv_header_stat_broken=no
7269 else
7270 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.$ac_ext >&5
7273 ac_cv_header_stat_broken=yes
7276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7278 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7279 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7280 if test $ac_cv_header_stat_broken = yes; then
7282 cat >>confdefs.h <<\_ACEOF
7283 #define STAT_MACROS_BROKEN 1
7284 _ACEOF
7294 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7301 else
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7304 _ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 #include <sys/types.h>
7309 #if HAVE_SYS_PARAM_H
7310 # include <sys/param.h>
7311 #endif
7313 #include <$ac_header>
7314 _ACEOF
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7317 case "(($ac_try" in
7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7320 esac
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.$ac_objext; then
7332 eval "$as_ac_Header=yes"
7333 else
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342 ac_res=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h <<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7363 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7366 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7370 else
7371 cat >conftest.$ac_ext <<_ACEOF
7372 /* confdefs.h. */
7373 _ACEOF
7374 cat confdefs.h >>conftest.$ac_ext
7375 cat >>conftest.$ac_ext <<_ACEOF
7376 /* end confdefs.h. */
7377 #include <sys/types.h>
7378 #if HAVE_SYS_SOCKET_H
7379 # include <sys/socket.h>
7380 #endif
7381 #if HAVE_SYS_SOCKETVAR_H
7382 # include <sys/socketvar.h>
7383 #endif
7384 #if HAVE_NETINET_IN_H
7385 # include <netinet/in.h>
7386 #endif
7388 #include <$ac_header>
7389 _ACEOF
7390 rm -f conftest.$ac_objext
7391 if { (ac_try="$ac_compile"
7392 case "(($ac_try" in
7393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7394 *) ac_try_echo=$ac_try;;
7395 esac
7396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7397 (eval "$ac_compile") 2>conftest.er1
7398 ac_status=$?
7399 grep -v '^ *+' conftest.er1 >conftest.err
7400 rm -f conftest.er1
7401 cat conftest.err >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } && {
7404 test -z "$ac_c_werror_flag" ||
7405 test ! -s conftest.err
7406 } && test -s conftest.$ac_objext; then
7407 eval "$as_ac_Header=yes"
7408 else
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.$ac_ext >&5
7412 eval "$as_ac_Header=no"
7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7417 ac_res=`eval echo '${'$as_ac_Header'}'`
7418 { echo "$as_me:$LINENO: result: $ac_res" >&5
7419 echo "${ECHO_T}$ac_res" >&6; }
7420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7421 cat >>confdefs.h <<_ACEOF
7422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7423 _ACEOF
7427 done
7431 for ac_header in netinet/tcp_var.h
7433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7434 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 else
7439 cat >conftest.$ac_ext <<_ACEOF
7440 /* confdefs.h. */
7441 _ACEOF
7442 cat confdefs.h >>conftest.$ac_ext
7443 cat >>conftest.$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7445 #include <sys/types.h>
7446 #if HAVE_SYS_SOCKET_H
7447 # include <sys/socket.h>
7448 #endif
7449 #if HAVE_SYS_SOCKETVAR_H
7450 # include <sys/socketvar.h>
7451 #endif
7452 #if HAVE_NETINET_IN_H
7453 # include <netinet/in.h>
7454 #endif
7455 #ifdef HAVE_NETINET_TCP_H
7456 # include <netinet/tcp.h>
7457 #endif
7459 #include <$ac_header>
7460 _ACEOF
7461 rm -f conftest.$ac_objext
7462 if { (ac_try="$ac_compile"
7463 case "(($ac_try" in
7464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7465 *) ac_try_echo=$ac_try;;
7466 esac
7467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7468 (eval "$ac_compile") 2>conftest.er1
7469 ac_status=$?
7470 grep -v '^ *+' conftest.er1 >conftest.err
7471 rm -f conftest.er1
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } && {
7475 test -z "$ac_c_werror_flag" ||
7476 test ! -s conftest.err
7477 } && test -s conftest.$ac_objext; then
7478 eval "$as_ac_Header=yes"
7479 else
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.$ac_ext >&5
7483 eval "$as_ac_Header=no"
7486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7488 ac_res=`eval echo '${'$as_ac_Header'}'`
7489 { echo "$as_me:$LINENO: result: $ac_res" >&5
7490 echo "${ECHO_T}$ac_res" >&6; }
7491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7492 cat >>confdefs.h <<_ACEOF
7493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7494 _ACEOF
7498 done
7502 for ac_header in linux/ipx.h
7504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7509 else
7510 cat >conftest.$ac_ext <<_ACEOF
7511 /* confdefs.h. */
7512 _ACEOF
7513 cat confdefs.h >>conftest.$ac_ext
7514 cat >>conftest.$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7516 #include <sys/types.h>
7517 #ifdef HAVE_ASM_TYPES_H
7518 # include <asm/types.h>
7519 #endif
7520 #if HAVE_SYS_SOCKET_H
7521 # include <sys/socket.h>
7522 #endif
7524 #include <$ac_header>
7525 _ACEOF
7526 rm -f conftest.$ac_objext
7527 if { (ac_try="$ac_compile"
7528 case "(($ac_try" in
7529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7530 *) ac_try_echo=$ac_try;;
7531 esac
7532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7533 (eval "$ac_compile") 2>conftest.er1
7534 ac_status=$?
7535 grep -v '^ *+' conftest.er1 >conftest.err
7536 rm -f conftest.er1
7537 cat conftest.err >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } && {
7540 test -z "$ac_c_werror_flag" ||
7541 test ! -s conftest.err
7542 } && test -s conftest.$ac_objext; then
7543 eval "$as_ac_Header=yes"
7544 else
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.$ac_ext >&5
7548 eval "$as_ac_Header=no"
7551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553 ac_res=`eval echo '${'$as_ac_Header'}'`
7554 { echo "$as_me:$LINENO: result: $ac_res" >&5
7555 echo "${ECHO_T}$ac_res" >&6; }
7556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7557 cat >>confdefs.h <<_ACEOF
7558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7559 _ACEOF
7563 done
7567 for ac_header in resolv.h
7569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 else
7575 cat >conftest.$ac_ext <<_ACEOF
7576 /* confdefs.h. */
7577 _ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 #include <sys/types.h>
7582 #if HAVE_SYS_SOCKET_H
7583 # include <sys/socket.h>
7584 #endif
7585 #if HAVE_NETINET_IN_H
7586 # include <netinet/in.h>
7587 #endif
7588 #if HAVE_ARPA_NAMESER_H
7589 # include <arpa/nameser.h>
7590 #endif
7592 #include <$ac_header>
7593 _ACEOF
7594 rm -f conftest.$ac_objext
7595 if { (ac_try="$ac_compile"
7596 case "(($ac_try" in
7597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598 *) ac_try_echo=$ac_try;;
7599 esac
7600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7601 (eval "$ac_compile") 2>conftest.er1
7602 ac_status=$?
7603 grep -v '^ *+' conftest.er1 >conftest.err
7604 rm -f conftest.er1
7605 cat conftest.err >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } && {
7608 test -z "$ac_c_werror_flag" ||
7609 test ! -s conftest.err
7610 } && test -s conftest.$ac_objext; then
7611 eval "$as_ac_Header=yes"
7612 else
7613 echo "$as_me: failed program was:" >&5
7614 sed 's/^/| /' conftest.$ac_ext >&5
7616 eval "$as_ac_Header=no"
7619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7621 ac_res=`eval echo '${'$as_ac_Header'}'`
7622 { echo "$as_me:$LINENO: result: $ac_res" >&5
7623 echo "${ECHO_T}$ac_res" >&6; }
7624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7625 cat >>confdefs.h <<_ACEOF
7626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 _ACEOF
7631 done
7635 for ac_header in ucontext.h
7637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7638 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 else
7643 cat >conftest.$ac_ext <<_ACEOF
7644 /* confdefs.h. */
7645 _ACEOF
7646 cat confdefs.h >>conftest.$ac_ext
7647 cat >>conftest.$ac_ext <<_ACEOF
7648 /* end confdefs.h. */
7649 #include <signal.h>
7651 #include <$ac_header>
7652 _ACEOF
7653 rm -f conftest.$ac_objext
7654 if { (ac_try="$ac_compile"
7655 case "(($ac_try" in
7656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7657 *) ac_try_echo=$ac_try;;
7658 esac
7659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7660 (eval "$ac_compile") 2>conftest.er1
7661 ac_status=$?
7662 grep -v '^ *+' conftest.er1 >conftest.err
7663 rm -f conftest.er1
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } && {
7667 test -z "$ac_c_werror_flag" ||
7668 test ! -s conftest.err
7669 } && test -s conftest.$ac_objext; then
7670 eval "$as_ac_Header=yes"
7671 else
7672 echo "$as_me: failed program was:" >&5
7673 sed 's/^/| /' conftest.$ac_ext >&5
7675 eval "$as_ac_Header=no"
7678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7680 ac_res=`eval echo '${'$as_ac_Header'}'`
7681 { echo "$as_me:$LINENO: result: $ac_res" >&5
7682 echo "${ECHO_T}$ac_res" >&6; }
7683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7684 cat >>confdefs.h <<_ACEOF
7685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7686 _ACEOF
7690 done
7694 for ac_header in sys/thr.h
7696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7701 else
7702 cat >conftest.$ac_ext <<_ACEOF
7703 /* confdefs.h. */
7704 _ACEOF
7705 cat confdefs.h >>conftest.$ac_ext
7706 cat >>conftest.$ac_ext <<_ACEOF
7707 /* end confdefs.h. */
7708 #include <sys/types.h>
7709 #if HAVE_UCONTEXT_H
7710 #include <ucontext.h>
7711 #endif
7713 #include <$ac_header>
7714 _ACEOF
7715 rm -f conftest.$ac_objext
7716 if { (ac_try="$ac_compile"
7717 case "(($ac_try" in
7718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7719 *) ac_try_echo=$ac_try;;
7720 esac
7721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7722 (eval "$ac_compile") 2>conftest.er1
7723 ac_status=$?
7724 grep -v '^ *+' conftest.er1 >conftest.err
7725 rm -f conftest.er1
7726 cat conftest.err >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } && {
7729 test -z "$ac_c_werror_flag" ||
7730 test ! -s conftest.err
7731 } && test -s conftest.$ac_objext; then
7732 eval "$as_ac_Header=yes"
7733 else
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.$ac_ext >&5
7737 eval "$as_ac_Header=no"
7740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7742 ac_res=`eval echo '${'$as_ac_Header'}'`
7743 { echo "$as_me:$LINENO: result: $ac_res" >&5
7744 echo "${ECHO_T}$ac_res" >&6; }
7745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7746 cat >>confdefs.h <<_ACEOF
7747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 _ACEOF
7752 done
7756 for ac_header in pthread_np.h
7758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7763 else
7764 cat >conftest.$ac_ext <<_ACEOF
7765 /* confdefs.h. */
7766 _ACEOF
7767 cat confdefs.h >>conftest.$ac_ext
7768 cat >>conftest.$ac_ext <<_ACEOF
7769 /* end confdefs.h. */
7770 #ifdef HAVE_PTHREAD_H
7771 #include <pthread.h>
7772 #endif
7774 #include <$ac_header>
7775 _ACEOF
7776 rm -f conftest.$ac_objext
7777 if { (ac_try="$ac_compile"
7778 case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7781 esac
7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_compile") 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } && {
7790 test -z "$ac_c_werror_flag" ||
7791 test ! -s conftest.err
7792 } && test -s conftest.$ac_objext; then
7793 eval "$as_ac_Header=yes"
7794 else
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 eval "$as_ac_Header=no"
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 ac_res=`eval echo '${'$as_ac_Header'}'`
7804 { echo "$as_me:$LINENO: result: $ac_res" >&5
7805 echo "${ECHO_T}$ac_res" >&6; }
7806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7807 cat >>confdefs.h <<_ACEOF
7808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7809 _ACEOF
7813 done
7817 for ac_header in linux/videodev.h
7819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 else
7825 cat >conftest.$ac_ext <<_ACEOF
7826 /* confdefs.h. */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #ifdef HAVE_SYS_TIME_H
7832 #include <sys/time.h>
7833 #endif
7834 #include <sys/types.h>
7835 #ifdef HAVE_ASM_TYPES_H
7836 #include <asm/types.h>
7837 #endif
7839 #include <$ac_header>
7840 _ACEOF
7841 rm -f conftest.$ac_objext
7842 if { (ac_try="$ac_compile"
7843 case "(($ac_try" in
7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7845 *) ac_try_echo=$ac_try;;
7846 esac
7847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7848 (eval "$ac_compile") 2>conftest.er1
7849 ac_status=$?
7850 grep -v '^ *+' conftest.er1 >conftest.err
7851 rm -f conftest.er1
7852 cat conftest.err >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } && {
7855 test -z "$ac_c_werror_flag" ||
7856 test ! -s conftest.err
7857 } && test -s conftest.$ac_objext; then
7858 eval "$as_ac_Header=yes"
7859 else
7860 echo "$as_me: failed program was:" >&5
7861 sed 's/^/| /' conftest.$ac_ext >&5
7863 eval "$as_ac_Header=no"
7866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7868 ac_res=`eval echo '${'$as_ac_Header'}'`
7869 { echo "$as_me:$LINENO: result: $ac_res" >&5
7870 echo "${ECHO_T}$ac_res" >&6; }
7871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7872 cat >>confdefs.h <<_ACEOF
7873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7874 _ACEOF
7878 done
7882 for ac_header in linux/capi.h
7884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 else
7890 cat >conftest.$ac_ext <<_ACEOF
7891 /* confdefs.h. */
7892 _ACEOF
7893 cat confdefs.h >>conftest.$ac_ext
7894 cat >>conftest.$ac_ext <<_ACEOF
7895 /* end confdefs.h. */
7896 #define __user
7898 #include <$ac_header>
7899 _ACEOF
7900 rm -f conftest.$ac_objext
7901 if { (ac_try="$ac_compile"
7902 case "(($ac_try" in
7903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7904 *) ac_try_echo=$ac_try;;
7905 esac
7906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7907 (eval "$ac_compile") 2>conftest.er1
7908 ac_status=$?
7909 grep -v '^ *+' conftest.er1 >conftest.err
7910 rm -f conftest.er1
7911 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } && {
7914 test -z "$ac_c_werror_flag" ||
7915 test ! -s conftest.err
7916 } && test -s conftest.$ac_objext; then
7917 eval "$as_ac_Header=yes"
7918 else
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 eval "$as_ac_Header=no"
7925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7931 cat >>confdefs.h <<_ACEOF
7932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 _ACEOF
7937 done
7941 DLLEXT=""
7943 DLLFLAGS="-D_REENTRANT"
7945 LDSHARED=""
7947 LDDLLFLAGS=""
7949 LIBEXT="so"
7951 IMPLIBEXT="def"
7953 LDRPATH_INSTALL=""
7955 LDRPATH_LOCAL=""
7957 # Extract the first word of "ldd", so it can be a program name with args.
7958 set dummy ldd; ac_word=$2
7959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7961 if test "${ac_cv_path_LDD+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 else
7964 case $LDD in
7965 [\\/]* | ?:[\\/]*)
7966 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 as_dummy="/sbin:/usr/sbin:$PATH"
7971 for as_dir in $as_dummy
7973 IFS=$as_save_IFS
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 break 2
7981 done
7982 done
7983 IFS=$as_save_IFS
7985 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7987 esac
7989 LDD=$ac_cv_path_LDD
7990 if test -n "$LDD"; then
7991 { echo "$as_me:$LINENO: result: $LDD" >&5
7992 echo "${ECHO_T}$LDD" >&6; }
7993 else
7994 { echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6; }
8000 case $host_os in
8001 cygwin*|mingw32*)
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8004 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8007 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 else
8010 if test -n "$DLLTOOL"; then
8011 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8012 else
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 for as_dir in $PATH
8016 IFS=$as_save_IFS
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 break 2
8024 done
8025 done
8026 IFS=$as_save_IFS
8030 DLLTOOL=$ac_cv_prog_DLLTOOL
8031 if test -n "$DLLTOOL"; then
8032 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8033 echo "${ECHO_T}$DLLTOOL" >&6; }
8034 else
8035 { echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6; }
8041 if test -z "$ac_cv_prog_DLLTOOL"; then
8042 ac_ct_DLLTOOL=$DLLTOOL
8043 # Extract the first word of "dlltool", so it can be a program name with args.
8044 set dummy dlltool; ac_word=$2
8045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8047 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 if test -n "$ac_ct_DLLTOOL"; then
8051 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8052 else
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8056 IFS=$as_save_IFS
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8062 break 2
8064 done
8065 done
8066 IFS=$as_save_IFS
8070 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8071 if test -n "$ac_ct_DLLTOOL"; then
8072 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8073 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8074 else
8075 { echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6; }
8079 if test "x$ac_ct_DLLTOOL" = x; then
8080 DLLTOOL="false"
8081 else
8082 case $cross_compiling:$ac_tool_warned in
8083 yes:)
8084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&5
8087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8088 whose name does not start with the host triplet. If you think this
8089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8090 ac_tool_warned=yes ;;
8091 esac
8092 DLLTOOL=$ac_ct_DLLTOOL
8094 else
8095 DLLTOOL="$ac_cv_prog_DLLTOOL"
8098 if test -n "$ac_tool_prefix"; then
8099 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8100 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8103 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 else
8106 if test -n "$DLLWRAP"; then
8107 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8108 else
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 for as_dir in $PATH
8112 IFS=$as_save_IFS
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8118 break 2
8120 done
8121 done
8122 IFS=$as_save_IFS
8126 DLLWRAP=$ac_cv_prog_DLLWRAP
8127 if test -n "$DLLWRAP"; then
8128 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8129 echo "${ECHO_T}$DLLWRAP" >&6; }
8130 else
8131 { echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6; }
8137 if test -z "$ac_cv_prog_DLLWRAP"; then
8138 ac_ct_DLLWRAP=$DLLWRAP
8139 # Extract the first word of "dllwrap", so it can be a program name with args.
8140 set dummy dllwrap; ac_word=$2
8141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8143 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 else
8146 if test -n "$ac_ct_DLLWRAP"; then
8147 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8148 else
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 for as_dir in $PATH
8152 IFS=$as_save_IFS
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 break 2
8160 done
8161 done
8162 IFS=$as_save_IFS
8166 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8167 if test -n "$ac_ct_DLLWRAP"; then
8168 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8169 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8170 else
8171 { echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6; }
8175 if test "x$ac_ct_DLLWRAP" = x; then
8176 DLLWRAP="false"
8177 else
8178 case $cross_compiling:$ac_tool_warned in
8179 yes:)
8180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8181 whose name does not start with the host triplet. If you think this
8182 configuration is useful to you, please write to autoconf@gnu.org." >&5
8183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8184 whose name does not start with the host triplet. If you think this
8185 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8186 ac_tool_warned=yes ;;
8187 esac
8188 DLLWRAP=$ac_ct_DLLWRAP
8190 else
8191 DLLWRAP="$ac_cv_prog_DLLWRAP"
8194 if test -n "$ac_tool_prefix"; then
8195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8196 set dummy ${ac_tool_prefix}ar; ac_word=$2
8197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8199 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8201 else
8202 if test -n "$MINGWAR"; then
8203 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8204 else
8205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 for as_dir in $PATH
8208 IFS=$as_save_IFS
8209 test -z "$as_dir" && as_dir=.
8210 for ac_exec_ext in '' $ac_executable_extensions; do
8211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8212 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8214 break 2
8216 done
8217 done
8218 IFS=$as_save_IFS
8222 MINGWAR=$ac_cv_prog_MINGWAR
8223 if test -n "$MINGWAR"; then
8224 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8225 echo "${ECHO_T}$MINGWAR" >&6; }
8226 else
8227 { echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6; }
8233 if test -z "$ac_cv_prog_MINGWAR"; then
8234 ac_ct_MINGWAR=$MINGWAR
8235 # Extract the first word of "ar", so it can be a program name with args.
8236 set dummy ar; ac_word=$2
8237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8239 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8241 else
8242 if test -n "$ac_ct_MINGWAR"; then
8243 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8244 else
8245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8246 for as_dir in $PATH
8248 IFS=$as_save_IFS
8249 test -z "$as_dir" && as_dir=.
8250 for ac_exec_ext in '' $ac_executable_extensions; do
8251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8252 ac_cv_prog_ac_ct_MINGWAR="ar"
8253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 break 2
8256 done
8257 done
8258 IFS=$as_save_IFS
8262 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8263 if test -n "$ac_ct_MINGWAR"; then
8264 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8265 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8266 else
8267 { echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6; }
8271 if test "x$ac_ct_MINGWAR" = x; then
8272 MINGWAR="false"
8273 else
8274 case $cross_compiling:$ac_tool_warned in
8275 yes:)
8276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8277 whose name does not start with the host triplet. If you think this
8278 configuration is useful to you, please write to autoconf@gnu.org." >&5
8279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8280 whose name does not start with the host triplet. If you think this
8281 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8282 ac_tool_warned=yes ;;
8283 esac
8284 MINGWAR=$ac_ct_MINGWAR
8286 else
8287 MINGWAR="$ac_cv_prog_MINGWAR"
8290 if test "$DLLWRAP" = "false"; then
8291 LIBEXT="a"
8292 else
8293 LIBEXT="dll"
8295 IMPLIBEXT="a"
8296 WIN16_FILES=""
8297 WIN16_INSTALL=""
8299 darwin*|macosx*)
8300 DLLEXT=".so"
8301 LIBEXT="dylib"
8302 DLLFLAGS="$DLLFLAGS -fPIC"
8303 LDDLLFLAGS="-bundle -multiply_defined suppress"
8304 LIBWINE_LDFLAGS="-multiply_defined suppress"
8305 LDSHARED="\$(CC) -dynamiclib"
8306 STRIP="$STRIP -x"
8307 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8308 SECURITYLIB="-framework Security -framework CoreFoundation"
8310 COREFOUNDATIONLIB="-framework CoreFoundation"
8312 IOKITLIB="-framework IOKit -framework CoreFoundation"
8314 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8316 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8317 then
8318 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8321 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8322 then
8323 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8326 case $host_cpu in
8327 *powerpc*)
8328 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8329 esac
8330 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8331 then
8332 CARBONLIB="-framework Carbon"
8334 QUARTZFILES='$(QUARTZFILES)'
8338 DLLFLAGS="$DLLFLAGS -fPIC"
8339 DLLEXT=".so"
8340 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8341 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8342 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8347 cat >conftest.$ac_ext <<_ACEOF
8348 void myfunc() {}
8349 _ACEOF
8350 rm -f conftest.$ac_objext conftest$ac_exeext
8351 if { (ac_try="$ac_link"
8352 case "(($ac_try" in
8353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8355 esac
8356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8357 (eval "$ac_link") 2>conftest.er1
8358 ac_status=$?
8359 grep -v '^ *+' conftest.er1 >conftest.err
8360 rm -f conftest.er1
8361 cat conftest.err >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } && {
8364 test -z "$ac_c_werror_flag" ||
8365 test ! -s conftest.err
8366 } && test -s conftest$ac_exeext &&
8367 $as_test_x conftest$ac_exeext; then
8368 ac_cv_c_dll_gnuelf="yes"
8369 else
8370 echo "$as_me: failed program was:" >&5
8371 sed 's/^/| /' conftest.$ac_ext >&5
8373 ac_cv_c_dll_gnuelf="no"
8376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8381 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8382 if test "$ac_cv_c_dll_gnuelf" = "yes"
8383 then
8384 LDSHARED="\$(CC) -shared"
8385 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8386 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8387 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8388 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8393 cat >conftest.$ac_ext <<_ACEOF
8394 /* confdefs.h. */
8395 _ACEOF
8396 cat confdefs.h >>conftest.$ac_ext
8397 cat >>conftest.$ac_ext <<_ACEOF
8398 /* end confdefs.h. */
8401 main ()
8405 return 0;
8407 _ACEOF
8408 rm -f conftest.$ac_objext conftest$ac_exeext
8409 if { (ac_try="$ac_link"
8410 case "(($ac_try" in
8411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8412 *) ac_try_echo=$ac_try;;
8413 esac
8414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8415 (eval "$ac_link") 2>conftest.er1
8416 ac_status=$?
8417 grep -v '^ *+' conftest.er1 >conftest.err
8418 rm -f conftest.er1
8419 cat conftest.err >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); } && {
8422 test -z "$ac_c_werror_flag" ||
8423 test ! -s conftest.err
8424 } && test -s conftest$ac_exeext &&
8425 $as_test_x conftest$ac_exeext; then
8426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8427 else
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.$ac_ext >&5
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8435 conftest$ac_exeext conftest.$ac_ext
8436 CFLAGS=$ac_wine_try_cflags_saved
8438 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8439 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8440 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8441 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8442 else
8443 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8444 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8445 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8450 cat >conftest.$ac_ext <<_ACEOF
8451 /* confdefs.h. */
8452 _ACEOF
8453 cat confdefs.h >>conftest.$ac_ext
8454 cat >>conftest.$ac_ext <<_ACEOF
8455 /* end confdefs.h. */
8458 main ()
8462 return 0;
8464 _ACEOF
8465 rm -f conftest.$ac_objext conftest$ac_exeext
8466 if { (ac_try="$ac_link"
8467 case "(($ac_try" in
8468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469 *) ac_try_echo=$ac_try;;
8470 esac
8471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8472 (eval "$ac_link") 2>conftest.er1
8473 ac_status=$?
8474 grep -v '^ *+' conftest.er1 >conftest.err
8475 rm -f conftest.er1
8476 cat conftest.err >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } && {
8479 test -z "$ac_c_werror_flag" ||
8480 test ! -s conftest.err
8481 } && test -s conftest$ac_exeext &&
8482 $as_test_x conftest$ac_exeext; then
8483 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8484 else
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.$ac_ext >&5
8488 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8492 conftest$ac_exeext conftest.$ac_ext
8493 CFLAGS=$ac_wine_try_cflags_saved
8495 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8496 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8497 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8498 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8504 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8505 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8506 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8511 cat >conftest.$ac_ext <<_ACEOF
8512 /* confdefs.h. */
8513 _ACEOF
8514 cat confdefs.h >>conftest.$ac_ext
8515 cat >>conftest.$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8519 main ()
8523 return 0;
8525 _ACEOF
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (ac_try="$ac_link"
8528 case "(($ac_try" in
8529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8530 *) ac_try_echo=$ac_try;;
8531 esac
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_link") 2>conftest.er1
8534 ac_status=$?
8535 grep -v '^ *+' conftest.er1 >conftest.err
8536 rm -f conftest.er1
8537 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } && {
8540 test -z "$ac_c_werror_flag" ||
8541 test ! -s conftest.err
8542 } && test -s conftest$ac_exeext &&
8543 $as_test_x conftest$ac_exeext; then
8544 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8545 else
8546 echo "$as_me: failed program was:" >&5
8547 sed 's/^/| /' conftest.$ac_ext >&5
8549 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8553 conftest$ac_exeext conftest.$ac_ext
8554 CFLAGS=$ac_wine_try_cflags_saved
8556 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8557 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8558 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8559 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8563 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8564 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8565 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8567 else
8568 ac_wine_try_cflags_saved=$CFLAGS
8569 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8570 cat >conftest.$ac_ext <<_ACEOF
8571 /* confdefs.h. */
8572 _ACEOF
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8578 main ()
8582 return 0;
8584 _ACEOF
8585 rm -f conftest.$ac_objext conftest$ac_exeext
8586 if { (ac_try="$ac_link"
8587 case "(($ac_try" in
8588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8589 *) ac_try_echo=$ac_try;;
8590 esac
8591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8592 (eval "$ac_link") 2>conftest.er1
8593 ac_status=$?
8594 grep -v '^ *+' conftest.er1 >conftest.err
8595 rm -f conftest.er1
8596 cat conftest.err >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } && {
8599 test -z "$ac_c_werror_flag" ||
8600 test ! -s conftest.err
8601 } && test -s conftest$ac_exeext &&
8602 $as_test_x conftest$ac_exeext; then
8603 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8604 else
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.$ac_ext >&5
8608 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8612 conftest$ac_exeext conftest.$ac_ext
8613 CFLAGS=$ac_wine_try_cflags_saved
8615 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8616 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8617 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8618 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8622 echo '{ global: *; };' >conftest.map
8623 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8624 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8625 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 else
8628 ac_wine_try_cflags_saved=$CFLAGS
8629 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8630 cat >conftest.$ac_ext <<_ACEOF
8631 /* confdefs.h. */
8632 _ACEOF
8633 cat confdefs.h >>conftest.$ac_ext
8634 cat >>conftest.$ac_ext <<_ACEOF
8635 /* end confdefs.h. */
8638 main ()
8642 return 0;
8644 _ACEOF
8645 rm -f conftest.$ac_objext conftest$ac_exeext
8646 if { (ac_try="$ac_link"
8647 case "(($ac_try" in
8648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8649 *) ac_try_echo=$ac_try;;
8650 esac
8651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8652 (eval "$ac_link") 2>conftest.er1
8653 ac_status=$?
8654 grep -v '^ *+' conftest.er1 >conftest.err
8655 rm -f conftest.er1
8656 cat conftest.err >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && {
8659 test -z "$ac_c_werror_flag" ||
8660 test ! -s conftest.err
8661 } && test -s conftest$ac_exeext &&
8662 $as_test_x conftest$ac_exeext; then
8663 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8664 else
8665 echo "$as_me: failed program was:" >&5
8666 sed 's/^/| /' conftest.$ac_ext >&5
8668 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8676 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8677 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8678 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8681 rm -f conftest.map
8683 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8684 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8685 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 else
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8698 main ()
8702 return 0;
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8736 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8737 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8738 LDEXECFLAGS="-Wl,--export-dynamic"
8743 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8744 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8745 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8751 cat >conftest.$ac_ext <<_ACEOF
8752 /* confdefs.h. */
8753 _ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8759 main ()
8763 return 0;
8765 _ACEOF
8766 rm -f conftest.$ac_objext conftest$ac_exeext
8767 if { (ac_try="$ac_link"
8768 case "(($ac_try" in
8769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8770 *) ac_try_echo=$ac_try;;
8771 esac
8772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8773 (eval "$ac_link") 2>conftest.er1
8774 ac_status=$?
8775 grep -v '^ *+' conftest.er1 >conftest.err
8776 rm -f conftest.er1
8777 cat conftest.err >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); } && {
8780 test -z "$ac_c_werror_flag" ||
8781 test ! -s conftest.err
8782 } && test -s conftest$ac_exeext &&
8783 $as_test_x conftest$ac_exeext; then
8784 eval "$as_ac_var=yes"
8785 else
8786 echo "$as_me: failed program was:" >&5
8787 sed 's/^/| /' conftest.$ac_ext >&5
8789 eval "$as_ac_var=no"
8792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 ac_res=`eval echo '${'$as_ac_var'}'`
8797 { echo "$as_me:$LINENO: result: $ac_res" >&5
8798 echo "${ECHO_T}$ac_res" >&6; }
8799 if test `eval echo '${'$as_ac_var'}'` = yes; then
8800 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8801 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8802 else
8803 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8804 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8805 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8807 echo $ECHO_N "(cached) $ECHO_C" >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8811 cat >conftest.$ac_ext <<_ACEOF
8812 /* confdefs.h. */
8813 _ACEOF
8814 cat confdefs.h >>conftest.$ac_ext
8815 cat >>conftest.$ac_ext <<_ACEOF
8816 /* end confdefs.h. */
8819 main ()
8823 return 0;
8825 _ACEOF
8826 rm -f conftest.$ac_objext conftest$ac_exeext
8827 if { (ac_try="$ac_link"
8828 case "(($ac_try" in
8829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8830 *) ac_try_echo=$ac_try;;
8831 esac
8832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8833 (eval "$ac_link") 2>conftest.er1
8834 ac_status=$?
8835 grep -v '^ *+' conftest.er1 >conftest.err
8836 rm -f conftest.er1
8837 cat conftest.err >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); } && {
8840 test -z "$ac_c_werror_flag" ||
8841 test ! -s conftest.err
8842 } && test -s conftest$ac_exeext &&
8843 $as_test_x conftest$ac_exeext; then
8844 eval "$as_ac_var=yes"
8845 else
8846 echo "$as_me: failed program was:" >&5
8847 sed 's/^/| /' conftest.$ac_ext >&5
8849 eval "$as_ac_var=no"
8852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 ac_res=`eval echo '${'$as_ac_var'}'`
8857 { echo "$as_me:$LINENO: result: $ac_res" >&5
8858 echo "${ECHO_T}$ac_res" >&6; }
8859 if test `eval echo '${'$as_ac_var'}'` = yes; then
8860 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8861 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8867 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8868 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8869 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8874 cat >conftest.$ac_ext <<_ACEOF
8875 /* confdefs.h. */
8876 _ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8882 main ()
8886 return 0;
8888 _ACEOF
8889 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (ac_try="$ac_link"
8891 case "(($ac_try" in
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8894 esac
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_link") 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest$ac_exeext &&
8906 $as_test_x conftest$ac_exeext; then
8907 ac_cv_cflags__Wl___enable_new_dtags=yes
8908 else
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 ac_cv_cflags__Wl___enable_new_dtags=no
8915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8916 conftest$ac_exeext conftest.$ac_ext
8917 CFLAGS=$ac_wine_try_cflags_saved
8919 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8920 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8921 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8922 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8926 case $host_cpu in
8927 *i[3456789]86* | x86_64)
8928 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8929 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8930 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8932 else
8933 ac_wine_try_cflags_saved=$CFLAGS
8934 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8935 cat >conftest.$ac_ext <<_ACEOF
8936 /* confdefs.h. */
8937 _ACEOF
8938 cat confdefs.h >>conftest.$ac_ext
8939 cat >>conftest.$ac_ext <<_ACEOF
8940 /* end confdefs.h. */
8943 main ()
8947 return 0;
8949 _ACEOF
8950 rm -f conftest.$ac_objext conftest$ac_exeext
8951 if { (ac_try="$ac_link"
8952 case "(($ac_try" in
8953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8954 *) ac_try_echo=$ac_try;;
8955 esac
8956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8957 (eval "$ac_link") 2>conftest.er1
8958 ac_status=$?
8959 grep -v '^ *+' conftest.er1 >conftest.err
8960 rm -f conftest.er1
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && {
8964 test -z "$ac_c_werror_flag" ||
8965 test ! -s conftest.err
8966 } && test -s conftest$ac_exeext &&
8967 $as_test_x conftest$ac_exeext; then
8968 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8969 else
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.$ac_ext >&5
8973 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8977 conftest$ac_exeext conftest.$ac_ext
8978 CFLAGS=$ac_wine_try_cflags_saved
8980 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8981 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8982 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8983 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8987 esac
8989 else
8990 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8991 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8992 if test "${ac_cv_c_dll_unixware+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 else
8995 ac_wine_try_cflags_saved=$CFLAGS
8996 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8997 cat >conftest.$ac_ext <<_ACEOF
8998 void myfunc() {}
8999 _ACEOF
9000 rm -f conftest.$ac_objext conftest$ac_exeext
9001 if { (ac_try="$ac_link"
9002 case "(($ac_try" in
9003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9004 *) ac_try_echo=$ac_try;;
9005 esac
9006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9007 (eval "$ac_link") 2>conftest.er1
9008 ac_status=$?
9009 grep -v '^ *+' conftest.er1 >conftest.err
9010 rm -f conftest.er1
9011 cat conftest.err >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); } && {
9014 test -z "$ac_c_werror_flag" ||
9015 test ! -s conftest.err
9016 } && test -s conftest$ac_exeext &&
9017 $as_test_x conftest$ac_exeext; then
9018 ac_cv_c_dll_unixware="yes"
9019 else
9020 echo "$as_me: failed program was:" >&5
9021 sed 's/^/| /' conftest.$ac_ext >&5
9023 ac_cv_c_dll_unixware="no"
9026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9027 conftest$ac_exeext conftest.$ac_ext
9028 CFLAGS=$ac_wine_try_cflags_saved
9030 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9031 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9032 if test "$ac_cv_c_dll_unixware" = "yes"
9033 then
9034 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9035 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9037 else
9038 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9039 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9040 if test "${ac_cv_c_dll_hpux+set}" = set; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 else
9043 ac_wine_try_cflags_saved=$CFLAGS
9044 CFLAGS="$CFLAGS -shared"
9045 cat >conftest.$ac_ext <<_ACEOF
9046 void myfunc() {}
9047 _ACEOF
9048 rm -f conftest.$ac_objext conftest$ac_exeext
9049 if { (ac_try="$ac_link"
9050 case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9053 esac
9054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_link") 2>conftest.er1
9056 ac_status=$?
9057 grep -v '^ *+' conftest.er1 >conftest.err
9058 rm -f conftest.er1
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } && {
9062 test -z "$ac_c_werror_flag" ||
9063 test ! -s conftest.err
9064 } && test -s conftest$ac_exeext &&
9065 $as_test_x conftest$ac_exeext; then
9066 ac_cv_c_dll_hpux="yes"
9067 else
9068 echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.$ac_ext >&5
9071 ac_cv_c_dll_hpux="no"
9074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9075 conftest$ac_exeext conftest.$ac_ext
9076 CFLAGS=$ac_wine_try_cflags_saved
9078 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9079 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9080 if test "$ac_cv_c_dll_hpux" = "yes"
9081 then
9082 LIBEXT="sl"
9083 DLLEXT=".sl"
9084 LDDLLFLAGS="-shared -fPIC"
9085 LDSHARED="\$(CC) -shared"
9090 CROSSTEST=""
9092 if test "$cross_compiling" = "no"
9093 then
9094 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9096 # Extract the first word of "$ac_prog", so it can be a program name with args.
9097 set dummy $ac_prog; ac_word=$2
9098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9100 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 else
9103 if test -n "$CROSSCC"; then
9104 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9105 else
9106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9107 for as_dir in $PATH
9109 IFS=$as_save_IFS
9110 test -z "$as_dir" && as_dir=.
9111 for ac_exec_ext in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_prog_CROSSCC="$ac_prog"
9114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9115 break 2
9117 done
9118 done
9119 IFS=$as_save_IFS
9123 CROSSCC=$ac_cv_prog_CROSSCC
9124 if test -n "$CROSSCC"; then
9125 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9126 echo "${ECHO_T}$CROSSCC" >&6; }
9127 else
9128 { echo "$as_me:$LINENO: result: no" >&5
9129 echo "${ECHO_T}no" >&6; }
9133 test -n "$CROSSCC" && break
9134 done
9135 test -n "$CROSSCC" || CROSSCC="false"
9137 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9139 # Extract the first word of "$ac_prog", so it can be a program name with args.
9140 set dummy $ac_prog; ac_word=$2
9141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9143 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9145 else
9146 if test -n "$DLLTOOL"; then
9147 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9148 else
9149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 for as_dir in $PATH
9152 IFS=$as_save_IFS
9153 test -z "$as_dir" && as_dir=.
9154 for ac_exec_ext in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_prog_DLLTOOL="$ac_prog"
9157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9158 break 2
9160 done
9161 done
9162 IFS=$as_save_IFS
9166 DLLTOOL=$ac_cv_prog_DLLTOOL
9167 if test -n "$DLLTOOL"; then
9168 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9169 echo "${ECHO_T}$DLLTOOL" >&6; }
9170 else
9171 { echo "$as_me:$LINENO: result: no" >&5
9172 echo "${ECHO_T}no" >&6; }
9176 test -n "$DLLTOOL" && break
9177 done
9178 test -n "$DLLTOOL" || DLLTOOL="false"
9180 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9182 # Extract the first word of "$ac_prog", so it can be a program name with args.
9183 set dummy $ac_prog; ac_word=$2
9184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9186 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 else
9189 if test -n "$CROSSWINDRES"; then
9190 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9191 else
9192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9193 for as_dir in $PATH
9195 IFS=$as_save_IFS
9196 test -z "$as_dir" && as_dir=.
9197 for ac_exec_ext in '' $ac_executable_extensions; do
9198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9199 ac_cv_prog_CROSSWINDRES="$ac_prog"
9200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9201 break 2
9203 done
9204 done
9205 IFS=$as_save_IFS
9209 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9210 if test -n "$CROSSWINDRES"; then
9211 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9212 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9213 else
9214 { echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6; }
9219 test -n "$CROSSWINDRES" && break
9220 done
9221 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9223 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9225 # Extract the first word of "$ac_prog", so it can be a program name with args.
9226 set dummy $ac_prog; ac_word=$2
9227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9229 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9231 else
9232 if test -n "$MINGWAR"; then
9233 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9234 else
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 for as_dir in $PATH
9238 IFS=$as_save_IFS
9239 test -z "$as_dir" && as_dir=.
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_prog_MINGWAR="$ac_prog"
9243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9244 break 2
9246 done
9247 done
9248 IFS=$as_save_IFS
9252 MINGWAR=$ac_cv_prog_MINGWAR
9253 if test -n "$MINGWAR"; then
9254 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9255 echo "${ECHO_T}$MINGWAR" >&6; }
9256 else
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9262 test -n "$MINGWAR" && break
9263 done
9264 test -n "$MINGWAR" || MINGWAR="false"
9266 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9269 esac
9271 if test "$LIBEXT" = "a"; then
9272 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9273 It is currently not possible to build Wine without shared library
9274 (.so) support to allow transparent switch between .so and .dll files.
9275 If you are using Linux, you will need a newer binutils.
9276 " >&5
9277 echo "$as_me: error: could not find a way to build shared libraries.
9278 It is currently not possible to build Wine without shared library
9279 (.so) support to allow transparent switch between .so and .dll files.
9280 If you are using Linux, you will need a newer binutils.
9281 " >&2;}
9282 { (exit 1); exit 1; }; }
9286 if test "$have_x" = "yes"
9287 then
9288 XLIB="-lXext -lX11"
9289 ac_save_CPPFLAGS="$CPPFLAGS"
9290 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9292 { echo "$as_me:$LINENO: checking for -lX11" >&5
9293 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9294 if test "${ac_cv_lib_soname_X11+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 else
9297 ac_check_soname_save_LIBS=$LIBS
9298 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9299 cat >conftest.$ac_ext <<_ACEOF
9300 /* confdefs.h. */
9301 _ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9306 /* Override any GCC internal prototype to avoid an error.
9307 Use char because int might match the return type of a GCC
9308 builtin and then its argument prototype would still apply. */
9309 #ifdef __cplusplus
9310 extern "C"
9311 #endif
9312 char XCreateWindow ();
9314 main ()
9316 return XCreateWindow ();
9318 return 0;
9320 _ACEOF
9321 rm -f conftest.$ac_objext conftest$ac_exeext
9322 if { (ac_try="$ac_link"
9323 case "(($ac_try" in
9324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9325 *) ac_try_echo=$ac_try;;
9326 esac
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_link") 2>conftest.er1
9329 ac_status=$?
9330 grep -v '^ *+' conftest.er1 >conftest.err
9331 rm -f conftest.er1
9332 cat conftest.err >&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); } && {
9335 test -z "$ac_c_werror_flag" ||
9336 test ! -s conftest.err
9337 } && test -s conftest$ac_exeext &&
9338 $as_test_x conftest$ac_exeext; then
9339 case "$LIBEXT" in
9340 dll) ;;
9341 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'` ;;
9342 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9343 esac
9344 else
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_soname_save_LIBS
9355 if test "x$ac_cv_lib_soname_X11" = "x"; then
9356 { echo "$as_me:$LINENO: result: not found" >&5
9357 echo "${ECHO_T}not found" >&6; }
9359 else
9360 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9361 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9363 cat >>confdefs.h <<_ACEOF
9364 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9365 _ACEOF
9370 { echo "$as_me:$LINENO: checking for -lXext" >&5
9371 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9372 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 else
9375 ac_check_soname_save_LIBS=$LIBS
9376 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9377 cat >conftest.$ac_ext <<_ACEOF
9378 /* confdefs.h. */
9379 _ACEOF
9380 cat confdefs.h >>conftest.$ac_ext
9381 cat >>conftest.$ac_ext <<_ACEOF
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char XextCreateExtension ();
9392 main ()
9394 return XextCreateExtension ();
9396 return 0;
9398 _ACEOF
9399 rm -f conftest.$ac_objext conftest$ac_exeext
9400 if { (ac_try="$ac_link"
9401 case "(($ac_try" in
9402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9403 *) ac_try_echo=$ac_try;;
9404 esac
9405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9406 (eval "$ac_link") 2>conftest.er1
9407 ac_status=$?
9408 grep -v '^ *+' conftest.er1 >conftest.err
9409 rm -f conftest.er1
9410 cat conftest.err >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } && {
9413 test -z "$ac_c_werror_flag" ||
9414 test ! -s conftest.err
9415 } && test -s conftest$ac_exeext &&
9416 $as_test_x conftest$ac_exeext; then
9417 case "$LIBEXT" in
9418 dll) ;;
9419 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'` ;;
9420 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9421 esac
9422 else
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_soname_save_LIBS
9433 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9434 { echo "$as_me:$LINENO: result: not found" >&5
9435 echo "${ECHO_T}not found" >&6; }
9437 else
9438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9439 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9441 cat >>confdefs.h <<_ACEOF
9442 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9443 _ACEOF
9461 for ac_header in X11/Xlib.h \
9462 X11/XKBlib.h \
9463 X11/Xutil.h \
9464 X11/Xcursor/Xcursor.h \
9465 X11/extensions/shape.h \
9466 X11/extensions/XInput.h \
9467 X11/extensions/XShm.h \
9468 X11/extensions/Xcomposite.h \
9469 X11/extensions/Xinerama.h \
9470 X11/extensions/Xrandr.h \
9471 X11/extensions/Xrender.h \
9472 X11/extensions/xf86vmode.h
9474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 else
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9486 #ifdef HAVE_X11_XLIB_H
9487 # include <X11/Xlib.h>
9488 #endif
9489 #ifdef HAVE_X11_XUTIL_H
9490 # include <X11/Xutil.h>
9491 #endif
9493 #include <$ac_header>
9494 _ACEOF
9495 rm -f conftest.$ac_objext
9496 if { (ac_try="$ac_compile"
9497 case "(($ac_try" in
9498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9499 *) ac_try_echo=$ac_try;;
9500 esac
9501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9502 (eval "$ac_compile") 2>conftest.er1
9503 ac_status=$?
9504 grep -v '^ *+' conftest.er1 >conftest.err
9505 rm -f conftest.er1
9506 cat conftest.err >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } && {
9509 test -z "$ac_c_werror_flag" ||
9510 test ! -s conftest.err
9511 } && test -s conftest.$ac_objext; then
9512 eval "$as_ac_Header=yes"
9513 else
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 eval "$as_ac_Header=no"
9520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9522 ac_res=`eval echo '${'$as_ac_Header'}'`
9523 { echo "$as_me:$LINENO: result: $ac_res" >&5
9524 echo "${ECHO_T}$ac_res" >&6; }
9525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9526 cat >>confdefs.h <<_ACEOF
9527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9528 _ACEOF
9532 done
9535 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9536 then
9537 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9538 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9539 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9544 cat >conftest.$ac_ext <<_ACEOF
9545 /* confdefs.h. */
9546 _ACEOF
9547 cat confdefs.h >>conftest.$ac_ext
9548 cat >>conftest.$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9554 #ifdef __cplusplus
9555 extern "C"
9556 #endif
9557 char XkbQueryExtension ();
9559 main ()
9561 return XkbQueryExtension ();
9563 return 0;
9565 _ACEOF
9566 rm -f conftest.$ac_objext conftest$ac_exeext
9567 if { (ac_try="$ac_link"
9568 case "(($ac_try" in
9569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570 *) ac_try_echo=$ac_try;;
9571 esac
9572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9573 (eval "$ac_link") 2>conftest.er1
9574 ac_status=$?
9575 grep -v '^ *+' conftest.er1 >conftest.err
9576 rm -f conftest.er1
9577 cat conftest.err >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } && {
9580 test -z "$ac_c_werror_flag" ||
9581 test ! -s conftest.err
9582 } && test -s conftest$ac_exeext &&
9583 $as_test_x conftest$ac_exeext; then
9584 ac_cv_lib_X11_XkbQueryExtension=yes
9585 else
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.$ac_ext >&5
9589 ac_cv_lib_X11_XkbQueryExtension=no
9592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_lib_save_LIBS
9596 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9597 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9598 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9600 cat >>confdefs.h <<\_ACEOF
9601 #define HAVE_XKB 1
9602 _ACEOF
9608 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9609 then
9610 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9611 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9612 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9614 else
9615 ac_check_soname_save_LIBS=$LIBS
9616 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9617 cat >conftest.$ac_ext <<_ACEOF
9618 /* confdefs.h. */
9619 _ACEOF
9620 cat confdefs.h >>conftest.$ac_ext
9621 cat >>conftest.$ac_ext <<_ACEOF
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9627 #ifdef __cplusplus
9628 extern "C"
9629 #endif
9630 char XcursorImageLoadCursor ();
9632 main ()
9634 return XcursorImageLoadCursor ();
9636 return 0;
9638 _ACEOF
9639 rm -f conftest.$ac_objext conftest$ac_exeext
9640 if { (ac_try="$ac_link"
9641 case "(($ac_try" in
9642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9643 *) ac_try_echo=$ac_try;;
9644 esac
9645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9646 (eval "$ac_link") 2>conftest.er1
9647 ac_status=$?
9648 grep -v '^ *+' conftest.er1 >conftest.err
9649 rm -f conftest.er1
9650 cat conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); } && {
9653 test -z "$ac_c_werror_flag" ||
9654 test ! -s conftest.err
9655 } && test -s conftest$ac_exeext &&
9656 $as_test_x conftest$ac_exeext; then
9657 case "$LIBEXT" in
9658 dll) ;;
9659 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'` ;;
9660 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9661 esac
9662 else
9663 echo "$as_me: failed program was:" >&5
9664 sed 's/^/| /' conftest.$ac_ext >&5
9669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9670 conftest$ac_exeext conftest.$ac_ext
9671 LIBS=$ac_check_soname_save_LIBS
9673 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9674 { echo "$as_me:$LINENO: result: not found" >&5
9675 echo "${ECHO_T}not found" >&6; }
9677 else
9678 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9679 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9681 cat >>confdefs.h <<_ACEOF
9682 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9683 _ACEOF
9689 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9690 case "x$with_xcursor" in
9691 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9692 xno) ;;
9693 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9694 This is an error since --with-xcursor was requested." >&5
9695 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9696 This is an error since --with-xcursor was requested." >&2;}
9697 { (exit 1); exit 1; }; } ;;
9698 esac
9702 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9703 then
9704 { echo "$as_me:$LINENO: checking for -lXi" >&5
9705 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9706 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 else
9709 ac_check_soname_save_LIBS=$LIBS
9710 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9711 cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h. */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9718 /* Override any GCC internal prototype to avoid an error.
9719 Use char because int might match the return type of a GCC
9720 builtin and then its argument prototype would still apply. */
9721 #ifdef __cplusplus
9722 extern "C"
9723 #endif
9724 char XOpenDevice ();
9726 main ()
9728 return XOpenDevice ();
9730 return 0;
9732 _ACEOF
9733 rm -f conftest.$ac_objext conftest$ac_exeext
9734 if { (ac_try="$ac_link"
9735 case "(($ac_try" in
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9738 esac
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_link") 2>conftest.er1
9741 ac_status=$?
9742 grep -v '^ *+' conftest.er1 >conftest.err
9743 rm -f conftest.er1
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && {
9747 test -z "$ac_c_werror_flag" ||
9748 test ! -s conftest.err
9749 } && test -s conftest$ac_exeext &&
9750 $as_test_x conftest$ac_exeext; then
9751 case "$LIBEXT" in
9752 dll) ;;
9753 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'` ;;
9754 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9755 esac
9756 else
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.$ac_ext >&5
9763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9764 conftest$ac_exeext conftest.$ac_ext
9765 LIBS=$ac_check_soname_save_LIBS
9767 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9768 { echo "$as_me:$LINENO: result: not found" >&5
9769 echo "${ECHO_T}not found" >&6; }
9771 else
9772 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9773 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9775 cat >>confdefs.h <<_ACEOF
9776 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9777 _ACEOF
9783 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9784 case "x$with_xinput" in
9785 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9786 xno) ;;
9787 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9788 This is an error since --with-xinput was requested." >&5
9789 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9790 This is an error since --with-xinput was requested." >&2;}
9791 { (exit 1); exit 1; }; } ;;
9792 esac
9796 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9797 then
9798 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9799 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9800 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 else
9803 ac_check_lib_save_LIBS=$LIBS
9804 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9805 cat >conftest.$ac_ext <<_ACEOF
9806 /* confdefs.h. */
9807 _ACEOF
9808 cat confdefs.h >>conftest.$ac_ext
9809 cat >>conftest.$ac_ext <<_ACEOF
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9815 #ifdef __cplusplus
9816 extern "C"
9817 #endif
9818 char XShmQueryExtension ();
9820 main ()
9822 return XShmQueryExtension ();
9824 return 0;
9826 _ACEOF
9827 rm -f conftest.$ac_objext conftest$ac_exeext
9828 if { (ac_try="$ac_link"
9829 case "(($ac_try" in
9830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9831 *) ac_try_echo=$ac_try;;
9832 esac
9833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9834 (eval "$ac_link") 2>conftest.er1
9835 ac_status=$?
9836 grep -v '^ *+' conftest.er1 >conftest.err
9837 rm -f conftest.er1
9838 cat conftest.err >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } && {
9841 test -z "$ac_c_werror_flag" ||
9842 test ! -s conftest.err
9843 } && test -s conftest$ac_exeext &&
9844 $as_test_x conftest$ac_exeext; then
9845 ac_cv_lib_Xext_XShmQueryExtension=yes
9846 else
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 ac_cv_lib_Xext_XShmQueryExtension=no
9853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9858 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9859 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_LIBXXSHM 1
9863 _ACEOF
9868 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9869 case "x$with_xshm" in
9870 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9871 xno) ;;
9872 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9873 This is an error since --with-xshm was requested." >&5
9874 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9875 This is an error since --with-xshm was requested." >&2;}
9876 { (exit 1); exit 1; }; } ;;
9877 esac
9881 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9882 then
9883 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9884 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9885 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9886 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 else
9888 ac_check_lib_save_LIBS=$LIBS
9889 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9890 cat >conftest.$ac_ext <<_ACEOF
9891 /* confdefs.h. */
9892 _ACEOF
9893 cat confdefs.h >>conftest.$ac_ext
9894 cat >>conftest.$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XShapeQueryExtension ();
9905 main ()
9907 return XShapeQueryExtension ();
9909 return 0;
9911 _ACEOF
9912 rm -f conftest.$ac_objext conftest$ac_exeext
9913 if { (ac_try="$ac_link"
9914 case "(($ac_try" in
9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9917 esac
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_link") 2>conftest.er1
9920 ac_status=$?
9921 grep -v '^ *+' conftest.er1 >conftest.err
9922 rm -f conftest.er1
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } && {
9926 test -z "$ac_c_werror_flag" ||
9927 test ! -s conftest.err
9928 } && test -s conftest$ac_exeext &&
9929 $as_test_x conftest$ac_exeext; then
9930 ac_cv_lib_Xext_XShapeQueryExtension=yes
9931 else
9932 echo "$as_me: failed program was:" >&5
9933 sed 's/^/| /' conftest.$ac_ext >&5
9935 ac_cv_lib_Xext_XShapeQueryExtension=no
9938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_lib_save_LIBS
9942 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9943 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9944 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9946 cat >>confdefs.h <<\_ACEOF
9947 #define HAVE_LIBXSHAPE 1
9948 _ACEOF
9953 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9954 case "x$with_xshape" in
9955 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9956 xno) ;;
9957 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9958 This is an error since --with-xshape was requested." >&5
9959 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9960 This is an error since --with-xshape was requested." >&2;}
9961 { (exit 1); exit 1; }; } ;;
9962 esac
9966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9967 then
9968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9971 echo $ECHO_N "(cached) $ECHO_C" >&6
9972 else
9973 ac_check_lib_save_LIBS=$LIBS
9974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9975 cat >conftest.$ac_ext <<_ACEOF
9976 /* confdefs.h. */
9977 _ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9982 /* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
9985 #ifdef __cplusplus
9986 extern "C"
9987 #endif
9988 char XF86VidModeQueryExtension ();
9990 main ()
9992 return XF86VidModeQueryExtension ();
9994 return 0;
9996 _ACEOF
9997 rm -f conftest.$ac_objext conftest$ac_exeext
9998 if { (ac_try="$ac_link"
9999 case "(($ac_try" in
10000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10001 *) ac_try_echo=$ac_try;;
10002 esac
10003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10004 (eval "$ac_link") 2>conftest.er1
10005 ac_status=$?
10006 grep -v '^ *+' conftest.er1 >conftest.err
10007 rm -f conftest.er1
10008 cat conftest.err >&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } && {
10011 test -z "$ac_c_werror_flag" ||
10012 test ! -s conftest.err
10013 } && test -s conftest$ac_exeext &&
10014 $as_test_x conftest$ac_exeext; then
10015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10016 else
10017 echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.$ac_ext >&5
10020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_lib_save_LIBS
10027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10031 cat >>confdefs.h <<\_ACEOF
10032 #define HAVE_LIBXXF86VM 1
10033 _ACEOF
10035 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10040 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10041 case "x$with_xvidmode" in
10042 x) wine_notices="$wine_notices|libxxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10043 xno) ;;
10044 *) { { echo "$as_me:$LINENO: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10045 This is an error since --with-xvidmode was requested." >&5
10046 echo "$as_me: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10047 This is an error since --with-xvidmode was requested." >&2;}
10048 { (exit 1); exit 1; }; } ;;
10049 esac
10053 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"
10054 then
10055 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10056 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10057 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10059 else
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10062 cat >conftest.$ac_ext <<_ACEOF
10063 /* confdefs.h. */
10064 _ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XRenderQueryExtension ();
10077 main ()
10079 return XRenderQueryExtension ();
10081 return 0;
10083 _ACEOF
10084 rm -f conftest.$ac_objext conftest$ac_exeext
10085 if { (ac_try="$ac_link"
10086 case "(($ac_try" in
10087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10089 esac
10090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091 (eval "$ac_link") 2>conftest.er1
10092 ac_status=$?
10093 grep -v '^ *+' conftest.er1 >conftest.err
10094 rm -f conftest.er1
10095 cat conftest.err >&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } && {
10098 test -z "$ac_c_werror_flag" ||
10099 test ! -s conftest.err
10100 } && test -s conftest$ac_exeext &&
10101 $as_test_x conftest$ac_exeext; then
10102 case "$LIBEXT" in
10103 dll) ;;
10104 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'` ;;
10105 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10106 esac
10107 else
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.$ac_ext >&5
10114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10119 { echo "$as_me:$LINENO: result: not found" >&5
10120 echo "${ECHO_T}not found" >&6; }
10122 else
10123 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10124 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10126 cat >>confdefs.h <<_ACEOF
10127 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10128 _ACEOF
10130 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10131 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10132 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else
10135 ac_check_lib_save_LIBS=$LIBS
10136 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h. */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 char XRenderSetPictureTransform ();
10152 main ()
10154 return XRenderSetPictureTransform ();
10156 return 0;
10158 _ACEOF
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>conftest.er1
10167 ac_status=$?
10168 grep -v '^ *+' conftest.er1 >conftest.err
10169 rm -f conftest.er1
10170 cat conftest.err >&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest$ac_exeext &&
10176 $as_test_x conftest$ac_exeext; then
10177 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10178 else
10179 echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.$ac_ext >&5
10182 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_lib_save_LIBS
10189 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10190 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10191 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10193 cat >>confdefs.h <<\_ACEOF
10194 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10195 _ACEOF
10203 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10204 case "x$with_xrender" in
10205 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10206 xno) ;;
10207 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10208 This is an error since --with-xrender was requested." >&5
10209 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10210 This is an error since --with-xrender was requested." >&2;}
10211 { (exit 1); exit 1; }; } ;;
10212 esac
10216 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10217 then
10218 cat >conftest.$ac_ext <<_ACEOF
10219 /* confdefs.h. */
10220 _ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 #include <X11/Xlib.h>
10225 #include <X11/extensions/Xrandr.h>
10227 main ()
10229 static typeof(XRRSetScreenConfigAndRate) * func;
10231 return 0;
10233 _ACEOF
10234 rm -f conftest.$ac_objext
10235 if { (ac_try="$ac_compile"
10236 case "(($ac_try" in
10237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10238 *) ac_try_echo=$ac_try;;
10239 esac
10240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10241 (eval "$ac_compile") 2>conftest.er1
10242 ac_status=$?
10243 grep -v '^ *+' conftest.er1 >conftest.err
10244 rm -f conftest.er1
10245 cat conftest.err >&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); } && {
10248 test -z "$ac_c_werror_flag" ||
10249 test ! -s conftest.err
10250 } && test -s conftest.$ac_objext; then
10251 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10252 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10253 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 else
10256 ac_check_soname_save_LIBS=$LIBS
10257 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10258 cat >conftest.$ac_ext <<_ACEOF
10259 /* confdefs.h. */
10260 _ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char XRRQueryExtension ();
10273 main ()
10275 return XRRQueryExtension ();
10277 return 0;
10279 _ACEOF
10280 rm -f conftest.$ac_objext conftest$ac_exeext
10281 if { (ac_try="$ac_link"
10282 case "(($ac_try" in
10283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10284 *) ac_try_echo=$ac_try;;
10285 esac
10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10287 (eval "$ac_link") 2>conftest.er1
10288 ac_status=$?
10289 grep -v '^ *+' conftest.er1 >conftest.err
10290 rm -f conftest.er1
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && {
10294 test -z "$ac_c_werror_flag" ||
10295 test ! -s conftest.err
10296 } && test -s conftest$ac_exeext &&
10297 $as_test_x conftest$ac_exeext; then
10298 case "$LIBEXT" in
10299 dll) ;;
10300 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'` ;;
10301 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10302 esac
10303 else
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10311 conftest$ac_exeext conftest.$ac_ext
10312 LIBS=$ac_check_soname_save_LIBS
10314 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10315 { echo "$as_me:$LINENO: result: not found" >&5
10316 echo "${ECHO_T}not found" >&6; }
10318 else
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10320 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10322 cat >>confdefs.h <<_ACEOF
10323 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10324 _ACEOF
10329 else
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.$ac_ext >&5
10336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10338 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10339 case "x$with_xrandr" in
10340 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10341 xno) ;;
10342 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10343 This is an error since --with-xrandr was requested." >&5
10344 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10345 This is an error since --with-xrandr was requested." >&2;}
10346 { (exit 1); exit 1; }; } ;;
10347 esac
10351 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10352 then
10353 cat >conftest.$ac_ext <<_ACEOF
10354 /* confdefs.h. */
10355 _ACEOF
10356 cat confdefs.h >>conftest.$ac_ext
10357 cat >>conftest.$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xinerama.h>
10362 main ()
10364 static typeof(XineramaQueryScreens) * func;
10366 return 0;
10368 _ACEOF
10369 rm -f conftest.$ac_objext
10370 if { (ac_try="$ac_compile"
10371 case "(($ac_try" in
10372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10373 *) ac_try_echo=$ac_try;;
10374 esac
10375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10376 (eval "$ac_compile") 2>conftest.er1
10377 ac_status=$?
10378 grep -v '^ *+' conftest.er1 >conftest.err
10379 rm -f conftest.er1
10380 cat conftest.err >&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); } && {
10383 test -z "$ac_c_werror_flag" ||
10384 test ! -s conftest.err
10385 } && test -s conftest.$ac_objext; then
10386 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10387 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10388 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 else
10391 ac_check_soname_save_LIBS=$LIBS
10392 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10403 #ifdef __cplusplus
10404 extern "C"
10405 #endif
10406 char XineramaQueryScreens ();
10408 main ()
10410 return XineramaQueryScreens ();
10412 return 0;
10414 _ACEOF
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (ac_try="$ac_link"
10417 case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10420 esac
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_link") 2>conftest.er1
10423 ac_status=$?
10424 grep -v '^ *+' conftest.er1 >conftest.err
10425 rm -f conftest.er1
10426 cat conftest.err >&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } && {
10429 test -z "$ac_c_werror_flag" ||
10430 test ! -s conftest.err
10431 } && test -s conftest$ac_exeext &&
10432 $as_test_x conftest$ac_exeext; then
10433 case "$LIBEXT" in
10434 dll) ;;
10435 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'` ;;
10436 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10437 esac
10438 else
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_soname_save_LIBS
10449 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10450 { echo "$as_me:$LINENO: result: not found" >&5
10451 echo "${ECHO_T}not found" >&6; }
10453 else
10454 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10455 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10457 cat >>confdefs.h <<_ACEOF
10458 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10459 _ACEOF
10464 else
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.$ac_ext >&5
10471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10473 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10474 case "x$with_xinerama" in
10475 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10476 xno) ;;
10477 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10478 This is an error since --with-xinerama was requested." >&5
10479 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10480 This is an error since --with-xinerama was requested." >&2;}
10481 { (exit 1); exit 1; }; } ;;
10482 esac
10486 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10487 then
10488 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10489 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10490 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10491 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 else
10493 ac_check_soname_save_LIBS=$LIBS
10494 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10495 cat >conftest.$ac_ext <<_ACEOF
10496 /* confdefs.h. */
10497 _ACEOF
10498 cat confdefs.h >>conftest.$ac_ext
10499 cat >>conftest.$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10502 /* Override any GCC internal prototype to avoid an error.
10503 Use char because int might match the return type of a GCC
10504 builtin and then its argument prototype would still apply. */
10505 #ifdef __cplusplus
10506 extern "C"
10507 #endif
10508 char XCompositeRedirectWindow ();
10510 main ()
10512 return XCompositeRedirectWindow ();
10514 return 0;
10516 _ACEOF
10517 rm -f conftest.$ac_objext conftest$ac_exeext
10518 if { (ac_try="$ac_link"
10519 case "(($ac_try" in
10520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10521 *) ac_try_echo=$ac_try;;
10522 esac
10523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10524 (eval "$ac_link") 2>conftest.er1
10525 ac_status=$?
10526 grep -v '^ *+' conftest.er1 >conftest.err
10527 rm -f conftest.er1
10528 cat conftest.err >&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } && {
10531 test -z "$ac_c_werror_flag" ||
10532 test ! -s conftest.err
10533 } && test -s conftest$ac_exeext &&
10534 $as_test_x conftest$ac_exeext; then
10535 case "$LIBEXT" in
10536 dll) ;;
10537 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10538 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10539 esac
10540 else
10541 echo "$as_me: failed program was:" >&5
10542 sed 's/^/| /' conftest.$ac_ext >&5
10547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_soname_save_LIBS
10551 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10552 { echo "$as_me:$LINENO: result: not found" >&5
10553 echo "${ECHO_T}not found" >&6; }
10555 else
10556 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10557 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10559 cat >>confdefs.h <<_ACEOF
10560 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10561 _ACEOF
10567 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10568 case "x$with_xcomposite" in
10569 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10570 xno) ;;
10571 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10572 This is an error since --with-xcomposite was requested." >&5
10573 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10574 This is an error since --with-xcomposite was requested." >&2;}
10575 { (exit 1); exit 1; }; } ;;
10576 esac
10581 opengl_msg=""
10582 if test "x$with_opengl" != "xno"
10583 then
10588 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 else
10596 cat >conftest.$ac_ext <<_ACEOF
10597 /* confdefs.h. */
10598 _ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602 #ifdef HAVE_GL_GLX_H
10603 # include <GL/glx.h>
10604 #endif
10606 #include <$ac_header>
10607 _ACEOF
10608 rm -f conftest.$ac_objext
10609 if { (ac_try="$ac_compile"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10613 esac
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_compile") 2>conftest.er1
10616 ac_status=$?
10617 grep -v '^ *+' conftest.er1 >conftest.err
10618 rm -f conftest.er1
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } && {
10622 test -z "$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 } && test -s conftest.$ac_objext; then
10625 eval "$as_ac_Header=yes"
10626 else
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 eval "$as_ac_Header=no"
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10635 ac_res=`eval echo '${'$as_ac_Header'}'`
10636 { echo "$as_me:$LINENO: result: $ac_res" >&5
10637 echo "${ECHO_T}$ac_res" >&6; }
10638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10639 cat >>confdefs.h <<_ACEOF
10640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10641 _ACEOF
10645 done
10647 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10648 then
10649 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10650 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10651 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 else
10654 cat >conftest.$ac_ext <<_ACEOF
10655 /* confdefs.h. */
10656 _ACEOF
10657 cat confdefs.h >>conftest.$ac_ext
10658 cat >>conftest.$ac_ext <<_ACEOF
10659 /* end confdefs.h. */
10660 #include <GL/gl.h>
10662 main ()
10664 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10666 return 0;
10668 _ACEOF
10669 rm -f conftest.$ac_objext
10670 if { (ac_try="$ac_compile"
10671 case "(($ac_try" in
10672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10673 *) ac_try_echo=$ac_try;;
10674 esac
10675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10676 (eval "$ac_compile") 2>conftest.er1
10677 ac_status=$?
10678 grep -v '^ *+' conftest.er1 >conftest.err
10679 rm -f conftest.er1
10680 cat conftest.err >&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); } && {
10683 test -z "$ac_c_werror_flag" ||
10684 test ! -s conftest.err
10685 } && test -s conftest.$ac_objext; then
10686 wine_cv_opengl_header_version_OK="yes"
10687 else
10688 echo "$as_me: failed program was:" >&5
10689 sed 's/^/| /' conftest.$ac_ext >&5
10691 wine_cv_opengl_header_version_OK="no"
10694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10696 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10697 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10699 if test "$wine_cv_opengl_header_version_OK" = "yes"
10700 then
10701 { echo "$as_me:$LINENO: checking for -lGL" >&5
10702 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_soname_GL+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 else
10706 ac_check_soname_save_LIBS=$LIBS
10707 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char glXCreateContext ();
10723 main ()
10725 return glXCreateContext ();
10727 return 0;
10729 _ACEOF
10730 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (ac_try="$ac_link"
10732 case "(($ac_try" in
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10735 esac
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10738 ac_status=$?
10739 grep -v '^ *+' conftest.er1 >conftest.err
10740 rm -f conftest.er1
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest$ac_exeext &&
10747 $as_test_x conftest$ac_exeext; then
10748 case "$LIBEXT" in
10749 dll) ;;
10750 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'` ;;
10751 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10752 esac
10753 else
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if test "x$ac_cv_lib_soname_GL" = "x"; then
10765 { echo "$as_me:$LINENO: result: not found" >&5
10766 echo "${ECHO_T}not found" >&6; }
10767 { echo "$as_me:$LINENO: checking for -lGL" >&5
10768 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10769 if test "${ac_cv_lib_soname_GL+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 else
10772 ac_check_soname_save_LIBS=$LIBS
10773 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10774 cat >conftest.$ac_ext <<_ACEOF
10775 /* confdefs.h. */
10776 _ACEOF
10777 cat confdefs.h >>conftest.$ac_ext
10778 cat >>conftest.$ac_ext <<_ACEOF
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10784 #ifdef __cplusplus
10785 extern "C"
10786 #endif
10787 char glXCreateContext ();
10789 main ()
10791 return glXCreateContext ();
10793 return 0;
10795 _ACEOF
10796 rm -f conftest.$ac_objext conftest$ac_exeext
10797 if { (ac_try="$ac_link"
10798 case "(($ac_try" in
10799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800 *) ac_try_echo=$ac_try;;
10801 esac
10802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803 (eval "$ac_link") 2>conftest.er1
10804 ac_status=$?
10805 grep -v '^ *+' conftest.er1 >conftest.err
10806 rm -f conftest.er1
10807 cat conftest.err >&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); } && {
10810 test -z "$ac_c_werror_flag" ||
10811 test ! -s conftest.err
10812 } && test -s conftest$ac_exeext &&
10813 $as_test_x conftest$ac_exeext; then
10814 case "$LIBEXT" in
10815 dll) ;;
10816 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'` ;;
10817 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10818 esac
10819 else
10820 echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.$ac_ext >&5
10826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_soname_save_LIBS
10830 if test "x$ac_cv_lib_soname_GL" = "x"; then
10831 { echo "$as_me:$LINENO: result: not found" >&5
10832 echo "${ECHO_T}not found" >&6; }
10833 if test -f /usr/X11R6/lib/libGL.a
10834 then
10835 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10836 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10837 else
10838 opengl_msg="No OpenGL library found on this system."
10840 else
10841 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10842 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10844 cat >>confdefs.h <<_ACEOF
10845 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10846 _ACEOF
10848 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10849 OPENGLFILES='$(OPENGLFILES)'
10851 cat >>confdefs.h <<\_ACEOF
10852 #define HAVE_OPENGL 1
10853 _ACEOF
10857 else
10858 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10859 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10861 cat >>confdefs.h <<_ACEOF
10862 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10863 _ACEOF
10865 OPENGL_LIBS="-lGL"
10866 OPENGLFILES='$(OPENGLFILES)'
10868 cat >>confdefs.h <<\_ACEOF
10869 #define HAVE_OPENGL 1
10870 _ACEOF
10875 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10876 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10877 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_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 gluLookAt ();
10897 main ()
10899 return gluLookAt ();
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_GLU_gluLookAt=yes
10923 else
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.$ac_ext >&5
10927 ac_cv_lib_GLU_gluLookAt=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_GLU_gluLookAt" >&5
10935 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10936 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10937 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10938 GLU32FILES='$(GLU32FILES)'
10942 else
10943 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10945 else
10946 opengl_msg="OpenGL development headers not found."
10949 if test -n "$opengl_msg"; then
10950 case "x$with_opengl" in
10951 x) wine_warnings="$wine_warnings|$opengl_msg
10952 OpenGL and Direct3D won't be supported." ;;
10953 xno) ;;
10954 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10955 OpenGL and Direct3D won't be supported.
10956 This is an error since --with-opengl was requested." >&5
10957 echo "$as_me: error: $opengl_msg
10958 OpenGL and Direct3D won't be supported.
10959 This is an error since --with-opengl was requested." >&2;}
10960 { (exit 1); exit 1; }; } ;;
10961 esac
10965 NASLIBS=""
10968 for ac_header in audio/audiolib.h
10970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 ac_res=`eval echo '${'$as_ac_Header'}'`
10978 { echo "$as_me:$LINENO: result: $ac_res" >&5
10979 echo "${ECHO_T}$ac_res" >&6; }
10980 else
10981 # Is the header compilable?
10982 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10984 cat >conftest.$ac_ext <<_ACEOF
10985 /* confdefs.h. */
10986 _ACEOF
10987 cat confdefs.h >>conftest.$ac_ext
10988 cat >>conftest.$ac_ext <<_ACEOF
10989 /* end confdefs.h. */
10990 $ac_includes_default
10991 #include <$ac_header>
10992 _ACEOF
10993 rm -f conftest.$ac_objext
10994 if { (ac_try="$ac_compile"
10995 case "(($ac_try" in
10996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10997 *) ac_try_echo=$ac_try;;
10998 esac
10999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11000 (eval "$ac_compile") 2>conftest.er1
11001 ac_status=$?
11002 grep -v '^ *+' conftest.er1 >conftest.err
11003 rm -f conftest.er1
11004 cat conftest.err >&5
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); } && {
11007 test -z "$ac_c_werror_flag" ||
11008 test ! -s conftest.err
11009 } && test -s conftest.$ac_objext; then
11010 ac_header_compiler=yes
11011 else
11012 echo "$as_me: failed program was:" >&5
11013 sed 's/^/| /' conftest.$ac_ext >&5
11015 ac_header_compiler=no
11018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11020 echo "${ECHO_T}$ac_header_compiler" >&6; }
11022 # Is the header present?
11023 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11025 cat >conftest.$ac_ext <<_ACEOF
11026 /* confdefs.h. */
11027 _ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11031 #include <$ac_header>
11032 _ACEOF
11033 if { (ac_try="$ac_cpp conftest.$ac_ext"
11034 case "(($ac_try" in
11035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036 *) ac_try_echo=$ac_try;;
11037 esac
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11040 ac_status=$?
11041 grep -v '^ *+' conftest.er1 >conftest.err
11042 rm -f conftest.er1
11043 cat conftest.err >&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } >/dev/null && {
11046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11047 test ! -s conftest.err
11048 }; then
11049 ac_header_preproc=yes
11050 else
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.$ac_ext >&5
11054 ac_header_preproc=no
11057 rm -f conftest.err conftest.$ac_ext
11058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11059 echo "${ECHO_T}$ac_header_preproc" >&6; }
11061 # So? What about this header?
11062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11063 yes:no: )
11064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11068 ac_header_preproc=yes
11070 no:yes:* )
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11083 ( cat <<\_ASBOX
11084 ## ------------------------------------ ##
11085 ## Report this to wine-devel@winehq.org ##
11086 ## ------------------------------------ ##
11087 _ASBOX
11088 ) | sed "s/^/$as_me: WARNING: /" >&2
11090 esac
11091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11094 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 else
11096 eval "$as_ac_Header=\$ac_header_preproc"
11098 ac_res=`eval echo '${'$as_ac_Header'}'`
11099 { echo "$as_me:$LINENO: result: $ac_res" >&5
11100 echo "${ECHO_T}$ac_res" >&6; }
11103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11104 cat >>confdefs.h <<_ACEOF
11105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11106 _ACEOF
11108 for ac_header in audio/soundlib.h
11110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else
11116 cat >conftest.$ac_ext <<_ACEOF
11117 /* confdefs.h. */
11118 _ACEOF
11119 cat confdefs.h >>conftest.$ac_ext
11120 cat >>conftest.$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11122 #include <audio/audiolib.h>
11124 #include <$ac_header>
11125 _ACEOF
11126 rm -f conftest.$ac_objext
11127 if { (ac_try="$ac_compile"
11128 case "(($ac_try" in
11129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11131 esac
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_compile") 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && {
11140 test -z "$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 } && test -s conftest.$ac_objext; then
11143 eval "$as_ac_Header=yes"
11144 else
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 eval "$as_ac_Header=no"
11151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11153 ac_res=`eval echo '${'$as_ac_Header'}'`
11154 { echo "$as_me:$LINENO: result: $ac_res" >&5
11155 echo "${ECHO_T}$ac_res" >&6; }
11156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11157 cat >>confdefs.h <<_ACEOF
11158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11159 _ACEOF
11163 done
11165 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11166 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11167 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11172 cat >conftest.$ac_ext <<_ACEOF
11173 /* confdefs.h. */
11174 _ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char AuCreateFlow ();
11187 main ()
11189 return AuCreateFlow ();
11191 return 0;
11193 _ACEOF
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (ac_try="$ac_link"
11196 case "(($ac_try" in
11197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11198 *) ac_try_echo=$ac_try;;
11199 esac
11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_link") 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest$ac_exeext &&
11211 $as_test_x conftest$ac_exeext; then
11212 ac_cv_lib_audio_AuCreateFlow=yes
11213 else
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_cv_lib_audio_AuCreateFlow=no
11220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11225 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11226 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11228 cat >>confdefs.h <<\_ACEOF
11229 #define HAVE_NAS 1
11230 _ACEOF
11232 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11233 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11234 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lXau $X_LIBS $LIBS"
11239 cat >conftest.$ac_ext <<_ACEOF
11240 /* confdefs.h. */
11241 _ACEOF
11242 cat confdefs.h >>conftest.$ac_ext
11243 cat >>conftest.$ac_ext <<_ACEOF
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char XauGetBestAuthByAddr ();
11254 main ()
11256 return XauGetBestAuthByAddr ();
11258 return 0;
11260 _ACEOF
11261 rm -f conftest.$ac_objext conftest$ac_exeext
11262 if { (ac_try="$ac_link"
11263 case "(($ac_try" in
11264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11265 *) ac_try_echo=$ac_try;;
11266 esac
11267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11268 (eval "$ac_link") 2>conftest.er1
11269 ac_status=$?
11270 grep -v '^ *+' conftest.er1 >conftest.err
11271 rm -f conftest.er1
11272 cat conftest.err >&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } && {
11275 test -z "$ac_c_werror_flag" ||
11276 test ! -s conftest.err
11277 } && test -s conftest$ac_exeext &&
11278 $as_test_x conftest$ac_exeext; then
11279 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11280 else
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.$ac_ext >&5
11284 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11292 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11293 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11294 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11295 else
11296 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11304 done
11307 CPPFLAGS="$ac_save_CPPFLAGS"
11308 XFILES='$(XFILES)'
11309 else
11310 XLIB=""
11311 X_CFLAGS=""
11312 X_LIBS=""
11314 if test "x$XLIB" = "x"; then
11315 case "x$with_x" in
11316 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11317 without X support, which probably isn't what you want. You will need to install
11318 development packages of Xlib/Xfree86 at the very least." ;;
11319 xno) ;;
11320 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11321 without X support, which probably isn't what you want. You will need to install
11322 development packages of Xlib/Xfree86 at the very least.
11323 This is an error since --with-x was requested." >&5
11324 echo "$as_me: error: X development files not found. Wine will be built
11325 without X support, which probably isn't what you want. You will need to install
11326 development packages of Xlib/Xfree86 at the very least.
11327 This is an error since --with-x was requested." >&2;}
11328 { (exit 1); exit 1; }; } ;;
11329 esac
11334 XML2LIBS=""
11336 XML2INCL=""
11338 XSLTLIBS=""
11340 XSLTINCL=""
11342 if test "x$with_xml" != "xno"
11343 then
11344 ac_save_CPPFLAGS="$CPPFLAGS"
11345 if test "$PKG_CONFIG" != "false"
11346 then
11347 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11348 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11349 else
11350 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11351 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11353 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11355 for ac_header in libxml/parser.h
11357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 ac_res=`eval echo '${'$as_ac_Header'}'`
11365 { echo "$as_me:$LINENO: result: $ac_res" >&5
11366 echo "${ECHO_T}$ac_res" >&6; }
11367 else
11368 # Is the header compilable?
11369 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11371 cat >conftest.$ac_ext <<_ACEOF
11372 /* confdefs.h. */
11373 _ACEOF
11374 cat confdefs.h >>conftest.$ac_ext
11375 cat >>conftest.$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11377 $ac_includes_default
11378 #include <$ac_header>
11379 _ACEOF
11380 rm -f conftest.$ac_objext
11381 if { (ac_try="$ac_compile"
11382 case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11385 esac
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_compile") 2>conftest.er1
11388 ac_status=$?
11389 grep -v '^ *+' conftest.er1 >conftest.err
11390 rm -f conftest.er1
11391 cat conftest.err >&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); } && {
11394 test -z "$ac_c_werror_flag" ||
11395 test ! -s conftest.err
11396 } && test -s conftest.$ac_objext; then
11397 ac_header_compiler=yes
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 ac_header_compiler=no
11405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11406 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11407 echo "${ECHO_T}$ac_header_compiler" >&6; }
11409 # Is the header present?
11410 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11412 cat >conftest.$ac_ext <<_ACEOF
11413 /* confdefs.h. */
11414 _ACEOF
11415 cat confdefs.h >>conftest.$ac_ext
11416 cat >>conftest.$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11418 #include <$ac_header>
11419 _ACEOF
11420 if { (ac_try="$ac_cpp conftest.$ac_ext"
11421 case "(($ac_try" in
11422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11423 *) ac_try_echo=$ac_try;;
11424 esac
11425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11426 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11427 ac_status=$?
11428 grep -v '^ *+' conftest.er1 >conftest.err
11429 rm -f conftest.er1
11430 cat conftest.err >&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); } >/dev/null && {
11433 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11434 test ! -s conftest.err
11435 }; then
11436 ac_header_preproc=yes
11437 else
11438 echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.$ac_ext >&5
11441 ac_header_preproc=no
11444 rm -f conftest.err conftest.$ac_ext
11445 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11446 echo "${ECHO_T}$ac_header_preproc" >&6; }
11448 # So? What about this header?
11449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11450 yes:no: )
11451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11455 ac_header_preproc=yes
11457 no:yes:* )
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11470 ( cat <<\_ASBOX
11471 ## ------------------------------------ ##
11472 ## Report this to wine-devel@winehq.org ##
11473 ## ------------------------------------ ##
11474 _ASBOX
11475 ) | sed "s/^/$as_me: WARNING: /" >&2
11477 esac
11478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 else
11483 eval "$as_ac_Header=\$ac_header_preproc"
11485 ac_res=`eval echo '${'$as_ac_Header'}'`
11486 { echo "$as_me:$LINENO: result: $ac_res" >&5
11487 echo "${ECHO_T}$ac_res" >&6; }
11490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11491 cat >>confdefs.h <<_ACEOF
11492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11493 _ACEOF
11494 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11495 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11496 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499 ac_check_lib_save_LIBS=$LIBS
11500 LIBS="-lxml2 $ac_xml_libs $LIBS"
11501 cat >conftest.$ac_ext <<_ACEOF
11502 /* confdefs.h. */
11503 _ACEOF
11504 cat confdefs.h >>conftest.$ac_ext
11505 cat >>conftest.$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char xmlParseMemory ();
11516 main ()
11518 return xmlParseMemory ();
11520 return 0;
11522 _ACEOF
11523 rm -f conftest.$ac_objext conftest$ac_exeext
11524 if { (ac_try="$ac_link"
11525 case "(($ac_try" in
11526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11527 *) ac_try_echo=$ac_try;;
11528 esac
11529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11530 (eval "$ac_link") 2>conftest.er1
11531 ac_status=$?
11532 grep -v '^ *+' conftest.er1 >conftest.err
11533 rm -f conftest.er1
11534 cat conftest.err >&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } && {
11537 test -z "$ac_c_werror_flag" ||
11538 test ! -s conftest.err
11539 } && test -s conftest$ac_exeext &&
11540 $as_test_x conftest$ac_exeext; then
11541 ac_cv_lib_xml2_xmlParseMemory=yes
11542 else
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.$ac_ext >&5
11546 ac_cv_lib_xml2_xmlParseMemory=no
11549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11554 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11555 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11557 cat >>confdefs.h <<\_ACEOF
11558 #define HAVE_LIBXML2 1
11559 _ACEOF
11561 XML2LIBS="$ac_xml_libs"
11562 XML2INCL="$ac_xml_cflags"
11565 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11566 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11567 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lxml2 $ac_xml_libs $LIBS"
11572 cat >conftest.$ac_ext <<_ACEOF
11573 /* confdefs.h. */
11574 _ACEOF
11575 cat confdefs.h >>conftest.$ac_ext
11576 cat >>conftest.$ac_ext <<_ACEOF
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char xmlReadMemory ();
11587 main ()
11589 return xmlReadMemory ();
11591 return 0;
11593 _ACEOF
11594 rm -f conftest.$ac_objext conftest$ac_exeext
11595 if { (ac_try="$ac_link"
11596 case "(($ac_try" in
11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11599 esac
11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 (eval "$ac_link") 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } && {
11608 test -z "$ac_c_werror_flag" ||
11609 test ! -s conftest.err
11610 } && test -s conftest$ac_exeext &&
11611 $as_test_x conftest$ac_exeext; then
11612 ac_cv_lib_xml2_xmlReadMemory=yes
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ac_cv_lib_xml2_xmlReadMemory=no
11620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_lib_save_LIBS
11624 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11625 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11626 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11628 cat >>confdefs.h <<\_ACEOF
11629 #define HAVE_XMLREADMEMORY 1
11630 _ACEOF
11634 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11635 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11636 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 else
11639 ac_check_lib_save_LIBS=$LIBS
11640 LIBS="-lxml2 $ac_xml_libs $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 xmlNewDocPI ();
11656 main ()
11658 return xmlNewDocPI ();
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 ac_cv_lib_xml2_xmlNewDocPI=yes
11682 else
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.$ac_ext >&5
11686 ac_cv_lib_xml2_xmlNewDocPI=no
11689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11690 conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11693 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11694 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11695 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11697 cat >>confdefs.h <<\_ACEOF
11698 #define HAVE_XMLNEWDOCPI 1
11699 _ACEOF
11706 done
11708 CPPFLAGS="$ac_save_CPPFLAGS"
11710 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11711 case "x$with_xml" in
11712 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11713 xno) ;;
11714 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11715 This is an error since --with-xml was requested." >&5
11716 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11717 This is an error since --with-xml was requested." >&2;}
11718 { (exit 1); exit 1; }; } ;;
11719 esac
11723 if test "x$with_xslt" != "xno"
11724 then
11725 if test "$PKG_CONFIG" != "false"
11726 then
11727 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11728 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11729 else
11730 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11731 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11733 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11736 for ac_header in libxslt/pattern.h libxslt/transform.h
11738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11739 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11741 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 else
11744 cat >conftest.$ac_ext <<_ACEOF
11745 /* confdefs.h. */
11746 _ACEOF
11747 cat confdefs.h >>conftest.$ac_ext
11748 cat >>conftest.$ac_ext <<_ACEOF
11749 /* end confdefs.h. */
11750 #ifdef HAVE_LIBXSLT_PATTERN_H
11751 # include <libxslt/pattern.h>
11752 #endif
11754 #include <$ac_header>
11755 _ACEOF
11756 rm -f conftest.$ac_objext
11757 if { (ac_try="$ac_compile"
11758 case "(($ac_try" in
11759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11760 *) ac_try_echo=$ac_try;;
11761 esac
11762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11763 (eval "$ac_compile") 2>conftest.er1
11764 ac_status=$?
11765 grep -v '^ *+' conftest.er1 >conftest.err
11766 rm -f conftest.er1
11767 cat conftest.err >&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } && {
11770 test -z "$ac_c_werror_flag" ||
11771 test ! -s conftest.err
11772 } && test -s conftest.$ac_objext; then
11773 eval "$as_ac_Header=yes"
11774 else
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11778 eval "$as_ac_Header=no"
11781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11783 ac_res=`eval echo '${'$as_ac_Header'}'`
11784 { echo "$as_me:$LINENO: result: $ac_res" >&5
11785 echo "${ECHO_T}$ac_res" >&6; }
11786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11787 cat >>confdefs.h <<_ACEOF
11788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11789 _ACEOF
11790 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11791 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11792 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 else
11795 ac_check_lib_save_LIBS=$LIBS
11796 LIBS="-lxslt $ac_xslt_libs $LIBS"
11797 cat >conftest.$ac_ext <<_ACEOF
11798 /* confdefs.h. */
11799 _ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char xsltCompilePattern ();
11812 main ()
11814 return xsltCompilePattern ();
11816 return 0;
11818 _ACEOF
11819 rm -f conftest.$ac_objext conftest$ac_exeext
11820 if { (ac_try="$ac_link"
11821 case "(($ac_try" in
11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 *) ac_try_echo=$ac_try;;
11824 esac
11825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 (eval "$ac_link") 2>conftest.er1
11827 ac_status=$?
11828 grep -v '^ *+' conftest.er1 >conftest.err
11829 rm -f conftest.er1
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } && {
11833 test -z "$ac_c_werror_flag" ||
11834 test ! -s conftest.err
11835 } && test -s conftest$ac_exeext &&
11836 $as_test_x conftest$ac_exeext; then
11837 ac_cv_lib_xslt_xsltCompilePattern=yes
11838 else
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.$ac_ext >&5
11842 ac_cv_lib_xslt_xsltCompilePattern=no
11845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11849 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11850 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11851 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11853 cat >>confdefs.h <<\_ACEOF
11854 #define HAVE_LIBXSLT 1
11855 _ACEOF
11857 XSLTLIBS="$ac_xslt_libs"
11858 XSLTINCL="$ac_xslt_cflags"
11864 done
11866 CPPFLAGS="$ac_save_CPPFLAGS"
11868 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11869 case "x$with_xslt" in
11870 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11871 xno) ;;
11872 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11873 This is an error since --with-xslt was requested." >&5
11874 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11875 This is an error since --with-xslt was requested." >&2;}
11876 { (exit 1); exit 1; }; } ;;
11877 esac
11881 HALINCL=""
11883 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11884 then
11885 ac_save_CPPFLAGS="$CPPFLAGS"
11886 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11887 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11888 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11891 for ac_header in dbus/dbus.h hal/libhal.h
11893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 ac_res=`eval echo '${'$as_ac_Header'}'`
11901 { echo "$as_me:$LINENO: result: $ac_res" >&5
11902 echo "${ECHO_T}$ac_res" >&6; }
11903 else
11904 # Is the header compilable?
11905 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11907 cat >conftest.$ac_ext <<_ACEOF
11908 /* confdefs.h. */
11909 _ACEOF
11910 cat confdefs.h >>conftest.$ac_ext
11911 cat >>conftest.$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11913 $ac_includes_default
11914 #include <$ac_header>
11915 _ACEOF
11916 rm -f conftest.$ac_objext
11917 if { (ac_try="$ac_compile"
11918 case "(($ac_try" in
11919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11920 *) ac_try_echo=$ac_try;;
11921 esac
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11923 (eval "$ac_compile") 2>conftest.er1
11924 ac_status=$?
11925 grep -v '^ *+' conftest.er1 >conftest.err
11926 rm -f conftest.er1
11927 cat conftest.err >&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } && {
11930 test -z "$ac_c_werror_flag" ||
11931 test ! -s conftest.err
11932 } && test -s conftest.$ac_objext; then
11933 ac_header_compiler=yes
11934 else
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 ac_header_compiler=no
11941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11942 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11943 echo "${ECHO_T}$ac_header_compiler" >&6; }
11945 # Is the header present?
11946 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #include <$ac_header>
11955 _ACEOF
11956 if { (ac_try="$ac_cpp conftest.$ac_ext"
11957 case "(($ac_try" in
11958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11959 *) ac_try_echo=$ac_try;;
11960 esac
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } >/dev/null && {
11969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11970 test ! -s conftest.err
11971 }; then
11972 ac_header_preproc=yes
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11977 ac_header_preproc=no
11980 rm -f conftest.err conftest.$ac_ext
11981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11982 echo "${ECHO_T}$ac_header_preproc" >&6; }
11984 # So? What about this header?
11985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11986 yes:no: )
11987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11991 ac_header_preproc=yes
11993 no:yes:* )
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12006 ( cat <<\_ASBOX
12007 ## ------------------------------------ ##
12008 ## Report this to wine-devel@winehq.org ##
12009 ## ------------------------------------ ##
12010 _ASBOX
12011 ) | sed "s/^/$as_me: WARNING: /" >&2
12013 esac
12014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019 eval "$as_ac_Header=\$ac_header_preproc"
12021 ac_res=`eval echo '${'$as_ac_Header'}'`
12022 { echo "$as_me:$LINENO: result: $ac_res" >&5
12023 echo "${ECHO_T}$ac_res" >&6; }
12026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12027 cat >>confdefs.h <<_ACEOF
12028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12029 _ACEOF
12033 done
12035 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12036 then
12037 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12038 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12039 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12044 cat >conftest.$ac_ext <<_ACEOF
12045 /* confdefs.h. */
12046 _ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char dbus_connection_close ();
12059 main ()
12061 return dbus_connection_close ();
12063 return 0;
12065 _ACEOF
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (ac_try="$ac_link"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_link") 2>conftest.er1
12074 ac_status=$?
12075 grep -v '^ *+' conftest.er1 >conftest.err
12076 rm -f conftest.er1
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } && {
12080 test -z "$ac_c_werror_flag" ||
12081 test ! -s conftest.err
12082 } && test -s conftest$ac_exeext &&
12083 $as_test_x conftest$ac_exeext; then
12084 ac_cv_lib_dbus_1_dbus_connection_close=yes
12085 else
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12089 ac_cv_lib_dbus_1_dbus_connection_close=no
12092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12097 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12098 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12099 { echo "$as_me:$LINENO: checking for -lhal" >&5
12100 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12101 if test "${ac_cv_lib_soname_hal+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 else
12104 ac_check_soname_save_LIBS=$LIBS
12105 LIBS="-lhal $ac_hal_libs $LIBS"
12106 cat >conftest.$ac_ext <<_ACEOF
12107 /* confdefs.h. */
12108 _ACEOF
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char libhal_ctx_new ();
12121 main ()
12123 return libhal_ctx_new ();
12125 return 0;
12127 _ACEOF
12128 rm -f conftest.$ac_objext conftest$ac_exeext
12129 if { (ac_try="$ac_link"
12130 case "(($ac_try" in
12131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12132 *) ac_try_echo=$ac_try;;
12133 esac
12134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12135 (eval "$ac_link") 2>conftest.er1
12136 ac_status=$?
12137 grep -v '^ *+' conftest.er1 >conftest.err
12138 rm -f conftest.er1
12139 cat conftest.err >&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } && {
12142 test -z "$ac_c_werror_flag" ||
12143 test ! -s conftest.err
12144 } && test -s conftest$ac_exeext &&
12145 $as_test_x conftest$ac_exeext; then
12146 case "$LIBEXT" in
12147 dll) ;;
12148 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'` ;;
12149 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12150 esac
12151 else
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.$ac_ext >&5
12158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12159 conftest$ac_exeext conftest.$ac_ext
12160 LIBS=$ac_check_soname_save_LIBS
12162 if test "x$ac_cv_lib_soname_hal" = "x"; then
12163 { echo "$as_me:$LINENO: result: not found" >&5
12164 echo "${ECHO_T}not found" >&6; }
12166 else
12167 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12168 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12170 cat >>confdefs.h <<_ACEOF
12171 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12172 _ACEOF
12174 HALINCL="$ac_hal_cflags"
12180 CPPFLAGS="$ac_save_CPPFLAGS"
12182 if test "x$ac_cv_lib_soname_hal" = "x"; then
12183 case "x$with_hal" in
12184 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12185 xno) ;;
12186 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12187 This is an error since --with-hal was requested." >&5
12188 echo "$as_me: error: libhal development files not found, no dynamic device support.
12189 This is an error since --with-hal was requested." >&2;}
12190 { (exit 1); exit 1; }; } ;;
12191 esac
12195 CURSESLIBS=""
12196 if test "$ac_cv_header_ncurses_h" = "yes"
12197 then
12198 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12199 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12200 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12202 else
12203 ac_check_soname_save_LIBS=$LIBS
12204 LIBS="-lncurses $LIBS"
12205 cat >conftest.$ac_ext <<_ACEOF
12206 /* confdefs.h. */
12207 _ACEOF
12208 cat confdefs.h >>conftest.$ac_ext
12209 cat >>conftest.$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char waddch ();
12220 main ()
12222 return waddch ();
12224 return 0;
12226 _ACEOF
12227 rm -f conftest.$ac_objext conftest$ac_exeext
12228 if { (ac_try="$ac_link"
12229 case "(($ac_try" in
12230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12231 *) ac_try_echo=$ac_try;;
12232 esac
12233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12234 (eval "$ac_link") 2>conftest.er1
12235 ac_status=$?
12236 grep -v '^ *+' conftest.er1 >conftest.err
12237 rm -f conftest.er1
12238 cat conftest.err >&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } && {
12241 test -z "$ac_c_werror_flag" ||
12242 test ! -s conftest.err
12243 } && test -s conftest$ac_exeext &&
12244 $as_test_x conftest$ac_exeext; then
12245 case "$LIBEXT" in
12246 dll) ;;
12247 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'` ;;
12248 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12249 esac
12250 else
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.$ac_ext >&5
12257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12258 conftest$ac_exeext conftest.$ac_ext
12259 LIBS=$ac_check_soname_save_LIBS
12261 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12262 { echo "$as_me:$LINENO: result: not found" >&5
12263 echo "${ECHO_T}not found" >&6; }
12265 else
12266 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12267 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12269 cat >>confdefs.h <<_ACEOF
12270 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12271 _ACEOF
12273 CURSESLIBS="-lncurses"
12276 elif test "$ac_cv_header_curses_h" = "yes"
12277 then
12278 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12279 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12280 if test "${ac_cv_lib_soname_curses+set}" = set; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 LIBS="-lcurses $LIBS"
12285 cat >conftest.$ac_ext <<_ACEOF
12286 /* confdefs.h. */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char waddch ();
12300 main ()
12302 return waddch ();
12304 return 0;
12306 _ACEOF
12307 rm -f conftest.$ac_objext conftest$ac_exeext
12308 if { (ac_try="$ac_link"
12309 case "(($ac_try" in
12310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12311 *) ac_try_echo=$ac_try;;
12312 esac
12313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12314 (eval "$ac_link") 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } && {
12321 test -z "$ac_c_werror_flag" ||
12322 test ! -s conftest.err
12323 } && test -s conftest$ac_exeext &&
12324 $as_test_x conftest$ac_exeext; then
12325 case "$LIBEXT" in
12326 dll) ;;
12327 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'` ;;
12328 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12329 esac
12330 else
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12338 conftest$ac_exeext conftest.$ac_ext
12339 LIBS=$ac_check_soname_save_LIBS
12341 if test "x$ac_cv_lib_soname_curses" = "x"; then
12342 { echo "$as_me:$LINENO: result: not found" >&5
12343 echo "${ECHO_T}not found" >&6; }
12345 else
12346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12347 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12349 cat >>confdefs.h <<_ACEOF
12350 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12351 _ACEOF
12353 CURSESLIBS="-lcurses"
12357 ac_save_LIBS="$LIBS"
12358 LIBS="$LIBS $CURSESLIBS"
12360 for ac_func in mousemask
12362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368 cat >conftest.$ac_ext <<_ACEOF
12369 /* confdefs.h. */
12370 _ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12376 #define $ac_func innocuous_$ac_func
12378 /* System header to define __stub macros and hopefully few prototypes,
12379 which can conflict with char $ac_func (); below.
12380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12381 <limits.h> exists even on freestanding compilers. */
12383 #ifdef __STDC__
12384 # include <limits.h>
12385 #else
12386 # include <assert.h>
12387 #endif
12389 #undef $ac_func
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char $ac_func ();
12398 /* The GNU C library defines this for functions which it implements
12399 to always fail with ENOSYS. Some functions are actually named
12400 something starting with __ and the normal name is an alias. */
12401 #if defined __stub_$ac_func || defined __stub___$ac_func
12402 choke me
12403 #endif
12406 main ()
12408 return $ac_func ();
12410 return 0;
12412 _ACEOF
12413 rm -f conftest.$ac_objext conftest$ac_exeext
12414 if { (ac_try="$ac_link"
12415 case "(($ac_try" in
12416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12417 *) ac_try_echo=$ac_try;;
12418 esac
12419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12420 (eval "$ac_link") 2>conftest.er1
12421 ac_status=$?
12422 grep -v '^ *+' conftest.er1 >conftest.err
12423 rm -f conftest.er1
12424 cat conftest.err >&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } && {
12427 test -z "$ac_c_werror_flag" ||
12428 test ! -s conftest.err
12429 } && test -s conftest$ac_exeext &&
12430 $as_test_x conftest$ac_exeext; then
12431 eval "$as_ac_var=yes"
12432 else
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.$ac_ext >&5
12436 eval "$as_ac_var=no"
12439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12440 conftest$ac_exeext conftest.$ac_ext
12442 ac_res=`eval echo '${'$as_ac_var'}'`
12443 { echo "$as_me:$LINENO: result: $ac_res" >&5
12444 echo "${ECHO_T}$ac_res" >&6; }
12445 if test `eval echo '${'$as_ac_var'}'` = yes; then
12446 cat >>confdefs.h <<_ACEOF
12447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12448 _ACEOF
12451 done
12453 LIBS="$ac_save_LIBS"
12454 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12455 case "x$with_curses" in
12456 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12457 xno) ;;
12458 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12459 This is an error since --with-curses was requested." >&5
12460 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12461 This is an error since --with-curses was requested." >&2;}
12462 { (exit 1); exit 1; }; } ;;
12463 esac
12467 # Extract the first word of "sane-config", so it can be a program name with args.
12468 set dummy sane-config; ac_word=$2
12469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12471 if test "${ac_cv_prog_sane_devel+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 else
12474 if test -n "$sane_devel"; then
12475 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12476 else
12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478 for as_dir in $PATH
12480 IFS=$as_save_IFS
12481 test -z "$as_dir" && as_dir=.
12482 for ac_exec_ext in '' $ac_executable_extensions; do
12483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12484 ac_cv_prog_sane_devel="sane-config"
12485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12486 break 2
12488 done
12489 done
12490 IFS=$as_save_IFS
12492 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12495 sane_devel=$ac_cv_prog_sane_devel
12496 if test -n "$sane_devel"; then
12497 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12498 echo "${ECHO_T}$sane_devel" >&6; }
12499 else
12500 { echo "$as_me:$LINENO: result: no" >&5
12501 echo "${ECHO_T}no" >&6; }
12505 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12506 then
12507 ac_sane_incl="`$sane_devel --cflags`"
12508 ac_save_CPPFLAGS="$CPPFLAGS"
12509 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12510 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12511 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12512 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12513 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12517 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12518 else
12519 # Is the header compilable?
12520 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12521 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 $ac_includes_default
12529 #include <sane/sane.h>
12530 _ACEOF
12531 rm -f conftest.$ac_objext
12532 if { (ac_try="$ac_compile"
12533 case "(($ac_try" in
12534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12535 *) ac_try_echo=$ac_try;;
12536 esac
12537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12538 (eval "$ac_compile") 2>conftest.er1
12539 ac_status=$?
12540 grep -v '^ *+' conftest.er1 >conftest.err
12541 rm -f conftest.er1
12542 cat conftest.err >&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } && {
12545 test -z "$ac_c_werror_flag" ||
12546 test ! -s conftest.err
12547 } && test -s conftest.$ac_objext; then
12548 ac_header_compiler=yes
12549 else
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.$ac_ext >&5
12553 ac_header_compiler=no
12556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12558 echo "${ECHO_T}$ac_header_compiler" >&6; }
12560 # Is the header present?
12561 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12562 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12563 cat >conftest.$ac_ext <<_ACEOF
12564 /* confdefs.h. */
12565 _ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12569 #include <sane/sane.h>
12570 _ACEOF
12571 if { (ac_try="$ac_cpp conftest.$ac_ext"
12572 case "(($ac_try" in
12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12575 esac
12576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12578 ac_status=$?
12579 grep -v '^ *+' conftest.er1 >conftest.err
12580 rm -f conftest.er1
12581 cat conftest.err >&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } >/dev/null && {
12584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12585 test ! -s conftest.err
12586 }; then
12587 ac_header_preproc=yes
12588 else
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.$ac_ext >&5
12592 ac_header_preproc=no
12595 rm -f conftest.err conftest.$ac_ext
12596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12597 echo "${ECHO_T}$ac_header_preproc" >&6; }
12599 # So? What about this header?
12600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12601 yes:no: )
12602 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12603 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12605 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12606 ac_header_preproc=yes
12608 no:yes:* )
12609 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12610 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12611 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12612 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12613 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12614 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12615 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12616 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12617 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12618 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12619 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12620 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12621 ( cat <<\_ASBOX
12622 ## ------------------------------------ ##
12623 ## Report this to wine-devel@winehq.org ##
12624 ## ------------------------------------ ##
12625 _ASBOX
12626 ) | sed "s/^/$as_me: WARNING: /" >&2
12628 esac
12629 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12630 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12631 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 else
12634 ac_cv_header_sane_sane_h=$ac_header_preproc
12636 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12637 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12640 if test $ac_cv_header_sane_sane_h = yes; then
12641 { echo "$as_me:$LINENO: checking for -lsane" >&5
12642 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12643 if test "${ac_cv_lib_soname_sane+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 else
12646 ac_check_soname_save_LIBS=$LIBS
12647 LIBS="-lsane $LIBS"
12648 cat >conftest.$ac_ext <<_ACEOF
12649 /* confdefs.h. */
12650 _ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char sane_init ();
12663 main ()
12665 return sane_init ();
12667 return 0;
12669 _ACEOF
12670 rm -f conftest.$ac_objext conftest$ac_exeext
12671 if { (ac_try="$ac_link"
12672 case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12675 esac
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_link") 2>conftest.er1
12678 ac_status=$?
12679 grep -v '^ *+' conftest.er1 >conftest.err
12680 rm -f conftest.er1
12681 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && {
12684 test -z "$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12686 } && test -s conftest$ac_exeext &&
12687 $as_test_x conftest$ac_exeext; then
12688 case "$LIBEXT" in
12689 dll) ;;
12690 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'` ;;
12691 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12692 esac
12693 else
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.$ac_ext >&5
12700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_soname_save_LIBS
12704 if test "x$ac_cv_lib_soname_sane" = "x"; then
12705 { echo "$as_me:$LINENO: result: not found" >&5
12706 echo "${ECHO_T}not found" >&6; }
12708 else
12709 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12710 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12712 cat >>confdefs.h <<_ACEOF
12713 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12714 _ACEOF
12716 SANEINCL="$ac_sane_incl"
12723 CPPFLAGS="$ac_save_CPPFLAGS"
12725 if test "x$ac_cv_lib_soname_sane" = "x"; then
12726 case "x$with_sane" in
12727 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12728 xno) ;;
12729 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12730 This is an error since --with-sane was requested." >&5
12731 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12732 This is an error since --with-sane was requested." >&2;}
12733 { (exit 1); exit 1; }; } ;;
12734 esac
12738 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12739 set dummy gphoto2-config; ac_word=$2
12740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12742 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 if test -n "$gphoto2_devel"; then
12746 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12747 else
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12751 IFS=$as_save_IFS
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_prog_gphoto2_devel="gphoto2-config"
12756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12757 break 2
12759 done
12760 done
12761 IFS=$as_save_IFS
12763 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12766 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12767 if test -n "$gphoto2_devel"; then
12768 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12769 echo "${ECHO_T}$gphoto2_devel" >&6; }
12770 else
12771 { echo "$as_me:$LINENO: result: no" >&5
12772 echo "${ECHO_T}no" >&6; }
12776 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12777 set dummy gphoto2-port-config; ac_word=$2
12778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12780 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12781 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 else
12783 if test -n "$gphoto2port_devel"; then
12784 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12785 else
12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $PATH
12789 IFS=$as_save_IFS
12790 test -z "$as_dir" && as_dir=.
12791 for ac_exec_ext in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12793 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12795 break 2
12797 done
12798 done
12799 IFS=$as_save_IFS
12801 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12804 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12805 if test -n "$gphoto2port_devel"; then
12806 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12807 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12808 else
12809 { echo "$as_me:$LINENO: result: no" >&5
12810 echo "${ECHO_T}no" >&6; }
12814 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12815 then
12816 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12817 ac_gphoto2_libs=""
12818 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12820 case "$i" in
12821 -L/usr/lib|-L/usr/lib64) ;;
12822 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12823 esac
12824 done
12825 ac_save_CPPFLAGS="$CPPFLAGS"
12826 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12827 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12828 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12829 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12830 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12831 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12834 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12835 else
12836 # Is the header compilable?
12837 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12838 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12839 cat >conftest.$ac_ext <<_ACEOF
12840 /* confdefs.h. */
12841 _ACEOF
12842 cat confdefs.h >>conftest.$ac_ext
12843 cat >>conftest.$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12845 $ac_includes_default
12846 #include <gphoto2-camera.h>
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (ac_try="$ac_compile"
12850 case "(($ac_try" in
12851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12852 *) ac_try_echo=$ac_try;;
12853 esac
12854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12855 (eval "$ac_compile") 2>conftest.er1
12856 ac_status=$?
12857 grep -v '^ *+' conftest.er1 >conftest.err
12858 rm -f conftest.er1
12859 cat conftest.err >&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } && {
12862 test -z "$ac_c_werror_flag" ||
12863 test ! -s conftest.err
12864 } && test -s conftest.$ac_objext; then
12865 ac_header_compiler=yes
12866 else
12867 echo "$as_me: failed program was:" >&5
12868 sed 's/^/| /' conftest.$ac_ext >&5
12870 ac_header_compiler=no
12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12874 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12875 echo "${ECHO_T}$ac_header_compiler" >&6; }
12877 # Is the header present?
12878 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12879 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12880 cat >conftest.$ac_ext <<_ACEOF
12881 /* confdefs.h. */
12882 _ACEOF
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12886 #include <gphoto2-camera.h>
12887 _ACEOF
12888 if { (ac_try="$ac_cpp conftest.$ac_ext"
12889 case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12892 esac
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12895 ac_status=$?
12896 grep -v '^ *+' conftest.er1 >conftest.err
12897 rm -f conftest.er1
12898 cat conftest.err >&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } >/dev/null && {
12901 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12902 test ! -s conftest.err
12903 }; then
12904 ac_header_preproc=yes
12905 else
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 ac_header_preproc=no
12912 rm -f conftest.err conftest.$ac_ext
12913 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12914 echo "${ECHO_T}$ac_header_preproc" >&6; }
12916 # So? What about this header?
12917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12918 yes:no: )
12919 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12920 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12922 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12923 ac_header_preproc=yes
12925 no:yes:* )
12926 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12927 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12928 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12929 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12931 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12933 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12934 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12935 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12937 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12938 ( cat <<\_ASBOX
12939 ## ------------------------------------ ##
12940 ## Report this to wine-devel@winehq.org ##
12941 ## ------------------------------------ ##
12942 _ASBOX
12943 ) | sed "s/^/$as_me: WARNING: /" >&2
12945 esac
12946 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12947 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12948 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 else
12951 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12953 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12954 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12957 if test $ac_cv_header_gphoto2_camera_h = yes; then
12958 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12959 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12960 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963 ac_check_lib_save_LIBS=$LIBS
12964 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12965 cat >conftest.$ac_ext <<_ACEOF
12966 /* confdefs.h. */
12967 _ACEOF
12968 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char gp_camera_new ();
12980 main ()
12982 return gp_camera_new ();
12984 return 0;
12986 _ACEOF
12987 rm -f conftest.$ac_objext conftest$ac_exeext
12988 if { (ac_try="$ac_link"
12989 case "(($ac_try" in
12990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12991 *) ac_try_echo=$ac_try;;
12992 esac
12993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12994 (eval "$ac_link") 2>conftest.er1
12995 ac_status=$?
12996 grep -v '^ *+' conftest.er1 >conftest.err
12997 rm -f conftest.er1
12998 cat conftest.err >&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } && {
13001 test -z "$ac_c_werror_flag" ||
13002 test ! -s conftest.err
13003 } && test -s conftest$ac_exeext &&
13004 $as_test_x conftest$ac_exeext; then
13005 ac_cv_lib_gphoto2_gp_camera_new=yes
13006 else
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13010 ac_cv_lib_gphoto2_gp_camera_new=no
13013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13014 conftest$ac_exeext conftest.$ac_ext
13015 LIBS=$ac_check_lib_save_LIBS
13017 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13018 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13019 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13021 cat >>confdefs.h <<\_ACEOF
13022 #define HAVE_GPHOTO2 1
13023 _ACEOF
13025 GPHOTO2LIBS="$ac_gphoto2_libs"
13027 GPHOTO2INCL="$ac_gphoto2_incl"
13034 CPPFLAGS="$ac_save_CPPFLAGS"
13036 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13037 case "x$with_gphoto" in
13038 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13039 xno) ;;
13040 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13041 This is an error since --with-gphoto was requested." >&5
13042 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13043 This is an error since --with-gphoto was requested." >&2;}
13044 { (exit 1); exit 1; }; } ;;
13045 esac
13050 RESOLVLIBS=""
13052 if test "$ac_cv_header_resolv_h" = "yes"
13053 then
13054 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13055 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13056 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 else
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lresolv $LIBS"
13061 cat >conftest.$ac_ext <<_ACEOF
13062 /* confdefs.h. */
13063 _ACEOF
13064 cat confdefs.h >>conftest.$ac_ext
13065 cat >>conftest.$ac_ext <<_ACEOF
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char res_query ();
13076 main ()
13078 return res_query ();
13080 return 0;
13082 _ACEOF
13083 rm -f conftest.$ac_objext conftest$ac_exeext
13084 if { (ac_try="$ac_link"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13088 esac
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_link") 2>conftest.er1
13091 ac_status=$?
13092 grep -v '^ *+' conftest.er1 >conftest.err
13093 rm -f conftest.er1
13094 cat conftest.err >&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } && {
13097 test -z "$ac_c_werror_flag" ||
13098 test ! -s conftest.err
13099 } && test -s conftest$ac_exeext &&
13100 $as_test_x conftest$ac_exeext; then
13101 ac_cv_lib_resolv_res_query=yes
13102 else
13103 echo "$as_me: failed program was:" >&5
13104 sed 's/^/| /' conftest.$ac_ext >&5
13106 ac_cv_lib_resolv_res_query=no
13109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LIBS=$ac_check_lib_save_LIBS
13113 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13114 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13115 if test $ac_cv_lib_resolv_res_query = yes; then
13117 cat >>confdefs.h <<\_ACEOF
13118 #define HAVE_RESOLV 1
13119 _ACEOF
13121 RESOLVLIBS="-lresolv"
13126 LCMSLIBS=""
13128 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13129 then
13130 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13131 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13132 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 ac_check_lib_save_LIBS=$LIBS
13136 LIBS="-llcms $LIBS"
13137 cat >conftest.$ac_ext <<_ACEOF
13138 /* confdefs.h. */
13139 _ACEOF
13140 cat confdefs.h >>conftest.$ac_ext
13141 cat >>conftest.$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char cmsOpenProfileFromFile ();
13152 main ()
13154 return cmsOpenProfileFromFile ();
13156 return 0;
13158 _ACEOF
13159 rm -f conftest.$ac_objext conftest$ac_exeext
13160 if { (ac_try="$ac_link"
13161 case "(($ac_try" in
13162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13163 *) ac_try_echo=$ac_try;;
13164 esac
13165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13166 (eval "$ac_link") 2>conftest.er1
13167 ac_status=$?
13168 grep -v '^ *+' conftest.er1 >conftest.err
13169 rm -f conftest.er1
13170 cat conftest.err >&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } && {
13173 test -z "$ac_c_werror_flag" ||
13174 test ! -s conftest.err
13175 } && test -s conftest$ac_exeext &&
13176 $as_test_x conftest$ac_exeext; then
13177 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13178 else
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_lib_save_LIBS
13189 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13190 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13191 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13193 cat >>confdefs.h <<\_ACEOF
13194 #define HAVE_LCMS 1
13195 _ACEOF
13197 LCMSLIBS="-llcms"
13201 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13202 case "x$with_cms" in
13203 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13204 xno) ;;
13205 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13206 This is an error since --with-cms was requested." >&5
13207 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13208 This is an error since --with-cms was requested." >&2;}
13209 { (exit 1); exit 1; }; } ;;
13210 esac
13214 LDAPLIBS=""
13216 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13217 then
13218 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13219 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13220 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 else
13223 ac_check_lib_save_LIBS=$LIBS
13224 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13225 cat >conftest.$ac_ext <<_ACEOF
13226 /* confdefs.h. */
13227 _ACEOF
13228 cat confdefs.h >>conftest.$ac_ext
13229 cat >>conftest.$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13235 #ifdef __cplusplus
13236 extern "C"
13237 #endif
13238 char ldap_initialize ();
13240 main ()
13242 return ldap_initialize ();
13244 return 0;
13246 _ACEOF
13247 rm -f conftest.$ac_objext conftest$ac_exeext
13248 if { (ac_try="$ac_link"
13249 case "(($ac_try" in
13250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13252 esac
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_link") 2>conftest.er1
13255 ac_status=$?
13256 grep -v '^ *+' conftest.er1 >conftest.err
13257 rm -f conftest.er1
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } && {
13261 test -z "$ac_c_werror_flag" ||
13262 test ! -s conftest.err
13263 } && test -s conftest$ac_exeext &&
13264 $as_test_x conftest$ac_exeext; then
13265 ac_cv_lib_ldap_r_ldap_initialize=yes
13266 else
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13270 ac_cv_lib_ldap_r_ldap_initialize=no
13273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13274 conftest$ac_exeext conftest.$ac_ext
13275 LIBS=$ac_check_lib_save_LIBS
13277 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13278 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13279 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13280 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13281 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13282 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 ac_check_lib_save_LIBS=$LIBS
13286 LIBS="-llber $LIBPTHREAD $LIBS"
13287 cat >conftest.$ac_ext <<_ACEOF
13288 /* confdefs.h. */
13289 _ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13294 /* Override any GCC internal prototype to avoid an error.
13295 Use char because int might match the return type of a GCC
13296 builtin and then its argument prototype would still apply. */
13297 #ifdef __cplusplus
13298 extern "C"
13299 #endif
13300 char ber_init ();
13302 main ()
13304 return ber_init ();
13306 return 0;
13308 _ACEOF
13309 rm -f conftest.$ac_objext conftest$ac_exeext
13310 if { (ac_try="$ac_link"
13311 case "(($ac_try" in
13312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13314 esac
13315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_link") 2>conftest.er1
13317 ac_status=$?
13318 grep -v '^ *+' conftest.er1 >conftest.err
13319 rm -f conftest.er1
13320 cat conftest.err >&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); } && {
13323 test -z "$ac_c_werror_flag" ||
13324 test ! -s conftest.err
13325 } && test -s conftest$ac_exeext &&
13326 $as_test_x conftest$ac_exeext; then
13327 ac_cv_lib_lber_ber_init=yes
13328 else
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.$ac_ext >&5
13332 ac_cv_lib_lber_ber_init=no
13335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13336 conftest$ac_exeext conftest.$ac_ext
13337 LIBS=$ac_check_lib_save_LIBS
13339 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13340 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13341 if test $ac_cv_lib_lber_ber_init = yes; then
13343 cat >>confdefs.h <<\_ACEOF
13344 #define HAVE_LDAP 1
13345 _ACEOF
13347 LDAPLIBS="-lldap_r -llber"
13352 ac_wine_check_funcs_save_LIBS="$LIBS"
13353 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13362 for ac_func in \
13363 ldap_count_references \
13364 ldap_first_reference \
13365 ldap_next_reference \
13366 ldap_parse_reference \
13367 ldap_parse_sort_control \
13368 ldap_parse_sortresponse_control \
13369 ldap_parse_vlv_control \
13370 ldap_parse_vlvresponse_control
13372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 cat >conftest.$ac_ext <<_ACEOF
13379 /* confdefs.h. */
13380 _ACEOF
13381 cat confdefs.h >>conftest.$ac_ext
13382 cat >>conftest.$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13386 #define $ac_func innocuous_$ac_func
13388 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char $ac_func (); below.
13390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13391 <limits.h> exists even on freestanding compilers. */
13393 #ifdef __STDC__
13394 # include <limits.h>
13395 #else
13396 # include <assert.h>
13397 #endif
13399 #undef $ac_func
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13404 #ifdef __cplusplus
13405 extern "C"
13406 #endif
13407 char $ac_func ();
13408 /* The GNU C library defines this for functions which it implements
13409 to always fail with ENOSYS. Some functions are actually named
13410 something starting with __ and the normal name is an alias. */
13411 #if defined __stub_$ac_func || defined __stub___$ac_func
13412 choke me
13413 #endif
13416 main ()
13418 return $ac_func ();
13420 return 0;
13422 _ACEOF
13423 rm -f conftest.$ac_objext conftest$ac_exeext
13424 if { (ac_try="$ac_link"
13425 case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13428 esac
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_link") 2>conftest.er1
13431 ac_status=$?
13432 grep -v '^ *+' conftest.er1 >conftest.err
13433 rm -f conftest.er1
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } && {
13437 test -z "$ac_c_werror_flag" ||
13438 test ! -s conftest.err
13439 } && test -s conftest$ac_exeext &&
13440 $as_test_x conftest$ac_exeext; then
13441 eval "$as_ac_var=yes"
13442 else
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13446 eval "$as_ac_var=no"
13449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13450 conftest$ac_exeext conftest.$ac_ext
13452 ac_res=`eval echo '${'$as_ac_var'}'`
13453 { echo "$as_me:$LINENO: result: $ac_res" >&5
13454 echo "${ECHO_T}$ac_res" >&6; }
13455 if test `eval echo '${'$as_ac_var'}'` = yes; then
13456 cat >>confdefs.h <<_ACEOF
13457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13458 _ACEOF
13461 done
13463 LIBS="$ac_wine_check_funcs_save_LIBS"
13465 if test "x$LDAPLIBS" = "x"; then
13466 case "x$with_ldap" in
13467 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13468 xno) ;;
13469 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13470 This is an error since --with-ldap was requested." >&5
13471 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13472 This is an error since --with-ldap was requested." >&2;}
13473 { (exit 1); exit 1; }; } ;;
13474 esac
13478 for ac_prog in freetype-config freetype2-config
13480 # Extract the first word of "$ac_prog", so it can be a program name with args.
13481 set dummy $ac_prog; ac_word=$2
13482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13484 if test "${ac_cv_prog_ft_devel+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 if test -n "$ft_devel"; then
13488 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13489 else
13490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13491 for as_dir in $PATH
13493 IFS=$as_save_IFS
13494 test -z "$as_dir" && as_dir=.
13495 for ac_exec_ext in '' $ac_executable_extensions; do
13496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13497 ac_cv_prog_ft_devel="$ac_prog"
13498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13499 break 2
13501 done
13502 done
13503 IFS=$as_save_IFS
13507 ft_devel=$ac_cv_prog_ft_devel
13508 if test -n "$ft_devel"; then
13509 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13510 echo "${ECHO_T}$ft_devel" >&6; }
13511 else
13512 { echo "$as_me:$LINENO: result: no" >&5
13513 echo "${ECHO_T}no" >&6; }
13517 test -n "$ft_devel" && break
13518 done
13519 test -n "$ft_devel" || ft_devel="false"
13521 if test "$ft_devel" != "false"
13522 then
13523 ac_freetype_libs=`$ft_devel --libs`
13524 ac_freetype_incl=`$ft_devel --cflags`
13525 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13526 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13527 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 ac_check_soname_save_LIBS=$LIBS
13531 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13532 cat >conftest.$ac_ext <<_ACEOF
13533 /* confdefs.h. */
13534 _ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char FT_Init_FreeType ();
13547 main ()
13549 return FT_Init_FreeType ();
13551 return 0;
13553 _ACEOF
13554 rm -f conftest.$ac_objext conftest$ac_exeext
13555 if { (ac_try="$ac_link"
13556 case "(($ac_try" in
13557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13558 *) ac_try_echo=$ac_try;;
13559 esac
13560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13561 (eval "$ac_link") 2>conftest.er1
13562 ac_status=$?
13563 grep -v '^ *+' conftest.er1 >conftest.err
13564 rm -f conftest.er1
13565 cat conftest.err >&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); } && {
13568 test -z "$ac_c_werror_flag" ||
13569 test ! -s conftest.err
13570 } && test -s conftest$ac_exeext &&
13571 $as_test_x conftest$ac_exeext; then
13572 case "$LIBEXT" in
13573 dll) ;;
13574 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'` ;;
13575 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13576 esac
13577 else
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13589 { echo "$as_me:$LINENO: result: not found" >&5
13590 echo "${ECHO_T}not found" >&6; }
13591 ft_lib=no
13592 else
13593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13594 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13596 cat >>confdefs.h <<_ACEOF
13597 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13598 _ACEOF
13600 ft_lib=yes
13603 if test "$ft_lib" = "yes"
13604 then
13605 ac_save_CPPFLAGS="$CPPFLAGS"
13606 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13619 for ac_header in ft2build.h \
13620 freetype/freetype.h \
13621 freetype/ftglyph.h \
13622 freetype/fttypes.h \
13623 freetype/tttables.h \
13624 freetype/ftnames.h \
13625 freetype/ftsnames.h \
13626 freetype/ttnameid.h \
13627 freetype/ftoutln.h \
13628 freetype/ftwinfnt.h \
13629 freetype/ftmodapi.h \
13630 freetype/internal/sfnt.h
13632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #if HAVE_FT2BUILD_H
13645 #include <ft2build.h>
13646 #endif
13648 #include <$ac_header>
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (ac_try="$ac_compile"
13652 case "(($ac_try" in
13653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13654 *) ac_try_echo=$ac_try;;
13655 esac
13656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13657 (eval "$ac_compile") 2>conftest.er1
13658 ac_status=$?
13659 grep -v '^ *+' conftest.er1 >conftest.err
13660 rm -f conftest.er1
13661 cat conftest.err >&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } && {
13664 test -z "$ac_c_werror_flag" ||
13665 test ! -s conftest.err
13666 } && test -s conftest.$ac_objext; then
13667 eval "$as_ac_Header=yes"
13668 else
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13672 eval "$as_ac_Header=no"
13675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13677 ac_res=`eval echo '${'$as_ac_Header'}'`
13678 { echo "$as_me:$LINENO: result: $ac_res" >&5
13679 echo "${ECHO_T}$ac_res" >&6; }
13680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13681 cat >>confdefs.h <<_ACEOF
13682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13683 _ACEOF
13687 done
13689 cat >conftest.$ac_ext <<_ACEOF
13690 /* confdefs.h. */
13691 _ACEOF
13692 cat confdefs.h >>conftest.$ac_ext
13693 cat >>conftest.$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13695 #include <ft2build.h>
13696 #include <freetype/fttrigon.h>
13697 _ACEOF
13698 if { (ac_try="$ac_cpp conftest.$ac_ext"
13699 case "(($ac_try" in
13700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13701 *) ac_try_echo=$ac_try;;
13702 esac
13703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13705 ac_status=$?
13706 grep -v '^ *+' conftest.er1 >conftest.err
13707 rm -f conftest.er1
13708 cat conftest.err >&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); } >/dev/null && {
13711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13712 test ! -s conftest.err
13713 }; then
13715 cat >>confdefs.h <<\_ACEOF
13716 #define HAVE_FREETYPE_FTTRIGON_H 1
13717 _ACEOF
13719 wine_cv_fttrigon=yes
13720 else
13721 echo "$as_me: failed program was:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13724 wine_cv_fttrigon=no
13727 rm -f conftest.err conftest.$ac_ext
13728 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13729 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13730 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733 cat >conftest.$ac_ext <<_ACEOF
13734 /* confdefs.h. */
13735 _ACEOF
13736 cat confdefs.h >>conftest.$ac_ext
13737 cat >>conftest.$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13739 #include <freetype/ftmodapi.h>
13741 typedef FT_TrueTypeEngineType ac__type_new_;
13743 main ()
13745 if ((ac__type_new_ *) 0)
13746 return 0;
13747 if (sizeof (ac__type_new_))
13748 return 0;
13750 return 0;
13752 _ACEOF
13753 rm -f conftest.$ac_objext
13754 if { (ac_try="$ac_compile"
13755 case "(($ac_try" in
13756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13757 *) ac_try_echo=$ac_try;;
13758 esac
13759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13760 (eval "$ac_compile") 2>conftest.er1
13761 ac_status=$?
13762 grep -v '^ *+' conftest.er1 >conftest.err
13763 rm -f conftest.er1
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } && {
13767 test -z "$ac_c_werror_flag" ||
13768 test ! -s conftest.err
13769 } && test -s conftest.$ac_objext; then
13770 ac_cv_type_FT_TrueTypeEngineType=yes
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13775 ac_cv_type_FT_TrueTypeEngineType=no
13778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13780 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13781 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13782 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13784 cat >>confdefs.h <<_ACEOF
13785 #define HAVE_FT_TRUETYPEENGINETYPE 1
13786 _ACEOF
13791 ac_save_CFLAGS="$CFLAGS"
13792 CFLAGS="$CFLAGS $ac_freetype_libs"
13794 for ac_func in FT_Load_Sfnt_Table
13796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 else
13802 cat >conftest.$ac_ext <<_ACEOF
13803 /* confdefs.h. */
13804 _ACEOF
13805 cat confdefs.h >>conftest.$ac_ext
13806 cat >>conftest.$ac_ext <<_ACEOF
13807 /* end confdefs.h. */
13808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13810 #define $ac_func innocuous_$ac_func
13812 /* System header to define __stub macros and hopefully few prototypes,
13813 which can conflict with char $ac_func (); below.
13814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13815 <limits.h> exists even on freestanding compilers. */
13817 #ifdef __STDC__
13818 # include <limits.h>
13819 #else
13820 # include <assert.h>
13821 #endif
13823 #undef $ac_func
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char $ac_func ();
13832 /* The GNU C library defines this for functions which it implements
13833 to always fail with ENOSYS. Some functions are actually named
13834 something starting with __ and the normal name is an alias. */
13835 #if defined __stub_$ac_func || defined __stub___$ac_func
13836 choke me
13837 #endif
13840 main ()
13842 return $ac_func ();
13844 return 0;
13846 _ACEOF
13847 rm -f conftest.$ac_objext conftest$ac_exeext
13848 if { (ac_try="$ac_link"
13849 case "(($ac_try" in
13850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13851 *) ac_try_echo=$ac_try;;
13852 esac
13853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13854 (eval "$ac_link") 2>conftest.er1
13855 ac_status=$?
13856 grep -v '^ *+' conftest.er1 >conftest.err
13857 rm -f conftest.er1
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } && {
13861 test -z "$ac_c_werror_flag" ||
13862 test ! -s conftest.err
13863 } && test -s conftest$ac_exeext &&
13864 $as_test_x conftest$ac_exeext; then
13865 eval "$as_ac_var=yes"
13866 else
13867 echo "$as_me: failed program was:" >&5
13868 sed 's/^/| /' conftest.$ac_ext >&5
13870 eval "$as_ac_var=no"
13873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13874 conftest$ac_exeext conftest.$ac_ext
13876 ac_res=`eval echo '${'$as_ac_var'}'`
13877 { echo "$as_me:$LINENO: result: $ac_res" >&5
13878 echo "${ECHO_T}$ac_res" >&6; }
13879 if test `eval echo '${'$as_ac_var'}'` = yes; then
13880 cat >>confdefs.h <<_ACEOF
13881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13882 _ACEOF
13885 done
13887 CFLAGS="$ac_save_CFLAGS"
13888 CPPFLAGS="$ac_save_CPPFLAGS"
13889 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13890 then
13892 cat >>confdefs.h <<\_ACEOF
13893 #define HAVE_FREETYPE 1
13894 _ACEOF
13896 FREETYPELIBS="$ac_freetype_libs"
13898 FREETYPEINCL="$ac_freetype_incl"
13904 if test "$FONTFORGE" = "false"
13905 then
13906 wine_warnings="$wine_warnings|FontForge is missing.
13907 Fonts will not be built. Dialog text may be invisible or unaligned."
13908 elif test "x$FREETYPELIBS" = "x"
13909 then
13910 wine_warnings="$wine_warnings|FreeType development files not found.
13911 Fonts will not be built. Dialog text may be invisible or unaligned."
13912 else
13913 FONTSSUBDIRS="fonts"
13917 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13918 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13919 if test "${ac_cv_c_ppdev+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 else
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. */
13928 #include <linux/ppdev.h>
13930 main ()
13932 ioctl (1,PPCLAIM,0)
13934 return 0;
13936 _ACEOF
13937 rm -f conftest.$ac_objext
13938 if { (ac_try="$ac_compile"
13939 case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13942 esac
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_compile") 2>conftest.er1
13945 ac_status=$?
13946 grep -v '^ *+' conftest.er1 >conftest.err
13947 rm -f conftest.er1
13948 cat conftest.err >&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } && {
13951 test -z "$ac_c_werror_flag" ||
13952 test ! -s conftest.err
13953 } && test -s conftest.$ac_objext; then
13954 ac_cv_c_ppdev="yes"
13955 else
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13959 ac_cv_c_ppdev="no"
13962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13964 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13965 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13966 if test "$ac_cv_c_ppdev" = "yes"
13967 then
13969 cat >>confdefs.h <<\_ACEOF
13970 #define HAVE_PPDEV 1
13971 _ACEOF
13975 { echo "$as_me:$LINENO: checking for va_copy" >&5
13976 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13977 if test "${ac_cv_c_va_copy+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13986 #include <stdarg.h>
13988 main ()
13990 va_list ap1, ap2; va_copy(ap1,ap2);
13992 return 0;
13994 _ACEOF
13995 rm -f conftest.$ac_objext conftest$ac_exeext
13996 if { (ac_try="$ac_link"
13997 case "(($ac_try" in
13998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13999 *) ac_try_echo=$ac_try;;
14000 esac
14001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14002 (eval "$ac_link") 2>conftest.er1
14003 ac_status=$?
14004 grep -v '^ *+' conftest.er1 >conftest.err
14005 rm -f conftest.er1
14006 cat conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); } && {
14009 test -z "$ac_c_werror_flag" ||
14010 test ! -s conftest.err
14011 } && test -s conftest$ac_exeext &&
14012 $as_test_x conftest$ac_exeext; then
14013 ac_cv_c_va_copy="yes"
14014 else
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.$ac_ext >&5
14018 ac_cv_c_va_copy="no"
14021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14022 conftest$ac_exeext conftest.$ac_ext
14025 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14026 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14027 if test "$ac_cv_c_va_copy" = "yes"
14028 then
14030 cat >>confdefs.h <<\_ACEOF
14031 #define HAVE_VA_COPY 1
14032 _ACEOF
14035 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14036 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14037 if test "${ac_cv_c___va_copy+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040 cat >conftest.$ac_ext <<_ACEOF
14041 /* confdefs.h. */
14042 _ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 #include <stdarg.h>
14048 main ()
14050 va_list ap1, ap2; __va_copy(ap1,ap2);
14052 return 0;
14054 _ACEOF
14055 rm -f conftest.$ac_objext conftest$ac_exeext
14056 if { (ac_try="$ac_link"
14057 case "(($ac_try" in
14058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14059 *) ac_try_echo=$ac_try;;
14060 esac
14061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14062 (eval "$ac_link") 2>conftest.er1
14063 ac_status=$?
14064 grep -v '^ *+' conftest.er1 >conftest.err
14065 rm -f conftest.er1
14066 cat conftest.err >&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } && {
14069 test -z "$ac_c_werror_flag" ||
14070 test ! -s conftest.err
14071 } && test -s conftest$ac_exeext &&
14072 $as_test_x conftest$ac_exeext; then
14073 ac_cv_c___va_copy="yes"
14074 else
14075 echo "$as_me: failed program was:" >&5
14076 sed 's/^/| /' conftest.$ac_ext >&5
14078 ac_cv_c___va_copy="no"
14081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14082 conftest$ac_exeext conftest.$ac_ext
14085 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14086 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14087 if test "$ac_cv_c___va_copy" = "yes"
14088 then
14090 cat >>confdefs.h <<\_ACEOF
14091 #define HAVE___VA_COPY 1
14092 _ACEOF
14096 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14097 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14098 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 else
14101 cat >conftest.$ac_ext <<_ACEOF
14102 /* confdefs.h. */
14103 _ACEOF
14104 cat confdefs.h >>conftest.$ac_ext
14105 cat >>conftest.$ac_ext <<_ACEOF
14106 /* end confdefs.h. */
14107 #include <setjmp.h>
14109 main ()
14111 sigjmp_buf buf;
14112 sigsetjmp( buf, 1 );
14113 siglongjmp( buf, 1 );
14115 return 0;
14117 _ACEOF
14118 rm -f conftest.$ac_objext conftest$ac_exeext
14119 if { (ac_try="$ac_link"
14120 case "(($ac_try" in
14121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14122 *) ac_try_echo=$ac_try;;
14123 esac
14124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14125 (eval "$ac_link") 2>conftest.er1
14126 ac_status=$?
14127 grep -v '^ *+' conftest.er1 >conftest.err
14128 rm -f conftest.er1
14129 cat conftest.err >&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); } && {
14132 test -z "$ac_c_werror_flag" ||
14133 test ! -s conftest.err
14134 } && test -s conftest$ac_exeext &&
14135 $as_test_x conftest$ac_exeext; then
14136 ac_cv_c_sigsetjmp="yes"
14137 else
14138 echo "$as_me: failed program was:" >&5
14139 sed 's/^/| /' conftest.$ac_ext >&5
14141 ac_cv_c_sigsetjmp="no"
14144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14145 conftest$ac_exeext conftest.$ac_ext
14148 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14149 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14150 if test "$ac_cv_c_sigsetjmp" = "yes"
14151 then
14153 cat >>confdefs.h <<\_ACEOF
14154 #define HAVE_SIGSETJMP 1
14155 _ACEOF
14159 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14160 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14161 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 cat >conftest.$ac_ext <<_ACEOF
14165 /* confdefs.h. */
14166 _ACEOF
14167 cat confdefs.h >>conftest.$ac_ext
14168 cat >>conftest.$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14170 #define _GNU_SOURCE
14171 #include <pthread.h>
14173 typedef pthread_rwlock_t ac__type_new_;
14175 main ()
14177 if ((ac__type_new_ *) 0)
14178 return 0;
14179 if (sizeof (ac__type_new_))
14180 return 0;
14182 return 0;
14184 _ACEOF
14185 rm -f conftest.$ac_objext
14186 if { (ac_try="$ac_compile"
14187 case "(($ac_try" in
14188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14189 *) ac_try_echo=$ac_try;;
14190 esac
14191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14192 (eval "$ac_compile") 2>conftest.er1
14193 ac_status=$?
14194 grep -v '^ *+' conftest.er1 >conftest.err
14195 rm -f conftest.er1
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } && {
14199 test -z "$ac_c_werror_flag" ||
14200 test ! -s conftest.err
14201 } && test -s conftest.$ac_objext; then
14202 ac_cv_type_pthread_rwlock_t=yes
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 ac_cv_type_pthread_rwlock_t=no
14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14212 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14213 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14214 if test $ac_cv_type_pthread_rwlock_t = yes; then
14216 cat >>confdefs.h <<_ACEOF
14217 #define HAVE_PTHREAD_RWLOCK_T 1
14218 _ACEOF
14222 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14223 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14224 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 #define _GNU_SOURCE
14234 #include <pthread.h>
14236 typedef pthread_rwlockattr_t ac__type_new_;
14238 main ()
14240 if ((ac__type_new_ *) 0)
14241 return 0;
14242 if (sizeof (ac__type_new_))
14243 return 0;
14245 return 0;
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (ac_try="$ac_compile"
14250 case "(($ac_try" in
14251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14252 *) ac_try_echo=$ac_try;;
14253 esac
14254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14255 (eval "$ac_compile") 2>conftest.er1
14256 ac_status=$?
14257 grep -v '^ *+' conftest.er1 >conftest.err
14258 rm -f conftest.er1
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } && {
14262 test -z "$ac_c_werror_flag" ||
14263 test ! -s conftest.err
14264 } && test -s conftest.$ac_objext; then
14265 ac_cv_type_pthread_rwlockattr_t=yes
14266 else
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14270 ac_cv_type_pthread_rwlockattr_t=no
14273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14276 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14277 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14279 cat >>confdefs.h <<_ACEOF
14280 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14281 _ACEOF
14287 ac_wine_check_funcs_save_LIBS="$LIBS"
14288 LIBS="$LIBS $LIBPTHREAD"
14293 for ac_func in \
14294 pthread_attr_get_np \
14295 pthread_getattr_np \
14296 pthread_get_stackaddr_np \
14297 pthread_get_stacksize_np
14299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 else
14305 cat >conftest.$ac_ext <<_ACEOF
14306 /* confdefs.h. */
14307 _ACEOF
14308 cat confdefs.h >>conftest.$ac_ext
14309 cat >>conftest.$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14313 #define $ac_func innocuous_$ac_func
14315 /* System header to define __stub macros and hopefully few prototypes,
14316 which can conflict with char $ac_func (); below.
14317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14318 <limits.h> exists even on freestanding compilers. */
14320 #ifdef __STDC__
14321 # include <limits.h>
14322 #else
14323 # include <assert.h>
14324 #endif
14326 #undef $ac_func
14328 /* Override any GCC internal prototype to avoid an error.
14329 Use char because int might match the return type of a GCC
14330 builtin and then its argument prototype would still apply. */
14331 #ifdef __cplusplus
14332 extern "C"
14333 #endif
14334 char $ac_func ();
14335 /* The GNU C library defines this for functions which it implements
14336 to always fail with ENOSYS. Some functions are actually named
14337 something starting with __ and the normal name is an alias. */
14338 #if defined __stub_$ac_func || defined __stub___$ac_func
14339 choke me
14340 #endif
14343 main ()
14345 return $ac_func ();
14347 return 0;
14349 _ACEOF
14350 rm -f conftest.$ac_objext conftest$ac_exeext
14351 if { (ac_try="$ac_link"
14352 case "(($ac_try" in
14353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14354 *) ac_try_echo=$ac_try;;
14355 esac
14356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14357 (eval "$ac_link") 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } && {
14364 test -z "$ac_c_werror_flag" ||
14365 test ! -s conftest.err
14366 } && test -s conftest$ac_exeext &&
14367 $as_test_x conftest$ac_exeext; then
14368 eval "$as_ac_var=yes"
14369 else
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14373 eval "$as_ac_var=no"
14376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14377 conftest$ac_exeext conftest.$ac_ext
14379 ac_res=`eval echo '${'$as_ac_var'}'`
14380 { echo "$as_me:$LINENO: result: $ac_res" >&5
14381 echo "${ECHO_T}$ac_res" >&6; }
14382 if test `eval echo '${'$as_ac_var'}'` = yes; then
14383 cat >>confdefs.h <<_ACEOF
14384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14385 _ACEOF
14388 done
14390 LIBS="$ac_wine_check_funcs_save_LIBS"
14392 # Extract the first word of "esd-config", so it can be a program name with args.
14393 set dummy esd-config; ac_word=$2
14394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14396 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 else
14399 case $ESDCONFIG in
14400 [\\/]* | ?:[\\/]*)
14401 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14405 for as_dir in $PATH
14407 IFS=$as_save_IFS
14408 test -z "$as_dir" && as_dir=.
14409 for ac_exec_ext in '' $ac_executable_extensions; do
14410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14411 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14413 break 2
14415 done
14416 done
14417 IFS=$as_save_IFS
14420 esac
14422 ESDCONFIG=$ac_cv_path_ESDCONFIG
14423 if test -n "$ESDCONFIG"; then
14424 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14425 echo "${ECHO_T}$ESDCONFIG" >&6; }
14426 else
14427 { echo "$as_me:$LINENO: result: no" >&5
14428 echo "${ECHO_T}no" >&6; }
14432 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14433 then
14434 ESD_CFLAGS=""
14435 for i in `$ESDCONFIG --cflags`
14437 case "$i" in
14438 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14439 esac
14440 done
14441 ESD_LIBS=`$ESDCONFIG --libs`
14442 save_CFLAGS="$CFLAGS"
14443 CFLAGS="$CFLAGS $ESD_CFLAGS"
14444 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14445 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14446 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 else
14449 ac_check_lib_save_LIBS=$LIBS
14450 LIBS="-lesd $LIBS"
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14458 /* Override any GCC internal prototype to avoid an error.
14459 Use char because int might match the return type of a GCC
14460 builtin and then its argument prototype would still apply. */
14461 #ifdef __cplusplus
14462 extern "C"
14463 #endif
14464 char esd_open_sound ();
14466 main ()
14468 return esd_open_sound ();
14470 return 0;
14472 _ACEOF
14473 rm -f conftest.$ac_objext conftest$ac_exeext
14474 if { (ac_try="$ac_link"
14475 case "(($ac_try" in
14476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14477 *) ac_try_echo=$ac_try;;
14478 esac
14479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480 (eval "$ac_link") 2>conftest.er1
14481 ac_status=$?
14482 grep -v '^ *+' conftest.er1 >conftest.err
14483 rm -f conftest.er1
14484 cat conftest.err >&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); } && {
14487 test -z "$ac_c_werror_flag" ||
14488 test ! -s conftest.err
14489 } && test -s conftest$ac_exeext &&
14490 $as_test_x conftest$ac_exeext; then
14491 ac_cv_lib_esd_esd_open_sound=yes
14492 else
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 ac_cv_lib_esd_esd_open_sound=no
14499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14504 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14505 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14506 ESDLIBS=$ESD_LIBS
14508 ESDINCL=$ESD_CFLAGS
14511 cat >>confdefs.h <<\_ACEOF
14512 #define HAVE_ESD 1
14513 _ACEOF
14517 CFLAGS="$save_CFLAGS"
14520 ALSALIBS=""
14522 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14523 then
14524 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14525 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14526 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 ac_check_lib_save_LIBS=$LIBS
14530 LIBS="-lasound $LIBS"
14531 cat >conftest.$ac_ext <<_ACEOF
14532 /* confdefs.h. */
14533 _ACEOF
14534 cat confdefs.h >>conftest.$ac_ext
14535 cat >>conftest.$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 #ifdef __cplusplus
14542 extern "C"
14543 #endif
14544 char snd_pcm_hw_params_get_access ();
14546 main ()
14548 return snd_pcm_hw_params_get_access ();
14550 return 0;
14552 _ACEOF
14553 rm -f conftest.$ac_objext conftest$ac_exeext
14554 if { (ac_try="$ac_link"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest$ac_exeext &&
14570 $as_test_x conftest$ac_exeext; then
14571 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14572 else
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14576 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_lib_save_LIBS
14583 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14584 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14585 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14586 cat >conftest.$ac_ext <<_ACEOF
14587 /* confdefs.h. */
14588 _ACEOF
14589 cat confdefs.h >>conftest.$ac_ext
14590 cat >>conftest.$ac_ext <<_ACEOF
14591 /* end confdefs.h. */
14592 #ifdef HAVE_ALSA_ASOUNDLIB_H
14593 #include <alsa/asoundlib.h>
14594 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14595 #include <sys/asoundlib.h>
14596 #endif
14598 main ()
14600 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14602 return 0;
14604 _ACEOF
14605 rm -f conftest.$ac_objext
14606 if { (ac_try="$ac_compile"
14607 case "(($ac_try" in
14608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14609 *) ac_try_echo=$ac_try;;
14610 esac
14611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14612 (eval "$ac_compile") 2>conftest.er1
14613 ac_status=$?
14614 grep -v '^ *+' conftest.er1 >conftest.err
14615 rm -f conftest.er1
14616 cat conftest.err >&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } && {
14619 test -z "$ac_c_werror_flag" ||
14620 test ! -s conftest.err
14621 } && test -s conftest.$ac_objext; then
14623 cat >>confdefs.h <<\_ACEOF
14624 #define HAVE_ALSA 1
14625 _ACEOF
14627 ALSALIBS="-lasound"
14628 else
14629 echo "$as_me: failed program was:" >&5
14630 sed 's/^/| /' conftest.$ac_ext >&5
14635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14640 AUDIOIOLIBS=""
14642 if test "$ac_cv_header_libaudioio_h" = "yes"
14643 then
14644 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14645 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14646 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14647 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 else
14649 ac_check_lib_save_LIBS=$LIBS
14650 LIBS="-laudioio $LIBS"
14651 cat >conftest.$ac_ext <<_ACEOF
14652 /* confdefs.h. */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 char AudioIOGetVersion ();
14666 main ()
14668 return AudioIOGetVersion ();
14670 return 0;
14672 _ACEOF
14673 rm -f conftest.$ac_objext conftest$ac_exeext
14674 if { (ac_try="$ac_link"
14675 case "(($ac_try" in
14676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14677 *) ac_try_echo=$ac_try;;
14678 esac
14679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14680 (eval "$ac_link") 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } && {
14687 test -z "$ac_c_werror_flag" ||
14688 test ! -s conftest.err
14689 } && test -s conftest$ac_exeext &&
14690 $as_test_x conftest$ac_exeext; then
14691 ac_cv_lib_audioio_AudioIOGetVersion=yes
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14696 ac_cv_lib_audioio_AudioIOGetVersion=no
14699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14700 conftest$ac_exeext conftest.$ac_ext
14701 LIBS=$ac_check_lib_save_LIBS
14703 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14704 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14705 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14706 AUDIOIOLIBS="-laudioio"
14708 cat >>confdefs.h <<\_ACEOF
14709 #define HAVE_LIBAUDIOIO 1
14710 _ACEOF
14717 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14718 then
14719 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14720 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14721 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 else
14724 ac_check_soname_save_LIBS=$LIBS
14725 LIBS="-lcapi20 $LIBS"
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14736 #ifdef __cplusplus
14737 extern "C"
14738 #endif
14739 char capi20_register ();
14741 main ()
14743 return capi20_register ();
14745 return 0;
14747 _ACEOF
14748 rm -f conftest.$ac_objext conftest$ac_exeext
14749 if { (ac_try="$ac_link"
14750 case "(($ac_try" in
14751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14752 *) ac_try_echo=$ac_try;;
14753 esac
14754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14755 (eval "$ac_link") 2>conftest.er1
14756 ac_status=$?
14757 grep -v '^ *+' conftest.er1 >conftest.err
14758 rm -f conftest.er1
14759 cat conftest.err >&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } && {
14762 test -z "$ac_c_werror_flag" ||
14763 test ! -s conftest.err
14764 } && test -s conftest$ac_exeext &&
14765 $as_test_x conftest$ac_exeext; then
14766 case "$LIBEXT" in
14767 dll) ;;
14768 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'` ;;
14769 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14770 esac
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14779 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_soname_save_LIBS
14782 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14783 { echo "$as_me:$LINENO: result: not found" >&5
14784 echo "${ECHO_T}not found" >&6; }
14786 else
14787 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14788 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14790 cat >>confdefs.h <<_ACEOF
14791 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14792 _ACEOF
14798 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14799 case "x$with_capi" in
14800 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14801 xno) ;;
14802 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14803 This is an error since --with-capi was requested." >&5
14804 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14805 This is an error since --with-capi was requested." >&2;}
14806 { (exit 1); exit 1; }; } ;;
14807 esac
14811 if test "$ac_cv_header_cups_cups_h" = "yes"
14812 then
14813 { echo "$as_me:$LINENO: checking for -lcups" >&5
14814 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14815 if test "${ac_cv_lib_soname_cups+set}" = set; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 else
14818 ac_check_soname_save_LIBS=$LIBS
14819 LIBS="-lcups $LIBS"
14820 cat >conftest.$ac_ext <<_ACEOF
14821 /* confdefs.h. */
14822 _ACEOF
14823 cat confdefs.h >>conftest.$ac_ext
14824 cat >>conftest.$ac_ext <<_ACEOF
14825 /* end confdefs.h. */
14827 /* Override any GCC internal prototype to avoid an error.
14828 Use char because int might match the return type of a GCC
14829 builtin and then its argument prototype would still apply. */
14830 #ifdef __cplusplus
14831 extern "C"
14832 #endif
14833 char cupsGetDefault ();
14835 main ()
14837 return cupsGetDefault ();
14839 return 0;
14841 _ACEOF
14842 rm -f conftest.$ac_objext conftest$ac_exeext
14843 if { (ac_try="$ac_link"
14844 case "(($ac_try" in
14845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14846 *) ac_try_echo=$ac_try;;
14847 esac
14848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14849 (eval "$ac_link") 2>conftest.er1
14850 ac_status=$?
14851 grep -v '^ *+' conftest.er1 >conftest.err
14852 rm -f conftest.er1
14853 cat conftest.err >&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } && {
14856 test -z "$ac_c_werror_flag" ||
14857 test ! -s conftest.err
14858 } && test -s conftest$ac_exeext &&
14859 $as_test_x conftest$ac_exeext; then
14860 case "$LIBEXT" in
14861 dll) ;;
14862 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'` ;;
14863 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14864 esac
14865 else
14866 echo "$as_me: failed program was:" >&5
14867 sed 's/^/| /' conftest.$ac_ext >&5
14872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_soname_save_LIBS
14876 if test "x$ac_cv_lib_soname_cups" = "x"; then
14877 { echo "$as_me:$LINENO: result: not found" >&5
14878 echo "${ECHO_T}not found" >&6; }
14880 else
14881 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14882 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14884 cat >>confdefs.h <<_ACEOF
14885 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14886 _ACEOF
14892 if test "x$ac_cv_lib_soname_cups" = "x"; then
14893 case "x$with_cups" in
14894 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14895 xno) ;;
14896 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14897 This is an error since --with-cups was requested." >&5
14898 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14899 This is an error since --with-cups was requested." >&2;}
14900 { (exit 1); exit 1; }; } ;;
14901 esac
14905 if test "$ac_cv_header_jack_jack_h" = "yes"
14906 then
14907 { echo "$as_me:$LINENO: checking for -ljack" >&5
14908 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14909 if test "${ac_cv_lib_soname_jack+set}" = set; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 else
14912 ac_check_soname_save_LIBS=$LIBS
14913 LIBS="-ljack $LIBS"
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14921 /* Override any GCC internal prototype to avoid an error.
14922 Use char because int might match the return type of a GCC
14923 builtin and then its argument prototype would still apply. */
14924 #ifdef __cplusplus
14925 extern "C"
14926 #endif
14927 char jack_client_new ();
14929 main ()
14931 return jack_client_new ();
14933 return 0;
14935 _ACEOF
14936 rm -f conftest.$ac_objext conftest$ac_exeext
14937 if { (ac_try="$ac_link"
14938 case "(($ac_try" in
14939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14940 *) ac_try_echo=$ac_try;;
14941 esac
14942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14943 (eval "$ac_link") 2>conftest.er1
14944 ac_status=$?
14945 grep -v '^ *+' conftest.er1 >conftest.err
14946 rm -f conftest.er1
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } && {
14950 test -z "$ac_c_werror_flag" ||
14951 test ! -s conftest.err
14952 } && test -s conftest$ac_exeext &&
14953 $as_test_x conftest$ac_exeext; then
14954 case "$LIBEXT" in
14955 dll) ;;
14956 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'` ;;
14957 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14958 esac
14959 else
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.$ac_ext >&5
14966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14967 conftest$ac_exeext conftest.$ac_ext
14968 LIBS=$ac_check_soname_save_LIBS
14970 if test "x$ac_cv_lib_soname_jack" = "x"; then
14971 { echo "$as_me:$LINENO: result: not found" >&5
14972 echo "${ECHO_T}not found" >&6; }
14974 else
14975 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14976 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14978 cat >>confdefs.h <<_ACEOF
14979 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14980 _ACEOF
14987 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14988 then
14989 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14990 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14991 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 else
14994 ac_check_soname_save_LIBS=$LIBS
14995 LIBS="-lfontconfig $LIBS"
14996 cat >conftest.$ac_ext <<_ACEOF
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15003 /* Override any GCC internal prototype to avoid an error.
15004 Use char because int might match the return type of a GCC
15005 builtin and then its argument prototype would still apply. */
15006 #ifdef __cplusplus
15007 extern "C"
15008 #endif
15009 char FcInit ();
15011 main ()
15013 return FcInit ();
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 case "$LIBEXT" in
15037 dll) ;;
15038 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'` ;;
15039 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15040 esac
15041 else
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15049 conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_soname_save_LIBS
15052 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15053 { echo "$as_me:$LINENO: result: not found" >&5
15054 echo "${ECHO_T}not found" >&6; }
15056 else
15057 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15058 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15060 cat >>confdefs.h <<_ACEOF
15061 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15062 _ACEOF
15067 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15068 then
15069 ac_save_CPPFLAGS="$CPPFLAGS"
15070 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15071 $as_unset ac_cv_header_fontconfig_fontconfig_h
15073 for ac_header in fontconfig/fontconfig.h
15075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 ac_res=`eval echo '${'$as_ac_Header'}'`
15083 { echo "$as_me:$LINENO: result: $ac_res" >&5
15084 echo "${ECHO_T}$ac_res" >&6; }
15085 else
15086 # Is the header compilable?
15087 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15089 cat >conftest.$ac_ext <<_ACEOF
15090 /* confdefs.h. */
15091 _ACEOF
15092 cat confdefs.h >>conftest.$ac_ext
15093 cat >>conftest.$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 $ac_includes_default
15096 #include <$ac_header>
15097 _ACEOF
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15103 esac
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15106 ac_status=$?
15107 grep -v '^ *+' conftest.er1 >conftest.err
15108 rm -f conftest.er1
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 ac_header_compiler=yes
15116 else
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 ac_header_compiler=no
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15125 echo "${ECHO_T}$ac_header_compiler" >&6; }
15127 # Is the header present?
15128 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15130 cat >conftest.$ac_ext <<_ACEOF
15131 /* confdefs.h. */
15132 _ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15136 #include <$ac_header>
15137 _ACEOF
15138 if { (ac_try="$ac_cpp conftest.$ac_ext"
15139 case "(($ac_try" in
15140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15141 *) ac_try_echo=$ac_try;;
15142 esac
15143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15144 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15145 ac_status=$?
15146 grep -v '^ *+' conftest.er1 >conftest.err
15147 rm -f conftest.er1
15148 cat conftest.err >&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } >/dev/null && {
15151 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15152 test ! -s conftest.err
15153 }; then
15154 ac_header_preproc=yes
15155 else
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.$ac_ext >&5
15159 ac_header_preproc=no
15162 rm -f conftest.err conftest.$ac_ext
15163 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15164 echo "${ECHO_T}$ac_header_preproc" >&6; }
15166 # So? What about this header?
15167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15168 yes:no: )
15169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15173 ac_header_preproc=yes
15175 no:yes:* )
15176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15188 ( cat <<\_ASBOX
15189 ## ------------------------------------ ##
15190 ## Report this to wine-devel@winehq.org ##
15191 ## ------------------------------------ ##
15192 _ASBOX
15193 ) | sed "s/^/$as_me: WARNING: /" >&2
15195 esac
15196 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 else
15201 eval "$as_ac_Header=\$ac_header_preproc"
15203 ac_res=`eval echo '${'$as_ac_Header'}'`
15204 { echo "$as_me:$LINENO: result: $ac_res" >&5
15205 echo "${ECHO_T}$ac_res" >&6; }
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h <<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15211 _ACEOF
15215 done
15217 CPPFLAGS="$ac_save_CPPFLAGS"
15218 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15219 then
15220 FONTCONFIGINCL="$X_CFLAGS"
15222 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15223 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15224 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15225 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 else
15227 ac_check_soname_save_LIBS=$LIBS
15228 LIBS="-lfontconfig $X_LIBS $LIBS"
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 #ifdef __cplusplus
15240 extern "C"
15241 #endif
15242 char FcInit ();
15244 main ()
15246 return FcInit ();
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 case "$LIBEXT" in
15270 dll) ;;
15271 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'` ;;
15272 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15273 esac
15274 else
15275 echo "$as_me: failed program was:" >&5
15276 sed 's/^/| /' conftest.$ac_ext >&5
15281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15286 { echo "$as_me:$LINENO: result: not found" >&5
15287 echo "${ECHO_T}not found" >&6; }
15289 else
15290 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15291 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15295 _ACEOF
15302 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15303 case "x$with_fontconfig" in
15304 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15305 xno) ;;
15306 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15307 This is an error since --with-fontconfig was requested." >&5
15308 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15309 This is an error since --with-fontconfig was requested." >&2;}
15310 { (exit 1); exit 1; }; } ;;
15311 esac
15315 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15316 then
15317 { echo "$as_me:$LINENO: checking for -lssl" >&5
15318 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15319 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15321 else
15322 ac_check_soname_save_LIBS=$LIBS
15323 LIBS="-lssl $LIBS"
15324 cat >conftest.$ac_ext <<_ACEOF
15325 /* confdefs.h. */
15326 _ACEOF
15327 cat confdefs.h >>conftest.$ac_ext
15328 cat >>conftest.$ac_ext <<_ACEOF
15329 /* end confdefs.h. */
15331 /* Override any GCC internal prototype to avoid an error.
15332 Use char because int might match the return type of a GCC
15333 builtin and then its argument prototype would still apply. */
15334 #ifdef __cplusplus
15335 extern "C"
15336 #endif
15337 char SSL_library_init ();
15339 main ()
15341 return SSL_library_init ();
15343 return 0;
15345 _ACEOF
15346 rm -f conftest.$ac_objext conftest$ac_exeext
15347 if { (ac_try="$ac_link"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15351 esac
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_link") 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_c_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest$ac_exeext &&
15363 $as_test_x conftest$ac_exeext; then
15364 case "$LIBEXT" in
15365 dll) ;;
15366 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'` ;;
15367 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15368 esac
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_soname_save_LIBS
15380 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15381 { echo "$as_me:$LINENO: result: not found" >&5
15382 echo "${ECHO_T}not found" >&6; }
15384 else
15385 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15386 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15390 _ACEOF
15395 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15396 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15397 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 else
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lcrypto $LIBS"
15402 cat >conftest.$ac_ext <<_ACEOF
15403 /* confdefs.h. */
15404 _ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15409 /* Override any GCC internal prototype to avoid an error.
15410 Use char because int might match the return type of a GCC
15411 builtin and then its argument prototype would still apply. */
15412 #ifdef __cplusplus
15413 extern "C"
15414 #endif
15415 char BIO_new_socket ();
15417 main ()
15419 return BIO_new_socket ();
15421 return 0;
15423 _ACEOF
15424 rm -f conftest.$ac_objext conftest$ac_exeext
15425 if { (ac_try="$ac_link"
15426 case "(($ac_try" in
15427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428 *) ac_try_echo=$ac_try;;
15429 esac
15430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15431 (eval "$ac_link") 2>conftest.er1
15432 ac_status=$?
15433 grep -v '^ *+' conftest.er1 >conftest.err
15434 rm -f conftest.er1
15435 cat conftest.err >&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } && {
15438 test -z "$ac_c_werror_flag" ||
15439 test ! -s conftest.err
15440 } && test -s conftest$ac_exeext &&
15441 $as_test_x conftest$ac_exeext; then
15442 case "$LIBEXT" in
15443 dll) ;;
15444 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'` ;;
15445 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15446 esac
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_check_soname_save_LIBS
15458 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15459 { echo "$as_me:$LINENO: result: not found" >&5
15460 echo "${ECHO_T}not found" >&6; }
15462 else
15463 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15464 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15466 cat >>confdefs.h <<_ACEOF
15467 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15468 _ACEOF
15474 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15475 case "x$with_openssl" in
15476 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15477 xno) ;;
15478 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15479 This is an error since --with-openssl was requested." >&5
15480 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15481 This is an error since --with-openssl was requested." >&2;}
15482 { (exit 1); exit 1; }; } ;;
15483 esac
15487 if test "$ac_cv_header_jpeglib_h" = "yes"
15488 then
15489 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15490 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15491 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494 ac_check_soname_save_LIBS=$LIBS
15495 LIBS="-ljpeg $LIBS"
15496 cat >conftest.$ac_ext <<_ACEOF
15497 /* confdefs.h. */
15498 _ACEOF
15499 cat confdefs.h >>conftest.$ac_ext
15500 cat >>conftest.$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15503 /* Override any GCC internal prototype to avoid an error.
15504 Use char because int might match the return type of a GCC
15505 builtin and then its argument prototype would still apply. */
15506 #ifdef __cplusplus
15507 extern "C"
15508 #endif
15509 char jpeg_start_decompress ();
15511 main ()
15513 return jpeg_start_decompress ();
15515 return 0;
15517 _ACEOF
15518 rm -f conftest.$ac_objext conftest$ac_exeext
15519 if { (ac_try="$ac_link"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15523 esac
15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_link") 2>conftest.er1
15526 ac_status=$?
15527 grep -v '^ *+' conftest.er1 >conftest.err
15528 rm -f conftest.er1
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest$ac_exeext &&
15535 $as_test_x conftest$ac_exeext; then
15536 case "$LIBEXT" in
15537 dll) ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15540 esac
15541 else
15542 echo "$as_me: failed program was:" >&5
15543 sed 's/^/| /' conftest.$ac_ext >&5
15548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15553 { echo "$as_me:$LINENO: result: not found" >&5
15554 echo "${ECHO_T}not found" >&6; }
15556 else
15557 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15558 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15562 _ACEOF
15568 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15569 case "x$with_jpeg" in
15570 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15571 xno) ;;
15572 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15573 This is an error since --with-jpeg was requested." >&5
15574 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15575 This is an error since --with-jpeg was requested." >&2;}
15576 { (exit 1); exit 1; }; } ;;
15577 esac
15581 if test "$ac_cv_header_png_h" = "yes"
15582 then
15583 { echo "$as_me:$LINENO: checking for -lpng" >&5
15584 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15585 if test "${ac_cv_lib_soname_png+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-lpng $LIBS"
15590 cat >conftest.$ac_ext <<_ACEOF
15591 /* confdefs.h. */
15592 _ACEOF
15593 cat confdefs.h >>conftest.$ac_ext
15594 cat >>conftest.$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char png_create_read_struct ();
15605 main ()
15607 return png_create_read_struct ();
15609 return 0;
15611 _ACEOF
15612 rm -f conftest.$ac_objext conftest$ac_exeext
15613 if { (ac_try="$ac_link"
15614 case "(($ac_try" in
15615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15616 *) ac_try_echo=$ac_try;;
15617 esac
15618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15619 (eval "$ac_link") 2>conftest.er1
15620 ac_status=$?
15621 grep -v '^ *+' conftest.er1 >conftest.err
15622 rm -f conftest.er1
15623 cat conftest.err >&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } && {
15626 test -z "$ac_c_werror_flag" ||
15627 test ! -s conftest.err
15628 } && test -s conftest$ac_exeext &&
15629 $as_test_x conftest$ac_exeext; then
15630 case "$LIBEXT" in
15631 dll) ;;
15632 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'` ;;
15633 *) 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'` ;;
15634 esac
15635 else
15636 echo "$as_me: failed program was:" >&5
15637 sed 's/^/| /' conftest.$ac_ext >&5
15642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15643 conftest$ac_exeext conftest.$ac_ext
15644 LIBS=$ac_check_soname_save_LIBS
15646 if test "x$ac_cv_lib_soname_png" = "x"; then
15647 { echo "$as_me:$LINENO: result: not found" >&5
15648 echo "${ECHO_T}not found" >&6; }
15650 else
15651 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15652 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15654 cat >>confdefs.h <<_ACEOF
15655 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15656 _ACEOF
15662 if test "x$ac_cv_lib_soname_png" = "x"; then
15663 case "x$with_png" in
15664 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15665 xno) ;;
15666 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15667 This is an error since --with-png was requested." >&5
15668 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15669 This is an error since --with-png was requested." >&2;}
15670 { (exit 1); exit 1; }; } ;;
15671 esac
15675 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15676 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15677 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 else
15680 ac_check_soname_save_LIBS=$LIBS
15681 LIBS="-lodbc $LIBS"
15682 cat >conftest.$ac_ext <<_ACEOF
15683 /* confdefs.h. */
15684 _ACEOF
15685 cat confdefs.h >>conftest.$ac_ext
15686 cat >>conftest.$ac_ext <<_ACEOF
15687 /* end confdefs.h. */
15689 /* Override any GCC internal prototype to avoid an error.
15690 Use char because int might match the return type of a GCC
15691 builtin and then its argument prototype would still apply. */
15692 #ifdef __cplusplus
15693 extern "C"
15694 #endif
15695 char SQLConnect ();
15697 main ()
15699 return SQLConnect ();
15701 return 0;
15703 _ACEOF
15704 rm -f conftest.$ac_objext conftest$ac_exeext
15705 if { (ac_try="$ac_link"
15706 case "(($ac_try" in
15707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15709 esac
15710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_link") 2>conftest.er1
15712 ac_status=$?
15713 grep -v '^ *+' conftest.er1 >conftest.err
15714 rm -f conftest.er1
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } && {
15718 test -z "$ac_c_werror_flag" ||
15719 test ! -s conftest.err
15720 } && test -s conftest$ac_exeext &&
15721 $as_test_x conftest$ac_exeext; then
15722 case "$LIBEXT" in
15723 dll) ;;
15724 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15725 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15726 esac
15727 else
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15735 conftest$ac_exeext conftest.$ac_ext
15736 LIBS=$ac_check_soname_save_LIBS
15738 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15739 { echo "$as_me:$LINENO: result: not found" >&5
15740 echo "${ECHO_T}not found" >&6; }
15741 cat >>confdefs.h <<_ACEOF
15742 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15743 _ACEOF
15745 else
15746 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15747 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15749 cat >>confdefs.h <<_ACEOF
15750 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15751 _ACEOF
15757 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15758 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15759 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15760 "$ac_cv_header_soundcard_h" != "yes" -a \
15761 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15762 then
15763 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15767 EXTRACFLAGS=""
15769 if test "x${GCC}" = "xyes"
15770 then
15771 EXTRACFLAGS="-Wall -pipe"
15773 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15774 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15775 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15776 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 else
15778 if test "$cross_compiling" = yes; then
15779 ac_cv_c_gcc_strength_bug="yes"
15780 else
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 int L[4] = {0,1,2,3};
15789 main ()
15791 static int Array[3];
15792 unsigned int B = 3;
15793 int i;
15794 for(i=0; i<B; i++) Array[i] = i - 3;
15795 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15796 L[i] = 4;
15797 exit( Array[1] != -2 || L[2] != 3)
15799 return 0;
15801 _ACEOF
15802 rm -f conftest$ac_exeext
15803 if { (ac_try="$ac_link"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_link") 2>&5
15810 ac_status=$?
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15813 { (case "(($ac_try" in
15814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815 *) ac_try_echo=$ac_try;;
15816 esac
15817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15818 (eval "$ac_try") 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_c_gcc_strength_bug="no"
15823 else
15824 echo "$as_me: program exited with status $ac_status" >&5
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15828 ( exit $ac_status )
15829 ac_cv_c_gcc_strength_bug="yes"
15831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15836 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15837 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15838 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15839 then
15840 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15844 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15845 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15846 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15849 ac_wine_try_cflags_saved=$CFLAGS
15850 CFLAGS="$CFLAGS -fshort-wchar"
15851 cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15859 main ()
15863 return 0;
15865 _ACEOF
15866 rm -f conftest.$ac_objext conftest$ac_exeext
15867 if { (ac_try="$ac_link"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_link") 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } && {
15880 test -z "$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15882 } && test -s conftest$ac_exeext &&
15883 $as_test_x conftest$ac_exeext; then
15884 ac_cv_cflags__fshort_wchar=yes
15885 else
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5
15889 ac_cv_cflags__fshort_wchar=no
15892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15893 conftest$ac_exeext conftest.$ac_ext
15894 CFLAGS=$ac_wine_try_cflags_saved
15896 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15897 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15898 if test $ac_cv_cflags__fshort_wchar = yes; then
15900 cat >>confdefs.h <<\_ACEOF
15901 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15902 _ACEOF
15906 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15907 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15908 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 else
15911 ac_wine_try_cflags_saved=$CFLAGS
15912 CFLAGS="$CFLAGS -fno-strict-aliasing"
15913 cat >conftest.$ac_ext <<_ACEOF
15914 /* confdefs.h. */
15915 _ACEOF
15916 cat confdefs.h >>conftest.$ac_ext
15917 cat >>conftest.$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15921 main ()
15925 return 0;
15927 _ACEOF
15928 rm -f conftest.$ac_objext conftest$ac_exeext
15929 if { (ac_try="$ac_link"
15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_link") 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && {
15942 test -z "$ac_c_werror_flag" ||
15943 test ! -s conftest.err
15944 } && test -s conftest$ac_exeext &&
15945 $as_test_x conftest$ac_exeext; then
15946 ac_cv_cflags__fno_strict_aliasing=yes
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15951 ac_cv_cflags__fno_strict_aliasing=no
15954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15955 conftest$ac_exeext conftest.$ac_ext
15956 CFLAGS=$ac_wine_try_cflags_saved
15958 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15959 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15960 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15961 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15964 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15965 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15966 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969 ac_wine_try_cflags_saved=$CFLAGS
15970 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15979 main ()
15983 return 0;
15985 _ACEOF
15986 rm -f conftest.$ac_objext conftest$ac_exeext
15987 if { (ac_try="$ac_link"
15988 case "(($ac_try" in
15989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15991 esac
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_link") 2>conftest.er1
15994 ac_status=$?
15995 grep -v '^ *+' conftest.er1 >conftest.err
15996 rm -f conftest.er1
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } && {
16000 test -z "$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16002 } && test -s conftest$ac_exeext &&
16003 $as_test_x conftest$ac_exeext; then
16004 ac_cv_cflags__Wdeclaration_after_statement=yes
16005 else
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.$ac_ext >&5
16009 ac_cv_cflags__Wdeclaration_after_statement=no
16012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16013 conftest$ac_exeext conftest.$ac_ext
16014 CFLAGS=$ac_wine_try_cflags_saved
16016 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16017 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16018 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16019 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16022 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16023 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16024 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16025 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 else
16027 ac_wine_try_cflags_saved=$CFLAGS
16028 CFLAGS="$CFLAGS -Wwrite-strings"
16029 cat >conftest.$ac_ext <<_ACEOF
16030 /* confdefs.h. */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16037 main ()
16041 return 0;
16043 _ACEOF
16044 rm -f conftest.$ac_objext conftest$ac_exeext
16045 if { (ac_try="$ac_link"
16046 case "(($ac_try" in
16047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16048 *) ac_try_echo=$ac_try;;
16049 esac
16050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16051 (eval "$ac_link") 2>conftest.er1
16052 ac_status=$?
16053 grep -v '^ *+' conftest.er1 >conftest.err
16054 rm -f conftest.er1
16055 cat conftest.err >&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } && {
16058 test -z "$ac_c_werror_flag" ||
16059 test ! -s conftest.err
16060 } && test -s conftest$ac_exeext &&
16061 $as_test_x conftest$ac_exeext; then
16062 ac_cv_cflags__Wwrite_strings=yes
16063 else
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.$ac_ext >&5
16067 ac_cv_cflags__Wwrite_strings=no
16070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16071 conftest$ac_exeext conftest.$ac_ext
16072 CFLAGS=$ac_wine_try_cflags_saved
16074 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16075 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16076 if test $ac_cv_cflags__Wwrite_strings = yes; then
16077 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16080 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16081 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16082 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085 ac_wine_try_cflags_saved=$CFLAGS
16086 CFLAGS="$CFLAGS -Wtype-limits"
16087 cat >conftest.$ac_ext <<_ACEOF
16088 /* confdefs.h. */
16089 _ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16095 main ()
16099 return 0;
16101 _ACEOF
16102 rm -f conftest.$ac_objext conftest$ac_exeext
16103 if { (ac_try="$ac_link"
16104 case "(($ac_try" in
16105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16106 *) ac_try_echo=$ac_try;;
16107 esac
16108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16109 (eval "$ac_link") 2>conftest.er1
16110 ac_status=$?
16111 grep -v '^ *+' conftest.er1 >conftest.err
16112 rm -f conftest.er1
16113 cat conftest.err >&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } && {
16116 test -z "$ac_c_werror_flag" ||
16117 test ! -s conftest.err
16118 } && test -s conftest$ac_exeext &&
16119 $as_test_x conftest$ac_exeext; then
16120 ac_cv_cflags__Wtype_limits=yes
16121 else
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.$ac_ext >&5
16125 ac_cv_cflags__Wtype_limits=no
16128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16129 conftest$ac_exeext conftest.$ac_ext
16130 CFLAGS=$ac_wine_try_cflags_saved
16132 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16133 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16134 if test $ac_cv_cflags__Wtype_limits = yes; then
16135 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16139 saved_CFLAGS="$CFLAGS"
16140 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16141 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16142 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16143 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 else
16146 cat >conftest.$ac_ext <<_ACEOF
16147 /* confdefs.h. */
16148 _ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152 #include <string.h>
16154 main ()
16158 return 0;
16160 _ACEOF
16161 rm -f conftest.$ac_objext
16162 if { (ac_try="$ac_compile"
16163 case "(($ac_try" in
16164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16165 *) ac_try_echo=$ac_try;;
16166 esac
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_compile") 2>conftest.er1
16169 ac_status=$?
16170 grep -v '^ *+' conftest.er1 >conftest.err
16171 rm -f conftest.er1
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } && {
16175 test -z "$ac_c_werror_flag" ||
16176 test ! -s conftest.err
16177 } && test -s conftest.$ac_objext; then
16178 ac_cv_c_string_h_warnings=no
16179 else
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 ac_cv_c_string_h_warnings=yes
16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16189 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16190 CFLAGS="$saved_CFLAGS"
16191 if test "$ac_cv_c_string_h_warnings" = "no"
16192 then
16193 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16196 BUILTINFLAG=""
16198 saved_CFLAGS="$CFLAGS"
16199 CFLAGS="$CFLAGS -Werror"
16200 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16201 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16202 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 else
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16213 main ()
16215 int iswlower(unsigned short);
16217 return 0;
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 ac_cv_c_builtin_wchar_ctype=no
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 ac_cv_c_builtin_wchar_ctype=yes
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16248 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16249 CFLAGS="$saved_CFLAGS"
16250 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16251 then
16252 BUILTINFLAG="-fno-builtin"
16257 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16258 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16259 if test "${ac_cv_asm_func_def+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16261 else
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16270 main ()
16272 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16274 return 0;
16276 _ACEOF
16277 rm -f conftest.$ac_objext conftest$ac_exeext
16278 if { (ac_try="$ac_link"
16279 case "(($ac_try" in
16280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16281 *) ac_try_echo=$ac_try;;
16282 esac
16283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16284 (eval "$ac_link") 2>conftest.er1
16285 ac_status=$?
16286 grep -v '^ *+' conftest.er1 >conftest.err
16287 rm -f conftest.er1
16288 cat conftest.err >&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } && {
16291 test -z "$ac_c_werror_flag" ||
16292 test ! -s conftest.err
16293 } && test -s conftest$ac_exeext &&
16294 $as_test_x conftest$ac_exeext; then
16295 ac_cv_asm_func_def=".def"
16296 else
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16300 cat >conftest.$ac_ext <<_ACEOF
16301 /* confdefs.h. */
16302 _ACEOF
16303 cat confdefs.h >>conftest.$ac_ext
16304 cat >>conftest.$ac_ext <<_ACEOF
16305 /* end confdefs.h. */
16308 main ()
16310 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16312 return 0;
16314 _ACEOF
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (ac_try="$ac_link"
16317 case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16320 esac
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16323 ac_status=$?
16324 grep -v '^ *+' conftest.er1 >conftest.err
16325 rm -f conftest.er1
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_asm_func_def=".type @function"
16334 else
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16346 main ()
16348 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16350 return 0;
16352 _ACEOF
16353 rm -f conftest.$ac_objext conftest$ac_exeext
16354 if { (ac_try="$ac_link"
16355 case "(($ac_try" in
16356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16357 *) ac_try_echo=$ac_try;;
16358 esac
16359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16360 (eval "$ac_link") 2>conftest.er1
16361 ac_status=$?
16362 grep -v '^ *+' conftest.er1 >conftest.err
16363 rm -f conftest.er1
16364 cat conftest.err >&5
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); } && {
16367 test -z "$ac_c_werror_flag" ||
16368 test ! -s conftest.err
16369 } && test -s conftest$ac_exeext &&
16370 $as_test_x conftest$ac_exeext; then
16371 ac_cv_asm_func_def=".type 2"
16372 else
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16376 ac_cv_asm_func_def="unknown"
16379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16380 conftest$ac_exeext conftest.$ac_ext
16383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16384 conftest$ac_exeext conftest.$ac_ext
16387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16388 conftest$ac_exeext conftest.$ac_ext
16390 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16391 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16395 case "$ac_cv_asm_func_def" in
16396 ".def")
16397 cat >>confdefs.h <<\_ACEOF
16398 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16399 _ACEOF
16401 ".type @function")
16402 cat >>confdefs.h <<\_ACEOF
16403 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16404 _ACEOF
16406 ".type 2")
16407 cat >>confdefs.h <<\_ACEOF
16408 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16409 _ACEOF
16412 cat >>confdefs.h <<\_ACEOF
16413 #define __ASM_FUNC(name) ""
16414 _ACEOF
16416 esac
16419 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16420 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16421 if test "${ac_cv_c_extern_prefix+set}" = set; then
16422 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 else
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 extern int ac_test;
16432 main ()
16434 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16436 return 0;
16438 _ACEOF
16439 rm -f conftest.$ac_objext conftest$ac_exeext
16440 if { (ac_try="$ac_link"
16441 case "(($ac_try" in
16442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16443 *) ac_try_echo=$ac_try;;
16444 esac
16445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16446 (eval "$ac_link") 2>conftest.er1
16447 ac_status=$?
16448 grep -v '^ *+' conftest.er1 >conftest.err
16449 rm -f conftest.er1
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } && {
16453 test -z "$ac_c_werror_flag" ||
16454 test ! -s conftest.err
16455 } && test -s conftest$ac_exeext &&
16456 $as_test_x conftest$ac_exeext; then
16457 ac_cv_c_extern_prefix="yes"
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16462 ac_cv_c_extern_prefix="no"
16465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16466 conftest$ac_exeext conftest.$ac_ext
16468 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16469 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16473 if test "$ac_cv_c_extern_prefix" = "yes"
16474 then
16475 cat >>confdefs.h <<\_ACEOF
16476 #define __ASM_NAME(name) "_" name
16477 _ACEOF
16479 else
16480 cat >>confdefs.h <<\_ACEOF
16481 #define __ASM_NAME(name) name
16482 _ACEOF
16487 LDPATH=""
16489 case $build_os in
16490 cygwin*|mingw32*)
16491 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16493 darwin*|macosx*)
16495 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16496 then
16497 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16501 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16503 esac
16505 case $host_os in
16506 mingw32*)
16507 CRTLIBS="-lmsvcrt"
16509 SOCKETLIBS="-lws2_32"
16512 esac
16514 MAIN_BINARY="wine-pthread"
16515 case $host_cpu in
16516 *i[3456789]86*)
16517 case $host_os in
16518 linux* | k*bsd*-gnu)
16519 MAIN_BINARY="wine-glibc"
16521 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16523 freebsd*)
16524 MAIN_BINARY="wine-freebsd"
16526 EXTRA_BINARIES="wine-pthread"
16528 esac
16530 esac
16598 for ac_func in \
16599 _pclose \
16600 _popen \
16601 _snprintf \
16602 _spawnvp \
16603 _strdup \
16604 _stricmp \
16605 _strnicmp \
16606 _vsnprintf \
16607 asctime_r \
16608 chsize \
16609 clone \
16610 dlopen \
16611 epoll_create \
16612 ffs \
16613 finite \
16614 fork \
16615 fpclass \
16616 fstatfs \
16617 fstatvfs \
16618 ftruncate \
16619 futimes \
16620 futimesat \
16621 getdirentries \
16622 getopt_long \
16623 getpagesize \
16624 getpwuid \
16625 gettid \
16626 gettimeofday \
16627 getuid \
16628 inet_pton \
16629 kqueue \
16630 lstat \
16631 memmove \
16632 mmap \
16633 pclose \
16634 poll \
16635 popen \
16636 prctl \
16637 pread \
16638 pwrite \
16639 readlink \
16640 rfork \
16641 sched_yield \
16642 select \
16643 setproctitle \
16644 setrlimit \
16645 settimeofday \
16646 sigaltstack \
16647 sigprocmask \
16648 snprintf \
16649 spawnvp \
16650 statfs \
16651 statvfs \
16652 strcasecmp \
16653 strdup \
16654 strerror \
16655 strncasecmp \
16656 strtold \
16657 tcgetattr \
16658 thr_kill2 \
16659 timegm \
16660 usleep \
16661 vsnprintf \
16662 wait4 \
16663 waitpid \
16666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 else
16672 cat >conftest.$ac_ext <<_ACEOF
16673 /* confdefs.h. */
16674 _ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16680 #define $ac_func innocuous_$ac_func
16682 /* System header to define __stub macros and hopefully few prototypes,
16683 which can conflict with char $ac_func (); below.
16684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16685 <limits.h> exists even on freestanding compilers. */
16687 #ifdef __STDC__
16688 # include <limits.h>
16689 #else
16690 # include <assert.h>
16691 #endif
16693 #undef $ac_func
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16698 #ifdef __cplusplus
16699 extern "C"
16700 #endif
16701 char $ac_func ();
16702 /* The GNU C library defines this for functions which it implements
16703 to always fail with ENOSYS. Some functions are actually named
16704 something starting with __ and the normal name is an alias. */
16705 #if defined __stub_$ac_func || defined __stub___$ac_func
16706 choke me
16707 #endif
16710 main ()
16712 return $ac_func ();
16714 return 0;
16716 _ACEOF
16717 rm -f conftest.$ac_objext conftest$ac_exeext
16718 if { (ac_try="$ac_link"
16719 case "(($ac_try" in
16720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16721 *) ac_try_echo=$ac_try;;
16722 esac
16723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16724 (eval "$ac_link") 2>conftest.er1
16725 ac_status=$?
16726 grep -v '^ *+' conftest.er1 >conftest.err
16727 rm -f conftest.er1
16728 cat conftest.err >&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } && {
16731 test -z "$ac_c_werror_flag" ||
16732 test ! -s conftest.err
16733 } && test -s conftest$ac_exeext &&
16734 $as_test_x conftest$ac_exeext; then
16735 eval "$as_ac_var=yes"
16736 else
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16740 eval "$as_ac_var=no"
16743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16744 conftest$ac_exeext conftest.$ac_ext
16746 ac_res=`eval echo '${'$as_ac_var'}'`
16747 { echo "$as_me:$LINENO: result: $ac_res" >&5
16748 echo "${ECHO_T}$ac_res" >&6; }
16749 if test `eval echo '${'$as_ac_var'}'` = yes; then
16750 cat >>confdefs.h <<_ACEOF
16751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16752 _ACEOF
16755 done
16758 if test "$ac_cv_func_dlopen" = no
16759 then
16760 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16761 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16762 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 else
16765 ac_check_lib_save_LIBS=$LIBS
16766 LIBS="-ldl $LIBS"
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16777 #ifdef __cplusplus
16778 extern "C"
16779 #endif
16780 char dlopen ();
16782 main ()
16784 return dlopen ();
16786 return 0;
16788 _ACEOF
16789 rm -f conftest.$ac_objext conftest$ac_exeext
16790 if { (ac_try="$ac_link"
16791 case "(($ac_try" in
16792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16793 *) ac_try_echo=$ac_try;;
16794 esac
16795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16796 (eval "$ac_link") 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest$ac_exeext &&
16806 $as_test_x conftest$ac_exeext; then
16807 ac_cv_lib_dl_dlopen=yes
16808 else
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16812 ac_cv_lib_dl_dlopen=no
16815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16816 conftest$ac_exeext conftest.$ac_ext
16817 LIBS=$ac_check_lib_save_LIBS
16819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16820 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16821 if test $ac_cv_lib_dl_dlopen = yes; then
16822 cat >>confdefs.h <<\_ACEOF
16823 #define HAVE_DLOPEN 1
16824 _ACEOF
16825 LIBDL="-ldl"
16830 ac_wine_check_funcs_save_LIBS="$LIBS"
16831 LIBS="$LIBS $LIBDL"
16833 for ac_func in dladdr
16835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 else
16841 cat >conftest.$ac_ext <<_ACEOF
16842 /* confdefs.h. */
16843 _ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16849 #define $ac_func innocuous_$ac_func
16851 /* System header to define __stub macros and hopefully few prototypes,
16852 which can conflict with char $ac_func (); below.
16853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16854 <limits.h> exists even on freestanding compilers. */
16856 #ifdef __STDC__
16857 # include <limits.h>
16858 #else
16859 # include <assert.h>
16860 #endif
16862 #undef $ac_func
16864 /* Override any GCC internal prototype to avoid an error.
16865 Use char because int might match the return type of a GCC
16866 builtin and then its argument prototype would still apply. */
16867 #ifdef __cplusplus
16868 extern "C"
16869 #endif
16870 char $ac_func ();
16871 /* The GNU C library defines this for functions which it implements
16872 to always fail with ENOSYS. Some functions are actually named
16873 something starting with __ and the normal name is an alias. */
16874 #if defined __stub_$ac_func || defined __stub___$ac_func
16875 choke me
16876 #endif
16879 main ()
16881 return $ac_func ();
16883 return 0;
16885 _ACEOF
16886 rm -f conftest.$ac_objext conftest$ac_exeext
16887 if { (ac_try="$ac_link"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16890 *) ac_try_echo=$ac_try;;
16891 esac
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_link") 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_c_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest$ac_exeext &&
16903 $as_test_x conftest$ac_exeext; then
16904 eval "$as_ac_var=yes"
16905 else
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16909 eval "$as_ac_var=no"
16912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16913 conftest$ac_exeext conftest.$ac_ext
16915 ac_res=`eval echo '${'$as_ac_var'}'`
16916 { echo "$as_me:$LINENO: result: $ac_res" >&5
16917 echo "${ECHO_T}$ac_res" >&6; }
16918 if test `eval echo '${'$as_ac_var'}'` = yes; then
16919 cat >>confdefs.h <<_ACEOF
16920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16921 _ACEOF
16924 done
16926 LIBS="$ac_wine_check_funcs_save_LIBS"
16928 if test "$ac_cv_func_poll" = no
16929 then
16930 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16931 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16932 if test "${ac_cv_lib_poll_poll+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16935 ac_check_lib_save_LIBS=$LIBS
16936 LIBS="-lpoll $LIBS"
16937 cat >conftest.$ac_ext <<_ACEOF
16938 /* confdefs.h. */
16939 _ACEOF
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16944 /* Override any GCC internal prototype to avoid an error.
16945 Use char because int might match the return type of a GCC
16946 builtin and then its argument prototype would still apply. */
16947 #ifdef __cplusplus
16948 extern "C"
16949 #endif
16950 char poll ();
16952 main ()
16954 return poll ();
16956 return 0;
16958 _ACEOF
16959 rm -f conftest.$ac_objext conftest$ac_exeext
16960 if { (ac_try="$ac_link"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_link") 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } && {
16973 test -z "$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16975 } && test -s conftest$ac_exeext &&
16976 $as_test_x conftest$ac_exeext; then
16977 ac_cv_lib_poll_poll=yes
16978 else
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 ac_cv_lib_poll_poll=no
16985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16986 conftest$ac_exeext conftest.$ac_ext
16987 LIBS=$ac_check_lib_save_LIBS
16989 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16990 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16991 if test $ac_cv_lib_poll_poll = yes; then
16992 cat >>confdefs.h <<\_ACEOF
16993 #define HAVE_POLL 1
16994 _ACEOF
16995 LIBPOLL="-lpoll"
17001 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17002 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17003 if test "${ac_cv_search_gethostbyname+set}" = set; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 else
17006 ac_func_search_save_LIBS=$LIBS
17007 cat >conftest.$ac_ext <<_ACEOF
17008 /* confdefs.h. */
17009 _ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17014 /* Override any GCC internal prototype to avoid an error.
17015 Use char because int might match the return type of a GCC
17016 builtin and then its argument prototype would still apply. */
17017 #ifdef __cplusplus
17018 extern "C"
17019 #endif
17020 char gethostbyname ();
17022 main ()
17024 return gethostbyname ();
17026 return 0;
17028 _ACEOF
17029 for ac_lib in '' nsl; do
17030 if test -z "$ac_lib"; then
17031 ac_res="none required"
17032 else
17033 ac_res=-l$ac_lib
17034 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17036 rm -f conftest.$ac_objext conftest$ac_exeext
17037 if { (ac_try="$ac_link"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17041 esac
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_link") 2>conftest.er1
17044 ac_status=$?
17045 grep -v '^ *+' conftest.er1 >conftest.err
17046 rm -f conftest.er1
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } && {
17050 test -z "$ac_c_werror_flag" ||
17051 test ! -s conftest.err
17052 } && test -s conftest$ac_exeext &&
17053 $as_test_x conftest$ac_exeext; then
17054 ac_cv_search_gethostbyname=$ac_res
17055 else
17056 echo "$as_me: failed program was:" >&5
17057 sed 's/^/| /' conftest.$ac_ext >&5
17062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17063 conftest$ac_exeext
17064 if test "${ac_cv_search_gethostbyname+set}" = set; then
17065 break
17067 done
17068 if test "${ac_cv_search_gethostbyname+set}" = set; then
17070 else
17071 ac_cv_search_gethostbyname=no
17073 rm conftest.$ac_ext
17074 LIBS=$ac_func_search_save_LIBS
17076 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17077 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17078 ac_res=$ac_cv_search_gethostbyname
17079 if test "$ac_res" != no; then
17080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17085 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17086 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17087 if test "${ac_cv_search_connect+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 else
17090 ac_func_search_save_LIBS=$LIBS
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17098 /* Override any GCC internal prototype to avoid an error.
17099 Use char because int might match the return type of a GCC
17100 builtin and then its argument prototype would still apply. */
17101 #ifdef __cplusplus
17102 extern "C"
17103 #endif
17104 char connect ();
17106 main ()
17108 return connect ();
17110 return 0;
17112 _ACEOF
17113 for ac_lib in '' socket; do
17114 if test -z "$ac_lib"; then
17115 ac_res="none required"
17116 else
17117 ac_res=-l$ac_lib
17118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17120 rm -f conftest.$ac_objext conftest$ac_exeext
17121 if { (ac_try="$ac_link"
17122 case "(($ac_try" in
17123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17124 *) ac_try_echo=$ac_try;;
17125 esac
17126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17127 (eval "$ac_link") 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } && {
17134 test -z "$ac_c_werror_flag" ||
17135 test ! -s conftest.err
17136 } && test -s conftest$ac_exeext &&
17137 $as_test_x conftest$ac_exeext; then
17138 ac_cv_search_connect=$ac_res
17139 else
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17147 conftest$ac_exeext
17148 if test "${ac_cv_search_connect+set}" = set; then
17149 break
17151 done
17152 if test "${ac_cv_search_connect+set}" = set; then
17154 else
17155 ac_cv_search_connect=no
17157 rm conftest.$ac_ext
17158 LIBS=$ac_func_search_save_LIBS
17160 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17161 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17162 ac_res=$ac_cv_search_connect
17163 if test "$ac_res" != no; then
17164 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17169 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17170 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17171 if test "${ac_cv_search_inet_aton+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 else
17174 ac_func_search_save_LIBS=$LIBS
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17182 /* Override any GCC internal prototype to avoid an error.
17183 Use char because int might match the return type of a GCC
17184 builtin and then its argument prototype would still apply. */
17185 #ifdef __cplusplus
17186 extern "C"
17187 #endif
17188 char inet_aton ();
17190 main ()
17192 return inet_aton ();
17194 return 0;
17196 _ACEOF
17197 for ac_lib in '' resolv; do
17198 if test -z "$ac_lib"; then
17199 ac_res="none required"
17200 else
17201 ac_res=-l$ac_lib
17202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17204 rm -f conftest.$ac_objext conftest$ac_exeext
17205 if { (ac_try="$ac_link"
17206 case "(($ac_try" in
17207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17208 *) ac_try_echo=$ac_try;;
17209 esac
17210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17211 (eval "$ac_link") 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } && {
17218 test -z "$ac_c_werror_flag" ||
17219 test ! -s conftest.err
17220 } && test -s conftest$ac_exeext &&
17221 $as_test_x conftest$ac_exeext; then
17222 ac_cv_search_inet_aton=$ac_res
17223 else
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17231 conftest$ac_exeext
17232 if test "${ac_cv_search_inet_aton+set}" = set; then
17233 break
17235 done
17236 if test "${ac_cv_search_inet_aton+set}" = set; then
17238 else
17239 ac_cv_search_inet_aton=no
17241 rm conftest.$ac_ext
17242 LIBS=$ac_func_search_save_LIBS
17244 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17245 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17246 ac_res=$ac_cv_search_inet_aton
17247 if test "$ac_res" != no; then
17248 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17261 for ac_func in \
17262 getaddrinfo \
17263 getnameinfo \
17264 getnetbyname \
17265 getprotobyname \
17266 getprotobynumber \
17267 getservbyport \
17268 inet_network \
17269 sendmsg \
17272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17273 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17275 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 else
17278 cat >conftest.$ac_ext <<_ACEOF
17279 /* confdefs.h. */
17280 _ACEOF
17281 cat confdefs.h >>conftest.$ac_ext
17282 cat >>conftest.$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17286 #define $ac_func innocuous_$ac_func
17288 /* System header to define __stub macros and hopefully few prototypes,
17289 which can conflict with char $ac_func (); below.
17290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17291 <limits.h> exists even on freestanding compilers. */
17293 #ifdef __STDC__
17294 # include <limits.h>
17295 #else
17296 # include <assert.h>
17297 #endif
17299 #undef $ac_func
17301 /* Override any GCC internal prototype to avoid an error.
17302 Use char because int might match the return type of a GCC
17303 builtin and then its argument prototype would still apply. */
17304 #ifdef __cplusplus
17305 extern "C"
17306 #endif
17307 char $ac_func ();
17308 /* The GNU C library defines this for functions which it implements
17309 to always fail with ENOSYS. Some functions are actually named
17310 something starting with __ and the normal name is an alias. */
17311 #if defined __stub_$ac_func || defined __stub___$ac_func
17312 choke me
17313 #endif
17316 main ()
17318 return $ac_func ();
17320 return 0;
17322 _ACEOF
17323 rm -f conftest.$ac_objext conftest$ac_exeext
17324 if { (ac_try="$ac_link"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_link") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest$ac_exeext &&
17340 $as_test_x conftest$ac_exeext; then
17341 eval "$as_ac_var=yes"
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17346 eval "$as_ac_var=no"
17349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17350 conftest$ac_exeext conftest.$ac_ext
17352 ac_res=`eval echo '${'$as_ac_var'}'`
17353 { echo "$as_me:$LINENO: result: $ac_res" >&5
17354 echo "${ECHO_T}$ac_res" >&6; }
17355 if test `eval echo '${'$as_ac_var'}'` = yes; then
17356 cat >>confdefs.h <<_ACEOF
17357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17358 _ACEOF
17361 done
17365 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17366 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17367 if test "${ac_cv_c_const+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 else
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17378 main ()
17380 /* FIXME: Include the comments suggested by Paul. */
17381 #ifndef __cplusplus
17382 /* Ultrix mips cc rejects this. */
17383 typedef int charset[2];
17384 const charset cs;
17385 /* SunOS 4.1.1 cc rejects this. */
17386 char const *const *pcpcc;
17387 char **ppc;
17388 /* NEC SVR4.0.2 mips cc rejects this. */
17389 struct point {int x, y;};
17390 static struct point const zero = {0,0};
17391 /* AIX XL C 1.02.0.0 rejects this.
17392 It does not let you subtract one const X* pointer from another in
17393 an arm of an if-expression whose if-part is not a constant
17394 expression */
17395 const char *g = "string";
17396 pcpcc = &g + (g ? g-g : 0);
17397 /* HPUX 7.0 cc rejects these. */
17398 ++pcpcc;
17399 ppc = (char**) pcpcc;
17400 pcpcc = (char const *const *) ppc;
17401 { /* SCO 3.2v4 cc rejects this. */
17402 char *t;
17403 char const *s = 0 ? (char *) 0 : (char const *) 0;
17405 *t++ = 0;
17406 if (s) return 0;
17408 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17409 int x[] = {25, 17};
17410 const int *foo = &x[0];
17411 ++foo;
17413 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17414 typedef const int *iptr;
17415 iptr p = 0;
17416 ++p;
17418 { /* AIX XL C 1.02.0.0 rejects this saying
17419 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17420 struct s { int j; const int *ap[3]; };
17421 struct s *b; b->j = 5;
17423 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17424 const int foo = 10;
17425 if (!foo) return 0;
17427 return !cs[0] && !zero.x;
17428 #endif
17431 return 0;
17433 _ACEOF
17434 rm -f conftest.$ac_objext
17435 if { (ac_try="$ac_compile"
17436 case "(($ac_try" in
17437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17438 *) ac_try_echo=$ac_try;;
17439 esac
17440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17441 (eval "$ac_compile") 2>conftest.er1
17442 ac_status=$?
17443 grep -v '^ *+' conftest.er1 >conftest.err
17444 rm -f conftest.er1
17445 cat conftest.err >&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } && {
17448 test -z "$ac_c_werror_flag" ||
17449 test ! -s conftest.err
17450 } && test -s conftest.$ac_objext; then
17451 ac_cv_c_const=yes
17452 else
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17456 ac_cv_c_const=no
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17462 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17463 if test $ac_cv_c_const = no; then
17465 cat >>confdefs.h <<\_ACEOF
17466 #define const
17467 _ACEOF
17471 { echo "$as_me:$LINENO: checking for inline" >&5
17472 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17473 if test "${ac_cv_c_inline+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476 ac_cv_c_inline=no
17477 for ac_kw in inline __inline__ __inline; do
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 #ifndef __cplusplus
17485 typedef int foo_t;
17486 static $ac_kw foo_t static_foo () {return 0; }
17487 $ac_kw foo_t foo () {return 0; }
17488 #endif
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17496 esac
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17499 ac_status=$?
17500 grep -v '^ *+' conftest.er1 >conftest.err
17501 rm -f conftest.er1
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 ac_cv_c_inline=$ac_kw
17509 else
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17517 test "$ac_cv_c_inline" != no && break
17518 done
17521 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17522 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17525 case $ac_cv_c_inline in
17526 inline | yes) ;;
17528 case $ac_cv_c_inline in
17529 no) ac_val=;;
17530 *) ac_val=$ac_cv_c_inline;;
17531 esac
17532 cat >>confdefs.h <<_ACEOF
17533 #ifndef __cplusplus
17534 #define inline $ac_val
17535 #endif
17536 _ACEOF
17538 esac
17540 { echo "$as_me:$LINENO: checking for mode_t" >&5
17541 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17542 if test "${ac_cv_type_mode_t+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 $ac_includes_default
17552 typedef mode_t ac__type_new_;
17554 main ()
17556 if ((ac__type_new_ *) 0)
17557 return 0;
17558 if (sizeof (ac__type_new_))
17559 return 0;
17561 return 0;
17563 _ACEOF
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_c_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.$ac_objext; then
17581 ac_cv_type_mode_t=yes
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17586 ac_cv_type_mode_t=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17592 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17593 if test $ac_cv_type_mode_t = yes; then
17595 cat >>confdefs.h <<_ACEOF
17596 #define HAVE_MODE_T 1
17597 _ACEOF
17601 { echo "$as_me:$LINENO: checking for off_t" >&5
17602 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17603 if test "${ac_cv_type_off_t+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 else
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h. */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 typedef off_t ac__type_new_;
17615 main ()
17617 if ((ac__type_new_ *) 0)
17618 return 0;
17619 if (sizeof (ac__type_new_))
17620 return 0;
17622 return 0;
17624 _ACEOF
17625 rm -f conftest.$ac_objext
17626 if { (ac_try="$ac_compile"
17627 case "(($ac_try" in
17628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17630 esac
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_compile") 2>conftest.er1
17633 ac_status=$?
17634 grep -v '^ *+' conftest.er1 >conftest.err
17635 rm -f conftest.er1
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } && {
17639 test -z "$ac_c_werror_flag" ||
17640 test ! -s conftest.err
17641 } && test -s conftest.$ac_objext; then
17642 ac_cv_type_off_t=yes
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17647 ac_cv_type_off_t=no
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17653 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17654 if test $ac_cv_type_off_t = yes; then
17656 cat >>confdefs.h <<_ACEOF
17657 #define HAVE_OFF_T 1
17658 _ACEOF
17662 { echo "$as_me:$LINENO: checking for pid_t" >&5
17663 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17664 if test "${ac_cv_type_pid_t+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17666 else
17667 cat >conftest.$ac_ext <<_ACEOF
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 $ac_includes_default
17674 typedef pid_t ac__type_new_;
17676 main ()
17678 if ((ac__type_new_ *) 0)
17679 return 0;
17680 if (sizeof (ac__type_new_))
17681 return 0;
17683 return 0;
17685 _ACEOF
17686 rm -f conftest.$ac_objext
17687 if { (ac_try="$ac_compile"
17688 case "(($ac_try" in
17689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17690 *) ac_try_echo=$ac_try;;
17691 esac
17692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17693 (eval "$ac_compile") 2>conftest.er1
17694 ac_status=$?
17695 grep -v '^ *+' conftest.er1 >conftest.err
17696 rm -f conftest.er1
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } && {
17700 test -z "$ac_c_werror_flag" ||
17701 test ! -s conftest.err
17702 } && test -s conftest.$ac_objext; then
17703 ac_cv_type_pid_t=yes
17704 else
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17708 ac_cv_type_pid_t=no
17711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17714 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17715 if test $ac_cv_type_pid_t = yes; then
17717 cat >>confdefs.h <<_ACEOF
17718 #define HAVE_PID_T 1
17719 _ACEOF
17723 { echo "$as_me:$LINENO: checking for size_t" >&5
17724 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17725 if test "${ac_cv_type_size_t+set}" = set; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 else
17728 cat >conftest.$ac_ext <<_ACEOF
17729 /* confdefs.h. */
17730 _ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17735 typedef size_t ac__type_new_;
17737 main ()
17739 if ((ac__type_new_ *) 0)
17740 return 0;
17741 if (sizeof (ac__type_new_))
17742 return 0;
17744 return 0;
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (ac_try="$ac_compile"
17749 case "(($ac_try" in
17750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17752 esac
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_compile") 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } && {
17761 test -z "$ac_c_werror_flag" ||
17762 test ! -s conftest.err
17763 } && test -s conftest.$ac_objext; then
17764 ac_cv_type_size_t=yes
17765 else
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17769 ac_cv_type_size_t=no
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17775 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17776 if test $ac_cv_type_size_t = yes; then
17778 cat >>confdefs.h <<_ACEOF
17779 #define HAVE_SIZE_T 1
17780 _ACEOF
17784 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17785 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17786 if test "${ac_cv_type_ssize_t+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17788 else
17789 cat >conftest.$ac_ext <<_ACEOF
17790 /* confdefs.h. */
17791 _ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 $ac_includes_default
17796 typedef ssize_t ac__type_new_;
17798 main ()
17800 if ((ac__type_new_ *) 0)
17801 return 0;
17802 if (sizeof (ac__type_new_))
17803 return 0;
17805 return 0;
17807 _ACEOF
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17813 esac
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_c_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 ac_cv_type_ssize_t=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 ac_cv_type_ssize_t=no
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17836 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17837 if test $ac_cv_type_ssize_t = yes; then
17839 cat >>confdefs.h <<_ACEOF
17840 #define HAVE_SSIZE_T 1
17841 _ACEOF
17845 { echo "$as_me:$LINENO: checking for long long" >&5
17846 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17847 if test "${ac_cv_type_long_long+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 $ac_includes_default
17857 typedef long long ac__type_new_;
17859 main ()
17861 if ((ac__type_new_ *) 0)
17862 return 0;
17863 if (sizeof (ac__type_new_))
17864 return 0;
17866 return 0;
17868 _ACEOF
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 *) ac_try_echo=$ac_try;;
17874 esac
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_c_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.$ac_objext; then
17886 ac_cv_type_long_long=yes
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17891 ac_cv_type_long_long=no
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17897 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17898 if test $ac_cv_type_long_long = yes; then
17900 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_LONG_LONG 1
17902 _ACEOF
17906 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17907 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17908 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17909 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 else
17911 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */
17913 _ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 $ac_includes_default
17918 typedef fsblkcnt_t ac__type_new_;
17920 main ()
17922 if ((ac__type_new_ *) 0)
17923 return 0;
17924 if (sizeof (ac__type_new_))
17925 return 0;
17927 return 0;
17929 _ACEOF
17930 rm -f conftest.$ac_objext
17931 if { (ac_try="$ac_compile"
17932 case "(($ac_try" in
17933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17934 *) ac_try_echo=$ac_try;;
17935 esac
17936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17937 (eval "$ac_compile") 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } && {
17944 test -z "$ac_c_werror_flag" ||
17945 test ! -s conftest.err
17946 } && test -s conftest.$ac_objext; then
17947 ac_cv_type_fsblkcnt_t=yes
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17952 ac_cv_type_fsblkcnt_t=no
17955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17958 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17959 if test $ac_cv_type_fsblkcnt_t = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_FSBLKCNT_T 1
17963 _ACEOF
17967 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17968 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17969 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 $ac_includes_default
17979 typedef fsfilcnt_t ac__type_new_;
17981 main ()
17983 if ((ac__type_new_ *) 0)
17984 return 0;
17985 if (sizeof (ac__type_new_))
17986 return 0;
17988 return 0;
17990 _ACEOF
17991 rm -f conftest.$ac_objext
17992 if { (ac_try="$ac_compile"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17996 esac
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_compile") 2>conftest.er1
17999 ac_status=$?
18000 grep -v '^ *+' conftest.er1 >conftest.err
18001 rm -f conftest.er1
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } && {
18005 test -z "$ac_c_werror_flag" ||
18006 test ! -s conftest.err
18007 } && test -s conftest.$ac_objext; then
18008 ac_cv_type_fsfilcnt_t=yes
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_type_fsfilcnt_t=no
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18019 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18020 if test $ac_cv_type_fsfilcnt_t = yes; then
18022 cat >>confdefs.h <<_ACEOF
18023 #define HAVE_FSFILCNT_T 1
18024 _ACEOF
18029 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18030 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18031 if test "${ac_cv_type_sigset_t+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h. */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18040 #include <signal.h>
18042 typedef sigset_t ac__type_new_;
18044 main ()
18046 if ((ac__type_new_ *) 0)
18047 return 0;
18048 if (sizeof (ac__type_new_))
18049 return 0;
18051 return 0;
18053 _ACEOF
18054 rm -f conftest.$ac_objext
18055 if { (ac_try="$ac_compile"
18056 case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18059 esac
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_compile") 2>conftest.er1
18062 ac_status=$?
18063 grep -v '^ *+' conftest.er1 >conftest.err
18064 rm -f conftest.er1
18065 cat conftest.err >&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest.$ac_objext; then
18071 ac_cv_type_sigset_t=yes
18072 else
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 ac_cv_type_sigset_t=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18082 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18083 if test $ac_cv_type_sigset_t = yes; then
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_SIGSET_T 1
18087 _ACEOF
18092 { echo "$as_me:$LINENO: checking for request_sense" >&5
18093 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18094 if test "${ac_cv_type_request_sense+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <linux/cdrom.h>
18105 typedef request_sense ac__type_new_;
18107 main ()
18109 if ((ac__type_new_ *) 0)
18110 return 0;
18111 if (sizeof (ac__type_new_))
18112 return 0;
18114 return 0;
18116 _ACEOF
18117 rm -f conftest.$ac_objext
18118 if { (ac_try="$ac_compile"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121 *) ac_try_echo=$ac_try;;
18122 esac
18123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_compile") 2>conftest.er1
18125 ac_status=$?
18126 grep -v '^ *+' conftest.er1 >conftest.err
18127 rm -f conftest.er1
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && {
18131 test -z "$ac_c_werror_flag" ||
18132 test ! -s conftest.err
18133 } && test -s conftest.$ac_objext; then
18134 ac_cv_type_request_sense=yes
18135 else
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18139 ac_cv_type_request_sense=no
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18145 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18146 if test $ac_cv_type_request_sense = yes; then
18148 cat >>confdefs.h <<_ACEOF
18149 #define HAVE_REQUEST_SENSE 1
18150 _ACEOF
18156 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18157 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18158 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 else
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 #ifdef HAVE_LINUX_INPUT_H
18168 #include <linux/input.h>
18169 #endif
18172 main ()
18174 static struct ff_effect ac_aggr;
18175 if (ac_aggr.direction)
18176 return 0;
18178 return 0;
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 ac_cv_member_struct_ff_effect_direction=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 #ifdef HAVE_LINUX_INPUT_H
18210 #include <linux/input.h>
18211 #endif
18214 main ()
18216 static struct ff_effect ac_aggr;
18217 if (sizeof ac_aggr.direction)
18218 return 0;
18220 return 0;
18222 _ACEOF
18223 rm -f conftest.$ac_objext
18224 if { (ac_try="$ac_compile"
18225 case "(($ac_try" in
18226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18227 *) ac_try_echo=$ac_try;;
18228 esac
18229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18230 (eval "$ac_compile") 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } && {
18237 test -z "$ac_c_werror_flag" ||
18238 test ! -s conftest.err
18239 } && test -s conftest.$ac_objext; then
18240 ac_cv_member_struct_ff_effect_direction=yes
18241 else
18242 echo "$as_me: failed program was:" >&5
18243 sed 's/^/| /' conftest.$ac_ext >&5
18245 ac_cv_member_struct_ff_effect_direction=no
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18253 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18254 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18255 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18257 cat >>confdefs.h <<_ACEOF
18258 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18259 _ACEOF
18265 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18266 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18267 if test "${wine_cv_have_sigaddset+set}" = set; then
18268 echo $ECHO_N "(cached) $ECHO_C" >&6
18269 else
18270 cat >conftest.$ac_ext <<_ACEOF
18271 /* confdefs.h. */
18272 _ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18276 #include <signal.h>
18278 main ()
18280 sigset_t set; sigaddset(&set,SIGTERM);
18282 return 0;
18284 _ACEOF
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (ac_try="$ac_link"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_link") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest$ac_exeext &&
18302 $as_test_x conftest$ac_exeext; then
18303 wine_cv_have_sigaddset=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 wine_cv_have_sigaddset=no
18311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18312 conftest$ac_exeext conftest.$ac_ext
18314 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18315 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18316 if test "$wine_cv_have_sigaddset" = "yes"
18317 then
18319 cat >>confdefs.h <<\_ACEOF
18320 #define HAVE_SIGADDSET 1
18321 _ACEOF
18326 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18327 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18328 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <netdb.h>
18339 main ()
18342 char *name=0;
18343 struct hostent he;
18344 struct hostent *result;
18345 char *buf=0;
18346 int bufsize=0;
18347 int res,errnr;
18348 char *addr=0;
18349 int addrlen=0;
18350 int addrtype=0;
18351 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18352 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18355 return 0;
18357 _ACEOF
18358 rm -f conftest.$ac_objext conftest$ac_exeext
18359 if { (ac_try="$ac_link"
18360 case "(($ac_try" in
18361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18362 *) ac_try_echo=$ac_try;;
18363 esac
18364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18365 (eval "$ac_link") 2>conftest.er1
18366 ac_status=$?
18367 grep -v '^ *+' conftest.er1 >conftest.err
18368 rm -f conftest.er1
18369 cat conftest.err >&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } && {
18372 test -z "$ac_c_werror_flag" ||
18373 test ! -s conftest.err
18374 } && test -s conftest$ac_exeext &&
18375 $as_test_x conftest$ac_exeext; then
18376 wine_cv_linux_gethostbyname_r_6=yes
18377 else
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18381 wine_cv_linux_gethostbyname_r_6=no
18385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18386 conftest$ac_exeext conftest.$ac_ext
18389 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18390 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18391 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18392 then
18394 cat >>confdefs.h <<\_ACEOF
18395 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18396 _ACEOF
18400 if test "$ac_cv_header_linux_joystick_h" = "yes"
18401 then
18402 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18403 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18404 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407 cat >conftest.$ac_ext <<_ACEOF
18408 /* confdefs.h. */
18409 _ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18414 #include <sys/ioctl.h>
18415 #include <sys/types.h>
18416 #include <linux/joystick.h>
18418 struct js_event blub;
18419 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18420 #error "no 2.2 header"
18421 #endif
18424 main ()
18426 /*empty*/
18428 return 0;
18430 _ACEOF
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18436 esac
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18439 ac_status=$?
18440 grep -v '^ *+' conftest.er1 >conftest.err
18441 rm -f conftest.er1
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_c_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 wine_cv_linux_joystick_22_api=yes
18449 else
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18453 wine_cv_linux_joystick_22_api=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18460 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18461 if test "$wine_cv_linux_joystick_22_api" = "yes"
18462 then
18464 cat >>confdefs.h <<\_ACEOF
18465 #define HAVE_LINUX_22_JOYSTICK_API 1
18466 _ACEOF
18472 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18473 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18474 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 else
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 #include <sys/types.h>
18484 #ifdef HAVE_SYS_PARAM_H
18485 # include <sys/param.h>
18486 #endif
18487 #ifdef HAVE_SYS_MOUNT_H
18488 # include <sys/mount.h>
18489 #endif
18490 #ifdef HAVE_SYS_VFS_H
18491 # include <sys/vfs.h>
18492 #endif
18493 #ifdef HAVE_SYS_STATFS_H
18494 # include <sys/statfs.h>
18495 #endif
18498 main ()
18500 static struct statfs ac_aggr;
18501 if (ac_aggr.f_bfree)
18502 return 0;
18504 return 0;
18506 _ACEOF
18507 rm -f conftest.$ac_objext
18508 if { (ac_try="$ac_compile"
18509 case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18512 esac
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_compile") 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } && {
18521 test -z "$ac_c_werror_flag" ||
18522 test ! -s conftest.err
18523 } && test -s conftest.$ac_objext; then
18524 ac_cv_member_struct_statfs_f_bfree=yes
18525 else
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.$ac_ext >&5
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 #include <sys/types.h>
18536 #ifdef HAVE_SYS_PARAM_H
18537 # include <sys/param.h>
18538 #endif
18539 #ifdef HAVE_SYS_MOUNT_H
18540 # include <sys/mount.h>
18541 #endif
18542 #ifdef HAVE_SYS_VFS_H
18543 # include <sys/vfs.h>
18544 #endif
18545 #ifdef HAVE_SYS_STATFS_H
18546 # include <sys/statfs.h>
18547 #endif
18550 main ()
18552 static struct statfs ac_aggr;
18553 if (sizeof ac_aggr.f_bfree)
18554 return 0;
18556 return 0;
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 ac_cv_member_struct_statfs_f_bfree=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18581 ac_cv_member_struct_statfs_f_bfree=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18590 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18591 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_STRUCT_STATFS_F_BFREE 1
18595 _ACEOF
18599 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18600 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18601 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 #include <sys/types.h>
18611 #ifdef HAVE_SYS_PARAM_H
18612 # include <sys/param.h>
18613 #endif
18614 #ifdef HAVE_SYS_MOUNT_H
18615 # include <sys/mount.h>
18616 #endif
18617 #ifdef HAVE_SYS_VFS_H
18618 # include <sys/vfs.h>
18619 #endif
18620 #ifdef HAVE_SYS_STATFS_H
18621 # include <sys/statfs.h>
18622 #endif
18625 main ()
18627 static struct statfs ac_aggr;
18628 if (ac_aggr.f_bavail)
18629 return 0;
18631 return 0;
18633 _ACEOF
18634 rm -f conftest.$ac_objext
18635 if { (ac_try="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18639 esac
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18642 ac_status=$?
18643 grep -v '^ *+' conftest.er1 >conftest.err
18644 rm -f conftest.er1
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.$ac_objext; then
18651 ac_cv_member_struct_statfs_f_bavail=yes
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <sys/types.h>
18663 #ifdef HAVE_SYS_PARAM_H
18664 # include <sys/param.h>
18665 #endif
18666 #ifdef HAVE_SYS_MOUNT_H
18667 # include <sys/mount.h>
18668 #endif
18669 #ifdef HAVE_SYS_VFS_H
18670 # include <sys/vfs.h>
18671 #endif
18672 #ifdef HAVE_SYS_STATFS_H
18673 # include <sys/statfs.h>
18674 #endif
18677 main ()
18679 static struct statfs ac_aggr;
18680 if (sizeof ac_aggr.f_bavail)
18681 return 0;
18683 return 0;
18685 _ACEOF
18686 rm -f conftest.$ac_objext
18687 if { (ac_try="$ac_compile"
18688 case "(($ac_try" in
18689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18691 esac
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_compile") 2>conftest.er1
18694 ac_status=$?
18695 grep -v '^ *+' conftest.er1 >conftest.err
18696 rm -f conftest.er1
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } && {
18700 test -z "$ac_c_werror_flag" ||
18701 test ! -s conftest.err
18702 } && test -s conftest.$ac_objext; then
18703 ac_cv_member_struct_statfs_f_bavail=yes
18704 else
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.$ac_ext >&5
18708 ac_cv_member_struct_statfs_f_bavail=no
18711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18716 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18717 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18718 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18720 cat >>confdefs.h <<_ACEOF
18721 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18722 _ACEOF
18726 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18727 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18728 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731 cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h. */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 #include <sys/types.h>
18738 #ifdef HAVE_SYS_PARAM_H
18739 # include <sys/param.h>
18740 #endif
18741 #ifdef HAVE_SYS_MOUNT_H
18742 # include <sys/mount.h>
18743 #endif
18744 #ifdef HAVE_SYS_VFS_H
18745 # include <sys/vfs.h>
18746 #endif
18747 #ifdef HAVE_SYS_STATFS_H
18748 # include <sys/statfs.h>
18749 #endif
18752 main ()
18754 static struct statfs ac_aggr;
18755 if (ac_aggr.f_frsize)
18756 return 0;
18758 return 0;
18760 _ACEOF
18761 rm -f conftest.$ac_objext
18762 if { (ac_try="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18766 esac
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18769 ac_status=$?
18770 grep -v '^ *+' conftest.er1 >conftest.err
18771 rm -f conftest.er1
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_c_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 ac_cv_member_struct_statfs_f_frsize=yes
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h. */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 #include <sys/types.h>
18790 #ifdef HAVE_SYS_PARAM_H
18791 # include <sys/param.h>
18792 #endif
18793 #ifdef HAVE_SYS_MOUNT_H
18794 # include <sys/mount.h>
18795 #endif
18796 #ifdef HAVE_SYS_VFS_H
18797 # include <sys/vfs.h>
18798 #endif
18799 #ifdef HAVE_SYS_STATFS_H
18800 # include <sys/statfs.h>
18801 #endif
18804 main ()
18806 static struct statfs ac_aggr;
18807 if (sizeof ac_aggr.f_frsize)
18808 return 0;
18810 return 0;
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18821 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_c_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then
18830 ac_cv_member_struct_statfs_f_frsize=yes
18831 else
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18835 ac_cv_member_struct_statfs_f_frsize=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18844 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18845 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18849 _ACEOF
18853 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18854 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18855 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 else
18858 cat >conftest.$ac_ext <<_ACEOF
18859 /* confdefs.h. */
18860 _ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <sys/types.h>
18865 #ifdef HAVE_SYS_PARAM_H
18866 # include <sys/param.h>
18867 #endif
18868 #ifdef HAVE_SYS_MOUNT_H
18869 # include <sys/mount.h>
18870 #endif
18871 #ifdef HAVE_SYS_VFS_H
18872 # include <sys/vfs.h>
18873 #endif
18874 #ifdef HAVE_SYS_STATFS_H
18875 # include <sys/statfs.h>
18876 #endif
18879 main ()
18881 static struct statfs ac_aggr;
18882 if (ac_aggr.f_ffree)
18883 return 0;
18885 return 0;
18887 _ACEOF
18888 rm -f conftest.$ac_objext
18889 if { (ac_try="$ac_compile"
18890 case "(($ac_try" in
18891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18892 *) ac_try_echo=$ac_try;;
18893 esac
18894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18895 (eval "$ac_compile") 2>conftest.er1
18896 ac_status=$?
18897 grep -v '^ *+' conftest.er1 >conftest.err
18898 rm -f conftest.er1
18899 cat conftest.err >&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } && {
18902 test -z "$ac_c_werror_flag" ||
18903 test ! -s conftest.err
18904 } && test -s conftest.$ac_objext; then
18905 ac_cv_member_struct_statfs_f_ffree=yes
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 cat >conftest.$ac_ext <<_ACEOF
18911 /* confdefs.h. */
18912 _ACEOF
18913 cat confdefs.h >>conftest.$ac_ext
18914 cat >>conftest.$ac_ext <<_ACEOF
18915 /* end confdefs.h. */
18916 #include <sys/types.h>
18917 #ifdef HAVE_SYS_PARAM_H
18918 # include <sys/param.h>
18919 #endif
18920 #ifdef HAVE_SYS_MOUNT_H
18921 # include <sys/mount.h>
18922 #endif
18923 #ifdef HAVE_SYS_VFS_H
18924 # include <sys/vfs.h>
18925 #endif
18926 #ifdef HAVE_SYS_STATFS_H
18927 # include <sys/statfs.h>
18928 #endif
18931 main ()
18933 static struct statfs ac_aggr;
18934 if (sizeof ac_aggr.f_ffree)
18935 return 0;
18937 return 0;
18939 _ACEOF
18940 rm -f conftest.$ac_objext
18941 if { (ac_try="$ac_compile"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18945 esac
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_compile") 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } && {
18954 test -z "$ac_c_werror_flag" ||
18955 test ! -s conftest.err
18956 } && test -s conftest.$ac_objext; then
18957 ac_cv_member_struct_statfs_f_ffree=yes
18958 else
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18962 ac_cv_member_struct_statfs_f_ffree=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18971 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18972 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_STRUCT_STATFS_F_FFREE 1
18976 _ACEOF
18980 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18981 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18982 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 #include <sys/types.h>
18992 #ifdef HAVE_SYS_PARAM_H
18993 # include <sys/param.h>
18994 #endif
18995 #ifdef HAVE_SYS_MOUNT_H
18996 # include <sys/mount.h>
18997 #endif
18998 #ifdef HAVE_SYS_VFS_H
18999 # include <sys/vfs.h>
19000 #endif
19001 #ifdef HAVE_SYS_STATFS_H
19002 # include <sys/statfs.h>
19003 #endif
19006 main ()
19008 static struct statfs ac_aggr;
19009 if (ac_aggr.f_favail)
19010 return 0;
19012 return 0;
19014 _ACEOF
19015 rm -f conftest.$ac_objext
19016 if { (ac_try="$ac_compile"
19017 case "(($ac_try" in
19018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19019 *) ac_try_echo=$ac_try;;
19020 esac
19021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19022 (eval "$ac_compile") 2>conftest.er1
19023 ac_status=$?
19024 grep -v '^ *+' conftest.er1 >conftest.err
19025 rm -f conftest.er1
19026 cat conftest.err >&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } && {
19029 test -z "$ac_c_werror_flag" ||
19030 test ! -s conftest.err
19031 } && test -s conftest.$ac_objext; then
19032 ac_cv_member_struct_statfs_f_favail=yes
19033 else
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <sys/types.h>
19044 #ifdef HAVE_SYS_PARAM_H
19045 # include <sys/param.h>
19046 #endif
19047 #ifdef HAVE_SYS_MOUNT_H
19048 # include <sys/mount.h>
19049 #endif
19050 #ifdef HAVE_SYS_VFS_H
19051 # include <sys/vfs.h>
19052 #endif
19053 #ifdef HAVE_SYS_STATFS_H
19054 # include <sys/statfs.h>
19055 #endif
19058 main ()
19060 static struct statfs ac_aggr;
19061 if (sizeof ac_aggr.f_favail)
19062 return 0;
19064 return 0;
19066 _ACEOF
19067 rm -f conftest.$ac_objext
19068 if { (ac_try="$ac_compile"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compile") 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } && {
19081 test -z "$ac_c_werror_flag" ||
19082 test ! -s conftest.err
19083 } && test -s conftest.$ac_objext; then
19084 ac_cv_member_struct_statfs_f_favail=yes
19085 else
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19089 ac_cv_member_struct_statfs_f_favail=no
19092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19098 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19099 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19103 _ACEOF
19107 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19108 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19109 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 else
19112 cat >conftest.$ac_ext <<_ACEOF
19113 /* confdefs.h. */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 #include <sys/types.h>
19119 #ifdef HAVE_SYS_PARAM_H
19120 # include <sys/param.h>
19121 #endif
19122 #ifdef HAVE_SYS_MOUNT_H
19123 # include <sys/mount.h>
19124 #endif
19125 #ifdef HAVE_SYS_VFS_H
19126 # include <sys/vfs.h>
19127 #endif
19128 #ifdef HAVE_SYS_STATFS_H
19129 # include <sys/statfs.h>
19130 #endif
19133 main ()
19135 static struct statfs ac_aggr;
19136 if (ac_aggr.f_namelen)
19137 return 0;
19139 return 0;
19141 _ACEOF
19142 rm -f conftest.$ac_objext
19143 if { (ac_try="$ac_compile"
19144 case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19147 esac
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_compile") 2>conftest.er1
19150 ac_status=$?
19151 grep -v '^ *+' conftest.er1 >conftest.err
19152 rm -f conftest.er1
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } && {
19156 test -z "$ac_c_werror_flag" ||
19157 test ! -s conftest.err
19158 } && test -s conftest.$ac_objext; then
19159 ac_cv_member_struct_statfs_f_namelen=yes
19160 else
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <sys/types.h>
19171 #ifdef HAVE_SYS_PARAM_H
19172 # include <sys/param.h>
19173 #endif
19174 #ifdef HAVE_SYS_MOUNT_H
19175 # include <sys/mount.h>
19176 #endif
19177 #ifdef HAVE_SYS_VFS_H
19178 # include <sys/vfs.h>
19179 #endif
19180 #ifdef HAVE_SYS_STATFS_H
19181 # include <sys/statfs.h>
19182 #endif
19185 main ()
19187 static struct statfs ac_aggr;
19188 if (sizeof ac_aggr.f_namelen)
19189 return 0;
19191 return 0;
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 ac_cv_member_struct_statfs_f_namelen=yes
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19216 ac_cv_member_struct_statfs_f_namelen=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19225 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19226 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19228 cat >>confdefs.h <<_ACEOF
19229 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19230 _ACEOF
19236 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19237 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19238 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 else
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h. */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19247 #ifdef HAVE_SYS_STATVFS_H
19248 #include <sys/statvfs.h>
19249 #endif
19252 main ()
19254 static struct statvfs ac_aggr;
19255 if (ac_aggr.f_blocks)
19256 return 0;
19258 return 0;
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 ac_cv_member_struct_statvfs_f_blocks=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289 #ifdef HAVE_SYS_STATVFS_H
19290 #include <sys/statvfs.h>
19291 #endif
19294 main ()
19296 static struct statvfs ac_aggr;
19297 if (sizeof ac_aggr.f_blocks)
19298 return 0;
19300 return 0;
19302 _ACEOF
19303 rm -f conftest.$ac_objext
19304 if { (ac_try="$ac_compile"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_compile") 2>conftest.er1
19311 ac_status=$?
19312 grep -v '^ *+' conftest.er1 >conftest.err
19313 rm -f conftest.er1
19314 cat conftest.err >&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && {
19317 test -z "$ac_c_werror_flag" ||
19318 test ! -s conftest.err
19319 } && test -s conftest.$ac_objext; then
19320 ac_cv_member_struct_statvfs_f_blocks=yes
19321 else
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19325 ac_cv_member_struct_statvfs_f_blocks=no
19328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19333 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19334 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19335 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19337 cat >>confdefs.h <<_ACEOF
19338 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19339 _ACEOF
19345 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19346 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19347 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 #include <sys/types.h>
19357 #ifdef HAVE_SYS_SOCKET_H
19358 # include <sys/socket.h>
19359 #endif
19360 #ifdef HAVE_SYS_UN_H
19361 # include <sys/un.h>
19362 #endif
19365 main ()
19367 static struct msghdr ac_aggr;
19368 if (ac_aggr.msg_accrights)
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_msghdr_msg_accrights=yes
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <sys/types.h>
19403 #ifdef HAVE_SYS_SOCKET_H
19404 # include <sys/socket.h>
19405 #endif
19406 #ifdef HAVE_SYS_UN_H
19407 # include <sys/un.h>
19408 #endif
19411 main ()
19413 static struct msghdr ac_aggr;
19414 if (sizeof ac_aggr.msg_accrights)
19415 return 0;
19417 return 0;
19419 _ACEOF
19420 rm -f conftest.$ac_objext
19421 if { (ac_try="$ac_compile"
19422 case "(($ac_try" in
19423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19424 *) ac_try_echo=$ac_try;;
19425 esac
19426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19427 (eval "$ac_compile") 2>conftest.er1
19428 ac_status=$?
19429 grep -v '^ *+' conftest.er1 >conftest.err
19430 rm -f conftest.er1
19431 cat conftest.err >&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } && {
19434 test -z "$ac_c_werror_flag" ||
19435 test ! -s conftest.err
19436 } && test -s conftest.$ac_objext; then
19437 ac_cv_member_struct_msghdr_msg_accrights=yes
19438 else
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19442 ac_cv_member_struct_msghdr_msg_accrights=no
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19451 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19452 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19454 cat >>confdefs.h <<_ACEOF
19455 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19456 _ACEOF
19460 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19461 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19462 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 cat >conftest.$ac_ext <<_ACEOF
19466 /* confdefs.h. */
19467 _ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 #include <sys/types.h>
19472 #ifdef HAVE_SYS_SOCKET_H
19473 # include <sys/socket.h>
19474 #endif
19475 #ifdef HAVE_SYS_UN_H
19476 # include <sys/un.h>
19477 #endif
19480 main ()
19482 static struct sockaddr ac_aggr;
19483 if (ac_aggr.sa_len)
19484 return 0;
19486 return 0;
19488 _ACEOF
19489 rm -f conftest.$ac_objext
19490 if { (ac_try="$ac_compile"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_compile") 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest.$ac_objext; then
19506 ac_cv_member_struct_sockaddr_sa_len=yes
19507 else
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h. */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517 #include <sys/types.h>
19518 #ifdef HAVE_SYS_SOCKET_H
19519 # include <sys/socket.h>
19520 #endif
19521 #ifdef HAVE_SYS_UN_H
19522 # include <sys/un.h>
19523 #endif
19526 main ()
19528 static struct sockaddr ac_aggr;
19529 if (sizeof ac_aggr.sa_len)
19530 return 0;
19532 return 0;
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (ac_try="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.$ac_objext; then
19552 ac_cv_member_struct_sockaddr_sa_len=yes
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 ac_cv_member_struct_sockaddr_sa_len=no
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19565 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19566 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19567 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19569 cat >>confdefs.h <<_ACEOF
19570 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19571 _ACEOF
19575 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19576 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 #include <sys/types.h>
19587 #ifdef HAVE_SYS_SOCKET_H
19588 # include <sys/socket.h>
19589 #endif
19590 #ifdef HAVE_SYS_UN_H
19591 # include <sys/un.h>
19592 #endif
19595 main ()
19597 static struct sockaddr_un ac_aggr;
19598 if (ac_aggr.sun_len)
19599 return 0;
19601 return 0;
19603 _ACEOF
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19609 esac
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19612 ac_status=$?
19613 grep -v '^ *+' conftest.er1 >conftest.err
19614 rm -f conftest.er1
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19621 ac_cv_member_struct_sockaddr_un_sun_len=yes
19622 else
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19626 cat >conftest.$ac_ext <<_ACEOF
19627 /* confdefs.h. */
19628 _ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 #include <sys/types.h>
19633 #ifdef HAVE_SYS_SOCKET_H
19634 # include <sys/socket.h>
19635 #endif
19636 #ifdef HAVE_SYS_UN_H
19637 # include <sys/un.h>
19638 #endif
19641 main ()
19643 static struct sockaddr_un ac_aggr;
19644 if (sizeof ac_aggr.sun_len)
19645 return 0;
19647 return 0;
19649 _ACEOF
19650 rm -f conftest.$ac_objext
19651 if { (ac_try="$ac_compile"
19652 case "(($ac_try" in
19653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19654 *) ac_try_echo=$ac_try;;
19655 esac
19656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19657 (eval "$ac_compile") 2>conftest.er1
19658 ac_status=$?
19659 grep -v '^ *+' conftest.er1 >conftest.err
19660 rm -f conftest.er1
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } && {
19664 test -z "$ac_c_werror_flag" ||
19665 test ! -s conftest.err
19666 } && test -s conftest.$ac_objext; then
19667 ac_cv_member_struct_sockaddr_un_sun_len=yes
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 ac_cv_member_struct_sockaddr_un_sun_len=no
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19681 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19682 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19686 _ACEOF
19692 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19693 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19694 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 else
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h. */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #include <sys/types.h>
19704 #ifdef HAVE_SCSI_SG_H
19705 #include <scsi/sg.h>
19706 #endif
19709 main ()
19711 static scsireq_t ac_aggr;
19712 if (ac_aggr.cmd)
19713 return 0;
19715 return 0;
19717 _ACEOF
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19723 esac
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.$ac_objext; then
19735 ac_cv_member_scsireq_t_cmd=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #include <sys/types.h>
19747 #ifdef HAVE_SCSI_SG_H
19748 #include <scsi/sg.h>
19749 #endif
19752 main ()
19754 static scsireq_t ac_aggr;
19755 if (sizeof ac_aggr.cmd)
19756 return 0;
19758 return 0;
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_cv_member_scsireq_t_cmd=yes
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 ac_cv_member_scsireq_t_cmd=no
19786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19792 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19793 if test $ac_cv_member_scsireq_t_cmd = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define HAVE_SCSIREQ_T_CMD 1
19797 _ACEOF
19801 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19802 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19803 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 #include <sys/types.h>
19813 #ifdef HAVE_SCSI_SG_H
19814 #include <scsi/sg.h>
19815 #endif
19818 main ()
19820 static sg_io_hdr_t ac_aggr;
19821 if (ac_aggr.interface_id)
19822 return 0;
19824 return 0;
19826 _ACEOF
19827 rm -f conftest.$ac_objext
19828 if { (ac_try="$ac_compile"
19829 case "(($ac_try" in
19830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19831 *) ac_try_echo=$ac_try;;
19832 esac
19833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19834 (eval "$ac_compile") 2>conftest.er1
19835 ac_status=$?
19836 grep -v '^ *+' conftest.er1 >conftest.err
19837 rm -f conftest.er1
19838 cat conftest.err >&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } && {
19841 test -z "$ac_c_werror_flag" ||
19842 test ! -s conftest.err
19843 } && test -s conftest.$ac_objext; then
19844 ac_cv_member_sg_io_hdr_t_interface_id=yes
19845 else
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19849 cat >conftest.$ac_ext <<_ACEOF
19850 /* confdefs.h. */
19851 _ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 #include <sys/types.h>
19856 #ifdef HAVE_SCSI_SG_H
19857 #include <scsi/sg.h>
19858 #endif
19861 main ()
19863 static sg_io_hdr_t ac_aggr;
19864 if (sizeof ac_aggr.interface_id)
19865 return 0;
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_cv_member_sg_io_hdr_t_interface_id=yes
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 ac_cv_member_sg_io_hdr_t_interface_id=no
19895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19901 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19902 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19904 cat >>confdefs.h <<_ACEOF
19905 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19906 _ACEOF
19912 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19913 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19914 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 else
19917 cat >conftest.$ac_ext <<_ACEOF
19918 /* confdefs.h. */
19919 _ACEOF
19920 cat confdefs.h >>conftest.$ac_ext
19921 cat >>conftest.$ac_ext <<_ACEOF
19922 /* end confdefs.h. */
19923 #include <signal.h>
19926 main ()
19928 static siginfo_t ac_aggr;
19929 if (ac_aggr.si_fd)
19930 return 0;
19932 return 0;
19934 _ACEOF
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19943 ac_status=$?
19944 grep -v '^ *+' conftest.er1 >conftest.err
19945 rm -f conftest.er1
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 ac_cv_member_siginfo_t_si_fd=yes
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 #include <signal.h>
19966 main ()
19968 static siginfo_t ac_aggr;
19969 if (sizeof ac_aggr.si_fd)
19970 return 0;
19972 return 0;
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (ac_try="$ac_compile"
19977 case "(($ac_try" in
19978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19979 *) ac_try_echo=$ac_try;;
19980 esac
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_compile") 2>conftest.er1
19983 ac_status=$?
19984 grep -v '^ *+' conftest.er1 >conftest.err
19985 rm -f conftest.er1
19986 cat conftest.err >&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } && {
19989 test -z "$ac_c_werror_flag" ||
19990 test ! -s conftest.err
19991 } && test -s conftest.$ac_objext; then
19992 ac_cv_member_siginfo_t_si_fd=yes
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19997 ac_cv_member_siginfo_t_si_fd=no
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20006 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20007 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define HAVE_SIGINFO_T_SI_FD 1
20011 _ACEOF
20017 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20018 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20019 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <sys/types.h>
20029 #ifdef HAVE_SYS_MTIO_H
20030 #include <sys/mtio.h>
20031 #endif
20034 main ()
20036 static struct mtget ac_aggr;
20037 if (ac_aggr.mt_blksiz)
20038 return 0;
20040 return 0;
20042 _ACEOF
20043 rm -f conftest.$ac_objext
20044 if { (ac_try="$ac_compile"
20045 case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_compile") 2>conftest.er1
20051 ac_status=$?
20052 grep -v '^ *+' conftest.er1 >conftest.err
20053 rm -f conftest.er1
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } && {
20057 test -z "$ac_c_werror_flag" ||
20058 test ! -s conftest.err
20059 } && test -s conftest.$ac_objext; then
20060 ac_cv_member_struct_mtget_mt_blksiz=yes
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <sys/types.h>
20072 #ifdef HAVE_SYS_MTIO_H
20073 #include <sys/mtio.h>
20074 #endif
20077 main ()
20079 static struct mtget ac_aggr;
20080 if (sizeof ac_aggr.mt_blksiz)
20081 return 0;
20083 return 0;
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 ac_cv_member_struct_mtget_mt_blksiz=yes
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 ac_cv_member_struct_mtget_mt_blksiz=no
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20117 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20118 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20120 cat >>confdefs.h <<_ACEOF
20121 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20122 _ACEOF
20126 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20127 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20128 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 #include <sys/types.h>
20138 #ifdef HAVE_SYS_MTIO_H
20139 #include <sys/mtio.h>
20140 #endif
20143 main ()
20145 static struct mtget ac_aggr;
20146 if (ac_aggr.mt_gstat)
20147 return 0;
20149 return 0;
20151 _ACEOF
20152 rm -f conftest.$ac_objext
20153 if { (ac_try="$ac_compile"
20154 case "(($ac_try" in
20155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20156 *) ac_try_echo=$ac_try;;
20157 esac
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_compile") 2>conftest.er1
20160 ac_status=$?
20161 grep -v '^ *+' conftest.er1 >conftest.err
20162 rm -f conftest.er1
20163 cat conftest.err >&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } && {
20166 test -z "$ac_c_werror_flag" ||
20167 test ! -s conftest.err
20168 } && test -s conftest.$ac_objext; then
20169 ac_cv_member_struct_mtget_mt_gstat=yes
20170 else
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #include <sys/types.h>
20181 #ifdef HAVE_SYS_MTIO_H
20182 #include <sys/mtio.h>
20183 #endif
20186 main ()
20188 static struct mtget ac_aggr;
20189 if (sizeof ac_aggr.mt_gstat)
20190 return 0;
20192 return 0;
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (ac_try="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20200 esac
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20203 ac_status=$?
20204 grep -v '^ *+' conftest.er1 >conftest.err
20205 rm -f conftest.er1
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20212 ac_cv_member_struct_mtget_mt_gstat=yes
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 ac_cv_member_struct_mtget_mt_gstat=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20226 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20227 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20229 cat >>confdefs.h <<_ACEOF
20230 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20231 _ACEOF
20235 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20236 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20237 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <sys/types.h>
20247 #ifdef HAVE_SYS_MTIO_H
20248 #include <sys/mtio.h>
20249 #endif
20252 main ()
20254 static struct mtget ac_aggr;
20255 if (ac_aggr.mt_blkno)
20256 return 0;
20258 return 0;
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (ac_try="$ac_compile"
20263 case "(($ac_try" in
20264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20266 esac
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_compile") 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } && {
20275 test -z "$ac_c_werror_flag" ||
20276 test ! -s conftest.err
20277 } && test -s conftest.$ac_objext; then
20278 ac_cv_member_struct_mtget_mt_blkno=yes
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <sys/types.h>
20290 #ifdef HAVE_SYS_MTIO_H
20291 #include <sys/mtio.h>
20292 #endif
20295 main ()
20297 static struct mtget ac_aggr;
20298 if (sizeof ac_aggr.mt_blkno)
20299 return 0;
20301 return 0;
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (ac_try="$ac_compile"
20306 case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20309 esac
20310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_compile") 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } && {
20318 test -z "$ac_c_werror_flag" ||
20319 test ! -s conftest.err
20320 } && test -s conftest.$ac_objext; then
20321 ac_cv_member_struct_mtget_mt_blkno=yes
20322 else
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 ac_cv_member_struct_mtget_mt_blkno=no
20329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20335 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20336 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20338 cat >>confdefs.h <<_ACEOF
20339 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20340 _ACEOF
20346 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20347 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20348 if test "${ac_cv_member_struct_option_name+set}" = set; then
20349 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 else
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 #ifdef HAVE_GETOPT_H
20358 #include <getopt.h>
20359 #endif
20362 main ()
20364 static struct option ac_aggr;
20365 if (ac_aggr.name)
20366 return 0;
20368 return 0;
20370 _ACEOF
20371 rm -f conftest.$ac_objext
20372 if { (ac_try="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20376 esac
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20379 ac_status=$?
20380 grep -v '^ *+' conftest.er1 >conftest.err
20381 rm -f conftest.er1
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20388 ac_cv_member_struct_option_name=yes
20389 else
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20393 cat >conftest.$ac_ext <<_ACEOF
20394 /* confdefs.h. */
20395 _ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 #ifdef HAVE_GETOPT_H
20400 #include <getopt.h>
20401 #endif
20404 main ()
20406 static struct option ac_aggr;
20407 if (sizeof ac_aggr.name)
20408 return 0;
20410 return 0;
20412 _ACEOF
20413 rm -f conftest.$ac_objext
20414 if { (ac_try="$ac_compile"
20415 case "(($ac_try" in
20416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20417 *) ac_try_echo=$ac_try;;
20418 esac
20419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420 (eval "$ac_compile") 2>conftest.er1
20421 ac_status=$?
20422 grep -v '^ *+' conftest.er1 >conftest.err
20423 rm -f conftest.er1
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && {
20427 test -z "$ac_c_werror_flag" ||
20428 test ! -s conftest.err
20429 } && test -s conftest.$ac_objext; then
20430 ac_cv_member_struct_option_name=yes
20431 else
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20435 ac_cv_member_struct_option_name=no
20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20444 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20445 if test $ac_cv_member_struct_option_name = yes; then
20447 cat >>confdefs.h <<_ACEOF
20448 #define HAVE_STRUCT_OPTION_NAME 1
20449 _ACEOF
20455 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20456 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20457 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20458 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 else
20460 cat >conftest.$ac_ext <<_ACEOF
20461 /* confdefs.h. */
20462 _ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 $ac_includes_default
20468 main ()
20470 static struct stat ac_aggr;
20471 if (ac_aggr.st_blocks)
20472 return 0;
20474 return 0;
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (ac_try="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20482 esac
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20485 ac_status=$?
20486 grep -v '^ *+' conftest.er1 >conftest.err
20487 rm -f conftest.er1
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20494 ac_cv_member_struct_stat_st_blocks=yes
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 cat >conftest.$ac_ext <<_ACEOF
20500 /* confdefs.h. */
20501 _ACEOF
20502 cat confdefs.h >>conftest.$ac_ext
20503 cat >>conftest.$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505 $ac_includes_default
20507 main ()
20509 static struct stat ac_aggr;
20510 if (sizeof ac_aggr.st_blocks)
20511 return 0;
20513 return 0;
20515 _ACEOF
20516 rm -f conftest.$ac_objext
20517 if { (ac_try="$ac_compile"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20521 esac
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_compile") 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } && {
20530 test -z "$ac_c_werror_flag" ||
20531 test ! -s conftest.err
20532 } && test -s conftest.$ac_objext; then
20533 ac_cv_member_struct_stat_st_blocks=yes
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20538 ac_cv_member_struct_stat_st_blocks=no
20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20547 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20548 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20550 cat >>confdefs.h <<_ACEOF
20551 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20552 _ACEOF
20558 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20559 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20560 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 else
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #ifdef HAVE_SYS_TYPES_H
20570 #include <sys/types.h>
20571 #endif
20572 #ifdef HAVE_NETINET_IN_H
20573 #include <netinet/in.h>
20574 #endif
20577 main ()
20579 static struct sockaddr_in6 ac_aggr;
20580 if (ac_aggr.sin6_scope_id)
20581 return 0;
20583 return 0;
20585 _ACEOF
20586 rm -f conftest.$ac_objext
20587 if { (ac_try="$ac_compile"
20588 case "(($ac_try" in
20589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20590 *) ac_try_echo=$ac_try;;
20591 esac
20592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20593 (eval "$ac_compile") 2>conftest.er1
20594 ac_status=$?
20595 grep -v '^ *+' conftest.er1 >conftest.err
20596 rm -f conftest.er1
20597 cat conftest.err >&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); } && {
20600 test -z "$ac_c_werror_flag" ||
20601 test ! -s conftest.err
20602 } && test -s conftest.$ac_objext; then
20603 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20604 else
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 #ifdef HAVE_SYS_TYPES_H
20615 #include <sys/types.h>
20616 #endif
20617 #ifdef HAVE_NETINET_IN_H
20618 #include <netinet/in.h>
20619 #endif
20622 main ()
20624 static struct sockaddr_in6 ac_aggr;
20625 if (sizeof ac_aggr.sin6_scope_id)
20626 return 0;
20628 return 0;
20630 _ACEOF
20631 rm -f conftest.$ac_objext
20632 if { (ac_try="$ac_compile"
20633 case "(($ac_try" in
20634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20635 *) ac_try_echo=$ac_try;;
20636 esac
20637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20638 (eval "$ac_compile") 2>conftest.er1
20639 ac_status=$?
20640 grep -v '^ *+' conftest.er1 >conftest.err
20641 rm -f conftest.er1
20642 cat conftest.err >&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } && {
20645 test -z "$ac_c_werror_flag" ||
20646 test ! -s conftest.err
20647 } && test -s conftest.$ac_objext; then
20648 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20649 else
20650 echo "$as_me: failed program was:" >&5
20651 sed 's/^/| /' conftest.$ac_ext >&5
20653 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20661 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20662 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20663 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20667 _ACEOF
20673 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20674 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20675 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20676 echo $ECHO_N "(cached) $ECHO_C" >&6
20677 else
20678 cat >conftest.$ac_ext <<_ACEOF
20679 /* confdefs.h. */
20680 _ACEOF
20681 cat confdefs.h >>conftest.$ac_ext
20682 cat >>conftest.$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20684 #ifdef HAVE_SYS_TYPES_H
20685 #include <sys/types.h>
20686 #endif
20687 #ifdef HAVE_NETINET_IN_H
20688 # include <netinet/in.h>
20689 #endif
20690 #ifdef HAVE_ARPA_NAMESER_H
20691 # include <arpa/nameser.h>
20692 #endif
20695 main ()
20697 static ns_msg ac_aggr;
20698 if (ac_aggr._msg_ptr)
20699 return 0;
20701 return 0;
20703 _ACEOF
20704 rm -f conftest.$ac_objext
20705 if { (ac_try="$ac_compile"
20706 case "(($ac_try" in
20707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20708 *) ac_try_echo=$ac_try;;
20709 esac
20710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20711 (eval "$ac_compile") 2>conftest.er1
20712 ac_status=$?
20713 grep -v '^ *+' conftest.er1 >conftest.err
20714 rm -f conftest.er1
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } && {
20718 test -z "$ac_c_werror_flag" ||
20719 test ! -s conftest.err
20720 } && test -s conftest.$ac_objext; then
20721 ac_cv_member_ns_msg__msg_ptr=yes
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 #ifdef HAVE_SYS_TYPES_H
20733 #include <sys/types.h>
20734 #endif
20735 #ifdef HAVE_NETINET_IN_H
20736 # include <netinet/in.h>
20737 #endif
20738 #ifdef HAVE_ARPA_NAMESER_H
20739 # include <arpa/nameser.h>
20740 #endif
20743 main ()
20745 static ns_msg ac_aggr;
20746 if (sizeof ac_aggr._msg_ptr)
20747 return 0;
20749 return 0;
20751 _ACEOF
20752 rm -f conftest.$ac_objext
20753 if { (ac_try="$ac_compile"
20754 case "(($ac_try" in
20755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20756 *) ac_try_echo=$ac_try;;
20757 esac
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_compile") 2>conftest.er1
20760 ac_status=$?
20761 grep -v '^ *+' conftest.er1 >conftest.err
20762 rm -f conftest.er1
20763 cat conftest.err >&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } && {
20766 test -z "$ac_c_werror_flag" ||
20767 test ! -s conftest.err
20768 } && test -s conftest.$ac_objext; then
20769 ac_cv_member_ns_msg__msg_ptr=yes
20770 else
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20774 ac_cv_member_ns_msg__msg_ptr=no
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20782 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20783 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20784 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20786 cat >>confdefs.h <<_ACEOF
20787 #define HAVE_NS_MSG__MSG_PTR 1
20788 _ACEOF
20794 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20795 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20796 if test "${ac_cv_have_timezone+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 else
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 #include <time.h>
20807 main ()
20809 timezone = 1
20811 return 0;
20813 _ACEOF
20814 rm -f conftest.$ac_objext conftest$ac_exeext
20815 if { (ac_try="$ac_link"
20816 case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20819 esac
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_link") 2>conftest.er1
20822 ac_status=$?
20823 grep -v '^ *+' conftest.er1 >conftest.err
20824 rm -f conftest.er1
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && {
20828 test -z "$ac_c_werror_flag" ||
20829 test ! -s conftest.err
20830 } && test -s conftest$ac_exeext &&
20831 $as_test_x conftest$ac_exeext; then
20832 ac_cv_have_timezone="yes"
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 ac_cv_have_timezone="no"
20840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20841 conftest$ac_exeext conftest.$ac_ext
20843 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20844 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20845 if test "$ac_cv_have_timezone" = "yes"
20846 then
20848 cat >>confdefs.h <<\_ACEOF
20849 #define HAVE_TIMEZONE 1
20850 _ACEOF
20853 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20854 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20855 if test "${ac_cv_have_daylight+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 else
20858 cat >conftest.$ac_ext <<_ACEOF
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 #include <time.h>
20866 main ()
20868 daylight = 1
20870 return 0;
20872 _ACEOF
20873 rm -f conftest.$ac_objext conftest$ac_exeext
20874 if { (ac_try="$ac_link"
20875 case "(($ac_try" in
20876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20878 esac
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_link") 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest$ac_exeext &&
20890 $as_test_x conftest$ac_exeext; then
20891 ac_cv_have_daylight="yes"
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20896 ac_cv_have_daylight="no"
20899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20900 conftest$ac_exeext conftest.$ac_ext
20902 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20903 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20904 if test "$ac_cv_have_daylight" = "yes"
20905 then
20907 cat >>confdefs.h <<\_ACEOF
20908 #define HAVE_DAYLIGHT 1
20909 _ACEOF
20914 case $host_cpu in
20915 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20916 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20917 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20918 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 else
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 #ifndef __i386__
20928 #endif
20929 _ACEOF
20930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20931 $EGREP "yes" >/dev/null 2>&1; then
20932 ac_cv_cpp_def___i386__=yes
20933 else
20934 ac_cv_cpp_def___i386__=no
20936 rm -f conftest*
20939 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20940 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20941 if test $ac_cv_cpp_def___i386__ = yes; then
20942 CFLAGS="$CFLAGS -D__i386__"
20943 LINTFLAGS="$LINTFLAGS -D__i386__"
20946 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20947 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20948 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20949 echo $ECHO_N "(cached) $ECHO_C" >&6
20950 else
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 #ifndef __x86_64__
20959 #endif
20960 _ACEOF
20961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20962 $EGREP "yes" >/dev/null 2>&1; then
20963 ac_cv_cpp_def___x86_64__=yes
20964 else
20965 ac_cv_cpp_def___x86_64__=no
20967 rm -f conftest*
20970 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20971 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20972 if test $ac_cv_cpp_def___x86_64__ = yes; then
20973 CFLAGS="$CFLAGS -D__x86_64__"
20974 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20977 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20978 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20979 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 #ifndef __ALPHA__
20990 #endif
20991 _ACEOF
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev/null 2>&1; then
20994 ac_cv_cpp_def___ALPHA__=yes
20995 else
20996 ac_cv_cpp_def___ALPHA__=no
20998 rm -f conftest*
21001 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21002 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21003 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21004 CFLAGS="$CFLAGS -D__ALPHA__"
21005 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21008 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21009 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21010 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013 cat >conftest.$ac_ext <<_ACEOF
21014 /* confdefs.h. */
21015 _ACEOF
21016 cat confdefs.h >>conftest.$ac_ext
21017 cat >>conftest.$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 #ifndef __sparc__
21021 #endif
21022 _ACEOF
21023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21024 $EGREP "yes" >/dev/null 2>&1; then
21025 ac_cv_cpp_def___sparc__=yes
21026 else
21027 ac_cv_cpp_def___sparc__=no
21029 rm -f conftest*
21032 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21033 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21034 if test $ac_cv_cpp_def___sparc__ = yes; then
21035 CFLAGS="$CFLAGS -D__sparc__"
21036 LINTFLAGS="$LINTFLAGS -D__sparc__"
21039 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21040 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21041 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21042 echo $ECHO_N "(cached) $ECHO_C" >&6
21043 else
21044 cat >conftest.$ac_ext <<_ACEOF
21045 /* confdefs.h. */
21046 _ACEOF
21047 cat confdefs.h >>conftest.$ac_ext
21048 cat >>conftest.$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 #ifndef __powerpc__
21052 #endif
21053 _ACEOF
21054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21055 $EGREP "yes" >/dev/null 2>&1; then
21056 ac_cv_cpp_def___powerpc__=yes
21057 else
21058 ac_cv_cpp_def___powerpc__=no
21060 rm -f conftest*
21063 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21064 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21065 if test $ac_cv_cpp_def___powerpc__ = yes; then
21066 CFLAGS="$CFLAGS -D__powerpc__"
21067 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21070 esac
21072 case $host_vendor in
21073 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21074 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21075 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21077 else
21078 cat >conftest.$ac_ext <<_ACEOF
21079 /* confdefs.h. */
21080 _ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 #ifndef __sun__
21086 #endif
21087 _ACEOF
21088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21089 $EGREP "yes" >/dev/null 2>&1; then
21090 ac_cv_cpp_def___sun__=yes
21091 else
21092 ac_cv_cpp_def___sun__=no
21094 rm -f conftest*
21097 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21098 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21099 if test $ac_cv_cpp_def___sun__ = yes; then
21100 CFLAGS="$CFLAGS -D__sun__"
21101 LINTFLAGS="$LINTFLAGS -D__sun__"
21104 esac
21107 DEPENDENCIES="### Dependencies:
21109 .INIT: Makefile
21110 .BEGIN: Makefile
21111 Makefile: dummy
21112 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21114 \$(OBJS): \$(IDL_GEN_HEADERS)
21115 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21116 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21117 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21123 ac_config_commands="$ac_config_commands include/stamp-h"
21126 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21128 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21130 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21132 ac_config_commands="$ac_config_commands dlls/user32/resources"
21134 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21136 ac_config_commands="$ac_config_commands include/wine"
21139 MAKE_RULES=Make.rules
21142 MAKE_DLL_RULES=dlls/Makedll.rules
21145 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21148 MAKE_TEST_RULES=dlls/Maketest.rules
21151 MAKE_PROG_RULES=programs/Makeprog.rules
21154 ac_config_files="$ac_config_files Make.rules"
21156 ac_config_files="$ac_config_files dlls/Makedll.rules"
21158 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21160 ac_config_files="$ac_config_files dlls/Maketest.rules"
21162 ac_config_files="$ac_config_files programs/Makeprog.rules"
21164 ac_config_files="$ac_config_files Makefile"
21166 ac_config_files="$ac_config_files dlls/Makefile"
21168 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21170 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21172 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21174 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21176 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21178 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21180 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21182 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21184 ac_config_files="$ac_config_files dlls/atl/Makefile"
21186 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21188 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21190 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21192 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21194 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21196 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21198 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21200 ac_config_files="$ac_config_files dlls/cards/Makefile"
21202 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21204 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21206 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21208 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21210 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21212 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21214 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21216 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21218 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21220 ac_config_files="$ac_config_files dlls/credui/Makefile"
21222 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21224 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21226 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21228 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21230 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21232 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21234 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21236 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21238 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21240 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21242 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21244 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21246 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21248 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21250 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21252 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21254 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21256 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21258 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21260 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21262 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21264 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21266 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21268 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21270 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21272 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21274 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21276 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21278 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21280 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21282 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21284 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21286 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21288 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21290 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21292 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21294 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21296 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21298 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21300 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21302 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21304 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21306 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21308 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21310 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21312 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21314 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21316 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21318 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21320 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21322 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21324 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21326 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21328 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21330 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21332 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21334 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21336 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21338 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21340 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21342 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21344 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21346 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21348 ac_config_files="$ac_config_files dlls/hal/Makefile"
21350 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21352 ac_config_files="$ac_config_files dlls/hid/Makefile"
21354 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21356 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21358 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21360 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21362 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21364 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21366 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21368 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21370 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21372 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21374 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21376 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21378 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21380 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21382 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21384 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21386 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21388 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21390 ac_config_files="$ac_config_files dlls/itss/Makefile"
21392 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21394 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21396 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21398 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21400 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21402 ac_config_files="$ac_config_files dlls/localui/Makefile"
21404 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21406 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21408 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21410 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21412 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21414 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21416 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21418 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21420 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21422 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21424 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21426 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21428 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21430 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21432 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21434 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21436 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21438 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21440 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21442 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21444 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21446 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21448 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21450 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21452 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21454 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21456 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21458 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21460 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21462 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21464 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21466 ac_config_files="$ac_config_files dlls/msi/Makefile"
21468 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21470 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21472 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21474 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21476 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21478 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21480 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21482 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21484 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21486 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21488 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21490 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21492 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21494 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21496 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21498 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21500 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21502 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21504 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21506 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21508 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21510 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21512 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21514 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21516 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21518 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21520 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21522 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21524 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21526 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21528 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21530 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21532 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21534 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21536 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21538 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21542 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21544 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21546 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21548 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21550 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21552 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21554 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21556 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21558 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21560 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21562 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21566 ac_config_files="$ac_config_files dlls/printui/Makefile"
21568 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21570 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21572 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21574 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21576 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21578 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21580 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21582 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21584 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21586 ac_config_files="$ac_config_files dlls/query/Makefile"
21588 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21590 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21592 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21594 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21598 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21602 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21604 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21606 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21608 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21610 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21612 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21614 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21616 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21618 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21620 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21622 ac_config_files="$ac_config_files dlls/security/Makefile"
21624 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21626 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21628 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21630 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21632 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21634 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21636 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21638 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21640 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21642 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21644 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21646 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21648 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21650 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21652 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21654 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21656 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21660 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21662 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21664 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21666 ac_config_files="$ac_config_files dlls/sti/Makefile"
21668 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21670 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21672 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21674 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21676 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21678 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21680 ac_config_files="$ac_config_files dlls/url/Makefile"
21682 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21684 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21686 ac_config_files="$ac_config_files dlls/user32/Makefile"
21688 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21690 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21692 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21694 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21696 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21698 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21700 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21702 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21704 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21706 ac_config_files="$ac_config_files dlls/version/Makefile"
21708 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21712 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21714 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21716 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21718 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21720 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21722 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21724 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21726 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21728 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21730 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21732 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21734 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21736 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21738 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21740 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21742 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21744 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21746 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21748 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21750 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21752 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21754 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21756 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21758 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21762 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21766 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21768 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21770 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21774 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21776 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21778 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21780 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21782 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21784 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21786 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21788 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21790 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21792 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21794 ac_config_files="$ac_config_files documentation/Makefile"
21796 ac_config_files="$ac_config_files fonts/Makefile"
21798 ac_config_files="$ac_config_files include/Makefile"
21800 ac_config_files="$ac_config_files libs/Makefile"
21802 ac_config_files="$ac_config_files libs/port/Makefile"
21804 ac_config_files="$ac_config_files libs/wine/Makefile"
21806 ac_config_files="$ac_config_files libs/wpp/Makefile"
21808 ac_config_files="$ac_config_files loader/Makefile"
21810 ac_config_files="$ac_config_files programs/Makefile"
21812 ac_config_files="$ac_config_files programs/clock/Makefile"
21814 ac_config_files="$ac_config_files programs/cmd/Makefile"
21816 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21818 ac_config_files="$ac_config_files programs/control/Makefile"
21820 ac_config_files="$ac_config_files programs/eject/Makefile"
21822 ac_config_files="$ac_config_files programs/expand/Makefile"
21824 ac_config_files="$ac_config_files programs/explorer/Makefile"
21826 ac_config_files="$ac_config_files programs/hh/Makefile"
21828 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21830 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21832 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21834 ac_config_files="$ac_config_files programs/net/Makefile"
21836 ac_config_files="$ac_config_files programs/notepad/Makefile"
21838 ac_config_files="$ac_config_files programs/oleview/Makefile"
21840 ac_config_files="$ac_config_files programs/progman/Makefile"
21842 ac_config_files="$ac_config_files programs/regedit/Makefile"
21844 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21846 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21848 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21850 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21852 ac_config_files="$ac_config_files programs/start/Makefile"
21854 ac_config_files="$ac_config_files programs/svchost/Makefile"
21856 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21858 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21860 ac_config_files="$ac_config_files programs/view/Makefile"
21862 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21864 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21866 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21868 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21870 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21872 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21874 ac_config_files="$ac_config_files programs/winefile/Makefile"
21876 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21878 ac_config_files="$ac_config_files programs/winemine/Makefile"
21880 ac_config_files="$ac_config_files programs/winepath/Makefile"
21882 ac_config_files="$ac_config_files programs/winetest/Makefile"
21884 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21886 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21888 ac_config_files="$ac_config_files programs/winver/Makefile"
21890 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21892 ac_config_files="$ac_config_files programs/write/Makefile"
21894 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21896 ac_config_files="$ac_config_files server/Makefile"
21898 ac_config_files="$ac_config_files tools/Makefile"
21900 ac_config_files="$ac_config_files tools/widl/Makefile"
21902 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21904 ac_config_files="$ac_config_files tools/winedump/Makefile"
21906 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21908 ac_config_files="$ac_config_files tools/wmc/Makefile"
21910 ac_config_files="$ac_config_files tools/wrc/Makefile"
21913 cat >confcache <<\_ACEOF
21914 # This file is a shell script that caches the results of configure
21915 # tests run on this system so they can be shared between configure
21916 # scripts and configure runs, see configure's option --config-cache.
21917 # It is not useful on other systems. If it contains results you don't
21918 # want to keep, you may remove or edit it.
21920 # config.status only pays attention to the cache file if you give it
21921 # the --recheck option to rerun configure.
21923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21925 # following values.
21927 _ACEOF
21929 # The following way of writing the cache mishandles newlines in values,
21930 # but we know of no workaround that is simple, portable, and efficient.
21931 # So, we kill variables containing newlines.
21932 # Ultrix sh set writes to stderr and can't be redirected directly,
21933 # and sets the high bit in the cache file unless we assign to the vars.
21935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21936 eval ac_val=\$$ac_var
21937 case $ac_val in #(
21938 *${as_nl}*)
21939 case $ac_var in #(
21940 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21942 esac
21943 case $ac_var in #(
21944 _ | IFS | as_nl) ;; #(
21945 *) $as_unset $ac_var ;;
21946 esac ;;
21947 esac
21948 done
21950 (set) 2>&1 |
21951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21952 *${as_nl}ac_space=\ *)
21953 # `set' does not quote correctly, so add quotes (double-quote
21954 # substitution turns \\\\ into \\, and sed turns \\ into \).
21955 sed -n \
21956 "s/'/'\\\\''/g;
21957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21958 ;; #(
21960 # `set' quotes correctly as required by POSIX, so do not add quotes.
21961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21963 esac |
21964 sort
21966 sed '
21967 /^ac_cv_env_/b end
21968 t clear
21969 :clear
21970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21971 t end
21972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21973 :end' >>confcache
21974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21975 if test -w "$cache_file"; then
21976 test "x$cache_file" != "x/dev/null" &&
21977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21978 echo "$as_me: updating cache $cache_file" >&6;}
21979 cat confcache >$cache_file
21980 else
21981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21985 rm -f confcache
21987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21988 # Let make expand exec_prefix.
21989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21991 DEFS=-DHAVE_CONFIG_H
21993 ac_libobjs=
21994 ac_ltlibobjs=
21995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21996 # 1. Remove the extension, and $U if already installed.
21997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21998 ac_i=`echo "$ac_i" | sed "$ac_script"`
21999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22000 # will be set to the directory where LIBOBJS objects are built.
22001 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22002 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22003 done
22004 LIBOBJS=$ac_libobjs
22006 LTLIBOBJS=$ac_ltlibobjs
22010 : ${CONFIG_STATUS=./config.status}
22011 ac_clean_files_save=$ac_clean_files
22012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22013 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22014 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22015 cat >$CONFIG_STATUS <<_ACEOF
22016 #! $SHELL
22017 # Generated by $as_me.
22018 # Run this file to recreate the current configuration.
22019 # Compiler output produced by configure, useful for debugging
22020 # configure, is in config.log if it exists.
22022 debug=false
22023 ac_cs_recheck=false
22024 ac_cs_silent=false
22025 SHELL=\${CONFIG_SHELL-$SHELL}
22026 _ACEOF
22028 cat >>$CONFIG_STATUS <<\_ACEOF
22029 ## --------------------- ##
22030 ## M4sh Initialization. ##
22031 ## --------------------- ##
22033 # Be more Bourne compatible
22034 DUALCASE=1; export DUALCASE # for MKS sh
22035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22036 emulate sh
22037 NULLCMD=:
22038 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22039 # is contrary to our usage. Disable this feature.
22040 alias -g '${1+"$@"}'='"$@"'
22041 setopt NO_GLOB_SUBST
22042 else
22043 case `(set -o) 2>/dev/null` in
22044 *posix*) set -o posix ;;
22045 esac
22052 # PATH needs CR
22053 # Avoid depending upon Character Ranges.
22054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22057 as_cr_digits='0123456789'
22058 as_cr_alnum=$as_cr_Letters$as_cr_digits
22060 # The user is always right.
22061 if test "${PATH_SEPARATOR+set}" != set; then
22062 echo "#! /bin/sh" >conf$$.sh
22063 echo "exit 0" >>conf$$.sh
22064 chmod +x conf$$.sh
22065 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22066 PATH_SEPARATOR=';'
22067 else
22068 PATH_SEPARATOR=:
22070 rm -f conf$$.sh
22073 # Support unset when possible.
22074 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22075 as_unset=unset
22076 else
22077 as_unset=false
22081 # IFS
22082 # We need space, tab and new line, in precisely that order. Quoting is
22083 # there to prevent editors from complaining about space-tab.
22084 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22085 # splitting by setting IFS to empty value.)
22086 as_nl='
22088 IFS=" "" $as_nl"
22090 # Find who we are. Look in the path if we contain no directory separator.
22091 case $0 in
22092 *[\\/]* ) as_myself=$0 ;;
22093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22094 for as_dir in $PATH
22096 IFS=$as_save_IFS
22097 test -z "$as_dir" && as_dir=.
22098 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22099 done
22100 IFS=$as_save_IFS
22103 esac
22104 # We did not find ourselves, most probably we were run as `sh COMMAND'
22105 # in which case we are not to be found in the path.
22106 if test "x$as_myself" = x; then
22107 as_myself=$0
22109 if test ! -f "$as_myself"; then
22110 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22111 { (exit 1); exit 1; }
22114 # Work around bugs in pre-3.0 UWIN ksh.
22115 for as_var in ENV MAIL MAILPATH
22116 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22117 done
22118 PS1='$ '
22119 PS2='> '
22120 PS4='+ '
22122 # NLS nuisances.
22123 for as_var in \
22124 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22125 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22126 LC_TELEPHONE LC_TIME
22128 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22129 eval $as_var=C; export $as_var
22130 else
22131 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22133 done
22135 # Required to use basename.
22136 if expr a : '\(a\)' >/dev/null 2>&1 &&
22137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22138 as_expr=expr
22139 else
22140 as_expr=false
22143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22144 as_basename=basename
22145 else
22146 as_basename=false
22150 # Name of the executable.
22151 as_me=`$as_basename -- "$0" ||
22152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22153 X"$0" : 'X\(//\)$' \| \
22154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22155 echo X/"$0" |
22156 sed '/^.*\/\([^/][^/]*\)\/*$/{
22157 s//\1/
22160 /^X\/\(\/\/\)$/{
22161 s//\1/
22164 /^X\/\(\/\).*/{
22165 s//\1/
22168 s/.*/./; q'`
22170 # CDPATH.
22171 $as_unset CDPATH
22175 as_lineno_1=$LINENO
22176 as_lineno_2=$LINENO
22177 test "x$as_lineno_1" != "x$as_lineno_2" &&
22178 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22181 # uniformly replaced by the line number. The first 'sed' inserts a
22182 # line-number line after each line using $LINENO; the second 'sed'
22183 # does the real work. The second script uses 'N' to pair each
22184 # line-number line with the line containing $LINENO, and appends
22185 # trailing '-' during substitution so that $LINENO is not a special
22186 # case at line end.
22187 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22188 # scripts with optimization help from Paolo Bonzini. Blame Lee
22189 # E. McMahon (1931-1989) for sed's syntax. :-)
22190 sed -n '
22192 /[$]LINENO/=
22193 ' <$as_myself |
22194 sed '
22195 s/[$]LINENO.*/&-/
22196 t lineno
22198 :lineno
22200 :loop
22201 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22202 t loop
22203 s/-\n.*//
22204 ' >$as_me.lineno &&
22205 chmod +x "$as_me.lineno" ||
22206 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22207 { (exit 1); exit 1; }; }
22209 # Don't try to exec as it changes $[0], causing all sort of problems
22210 # (the dirname of $[0] is not the place where we might find the
22211 # original and so on. Autoconf is especially sensitive to this).
22212 . "./$as_me.lineno"
22213 # Exit status is that of the last command.
22214 exit
22218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22219 as_dirname=dirname
22220 else
22221 as_dirname=false
22224 ECHO_C= ECHO_N= ECHO_T=
22225 case `echo -n x` in
22226 -n*)
22227 case `echo 'x\c'` in
22228 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22229 *) ECHO_C='\c';;
22230 esac;;
22232 ECHO_N='-n';;
22233 esac
22235 if expr a : '\(a\)' >/dev/null 2>&1 &&
22236 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22237 as_expr=expr
22238 else
22239 as_expr=false
22242 rm -f conf$$ conf$$.exe conf$$.file
22243 if test -d conf$$.dir; then
22244 rm -f conf$$.dir/conf$$.file
22245 else
22246 rm -f conf$$.dir
22247 mkdir conf$$.dir
22249 echo >conf$$.file
22250 if ln -s conf$$.file conf$$ 2>/dev/null; then
22251 as_ln_s='ln -s'
22252 # ... but there are two gotchas:
22253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22255 # In both cases, we have to default to `cp -p'.
22256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22257 as_ln_s='cp -p'
22258 elif ln conf$$.file conf$$ 2>/dev/null; then
22259 as_ln_s=ln
22260 else
22261 as_ln_s='cp -p'
22263 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22264 rmdir conf$$.dir 2>/dev/null
22266 if mkdir -p . 2>/dev/null; then
22267 as_mkdir_p=:
22268 else
22269 test -d ./-p && rmdir ./-p
22270 as_mkdir_p=false
22273 if test -x / >/dev/null 2>&1; then
22274 as_test_x='test -x'
22275 else
22276 if ls -dL / >/dev/null 2>&1; then
22277 as_ls_L_option=L
22278 else
22279 as_ls_L_option=
22281 as_test_x='
22282 eval sh -c '\''
22283 if test -d "$1"; then
22284 test -d "$1/.";
22285 else
22286 case $1 in
22287 -*)set "./$1";;
22288 esac;
22289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22290 ???[sx]*):;;*)false;;esac;fi
22291 '\'' sh
22294 as_executable_p=$as_test_x
22296 # Sed expression to map a string onto a valid CPP name.
22297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22299 # Sed expression to map a string onto a valid variable name.
22300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22303 exec 6>&1
22305 # Save the log message, to keep $[0] and so on meaningful, and to
22306 # report actual input values of CONFIG_FILES etc. instead of their
22307 # values after options handling.
22308 ac_log="
22309 This file was extended by Wine $as_me 0.9.55, which was
22310 generated by GNU Autoconf 2.61. Invocation command line was
22312 CONFIG_FILES = $CONFIG_FILES
22313 CONFIG_HEADERS = $CONFIG_HEADERS
22314 CONFIG_LINKS = $CONFIG_LINKS
22315 CONFIG_COMMANDS = $CONFIG_COMMANDS
22316 $ $0 $@
22318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22321 _ACEOF
22323 cat >>$CONFIG_STATUS <<_ACEOF
22324 # Files that config.status was made for.
22325 config_files="$ac_config_files"
22326 config_headers="$ac_config_headers"
22327 config_commands="$ac_config_commands"
22329 _ACEOF
22331 cat >>$CONFIG_STATUS <<\_ACEOF
22332 ac_cs_usage="\
22333 \`$as_me' instantiates files from templates according to the
22334 current configuration.
22336 Usage: $0 [OPTIONS] [FILE]...
22338 -h, --help print this help, then exit
22339 -V, --version print version number and configuration settings, then exit
22340 -q, --quiet do not print progress messages
22341 -d, --debug don't remove temporary files
22342 --recheck update $as_me by reconfiguring in the same conditions
22343 --file=FILE[:TEMPLATE]
22344 instantiate the configuration file FILE
22345 --header=FILE[:TEMPLATE]
22346 instantiate the configuration header FILE
22348 Configuration files:
22349 $config_files
22351 Configuration headers:
22352 $config_headers
22354 Configuration commands:
22355 $config_commands
22357 Report bugs to <bug-autoconf@gnu.org>."
22359 _ACEOF
22360 cat >>$CONFIG_STATUS <<_ACEOF
22361 ac_cs_version="\\
22362 Wine config.status 0.9.55
22363 configured by $0, generated by GNU Autoconf 2.61,
22364 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22366 Copyright (C) 2006 Free Software Foundation, Inc.
22367 This config.status script is free software; the Free Software Foundation
22368 gives unlimited permission to copy, distribute and modify it."
22370 ac_pwd='$ac_pwd'
22371 srcdir='$srcdir'
22372 INSTALL='$INSTALL'
22373 _ACEOF
22375 cat >>$CONFIG_STATUS <<\_ACEOF
22376 # If no file are specified by the user, then we need to provide default
22377 # value. By we need to know if files were specified by the user.
22378 ac_need_defaults=:
22379 while test $# != 0
22381 case $1 in
22382 --*=*)
22383 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22384 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22385 ac_shift=:
22388 ac_option=$1
22389 ac_optarg=$2
22390 ac_shift=shift
22392 esac
22394 case $ac_option in
22395 # Handling of the options.
22396 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22397 ac_cs_recheck=: ;;
22398 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22399 echo "$ac_cs_version"; exit ;;
22400 --debug | --debu | --deb | --de | --d | -d )
22401 debug=: ;;
22402 --file | --fil | --fi | --f )
22403 $ac_shift
22404 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22405 ac_need_defaults=false;;
22406 --header | --heade | --head | --hea )
22407 $ac_shift
22408 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22409 ac_need_defaults=false;;
22410 --he | --h)
22411 # Conflict between --help and --header
22412 { echo "$as_me: error: ambiguous option: $1
22413 Try \`$0 --help' for more information." >&2
22414 { (exit 1); exit 1; }; };;
22415 --help | --hel | -h )
22416 echo "$ac_cs_usage"; exit ;;
22417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22418 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22419 ac_cs_silent=: ;;
22421 # This is an error.
22422 -*) { echo "$as_me: error: unrecognized option: $1
22423 Try \`$0 --help' for more information." >&2
22424 { (exit 1); exit 1; }; } ;;
22426 *) ac_config_targets="$ac_config_targets $1"
22427 ac_need_defaults=false ;;
22429 esac
22430 shift
22431 done
22433 ac_configure_extra_args=
22435 if $ac_cs_silent; then
22436 exec 6>/dev/null
22437 ac_configure_extra_args="$ac_configure_extra_args --silent"
22440 _ACEOF
22441 cat >>$CONFIG_STATUS <<_ACEOF
22442 if \$ac_cs_recheck; then
22443 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22444 CONFIG_SHELL=$SHELL
22445 export CONFIG_SHELL
22446 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22449 _ACEOF
22450 cat >>$CONFIG_STATUS <<\_ACEOF
22451 exec 5>>config.log
22453 echo
22454 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22455 ## Running $as_me. ##
22456 _ASBOX
22457 echo "$ac_log"
22458 } >&5
22460 _ACEOF
22461 cat >>$CONFIG_STATUS <<_ACEOF
22462 _ACEOF
22464 cat >>$CONFIG_STATUS <<\_ACEOF
22466 # Handling of arguments.
22467 for ac_config_target in $ac_config_targets
22469 case $ac_config_target in
22470 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22471 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22472 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22473 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22474 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22475 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22476 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22477 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22478 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22479 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22480 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22481 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22482 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22483 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22484 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22485 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22486 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22487 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22488 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22489 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22490 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22491 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22492 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22493 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22494 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22495 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22496 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22497 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22498 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22499 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22500 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22501 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22502 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22503 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22504 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22505 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22506 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22507 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22508 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22509 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22510 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22511 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22512 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22513 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22514 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22515 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22516 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22517 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22518 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22519 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22520 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22521 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22522 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22523 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22524 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22525 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22526 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22527 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22528 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22529 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22530 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22531 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22532 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22533 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22534 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22535 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22536 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22537 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22538 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22539 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22540 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22541 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22542 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22543 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22544 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22545 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22546 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22547 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22548 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22549 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22550 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22551 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22552 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22553 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22554 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22555 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22556 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22557 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22558 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22559 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22560 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22561 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22562 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22563 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22564 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22565 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22566 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22567 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22568 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22569 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22570 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22571 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22572 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22573 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22574 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22575 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22576 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22577 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22578 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22579 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22580 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22581 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22582 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22583 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22584 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22585 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22586 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22587 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22588 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22589 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22590 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22591 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22592 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22593 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22594 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22595 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22596 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22597 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22598 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22599 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22600 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22601 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22602 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22603 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22604 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22605 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22606 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22607 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22608 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22609 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22610 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22611 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22612 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22613 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22614 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22615 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22616 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22617 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22618 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22619 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22620 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22621 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22622 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22623 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22624 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22625 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22626 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22627 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22628 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22629 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22630 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22631 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22632 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22633 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22634 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22635 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22636 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22637 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22638 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22639 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22640 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22641 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22642 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22643 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22644 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22645 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22646 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22647 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22648 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22649 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22650 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22651 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22652 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22653 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22654 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22655 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22656 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22657 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22658 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22659 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22660 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22661 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22662 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22663 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22664 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22665 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22666 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22667 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22668 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22669 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22670 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22671 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22672 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22673 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22674 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22675 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22676 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22677 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22678 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22679 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22680 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22681 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22682 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22683 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22684 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22685 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22686 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22687 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22688 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22689 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22690 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22691 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22692 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22693 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22694 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22695 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22696 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22697 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22698 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22699 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22700 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22701 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22702 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22703 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22704 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22705 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22706 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22707 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22708 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22709 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22710 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22711 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22712 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22713 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22714 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22715 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22716 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22717 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22718 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22719 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22720 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22721 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22722 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22723 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22724 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22725 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22726 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22727 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22728 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22729 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22730 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22731 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22732 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22733 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22734 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22735 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22736 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22737 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22738 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22739 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22740 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22741 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22742 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22743 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22744 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22745 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22746 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22747 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22748 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22749 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22750 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22751 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22752 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22753 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22754 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22755 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22756 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22757 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22758 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22759 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22760 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22761 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22762 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22763 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22764 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22765 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22766 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22767 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22768 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22769 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22770 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22771 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22772 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22773 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22774 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22775 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22776 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22777 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22778 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22779 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22780 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22781 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22782 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22783 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22784 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22785 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22786 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22787 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22788 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22789 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22790 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22791 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22792 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22793 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22794 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22795 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22796 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22797 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22798 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22799 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22800 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22801 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22802 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22803 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22804 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22805 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22806 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22807 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22808 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22809 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22810 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22811 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22812 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22813 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22814 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22815 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22816 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22817 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22818 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22819 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22820 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22821 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22822 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22823 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22824 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22825 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22826 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22827 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22828 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22829 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22830 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22831 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22832 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22833 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22834 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22835 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22836 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22837 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22838 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22839 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22840 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22841 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22842 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22843 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22844 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22845 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22846 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22847 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22848 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22849 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22850 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22851 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22852 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22853 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22854 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22855 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22856 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22858 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22859 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22860 { (exit 1); exit 1; }; };;
22861 esac
22862 done
22865 # If the user did not use the arguments to specify the items to instantiate,
22866 # then the envvar interface is used. Set only those that are not.
22867 # We use the long form for the default assignment because of an extremely
22868 # bizarre bug on SunOS 4.1.3.
22869 if $ac_need_defaults; then
22870 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22871 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22872 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22875 # Have a temporary directory for convenience. Make it in the build tree
22876 # simply because there is no reason against having it here, and in addition,
22877 # creating and moving files from /tmp can sometimes cause problems.
22878 # Hook for its removal unless debugging.
22879 # Note that there is a small window in which the directory will not be cleaned:
22880 # after its creation but before its name has been assigned to `$tmp'.
22881 $debug ||
22883 tmp=
22884 trap 'exit_status=$?
22885 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22887 trap '{ (exit 1); exit 1; }' 1 2 13 15
22889 # Create a (secure) tmp directory for tmp files.
22892 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22893 test -n "$tmp" && test -d "$tmp"
22894 } ||
22896 tmp=./conf$$-$RANDOM
22897 (umask 077 && mkdir "$tmp")
22898 } ||
22900 echo "$me: cannot create a temporary directory in ." >&2
22901 { (exit 1); exit 1; }
22905 # Set up the sed scripts for CONFIG_FILES section.
22908 # No need to generate the scripts if there are no CONFIG_FILES.
22909 # This happens for instance when ./config.status config.h
22910 if test -n "$CONFIG_FILES"; then
22912 _ACEOF
22914 # Create sed commands to just substitute file output variables.
22916 # Remaining file output variables are in a fragment that also has non-file
22917 # output varibles.
22921 ac_delim='%!_!# '
22922 for ac_last_try in false false false false false :; do
22923 cat >conf$$subs.sed <<_ACEOF
22924 SHELL!$SHELL$ac_delim
22925 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22926 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22927 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22928 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22929 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22930 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22931 exec_prefix!$exec_prefix$ac_delim
22932 prefix!$prefix$ac_delim
22933 program_transform_name!$program_transform_name$ac_delim
22934 bindir!$bindir$ac_delim
22935 sbindir!$sbindir$ac_delim
22936 libexecdir!$libexecdir$ac_delim
22937 datarootdir!$datarootdir$ac_delim
22938 datadir!$datadir$ac_delim
22939 sysconfdir!$sysconfdir$ac_delim
22940 sharedstatedir!$sharedstatedir$ac_delim
22941 localstatedir!$localstatedir$ac_delim
22942 includedir!$includedir$ac_delim
22943 oldincludedir!$oldincludedir$ac_delim
22944 docdir!$docdir$ac_delim
22945 infodir!$infodir$ac_delim
22946 htmldir!$htmldir$ac_delim
22947 dvidir!$dvidir$ac_delim
22948 pdfdir!$pdfdir$ac_delim
22949 psdir!$psdir$ac_delim
22950 libdir!$libdir$ac_delim
22951 localedir!$localedir$ac_delim
22952 mandir!$mandir$ac_delim
22953 DEFS!$DEFS$ac_delim
22954 ECHO_C!$ECHO_C$ac_delim
22955 ECHO_N!$ECHO_N$ac_delim
22956 ECHO_T!$ECHO_T$ac_delim
22957 LIBS!$LIBS$ac_delim
22958 build_alias!$build_alias$ac_delim
22959 host_alias!$host_alias$ac_delim
22960 target_alias!$target_alias$ac_delim
22961 build!$build$ac_delim
22962 build_cpu!$build_cpu$ac_delim
22963 build_vendor!$build_vendor$ac_delim
22964 build_os!$build_os$ac_delim
22965 host!$host$ac_delim
22966 host_cpu!$host_cpu$ac_delim
22967 host_vendor!$host_vendor$ac_delim
22968 host_os!$host_os$ac_delim
22969 WIN16_FILES!$WIN16_FILES$ac_delim
22970 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22971 SET_MAKE!$SET_MAKE$ac_delim
22972 CC!$CC$ac_delim
22973 CFLAGS!$CFLAGS$ac_delim
22974 LDFLAGS!$LDFLAGS$ac_delim
22975 CPPFLAGS!$CPPFLAGS$ac_delim
22976 ac_ct_CC!$ac_ct_CC$ac_delim
22977 EXEEXT!$EXEEXT$ac_delim
22978 OBJEXT!$OBJEXT$ac_delim
22979 CXX!$CXX$ac_delim
22980 CXXFLAGS!$CXXFLAGS$ac_delim
22981 ac_ct_CXX!$ac_ct_CXX$ac_delim
22982 CPPBIN!$CPPBIN$ac_delim
22983 TOOLSDIR!$TOOLSDIR$ac_delim
22984 XMKMF!$XMKMF$ac_delim
22985 CPP!$CPP$ac_delim
22986 X_CFLAGS!$X_CFLAGS$ac_delim
22987 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22988 X_LIBS!$X_LIBS$ac_delim
22989 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22990 FLEX!$FLEX$ac_delim
22991 BISON!$BISON$ac_delim
22992 AS!$AS$ac_delim
22993 ac_ct_AS!$ac_ct_AS$ac_delim
22994 LD!$LD$ac_delim
22995 AR!$AR$ac_delim
22996 RANLIB!$RANLIB$ac_delim
22997 STRIP!$STRIP$ac_delim
22998 WINDRES!$WINDRES$ac_delim
22999 LN_S!$LN_S$ac_delim
23000 LN!$LN$ac_delim
23001 GREP!$GREP$ac_delim
23002 EGREP!$EGREP$ac_delim
23003 LDCONFIG!$LDCONFIG$ac_delim
23004 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23005 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23006 _ACEOF
23008 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23009 break
23010 elif $ac_last_try; then
23011 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23012 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23013 { (exit 1); exit 1; }; }
23014 else
23015 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23017 done
23019 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23020 if test -n "$ac_eof"; then
23021 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23022 ac_eof=`expr $ac_eof + 1`
23025 cat >>$CONFIG_STATUS <<_ACEOF
23026 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23028 /^[ ]*@MAKE_RULES@[ ]*$/{
23029 r $MAKE_RULES
23032 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23033 r $MAKE_DLL_RULES
23036 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23037 r $MAKE_IMPLIB_RULES
23040 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23041 r $MAKE_TEST_RULES
23044 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23045 r $MAKE_PROG_RULES
23048 _ACEOF
23049 sed '
23050 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23051 s/^/s,@/; s/!/@,|#_!!_#|/
23054 s/'"$ac_delim"'$/,g/; t
23055 s/$/\\/; p
23056 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23057 ' >>$CONFIG_STATUS <conf$$subs.sed
23058 rm -f conf$$subs.sed
23059 cat >>$CONFIG_STATUS <<_ACEOF
23060 CEOF$ac_eof
23061 _ACEOF
23064 ac_delim='%!_!# '
23065 for ac_last_try in false false false false false :; do
23066 cat >conf$$subs.sed <<_ACEOF
23067 INSTALL_DATA!$INSTALL_DATA$ac_delim
23068 LINT!$LINT$ac_delim
23069 LINTFLAGS!$LINTFLAGS$ac_delim
23070 FONTFORGE!$FONTFORGE$ac_delim
23071 PKG_CONFIG!$PKG_CONFIG$ac_delim
23072 PRELINK!$PRELINK$ac_delim
23073 LIBPTHREAD!$LIBPTHREAD$ac_delim
23074 XLIB!$XLIB$ac_delim
23075 XFILES!$XFILES$ac_delim
23076 OPENGLFILES!$OPENGLFILES$ac_delim
23077 GLU32FILES!$GLU32FILES$ac_delim
23078 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23079 QUARTZFILES!$QUARTZFILES$ac_delim
23080 DLLEXT!$DLLEXT$ac_delim
23081 DLLFLAGS!$DLLFLAGS$ac_delim
23082 LDSHARED!$LDSHARED$ac_delim
23083 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23084 LIBEXT!$LIBEXT$ac_delim
23085 IMPLIBEXT!$IMPLIBEXT$ac_delim
23086 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23087 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23088 LDD!$LDD$ac_delim
23089 DLLTOOL!$DLLTOOL$ac_delim
23090 DLLWRAP!$DLLWRAP$ac_delim
23091 MINGWAR!$MINGWAR$ac_delim
23092 SECURITYLIB!$SECURITYLIB$ac_delim
23093 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23094 IOKITLIB!$IOKITLIB$ac_delim
23095 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23096 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23097 COREAUDIO!$COREAUDIO$ac_delim
23098 CARBONLIB!$CARBONLIB$ac_delim
23099 CROSSTEST!$CROSSTEST$ac_delim
23100 CROSSCC!$CROSSCC$ac_delim
23101 CROSSWINDRES!$CROSSWINDRES$ac_delim
23102 NASLIBS!$NASLIBS$ac_delim
23103 XML2LIBS!$XML2LIBS$ac_delim
23104 XML2INCL!$XML2INCL$ac_delim
23105 XSLTLIBS!$XSLTLIBS$ac_delim
23106 XSLTINCL!$XSLTINCL$ac_delim
23107 HALINCL!$HALINCL$ac_delim
23108 sane_devel!$sane_devel$ac_delim
23109 SANEINCL!$SANEINCL$ac_delim
23110 gphoto2_devel!$gphoto2_devel$ac_delim
23111 gphoto2port_devel!$gphoto2port_devel$ac_delim
23112 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23113 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23114 RESOLVLIBS!$RESOLVLIBS$ac_delim
23115 LCMSLIBS!$LCMSLIBS$ac_delim
23116 LDAPLIBS!$LDAPLIBS$ac_delim
23117 ft_devel!$ft_devel$ac_delim
23118 FREETYPELIBS!$FREETYPELIBS$ac_delim
23119 FREETYPEINCL!$FREETYPEINCL$ac_delim
23120 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23121 ESDCONFIG!$ESDCONFIG$ac_delim
23122 ESDLIBS!$ESDLIBS$ac_delim
23123 ESDINCL!$ESDINCL$ac_delim
23124 ALSALIBS!$ALSALIBS$ac_delim
23125 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23126 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23127 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23128 BUILTINFLAG!$BUILTINFLAG$ac_delim
23129 LDPATH!$LDPATH$ac_delim
23130 CRTLIBS!$CRTLIBS$ac_delim
23131 SOCKETLIBS!$SOCKETLIBS$ac_delim
23132 MAIN_BINARY!$MAIN_BINARY$ac_delim
23133 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23134 LIBDL!$LIBDL$ac_delim
23135 LIBPOLL!$LIBPOLL$ac_delim
23136 DEPENDENCIES!$DEPENDENCIES$ac_delim
23137 LIBOBJS!$LIBOBJS$ac_delim
23138 LTLIBOBJS!$LTLIBOBJS$ac_delim
23139 _ACEOF
23141 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
23142 break
23143 elif $ac_last_try; then
23144 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23145 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23146 { (exit 1); exit 1; }; }
23147 else
23148 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23150 done
23152 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23153 if test -n "$ac_eof"; then
23154 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23155 ac_eof=`expr $ac_eof + 1`
23158 cat >>$CONFIG_STATUS <<_ACEOF
23159 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23160 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23161 _ACEOF
23162 sed '
23163 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23164 s/^/s,@/; s/!/@,|#_!!_#|/
23167 s/'"$ac_delim"'$/,g/; t
23168 s/$/\\/; p
23169 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23170 ' >>$CONFIG_STATUS <conf$$subs.sed
23171 rm -f conf$$subs.sed
23172 cat >>$CONFIG_STATUS <<_ACEOF
23173 :end
23174 s/|#_!!_#|//g
23175 CEOF$ac_eof
23176 _ACEOF
23179 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23180 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23181 # trailing colons and then remove the whole line if VPATH becomes empty
23182 # (actually we leave an empty line to preserve line numbers).
23183 if test "x$srcdir" = x.; then
23184 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23185 s/:*\$(srcdir):*/:/
23186 s/:*\${srcdir}:*/:/
23187 s/:*@srcdir@:*/:/
23188 s/^\([^=]*=[ ]*\):*/\1/
23189 s/:*$//
23190 s/^[^=]*=[ ]*$//
23194 cat >>$CONFIG_STATUS <<\_ACEOF
23195 fi # test -n "$CONFIG_FILES"
23198 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23200 case $ac_tag in
23201 :[FHLC]) ac_mode=$ac_tag; continue;;
23202 esac
23203 case $ac_mode$ac_tag in
23204 :[FHL]*:*);;
23205 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23206 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23207 { (exit 1); exit 1; }; };;
23208 :[FH]-) ac_tag=-:-;;
23209 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23210 esac
23211 ac_save_IFS=$IFS
23212 IFS=:
23213 set x $ac_tag
23214 IFS=$ac_save_IFS
23215 shift
23216 ac_file=$1
23217 shift
23219 case $ac_mode in
23220 :L) ac_source=$1;;
23221 :[FH])
23222 ac_file_inputs=
23223 for ac_f
23225 case $ac_f in
23226 -) ac_f="$tmp/stdin";;
23227 *) # Look for the file first in the build tree, then in the source tree
23228 # (if the path is not absolute). The absolute path cannot be DOS-style,
23229 # because $ac_f cannot contain `:'.
23230 test -f "$ac_f" ||
23231 case $ac_f in
23232 [\\/$]*) false;;
23233 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23234 esac ||
23235 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23236 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23237 { (exit 1); exit 1; }; };;
23238 esac
23239 ac_file_inputs="$ac_file_inputs $ac_f"
23240 done
23242 # Let's still pretend it is `configure' which instantiates (i.e., don't
23243 # use $as_me), people would be surprised to read:
23244 # /* config.h. Generated by config.status. */
23245 configure_input="Generated from "`IFS=:
23246 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23247 if test x"$ac_file" != x-; then
23248 configure_input="$ac_file. $configure_input"
23249 { echo "$as_me:$LINENO: creating $ac_file" >&5
23250 echo "$as_me: creating $ac_file" >&6;}
23253 case $ac_tag in
23254 *:-:* | *:-) cat >"$tmp/stdin";;
23255 esac
23257 esac
23259 ac_dir=`$as_dirname -- "$ac_file" ||
23260 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23261 X"$ac_file" : 'X\(//\)[^/]' \| \
23262 X"$ac_file" : 'X\(//\)$' \| \
23263 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23264 echo X"$ac_file" |
23265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23266 s//\1/
23269 /^X\(\/\/\)[^/].*/{
23270 s//\1/
23273 /^X\(\/\/\)$/{
23274 s//\1/
23277 /^X\(\/\).*/{
23278 s//\1/
23281 s/.*/./; q'`
23282 { as_dir="$ac_dir"
23283 case $as_dir in #(
23284 -*) as_dir=./$as_dir;;
23285 esac
23286 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23287 as_dirs=
23288 while :; do
23289 case $as_dir in #(
23290 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23291 *) as_qdir=$as_dir;;
23292 esac
23293 as_dirs="'$as_qdir' $as_dirs"
23294 as_dir=`$as_dirname -- "$as_dir" ||
23295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23296 X"$as_dir" : 'X\(//\)[^/]' \| \
23297 X"$as_dir" : 'X\(//\)$' \| \
23298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23299 echo X"$as_dir" |
23300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23301 s//\1/
23304 /^X\(\/\/\)[^/].*/{
23305 s//\1/
23308 /^X\(\/\/\)$/{
23309 s//\1/
23312 /^X\(\/\).*/{
23313 s//\1/
23316 s/.*/./; q'`
23317 test -d "$as_dir" && break
23318 done
23319 test -z "$as_dirs" || eval "mkdir $as_dirs"
23320 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23321 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23322 { (exit 1); exit 1; }; }; }
23323 ac_builddir=.
23325 case "$ac_dir" in
23326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23328 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23329 # A ".." for each directory in $ac_dir_suffix.
23330 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23331 case $ac_top_builddir_sub in
23332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23334 esac ;;
23335 esac
23336 ac_abs_top_builddir=$ac_pwd
23337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23338 # for backward compatibility:
23339 ac_top_builddir=$ac_top_build_prefix
23341 case $srcdir in
23342 .) # We are building in place.
23343 ac_srcdir=.
23344 ac_top_srcdir=$ac_top_builddir_sub
23345 ac_abs_top_srcdir=$ac_pwd ;;
23346 [\\/]* | ?:[\\/]* ) # Absolute name.
23347 ac_srcdir=$srcdir$ac_dir_suffix;
23348 ac_top_srcdir=$srcdir
23349 ac_abs_top_srcdir=$srcdir ;;
23350 *) # Relative name.
23351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23352 ac_top_srcdir=$ac_top_build_prefix$srcdir
23353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23354 esac
23355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23358 case $ac_mode in
23361 # CONFIG_FILE
23364 case $INSTALL in
23365 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23366 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23367 esac
23368 _ACEOF
23370 cat >>$CONFIG_STATUS <<\_ACEOF
23371 # If the template does not know about datarootdir, expand it.
23372 # FIXME: This hack should be removed a few years after 2.60.
23373 ac_datarootdir_hack=; ac_datarootdir_seen=
23375 case `sed -n '/datarootdir/ {
23379 /@datadir@/p
23380 /@docdir@/p
23381 /@infodir@/p
23382 /@localedir@/p
23383 /@mandir@/p
23384 ' $ac_file_inputs` in
23385 *datarootdir*) ac_datarootdir_seen=yes;;
23386 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23387 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23388 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23389 _ACEOF
23390 cat >>$CONFIG_STATUS <<_ACEOF
23391 ac_datarootdir_hack='
23392 s&@datadir@&$datadir&g
23393 s&@docdir@&$docdir&g
23394 s&@infodir@&$infodir&g
23395 s&@localedir@&$localedir&g
23396 s&@mandir@&$mandir&g
23397 s&\\\${datarootdir}&$datarootdir&g' ;;
23398 esac
23399 _ACEOF
23401 # Neutralize VPATH when `$srcdir' = `.'.
23402 # Shell code in configure.ac might set extrasub.
23403 # FIXME: do we really want to maintain this feature?
23404 cat >>$CONFIG_STATUS <<_ACEOF
23405 sed "$ac_vpsub
23406 $extrasub
23407 _ACEOF
23408 cat >>$CONFIG_STATUS <<\_ACEOF
23410 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23411 s&@configure_input@&$configure_input&;t t
23412 s&@top_builddir@&$ac_top_builddir_sub&;t t
23413 s&@srcdir@&$ac_srcdir&;t t
23414 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23415 s&@top_srcdir@&$ac_top_srcdir&;t t
23416 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23417 s&@builddir@&$ac_builddir&;t t
23418 s&@abs_builddir@&$ac_abs_builddir&;t t
23419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23420 s&@INSTALL@&$ac_INSTALL&;t t
23421 $ac_datarootdir_hack
23422 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23425 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23426 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23427 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23428 which seems to be undefined. Please make sure it is defined." >&5
23429 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23430 which seems to be undefined. Please make sure it is defined." >&2;}
23432 rm -f "$tmp/stdin"
23433 case $ac_file in
23434 -) cat "$tmp/out"; rm -f "$tmp/out";;
23435 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23436 esac
23440 # CONFIG_HEADER
23442 _ACEOF
23444 # Transform confdefs.h into a sed script `conftest.defines', that
23445 # substitutes the proper values into config.h.in to produce config.h.
23446 rm -f conftest.defines conftest.tail
23447 # First, append a space to every undef/define line, to ease matching.
23448 echo 's/$/ /' >conftest.defines
23449 # Then, protect against being on the right side of a sed subst, or in
23450 # an unquoted here document, in config.status. If some macros were
23451 # called several times there might be several #defines for the same
23452 # symbol, which is useless. But do not sort them, since the last
23453 # AC_DEFINE must be honored.
23454 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23455 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23456 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23457 # PARAMS is the parameter list in the macro definition--in most cases, it's
23458 # just an empty string.
23459 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23460 ac_dB='\\)[ (].*,\\1define\\2'
23461 ac_dC=' '
23462 ac_dD=' ,'
23464 uniq confdefs.h |
23465 sed -n '
23466 t rset
23467 :rset
23468 s/^[ ]*#[ ]*define[ ][ ]*//
23469 t ok
23472 s/[\\&,]/\\&/g
23473 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23474 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23475 ' >>conftest.defines
23477 # Remove the space that was appended to ease matching.
23478 # Then replace #undef with comments. This is necessary, for
23479 # example, in the case of _POSIX_SOURCE, which is predefined and required
23480 # on some systems where configure will not decide to define it.
23481 # (The regexp can be short, since the line contains either #define or #undef.)
23482 echo 's/ $//
23483 s,^[ #]*u.*,/* & */,' >>conftest.defines
23485 # Break up conftest.defines:
23486 ac_max_sed_lines=50
23488 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23489 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23490 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23491 # et cetera.
23492 ac_in='$ac_file_inputs'
23493 ac_out='"$tmp/out1"'
23494 ac_nxt='"$tmp/out2"'
23496 while :
23498 # Write a here document:
23499 cat >>$CONFIG_STATUS <<_ACEOF
23500 # First, check the format of the line:
23501 cat >"\$tmp/defines.sed" <<\\CEOF
23502 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23503 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23505 :def
23506 _ACEOF
23507 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23508 echo 'CEOF
23509 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23510 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23511 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23512 grep . conftest.tail >/dev/null || break
23513 rm -f conftest.defines
23514 mv conftest.tail conftest.defines
23515 done
23516 rm -f conftest.defines conftest.tail
23518 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23519 cat >>$CONFIG_STATUS <<\_ACEOF
23520 if test x"$ac_file" != x-; then
23521 echo "/* $configure_input */" >"$tmp/config.h"
23522 cat "$ac_result" >>"$tmp/config.h"
23523 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23524 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23525 echo "$as_me: $ac_file is unchanged" >&6;}
23526 else
23527 rm -f $ac_file
23528 mv "$tmp/config.h" $ac_file
23530 else
23531 echo "/* $configure_input */"
23532 cat "$ac_result"
23534 rm -f "$tmp/out12"
23537 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23538 echo "$as_me: executing $ac_file commands" >&6;}
23540 esac
23543 case $ac_file$ac_mode in
23544 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23545 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23546 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23547 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23548 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23549 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23550 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23551 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23552 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23553 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23554 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23555 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23556 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23558 esac
23559 done # for ac_tag
23562 { (exit 0); exit 0; }
23563 _ACEOF
23564 chmod +x $CONFIG_STATUS
23565 ac_clean_files=$ac_clean_files_save
23568 # configure is writing to config.log, and then calls config.status.
23569 # config.status does its own redirection, appending to config.log.
23570 # Unfortunately, on DOS this fails, as config.log is still kept open
23571 # by configure, so config.status won't be able to write to it; its
23572 # output is simply discarded. So we exec the FD to /dev/null,
23573 # effectively closing config.log, so it can be properly (re)opened and
23574 # appended to by config.status. When coming back to configure, we
23575 # need to make the FD available again.
23576 if test "$no_create" != yes; then
23577 ac_cs_success=:
23578 ac_config_status_args=
23579 test "$silent" = yes &&
23580 ac_config_status_args="$ac_config_status_args --quiet"
23581 exec 5>/dev/null
23582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23583 exec 5>>config.log
23584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23585 # would make configure fail if this is the last instruction.
23586 $ac_cs_success || { (exit 1); exit 1; }
23590 if test "$no_create" = "yes"
23591 then
23592 exit 0
23595 ac_save_IFS="$IFS"
23596 IFS="|"
23597 if test "x$wine_notices != "x; then
23598 echo >&6
23599 for msg in $wine_notices; do
23600 if test -n "$msg"; then
23601 { echo "$as_me:$LINENO: $msg" >&5
23602 echo "$as_me: $msg" >&6;}
23604 done
23606 for msg in $wine_warnings; do
23607 if test -n "$msg"; then
23608 echo >&2
23609 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23610 echo "$as_me: WARNING: $msg" >&2;}
23612 done
23613 IFS="$ac_save_IFS"
23615 echo "
23616 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23617 " >&6