push cb0cb19ddc4f7f54a2a577a991192c948f9e91ed
[wine/hacks.git] / configure
blobccfb48a7e90482120782089a06551932d934868f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.56.
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.56'
578 PACKAGE_STRING='Wine 0.9.56'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 SECURITYLIB
728 COREFOUNDATIONLIB
729 IOKITLIB
730 LDEXECFLAGS
731 DISKARBITRATIONLIB
732 COREAUDIO
733 CARBONLIB
734 CROSSTEST
735 CROSSCC
736 CROSSWINDRES
737 NASLIBS
738 XML2LIBS
739 XML2INCL
740 XSLTLIBS
741 XSLTINCL
742 HALINCL
743 sane_devel
744 SANEINCL
745 gphoto2_devel
746 gphoto2port_devel
747 GPHOTO2LIBS
748 GPHOTO2INCL
749 RESOLVLIBS
750 LCMSLIBS
751 LDAPLIBS
752 ft_devel
753 FREETYPELIBS
754 FREETYPEINCL
755 FONTSSUBDIRS
756 ESDCONFIG
757 ESDLIBS
758 ESDINCL
759 ALSALIBS
760 AUDIOIOLIBS
761 FONTCONFIGINCL
762 EXTRACFLAGS
763 BUILTINFLAG
764 LDPATH
765 CRTLIBS
766 SOCKETLIBS
767 MAIN_BINARY
768 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.56 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.56:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1373 --disable-tests do not build the testsuites
1375 Optional Packages:
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-alsa do not use the Alsa sound support
1379 --without-audioio do not use the AudioIO sound support
1380 --without-capi do not use CAPI (ISDN support)
1381 --without-cms do not use CMS (color management support)
1382 --without-coreaudio do not use the CoreAudio sound support
1383 --without-cups do not use CUPS
1384 --without-curses do not use (n)curses
1385 --without-esd do not use the EsounD sound support
1386 --without-fontconfig do not use fontconfig
1387 --without-gphoto do not use gphoto (Digital Camera support)
1388 --without-hal do not use HAL (dynamic device support)
1389 --without-jack do not use the Jack sound support
1390 --without-jpeg do not use JPEG
1391 --without-ldap do not use LDAP
1392 --without-nas do not use the NAS sound support
1393 --without-opengl do not use OpenGL
1394 --without-openssl do not use OpenSSL
1395 --without-oss do not use the OSS sound support
1396 --without-png do not use PNG
1397 --without-sane do not use SANE (scanner support)
1398 --without-xcomposite do not use the Xcomposite extension
1399 --without-xcursor do not use the Xcursor extension
1400 --without-xinerama do not use Xinerama (multi-monitor support)
1401 --without-xinput do not use the Xinput extension
1402 --without-xml do not use XML
1403 --without-xrandr do not use Xrandr (resolution changes)
1404 --without-xrender do not use the Xrender extension
1405 --without-xshape do not use the Xshape extension
1406 --without-xshm do not use XShm (shared memory extension)
1407 --without-xslt do not use XSLT
1408 --without-xvidmode do not use XFree video mode extension
1409 --with-wine-tools=DIR use Wine tools from directory DIR
1410 --with-x use the X Window System
1412 Some influential environment variables:
1413 CC C compiler command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1416 nonstandard directory <lib dir>
1417 LIBS libraries to pass to the linker, e.g. -l<library>
1418 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1419 you have headers in a nonstandard directory <include dir>
1420 CXX C++ compiler command
1421 CXXFLAGS C++ compiler flags
1422 XMKMF Path to xmkmf, Makefile generator for X Window System
1423 CPP C preprocessor
1425 Use these variables to override the choices made by `configure' or to help
1426 it to find libraries and programs with nonstandard names/locations.
1428 Report bugs to <wine-devel@winehq.org>.
1429 _ACEOF
1430 ac_status=$?
1433 if test "$ac_init_help" = "recursive"; then
1434 # If there are subdirs, report their specific --help.
1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436 test -d "$ac_dir" || continue
1437 ac_builddir=.
1439 case "$ac_dir" in
1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1443 # A ".." for each directory in $ac_dir_suffix.
1444 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1445 case $ac_top_builddir_sub in
1446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1448 esac ;;
1449 esac
1450 ac_abs_top_builddir=$ac_pwd
1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir=$ac_top_build_prefix
1455 case $srcdir in
1456 .) # We are building in place.
1457 ac_srcdir=.
1458 ac_top_srcdir=$ac_top_builddir_sub
1459 ac_abs_top_srcdir=$ac_pwd ;;
1460 [\\/]* | ?:[\\/]* ) # Absolute name.
1461 ac_srcdir=$srcdir$ac_dir_suffix;
1462 ac_top_srcdir=$srcdir
1463 ac_abs_top_srcdir=$srcdir ;;
1464 *) # Relative name.
1465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466 ac_top_srcdir=$ac_top_build_prefix$srcdir
1467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1468 esac
1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" || { ac_status=$?; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1474 echo &&
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1479 else
1480 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481 fi || ac_status=$?
1482 cd "$ac_pwd" || { ac_status=$?; break; }
1483 done
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1488 cat <<\_ACEOF
1489 Wine configure 0.9.56
1490 generated by GNU Autoconf 2.61
1492 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1493 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1494 This configure script is free software; the Free Software Foundation
1495 gives unlimited permission to copy, distribute and modify it.
1496 _ACEOF
1497 exit
1499 cat >config.log <<_ACEOF
1500 This file contains any messages produced by compilers while
1501 running configure, to aid debugging if configure makes a mistake.
1503 It was created by Wine $as_me 0.9.56, which was
1504 generated by GNU Autoconf 2.61. Invocation command line was
1506 $ $0 $@
1508 _ACEOF
1509 exec 5>>config.log
1511 cat <<_ASUNAME
1512 ## --------- ##
1513 ## Platform. ##
1514 ## --------- ##
1516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1533 _ASUNAME
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 for as_dir in $PATH
1538 IFS=$as_save_IFS
1539 test -z "$as_dir" && as_dir=.
1540 echo "PATH: $as_dir"
1541 done
1542 IFS=$as_save_IFS
1544 } >&5
1546 cat >&5 <<_ACEOF
1549 ## ----------- ##
1550 ## Core tests. ##
1551 ## ----------- ##
1553 _ACEOF
1556 # Keep a trace of the command line.
1557 # Strip out --no-create and --no-recursion so they do not pile up.
1558 # Strip out --silent because we don't want to record it for future runs.
1559 # Also quote any args containing shell meta-characters.
1560 # Make two passes to allow for proper duplicate-argument suppression.
1561 ac_configure_args=
1562 ac_configure_args0=
1563 ac_configure_args1=
1564 ac_must_keep_next=false
1565 for ac_pass in 1 2
1567 for ac_arg
1569 case $ac_arg in
1570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1572 | -silent | --silent | --silen | --sile | --sil)
1573 continue ;;
1574 *\'*)
1575 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1576 esac
1577 case $ac_pass in
1578 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1580 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1581 if test $ac_must_keep_next = true; then
1582 ac_must_keep_next=false # Got value, back to normal.
1583 else
1584 case $ac_arg in
1585 *=* | --config-cache | -C | -disable-* | --disable-* \
1586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1588 | -with-* | --with-* | -without-* | --without-* | --x)
1589 case "$ac_configure_args0 " in
1590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1591 esac
1593 -* ) ac_must_keep_next=true ;;
1594 esac
1596 ac_configure_args="$ac_configure_args '$ac_arg'"
1598 esac
1599 done
1600 done
1601 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1602 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1604 # When interrupted or exit'd, cleanup temporary files, and complete
1605 # config.log. We remove comments because anyway the quotes in there
1606 # would cause problems or look ugly.
1607 # WARNING: Use '\'' to represent an apostrophe within the trap.
1608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1609 trap 'exit_status=$?
1610 # Save into config.log some information that might help in debugging.
1612 echo
1614 cat <<\_ASBOX
1615 ## ---------------- ##
1616 ## Cache variables. ##
1617 ## ---------------- ##
1618 _ASBOX
1619 echo
1620 # The following way of writing the cache mishandles newlines in values,
1622 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1623 eval ac_val=\$$ac_var
1624 case $ac_val in #(
1625 *${as_nl}*)
1626 case $ac_var in #(
1627 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1628 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1629 esac
1630 case $ac_var in #(
1631 _ | IFS | as_nl) ;; #(
1632 *) $as_unset $ac_var ;;
1633 esac ;;
1634 esac
1635 done
1636 (set) 2>&1 |
1637 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1638 *${as_nl}ac_space=\ *)
1639 sed -n \
1640 "s/'\''/'\''\\\\'\'''\''/g;
1641 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1642 ;; #(
1644 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1646 esac |
1647 sort
1649 echo
1651 cat <<\_ASBOX
1652 ## ----------------- ##
1653 ## Output variables. ##
1654 ## ----------------- ##
1655 _ASBOX
1656 echo
1657 for ac_var in $ac_subst_vars
1659 eval ac_val=\$$ac_var
1660 case $ac_val in
1661 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1662 esac
1663 echo "$ac_var='\''$ac_val'\''"
1664 done | sort
1665 echo
1667 if test -n "$ac_subst_files"; then
1668 cat <<\_ASBOX
1669 ## ------------------- ##
1670 ## File substitutions. ##
1671 ## ------------------- ##
1672 _ASBOX
1673 echo
1674 for ac_var in $ac_subst_files
1676 eval ac_val=\$$ac_var
1677 case $ac_val in
1678 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1679 esac
1680 echo "$ac_var='\''$ac_val'\''"
1681 done | sort
1682 echo
1685 if test -s confdefs.h; then
1686 cat <<\_ASBOX
1687 ## ----------- ##
1688 ## confdefs.h. ##
1689 ## ----------- ##
1690 _ASBOX
1691 echo
1692 cat confdefs.h
1693 echo
1695 test "$ac_signal" != 0 &&
1696 echo "$as_me: caught signal $ac_signal"
1697 echo "$as_me: exit $exit_status"
1698 } >&5
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1701 exit $exit_status
1703 for ac_signal in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1705 done
1706 ac_signal=0
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest* confdefs.h
1711 # Predefined preprocessor variables.
1713 cat >>confdefs.h <<_ACEOF
1714 #define PACKAGE_NAME "$PACKAGE_NAME"
1715 _ACEOF
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1720 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1725 _ACEOF
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_STRING "$PACKAGE_STRING"
1730 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 _ACEOF
1738 # Let the site file select an alternate cache file if it wants to.
1739 # Prefer explicitly selected file to automatically selected ones.
1740 if test -n "$CONFIG_SITE"; then
1741 set x "$CONFIG_SITE"
1742 elif test "x$prefix" != xNONE; then
1743 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1744 else
1745 set x "$ac_default_prefix/share/config.site" \
1746 "$ac_default_prefix/etc/config.site"
1748 shift
1749 for ac_site_file
1751 if test -r "$ac_site_file"; then
1752 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1753 echo "$as_me: loading site script $ac_site_file" >&6;}
1754 sed 's/^/| /' "$ac_site_file" >&5
1755 . "$ac_site_file"
1757 done
1759 if test -r "$cache_file"; then
1760 # Some versions of bash will fail to source /dev/null (special
1761 # files actually), so we avoid doing that.
1762 if test -f "$cache_file"; then
1763 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1764 echo "$as_me: loading cache $cache_file" >&6;}
1765 case $cache_file in
1766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1767 *) . "./$cache_file";;
1768 esac
1770 else
1771 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1772 echo "$as_me: creating cache $cache_file" >&6;}
1773 >$cache_file
1776 # Check that the precious variables saved in the cache have kept the same
1777 # value.
1778 ac_cache_corrupted=false
1779 for ac_var in $ac_precious_vars; do
1780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1781 eval ac_new_set=\$ac_env_${ac_var}_set
1782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1783 eval ac_new_val=\$ac_env_${ac_var}_value
1784 case $ac_old_set,$ac_new_set in
1785 set,)
1786 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1787 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1788 ac_cache_corrupted=: ;;
1789 ,set)
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1793 ,);;
1795 if test "x$ac_old_val" != "x$ac_new_val"; then
1796 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1797 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1798 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1799 echo "$as_me: former value: $ac_old_val" >&2;}
1800 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1801 echo "$as_me: current value: $ac_new_val" >&2;}
1802 ac_cache_corrupted=:
1803 fi;;
1804 esac
1805 # Pass precious variables to config.status.
1806 if test "$ac_new_set" = set; then
1807 case $ac_new_val in
1808 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1809 *) ac_arg=$ac_var=$ac_new_val ;;
1810 esac
1811 case " $ac_configure_args " in
1812 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1813 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1814 esac
1816 done
1817 if $ac_cache_corrupted; then
1818 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1819 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1820 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1821 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1822 { (exit 1); exit 1; }; }
1849 ac_ext=c
1850 ac_cpp='$CPP $CPPFLAGS'
1851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1857 ac_config_headers="$ac_config_headers include/config.h"
1859 ac_aux_dir=
1860 for ac_dir in tools "$srcdir"/tools; do
1861 if test -f "$ac_dir/install-sh"; then
1862 ac_aux_dir=$ac_dir
1863 ac_install_sh="$ac_aux_dir/install-sh -c"
1864 break
1865 elif test -f "$ac_dir/install.sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install.sh -c"
1868 break
1869 elif test -f "$ac_dir/shtool"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/shtool install -c"
1872 break
1874 done
1875 if test -z "$ac_aux_dir"; then
1876 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1877 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1878 { (exit 1); exit 1; }; }
1881 # These three variables are undocumented and unsupported,
1882 # and are intended to be withdrawn in a future Autoconf release.
1883 # They can cause serious problems if a builder's source tree is in a directory
1884 # whose full name contains unusual characters.
1885 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1886 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1887 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1892 # Check whether --enable-win16 was given.
1893 if test "${enable_win16+set}" = set; then
1894 enableval=$enable_win16;
1897 # Check whether --enable-win64 was given.
1898 if test "${enable_win64+set}" = set; then
1899 enableval=$enable_win64;
1904 # Check whether --with-alsa was given.
1905 if test "${with_alsa+set}" = set; then
1906 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1910 # Check whether --with-audioio was given.
1911 if test "${with_audioio+set}" = set; then
1912 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1916 # Check whether --with-capi was given.
1917 if test "${with_capi+set}" = set; then
1918 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1922 # Check whether --with-cms was given.
1923 if test "${with_cms+set}" = set; then
1924 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1928 # Check whether --with-coreaudio was given.
1929 if test "${with_coreaudio+set}" = set; then
1930 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1934 # Check whether --with-cups was given.
1935 if test "${with_cups+set}" = set; then
1936 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1940 # Check whether --with-curses was given.
1941 if test "${with_curses+set}" = set; then
1942 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1946 # Check whether --with-esd was given.
1947 if test "${with_esd+set}" = set; then
1948 withval=$with_esd;
1952 # Check whether --with-fontconfig was given.
1953 if test "${with_fontconfig+set}" = set; then
1954 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1958 # Check whether --with-gphoto was given.
1959 if test "${with_gphoto+set}" = set; then
1960 withval=$with_gphoto;
1964 # Check whether --with-hal was given.
1965 if test "${with_hal+set}" = set; then
1966 withval=$with_hal;
1970 # Check whether --with-jack was given.
1971 if test "${with_jack+set}" = set; then
1972 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1976 # Check whether --with-jpeg was given.
1977 if test "${with_jpeg+set}" = set; then
1978 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1982 # Check whether --with-ldap was given.
1983 if test "${with_ldap+set}" = set; then
1984 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1988 # Check whether --with-nas was given.
1989 if test "${with_nas+set}" = set; then
1990 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
1994 # Check whether --with-opengl was given.
1995 if test "${with_opengl+set}" = set; then
1996 withval=$with_opengl;
2000 # Check whether --with-openssl was given.
2001 if test "${with_openssl+set}" = set; then
2002 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2006 # Check whether --with-oss was given.
2007 if test "${with_oss+set}" = set; then
2008 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
2012 # Check whether --with-png was given.
2013 if test "${with_png+set}" = set; then
2014 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2018 # Check whether --with-sane was given.
2019 if test "${with_sane+set}" = set; then
2020 withval=$with_sane;
2024 # Check whether --with-xcomposite was given.
2025 if test "${with_xcomposite+set}" = set; then
2026 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2030 # Check whether --with-xcursor was given.
2031 if test "${with_xcursor+set}" = set; then
2032 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2036 # Check whether --with-xinerama was given.
2037 if test "${with_xinerama+set}" = set; then
2038 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2042 # Check whether --with-xinput was given.
2043 if test "${with_xinput+set}" = set; then
2044 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2048 # Check whether --with-xml was given.
2049 if test "${with_xml+set}" = set; then
2050 withval=$with_xml;
2054 # Check whether --with-xrandr was given.
2055 if test "${with_xrandr+set}" = set; then
2056 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2060 # Check whether --with-xrender was given.
2061 if test "${with_xrender+set}" = set; then
2062 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2066 # Check whether --with-xshape was given.
2067 if test "${with_xshape+set}" = set; then
2068 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2072 # Check whether --with-xshm was given.
2073 if test "${with_xshm+set}" = set; then
2074 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2078 # Check whether --with-xslt was given.
2079 if test "${with_xslt+set}" = set; then
2080 withval=$with_xslt;
2084 # Check whether --with-xvidmode was given.
2085 if test "${with_xvidmode+set}" = set; then
2086 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2091 # Check whether --with-wine-tools was given.
2092 if test "${with_wine_tools+set}" = set; then
2093 withval=$with_wine_tools;
2096 # Check whether --enable-tests was given.
2097 if test "${enable_tests+set}" = set; then
2098 enableval=$enable_tests;
2102 # Make sure we can run config.sub.
2103 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2104 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2105 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2106 { (exit 1); exit 1; }; }
2108 { echo "$as_me:$LINENO: checking build system type" >&5
2109 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2110 if test "${ac_cv_build+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 ac_build_alias=$build_alias
2114 test "x$ac_build_alias" = x &&
2115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2116 test "x$ac_build_alias" = x &&
2117 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2118 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2119 { (exit 1); exit 1; }; }
2120 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2121 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2122 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2123 { (exit 1); exit 1; }; }
2126 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2127 echo "${ECHO_T}$ac_cv_build" >&6; }
2128 case $ac_cv_build in
2129 *-*-*) ;;
2130 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2131 echo "$as_me: error: invalid value of canonical build" >&2;}
2132 { (exit 1); exit 1; }; };;
2133 esac
2134 build=$ac_cv_build
2135 ac_save_IFS=$IFS; IFS='-'
2136 set x $ac_cv_build
2137 shift
2138 build_cpu=$1
2139 build_vendor=$2
2140 shift; shift
2141 # Remember, the first character of IFS is used to create $*,
2142 # except with old shells:
2143 build_os=$*
2144 IFS=$ac_save_IFS
2145 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2148 { echo "$as_me:$LINENO: checking host system type" >&5
2149 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2150 if test "${ac_cv_host+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 else
2153 if test "x$host_alias" = x; then
2154 ac_cv_host=$ac_cv_build
2155 else
2156 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2157 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2158 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2159 { (exit 1); exit 1; }; }
2163 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2164 echo "${ECHO_T}$ac_cv_host" >&6; }
2165 case $ac_cv_host in
2166 *-*-*) ;;
2167 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2168 echo "$as_me: error: invalid value of canonical host" >&2;}
2169 { (exit 1); exit 1; }; };;
2170 esac
2171 host=$ac_cv_host
2172 ac_save_IFS=$IFS; IFS='-'
2173 set x $ac_cv_host
2174 shift
2175 host_cpu=$1
2176 host_vendor=$2
2177 shift; shift
2178 # Remember, the first character of IFS is used to create $*,
2179 # except with old shells:
2180 host_os=$*
2181 IFS=$ac_save_IFS
2182 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2185 case $host in
2186 x86_64*linux*)
2187 if test "x$enable_win64" != "xyes"
2188 then
2189 test -n "$CC" || CC="gcc -m32"
2190 test -n "$CXX"|| CXX="g++ -m32"
2191 test -n "$LD" || LD="ld -m elf_i386"
2192 test -n "$AS" || AS="as --32"
2193 host_cpu="i386"
2196 esac
2198 case $host_cpu in
2199 *i[3456789]86*)
2200 if test "x$enable_win16" != "xno"
2201 then
2202 enable_win16="yes"
2205 esac
2207 WIN16_FILES="\$(WIN16_FILES)"
2209 WIN16_INSTALL="\$(WIN16_INSTALL)"
2211 if test "x$enable_win16" != "xyes"
2212 then
2213 WIN16_FILES=""
2214 WIN16_INSTALL=""
2217 if test "x$enable_tests" == "xno"
2218 then
2219 TESTSUBDIRS=""
2221 WINETEST=""
2223 else
2224 TESTSUBDIRS="\$(TESTSUBDIRS)"
2226 WINETEST="winetest"
2230 case "$srcdir" in
2231 .) ;;
2232 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2233 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2234 You need to run 'make distclean' in the source tree first." >&5
2235 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2236 You need to run 'make distclean' in the source tree first." >&2;}
2237 { (exit 1); exit 1; }; }
2238 fi ;;
2239 esac
2242 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2243 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2244 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 cat >conftest.make <<\_ACEOF
2249 SHELL = /bin/sh
2250 all:
2251 @echo '@@@%%%=$(MAKE)=@@@%%%'
2252 _ACEOF
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2255 *@@@%%%=?*=@@@%%%*)
2256 eval ac_cv_prog_make_${ac_make}_set=yes;;
2258 eval ac_cv_prog_make_${ac_make}_set=no;;
2259 esac
2260 rm -f conftest.make
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263 { echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6; }
2265 SET_MAKE=
2266 else
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2269 SET_MAKE="MAKE=${MAKE-make}"
2272 ac_ext=c
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2301 IFS=$as_save_IFS
2305 CC=$ac_cv_prog_CC
2306 if test -n "$CC"; then
2307 { echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6; }
2309 else
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2317 ac_ct_CC=$CC
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 else
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="gcc"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2339 done
2340 done
2341 IFS=$as_save_IFS
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2349 else
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2354 if test "x$ac_ct_CC" = x; then
2355 CC=""
2356 else
2357 case $cross_compiling:$ac_tool_warned in
2358 yes:)
2359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2360 whose name does not start with the host triplet. If you think this
2361 configuration is useful to you, please write to autoconf@gnu.org." >&5
2362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2363 whose name does not start with the host triplet. If you think this
2364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2365 ac_tool_warned=yes ;;
2366 esac
2367 CC=$ac_ct_CC
2369 else
2370 CC="$ac_cv_prog_CC"
2373 if test -z "$CC"; then
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2376 set dummy ${ac_tool_prefix}cc; ac_word=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2384 else
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 for as_dir in $PATH
2388 IFS=$as_save_IFS
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC="${ac_tool_prefix}cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 break 2
2396 done
2397 done
2398 IFS=$as_save_IFS
2402 CC=$ac_cv_prog_CC
2403 if test -n "$CC"; then
2404 { echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6; }
2406 else
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2414 if test -z "$CC"; then
2415 # Extract the first word of "cc", so it can be a program name with args.
2416 set dummy cc; ac_word=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 else
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2424 else
2425 ac_prog_rejected=no
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2434 ac_prog_rejected=yes
2435 continue
2437 ac_cv_prog_CC="cc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 break 2
2441 done
2442 done
2443 IFS=$as_save_IFS
2445 if test $ac_prog_rejected = yes; then
2446 # We found a bogon in the path, so make sure we never use it.
2447 set dummy $ac_cv_prog_CC
2448 shift
2449 if test $# != 0; then
2450 # We chose a different compiler from the bogus one.
2451 # However, it has the same basename, so the bogon will be chosen
2452 # first if we set CC to just the basename; use the full file name.
2453 shift
2454 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2459 CC=$ac_cv_prog_CC
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2463 else
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2470 if test -z "$CC"; then
2471 if test -n "$ac_tool_prefix"; then
2472 for ac_prog in cl.exe
2474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test -n "$CC"; then
2482 ac_cv_prog_CC="$CC" # Let the user override the test.
2483 else
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2487 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 break 2
2495 done
2496 done
2497 IFS=$as_save_IFS
2501 CC=$ac_cv_prog_CC
2502 if test -n "$CC"; then
2503 { echo "$as_me:$LINENO: result: $CC" >&5
2504 echo "${ECHO_T}$CC" >&6; }
2505 else
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$CC" && break
2512 done
2514 if test -z "$CC"; then
2515 ac_ct_CC=$CC
2516 for ac_prog in cl.exe
2518 # Extract the first word of "$ac_prog", so it can be a program name with args.
2519 set dummy $ac_prog; ac_word=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 else
2525 if test -n "$ac_ct_CC"; then
2526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2527 else
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 for as_dir in $PATH
2531 IFS=$as_save_IFS
2532 test -z "$as_dir" && as_dir=.
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_ac_ct_CC="$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 break 2
2539 done
2540 done
2541 IFS=$as_save_IFS
2545 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2546 if test -n "$ac_ct_CC"; then
2547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2548 echo "${ECHO_T}$ac_ct_CC" >&6; }
2549 else
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$ac_ct_CC" && break
2556 done
2558 if test "x$ac_ct_CC" = x; then
2559 CC=""
2560 else
2561 case $cross_compiling:$ac_tool_warned in
2562 yes:)
2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2564 whose name does not start with the host triplet. If you think this
2565 configuration is useful to you, please write to autoconf@gnu.org." >&5
2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2567 whose name does not start with the host triplet. If you think this
2568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2569 ac_tool_warned=yes ;;
2570 esac
2571 CC=$ac_ct_CC
2578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2584 # Provide some information about the compiler.
2585 echo "$as_me:$LINENO: checking for C compiler version" >&5
2586 ac_compiler=`set X $ac_compile; echo $2`
2587 { (ac_try="$ac_compiler --version >&5"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler --version >&5") 2>&5
2594 ac_status=$?
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2597 { (ac_try="$ac_compiler -v >&5"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_compiler -v >&5") 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }
2607 { (ac_try="$ac_compiler -V >&5"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_compiler -V >&5") 2>&5
2614 ac_status=$?
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }
2618 cat >conftest.$ac_ext <<_ACEOF
2619 /* confdefs.h. */
2620 _ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2626 main ()
2630 return 0;
2632 _ACEOF
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2635 # Try to create an executable without -o first, disregard a.out.
2636 # It will help us diagnose broken compilers, and finding out an intuition
2637 # of exeext.
2638 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2639 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2640 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2642 # List of possible output files, starting from the most likely.
2643 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2644 # only as a last resort. b.out is created by i960 compilers.
2645 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2647 # The IRIX 6 linker writes into existing files which may not be
2648 # executable, retaining their permissions. Remove them first so a
2649 # subsequent execution test works.
2650 ac_rmfiles=
2651 for ac_file in $ac_files
2653 case $ac_file in
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2655 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2656 esac
2657 done
2658 rm -f $ac_rmfiles
2660 if { (ac_try="$ac_link_default"
2661 case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_link_default") 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2673 # so that the user can short-circuit this test for compilers unknown to
2674 # Autoconf.
2675 for ac_file in $ac_files ''
2677 test -f "$ac_file" || continue
2678 case $ac_file in
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2681 [ab].out )
2682 # We found the default executable, but exeext='' is most
2683 # certainly right.
2684 break;;
2685 *.* )
2686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2687 then :; else
2688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 # We set ac_cv_exeext here because the later test for it is not
2691 # safe: cross compilers may not add the suffix if given an `-o'
2692 # argument, so we may need to know it at that point already.
2693 # Even if this section looks crufty: it has the advantage of
2694 # actually working.
2695 break;;
2697 break;;
2698 esac
2699 done
2700 test "$ac_cv_exeext" = no && ac_cv_exeext=
2702 else
2703 ac_file=''
2706 { echo "$as_me:$LINENO: result: $ac_file" >&5
2707 echo "${ECHO_T}$ac_file" >&6; }
2708 if test -z "$ac_file"; then
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.$ac_ext >&5
2712 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2713 See \`config.log' for more details." >&5
2714 echo "$as_me: error: C compiler cannot create executables
2715 See \`config.log' for more details." >&2;}
2716 { (exit 77); exit 77; }; }
2719 ac_exeext=$ac_cv_exeext
2721 # Check that the compiler produces executables we can run. If not, either
2722 # the compiler is broken, or we cross compile.
2723 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2724 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2725 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2726 # If not cross compiling, check that we can run a simple program.
2727 if test "$cross_compiling" != yes; then
2728 if { ac_try='./$ac_file'
2729 { (case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_try") 2>&5
2735 ac_status=$?
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2738 cross_compiling=no
2739 else
2740 if test "$cross_compiling" = maybe; then
2741 cross_compiling=yes
2742 else
2743 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2744 If you meant to cross compile, use \`--host'.
2745 See \`config.log' for more details." >&5
2746 echo "$as_me: error: cannot run C compiled programs.
2747 If you meant to cross compile, use \`--host'.
2748 See \`config.log' for more details." >&2;}
2749 { (exit 1); exit 1; }; }
2753 { echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6; }
2756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2757 ac_clean_files=$ac_clean_files_save
2758 # Check that the compiler produces executables we can run. If not, either
2759 # the compiler is broken, or we cross compile.
2760 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2762 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2763 echo "${ECHO_T}$cross_compiling" >&6; }
2765 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2767 if { (ac_try="$ac_link"
2768 case "(($ac_try" in
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2771 esac
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link") 2>&5
2774 ac_status=$?
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe'), while it won't with
2780 # `rm'.
2781 for ac_file in conftest.exe conftest conftest.*; do
2782 test -f "$ac_file" || continue
2783 case $ac_file in
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2785 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2786 break;;
2787 * ) break;;
2788 esac
2789 done
2790 else
2791 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2798 rm -f conftest$ac_cv_exeext
2799 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2800 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2802 rm -f conftest.$ac_ext
2803 EXEEXT=$ac_cv_exeext
2804 ac_exeext=$EXEEXT
2805 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2806 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2807 if test "${ac_cv_objext+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 else
2810 cat >conftest.$ac_ext <<_ACEOF
2811 /* confdefs.h. */
2812 _ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2818 main ()
2822 return 0;
2824 _ACEOF
2825 rm -f conftest.o conftest.obj
2826 if { (ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_compile") 2>&5
2833 ac_status=$?
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; then
2836 for ac_file in conftest.o conftest.obj conftest.*; do
2837 test -f "$ac_file" || continue;
2838 case $ac_file in
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2841 break;;
2842 esac
2843 done
2844 else
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2849 See \`config.log' for more details." >&5
2850 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2851 See \`config.log' for more details." >&2;}
2852 { (exit 1); exit 1; }; }
2855 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2857 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2858 echo "${ECHO_T}$ac_cv_objext" >&6; }
2859 OBJEXT=$ac_cv_objext
2860 ac_objext=$OBJEXT
2861 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2862 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2863 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 else
2866 cat >conftest.$ac_ext <<_ACEOF
2867 /* confdefs.h. */
2868 _ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2874 main ()
2876 #ifndef __GNUC__
2877 choke me
2878 #endif
2881 return 0;
2883 _ACEOF
2884 rm -f conftest.$ac_objext
2885 if { (ac_try="$ac_compile"
2886 case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2892 ac_status=$?
2893 grep -v '^ *+' conftest.er1 >conftest.err
2894 rm -f conftest.er1
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2901 ac_compiler_gnu=yes
2902 else
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 ac_compiler_gnu=no
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2913 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2919 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_g+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 else
2923 ac_save_c_werror_flag=$ac_c_werror_flag
2924 ac_c_werror_flag=yes
2925 ac_cv_prog_cc_g=no
2926 CFLAGS="-g"
2927 cat >conftest.$ac_ext <<_ACEOF
2928 /* confdefs.h. */
2929 _ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2935 main ()
2939 return 0;
2941 _ACEOF
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2944 case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2947 esac
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
2959 ac_cv_prog_cc_g=yes
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 CFLAGS=""
2965 cat >conftest.$ac_ext <<_ACEOF
2966 /* confdefs.h. */
2967 _ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2973 main ()
2977 return 0;
2979 _ACEOF
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2988 ac_status=$?
2989 grep -v '^ *+' conftest.er1 >conftest.err
2990 rm -f conftest.er1
2991 cat conftest.err >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2998 else
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_c_werror_flag=$ac_save_c_werror_flag
3003 CFLAGS="-g"
3004 cat >conftest.$ac_ext <<_ACEOF
3005 /* confdefs.h. */
3006 _ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 main ()
3016 return 0;
3018 _ACEOF
3019 rm -f conftest.$ac_objext
3020 if { (ac_try="$ac_compile"
3021 case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3024 esac
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_compile") 2>conftest.er1
3027 ac_status=$?
3028 grep -v '^ *+' conftest.er1 >conftest.err
3029 rm -f conftest.er1
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest.$ac_objext; then
3036 ac_cv_prog_cc_g=yes
3037 else
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 ac_c_werror_flag=$ac_save_c_werror_flag
3053 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3055 if test "$ac_test_CFLAGS" = set; then
3056 CFLAGS=$ac_save_CFLAGS
3057 elif test $ac_cv_prog_cc_g = yes; then
3058 if test "$GCC" = yes; then
3059 CFLAGS="-g -O2"
3060 else
3061 CFLAGS="-g"
3063 else
3064 if test "$GCC" = yes; then
3065 CFLAGS="-O2"
3066 else
3067 CFLAGS=
3070 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3071 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3072 if test "${ac_cv_prog_cc_c89+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075 ac_cv_prog_cc_c89=no
3076 ac_save_CC=$CC
3077 cat >conftest.$ac_ext <<_ACEOF
3078 /* confdefs.h. */
3079 _ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3083 #include <stdarg.h>
3084 #include <stdio.h>
3085 #include <sys/types.h>
3086 #include <sys/stat.h>
3087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3088 struct buf { int x; };
3089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3090 static char *e (p, i)
3091 char **p;
3092 int i;
3094 return p[i];
3096 static char *f (char * (*g) (char **, int), char **p, ...)
3098 char *s;
3099 va_list v;
3100 va_start (v,p);
3101 s = g (p, va_arg (v,int));
3102 va_end (v);
3103 return s;
3106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3107 function prototypes and stuff, but not '\xHH' hex character constants.
3108 These don't provoke an error unfortunately, instead are silently treated
3109 as 'x'. The following induces an error, until -std is added to get
3110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3111 array size at least. It's necessary to write '\x00'==0 to get something
3112 that's true only with -std. */
3113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3115 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3116 inside strings and character constants. */
3117 #define FOO(x) 'x'
3118 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3120 int test (int i, double x);
3121 struct s1 {int (*f) (int a);};
3122 struct s2 {int (*f) (double a);};
3123 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3124 int argc;
3125 char **argv;
3127 main ()
3129 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3131 return 0;
3133 _ACEOF
3134 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3135 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3137 CC="$ac_save_CC $ac_arg"
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3140 case "(($ac_try" in
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3143 esac
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3146 ac_status=$?
3147 grep -v '^ *+' conftest.er1 >conftest.err
3148 rm -f conftest.er1
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cc_c89=$ac_arg
3156 else
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext
3164 test "x$ac_cv_prog_cc_c89" != "xno" && break
3165 done
3166 rm -f conftest.$ac_ext
3167 CC=$ac_save_CC
3170 # AC_CACHE_VAL
3171 case "x$ac_cv_prog_cc_c89" in
3173 { echo "$as_me:$LINENO: result: none needed" >&5
3174 echo "${ECHO_T}none needed" >&6; } ;;
3175 xno)
3176 { echo "$as_me:$LINENO: result: unsupported" >&5
3177 echo "${ECHO_T}unsupported" >&6; } ;;
3179 CC="$CC $ac_cv_prog_cc_c89"
3180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3181 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3182 esac
3185 ac_ext=c
3186 ac_cpp='$CPP $CPPFLAGS'
3187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 ac_ext=cpp
3192 ac_cpp='$CXXCPP $CPPFLAGS'
3193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3196 if test -z "$CXX"; then
3197 if test -n "$CCC"; then
3198 CXX=$CCC
3199 else
3200 if test -n "$ac_tool_prefix"; then
3201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3207 if test "${ac_cv_prog_CXX+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 if test -n "$CXX"; then
3211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3212 else
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214 for as_dir in $PATH
3216 IFS=$as_save_IFS
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 break 2
3224 done
3225 done
3226 IFS=$as_save_IFS
3230 CXX=$ac_cv_prog_CXX
3231 if test -n "$CXX"; then
3232 { echo "$as_me:$LINENO: result: $CXX" >&5
3233 echo "${ECHO_T}$CXX" >&6; }
3234 else
3235 { echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6; }
3240 test -n "$CXX" && break
3241 done
3243 if test -z "$CXX"; then
3244 ac_ct_CXX=$CXX
3245 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3247 # Extract the first word of "$ac_prog", so it can be a program name with args.
3248 set dummy $ac_prog; ac_word=$2
3249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 else
3254 if test -n "$ac_ct_CXX"; then
3255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3256 else
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 for as_dir in $PATH
3260 IFS=$as_save_IFS
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 ac_cv_prog_ac_ct_CXX="$ac_prog"
3265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 break 2
3268 done
3269 done
3270 IFS=$as_save_IFS
3274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3275 if test -n "$ac_ct_CXX"; then
3276 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3277 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3278 else
3279 { echo "$as_me:$LINENO: result: no" >&5
3280 echo "${ECHO_T}no" >&6; }
3284 test -n "$ac_ct_CXX" && break
3285 done
3287 if test "x$ac_ct_CXX" = x; then
3288 CXX="g++"
3289 else
3290 case $cross_compiling:$ac_tool_warned in
3291 yes:)
3292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3293 whose name does not start with the host triplet. If you think this
3294 configuration is useful to you, please write to autoconf@gnu.org." >&5
3295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3296 whose name does not start with the host triplet. If you think this
3297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3298 ac_tool_warned=yes ;;
3299 esac
3300 CXX=$ac_ct_CXX
3306 # Provide some information about the compiler.
3307 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3308 ac_compiler=`set X $ac_compile; echo $2`
3309 { (ac_try="$ac_compiler --version >&5"
3310 case "(($ac_try" in
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3313 esac
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler --version >&5") 2>&5
3316 ac_status=$?
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3319 { (ac_try="$ac_compiler -v >&5"
3320 case "(($ac_try" in
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3323 esac
3324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compiler -v >&5") 2>&5
3326 ac_status=$?
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }
3329 { (ac_try="$ac_compiler -V >&5"
3330 case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3333 esac
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compiler -V >&5") 2>&5
3336 ac_status=$?
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }
3340 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3341 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 else
3345 cat >conftest.$ac_ext <<_ACEOF
3346 /* confdefs.h. */
3347 _ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3353 main ()
3355 #ifndef __GNUC__
3356 choke me
3357 #endif
3360 return 0;
3362 _ACEOF
3363 rm -f conftest.$ac_objext
3364 if { (ac_try="$ac_compile"
3365 case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3368 esac
3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3371 ac_status=$?
3372 grep -v '^ *+' conftest.er1 >conftest.err
3373 rm -f conftest.er1
3374 cat conftest.err >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_cxx_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3380 ac_compiler_gnu=yes
3381 else
3382 echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 ac_compiler_gnu=no
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3392 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3394 GXX=`test $ac_compiler_gnu = yes && echo yes`
3395 ac_test_CXXFLAGS=${CXXFLAGS+set}
3396 ac_save_CXXFLAGS=$CXXFLAGS
3397 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3398 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3399 if test "${ac_cv_prog_cxx_g+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3403 ac_cxx_werror_flag=yes
3404 ac_cv_prog_cxx_g=no
3405 CXXFLAGS="-g"
3406 cat >conftest.$ac_ext <<_ACEOF
3407 /* confdefs.h. */
3408 _ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3414 main ()
3418 return 0;
3420 _ACEOF
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3423 case "(($ac_try" in
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3426 esac
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3429 ac_status=$?
3430 grep -v '^ *+' conftest.er1 >conftest.err
3431 rm -f conftest.er1
3432 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_cxx_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3438 ac_cv_prog_cxx_g=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 CXXFLAGS=""
3444 cat >conftest.$ac_ext <<_ACEOF
3445 /* confdefs.h. */
3446 _ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3452 main ()
3456 return 0;
3458 _ACEOF
3459 rm -f conftest.$ac_objext
3460 if { (ac_try="$ac_compile"
3461 case "(($ac_try" in
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3464 esac
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3467 ac_status=$?
3468 grep -v '^ *+' conftest.er1 >conftest.err
3469 rm -f conftest.er1
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_cxx_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3477 else
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3482 CXXFLAGS="-g"
3483 cat >conftest.$ac_ext <<_ACEOF
3484 /* confdefs.h. */
3485 _ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3491 main ()
3495 return 0;
3497 _ACEOF
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_cxx_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cxx_g=yes
3516 else
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3534 if test "$ac_test_CXXFLAGS" = set; then
3535 CXXFLAGS=$ac_save_CXXFLAGS
3536 elif test $ac_cv_prog_cxx_g = yes; then
3537 if test "$GXX" = yes; then
3538 CXXFLAGS="-g -O2"
3539 else
3540 CXXFLAGS="-g"
3542 else
3543 if test "$GXX" = yes; then
3544 CXXFLAGS="-O2"
3545 else
3546 CXXFLAGS=
3549 ac_ext=c
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 else
3563 if test -n "$CPPBIN"; then
3564 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 CPPBIN=$ac_cv_prog_CPPBIN
3584 if test -n "$CPPBIN"; then
3585 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3586 echo "${ECHO_T}$CPPBIN" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3594 if test -z "$ac_cv_prog_CPPBIN"; then
3595 ac_ct_CPPBIN=$CPPBIN
3596 # Extract the first word of "cpp", so it can be a program name with args.
3597 set dummy cpp; ac_word=$2
3598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3600 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 if test -n "$ac_ct_CPPBIN"; then
3604 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CPPBIN="cpp"
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3624 if test -n "$ac_ct_CPPBIN"; then
3625 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3626 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3627 else
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3632 if test "x$ac_ct_CPPBIN" = x; then
3633 CPPBIN="cpp"
3634 else
3635 case $cross_compiling:$ac_tool_warned in
3636 yes:)
3637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3638 whose name does not start with the host triplet. If you think this
3639 configuration is useful to you, please write to autoconf@gnu.org." >&5
3640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3641 whose name does not start with the host triplet. If you think this
3642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3643 ac_tool_warned=yes ;;
3644 esac
3645 CPPBIN=$ac_ct_CPPBIN
3647 else
3648 CPPBIN="$ac_cv_prog_CPPBIN"
3652 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3653 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3654 if test "${wine_cv_toolsdir+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 else
3657 if test -z "$with_wine_tools"; then
3658 if test "$cross_compiling" = "yes"; then
3659 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3660 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3661 { (exit 1); exit 1; }; }
3662 else
3663 wine_cv_toolsdir="\$(TOPOBJDIR)"
3665 elif test -d "$with_wine_tools/tools/winebuild"; then
3666 case $with_wine_tools in
3667 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3668 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3669 esac
3670 else
3671 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3672 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3673 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3677 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3678 TOOLSDIR=$wine_cv_toolsdir
3682 ac_ext=c
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3688 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3689 # On Suns, sometimes $CPP names a directory.
3690 if test -n "$CPP" && test -d "$CPP"; then
3691 CPP=
3693 if test -z "$CPP"; then
3694 if test "${ac_cv_prog_CPP+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 else
3697 # Double quotes because CPP needs to be expanded
3698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3700 ac_preproc_ok=false
3701 for ac_c_preproc_warn_flag in '' yes
3703 # Use a header file that comes with gcc, so configuring glibc
3704 # with a fresh cross-compiler works.
3705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706 # <limits.h> exists even on freestanding compilers.
3707 # On the NeXT, cc -E runs the code through the compiler's parser,
3708 # not just through cpp. "Syntax error" is here to catch this case.
3709 cat >conftest.$ac_ext <<_ACEOF
3710 /* confdefs.h. */
3711 _ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3715 #ifdef __STDC__
3716 # include <limits.h>
3717 #else
3718 # include <assert.h>
3719 #endif
3720 Syntax error
3721 _ACEOF
3722 if { (ac_try="$ac_cpp conftest.$ac_ext"
3723 case "(($ac_try" in
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3726 esac
3727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729 ac_status=$?
3730 grep -v '^ *+' conftest.er1 >conftest.err
3731 rm -f conftest.er1
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } >/dev/null && {
3735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3736 test ! -s conftest.err
3737 }; then
3739 else
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 # Broken: fails on valid input.
3744 continue
3747 rm -f conftest.err conftest.$ac_ext
3749 # OK, works on sane cases. Now check whether nonexistent headers
3750 # can be detected and how.
3751 cat >conftest.$ac_ext <<_ACEOF
3752 /* confdefs.h. */
3753 _ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3757 #include <ac_nonexistent.h>
3758 _ACEOF
3759 if { (ac_try="$ac_cpp conftest.$ac_ext"
3760 case "(($ac_try" in
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3763 esac
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3766 ac_status=$?
3767 grep -v '^ *+' conftest.er1 >conftest.err
3768 rm -f conftest.er1
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } >/dev/null && {
3772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 }; then
3775 # Broken: success on invalid input.
3776 continue
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 # Passes both tests.
3782 ac_preproc_ok=:
3783 break
3786 rm -f conftest.err conftest.$ac_ext
3788 done
3789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3790 rm -f conftest.err conftest.$ac_ext
3791 if $ac_preproc_ok; then
3792 break
3795 done
3796 ac_cv_prog_CPP=$CPP
3799 CPP=$ac_cv_prog_CPP
3800 else
3801 ac_cv_prog_CPP=$CPP
3803 { echo "$as_me:$LINENO: result: $CPP" >&5
3804 echo "${ECHO_T}$CPP" >&6; }
3805 ac_preproc_ok=false
3806 for ac_c_preproc_warn_flag in '' yes
3808 # Use a header file that comes with gcc, so configuring glibc
3809 # with a fresh cross-compiler works.
3810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3811 # <limits.h> exists even on freestanding compilers.
3812 # On the NeXT, cc -E runs the code through the compiler's parser,
3813 # not just through cpp. "Syntax error" is here to catch this case.
3814 cat >conftest.$ac_ext <<_ACEOF
3815 /* confdefs.h. */
3816 _ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3820 #ifdef __STDC__
3821 # include <limits.h>
3822 #else
3823 # include <assert.h>
3824 #endif
3825 Syntax error
3826 _ACEOF
3827 if { (ac_try="$ac_cpp conftest.$ac_ext"
3828 case "(($ac_try" in
3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3831 esac
3832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3834 ac_status=$?
3835 grep -v '^ *+' conftest.er1 >conftest.err
3836 rm -f conftest.er1
3837 cat conftest.err >&5
3838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839 (exit $ac_status); } >/dev/null && {
3840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841 test ! -s conftest.err
3842 }; then
3844 else
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 # Broken: fails on valid input.
3849 continue
3852 rm -f conftest.err conftest.$ac_ext
3854 # OK, works on sane cases. Now check whether nonexistent headers
3855 # can be detected and how.
3856 cat >conftest.$ac_ext <<_ACEOF
3857 /* confdefs.h. */
3858 _ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 #include <ac_nonexistent.h>
3863 _ACEOF
3864 if { (ac_try="$ac_cpp conftest.$ac_ext"
3865 case "(($ac_try" in
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3868 esac
3869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3870 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3871 ac_status=$?
3872 grep -v '^ *+' conftest.er1 >conftest.err
3873 rm -f conftest.er1
3874 cat conftest.err >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } >/dev/null && {
3877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3879 }; then
3880 # Broken: success on invalid input.
3881 continue
3882 else
3883 echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3886 # Passes both tests.
3887 ac_preproc_ok=:
3888 break
3891 rm -f conftest.err conftest.$ac_ext
3893 done
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.$ac_ext
3896 if $ac_preproc_ok; then
3898 else
3899 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3900 See \`config.log' for more details." >&5
3901 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log' for more details." >&2;}
3903 { (exit 1); exit 1; }; }
3906 ac_ext=c
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 { echo "$as_me:$LINENO: checking for X" >&5
3914 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3917 # Check whether --with-x was given.
3918 if test "${with_x+set}" = set; then
3919 withval=$with_x;
3922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3923 if test "x$with_x" = xno; then
3924 # The user explicitly disabled X.
3925 have_x=disabled
3926 else
3927 case $x_includes,$x_libraries in #(
3928 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3929 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3930 { (exit 1); exit 1; }; };; #(
3931 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 else
3934 # One or both of the vars are not set, and there is no cached value.
3935 ac_x_includes=no ac_x_libraries=no
3936 rm -f -r conftest.dir
3937 if mkdir conftest.dir; then
3938 cd conftest.dir
3939 cat >Imakefile <<'_ACEOF'
3940 incroot:
3941 @echo incroot='${INCROOT}'
3942 usrlibdir:
3943 @echo usrlibdir='${USRLIBDIR}'
3944 libdir:
3945 @echo libdir='${LIBDIR}'
3946 _ACEOF
3947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3949 for ac_var in incroot usrlibdir libdir; do
3950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3951 done
3952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3953 for ac_extension in a so sl; do
3954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3956 ac_im_usrlibdir=$ac_im_libdir; break
3958 done
3959 # Screen out bogus values from the imake configuration. They are
3960 # bogus both because they are the default anyway, and because
3961 # using them would break gcc on systems where it needs fixed includes.
3962 case $ac_im_incroot in
3963 /usr/include) ac_x_includes= ;;
3964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3965 esac
3966 case $ac_im_usrlibdir in
3967 /usr/lib | /lib) ;;
3968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3969 esac
3971 cd ..
3972 rm -f -r conftest.dir
3975 # Standard set of common directories for X headers.
3976 # Check X11 before X11Rn because it is often a symlink to the current release.
3977 ac_x_header_dirs='
3978 /usr/X11/include
3979 /usr/X11R6/include
3980 /usr/X11R5/include
3981 /usr/X11R4/include
3983 /usr/include/X11
3984 /usr/include/X11R6
3985 /usr/include/X11R5
3986 /usr/include/X11R4
3988 /usr/local/X11/include
3989 /usr/local/X11R6/include
3990 /usr/local/X11R5/include
3991 /usr/local/X11R4/include
3993 /usr/local/include/X11
3994 /usr/local/include/X11R6
3995 /usr/local/include/X11R5
3996 /usr/local/include/X11R4
3998 /usr/X386/include
3999 /usr/x386/include
4000 /usr/XFree86/include/X11
4002 /usr/include
4003 /usr/local/include
4004 /usr/unsupported/include
4005 /usr/athena/include
4006 /usr/local/x11r5/include
4007 /usr/lpp/Xamples/include
4009 /usr/openwin/include
4010 /usr/openwin/share/include'
4012 if test "$ac_x_includes" = no; then
4013 # Guess where to find include files, by looking for Xlib.h.
4014 # First, try using that file with no special directory specified.
4015 cat >conftest.$ac_ext <<_ACEOF
4016 /* confdefs.h. */
4017 _ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021 #include <X11/Xlib.h>
4022 _ACEOF
4023 if { (ac_try="$ac_cpp conftest.$ac_ext"
4024 case "(($ac_try" in
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4027 esac
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4030 ac_status=$?
4031 grep -v '^ *+' conftest.er1 >conftest.err
4032 rm -f conftest.er1
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev/null && {
4036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4037 test ! -s conftest.err
4038 }; then
4039 # We can compile using X headers with no special include directory.
4040 ac_x_includes=
4041 else
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 for ac_dir in $ac_x_header_dirs; do
4046 if test -r "$ac_dir/X11/Xlib.h"; then
4047 ac_x_includes=$ac_dir
4048 break
4050 done
4053 rm -f conftest.err conftest.$ac_ext
4054 fi # $ac_x_includes = no
4056 if test "$ac_x_libraries" = no; then
4057 # Check for the libraries.
4058 # See if we find them without any special options.
4059 # Don't add to $LIBS permanently.
4060 ac_save_LIBS=$LIBS
4061 LIBS="-lX11 $LIBS"
4062 cat >conftest.$ac_ext <<_ACEOF
4063 /* confdefs.h. */
4064 _ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 #include <X11/Xlib.h>
4070 main ()
4072 XrmInitialize ()
4074 return 0;
4076 _ACEOF
4077 rm -f conftest.$ac_objext conftest$ac_exeext
4078 if { (ac_try="$ac_link"
4079 case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4082 esac
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_link") 2>conftest.er1
4085 ac_status=$?
4086 grep -v '^ *+' conftest.er1 >conftest.err
4087 rm -f conftest.er1
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest$ac_exeext &&
4094 $as_test_x conftest$ac_exeext; then
4095 LIBS=$ac_save_LIBS
4096 # We can link X programs with no special library path.
4097 ac_x_libraries=
4098 else
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 LIBS=$ac_save_LIBS
4103 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4105 # Don't even attempt the hair of trying to link an X program!
4106 for ac_extension in a so sl; do
4107 if test -r "$ac_dir/libX11.$ac_extension"; then
4108 ac_x_libraries=$ac_dir
4109 break 2
4111 done
4112 done
4115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116 conftest$ac_exeext conftest.$ac_ext
4117 fi # $ac_x_libraries = no
4119 case $ac_x_includes,$ac_x_libraries in #(
4120 no,* | *,no | *\'*)
4121 # Didn't find X, or a directory has "'" in its name.
4122 ac_cv_have_x="have_x=no";; #(
4124 # Record where we found X for the cache.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$ac_x_includes'\
4127 ac_x_libraries='$ac_x_libraries'"
4128 esac
4130 ;; #(
4131 *) have_x=yes;;
4132 esac
4133 eval "$ac_cv_have_x"
4134 fi # $with_x != no
4136 if test "$have_x" != yes; then
4137 { echo "$as_me:$LINENO: result: $have_x" >&5
4138 echo "${ECHO_T}$have_x" >&6; }
4139 no_x=yes
4140 else
4141 # If each of the values was on the command line, it overrides each guess.
4142 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4143 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4144 # Update the cache value to reflect the command line values.
4145 ac_cv_have_x="have_x=yes\
4146 ac_x_includes='$x_includes'\
4147 ac_x_libraries='$x_libraries'"
4148 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4149 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4152 if test "$no_x" = yes; then
4153 # Not all programs may use this symbol, but it does not hurt to define it.
4155 cat >>confdefs.h <<\_ACEOF
4156 #define X_DISPLAY_MISSING 1
4157 _ACEOF
4159 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4160 else
4161 if test -n "$x_includes"; then
4162 X_CFLAGS="$X_CFLAGS -I$x_includes"
4165 # It would also be nice to do this for all -L options, not just this one.
4166 if test -n "$x_libraries"; then
4167 X_LIBS="$X_LIBS -L$x_libraries"
4168 # For Solaris; some versions of Sun CC require a space after -R and
4169 # others require no space. Words are not sufficient . . . .
4170 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4171 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4172 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4173 ac_xsave_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4175 cat >conftest.$ac_ext <<_ACEOF
4176 /* confdefs.h. */
4177 _ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4198 ac_status=$?
4199 grep -v '^ *+' conftest.er1 >conftest.err
4200 rm -f conftest.er1
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 { echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6; }
4210 X_LIBS="$X_LIBS -R$x_libraries"
4211 else
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.$ac_ext >&5
4215 LIBS="$ac_xsave_LIBS -R $x_libraries"
4216 cat >conftest.$ac_ext <<_ACEOF
4217 /* confdefs.h. */
4218 _ACEOF
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4224 main ()
4228 return 0;
4230 _ACEOF
4231 rm -f conftest.$ac_objext conftest$ac_exeext
4232 if { (ac_try="$ac_link"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238 (eval "$ac_link") 2>conftest.er1
4239 ac_status=$?
4240 grep -v '^ *+' conftest.er1 >conftest.err
4241 rm -f conftest.er1
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest$ac_exeext &&
4248 $as_test_x conftest$ac_exeext; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 X_LIBS="$X_LIBS -R $x_libraries"
4252 else
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 { echo "$as_me:$LINENO: result: neither works" >&5
4257 echo "${ECHO_T}neither works" >&6; }
4260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4261 conftest$ac_exeext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4265 conftest$ac_exeext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_xsave_c_werror_flag
4267 LIBS=$ac_xsave_LIBS
4270 # Check for system-dependent libraries X programs must link with.
4271 # Do this before checking for the system-independent R6 libraries
4272 # (-lICE), since we may need -lsocket or whatever for X linking.
4274 if test "$ISC" = yes; then
4275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4276 else
4277 # Martyn Johnson says this is needed for Ultrix, if the X
4278 # libraries were built with DECnet support. And Karl Berry says
4279 # the Alpha needs dnet_stub (dnet does not exist).
4280 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4281 cat >conftest.$ac_ext <<_ACEOF
4282 /* confdefs.h. */
4283 _ACEOF
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4291 #ifdef __cplusplus
4292 extern "C"
4293 #endif
4294 char XOpenDisplay ();
4296 main ()
4298 return XOpenDisplay ();
4300 return 0;
4302 _ACEOF
4303 rm -f conftest.$ac_objext conftest$ac_exeext
4304 if { (ac_try="$ac_link"
4305 case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4308 esac
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_link") 2>conftest.er1
4311 ac_status=$?
4312 grep -v '^ *+' conftest.er1 >conftest.err
4313 rm -f conftest.er1
4314 cat conftest.err >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && {
4317 test -z "$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4319 } && test -s conftest$ac_exeext &&
4320 $as_test_x conftest$ac_exeext; then
4322 else
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.$ac_ext >&5
4326 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 else
4331 ac_check_lib_save_LIBS=$LIBS
4332 LIBS="-ldnet $LIBS"
4333 cat >conftest.$ac_ext <<_ACEOF
4334 /* confdefs.h. */
4335 _ACEOF
4336 cat confdefs.h >>conftest.$ac_ext
4337 cat >>conftest.$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4343 #ifdef __cplusplus
4344 extern "C"
4345 #endif
4346 char dnet_ntoa ();
4348 main ()
4350 return dnet_ntoa ();
4352 return 0;
4354 _ACEOF
4355 rm -f conftest.$ac_objext conftest$ac_exeext
4356 if { (ac_try="$ac_link"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_link") 2>conftest.er1
4363 ac_status=$?
4364 grep -v '^ *+' conftest.er1 >conftest.err
4365 rm -f conftest.er1
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest$ac_exeext &&
4372 $as_test_x conftest$ac_exeext; then
4373 ac_cv_lib_dnet_dnet_ntoa=yes
4374 else
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 ac_cv_lib_dnet_dnet_ntoa=no
4381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4382 conftest$ac_exeext conftest.$ac_ext
4383 LIBS=$ac_check_lib_save_LIBS
4385 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4386 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4387 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4388 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4391 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4392 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4393 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4394 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 else
4397 ac_check_lib_save_LIBS=$LIBS
4398 LIBS="-ldnet_stub $LIBS"
4399 cat >conftest.$ac_ext <<_ACEOF
4400 /* confdefs.h. */
4401 _ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4406 /* Override any GCC internal prototype to avoid an error.
4407 Use char because int might match the return type of a GCC
4408 builtin and then its argument prototype would still apply. */
4409 #ifdef __cplusplus
4410 extern "C"
4411 #endif
4412 char dnet_ntoa ();
4414 main ()
4416 return dnet_ntoa ();
4418 return 0;
4420 _ACEOF
4421 rm -f conftest.$ac_objext conftest$ac_exeext
4422 if { (ac_try="$ac_link"
4423 case "(($ac_try" in
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4426 esac
4427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4428 (eval "$ac_link") 2>conftest.er1
4429 ac_status=$?
4430 grep -v '^ *+' conftest.er1 >conftest.err
4431 rm -f conftest.er1
4432 cat conftest.err >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } && {
4435 test -z "$ac_c_werror_flag" ||
4436 test ! -s conftest.err
4437 } && test -s conftest$ac_exeext &&
4438 $as_test_x conftest$ac_exeext; then
4439 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4440 else
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.$ac_ext >&5
4444 ac_cv_lib_dnet_stub_dnet_ntoa=no
4447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4448 conftest$ac_exeext conftest.$ac_ext
4449 LIBS=$ac_check_lib_save_LIBS
4451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4452 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4453 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4454 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4461 conftest$ac_exeext conftest.$ac_ext
4462 LIBS="$ac_xsave_LIBS"
4464 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4465 # to get the SysV transport functions.
4466 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4467 # needs -lnsl.
4468 # The nsl library prevents programs from opening the X display
4469 # on Irix 5.2, according to T.E. Dickey.
4470 # The functions gethostbyname, getservbyname, and inet_addr are
4471 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4472 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4473 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4474 if test "${ac_cv_func_gethostbyname+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 else
4477 cat >conftest.$ac_ext <<_ACEOF
4478 /* confdefs.h. */
4479 _ACEOF
4480 cat confdefs.h >>conftest.$ac_ext
4481 cat >>conftest.$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4485 #define gethostbyname innocuous_gethostbyname
4487 /* System header to define __stub macros and hopefully few prototypes,
4488 which can conflict with char gethostbyname (); below.
4489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4490 <limits.h> exists even on freestanding compilers. */
4492 #ifdef __STDC__
4493 # include <limits.h>
4494 #else
4495 # include <assert.h>
4496 #endif
4498 #undef gethostbyname
4500 /* Override any GCC internal prototype to avoid an error.
4501 Use char because int might match the return type of a GCC
4502 builtin and then its argument prototype would still apply. */
4503 #ifdef __cplusplus
4504 extern "C"
4505 #endif
4506 char gethostbyname ();
4507 /* The GNU C library defines this for functions which it implements
4508 to always fail with ENOSYS. Some functions are actually named
4509 something starting with __ and the normal name is an alias. */
4510 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4511 choke me
4512 #endif
4515 main ()
4517 return gethostbyname ();
4519 return 0;
4521 _ACEOF
4522 rm -f conftest.$ac_objext conftest$ac_exeext
4523 if { (ac_try="$ac_link"
4524 case "(($ac_try" in
4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4527 esac
4528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4529 (eval "$ac_link") 2>conftest.er1
4530 ac_status=$?
4531 grep -v '^ *+' conftest.er1 >conftest.err
4532 rm -f conftest.er1
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest$ac_exeext &&
4539 $as_test_x conftest$ac_exeext; then
4540 ac_cv_func_gethostbyname=yes
4541 else
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4545 ac_cv_func_gethostbyname=no
4548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4549 conftest$ac_exeext conftest.$ac_ext
4551 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4552 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4554 if test $ac_cv_func_gethostbyname = no; then
4555 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 else
4560 ac_check_lib_save_LIBS=$LIBS
4561 LIBS="-lnsl $LIBS"
4562 cat >conftest.$ac_ext <<_ACEOF
4563 /* confdefs.h. */
4564 _ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4572 #ifdef __cplusplus
4573 extern "C"
4574 #endif
4575 char gethostbyname ();
4577 main ()
4579 return gethostbyname ();
4581 return 0;
4583 _ACEOF
4584 rm -f conftest.$ac_objext conftest$ac_exeext
4585 if { (ac_try="$ac_link"
4586 case "(($ac_try" in
4587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4589 esac
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_link") 2>conftest.er1
4592 ac_status=$?
4593 grep -v '^ *+' conftest.er1 >conftest.err
4594 rm -f conftest.er1
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest$ac_exeext &&
4601 $as_test_x conftest$ac_exeext; then
4602 ac_cv_lib_nsl_gethostbyname=yes
4603 else
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4607 ac_cv_lib_nsl_gethostbyname=no
4610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4611 conftest$ac_exeext conftest.$ac_ext
4612 LIBS=$ac_check_lib_save_LIBS
4614 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4615 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4616 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4617 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4620 if test $ac_cv_lib_nsl_gethostbyname = no; then
4621 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4622 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4623 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 else
4626 ac_check_lib_save_LIBS=$LIBS
4627 LIBS="-lbsd $LIBS"
4628 cat >conftest.$ac_ext <<_ACEOF
4629 /* confdefs.h. */
4630 _ACEOF
4631 cat confdefs.h >>conftest.$ac_ext
4632 cat >>conftest.$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4638 #ifdef __cplusplus
4639 extern "C"
4640 #endif
4641 char gethostbyname ();
4643 main ()
4645 return gethostbyname ();
4647 return 0;
4649 _ACEOF
4650 rm -f conftest.$ac_objext conftest$ac_exeext
4651 if { (ac_try="$ac_link"
4652 case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_link") 2>conftest.er1
4658 ac_status=$?
4659 grep -v '^ *+' conftest.er1 >conftest.err
4660 rm -f conftest.er1
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest$ac_exeext &&
4667 $as_test_x conftest$ac_exeext; then
4668 ac_cv_lib_bsd_gethostbyname=yes
4669 else
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_bsd_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4682 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4689 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4690 # socket/setsockopt and other routines are undefined under SCO ODT
4691 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4692 # on later versions), says Simon Leinen: it contains gethostby*
4693 # variants that don't use the name server (or something). -lsocket
4694 # must be given before -lnsl if both are needed. We assume that
4695 # if connect needs -lnsl, so does gethostbyname.
4696 { echo "$as_me:$LINENO: checking for connect" >&5
4697 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4698 if test "${ac_cv_func_connect+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 cat >conftest.$ac_ext <<_ACEOF
4702 /* confdefs.h. */
4703 _ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4709 #define connect innocuous_connect
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char connect (); below.
4713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4714 <limits.h> exists even on freestanding compilers. */
4716 #ifdef __STDC__
4717 # include <limits.h>
4718 #else
4719 # include <assert.h>
4720 #endif
4722 #undef connect
4724 /* Override any GCC internal prototype to avoid an error.
4725 Use char because int might match the return type of a GCC
4726 builtin and then its argument prototype would still apply. */
4727 #ifdef __cplusplus
4728 extern "C"
4729 #endif
4730 char connect ();
4731 /* The GNU C library defines this for functions which it implements
4732 to always fail with ENOSYS. Some functions are actually named
4733 something starting with __ and the normal name is an alias. */
4734 #if defined __stub_connect || defined __stub___connect
4735 choke me
4736 #endif
4739 main ()
4741 return connect ();
4743 return 0;
4745 _ACEOF
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_func_connect=yes
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_func_connect=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4775 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4776 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4778 if test $ac_cv_func_connect = no; then
4779 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4780 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4781 if test "${ac_cv_lib_socket_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 else
4784 ac_check_lib_save_LIBS=$LIBS
4785 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4786 cat >conftest.$ac_ext <<_ACEOF
4787 /* confdefs.h. */
4788 _ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char connect ();
4801 main ()
4803 return connect ();
4805 return 0;
4807 _ACEOF
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (ac_try="$ac_link"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_lib_socket_connect=yes
4827 else
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 ac_cv_lib_socket_connect=no
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4836 LIBS=$ac_check_lib_save_LIBS
4838 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4840 if test $ac_cv_lib_socket_connect = yes; then
4841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4846 # Guillermo Gomez says -lposix is necessary on A/UX.
4847 { echo "$as_me:$LINENO: checking for remove" >&5
4848 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4849 if test "${ac_cv_func_remove+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 cat >conftest.$ac_ext <<_ACEOF
4853 /* confdefs.h. */
4854 _ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4860 #define remove innocuous_remove
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char remove (); below.
4864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4865 <limits.h> exists even on freestanding compilers. */
4867 #ifdef __STDC__
4868 # include <limits.h>
4869 #else
4870 # include <assert.h>
4871 #endif
4873 #undef remove
4875 /* Override any GCC internal prototype to avoid an error.
4876 Use char because int might match the return type of a GCC
4877 builtin and then its argument prototype would still apply. */
4878 #ifdef __cplusplus
4879 extern "C"
4880 #endif
4881 char remove ();
4882 /* The GNU C library defines this for functions which it implements
4883 to always fail with ENOSYS. Some functions are actually named
4884 something starting with __ and the normal name is an alias. */
4885 #if defined __stub_remove || defined __stub___remove
4886 choke me
4887 #endif
4890 main ()
4892 return remove ();
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_func_remove=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_func_remove=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4926 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4927 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4929 if test $ac_cv_func_remove = no; then
4930 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4931 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4932 if test "${ac_cv_lib_posix_remove+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 else
4935 ac_check_lib_save_LIBS=$LIBS
4936 LIBS="-lposix $LIBS"
4937 cat >conftest.$ac_ext <<_ACEOF
4938 /* confdefs.h. */
4939 _ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any GCC internal prototype to avoid an error.
4945 Use char because int might match the return type of a GCC
4946 builtin and then its argument prototype would still apply. */
4947 #ifdef __cplusplus
4948 extern "C"
4949 #endif
4950 char remove ();
4952 main ()
4954 return remove ();
4956 return 0;
4958 _ACEOF
4959 rm -f conftest.$ac_objext conftest$ac_exeext
4960 if { (ac_try="$ac_link"
4961 case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964 esac
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4967 ac_status=$?
4968 grep -v '^ *+' conftest.er1 >conftest.err
4969 rm -f conftest.er1
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest$ac_exeext &&
4976 $as_test_x conftest$ac_exeext; then
4977 ac_cv_lib_posix_remove=yes
4978 else
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_lib_posix_remove=no
4985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986 conftest$ac_exeext conftest.$ac_ext
4987 LIBS=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4990 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4991 if test $ac_cv_lib_posix_remove = yes; then
4992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4998 { echo "$as_me:$LINENO: checking for shmat" >&5
4999 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5000 if test "${ac_cv_func_shmat+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 cat >conftest.$ac_ext <<_ACEOF
5004 /* confdefs.h. */
5005 _ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5011 #define shmat innocuous_shmat
5013 /* System header to define __stub macros and hopefully few prototypes,
5014 which can conflict with char shmat (); below.
5015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 <limits.h> exists even on freestanding compilers. */
5018 #ifdef __STDC__
5019 # include <limits.h>
5020 #else
5021 # include <assert.h>
5022 #endif
5024 #undef shmat
5026 /* Override any GCC internal prototype to avoid an error.
5027 Use char because int might match the return type of a GCC
5028 builtin and then its argument prototype would still apply. */
5029 #ifdef __cplusplus
5030 extern "C"
5031 #endif
5032 char shmat ();
5033 /* The GNU C library defines this for functions which it implements
5034 to always fail with ENOSYS. Some functions are actually named
5035 something starting with __ and the normal name is an alias. */
5036 #if defined __stub_shmat || defined __stub___shmat
5037 choke me
5038 #endif
5041 main ()
5043 return shmat ();
5045 return 0;
5047 _ACEOF
5048 rm -f conftest.$ac_objext conftest$ac_exeext
5049 if { (ac_try="$ac_link"
5050 case "(($ac_try" in
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5053 esac
5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_link") 2>conftest.er1
5056 ac_status=$?
5057 grep -v '^ *+' conftest.er1 >conftest.err
5058 rm -f conftest.er1
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest$ac_exeext &&
5065 $as_test_x conftest$ac_exeext; then
5066 ac_cv_func_shmat=yes
5067 else
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.$ac_ext >&5
5071 ac_cv_func_shmat=no
5074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5075 conftest$ac_exeext conftest.$ac_ext
5077 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5078 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5080 if test $ac_cv_func_shmat = no; then
5081 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5082 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else
5086 ac_check_lib_save_LIBS=$LIBS
5087 LIBS="-lipc $LIBS"
5088 cat >conftest.$ac_ext <<_ACEOF
5089 /* confdefs.h. */
5090 _ACEOF
5091 cat confdefs.h >>conftest.$ac_ext
5092 cat >>conftest.$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5095 /* Override any GCC internal prototype to avoid an error.
5096 Use char because int might match the return type of a GCC
5097 builtin and then its argument prototype would still apply. */
5098 #ifdef __cplusplus
5099 extern "C"
5100 #endif
5101 char shmat ();
5103 main ()
5105 return shmat ();
5107 return 0;
5109 _ACEOF
5110 rm -f conftest.$ac_objext conftest$ac_exeext
5111 if { (ac_try="$ac_link"
5112 case "(($ac_try" in
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5115 esac
5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117 (eval "$ac_link") 2>conftest.er1
5118 ac_status=$?
5119 grep -v '^ *+' conftest.er1 >conftest.err
5120 rm -f conftest.er1
5121 cat conftest.err >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } && {
5124 test -z "$ac_c_werror_flag" ||
5125 test ! -s conftest.err
5126 } && test -s conftest$ac_exeext &&
5127 $as_test_x conftest$ac_exeext; then
5128 ac_cv_lib_ipc_shmat=yes
5129 else
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_cv_lib_ipc_shmat=no
5136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5137 conftest$ac_exeext conftest.$ac_ext
5138 LIBS=$ac_check_lib_save_LIBS
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5142 if test $ac_cv_lib_ipc_shmat = yes; then
5143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5149 # Check for libraries that X11R6 Xt/Xaw programs need.
5150 ac_save_LDFLAGS=$LDFLAGS
5151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5153 # check for ICE first), but we must link in the order -lSM -lICE or
5154 # we get undefined symbols. So assume we have SM if we have ICE.
5155 # These have to be linked with before -lX11, unlike the other
5156 # libraries we check for below, so use a different variable.
5157 # John Interrante, Karl Berry
5158 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163 ac_check_lib_save_LIBS=$LIBS
5164 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5165 cat >conftest.$ac_ext <<_ACEOF
5166 /* confdefs.h. */
5167 _ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5175 #ifdef __cplusplus
5176 extern "C"
5177 #endif
5178 char IceConnectionNumber ();
5180 main ()
5182 return IceConnectionNumber ();
5184 return 0;
5186 _ACEOF
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5189 case "(($ac_try" in
5190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5191 *) ac_try_echo=$ac_try;;
5192 esac
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5195 ac_status=$?
5196 grep -v '^ *+' conftest.er1 >conftest.err
5197 rm -f conftest.er1
5198 cat conftest.err >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } && {
5201 test -z "$ac_c_werror_flag" ||
5202 test ! -s conftest.err
5203 } && test -s conftest$ac_exeext &&
5204 $as_test_x conftest$ac_exeext; then
5205 ac_cv_lib_ICE_IceConnectionNumber=yes
5206 else
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 ac_cv_lib_ICE_IceConnectionNumber=no
5213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5214 conftest$ac_exeext conftest.$ac_ext
5215 LIBS=$ac_check_lib_save_LIBS
5217 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5220 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5223 LDFLAGS=$ac_save_LDFLAGS
5228 for ac_prog in flex
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy $ac_prog; ac_word=$2
5232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5234 if test "${ac_cv_prog_FLEX+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 else
5237 if test -n "$FLEX"; then
5238 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_prog_FLEX="$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 FLEX=$ac_cv_prog_FLEX
5258 if test -n "$FLEX"; then
5259 { echo "$as_me:$LINENO: result: $FLEX" >&5
5260 echo "${ECHO_T}$FLEX" >&6; }
5261 else
5262 { echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6; }
5267 test -n "$FLEX" && break
5268 done
5269 test -n "$FLEX" || FLEX="none"
5271 if test "$FLEX" = "none"
5272 then
5273 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5274 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5275 { (exit 1); exit 1; }; }
5278 for ac_prog in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy $ac_prog; ac_word=$2
5282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284 if test "${ac_cv_prog_BISON+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 else
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_BISON="$ac_prog"
5298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 BISON=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { echo "$as_me:$LINENO: result: $BISON" >&5
5310 echo "${ECHO_T}$BISON" >&6; }
5311 else
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5317 test -n "$BISON" && break
5318 done
5319 test -n "$BISON" || BISON="none"
5321 if test "$BISON" = "none"
5322 then
5323 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5324 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5325 { (exit 1); exit 1; }; }
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog in gas as
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5335 if test "${ac_cv_prog_AS+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 else
5338 if test -n "$AS"; then
5339 ac_cv_prog_AS="$AS" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5344 IFS=$as_save_IFS
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 break 2
5352 done
5353 done
5354 IFS=$as_save_IFS
5358 AS=$ac_cv_prog_AS
5359 if test -n "$AS"; then
5360 { echo "$as_me:$LINENO: result: $AS" >&5
5361 echo "${ECHO_T}$AS" >&6; }
5362 else
5363 { echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6; }
5368 test -n "$AS" && break
5369 done
5371 if test -z "$AS"; then
5372 ac_ct_AS=$AS
5373 for ac_prog in gas as
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy $ac_prog; ac_word=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5379 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 else
5382 if test -n "$ac_ct_AS"; then
5383 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_ac_ct_AS="$ac_prog"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5403 if test -n "$ac_ct_AS"; then
5404 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5405 echo "${ECHO_T}$ac_ct_AS" >&6; }
5406 else
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$ac_ct_AS" && break
5413 done
5415 if test "x$ac_ct_AS" = x; then
5416 AS="as"
5417 else
5418 case $cross_compiling:$ac_tool_warned in
5419 yes:)
5420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5421 whose name does not start with the host triplet. If you think this
5422 configuration is useful to you, please write to autoconf@gnu.org." >&5
5423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5424 whose name does not start with the host triplet. If you think this
5425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5426 ac_tool_warned=yes ;;
5427 esac
5428 AS=$ac_ct_AS
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5434 set dummy ${ac_tool_prefix}ld; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_LD+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 else
5440 if test -n "$LD"; then
5441 ac_cv_prog_LD="$LD" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_LD="${ac_tool_prefix}ld"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 LD=$ac_cv_prog_LD
5461 if test -n "$LD"; then
5462 { echo "$as_me:$LINENO: result: $LD" >&5
5463 echo "${ECHO_T}$LD" >&6; }
5464 else
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5471 if test -z "$ac_cv_prog_LD"; then
5472 ac_ct_LD=$LD
5473 # Extract the first word of "ld", so it can be a program name with args.
5474 set dummy ld; ac_word=$2
5475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5477 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 else
5480 if test -n "$ac_ct_LD"; then
5481 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_LD="ld"
5491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5501 if test -n "$ac_ct_LD"; then
5502 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5503 echo "${ECHO_T}$ac_ct_LD" >&6; }
5504 else
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5509 if test "x$ac_ct_LD" = x; then
5510 LD="ld"
5511 else
5512 case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5515 whose name does not start with the host triplet. If you think this
5516 configuration is useful to you, please write to autoconf@gnu.org." >&5
5517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5518 whose name does not start with the host triplet. If you think this
5519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5520 ac_tool_warned=yes ;;
5521 esac
5522 LD=$ac_ct_LD
5524 else
5525 LD="$ac_cv_prog_LD"
5528 if test -n "$ac_tool_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5530 set dummy ${ac_tool_prefix}ar; ac_word=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_AR+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 if test -n "$AR"; then
5537 ac_cv_prog_AR="$AR" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_AR="${ac_tool_prefix}ar"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 AR=$ac_cv_prog_AR
5557 if test -n "$AR"; then
5558 { echo "$as_me:$LINENO: result: $AR" >&5
5559 echo "${ECHO_T}$AR" >&6; }
5560 else
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 if test -z "$ac_cv_prog_AR"; then
5568 ac_ct_AR=$AR
5569 # Extract the first word of "ar", so it can be a program name with args.
5570 set dummy ar; ac_word=$2
5571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5573 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5575 else
5576 if test -n "$ac_ct_AR"; then
5577 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5578 else
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in $PATH
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_ac_ct_AR="ar"
5587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5590 done
5591 done
5592 IFS=$as_save_IFS
5596 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5597 if test -n "$ac_ct_AR"; then
5598 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5599 echo "${ECHO_T}$ac_ct_AR" >&6; }
5600 else
5601 { echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6; }
5605 if test "x$ac_ct_AR" = x; then
5606 AR="ar"
5607 else
5608 case $cross_compiling:$ac_tool_warned in
5609 yes:)
5610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5611 whose name does not start with the host triplet. If you think this
5612 configuration is useful to you, please write to autoconf@gnu.org." >&5
5613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5614 whose name does not start with the host triplet. If you think this
5615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5616 ac_tool_warned=yes ;;
5617 esac
5618 AR=$ac_ct_AR
5620 else
5621 AR="$ac_cv_prog_AR"
5624 if test -n "$ac_tool_prefix"; then
5625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629 if test "${ac_cv_prog_RANLIB+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 else
5632 if test -n "$RANLIB"; then
5633 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 RANLIB=$ac_cv_prog_RANLIB
5653 if test -n "$RANLIB"; then
5654 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5655 echo "${ECHO_T}$RANLIB" >&6; }
5656 else
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5663 if test -z "$ac_cv_prog_RANLIB"; then
5664 ac_ct_RANLIB=$RANLIB
5665 # Extract the first word of "ranlib", so it can be a program name with args.
5666 set dummy ranlib; ac_word=$2
5667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5669 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 else
5672 if test -n "$ac_ct_RANLIB"; then
5673 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_ac_ct_RANLIB="ranlib"
5683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5693 if test -n "$ac_ct_RANLIB"; then
5694 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5695 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5696 else
5697 { echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6; }
5701 if test "x$ac_ct_RANLIB" = x; then
5702 RANLIB=":"
5703 else
5704 case $cross_compiling:$ac_tool_warned in
5705 yes:)
5706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5707 whose name does not start with the host triplet. If you think this
5708 configuration is useful to you, please write to autoconf@gnu.org." >&5
5709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5710 whose name does not start with the host triplet. If you think this
5711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5712 ac_tool_warned=yes ;;
5713 esac
5714 RANLIB=$ac_ct_RANLIB
5716 else
5717 RANLIB="$ac_cv_prog_RANLIB"
5720 if test -n "$ac_tool_prefix"; then
5721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5722 set dummy ${ac_tool_prefix}strip; ac_word=$2
5723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5725 if test "${ac_cv_prog_STRIP+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 else
5728 if test -n "$STRIP"; then
5729 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 break 2
5742 done
5743 done
5744 IFS=$as_save_IFS
5748 STRIP=$ac_cv_prog_STRIP
5749 if test -n "$STRIP"; then
5750 { echo "$as_me:$LINENO: result: $STRIP" >&5
5751 echo "${ECHO_T}$STRIP" >&6; }
5752 else
5753 { echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6; }
5759 if test -z "$ac_cv_prog_STRIP"; then
5760 ac_ct_STRIP=$STRIP
5761 # Extract the first word of "strip", so it can be a program name with args.
5762 set dummy strip; ac_word=$2
5763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 else
5768 if test -n "$ac_ct_STRIP"; then
5769 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5774 IFS=$as_save_IFS
5775 test -z "$as_dir" && as_dir=.
5776 for ac_exec_ext in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_ac_ct_STRIP="strip"
5779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 break 2
5782 done
5783 done
5784 IFS=$as_save_IFS
5788 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5789 if test -n "$ac_ct_STRIP"; then
5790 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5791 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5792 else
5793 { echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6; }
5797 if test "x$ac_ct_STRIP" = x; then
5798 STRIP="strip"
5799 else
5800 case $cross_compiling:$ac_tool_warned in
5801 yes:)
5802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5803 whose name does not start with the host triplet. If you think this
5804 configuration is useful to you, please write to autoconf@gnu.org." >&5
5805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5806 whose name does not start with the host triplet. If you think this
5807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5808 ac_tool_warned=yes ;;
5809 esac
5810 STRIP=$ac_ct_STRIP
5812 else
5813 STRIP="$ac_cv_prog_STRIP"
5816 if test -n "$ac_tool_prefix"; then
5817 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5818 set dummy ${ac_tool_prefix}windres; ac_word=$2
5819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5821 if test "${ac_cv_prog_WINDRES+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 else
5824 if test -n "$WINDRES"; then
5825 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5834 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5844 WINDRES=$ac_cv_prog_WINDRES
5845 if test -n "$WINDRES"; then
5846 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5847 echo "${ECHO_T}$WINDRES" >&6; }
5848 else
5849 { echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6; }
5855 if test -z "$ac_cv_prog_WINDRES"; then
5856 ac_ct_WINDRES=$WINDRES
5857 # Extract the first word of "windres", so it can be a program name with args.
5858 set dummy windres; ac_word=$2
5859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5861 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 else
5864 if test -n "$ac_ct_WINDRES"; then
5865 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_ac_ct_WINDRES="windres"
5875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5885 if test -n "$ac_ct_WINDRES"; then
5886 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5887 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5888 else
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5893 if test "x$ac_ct_WINDRES" = x; then
5894 WINDRES="false"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5899 whose name does not start with the host triplet. If you think this
5900 configuration is useful to you, please write to autoconf@gnu.org." >&5
5901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5902 whose name does not start with the host triplet. If you think this
5903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5904 ac_tool_warned=yes ;;
5905 esac
5906 WINDRES=$ac_ct_WINDRES
5908 else
5909 WINDRES="$ac_cv_prog_WINDRES"
5912 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5913 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5914 LN_S=$as_ln_s
5915 if test "$LN_S" = "ln -s"; then
5916 { echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6; }
5918 else
5919 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5920 echo "${ECHO_T}no, using $LN_S" >&6; }
5923 { echo "$as_me:$LINENO: checking whether ln works" >&5
5924 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5925 rm -f conf$$ conf$$.file
5926 echo >conf$$.file
5927 if ln conf$$.file conf$$ 2>/dev/null; then
5928 LN=ln
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5932 else
5933 LN="cp -p"
5935 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5936 echo "${ECHO_T}no, using $LN" >&6; }
5938 rm -f conf$$ conf$$.file
5939 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5940 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5941 if test "${ac_cv_path_GREP+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 else
5944 # Extract the first word of "grep ggrep" to use in msg output
5945 if test -z "$GREP"; then
5946 set dummy grep ggrep; ac_prog_name=$2
5947 if test "${ac_cv_path_GREP+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 else
5950 ac_path_GREP_found=false
5951 # Loop through the user's path and test for each of PROGNAME-LIST
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5955 IFS=$as_save_IFS
5956 test -z "$as_dir" && as_dir=.
5957 for ac_prog in grep ggrep; do
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5960 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5961 # Check for GNU ac_path_GREP and select it if it is found.
5962 # Check for GNU $ac_path_GREP
5963 case `"$ac_path_GREP" --version 2>&1` in
5964 *GNU*)
5965 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5967 ac_count=0
5968 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5969 while :
5971 cat "conftest.in" "conftest.in" >"conftest.tmp"
5972 mv "conftest.tmp" "conftest.in"
5973 cp "conftest.in" "conftest.nl"
5974 echo 'GREP' >> "conftest.nl"
5975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5976 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5977 ac_count=`expr $ac_count + 1`
5978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5979 # Best one so far, save it but keep looking for a better one
5980 ac_cv_path_GREP="$ac_path_GREP"
5981 ac_path_GREP_max=$ac_count
5983 # 10*(2^10) chars as input seems more than enough
5984 test $ac_count -gt 10 && break
5985 done
5986 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5987 esac
5990 $ac_path_GREP_found && break 3
5991 done
5992 done
5994 done
5995 IFS=$as_save_IFS
6000 GREP="$ac_cv_path_GREP"
6001 if test -z "$GREP"; then
6002 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6003 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6004 { (exit 1); exit 1; }; }
6007 else
6008 ac_cv_path_GREP=$GREP
6013 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6014 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6015 GREP="$ac_cv_path_GREP"
6018 { echo "$as_me:$LINENO: checking for egrep" >&5
6019 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6020 if test "${ac_cv_path_EGREP+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6024 then ac_cv_path_EGREP="$GREP -E"
6025 else
6026 # Extract the first word of "egrep" to use in msg output
6027 if test -z "$EGREP"; then
6028 set dummy egrep; ac_prog_name=$2
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032 ac_path_EGREP_found=false
6033 # Loop through the user's path and test for each of PROGNAME-LIST
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6037 IFS=$as_save_IFS
6038 test -z "$as_dir" && as_dir=.
6039 for ac_prog in egrep; do
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6042 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6043 # Check for GNU ac_path_EGREP and select it if it is found.
6044 # Check for GNU $ac_path_EGREP
6045 case `"$ac_path_EGREP" --version 2>&1` in
6046 *GNU*)
6047 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6049 ac_count=0
6050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6051 while :
6053 cat "conftest.in" "conftest.in" >"conftest.tmp"
6054 mv "conftest.tmp" "conftest.in"
6055 cp "conftest.in" "conftest.nl"
6056 echo 'EGREP' >> "conftest.nl"
6057 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6059 ac_count=`expr $ac_count + 1`
6060 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6061 # Best one so far, save it but keep looking for a better one
6062 ac_cv_path_EGREP="$ac_path_EGREP"
6063 ac_path_EGREP_max=$ac_count
6065 # 10*(2^10) chars as input seems more than enough
6066 test $ac_count -gt 10 && break
6067 done
6068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6069 esac
6072 $ac_path_EGREP_found && break 3
6073 done
6074 done
6076 done
6077 IFS=$as_save_IFS
6082 EGREP="$ac_cv_path_EGREP"
6083 if test -z "$EGREP"; then
6084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6086 { (exit 1); exit 1; }; }
6089 else
6090 ac_cv_path_EGREP=$EGREP
6096 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6097 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6098 EGREP="$ac_cv_path_EGREP"
6101 # Extract the first word of "ldconfig", so it can be a program name with args.
6102 set dummy ldconfig; ac_word=$2
6103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6105 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 else
6108 case $LDCONFIG in
6109 [\\/]* | ?:[\\/]*)
6110 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in /sbin /usr/sbin $PATH
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6124 done
6125 done
6126 IFS=$as_save_IFS
6128 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6130 esac
6132 LDCONFIG=$ac_cv_path_LDCONFIG
6133 if test -n "$LDCONFIG"; then
6134 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6135 echo "${ECHO_T}$LDCONFIG" >&6; }
6136 else
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6142 # Find a good install program. We prefer a C program (faster),
6143 # so one script is as good as another. But avoid the broken or
6144 # incompatible versions:
6145 # SysV /etc/install, /usr/sbin/install
6146 # SunOS /usr/etc/install
6147 # IRIX /sbin/install
6148 # AIX /bin/install
6149 # AmigaOS /C/install, which installs bootblocks on floppy discs
6150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6153 # OS/2's system install, which has a completely different semantic
6154 # ./install, which can be erroneously created by make from ./install.sh.
6155 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6156 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6157 if test -z "$INSTALL"; then
6158 if test "${ac_cv_path_install+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6164 IFS=$as_save_IFS
6165 test -z "$as_dir" && as_dir=.
6166 # Account for people who put trailing slashes in PATH elements.
6167 case $as_dir/ in
6168 ./ | .// | /cC/* | \
6169 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6170 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6171 /usr/ucb/* ) ;;
6173 # OSF1 and SCO ODT 3.0 have their own names for install.
6174 # Don't use installbsd from OSF since it installs stuff as root
6175 # by default.
6176 for ac_prog in ginstall scoinst install; do
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6179 if test $ac_prog = install &&
6180 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6181 # AIX install. It has an incompatible calling convention.
6183 elif test $ac_prog = install &&
6184 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6185 # program-specific install script used by HP pwplus--don't use.
6187 else
6188 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6189 break 3
6192 done
6193 done
6195 esac
6196 done
6197 IFS=$as_save_IFS
6201 if test "${ac_cv_path_install+set}" = set; then
6202 INSTALL=$ac_cv_path_install
6203 else
6204 # As a last resort, use the slow shell script. Don't cache a
6205 # value for INSTALL within a source directory, because that will
6206 # break other packages using the cache if that directory is
6207 # removed, or if the value is a relative name.
6208 INSTALL=$ac_install_sh
6211 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6212 echo "${ECHO_T}$INSTALL" >&6; }
6214 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6215 # It thinks the first close brace ends the variable substitution.
6216 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6218 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6220 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6222 case "$INSTALL" in
6223 [\\/$]* | ?:[\\/]* ) ;;
6224 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6225 esac
6227 for ac_prog in lclint lint
6229 # Extract the first word of "$ac_prog", so it can be a program name with args.
6230 set dummy $ac_prog; ac_word=$2
6231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6233 if test "${ac_cv_prog_LINT+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 else
6236 if test -n "$LINT"; then
6237 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6238 else
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 for as_dir in $PATH
6242 IFS=$as_save_IFS
6243 test -z "$as_dir" && as_dir=.
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6246 ac_cv_prog_LINT="$ac_prog"
6247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 break 2
6250 done
6251 done
6252 IFS=$as_save_IFS
6256 LINT=$ac_cv_prog_LINT
6257 if test -n "$LINT"; then
6258 { echo "$as_me:$LINENO: result: $LINT" >&5
6259 echo "${ECHO_T}$LINT" >&6; }
6260 else
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6266 test -n "$LINT" && break
6267 done
6269 if test "$LINT" = "lint"
6270 then
6271 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6276 for ac_prog in fontforge
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 else
6285 if test -n "$FONTFORGE"; then
6286 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_FONTFORGE="$ac_prog"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6299 done
6300 done
6301 IFS=$as_save_IFS
6305 FONTFORGE=$ac_cv_prog_FONTFORGE
6306 if test -n "$FONTFORGE"; then
6307 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6308 echo "${ECHO_T}$FONTFORGE" >&6; }
6309 else
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6315 test -n "$FONTFORGE" && break
6316 done
6317 test -n "$FONTFORGE" || FONTFORGE="false"
6319 for ac_prog in pkg-config
6321 # Extract the first word of "$ac_prog", so it can be a program name with args.
6322 set dummy $ac_prog; ac_word=$2
6323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6325 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 else
6328 if test -n "$PKG_CONFIG"; then
6329 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6330 else
6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6332 for as_dir in $PATH
6334 IFS=$as_save_IFS
6335 test -z "$as_dir" && as_dir=.
6336 for ac_exec_ext in '' $ac_executable_extensions; do
6337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338 ac_cv_prog_PKG_CONFIG="$ac_prog"
6339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 break 2
6342 done
6343 done
6344 IFS=$as_save_IFS
6348 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6349 if test -n "$PKG_CONFIG"; then
6350 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6351 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6352 else
6353 { echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6; }
6358 test -n "$PKG_CONFIG" && break
6359 done
6360 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6363 case $host_cpu in
6364 *i[3456789]86*)
6365 # Extract the first word of "prelink", so it can be a program name with args.
6366 set dummy prelink; ac_word=$2
6367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6369 if test "${ac_cv_path_PRELINK+set}" = set; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 else
6372 case $PRELINK in
6373 [\\/]* | ?:[\\/]*)
6374 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 for as_dir in /sbin /usr/sbin $PATH
6380 IFS=$as_save_IFS
6381 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 break 2
6388 done
6389 done
6390 IFS=$as_save_IFS
6392 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6394 esac
6396 PRELINK=$ac_cv_path_PRELINK
6397 if test -n "$PRELINK"; then
6398 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6399 echo "${ECHO_T}$PRELINK" >&6; }
6400 else
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6407 esac
6411 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6412 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 else
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-li386 $LIBS"
6418 cat >conftest.$ac_ext <<_ACEOF
6419 /* confdefs.h. */
6420 _ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6428 #ifdef __cplusplus
6429 extern "C"
6430 #endif
6431 char i386_set_ldt ();
6433 main ()
6435 return i386_set_ldt ();
6437 return 0;
6439 _ACEOF
6440 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (ac_try="$ac_link"
6442 case "(($ac_try" in
6443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6445 esac
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest$ac_exeext &&
6457 $as_test_x conftest$ac_exeext; then
6458 ac_cv_lib_i386_i386_set_ldt=yes
6459 else
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6463 ac_cv_lib_i386_i386_set_ldt=no
6466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6467 conftest$ac_exeext conftest.$ac_ext
6468 LIBS=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6471 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6472 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6473 cat >>confdefs.h <<_ACEOF
6474 #define HAVE_LIBI386 1
6475 _ACEOF
6477 LIBS="-li386 $LIBS"
6482 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6483 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6484 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 else
6487 ac_check_lib_save_LIBS=$LIBS
6488 LIBS="-lossaudio $LIBS"
6489 cat >conftest.$ac_ext <<_ACEOF
6490 /* confdefs.h. */
6491 _ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6496 /* Override any GCC internal prototype to avoid an error.
6497 Use char because int might match the return type of a GCC
6498 builtin and then its argument prototype would still apply. */
6499 #ifdef __cplusplus
6500 extern "C"
6501 #endif
6502 char _oss_ioctl ();
6504 main ()
6506 return _oss_ioctl ();
6508 return 0;
6510 _ACEOF
6511 rm -f conftest.$ac_objext conftest$ac_exeext
6512 if { (ac_try="$ac_link"
6513 case "(($ac_try" in
6514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515 *) ac_try_echo=$ac_try;;
6516 esac
6517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_link") 2>conftest.er1
6519 ac_status=$?
6520 grep -v '^ *+' conftest.er1 >conftest.err
6521 rm -f conftest.er1
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } && {
6525 test -z "$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6527 } && test -s conftest$ac_exeext &&
6528 $as_test_x conftest$ac_exeext; then
6529 ac_cv_lib_ossaudio__oss_ioctl=yes
6530 else
6531 echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.$ac_ext >&5
6534 ac_cv_lib_ossaudio__oss_ioctl=no
6537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6538 conftest$ac_exeext conftest.$ac_ext
6539 LIBS=$ac_check_lib_save_LIBS
6541 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6542 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6543 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6544 cat >>confdefs.h <<_ACEOF
6545 #define HAVE_LIBOSSAUDIO 1
6546 _ACEOF
6548 LIBS="-lossaudio $LIBS"
6552 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6553 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6554 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 ac_check_lib_save_LIBS=$LIBS
6558 LIBS="-lpthread $LIBS"
6559 cat >conftest.$ac_ext <<_ACEOF
6560 /* confdefs.h. */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6566 /* Override any GCC internal prototype to avoid an error.
6567 Use char because int might match the return type of a GCC
6568 builtin and then its argument prototype would still apply. */
6569 #ifdef __cplusplus
6570 extern "C"
6571 #endif
6572 char pthread_create ();
6574 main ()
6576 return pthread_create ();
6578 return 0;
6580 _ACEOF
6581 rm -f conftest.$ac_objext conftest$ac_exeext
6582 if { (ac_try="$ac_link"
6583 case "(($ac_try" in
6584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6585 *) ac_try_echo=$ac_try;;
6586 esac
6587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6588 (eval "$ac_link") 2>conftest.er1
6589 ac_status=$?
6590 grep -v '^ *+' conftest.er1 >conftest.err
6591 rm -f conftest.er1
6592 cat conftest.err >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } && {
6595 test -z "$ac_c_werror_flag" ||
6596 test ! -s conftest.err
6597 } && test -s conftest$ac_exeext &&
6598 $as_test_x conftest$ac_exeext; then
6599 ac_cv_lib_pthread_pthread_create=yes
6600 else
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.$ac_ext >&5
6604 ac_cv_lib_pthread_pthread_create=no
6607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6608 conftest$ac_exeext conftest.$ac_ext
6609 LIBS=$ac_check_lib_save_LIBS
6611 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6612 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6613 if test $ac_cv_lib_pthread_pthread_create = yes; then
6614 LIBPTHREAD="-lpthread"
6619 XLIB=""
6621 XFILES=""
6623 OPENGLFILES=""
6625 GLU32FILES=""
6627 OPENGL_LIBS=""
6629 QUARTZFILES=""
6633 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6634 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6635 if test "${ac_cv_header_stdc+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 else
6638 cat >conftest.$ac_ext <<_ACEOF
6639 /* confdefs.h. */
6640 _ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6644 #include <stdlib.h>
6645 #include <stdarg.h>
6646 #include <string.h>
6647 #include <float.h>
6650 main ()
6654 return 0;
6656 _ACEOF
6657 rm -f conftest.$ac_objext
6658 if { (ac_try="$ac_compile"
6659 case "(($ac_try" in
6660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6661 *) ac_try_echo=$ac_try;;
6662 esac
6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6664 (eval "$ac_compile") 2>conftest.er1
6665 ac_status=$?
6666 grep -v '^ *+' conftest.er1 >conftest.err
6667 rm -f conftest.er1
6668 cat conftest.err >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } && {
6671 test -z "$ac_c_werror_flag" ||
6672 test ! -s conftest.err
6673 } && test -s conftest.$ac_objext; then
6674 ac_cv_header_stdc=yes
6675 else
6676 echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.$ac_ext >&5
6679 ac_cv_header_stdc=no
6682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6684 if test $ac_cv_header_stdc = yes; then
6685 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
6694 _ACEOF
6695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6696 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6707 cat >conftest.$ac_ext <<_ACEOF
6708 /* confdefs.h. */
6709 _ACEOF
6710 cat confdefs.h >>conftest.$ac_ext
6711 cat >>conftest.$ac_ext <<_ACEOF
6712 /* end confdefs.h. */
6713 #include <stdlib.h>
6715 _ACEOF
6716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6717 $EGREP "free" >/dev/null 2>&1; then
6719 else
6720 ac_cv_header_stdc=no
6722 rm -f conftest*
6726 if test $ac_cv_header_stdc = yes; then
6727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6728 if test "$cross_compiling" = yes; then
6730 else
6731 cat >conftest.$ac_ext <<_ACEOF
6732 /* confdefs.h. */
6733 _ACEOF
6734 cat confdefs.h >>conftest.$ac_ext
6735 cat >>conftest.$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6737 #include <ctype.h>
6738 #include <stdlib.h>
6739 #if ((' ' & 0x0FF) == 0x020)
6740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6742 #else
6743 # define ISLOWER(c) \
6744 (('a' <= (c) && (c) <= 'i') \
6745 || ('j' <= (c) && (c) <= 'r') \
6746 || ('s' <= (c) && (c) <= 'z'))
6747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6748 #endif
6750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6752 main ()
6754 int i;
6755 for (i = 0; i < 256; i++)
6756 if (XOR (islower (i), ISLOWER (i))
6757 || toupper (i) != TOUPPER (i))
6758 return 2;
6759 return 0;
6761 _ACEOF
6762 rm -f conftest$ac_exeext
6763 if { (ac_try="$ac_link"
6764 case "(($ac_try" in
6765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6766 *) ac_try_echo=$ac_try;;
6767 esac
6768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6769 (eval "$ac_link") 2>&5
6770 ac_status=$?
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6773 { (case "(($ac_try" in
6774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6775 *) ac_try_echo=$ac_try;;
6776 esac
6777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6778 (eval "$ac_try") 2>&5
6779 ac_status=$?
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6783 else
6784 echo "$as_me: program exited with status $ac_status" >&5
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 ( exit $ac_status )
6789 ac_cv_header_stdc=no
6791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6797 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6798 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6799 if test $ac_cv_header_stdc = yes; then
6801 cat >>confdefs.h <<\_ACEOF
6802 #define STDC_HEADERS 1
6803 _ACEOF
6807 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6817 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6818 inttypes.h stdint.h unistd.h
6820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 else
6826 cat >conftest.$ac_ext <<_ACEOF
6827 /* confdefs.h. */
6828 _ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 $ac_includes_default
6834 #include <$ac_header>
6835 _ACEOF
6836 rm -f conftest.$ac_objext
6837 if { (ac_try="$ac_compile"
6838 case "(($ac_try" in
6839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6841 esac
6842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_compile") 2>conftest.er1
6844 ac_status=$?
6845 grep -v '^ *+' conftest.er1 >conftest.err
6846 rm -f conftest.er1
6847 cat conftest.err >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest.$ac_objext; then
6853 eval "$as_ac_Header=yes"
6854 else
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 eval "$as_ac_Header=no"
6861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 ac_res=`eval echo '${'$as_ac_Header'}'`
6864 { echo "$as_me:$LINENO: result: $ac_res" >&5
6865 echo "${ECHO_T}$ac_res" >&6; }
6866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6867 cat >>confdefs.h <<_ACEOF
6868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 _ACEOF
6873 done
6986 for ac_header in \
6987 AudioUnit/AudioUnit.h \
6988 Carbon/Carbon.h \
6989 CoreAudio/CoreAudio.h \
6990 DiskArbitration/DiskArbitration.h \
6991 IOKit/IOKitLib.h \
6992 alsa/asoundlib.h \
6993 arpa/inet.h \
6994 arpa/nameser.h \
6995 asm/types.h \
6996 capi20.h \
6997 cups/cups.h \
6998 curses.h \
6999 direct.h \
7000 dlfcn.h \
7001 elf.h \
7002 float.h \
7003 fontconfig/fontconfig.h \
7004 getopt.h \
7005 ieeefp.h \
7006 io.h \
7007 jack/jack.h \
7008 jpeglib.h \
7009 lber.h \
7010 lcms.h \
7011 lcms/lcms.h \
7012 ldap.h \
7013 libaudioio.h \
7014 link.h \
7015 linux/cdrom.h \
7016 linux/compiler.h \
7017 linux/hdreg.h \
7018 linux/input.h \
7019 linux/ioctl.h \
7020 linux/joystick.h \
7021 linux/major.h \
7022 linux/param.h \
7023 linux/serial.h \
7024 linux/ucdrom.h \
7025 mach/mach.h \
7026 mach/machine.h \
7027 machine/cpu.h \
7028 machine/limits.h \
7029 machine/soundcard.h \
7030 mntent.h \
7031 ncurses.h \
7032 netdb.h \
7033 netinet/in.h \
7034 netinet/in_systm.h \
7035 netinet/tcp.h \
7036 netinet/tcp_fsm.h \
7037 openssl/err.h \
7038 openssl/ssl.h \
7039 png.h \
7040 poll.h \
7041 process.h \
7042 pthread.h \
7043 pwd.h \
7044 regex.h \
7045 sched.h \
7046 scsi/scsi.h \
7047 scsi/scsi_ioctl.h \
7048 scsi/sg.h \
7049 soundcard.h \
7050 stdint.h \
7051 strings.h \
7052 sys/asoundlib.h \
7053 sys/cdio.h \
7054 sys/elf32.h \
7055 sys/epoll.h \
7056 sys/errno.h \
7057 sys/event.h \
7058 sys/exec_elf.h \
7059 sys/filio.h \
7060 sys/ioctl.h \
7061 sys/ipc.h \
7062 sys/limits.h \
7063 sys/link.h \
7064 sys/lwp.h \
7065 sys/mman.h \
7066 sys/modem.h \
7067 sys/msg.h \
7068 sys/mtio.h \
7069 sys/param.h \
7070 sys/poll.h \
7071 sys/prctl.h \
7072 sys/ptrace.h \
7073 sys/reg.h \
7074 sys/resource.h \
7075 sys/scsiio.h \
7076 sys/shm.h \
7077 sys/signal.h \
7078 sys/socket.h \
7079 sys/socketvar.h \
7080 sys/sockio.h \
7081 sys/soundcard.h \
7082 sys/statvfs.h \
7083 sys/strtio.h \
7084 sys/syscall.h \
7085 sys/sysctl.h \
7086 sys/time.h \
7087 sys/times.h \
7088 sys/uio.h \
7089 sys/un.h \
7090 sys/vm86.h \
7091 sys/wait.h \
7092 syscall.h \
7093 termios.h \
7094 unistd.h \
7095 utime.h \
7096 valgrind/memcheck.h
7099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 ac_res=`eval echo '${'$as_ac_Header'}'`
7107 { echo "$as_me:$LINENO: result: $ac_res" >&5
7108 echo "${ECHO_T}$ac_res" >&6; }
7109 else
7110 # Is the header compilable?
7111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7113 cat >conftest.$ac_ext <<_ACEOF
7114 /* confdefs.h. */
7115 _ACEOF
7116 cat confdefs.h >>conftest.$ac_ext
7117 cat >>conftest.$ac_ext <<_ACEOF
7118 /* end confdefs.h. */
7119 $ac_includes_default
7120 #include <$ac_header>
7121 _ACEOF
7122 rm -f conftest.$ac_objext
7123 if { (ac_try="$ac_compile"
7124 case "(($ac_try" in
7125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7126 *) ac_try_echo=$ac_try;;
7127 esac
7128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7129 (eval "$ac_compile") 2>conftest.er1
7130 ac_status=$?
7131 grep -v '^ *+' conftest.er1 >conftest.err
7132 rm -f conftest.er1
7133 cat conftest.err >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); } && {
7136 test -z "$ac_c_werror_flag" ||
7137 test ! -s conftest.err
7138 } && test -s conftest.$ac_objext; then
7139 ac_header_compiler=yes
7140 else
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7144 ac_header_compiler=no
7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7149 echo "${ECHO_T}$ac_header_compiler" >&6; }
7151 # Is the header present?
7152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7154 cat >conftest.$ac_ext <<_ACEOF
7155 /* confdefs.h. */
7156 _ACEOF
7157 cat confdefs.h >>conftest.$ac_ext
7158 cat >>conftest.$ac_ext <<_ACEOF
7159 /* end confdefs.h. */
7160 #include <$ac_header>
7161 _ACEOF
7162 if { (ac_try="$ac_cpp conftest.$ac_ext"
7163 case "(($ac_try" in
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7166 esac
7167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7169 ac_status=$?
7170 grep -v '^ *+' conftest.er1 >conftest.err
7171 rm -f conftest.er1
7172 cat conftest.err >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } >/dev/null && {
7175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7176 test ! -s conftest.err
7177 }; then
7178 ac_header_preproc=yes
7179 else
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7183 ac_header_preproc=no
7186 rm -f conftest.err conftest.$ac_ext
7187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7188 echo "${ECHO_T}$ac_header_preproc" >&6; }
7190 # So? What about this header?
7191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7192 yes:no: )
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7197 ac_header_preproc=yes
7199 no:yes:* )
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7212 ( cat <<\_ASBOX
7213 ## ------------------------------------ ##
7214 ## Report this to wine-devel@winehq.org ##
7215 ## ------------------------------------ ##
7216 _ASBOX
7217 ) | sed "s/^/$as_me: WARNING: /" >&2
7219 esac
7220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 else
7225 eval "$as_ac_Header=\$ac_header_preproc"
7227 ac_res=`eval echo '${'$as_ac_Header'}'`
7228 { echo "$as_me:$LINENO: result: $ac_res" >&5
7229 echo "${ECHO_T}$ac_res" >&6; }
7232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7233 cat >>confdefs.h <<_ACEOF
7234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7235 _ACEOF
7239 done
7241 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7242 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7243 if test "${ac_cv_header_stat_broken+set}" = set; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 else
7246 cat >conftest.$ac_ext <<_ACEOF
7247 /* confdefs.h. */
7248 _ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <sys/types.h>
7253 #include <sys/stat.h>
7255 #if defined S_ISBLK && defined S_IFDIR
7256 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7257 #endif
7259 #if defined S_ISBLK && defined S_IFCHR
7260 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7261 #endif
7263 #if defined S_ISLNK && defined S_IFREG
7264 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7265 #endif
7267 #if defined S_ISSOCK && defined S_IFREG
7268 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7269 #endif
7271 _ACEOF
7272 rm -f conftest.$ac_objext
7273 if { (ac_try="$ac_compile"
7274 case "(($ac_try" in
7275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7276 *) ac_try_echo=$ac_try;;
7277 esac
7278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7279 (eval "$ac_compile") 2>conftest.er1
7280 ac_status=$?
7281 grep -v '^ *+' conftest.er1 >conftest.err
7282 rm -f conftest.er1
7283 cat conftest.err >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } && {
7286 test -z "$ac_c_werror_flag" ||
7287 test ! -s conftest.err
7288 } && test -s conftest.$ac_objext; then
7289 ac_cv_header_stat_broken=no
7290 else
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.$ac_ext >&5
7294 ac_cv_header_stat_broken=yes
7297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7299 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7300 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7301 if test $ac_cv_header_stat_broken = yes; then
7303 cat >>confdefs.h <<\_ACEOF
7304 #define STAT_MACROS_BROKEN 1
7305 _ACEOF
7315 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7318 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7322 else
7323 cat >conftest.$ac_ext <<_ACEOF
7324 /* confdefs.h. */
7325 _ACEOF
7326 cat confdefs.h >>conftest.$ac_ext
7327 cat >>conftest.$ac_ext <<_ACEOF
7328 /* end confdefs.h. */
7329 #include <sys/types.h>
7330 #if HAVE_SYS_PARAM_H
7331 # include <sys/param.h>
7332 #endif
7334 #include <$ac_header>
7335 _ACEOF
7336 rm -f conftest.$ac_objext
7337 if { (ac_try="$ac_compile"
7338 case "(($ac_try" in
7339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7340 *) ac_try_echo=$ac_try;;
7341 esac
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_compile") 2>conftest.er1
7344 ac_status=$?
7345 grep -v '^ *+' conftest.er1 >conftest.err
7346 rm -f conftest.er1
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest.$ac_objext; then
7353 eval "$as_ac_Header=yes"
7354 else
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 eval "$as_ac_Header=no"
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 ac_res=`eval echo '${'$as_ac_Header'}'`
7364 { echo "$as_me:$LINENO: result: $ac_res" >&5
7365 echo "${ECHO_T}$ac_res" >&6; }
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h <<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7384 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
7386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7390 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 else
7392 cat >conftest.$ac_ext <<_ACEOF
7393 /* confdefs.h. */
7394 _ACEOF
7395 cat confdefs.h >>conftest.$ac_ext
7396 cat >>conftest.$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 #include <sys/types.h>
7399 #if HAVE_SYS_SOCKET_H
7400 # include <sys/socket.h>
7401 #endif
7402 #if HAVE_SYS_SOCKETVAR_H
7403 # include <sys/socketvar.h>
7404 #endif
7405 #if HAVE_NETINET_IN_H
7406 # include <netinet/in.h>
7407 #endif
7409 #include <$ac_header>
7410 _ACEOF
7411 rm -f conftest.$ac_objext
7412 if { (ac_try="$ac_compile"
7413 case "(($ac_try" in
7414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7415 *) ac_try_echo=$ac_try;;
7416 esac
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_compile") 2>conftest.er1
7419 ac_status=$?
7420 grep -v '^ *+' conftest.er1 >conftest.err
7421 rm -f conftest.er1
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } && {
7425 test -z "$ac_c_werror_flag" ||
7426 test ! -s conftest.err
7427 } && test -s conftest.$ac_objext; then
7428 eval "$as_ac_Header=yes"
7429 else
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.$ac_ext >&5
7433 eval "$as_ac_Header=no"
7436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7438 ac_res=`eval echo '${'$as_ac_Header'}'`
7439 { echo "$as_me:$LINENO: result: $ac_res" >&5
7440 echo "${ECHO_T}$ac_res" >&6; }
7441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7442 cat >>confdefs.h <<_ACEOF
7443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7444 _ACEOF
7448 done
7452 for ac_header in netinet/tcp_var.h
7454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7459 else
7460 cat >conftest.$ac_ext <<_ACEOF
7461 /* confdefs.h. */
7462 _ACEOF
7463 cat confdefs.h >>conftest.$ac_ext
7464 cat >>conftest.$ac_ext <<_ACEOF
7465 /* end confdefs.h. */
7466 #include <sys/types.h>
7467 #if HAVE_SYS_SOCKET_H
7468 # include <sys/socket.h>
7469 #endif
7470 #if HAVE_SYS_SOCKETVAR_H
7471 # include <sys/socketvar.h>
7472 #endif
7473 #if HAVE_NETINET_IN_H
7474 # include <netinet/in.h>
7475 #endif
7476 #ifdef HAVE_NETINET_TCP_H
7477 # include <netinet/tcp.h>
7478 #endif
7480 #include <$ac_header>
7481 _ACEOF
7482 rm -f conftest.$ac_objext
7483 if { (ac_try="$ac_compile"
7484 case "(($ac_try" in
7485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7486 *) ac_try_echo=$ac_try;;
7487 esac
7488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7489 (eval "$ac_compile") 2>conftest.er1
7490 ac_status=$?
7491 grep -v '^ *+' conftest.er1 >conftest.err
7492 rm -f conftest.er1
7493 cat conftest.err >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } && {
7496 test -z "$ac_c_werror_flag" ||
7497 test ! -s conftest.err
7498 } && test -s conftest.$ac_objext; then
7499 eval "$as_ac_Header=yes"
7500 else
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.$ac_ext >&5
7504 eval "$as_ac_Header=no"
7507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7509 ac_res=`eval echo '${'$as_ac_Header'}'`
7510 { echo "$as_me:$LINENO: result: $ac_res" >&5
7511 echo "${ECHO_T}$ac_res" >&6; }
7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7513 cat >>confdefs.h <<_ACEOF
7514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7515 _ACEOF
7519 done
7523 for ac_header in linux/ipx.h
7525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 else
7531 cat >conftest.$ac_ext <<_ACEOF
7532 /* confdefs.h. */
7533 _ACEOF
7534 cat confdefs.h >>conftest.$ac_ext
7535 cat >>conftest.$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7537 #include <sys/types.h>
7538 #ifdef HAVE_ASM_TYPES_H
7539 # include <asm/types.h>
7540 #endif
7541 #if HAVE_SYS_SOCKET_H
7542 # include <sys/socket.h>
7543 #endif
7545 #include <$ac_header>
7546 _ACEOF
7547 rm -f conftest.$ac_objext
7548 if { (ac_try="$ac_compile"
7549 case "(($ac_try" in
7550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7551 *) ac_try_echo=$ac_try;;
7552 esac
7553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7554 (eval "$ac_compile") 2>conftest.er1
7555 ac_status=$?
7556 grep -v '^ *+' conftest.er1 >conftest.err
7557 rm -f conftest.er1
7558 cat conftest.err >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && {
7561 test -z "$ac_c_werror_flag" ||
7562 test ! -s conftest.err
7563 } && test -s conftest.$ac_objext; then
7564 eval "$as_ac_Header=yes"
7565 else
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.$ac_ext >&5
7569 eval "$as_ac_Header=no"
7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574 ac_res=`eval echo '${'$as_ac_Header'}'`
7575 { echo "$as_me:$LINENO: result: $ac_res" >&5
7576 echo "${ECHO_T}$ac_res" >&6; }
7577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7578 cat >>confdefs.h <<_ACEOF
7579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7588 for ac_header in resolv.h
7590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 else
7596 cat >conftest.$ac_ext <<_ACEOF
7597 /* confdefs.h. */
7598 _ACEOF
7599 cat confdefs.h >>conftest.$ac_ext
7600 cat >>conftest.$ac_ext <<_ACEOF
7601 /* end confdefs.h. */
7602 #include <sys/types.h>
7603 #if HAVE_SYS_SOCKET_H
7604 # include <sys/socket.h>
7605 #endif
7606 #if HAVE_NETINET_IN_H
7607 # include <netinet/in.h>
7608 #endif
7609 #if HAVE_ARPA_NAMESER_H
7610 # include <arpa/nameser.h>
7611 #endif
7613 #include <$ac_header>
7614 _ACEOF
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7617 case "(($ac_try" in
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7620 esac
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7623 ac_status=$?
7624 grep -v '^ *+' conftest.er1 >conftest.err
7625 rm -f conftest.er1
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 eval "$as_ac_Header=yes"
7633 else
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 eval "$as_ac_Header=no"
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642 ac_res=`eval echo '${'$as_ac_Header'}'`
7643 { echo "$as_me:$LINENO: result: $ac_res" >&5
7644 echo "${ECHO_T}$ac_res" >&6; }
7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7646 cat >>confdefs.h <<_ACEOF
7647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7648 _ACEOF
7652 done
7656 for ac_header in ucontext.h
7658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else
7664 cat >conftest.$ac_ext <<_ACEOF
7665 /* confdefs.h. */
7666 _ACEOF
7667 cat confdefs.h >>conftest.$ac_ext
7668 cat >>conftest.$ac_ext <<_ACEOF
7669 /* end confdefs.h. */
7670 #include <signal.h>
7672 #include <$ac_header>
7673 _ACEOF
7674 rm -f conftest.$ac_objext
7675 if { (ac_try="$ac_compile"
7676 case "(($ac_try" in
7677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7678 *) ac_try_echo=$ac_try;;
7679 esac
7680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7681 (eval "$ac_compile") 2>conftest.er1
7682 ac_status=$?
7683 grep -v '^ *+' conftest.er1 >conftest.err
7684 rm -f conftest.er1
7685 cat conftest.err >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } && {
7688 test -z "$ac_c_werror_flag" ||
7689 test ! -s conftest.err
7690 } && test -s conftest.$ac_objext; then
7691 eval "$as_ac_Header=yes"
7692 else
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7696 eval "$as_ac_Header=no"
7699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7701 ac_res=`eval echo '${'$as_ac_Header'}'`
7702 { echo "$as_me:$LINENO: result: $ac_res" >&5
7703 echo "${ECHO_T}$ac_res" >&6; }
7704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7705 cat >>confdefs.h <<_ACEOF
7706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7707 _ACEOF
7711 done
7715 for ac_header in sys/thr.h
7717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7722 else
7723 cat >conftest.$ac_ext <<_ACEOF
7724 /* confdefs.h. */
7725 _ACEOF
7726 cat confdefs.h >>conftest.$ac_ext
7727 cat >>conftest.$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7729 #include <sys/types.h>
7730 #if HAVE_UCONTEXT_H
7731 #include <ucontext.h>
7732 #endif
7734 #include <$ac_header>
7735 _ACEOF
7736 rm -f conftest.$ac_objext
7737 if { (ac_try="$ac_compile"
7738 case "(($ac_try" in
7739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7741 esac
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_compile") 2>conftest.er1
7744 ac_status=$?
7745 grep -v '^ *+' conftest.er1 >conftest.err
7746 rm -f conftest.er1
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } && {
7750 test -z "$ac_c_werror_flag" ||
7751 test ! -s conftest.err
7752 } && test -s conftest.$ac_objext; then
7753 eval "$as_ac_Header=yes"
7754 else
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 eval "$as_ac_Header=no"
7761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763 ac_res=`eval echo '${'$as_ac_Header'}'`
7764 { echo "$as_me:$LINENO: result: $ac_res" >&5
7765 echo "${ECHO_T}$ac_res" >&6; }
7766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7767 cat >>confdefs.h <<_ACEOF
7768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7769 _ACEOF
7773 done
7777 for ac_header in pthread_np.h
7779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7784 else
7785 cat >conftest.$ac_ext <<_ACEOF
7786 /* confdefs.h. */
7787 _ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7791 #ifdef HAVE_PTHREAD_H
7792 #include <pthread.h>
7793 #endif
7795 #include <$ac_header>
7796 _ACEOF
7797 rm -f conftest.$ac_objext
7798 if { (ac_try="$ac_compile"
7799 case "(($ac_try" in
7800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7801 *) ac_try_echo=$ac_try;;
7802 esac
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7805 ac_status=$?
7806 grep -v '^ *+' conftest.er1 >conftest.err
7807 rm -f conftest.er1
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } && {
7811 test -z "$ac_c_werror_flag" ||
7812 test ! -s conftest.err
7813 } && test -s conftest.$ac_objext; then
7814 eval "$as_ac_Header=yes"
7815 else
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.$ac_ext >&5
7819 eval "$as_ac_Header=no"
7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 ac_res=`eval echo '${'$as_ac_Header'}'`
7825 { echo "$as_me:$LINENO: result: $ac_res" >&5
7826 echo "${ECHO_T}$ac_res" >&6; }
7827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7828 cat >>confdefs.h <<_ACEOF
7829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7830 _ACEOF
7834 done
7838 for ac_header in linux/videodev.h
7840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 else
7846 cat >conftest.$ac_ext <<_ACEOF
7847 /* confdefs.h. */
7848 _ACEOF
7849 cat confdefs.h >>conftest.$ac_ext
7850 cat >>conftest.$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7852 #ifdef HAVE_SYS_TIME_H
7853 #include <sys/time.h>
7854 #endif
7855 #include <sys/types.h>
7856 #ifdef HAVE_ASM_TYPES_H
7857 #include <asm/types.h>
7858 #endif
7860 #include <$ac_header>
7861 _ACEOF
7862 rm -f conftest.$ac_objext
7863 if { (ac_try="$ac_compile"
7864 case "(($ac_try" in
7865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7867 esac
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7870 ac_status=$?
7871 grep -v '^ *+' conftest.er1 >conftest.err
7872 rm -f conftest.er1
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest.$ac_objext; then
7879 eval "$as_ac_Header=yes"
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7884 eval "$as_ac_Header=no"
7887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7889 ac_res=`eval echo '${'$as_ac_Header'}'`
7890 { echo "$as_me:$LINENO: result: $ac_res" >&5
7891 echo "${ECHO_T}$ac_res" >&6; }
7892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7893 cat >>confdefs.h <<_ACEOF
7894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7895 _ACEOF
7899 done
7903 for ac_header in linux/capi.h
7905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911 cat >conftest.$ac_ext <<_ACEOF
7912 /* confdefs.h. */
7913 _ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #define __user
7919 #include <$ac_header>
7920 _ACEOF
7921 rm -f conftest.$ac_objext
7922 if { (ac_try="$ac_compile"
7923 case "(($ac_try" in
7924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7925 *) ac_try_echo=$ac_try;;
7926 esac
7927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7928 (eval "$ac_compile") 2>conftest.er1
7929 ac_status=$?
7930 grep -v '^ *+' conftest.er1 >conftest.err
7931 rm -f conftest.er1
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && {
7935 test -z "$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7937 } && test -s conftest.$ac_objext; then
7938 eval "$as_ac_Header=yes"
7939 else
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.$ac_ext >&5
7943 eval "$as_ac_Header=no"
7946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7948 ac_res=`eval echo '${'$as_ac_Header'}'`
7949 { echo "$as_me:$LINENO: result: $ac_res" >&5
7950 echo "${ECHO_T}$ac_res" >&6; }
7951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7952 cat >>confdefs.h <<_ACEOF
7953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7954 _ACEOF
7958 done
7962 DLLEXT=""
7964 DLLFLAGS="-D_REENTRANT"
7966 LDSHARED=""
7968 LDDLLFLAGS=""
7970 LIBEXT="so"
7972 IMPLIBEXT="def"
7974 LDRPATH_INSTALL=""
7976 LDRPATH_LOCAL=""
7978 # Extract the first word of "ldd", so it can be a program name with args.
7979 set dummy ldd; ac_word=$2
7980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7982 if test "${ac_cv_path_LDD+set}" = set; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 else
7985 case $LDD in
7986 [\\/]* | ?:[\\/]*)
7987 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 as_dummy="/sbin:/usr/sbin:$PATH"
7992 for as_dir in $as_dummy
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7998 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8006 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8008 esac
8010 LDD=$ac_cv_path_LDD
8011 if test -n "$LDD"; then
8012 { echo "$as_me:$LINENO: result: $LDD" >&5
8013 echo "${ECHO_T}$LDD" >&6; }
8014 else
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8021 case $host_os in
8022 cygwin*|mingw32*)
8023 if test -n "$ac_tool_prefix"; then
8024 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8025 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8030 else
8031 if test -n "$DLLTOOL"; then
8032 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8033 else
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 for as_dir in $PATH
8037 IFS=$as_save_IFS
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 break 2
8045 done
8046 done
8047 IFS=$as_save_IFS
8051 DLLTOOL=$ac_cv_prog_DLLTOOL
8052 if test -n "$DLLTOOL"; then
8053 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8054 echo "${ECHO_T}$DLLTOOL" >&6; }
8055 else
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8062 if test -z "$ac_cv_prog_DLLTOOL"; then
8063 ac_ct_DLLTOOL=$DLLTOOL
8064 # Extract the first word of "dlltool", so it can be a program name with args.
8065 set dummy dlltool; ac_word=$2
8066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8068 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8070 else
8071 if test -n "$ac_ct_DLLTOOL"; then
8072 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8077 IFS=$as_save_IFS
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8081 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 break 2
8085 done
8086 done
8087 IFS=$as_save_IFS
8091 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8092 if test -n "$ac_ct_DLLTOOL"; then
8093 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8094 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8095 else
8096 { echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6; }
8100 if test "x$ac_ct_DLLTOOL" = x; then
8101 DLLTOOL="false"
8102 else
8103 case $cross_compiling:$ac_tool_warned in
8104 yes:)
8105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8106 whose name does not start with the host triplet. If you think this
8107 configuration is useful to you, please write to autoconf@gnu.org." >&5
8108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8109 whose name does not start with the host triplet. If you think this
8110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8111 ac_tool_warned=yes ;;
8112 esac
8113 DLLTOOL=$ac_ct_DLLTOOL
8115 else
8116 DLLTOOL="$ac_cv_prog_DLLTOOL"
8119 if test -n "$ac_tool_prefix"; then
8120 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8121 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8124 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 else
8127 if test -n "$DLLWRAP"; then
8128 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8129 else
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8131 for as_dir in $PATH
8133 IFS=$as_save_IFS
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8137 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 break 2
8141 done
8142 done
8143 IFS=$as_save_IFS
8147 DLLWRAP=$ac_cv_prog_DLLWRAP
8148 if test -n "$DLLWRAP"; then
8149 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8150 echo "${ECHO_T}$DLLWRAP" >&6; }
8151 else
8152 { echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6; }
8158 if test -z "$ac_cv_prog_DLLWRAP"; then
8159 ac_ct_DLLWRAP=$DLLWRAP
8160 # Extract the first word of "dllwrap", so it can be a program name with args.
8161 set dummy dllwrap; ac_word=$2
8162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8164 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 else
8167 if test -n "$ac_ct_DLLWRAP"; then
8168 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8169 else
8170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 for as_dir in $PATH
8173 IFS=$as_save_IFS
8174 test -z "$as_dir" && as_dir=.
8175 for ac_exec_ext in '' $ac_executable_extensions; do
8176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8177 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 break 2
8181 done
8182 done
8183 IFS=$as_save_IFS
8187 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8188 if test -n "$ac_ct_DLLWRAP"; then
8189 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8190 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8191 else
8192 { echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6; }
8196 if test "x$ac_ct_DLLWRAP" = x; then
8197 DLLWRAP="false"
8198 else
8199 case $cross_compiling:$ac_tool_warned in
8200 yes:)
8201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8202 whose name does not start with the host triplet. If you think this
8203 configuration is useful to you, please write to autoconf@gnu.org." >&5
8204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8205 whose name does not start with the host triplet. If you think this
8206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8207 ac_tool_warned=yes ;;
8208 esac
8209 DLLWRAP=$ac_ct_DLLWRAP
8211 else
8212 DLLWRAP="$ac_cv_prog_DLLWRAP"
8215 if test -n "$ac_tool_prefix"; then
8216 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8217 set dummy ${ac_tool_prefix}ar; ac_word=$2
8218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8220 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8222 else
8223 if test -n "$MINGWAR"; then
8224 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8225 else
8226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 for as_dir in $PATH
8229 IFS=$as_save_IFS
8230 test -z "$as_dir" && as_dir=.
8231 for ac_exec_ext in '' $ac_executable_extensions; do
8232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8233 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8235 break 2
8237 done
8238 done
8239 IFS=$as_save_IFS
8243 MINGWAR=$ac_cv_prog_MINGWAR
8244 if test -n "$MINGWAR"; then
8245 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8246 echo "${ECHO_T}$MINGWAR" >&6; }
8247 else
8248 { echo "$as_me:$LINENO: result: no" >&5
8249 echo "${ECHO_T}no" >&6; }
8254 if test -z "$ac_cv_prog_MINGWAR"; then
8255 ac_ct_MINGWAR=$MINGWAR
8256 # Extract the first word of "ar", so it can be a program name with args.
8257 set dummy ar; ac_word=$2
8258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8260 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 else
8263 if test -n "$ac_ct_MINGWAR"; then
8264 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8265 else
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 for as_dir in $PATH
8269 IFS=$as_save_IFS
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_ac_ct_MINGWAR="ar"
8274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8275 break 2
8277 done
8278 done
8279 IFS=$as_save_IFS
8283 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8284 if test -n "$ac_ct_MINGWAR"; then
8285 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8286 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8287 else
8288 { echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6; }
8292 if test "x$ac_ct_MINGWAR" = x; then
8293 MINGWAR="false"
8294 else
8295 case $cross_compiling:$ac_tool_warned in
8296 yes:)
8297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8298 whose name does not start with the host triplet. If you think this
8299 configuration is useful to you, please write to autoconf@gnu.org." >&5
8300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8301 whose name does not start with the host triplet. If you think this
8302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8303 ac_tool_warned=yes ;;
8304 esac
8305 MINGWAR=$ac_ct_MINGWAR
8307 else
8308 MINGWAR="$ac_cv_prog_MINGWAR"
8311 if test "$DLLWRAP" = "false"; then
8312 LIBEXT="a"
8313 else
8314 LIBEXT="dll"
8316 IMPLIBEXT="a"
8317 WIN16_FILES=""
8318 WIN16_INSTALL=""
8320 darwin*|macosx*)
8321 DLLEXT=".so"
8322 LIBEXT="dylib"
8323 DLLFLAGS="$DLLFLAGS -fPIC"
8324 LDDLLFLAGS="-bundle -multiply_defined suppress"
8325 LIBWINE_LDFLAGS="-multiply_defined suppress"
8326 LDSHARED="\$(CC) -dynamiclib"
8327 STRIP="$STRIP -x"
8328 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8329 SECURITYLIB="-framework Security -framework CoreFoundation"
8331 COREFOUNDATIONLIB="-framework CoreFoundation"
8333 IOKITLIB="-framework IOKit -framework CoreFoundation"
8335 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8337 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8338 then
8339 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8342 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8343 then
8344 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8347 case $host_cpu in
8348 *powerpc*)
8349 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8350 esac
8351 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8352 then
8353 CARBONLIB="-framework Carbon"
8355 QUARTZFILES='$(QUARTZFILES)'
8359 DLLFLAGS="$DLLFLAGS -fPIC"
8360 DLLEXT=".so"
8361 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8362 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8363 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8368 cat >conftest.$ac_ext <<_ACEOF
8369 void myfunc() {}
8370 _ACEOF
8371 rm -f conftest.$ac_objext conftest$ac_exeext
8372 if { (ac_try="$ac_link"
8373 case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8376 esac
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_link") 2>conftest.er1
8379 ac_status=$?
8380 grep -v '^ *+' conftest.er1 >conftest.err
8381 rm -f conftest.er1
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } && {
8385 test -z "$ac_c_werror_flag" ||
8386 test ! -s conftest.err
8387 } && test -s conftest$ac_exeext &&
8388 $as_test_x conftest$ac_exeext; then
8389 ac_cv_c_dll_gnuelf="yes"
8390 else
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_c_dll_gnuelf="no"
8397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8398 conftest$ac_exeext conftest.$ac_ext
8399 CFLAGS=$ac_wine_try_cflags_saved
8401 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8402 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8403 if test "$ac_cv_c_dll_gnuelf" = "yes"
8404 then
8405 LDSHARED="\$(CC) -shared"
8406 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8407 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8408 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8409 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8411 else
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8414 cat >conftest.$ac_ext <<_ACEOF
8415 /* confdefs.h. */
8416 _ACEOF
8417 cat confdefs.h >>conftest.$ac_ext
8418 cat >>conftest.$ac_ext <<_ACEOF
8419 /* end confdefs.h. */
8422 main ()
8426 return 0;
8428 _ACEOF
8429 rm -f conftest.$ac_objext conftest$ac_exeext
8430 if { (ac_try="$ac_link"
8431 case "(($ac_try" in
8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433 *) ac_try_echo=$ac_try;;
8434 esac
8435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8436 (eval "$ac_link") 2>conftest.er1
8437 ac_status=$?
8438 grep -v '^ *+' conftest.er1 >conftest.err
8439 rm -f conftest.er1
8440 cat conftest.err >&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } && {
8443 test -z "$ac_c_werror_flag" ||
8444 test ! -s conftest.err
8445 } && test -s conftest$ac_exeext &&
8446 $as_test_x conftest$ac_exeext; then
8447 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8448 else
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.$ac_ext >&5
8452 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8456 conftest$ac_exeext conftest.$ac_ext
8457 CFLAGS=$ac_wine_try_cflags_saved
8459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8460 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8461 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8462 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8463 else
8464 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8465 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8466 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 else
8469 ac_wine_try_cflags_saved=$CFLAGS
8470 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8471 cat >conftest.$ac_ext <<_ACEOF
8472 /* confdefs.h. */
8473 _ACEOF
8474 cat confdefs.h >>conftest.$ac_ext
8475 cat >>conftest.$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8479 main ()
8483 return 0;
8485 _ACEOF
8486 rm -f conftest.$ac_objext conftest$ac_exeext
8487 if { (ac_try="$ac_link"
8488 case "(($ac_try" in
8489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8490 *) ac_try_echo=$ac_try;;
8491 esac
8492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8493 (eval "$ac_link") 2>conftest.er1
8494 ac_status=$?
8495 grep -v '^ *+' conftest.er1 >conftest.err
8496 rm -f conftest.er1
8497 cat conftest.err >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } && {
8500 test -z "$ac_c_werror_flag" ||
8501 test ! -s conftest.err
8502 } && test -s conftest$ac_exeext &&
8503 $as_test_x conftest$ac_exeext; then
8504 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8505 else
8506 echo "$as_me: failed program was:" >&5
8507 sed 's/^/| /' conftest.$ac_ext >&5
8509 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8517 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8518 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8519 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8525 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8526 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8527 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8528 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8532 cat >conftest.$ac_ext <<_ACEOF
8533 /* confdefs.h. */
8534 _ACEOF
8535 cat confdefs.h >>conftest.$ac_ext
8536 cat >>conftest.$ac_ext <<_ACEOF
8537 /* end confdefs.h. */
8540 main ()
8544 return 0;
8546 _ACEOF
8547 rm -f conftest.$ac_objext conftest$ac_exeext
8548 if { (ac_try="$ac_link"
8549 case "(($ac_try" in
8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551 *) ac_try_echo=$ac_try;;
8552 esac
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554 (eval "$ac_link") 2>conftest.er1
8555 ac_status=$?
8556 grep -v '^ *+' conftest.er1 >conftest.err
8557 rm -f conftest.er1
8558 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && {
8561 test -z "$ac_c_werror_flag" ||
8562 test ! -s conftest.err
8563 } && test -s conftest$ac_exeext &&
8564 $as_test_x conftest$ac_exeext; then
8565 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8566 else
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8578 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8579 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8580 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8584 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8585 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8586 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8591 cat >conftest.$ac_ext <<_ACEOF
8592 /* confdefs.h. */
8593 _ACEOF
8594 cat confdefs.h >>conftest.$ac_ext
8595 cat >>conftest.$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8599 main ()
8603 return 0;
8605 _ACEOF
8606 rm -f conftest.$ac_objext conftest$ac_exeext
8607 if { (ac_try="$ac_link"
8608 case "(($ac_try" in
8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8611 esac
8612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 (eval "$ac_link") 2>conftest.er1
8614 ac_status=$?
8615 grep -v '^ *+' conftest.er1 >conftest.err
8616 rm -f conftest.er1
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && {
8620 test -z "$ac_c_werror_flag" ||
8621 test ! -s conftest.err
8622 } && test -s conftest$ac_exeext &&
8623 $as_test_x conftest$ac_exeext; then
8624 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8625 else
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8637 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8638 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8639 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8643 echo '{ global: *; };' >conftest.map
8644 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8645 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8646 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 else
8649 ac_wine_try_cflags_saved=$CFLAGS
8650 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8651 cat >conftest.$ac_ext <<_ACEOF
8652 /* confdefs.h. */
8653 _ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8659 main ()
8663 return 0;
8665 _ACEOF
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (ac_try="$ac_link"
8668 case "(($ac_try" in
8669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8670 *) ac_try_echo=$ac_try;;
8671 esac
8672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 (eval "$ac_link") 2>conftest.er1
8674 ac_status=$?
8675 grep -v '^ *+' conftest.er1 >conftest.err
8676 rm -f conftest.er1
8677 cat conftest.err >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_c_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest$ac_exeext &&
8683 $as_test_x conftest$ac_exeext; then
8684 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8685 else
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8697 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8698 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8699 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8702 rm -f conftest.map
8704 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8705 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8706 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8711 cat >conftest.$ac_ext <<_ACEOF
8712 /* confdefs.h. */
8713 _ACEOF
8714 cat confdefs.h >>conftest.$ac_ext
8715 cat >>conftest.$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8719 main ()
8723 return 0;
8725 _ACEOF
8726 rm -f conftest.$ac_objext conftest$ac_exeext
8727 if { (ac_try="$ac_link"
8728 case "(($ac_try" in
8729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;;
8731 esac
8732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8733 (eval "$ac_link") 2>conftest.er1
8734 ac_status=$?
8735 grep -v '^ *+' conftest.er1 >conftest.err
8736 rm -f conftest.er1
8737 cat conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } && {
8740 test -z "$ac_c_werror_flag" ||
8741 test ! -s conftest.err
8742 } && test -s conftest$ac_exeext &&
8743 $as_test_x conftest$ac_exeext; then
8744 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8745 else
8746 echo "$as_me: failed program was:" >&5
8747 sed 's/^/| /' conftest.$ac_ext >&5
8749 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8757 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8758 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8759 LDEXECFLAGS="-Wl,--export-dynamic"
8764 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8765 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8766 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8772 cat >conftest.$ac_ext <<_ACEOF
8773 /* confdefs.h. */
8774 _ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8780 main ()
8784 return 0;
8786 _ACEOF
8787 rm -f conftest.$ac_objext conftest$ac_exeext
8788 if { (ac_try="$ac_link"
8789 case "(($ac_try" in
8790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8791 *) ac_try_echo=$ac_try;;
8792 esac
8793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8794 (eval "$ac_link") 2>conftest.er1
8795 ac_status=$?
8796 grep -v '^ *+' conftest.er1 >conftest.err
8797 rm -f conftest.er1
8798 cat conftest.err >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } && {
8801 test -z "$ac_c_werror_flag" ||
8802 test ! -s conftest.err
8803 } && test -s conftest$ac_exeext &&
8804 $as_test_x conftest$ac_exeext; then
8805 eval "$as_ac_var=yes"
8806 else
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.$ac_ext >&5
8810 eval "$as_ac_var=no"
8813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 ac_res=`eval echo '${'$as_ac_var'}'`
8818 { echo "$as_me:$LINENO: result: $ac_res" >&5
8819 echo "${ECHO_T}$ac_res" >&6; }
8820 if test `eval echo '${'$as_ac_var'}'` = yes; then
8821 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8822 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8823 else
8824 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8825 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8826 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8828 echo $ECHO_N "(cached) $ECHO_C" >&6
8829 else
8830 ac_wine_try_cflags_saved=$CFLAGS
8831 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8832 cat >conftest.$ac_ext <<_ACEOF
8833 /* confdefs.h. */
8834 _ACEOF
8835 cat confdefs.h >>conftest.$ac_ext
8836 cat >>conftest.$ac_ext <<_ACEOF
8837 /* end confdefs.h. */
8840 main ()
8844 return 0;
8846 _ACEOF
8847 rm -f conftest.$ac_objext conftest$ac_exeext
8848 if { (ac_try="$ac_link"
8849 case "(($ac_try" in
8850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8851 *) ac_try_echo=$ac_try;;
8852 esac
8853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8854 (eval "$ac_link") 2>conftest.er1
8855 ac_status=$?
8856 grep -v '^ *+' conftest.er1 >conftest.err
8857 rm -f conftest.er1
8858 cat conftest.err >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } && {
8861 test -z "$ac_c_werror_flag" ||
8862 test ! -s conftest.err
8863 } && test -s conftest$ac_exeext &&
8864 $as_test_x conftest$ac_exeext; then
8865 eval "$as_ac_var=yes"
8866 else
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 eval "$as_ac_var=no"
8873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8874 conftest$ac_exeext conftest.$ac_ext
8875 CFLAGS=$ac_wine_try_cflags_saved
8877 ac_res=`eval echo '${'$as_ac_var'}'`
8878 { echo "$as_me:$LINENO: result: $ac_res" >&5
8879 echo "${ECHO_T}$ac_res" >&6; }
8880 if test `eval echo '${'$as_ac_var'}'` = yes; then
8881 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8882 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8888 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8889 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8890 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8895 cat >conftest.$ac_ext <<_ACEOF
8896 /* confdefs.h. */
8897 _ACEOF
8898 cat confdefs.h >>conftest.$ac_ext
8899 cat >>conftest.$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8903 main ()
8907 return 0;
8909 _ACEOF
8910 rm -f conftest.$ac_objext conftest$ac_exeext
8911 if { (ac_try="$ac_link"
8912 case "(($ac_try" in
8913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8914 *) ac_try_echo=$ac_try;;
8915 esac
8916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8917 (eval "$ac_link") 2>conftest.er1
8918 ac_status=$?
8919 grep -v '^ *+' conftest.er1 >conftest.err
8920 rm -f conftest.er1
8921 cat conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } && {
8924 test -z "$ac_c_werror_flag" ||
8925 test ! -s conftest.err
8926 } && test -s conftest$ac_exeext &&
8927 $as_test_x conftest$ac_exeext; then
8928 ac_cv_cflags__Wl___enable_new_dtags=yes
8929 else
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.$ac_ext >&5
8933 ac_cv_cflags__Wl___enable_new_dtags=no
8936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8937 conftest$ac_exeext conftest.$ac_ext
8938 CFLAGS=$ac_wine_try_cflags_saved
8940 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8941 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8942 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8943 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8947 case $host_cpu in
8948 *i[3456789]86* | x86_64)
8949 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8950 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8951 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 else
8954 ac_wine_try_cflags_saved=$CFLAGS
8955 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8956 cat >conftest.$ac_ext <<_ACEOF
8957 /* confdefs.h. */
8958 _ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8964 main ()
8968 return 0;
8970 _ACEOF
8971 rm -f conftest.$ac_objext conftest$ac_exeext
8972 if { (ac_try="$ac_link"
8973 case "(($ac_try" in
8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8976 esac
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_link") 2>conftest.er1
8979 ac_status=$?
8980 grep -v '^ *+' conftest.er1 >conftest.err
8981 rm -f conftest.er1
8982 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && {
8985 test -z "$ac_c_werror_flag" ||
8986 test ! -s conftest.err
8987 } && test -s conftest$ac_exeext &&
8988 $as_test_x conftest$ac_exeext; then
8989 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8990 else
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8994 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9002 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9003 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9004 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9008 esac
9010 else
9011 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9012 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9013 if test "${ac_cv_c_dll_unixware+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 else
9016 ac_wine_try_cflags_saved=$CFLAGS
9017 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9018 cat >conftest.$ac_ext <<_ACEOF
9019 void myfunc() {}
9020 _ACEOF
9021 rm -f conftest.$ac_objext conftest$ac_exeext
9022 if { (ac_try="$ac_link"
9023 case "(($ac_try" in
9024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9025 *) ac_try_echo=$ac_try;;
9026 esac
9027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 (eval "$ac_link") 2>conftest.er1
9029 ac_status=$?
9030 grep -v '^ *+' conftest.er1 >conftest.err
9031 rm -f conftest.er1
9032 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && {
9035 test -z "$ac_c_werror_flag" ||
9036 test ! -s conftest.err
9037 } && test -s conftest$ac_exeext &&
9038 $as_test_x conftest$ac_exeext; then
9039 ac_cv_c_dll_unixware="yes"
9040 else
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_c_dll_unixware="no"
9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9049 CFLAGS=$ac_wine_try_cflags_saved
9051 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9052 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9053 if test "$ac_cv_c_dll_unixware" = "yes"
9054 then
9055 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9056 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9058 else
9059 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9060 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9061 if test "${ac_cv_c_dll_hpux+set}" = set; then
9062 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 else
9064 ac_wine_try_cflags_saved=$CFLAGS
9065 CFLAGS="$CFLAGS -shared"
9066 cat >conftest.$ac_ext <<_ACEOF
9067 void myfunc() {}
9068 _ACEOF
9069 rm -f conftest.$ac_objext conftest$ac_exeext
9070 if { (ac_try="$ac_link"
9071 case "(($ac_try" in
9072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9073 *) ac_try_echo=$ac_try;;
9074 esac
9075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9076 (eval "$ac_link") 2>conftest.er1
9077 ac_status=$?
9078 grep -v '^ *+' conftest.er1 >conftest.err
9079 rm -f conftest.er1
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); } && {
9083 test -z "$ac_c_werror_flag" ||
9084 test ! -s conftest.err
9085 } && test -s conftest$ac_exeext &&
9086 $as_test_x conftest$ac_exeext; then
9087 ac_cv_c_dll_hpux="yes"
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 ac_cv_c_dll_hpux="no"
9095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9096 conftest$ac_exeext conftest.$ac_ext
9097 CFLAGS=$ac_wine_try_cflags_saved
9099 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9100 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9101 if test "$ac_cv_c_dll_hpux" = "yes"
9102 then
9103 LIBEXT="sl"
9104 DLLEXT=".sl"
9105 LDDLLFLAGS="-shared -fPIC"
9106 LDSHARED="\$(CC) -shared"
9111 CROSSTEST=""
9113 if test "$cross_compiling" = "no"
9114 then
9115 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9117 # Extract the first word of "$ac_prog", so it can be a program name with args.
9118 set dummy $ac_prog; ac_word=$2
9119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9121 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 else
9124 if test -n "$CROSSCC"; then
9125 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9126 else
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9128 for as_dir in $PATH
9130 IFS=$as_save_IFS
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9134 ac_cv_prog_CROSSCC="$ac_prog"
9135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9136 break 2
9138 done
9139 done
9140 IFS=$as_save_IFS
9144 CROSSCC=$ac_cv_prog_CROSSCC
9145 if test -n "$CROSSCC"; then
9146 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9147 echo "${ECHO_T}$CROSSCC" >&6; }
9148 else
9149 { echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6; }
9154 test -n "$CROSSCC" && break
9155 done
9156 test -n "$CROSSCC" || CROSSCC="false"
9158 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9160 # Extract the first word of "$ac_prog", so it can be a program name with args.
9161 set dummy $ac_prog; ac_word=$2
9162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9164 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 else
9167 if test -n "$DLLTOOL"; then
9168 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9169 else
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171 for as_dir in $PATH
9173 IFS=$as_save_IFS
9174 test -z "$as_dir" && as_dir=.
9175 for ac_exec_ext in '' $ac_executable_extensions; do
9176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9177 ac_cv_prog_DLLTOOL="$ac_prog"
9178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9179 break 2
9181 done
9182 done
9183 IFS=$as_save_IFS
9187 DLLTOOL=$ac_cv_prog_DLLTOOL
9188 if test -n "$DLLTOOL"; then
9189 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9190 echo "${ECHO_T}$DLLTOOL" >&6; }
9191 else
9192 { echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6; }
9197 test -n "$DLLTOOL" && break
9198 done
9199 test -n "$DLLTOOL" || DLLTOOL="false"
9201 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9203 # Extract the first word of "$ac_prog", so it can be a program name with args.
9204 set dummy $ac_prog; ac_word=$2
9205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9207 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9208 echo $ECHO_N "(cached) $ECHO_C" >&6
9209 else
9210 if test -n "$CROSSWINDRES"; then
9211 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9212 else
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9214 for as_dir in $PATH
9216 IFS=$as_save_IFS
9217 test -z "$as_dir" && as_dir=.
9218 for ac_exec_ext in '' $ac_executable_extensions; do
9219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9220 ac_cv_prog_CROSSWINDRES="$ac_prog"
9221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9222 break 2
9224 done
9225 done
9226 IFS=$as_save_IFS
9230 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9231 if test -n "$CROSSWINDRES"; then
9232 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9233 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9234 else
9235 { echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6; }
9240 test -n "$CROSSWINDRES" && break
9241 done
9242 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9244 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9246 # Extract the first word of "$ac_prog", so it can be a program name with args.
9247 set dummy $ac_prog; ac_word=$2
9248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9250 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9252 else
9253 if test -n "$MINGWAR"; then
9254 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9255 else
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 for as_dir in $PATH
9259 IFS=$as_save_IFS
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_MINGWAR="$ac_prog"
9264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9265 break 2
9267 done
9268 done
9269 IFS=$as_save_IFS
9273 MINGWAR=$ac_cv_prog_MINGWAR
9274 if test -n "$MINGWAR"; then
9275 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9276 echo "${ECHO_T}$MINGWAR" >&6; }
9277 else
9278 { echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6; }
9283 test -n "$MINGWAR" && break
9284 done
9285 test -n "$MINGWAR" || MINGWAR="false"
9287 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9290 esac
9292 if test "$LIBEXT" = "a"; then
9293 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9294 It is currently not possible to build Wine without shared library
9295 (.so) support to allow transparent switch between .so and .dll files.
9296 If you are using Linux, you will need a newer binutils.
9297 " >&5
9298 echo "$as_me: error: could not find a way to build shared libraries.
9299 It is currently not possible to build Wine without shared library
9300 (.so) support to allow transparent switch between .so and .dll files.
9301 If you are using Linux, you will need a newer binutils.
9302 " >&2;}
9303 { (exit 1); exit 1; }; }
9307 if test "$have_x" = "yes"
9308 then
9309 XLIB="-lXext -lX11"
9310 ac_save_CPPFLAGS="$CPPFLAGS"
9311 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9313 { echo "$as_me:$LINENO: checking for -lX11" >&5
9314 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9315 if test "${ac_cv_lib_soname_X11+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9317 else
9318 ac_check_soname_save_LIBS=$LIBS
9319 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9320 cat >conftest.$ac_ext <<_ACEOF
9321 /* confdefs.h. */
9322 _ACEOF
9323 cat confdefs.h >>conftest.$ac_ext
9324 cat >>conftest.$ac_ext <<_ACEOF
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9330 #ifdef __cplusplus
9331 extern "C"
9332 #endif
9333 char XCreateWindow ();
9335 main ()
9337 return XCreateWindow ();
9339 return 0;
9341 _ACEOF
9342 rm -f conftest.$ac_objext conftest$ac_exeext
9343 if { (ac_try="$ac_link"
9344 case "(($ac_try" in
9345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9346 *) ac_try_echo=$ac_try;;
9347 esac
9348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9349 (eval "$ac_link") 2>conftest.er1
9350 ac_status=$?
9351 grep -v '^ *+' conftest.er1 >conftest.err
9352 rm -f conftest.er1
9353 cat conftest.err >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } && {
9356 test -z "$ac_c_werror_flag" ||
9357 test ! -s conftest.err
9358 } && test -s conftest$ac_exeext &&
9359 $as_test_x conftest$ac_exeext; then
9360 case "$LIBEXT" in
9361 dll) ;;
9362 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'` ;;
9363 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9364 esac
9365 else
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_soname_save_LIBS
9376 if test "x$ac_cv_lib_soname_X11" = "x"; then
9377 { echo "$as_me:$LINENO: result: not found" >&5
9378 echo "${ECHO_T}not found" >&6; }
9380 else
9381 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9382 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9384 cat >>confdefs.h <<_ACEOF
9385 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9386 _ACEOF
9391 { echo "$as_me:$LINENO: checking for -lXext" >&5
9392 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9393 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9394 echo $ECHO_N "(cached) $ECHO_C" >&6
9395 else
9396 ac_check_soname_save_LIBS=$LIBS
9397 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9398 cat >conftest.$ac_ext <<_ACEOF
9399 /* confdefs.h. */
9400 _ACEOF
9401 cat confdefs.h >>conftest.$ac_ext
9402 cat >>conftest.$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9408 #ifdef __cplusplus
9409 extern "C"
9410 #endif
9411 char XextCreateExtension ();
9413 main ()
9415 return XextCreateExtension ();
9417 return 0;
9419 _ACEOF
9420 rm -f conftest.$ac_objext conftest$ac_exeext
9421 if { (ac_try="$ac_link"
9422 case "(($ac_try" in
9423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9424 *) ac_try_echo=$ac_try;;
9425 esac
9426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9427 (eval "$ac_link") 2>conftest.er1
9428 ac_status=$?
9429 grep -v '^ *+' conftest.er1 >conftest.err
9430 rm -f conftest.er1
9431 cat conftest.err >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); } && {
9434 test -z "$ac_c_werror_flag" ||
9435 test ! -s conftest.err
9436 } && test -s conftest$ac_exeext &&
9437 $as_test_x conftest$ac_exeext; then
9438 case "$LIBEXT" in
9439 dll) ;;
9440 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'` ;;
9441 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9442 esac
9443 else
9444 echo "$as_me: failed program was:" >&5
9445 sed 's/^/| /' conftest.$ac_ext >&5
9450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_soname_save_LIBS
9454 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9455 { echo "$as_me:$LINENO: result: not found" >&5
9456 echo "${ECHO_T}not found" >&6; }
9458 else
9459 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9460 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9462 cat >>confdefs.h <<_ACEOF
9463 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9464 _ACEOF
9482 for ac_header in X11/Xlib.h \
9483 X11/XKBlib.h \
9484 X11/Xutil.h \
9485 X11/Xcursor/Xcursor.h \
9486 X11/extensions/shape.h \
9487 X11/extensions/XInput.h \
9488 X11/extensions/XShm.h \
9489 X11/extensions/Xcomposite.h \
9490 X11/extensions/Xinerama.h \
9491 X11/extensions/Xrandr.h \
9492 X11/extensions/Xrender.h \
9493 X11/extensions/xf86vmode.h
9495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 else
9501 cat >conftest.$ac_ext <<_ACEOF
9502 /* confdefs.h. */
9503 _ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 #ifdef HAVE_X11_XLIB_H
9508 # include <X11/Xlib.h>
9509 #endif
9510 #ifdef HAVE_X11_XUTIL_H
9511 # include <X11/Xutil.h>
9512 #endif
9514 #include <$ac_header>
9515 _ACEOF
9516 rm -f conftest.$ac_objext
9517 if { (ac_try="$ac_compile"
9518 case "(($ac_try" in
9519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9520 *) ac_try_echo=$ac_try;;
9521 esac
9522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9523 (eval "$ac_compile") 2>conftest.er1
9524 ac_status=$?
9525 grep -v '^ *+' conftest.er1 >conftest.err
9526 rm -f conftest.er1
9527 cat conftest.err >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && {
9530 test -z "$ac_c_werror_flag" ||
9531 test ! -s conftest.err
9532 } && test -s conftest.$ac_objext; then
9533 eval "$as_ac_Header=yes"
9534 else
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.$ac_ext >&5
9538 eval "$as_ac_Header=no"
9541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9543 ac_res=`eval echo '${'$as_ac_Header'}'`
9544 { echo "$as_me:$LINENO: result: $ac_res" >&5
9545 echo "${ECHO_T}$ac_res" >&6; }
9546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9547 cat >>confdefs.h <<_ACEOF
9548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9549 _ACEOF
9553 done
9556 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9557 then
9558 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9559 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9560 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9565 cat >conftest.$ac_ext <<_ACEOF
9566 /* confdefs.h. */
9567 _ACEOF
9568 cat confdefs.h >>conftest.$ac_ext
9569 cat >>conftest.$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char XkbQueryExtension ();
9580 main ()
9582 return XkbQueryExtension ();
9584 return 0;
9586 _ACEOF
9587 rm -f conftest.$ac_objext conftest$ac_exeext
9588 if { (ac_try="$ac_link"
9589 case "(($ac_try" in
9590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9592 esac
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_link") 2>conftest.er1
9595 ac_status=$?
9596 grep -v '^ *+' conftest.er1 >conftest.err
9597 rm -f conftest.er1
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && {
9601 test -z "$ac_c_werror_flag" ||
9602 test ! -s conftest.err
9603 } && test -s conftest$ac_exeext &&
9604 $as_test_x conftest$ac_exeext; then
9605 ac_cv_lib_X11_XkbQueryExtension=yes
9606 else
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 ac_cv_lib_X11_XkbQueryExtension=no
9613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9618 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9619 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9621 cat >>confdefs.h <<\_ACEOF
9622 #define HAVE_XKB 1
9623 _ACEOF
9629 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9630 then
9631 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9632 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9633 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9635 else
9636 ac_check_soname_save_LIBS=$LIBS
9637 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9638 cat >conftest.$ac_ext <<_ACEOF
9639 /* confdefs.h. */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char XcursorImageLoadCursor ();
9653 main ()
9655 return XcursorImageLoadCursor ();
9657 return 0;
9659 _ACEOF
9660 rm -f conftest.$ac_objext conftest$ac_exeext
9661 if { (ac_try="$ac_link"
9662 case "(($ac_try" in
9663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9665 esac
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9668 ac_status=$?
9669 grep -v '^ *+' conftest.er1 >conftest.err
9670 rm -f conftest.er1
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest$ac_exeext &&
9677 $as_test_x conftest$ac_exeext; then
9678 case "$LIBEXT" in
9679 dll) ;;
9680 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'` ;;
9681 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9682 esac
9683 else
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_soname_save_LIBS
9694 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9695 { echo "$as_me:$LINENO: result: not found" >&5
9696 echo "${ECHO_T}not found" >&6; }
9698 else
9699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9700 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9702 cat >>confdefs.h <<_ACEOF
9703 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9704 _ACEOF
9710 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9711 case "x$with_xcursor" in
9712 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9713 xno) ;;
9714 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9715 This is an error since --with-xcursor was requested." >&5
9716 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9717 This is an error since --with-xcursor was requested." >&2;}
9718 { (exit 1); exit 1; }; } ;;
9719 esac
9723 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9724 then
9725 { echo "$as_me:$LINENO: checking for -lXi" >&5
9726 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9727 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 else
9730 ac_check_soname_save_LIBS=$LIBS
9731 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9732 cat >conftest.$ac_ext <<_ACEOF
9733 /* confdefs.h. */
9734 _ACEOF
9735 cat confdefs.h >>conftest.$ac_ext
9736 cat >>conftest.$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9742 #ifdef __cplusplus
9743 extern "C"
9744 #endif
9745 char XOpenDevice ();
9747 main ()
9749 return XOpenDevice ();
9751 return 0;
9753 _ACEOF
9754 rm -f conftest.$ac_objext conftest$ac_exeext
9755 if { (ac_try="$ac_link"
9756 case "(($ac_try" in
9757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9758 *) ac_try_echo=$ac_try;;
9759 esac
9760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9761 (eval "$ac_link") 2>conftest.er1
9762 ac_status=$?
9763 grep -v '^ *+' conftest.er1 >conftest.err
9764 rm -f conftest.er1
9765 cat conftest.err >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } && {
9768 test -z "$ac_c_werror_flag" ||
9769 test ! -s conftest.err
9770 } && test -s conftest$ac_exeext &&
9771 $as_test_x conftest$ac_exeext; then
9772 case "$LIBEXT" in
9773 dll) ;;
9774 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'` ;;
9775 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9776 esac
9777 else
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.$ac_ext >&5
9784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9785 conftest$ac_exeext conftest.$ac_ext
9786 LIBS=$ac_check_soname_save_LIBS
9788 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9789 { echo "$as_me:$LINENO: result: not found" >&5
9790 echo "${ECHO_T}not found" >&6; }
9792 else
9793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9794 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9796 cat >>confdefs.h <<_ACEOF
9797 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9798 _ACEOF
9804 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9805 case "x$with_xinput" in
9806 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9807 xno) ;;
9808 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9809 This is an error since --with-xinput was requested." >&5
9810 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9811 This is an error since --with-xinput was requested." >&2;}
9812 { (exit 1); exit 1; }; } ;;
9813 esac
9817 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9818 then
9819 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9820 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9821 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 else
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9826 cat >conftest.$ac_ext <<_ACEOF
9827 /* confdefs.h. */
9828 _ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9836 #ifdef __cplusplus
9837 extern "C"
9838 #endif
9839 char XShmQueryExtension ();
9841 main ()
9843 return XShmQueryExtension ();
9845 return 0;
9847 _ACEOF
9848 rm -f conftest.$ac_objext conftest$ac_exeext
9849 if { (ac_try="$ac_link"
9850 case "(($ac_try" in
9851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9852 *) ac_try_echo=$ac_try;;
9853 esac
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9855 (eval "$ac_link") 2>conftest.er1
9856 ac_status=$?
9857 grep -v '^ *+' conftest.er1 >conftest.err
9858 rm -f conftest.er1
9859 cat conftest.err >&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && {
9862 test -z "$ac_c_werror_flag" ||
9863 test ! -s conftest.err
9864 } && test -s conftest$ac_exeext &&
9865 $as_test_x conftest$ac_exeext; then
9866 ac_cv_lib_Xext_XShmQueryExtension=yes
9867 else
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.$ac_ext >&5
9871 ac_cv_lib_Xext_XShmQueryExtension=no
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9875 conftest$ac_exeext conftest.$ac_ext
9876 LIBS=$ac_check_lib_save_LIBS
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9879 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9880 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9882 cat >>confdefs.h <<\_ACEOF
9883 #define HAVE_LIBXXSHM 1
9884 _ACEOF
9889 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9890 case "x$with_xshm" in
9891 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9892 xno) ;;
9893 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9894 This is an error since --with-xshm was requested." >&5
9895 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9896 This is an error since --with-xshm was requested." >&2;}
9897 { (exit 1); exit 1; }; } ;;
9898 esac
9902 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9903 then
9904 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9905 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9906 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 else
9909 ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9911 cat >conftest.$ac_ext <<_ACEOF
9912 /* confdefs.h. */
9913 _ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char XShapeQueryExtension ();
9926 main ()
9928 return XShapeQueryExtension ();
9930 return 0;
9932 _ACEOF
9933 rm -f conftest.$ac_objext conftest$ac_exeext
9934 if { (ac_try="$ac_link"
9935 case "(($ac_try" in
9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9938 esac
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_link") 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest$ac_exeext &&
9950 $as_test_x conftest$ac_exeext; then
9951 ac_cv_lib_Xext_XShapeQueryExtension=yes
9952 else
9953 echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_cv_lib_Xext_XShapeQueryExtension=no
9959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9960 conftest$ac_exeext conftest.$ac_ext
9961 LIBS=$ac_check_lib_save_LIBS
9963 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9964 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9965 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9967 cat >>confdefs.h <<\_ACEOF
9968 #define HAVE_LIBXSHAPE 1
9969 _ACEOF
9974 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9975 case "x$with_xshape" in
9976 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9977 xno) ;;
9978 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9979 This is an error since --with-xshape was requested." >&5
9980 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9981 This is an error since --with-xshape was requested." >&2;}
9982 { (exit 1); exit 1; }; } ;;
9983 esac
9987 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9988 then
9989 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9990 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9991 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 else
9994 ac_check_lib_save_LIBS=$LIBS
9995 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h. */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 #ifdef __cplusplus
10007 extern "C"
10008 #endif
10009 char XF86VidModeQueryExtension ();
10011 main ()
10013 return XF86VidModeQueryExtension ();
10015 return 0;
10017 _ACEOF
10018 rm -f conftest.$ac_objext conftest$ac_exeext
10019 if { (ac_try="$ac_link"
10020 case "(($ac_try" in
10021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10022 *) ac_try_echo=$ac_try;;
10023 esac
10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10025 (eval "$ac_link") 2>conftest.er1
10026 ac_status=$?
10027 grep -v '^ *+' conftest.er1 >conftest.err
10028 rm -f conftest.er1
10029 cat conftest.err >&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest$ac_exeext &&
10035 $as_test_x conftest$ac_exeext; then
10036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10037 else
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10041 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_lib_save_LIBS
10048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10049 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10050 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10052 cat >>confdefs.h <<\_ACEOF
10053 #define HAVE_LIBXXF86VM 1
10054 _ACEOF
10056 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10061 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10062 case "x$with_xvidmode" in
10063 x) wine_notices="$wine_notices|libxxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10064 xno) ;;
10065 *) { { echo "$as_me:$LINENO: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10066 This is an error since --with-xvidmode was requested." >&5
10067 echo "$as_me: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10068 This is an error since --with-xvidmode was requested." >&2;}
10069 { (exit 1); exit 1; }; } ;;
10070 esac
10074 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"
10075 then
10076 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10077 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10078 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10080 else
10081 ac_check_soname_save_LIBS=$LIBS
10082 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10083 cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h. */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XRenderQueryExtension ();
10098 main ()
10100 return XRenderQueryExtension ();
10102 return 0;
10104 _ACEOF
10105 rm -f conftest.$ac_objext conftest$ac_exeext
10106 if { (ac_try="$ac_link"
10107 case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10110 esac
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_link") 2>conftest.er1
10113 ac_status=$?
10114 grep -v '^ *+' conftest.er1 >conftest.err
10115 rm -f conftest.er1
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && {
10119 test -z "$ac_c_werror_flag" ||
10120 test ! -s conftest.err
10121 } && test -s conftest$ac_exeext &&
10122 $as_test_x conftest$ac_exeext; then
10123 case "$LIBEXT" in
10124 dll) ;;
10125 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'` ;;
10126 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10127 esac
10128 else
10129 echo "$as_me: failed program was:" >&5
10130 sed 's/^/| /' conftest.$ac_ext >&5
10135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_soname_save_LIBS
10139 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10140 { echo "$as_me:$LINENO: result: not found" >&5
10141 echo "${ECHO_T}not found" >&6; }
10143 else
10144 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10145 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10147 cat >>confdefs.h <<_ACEOF
10148 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10149 _ACEOF
10151 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10152 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10153 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 else
10156 ac_check_lib_save_LIBS=$LIBS
10157 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10158 cat >conftest.$ac_ext <<_ACEOF
10159 /* confdefs.h. */
10160 _ACEOF
10161 cat confdefs.h >>conftest.$ac_ext
10162 cat >>conftest.$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XRenderSetPictureTransform ();
10173 main ()
10175 return XRenderSetPictureTransform ();
10177 return 0;
10179 _ACEOF
10180 rm -f conftest.$ac_objext conftest$ac_exeext
10181 if { (ac_try="$ac_link"
10182 case "(($ac_try" in
10183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10184 *) ac_try_echo=$ac_try;;
10185 esac
10186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10187 (eval "$ac_link") 2>conftest.er1
10188 ac_status=$?
10189 grep -v '^ *+' conftest.er1 >conftest.err
10190 rm -f conftest.er1
10191 cat conftest.err >&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } && {
10194 test -z "$ac_c_werror_flag" ||
10195 test ! -s conftest.err
10196 } && test -s conftest$ac_exeext &&
10197 $as_test_x conftest$ac_exeext; then
10198 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10199 else
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_lib_save_LIBS
10210 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10211 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10212 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10214 cat >>confdefs.h <<\_ACEOF
10215 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10216 _ACEOF
10224 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10225 case "x$with_xrender" in
10226 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10227 xno) ;;
10228 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10229 This is an error since --with-xrender was requested." >&5
10230 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10231 This is an error since --with-xrender was requested." >&2;}
10232 { (exit 1); exit 1; }; } ;;
10233 esac
10237 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10238 then
10239 cat >conftest.$ac_ext <<_ACEOF
10240 /* confdefs.h. */
10241 _ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #include <X11/Xlib.h>
10246 #include <X11/extensions/Xrandr.h>
10248 main ()
10250 static typeof(XRRSetScreenConfigAndRate) * func;
10252 return 0;
10254 _ACEOF
10255 rm -f conftest.$ac_objext
10256 if { (ac_try="$ac_compile"
10257 case "(($ac_try" in
10258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10260 esac
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_compile") 2>conftest.er1
10263 ac_status=$?
10264 grep -v '^ *+' conftest.er1 >conftest.err
10265 rm -f conftest.er1
10266 cat conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } && {
10269 test -z "$ac_c_werror_flag" ||
10270 test ! -s conftest.err
10271 } && test -s conftest.$ac_objext; then
10272 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10273 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10274 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 else
10277 ac_check_soname_save_LIBS=$LIBS
10278 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10279 cat >conftest.$ac_ext <<_ACEOF
10280 /* confdefs.h. */
10281 _ACEOF
10282 cat confdefs.h >>conftest.$ac_ext
10283 cat >>conftest.$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10289 #ifdef __cplusplus
10290 extern "C"
10291 #endif
10292 char XRRQueryExtension ();
10294 main ()
10296 return XRRQueryExtension ();
10298 return 0;
10300 _ACEOF
10301 rm -f conftest.$ac_objext conftest$ac_exeext
10302 if { (ac_try="$ac_link"
10303 case "(($ac_try" in
10304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10305 *) ac_try_echo=$ac_try;;
10306 esac
10307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10308 (eval "$ac_link") 2>conftest.er1
10309 ac_status=$?
10310 grep -v '^ *+' conftest.er1 >conftest.err
10311 rm -f conftest.er1
10312 cat conftest.err >&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && {
10315 test -z "$ac_c_werror_flag" ||
10316 test ! -s conftest.err
10317 } && test -s conftest$ac_exeext &&
10318 $as_test_x conftest$ac_exeext; then
10319 case "$LIBEXT" in
10320 dll) ;;
10321 dylib) ac_cv_lib_soname_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'` ;;
10322 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10323 esac
10324 else
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_soname_save_LIBS
10335 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10336 { echo "$as_me:$LINENO: result: not found" >&5
10337 echo "${ECHO_T}not found" >&6; }
10339 else
10340 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10341 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10343 cat >>confdefs.h <<_ACEOF
10344 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10345 _ACEOF
10350 else
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10359 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10360 case "x$with_xrandr" in
10361 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10362 xno) ;;
10363 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10364 This is an error since --with-xrandr was requested." >&5
10365 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10366 This is an error since --with-xrandr was requested." >&2;}
10367 { (exit 1); exit 1; }; } ;;
10368 esac
10372 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10373 then
10374 cat >conftest.$ac_ext <<_ACEOF
10375 /* confdefs.h. */
10376 _ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 #include <X11/Xlib.h>
10381 #include <X11/extensions/Xinerama.h>
10383 main ()
10385 static typeof(XineramaQueryScreens) * func;
10387 return 0;
10389 _ACEOF
10390 rm -f conftest.$ac_objext
10391 if { (ac_try="$ac_compile"
10392 case "(($ac_try" in
10393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10394 *) ac_try_echo=$ac_try;;
10395 esac
10396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10397 (eval "$ac_compile") 2>conftest.er1
10398 ac_status=$?
10399 grep -v '^ *+' conftest.er1 >conftest.err
10400 rm -f conftest.er1
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && {
10404 test -z "$ac_c_werror_flag" ||
10405 test ! -s conftest.err
10406 } && test -s conftest.$ac_objext; then
10407 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10408 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10409 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10411 else
10412 ac_check_soname_save_LIBS=$LIBS
10413 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10414 cat >conftest.$ac_ext <<_ACEOF
10415 /* confdefs.h. */
10416 _ACEOF
10417 cat confdefs.h >>conftest.$ac_ext
10418 cat >>conftest.$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10424 #ifdef __cplusplus
10425 extern "C"
10426 #endif
10427 char XineramaQueryScreens ();
10429 main ()
10431 return XineramaQueryScreens ();
10433 return 0;
10435 _ACEOF
10436 rm -f conftest.$ac_objext conftest$ac_exeext
10437 if { (ac_try="$ac_link"
10438 case "(($ac_try" in
10439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10440 *) ac_try_echo=$ac_try;;
10441 esac
10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_link") 2>conftest.er1
10444 ac_status=$?
10445 grep -v '^ *+' conftest.er1 >conftest.err
10446 rm -f conftest.er1
10447 cat conftest.err >&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } && {
10450 test -z "$ac_c_werror_flag" ||
10451 test ! -s conftest.err
10452 } && test -s conftest$ac_exeext &&
10453 $as_test_x conftest$ac_exeext; then
10454 case "$LIBEXT" in
10455 dll) ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10458 esac
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LIBS=$ac_check_soname_save_LIBS
10470 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10471 { echo "$as_me:$LINENO: result: not found" >&5
10472 echo "${ECHO_T}not found" >&6; }
10474 else
10475 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10476 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10478 cat >>confdefs.h <<_ACEOF
10479 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10480 _ACEOF
10485 else
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10494 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10495 case "x$with_xinerama" in
10496 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10497 xno) ;;
10498 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10499 This is an error since --with-xinerama was requested." >&5
10500 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10501 This is an error since --with-xinerama was requested." >&2;}
10502 { (exit 1); exit 1; }; } ;;
10503 esac
10507 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10508 then
10509 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10510 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10511 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 ac_check_soname_save_LIBS=$LIBS
10515 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10516 cat >conftest.$ac_ext <<_ACEOF
10517 /* confdefs.h. */
10518 _ACEOF
10519 cat confdefs.h >>conftest.$ac_ext
10520 cat >>conftest.$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XCompositeRedirectWindow ();
10531 main ()
10533 return XCompositeRedirectWindow ();
10535 return 0;
10537 _ACEOF
10538 rm -f conftest.$ac_objext conftest$ac_exeext
10539 if { (ac_try="$ac_link"
10540 case "(($ac_try" in
10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10543 esac
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_link") 2>conftest.er1
10546 ac_status=$?
10547 grep -v '^ *+' conftest.er1 >conftest.err
10548 rm -f conftest.er1
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest$ac_exeext &&
10555 $as_test_x conftest$ac_exeext; then
10556 case "$LIBEXT" in
10557 dll) ;;
10558 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'` ;;
10559 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10560 esac
10561 else
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10573 { echo "$as_me:$LINENO: result: not found" >&5
10574 echo "${ECHO_T}not found" >&6; }
10576 else
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10578 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10582 _ACEOF
10588 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10589 case "x$with_xcomposite" in
10590 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10591 xno) ;;
10592 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10593 This is an error since --with-xcomposite was requested." >&5
10594 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10595 This is an error since --with-xcomposite was requested." >&2;}
10596 { (exit 1); exit 1; }; } ;;
10597 esac
10602 opengl_msg=""
10603 if test "x$with_opengl" != "xno"
10604 then
10609 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10612 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 else
10617 cat >conftest.$ac_ext <<_ACEOF
10618 /* confdefs.h. */
10619 _ACEOF
10620 cat confdefs.h >>conftest.$ac_ext
10621 cat >>conftest.$ac_ext <<_ACEOF
10622 /* end confdefs.h. */
10623 #ifdef HAVE_GL_GLX_H
10624 # include <GL/glx.h>
10625 #endif
10627 #include <$ac_header>
10628 _ACEOF
10629 rm -f conftest.$ac_objext
10630 if { (ac_try="$ac_compile"
10631 case "(($ac_try" in
10632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10633 *) ac_try_echo=$ac_try;;
10634 esac
10635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 (eval "$ac_compile") 2>conftest.er1
10637 ac_status=$?
10638 grep -v '^ *+' conftest.er1 >conftest.err
10639 rm -f conftest.er1
10640 cat conftest.err >&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && {
10643 test -z "$ac_c_werror_flag" ||
10644 test ! -s conftest.err
10645 } && test -s conftest.$ac_objext; then
10646 eval "$as_ac_Header=yes"
10647 else
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.$ac_ext >&5
10651 eval "$as_ac_Header=no"
10654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10656 ac_res=`eval echo '${'$as_ac_Header'}'`
10657 { echo "$as_me:$LINENO: result: $ac_res" >&5
10658 echo "${ECHO_T}$ac_res" >&6; }
10659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10660 cat >>confdefs.h <<_ACEOF
10661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10662 _ACEOF
10666 done
10668 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10669 then
10670 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10671 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10672 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10674 else
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <GL/gl.h>
10683 main ()
10685 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10687 return 0;
10689 _ACEOF
10690 rm -f conftest.$ac_objext
10691 if { (ac_try="$ac_compile"
10692 case "(($ac_try" in
10693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10694 *) ac_try_echo=$ac_try;;
10695 esac
10696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10697 (eval "$ac_compile") 2>conftest.er1
10698 ac_status=$?
10699 grep -v '^ *+' conftest.er1 >conftest.err
10700 rm -f conftest.er1
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } && {
10704 test -z "$ac_c_werror_flag" ||
10705 test ! -s conftest.err
10706 } && test -s conftest.$ac_objext; then
10707 wine_cv_opengl_header_version_OK="yes"
10708 else
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.$ac_ext >&5
10712 wine_cv_opengl_header_version_OK="no"
10715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10717 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10718 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10720 if test "$wine_cv_opengl_header_version_OK" = "yes"
10721 then
10722 { echo "$as_me:$LINENO: checking for -lGL" >&5
10723 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10724 if test "${ac_cv_lib_soname_GL+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 else
10727 ac_check_soname_save_LIBS=$LIBS
10728 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10739 #ifdef __cplusplus
10740 extern "C"
10741 #endif
10742 char glXCreateContext ();
10744 main ()
10746 return glXCreateContext ();
10748 return 0;
10750 _ACEOF
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (ac_try="$ac_link"
10753 case "(($ac_try" in
10754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10755 *) ac_try_echo=$ac_try;;
10756 esac
10757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 (eval "$ac_link") 2>conftest.er1
10759 ac_status=$?
10760 grep -v '^ *+' conftest.er1 >conftest.err
10761 rm -f conftest.er1
10762 cat conftest.err >&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err
10767 } && test -s conftest$ac_exeext &&
10768 $as_test_x conftest$ac_exeext; then
10769 case "$LIBEXT" in
10770 dll) ;;
10771 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'` ;;
10772 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10773 esac
10774 else
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_soname_save_LIBS
10785 if test "x$ac_cv_lib_soname_GL" = "x"; then
10786 { echo "$as_me:$LINENO: result: not found" >&5
10787 echo "${ECHO_T}not found" >&6; }
10788 { echo "$as_me:$LINENO: checking for -lGL" >&5
10789 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10790 if test "${ac_cv_lib_soname_GL+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 else
10793 ac_check_soname_save_LIBS=$LIBS
10794 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"
10795 cat >conftest.$ac_ext <<_ACEOF
10796 /* confdefs.h. */
10797 _ACEOF
10798 cat confdefs.h >>conftest.$ac_ext
10799 cat >>conftest.$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char glXCreateContext ();
10810 main ()
10812 return glXCreateContext ();
10814 return 0;
10816 _ACEOF
10817 rm -f conftest.$ac_objext conftest$ac_exeext
10818 if { (ac_try="$ac_link"
10819 case "(($ac_try" in
10820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10821 *) ac_try_echo=$ac_try;;
10822 esac
10823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824 (eval "$ac_link") 2>conftest.er1
10825 ac_status=$?
10826 grep -v '^ *+' conftest.er1 >conftest.err
10827 rm -f conftest.er1
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } && {
10831 test -z "$ac_c_werror_flag" ||
10832 test ! -s conftest.err
10833 } && test -s conftest$ac_exeext &&
10834 $as_test_x conftest$ac_exeext; then
10835 case "$LIBEXT" in
10836 dll) ;;
10837 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'` ;;
10838 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10839 esac
10840 else
10841 echo "$as_me: failed program was:" >&5
10842 sed 's/^/| /' conftest.$ac_ext >&5
10847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_soname_save_LIBS
10851 if test "x$ac_cv_lib_soname_GL" = "x"; then
10852 { echo "$as_me:$LINENO: result: not found" >&5
10853 echo "${ECHO_T}not found" >&6; }
10854 if test -f /usr/X11R6/lib/libGL.a
10855 then
10856 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10857 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10858 else
10859 opengl_msg="No OpenGL library found on this system."
10861 else
10862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10863 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10865 cat >>confdefs.h <<_ACEOF
10866 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10867 _ACEOF
10869 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"
10870 OPENGLFILES='$(OPENGLFILES)'
10872 cat >>confdefs.h <<\_ACEOF
10873 #define HAVE_OPENGL 1
10874 _ACEOF
10878 else
10879 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10880 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10882 cat >>confdefs.h <<_ACEOF
10883 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10884 _ACEOF
10886 OPENGL_LIBS="-lGL"
10887 OPENGLFILES='$(OPENGLFILES)'
10889 cat >>confdefs.h <<\_ACEOF
10890 #define HAVE_OPENGL 1
10891 _ACEOF
10896 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10897 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10898 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 else
10901 ac_check_lib_save_LIBS=$LIBS
10902 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10903 cat >conftest.$ac_ext <<_ACEOF
10904 /* confdefs.h. */
10905 _ACEOF
10906 cat confdefs.h >>conftest.$ac_ext
10907 cat >>conftest.$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char gluLookAt ();
10918 main ()
10920 return gluLookAt ();
10922 return 0;
10924 _ACEOF
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (ac_try="$ac_link"
10927 case "(($ac_try" in
10928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10930 esac
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_link") 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_c_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest$ac_exeext &&
10942 $as_test_x conftest$ac_exeext; then
10943 ac_cv_lib_GLU_gluLookAt=yes
10944 else
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.$ac_ext >&5
10948 ac_cv_lib_GLU_gluLookAt=no
10951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10956 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10957 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10958 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10959 GLU32FILES='$(GLU32FILES)'
10963 else
10964 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10966 else
10967 opengl_msg="OpenGL development headers not found."
10970 if test -n "$opengl_msg"; then
10971 case "x$with_opengl" in
10972 x) wine_warnings="$wine_warnings|$opengl_msg
10973 OpenGL and Direct3D won't be supported." ;;
10974 xno) ;;
10975 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10976 OpenGL and Direct3D won't be supported.
10977 This is an error since --with-opengl was requested." >&5
10978 echo "$as_me: error: $opengl_msg
10979 OpenGL and Direct3D won't be supported.
10980 This is an error since --with-opengl was requested." >&2;}
10981 { (exit 1); exit 1; }; } ;;
10982 esac
10986 NASLIBS=""
10989 for ac_header in audio/audiolib.h
10991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 ac_res=`eval echo '${'$as_ac_Header'}'`
10999 { echo "$as_me:$LINENO: result: $ac_res" >&5
11000 echo "${ECHO_T}$ac_res" >&6; }
11001 else
11002 # Is the header compilable?
11003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11005 cat >conftest.$ac_ext <<_ACEOF
11006 /* confdefs.h. */
11007 _ACEOF
11008 cat confdefs.h >>conftest.$ac_ext
11009 cat >>conftest.$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 $ac_includes_default
11012 #include <$ac_header>
11013 _ACEOF
11014 rm -f conftest.$ac_objext
11015 if { (ac_try="$ac_compile"
11016 case "(($ac_try" in
11017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;;
11019 esac
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_compile") 2>conftest.er1
11022 ac_status=$?
11023 grep -v '^ *+' conftest.er1 >conftest.err
11024 rm -f conftest.er1
11025 cat conftest.err >&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } && {
11028 test -z "$ac_c_werror_flag" ||
11029 test ! -s conftest.err
11030 } && test -s conftest.$ac_objext; then
11031 ac_header_compiler=yes
11032 else
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11036 ac_header_compiler=no
11039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11041 echo "${ECHO_T}$ac_header_compiler" >&6; }
11043 # Is the header present?
11044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11046 cat >conftest.$ac_ext <<_ACEOF
11047 /* confdefs.h. */
11048 _ACEOF
11049 cat confdefs.h >>conftest.$ac_ext
11050 cat >>conftest.$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11052 #include <$ac_header>
11053 _ACEOF
11054 if { (ac_try="$ac_cpp conftest.$ac_ext"
11055 case "(($ac_try" in
11056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11057 *) ac_try_echo=$ac_try;;
11058 esac
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11061 ac_status=$?
11062 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1
11064 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev/null && {
11067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11069 }; then
11070 ac_header_preproc=yes
11071 else
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11075 ac_header_preproc=no
11078 rm -f conftest.err conftest.$ac_ext
11079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11080 echo "${ECHO_T}$ac_header_preproc" >&6; }
11082 # So? What about this header?
11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11084 yes:no: )
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11089 ac_header_preproc=yes
11091 no:yes:* )
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11104 ( cat <<\_ASBOX
11105 ## ------------------------------------ ##
11106 ## Report this to wine-devel@winehq.org ##
11107 ## ------------------------------------ ##
11108 _ASBOX
11109 ) | sed "s/^/$as_me: WARNING: /" >&2
11111 esac
11112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 else
11117 eval "$as_ac_Header=\$ac_header_preproc"
11119 ac_res=`eval echo '${'$as_ac_Header'}'`
11120 { echo "$as_me:$LINENO: result: $ac_res" >&5
11121 echo "${ECHO_T}$ac_res" >&6; }
11124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11125 cat >>confdefs.h <<_ACEOF
11126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11127 _ACEOF
11129 for ac_header in audio/soundlib.h
11131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 else
11137 cat >conftest.$ac_ext <<_ACEOF
11138 /* confdefs.h. */
11139 _ACEOF
11140 cat confdefs.h >>conftest.$ac_ext
11141 cat >>conftest.$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 #include <audio/audiolib.h>
11145 #include <$ac_header>
11146 _ACEOF
11147 rm -f conftest.$ac_objext
11148 if { (ac_try="$ac_compile"
11149 case "(($ac_try" in
11150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11151 *) ac_try_echo=$ac_try;;
11152 esac
11153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11154 (eval "$ac_compile") 2>conftest.er1
11155 ac_status=$?
11156 grep -v '^ *+' conftest.er1 >conftest.err
11157 rm -f conftest.er1
11158 cat conftest.err >&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } && {
11161 test -z "$ac_c_werror_flag" ||
11162 test ! -s conftest.err
11163 } && test -s conftest.$ac_objext; then
11164 eval "$as_ac_Header=yes"
11165 else
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.$ac_ext >&5
11169 eval "$as_ac_Header=no"
11172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11174 ac_res=`eval echo '${'$as_ac_Header'}'`
11175 { echo "$as_me:$LINENO: result: $ac_res" >&5
11176 echo "${ECHO_T}$ac_res" >&6; }
11177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11178 cat >>confdefs.h <<_ACEOF
11179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11180 _ACEOF
11184 done
11186 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11187 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11188 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h. */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char AuCreateFlow ();
11208 main ()
11210 return AuCreateFlow ();
11212 return 0;
11214 _ACEOF
11215 rm -f conftest.$ac_objext conftest$ac_exeext
11216 if { (ac_try="$ac_link"
11217 case "(($ac_try" in
11218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11219 *) ac_try_echo=$ac_try;;
11220 esac
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11223 ac_status=$?
11224 grep -v '^ *+' conftest.er1 >conftest.err
11225 rm -f conftest.er1
11226 cat conftest.err >&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest$ac_exeext &&
11232 $as_test_x conftest$ac_exeext; then
11233 ac_cv_lib_audio_AuCreateFlow=yes
11234 else
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 ac_cv_lib_audio_AuCreateFlow=no
11241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11246 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11247 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11249 cat >>confdefs.h <<\_ACEOF
11250 #define HAVE_NAS 1
11251 _ACEOF
11253 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11254 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11255 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258 ac_check_lib_save_LIBS=$LIBS
11259 LIBS="-lXau $X_LIBS $LIBS"
11260 cat >conftest.$ac_ext <<_ACEOF
11261 /* confdefs.h. */
11262 _ACEOF
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char XauGetBestAuthByAddr ();
11275 main ()
11277 return XauGetBestAuthByAddr ();
11279 return 0;
11281 _ACEOF
11282 rm -f conftest.$ac_objext conftest$ac_exeext
11283 if { (ac_try="$ac_link"
11284 case "(($ac_try" in
11285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11286 *) ac_try_echo=$ac_try;;
11287 esac
11288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11289 (eval "$ac_link") 2>conftest.er1
11290 ac_status=$?
11291 grep -v '^ *+' conftest.er1 >conftest.err
11292 rm -f conftest.er1
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } && {
11296 test -z "$ac_c_werror_flag" ||
11297 test ! -s conftest.err
11298 } && test -s conftest$ac_exeext &&
11299 $as_test_x conftest$ac_exeext; then
11300 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11301 else
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11305 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11313 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11314 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11315 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11316 else
11317 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11325 done
11328 CPPFLAGS="$ac_save_CPPFLAGS"
11329 XFILES='$(XFILES)'
11330 else
11331 XLIB=""
11332 X_CFLAGS=""
11333 X_LIBS=""
11335 if test "x$XLIB" = "x"; then
11336 case "x$with_x" in
11337 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11338 without X support, which probably isn't what you want. You will need to install
11339 development packages of Xlib/Xfree86 at the very least." ;;
11340 xno) ;;
11341 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11342 without X support, which probably isn't what you want. You will need to install
11343 development packages of Xlib/Xfree86 at the very least.
11344 This is an error since --with-x was requested." >&5
11345 echo "$as_me: error: X development files not found. Wine will be built
11346 without X support, which probably isn't what you want. You will need to install
11347 development packages of Xlib/Xfree86 at the very least.
11348 This is an error since --with-x was requested." >&2;}
11349 { (exit 1); exit 1; }; } ;;
11350 esac
11355 XML2LIBS=""
11357 XML2INCL=""
11359 XSLTLIBS=""
11361 XSLTINCL=""
11363 if test "x$with_xml" != "xno"
11364 then
11365 ac_save_CPPFLAGS="$CPPFLAGS"
11366 if test "$PKG_CONFIG" != "false"
11367 then
11368 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11369 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11370 else
11371 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11372 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11374 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11376 for ac_header in libxml/parser.h
11378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 ac_res=`eval echo '${'$as_ac_Header'}'`
11386 { echo "$as_me:$LINENO: result: $ac_res" >&5
11387 echo "${ECHO_T}$ac_res" >&6; }
11388 else
11389 # Is the header compilable?
11390 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11392 cat >conftest.$ac_ext <<_ACEOF
11393 /* confdefs.h. */
11394 _ACEOF
11395 cat confdefs.h >>conftest.$ac_ext
11396 cat >>conftest.$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11398 $ac_includes_default
11399 #include <$ac_header>
11400 _ACEOF
11401 rm -f conftest.$ac_objext
11402 if { (ac_try="$ac_compile"
11403 case "(($ac_try" in
11404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11405 *) ac_try_echo=$ac_try;;
11406 esac
11407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11408 (eval "$ac_compile") 2>conftest.er1
11409 ac_status=$?
11410 grep -v '^ *+' conftest.er1 >conftest.err
11411 rm -f conftest.er1
11412 cat conftest.err >&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } && {
11415 test -z "$ac_c_werror_flag" ||
11416 test ! -s conftest.err
11417 } && test -s conftest.$ac_objext; then
11418 ac_header_compiler=yes
11419 else
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.$ac_ext >&5
11423 ac_header_compiler=no
11426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11427 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11428 echo "${ECHO_T}$ac_header_compiler" >&6; }
11430 # Is the header present?
11431 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11433 cat >conftest.$ac_ext <<_ACEOF
11434 /* confdefs.h. */
11435 _ACEOF
11436 cat confdefs.h >>conftest.$ac_ext
11437 cat >>conftest.$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 #include <$ac_header>
11440 _ACEOF
11441 if { (ac_try="$ac_cpp conftest.$ac_ext"
11442 case "(($ac_try" in
11443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11444 *) ac_try_echo=$ac_try;;
11445 esac
11446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11448 ac_status=$?
11449 grep -v '^ *+' conftest.er1 >conftest.err
11450 rm -f conftest.er1
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } >/dev/null && {
11454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11455 test ! -s conftest.err
11456 }; then
11457 ac_header_preproc=yes
11458 else
11459 echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.$ac_ext >&5
11462 ac_header_preproc=no
11465 rm -f conftest.err conftest.$ac_ext
11466 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11467 echo "${ECHO_T}$ac_header_preproc" >&6; }
11469 # So? What about this header?
11470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11471 yes:no: )
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11476 ac_header_preproc=yes
11478 no:yes:* )
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11491 ( cat <<\_ASBOX
11492 ## ------------------------------------ ##
11493 ## Report this to wine-devel@winehq.org ##
11494 ## ------------------------------------ ##
11495 _ASBOX
11496 ) | sed "s/^/$as_me: WARNING: /" >&2
11498 esac
11499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504 eval "$as_ac_Header=\$ac_header_preproc"
11506 ac_res=`eval echo '${'$as_ac_Header'}'`
11507 { echo "$as_me:$LINENO: result: $ac_res" >&5
11508 echo "${ECHO_T}$ac_res" >&6; }
11511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11512 cat >>confdefs.h <<_ACEOF
11513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11514 _ACEOF
11515 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11516 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11517 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 ac_check_lib_save_LIBS=$LIBS
11521 LIBS="-lxml2 $ac_xml_libs $LIBS"
11522 cat >conftest.$ac_ext <<_ACEOF
11523 /* confdefs.h. */
11524 _ACEOF
11525 cat confdefs.h >>conftest.$ac_ext
11526 cat >>conftest.$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char xmlParseMemory ();
11537 main ()
11539 return xmlParseMemory ();
11541 return 0;
11543 _ACEOF
11544 rm -f conftest.$ac_objext conftest$ac_exeext
11545 if { (ac_try="$ac_link"
11546 case "(($ac_try" in
11547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11548 *) ac_try_echo=$ac_try;;
11549 esac
11550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11551 (eval "$ac_link") 2>conftest.er1
11552 ac_status=$?
11553 grep -v '^ *+' conftest.er1 >conftest.err
11554 rm -f conftest.er1
11555 cat conftest.err >&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } && {
11558 test -z "$ac_c_werror_flag" ||
11559 test ! -s conftest.err
11560 } && test -s conftest$ac_exeext &&
11561 $as_test_x conftest$ac_exeext; then
11562 ac_cv_lib_xml2_xmlParseMemory=yes
11563 else
11564 echo "$as_me: failed program was:" >&5
11565 sed 's/^/| /' conftest.$ac_ext >&5
11567 ac_cv_lib_xml2_xmlParseMemory=no
11570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_lib_save_LIBS
11574 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11575 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11576 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11578 cat >>confdefs.h <<\_ACEOF
11579 #define HAVE_LIBXML2 1
11580 _ACEOF
11582 XML2LIBS="$ac_xml_libs"
11583 XML2INCL="$ac_xml_cflags"
11586 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11587 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11588 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11590 else
11591 ac_check_lib_save_LIBS=$LIBS
11592 LIBS="-lxml2 $ac_xml_libs $LIBS"
11593 cat >conftest.$ac_ext <<_ACEOF
11594 /* confdefs.h. */
11595 _ACEOF
11596 cat confdefs.h >>conftest.$ac_ext
11597 cat >>conftest.$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11603 #ifdef __cplusplus
11604 extern "C"
11605 #endif
11606 char xmlReadMemory ();
11608 main ()
11610 return xmlReadMemory ();
11612 return 0;
11614 _ACEOF
11615 rm -f conftest.$ac_objext conftest$ac_exeext
11616 if { (ac_try="$ac_link"
11617 case "(($ac_try" in
11618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11620 esac
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_link") 2>conftest.er1
11623 ac_status=$?
11624 grep -v '^ *+' conftest.er1 >conftest.err
11625 rm -f conftest.er1
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } && {
11629 test -z "$ac_c_werror_flag" ||
11630 test ! -s conftest.err
11631 } && test -s conftest$ac_exeext &&
11632 $as_test_x conftest$ac_exeext; then
11633 ac_cv_lib_xml2_xmlReadMemory=yes
11634 else
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_cv_lib_xml2_xmlReadMemory=no
11641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11646 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11647 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11649 cat >>confdefs.h <<\_ACEOF
11650 #define HAVE_XMLREADMEMORY 1
11651 _ACEOF
11655 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11656 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11657 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660 ac_check_lib_save_LIBS=$LIBS
11661 LIBS="-lxml2 $ac_xml_libs $LIBS"
11662 cat >conftest.$ac_ext <<_ACEOF
11663 /* confdefs.h. */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672 #ifdef __cplusplus
11673 extern "C"
11674 #endif
11675 char xmlNewDocPI ();
11677 main ()
11679 return xmlNewDocPI ();
11681 return 0;
11683 _ACEOF
11684 rm -f conftest.$ac_objext conftest$ac_exeext
11685 if { (ac_try="$ac_link"
11686 case "(($ac_try" in
11687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688 *) ac_try_echo=$ac_try;;
11689 esac
11690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 (eval "$ac_link") 2>conftest.er1
11692 ac_status=$?
11693 grep -v '^ *+' conftest.er1 >conftest.err
11694 rm -f conftest.er1
11695 cat conftest.err >&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } && {
11698 test -z "$ac_c_werror_flag" ||
11699 test ! -s conftest.err
11700 } && test -s conftest$ac_exeext &&
11701 $as_test_x conftest$ac_exeext; then
11702 ac_cv_lib_xml2_xmlNewDocPI=yes
11703 else
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11707 ac_cv_lib_xml2_xmlNewDocPI=no
11710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11714 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11715 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11716 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11718 cat >>confdefs.h <<\_ACEOF
11719 #define HAVE_XMLNEWDOCPI 1
11720 _ACEOF
11727 done
11729 CPPFLAGS="$ac_save_CPPFLAGS"
11731 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11732 case "x$with_xml" in
11733 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11734 xno) ;;
11735 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11736 This is an error since --with-xml was requested." >&5
11737 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11738 This is an error since --with-xml was requested." >&2;}
11739 { (exit 1); exit 1; }; } ;;
11740 esac
11744 if test "x$with_xslt" != "xno"
11745 then
11746 if test "$PKG_CONFIG" != "false"
11747 then
11748 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11749 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11750 else
11751 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11752 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11754 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11757 for ac_header in libxslt/pattern.h libxslt/transform.h
11759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765 cat >conftest.$ac_ext <<_ACEOF
11766 /* confdefs.h. */
11767 _ACEOF
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 #ifdef HAVE_LIBXSLT_PATTERN_H
11772 # include <libxslt/pattern.h>
11773 #endif
11775 #include <$ac_header>
11776 _ACEOF
11777 rm -f conftest.$ac_objext
11778 if { (ac_try="$ac_compile"
11779 case "(($ac_try" in
11780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11782 esac
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_compile") 2>conftest.er1
11785 ac_status=$?
11786 grep -v '^ *+' conftest.er1 >conftest.err
11787 rm -f conftest.er1
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_c_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest.$ac_objext; then
11794 eval "$as_ac_Header=yes"
11795 else
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11799 eval "$as_ac_Header=no"
11802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11804 ac_res=`eval echo '${'$as_ac_Header'}'`
11805 { echo "$as_me:$LINENO: result: $ac_res" >&5
11806 echo "${ECHO_T}$ac_res" >&6; }
11807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11808 cat >>confdefs.h <<_ACEOF
11809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11810 _ACEOF
11811 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11812 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11813 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 else
11816 ac_check_lib_save_LIBS=$LIBS
11817 LIBS="-lxslt $ac_xslt_libs $LIBS"
11818 cat >conftest.$ac_ext <<_ACEOF
11819 /* confdefs.h. */
11820 _ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11828 #ifdef __cplusplus
11829 extern "C"
11830 #endif
11831 char xsltCompilePattern ();
11833 main ()
11835 return xsltCompilePattern ();
11837 return 0;
11839 _ACEOF
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (ac_try="$ac_link"
11842 case "(($ac_try" in
11843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11844 *) ac_try_echo=$ac_try;;
11845 esac
11846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11847 (eval "$ac_link") 2>conftest.er1
11848 ac_status=$?
11849 grep -v '^ *+' conftest.er1 >conftest.err
11850 rm -f conftest.er1
11851 cat conftest.err >&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && {
11854 test -z "$ac_c_werror_flag" ||
11855 test ! -s conftest.err
11856 } && test -s conftest$ac_exeext &&
11857 $as_test_x conftest$ac_exeext; then
11858 ac_cv_lib_xslt_xsltCompilePattern=yes
11859 else
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.$ac_ext >&5
11863 ac_cv_lib_xslt_xsltCompilePattern=no
11866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_lib_save_LIBS
11870 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11871 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11872 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11874 cat >>confdefs.h <<\_ACEOF
11875 #define HAVE_LIBXSLT 1
11876 _ACEOF
11878 XSLTLIBS="$ac_xslt_libs"
11879 XSLTINCL="$ac_xslt_cflags"
11885 done
11887 CPPFLAGS="$ac_save_CPPFLAGS"
11889 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11890 case "x$with_xslt" in
11891 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11892 xno) ;;
11893 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11894 This is an error since --with-xslt was requested." >&5
11895 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11896 This is an error since --with-xslt was requested." >&2;}
11897 { (exit 1); exit 1; }; } ;;
11898 esac
11902 HALINCL=""
11904 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11905 then
11906 ac_save_CPPFLAGS="$CPPFLAGS"
11907 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11908 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11909 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11912 for ac_header in dbus/dbus.h hal/libhal.h
11914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11916 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_res=`eval echo '${'$as_ac_Header'}'`
11922 { echo "$as_me:$LINENO: result: $ac_res" >&5
11923 echo "${ECHO_T}$ac_res" >&6; }
11924 else
11925 # Is the header compilable?
11926 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11928 cat >conftest.$ac_ext <<_ACEOF
11929 /* confdefs.h. */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 $ac_includes_default
11935 #include <$ac_header>
11936 _ACEOF
11937 rm -f conftest.$ac_objext
11938 if { (ac_try="$ac_compile"
11939 case "(($ac_try" in
11940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11941 *) ac_try_echo=$ac_try;;
11942 esac
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944 (eval "$ac_compile") 2>conftest.er1
11945 ac_status=$?
11946 grep -v '^ *+' conftest.er1 >conftest.err
11947 rm -f conftest.er1
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } && {
11951 test -z "$ac_c_werror_flag" ||
11952 test ! -s conftest.err
11953 } && test -s conftest.$ac_objext; then
11954 ac_header_compiler=yes
11955 else
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 ac_header_compiler=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11964 echo "${ECHO_T}$ac_header_compiler" >&6; }
11966 # Is the header present?
11967 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11969 cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h. */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 #include <$ac_header>
11976 _ACEOF
11977 if { (ac_try="$ac_cpp conftest.$ac_ext"
11978 case "(($ac_try" in
11979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11981 esac
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11984 ac_status=$?
11985 grep -v '^ *+' conftest.er1 >conftest.err
11986 rm -f conftest.er1
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } >/dev/null && {
11990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11991 test ! -s conftest.err
11992 }; then
11993 ac_header_preproc=yes
11994 else
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11998 ac_header_preproc=no
12001 rm -f conftest.err conftest.$ac_ext
12002 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12003 echo "${ECHO_T}$ac_header_preproc" >&6; }
12005 # So? What about this header?
12006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12007 yes:no: )
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12012 ac_header_preproc=yes
12014 no:yes:* )
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12027 ( cat <<\_ASBOX
12028 ## ------------------------------------ ##
12029 ## Report this to wine-devel@winehq.org ##
12030 ## ------------------------------------ ##
12031 _ASBOX
12032 ) | sed "s/^/$as_me: WARNING: /" >&2
12034 esac
12035 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 else
12040 eval "$as_ac_Header=\$ac_header_preproc"
12042 ac_res=`eval echo '${'$as_ac_Header'}'`
12043 { echo "$as_me:$LINENO: result: $ac_res" >&5
12044 echo "${ECHO_T}$ac_res" >&6; }
12047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12048 cat >>confdefs.h <<_ACEOF
12049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12050 _ACEOF
12054 done
12056 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12057 then
12058 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12059 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12060 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 else
12063 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12065 cat >conftest.$ac_ext <<_ACEOF
12066 /* confdefs.h. */
12067 _ACEOF
12068 cat confdefs.h >>conftest.$ac_ext
12069 cat >>conftest.$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char dbus_connection_close ();
12080 main ()
12082 return dbus_connection_close ();
12084 return 0;
12086 _ACEOF
12087 rm -f conftest.$ac_objext conftest$ac_exeext
12088 if { (ac_try="$ac_link"
12089 case "(($ac_try" in
12090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12091 *) ac_try_echo=$ac_try;;
12092 esac
12093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12094 (eval "$ac_link") 2>conftest.er1
12095 ac_status=$?
12096 grep -v '^ *+' conftest.er1 >conftest.err
12097 rm -f conftest.er1
12098 cat conftest.err >&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && {
12101 test -z "$ac_c_werror_flag" ||
12102 test ! -s conftest.err
12103 } && test -s conftest$ac_exeext &&
12104 $as_test_x conftest$ac_exeext; then
12105 ac_cv_lib_dbus_1_dbus_connection_close=yes
12106 else
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.$ac_ext >&5
12110 ac_cv_lib_dbus_1_dbus_connection_close=no
12113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12118 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12119 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12120 { echo "$as_me:$LINENO: checking for -lhal" >&5
12121 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12122 if test "${ac_cv_lib_soname_hal+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 else
12125 ac_check_soname_save_LIBS=$LIBS
12126 LIBS="-lhal $ac_hal_libs $LIBS"
12127 cat >conftest.$ac_ext <<_ACEOF
12128 /* confdefs.h. */
12129 _ACEOF
12130 cat confdefs.h >>conftest.$ac_ext
12131 cat >>conftest.$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char libhal_ctx_new ();
12142 main ()
12144 return libhal_ctx_new ();
12146 return 0;
12148 _ACEOF
12149 rm -f conftest.$ac_objext conftest$ac_exeext
12150 if { (ac_try="$ac_link"
12151 case "(($ac_try" in
12152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12153 *) ac_try_echo=$ac_try;;
12154 esac
12155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12156 (eval "$ac_link") 2>conftest.er1
12157 ac_status=$?
12158 grep -v '^ *+' conftest.er1 >conftest.err
12159 rm -f conftest.er1
12160 cat conftest.err >&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } && {
12163 test -z "$ac_c_werror_flag" ||
12164 test ! -s conftest.err
12165 } && test -s conftest$ac_exeext &&
12166 $as_test_x conftest$ac_exeext; then
12167 case "$LIBEXT" in
12168 dll) ;;
12169 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'` ;;
12170 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12171 esac
12172 else
12173 echo "$as_me: failed program was:" >&5
12174 sed 's/^/| /' conftest.$ac_ext >&5
12179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_soname_save_LIBS
12183 if test "x$ac_cv_lib_soname_hal" = "x"; then
12184 { echo "$as_me:$LINENO: result: not found" >&5
12185 echo "${ECHO_T}not found" >&6; }
12187 else
12188 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12189 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12191 cat >>confdefs.h <<_ACEOF
12192 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12193 _ACEOF
12195 HALINCL="$ac_hal_cflags"
12201 CPPFLAGS="$ac_save_CPPFLAGS"
12203 if test "x$ac_cv_lib_soname_hal" = "x"; then
12204 case "x$with_hal" in
12205 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12206 xno) ;;
12207 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12208 This is an error since --with-hal was requested." >&5
12209 echo "$as_me: error: libhal development files not found, no dynamic device support.
12210 This is an error since --with-hal was requested." >&2;}
12211 { (exit 1); exit 1; }; } ;;
12212 esac
12216 CURSESLIBS=""
12217 if test "$ac_cv_header_ncurses_h" = "yes"
12218 then
12219 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12220 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12221 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224 ac_check_soname_save_LIBS=$LIBS
12225 LIBS="-lncurses $LIBS"
12226 cat >conftest.$ac_ext <<_ACEOF
12227 /* confdefs.h. */
12228 _ACEOF
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12236 #ifdef __cplusplus
12237 extern "C"
12238 #endif
12239 char waddch ();
12241 main ()
12243 return waddch ();
12245 return 0;
12247 _ACEOF
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (ac_try="$ac_link"
12250 case "(($ac_try" in
12251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12252 *) ac_try_echo=$ac_try;;
12253 esac
12254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255 (eval "$ac_link") 2>conftest.er1
12256 ac_status=$?
12257 grep -v '^ *+' conftest.er1 >conftest.err
12258 rm -f conftest.er1
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } && {
12262 test -z "$ac_c_werror_flag" ||
12263 test ! -s conftest.err
12264 } && test -s conftest$ac_exeext &&
12265 $as_test_x conftest$ac_exeext; then
12266 case "$LIBEXT" in
12267 dll) ;;
12268 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'` ;;
12269 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12270 esac
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_soname_save_LIBS
12282 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12283 { echo "$as_me:$LINENO: result: not found" >&5
12284 echo "${ECHO_T}not found" >&6; }
12286 else
12287 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12288 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12290 cat >>confdefs.h <<_ACEOF
12291 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12292 _ACEOF
12294 CURSESLIBS="-lncurses"
12297 elif test "$ac_cv_header_curses_h" = "yes"
12298 then
12299 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12300 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12301 if test "${ac_cv_lib_soname_curses+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12303 else
12304 ac_check_soname_save_LIBS=$LIBS
12305 LIBS="-lcurses $LIBS"
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12316 #ifdef __cplusplus
12317 extern "C"
12318 #endif
12319 char waddch ();
12321 main ()
12323 return waddch ();
12325 return 0;
12327 _ACEOF
12328 rm -f conftest.$ac_objext conftest$ac_exeext
12329 if { (ac_try="$ac_link"
12330 case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12333 esac
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_link") 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && {
12342 test -z "$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 } && test -s conftest$ac_exeext &&
12345 $as_test_x conftest$ac_exeext; then
12346 case "$LIBEXT" in
12347 dll) ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12350 esac
12351 else
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.$ac_ext >&5
12358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if test "x$ac_cv_lib_soname_curses" = "x"; then
12363 { echo "$as_me:$LINENO: result: not found" >&5
12364 echo "${ECHO_T}not found" >&6; }
12366 else
12367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12368 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12370 cat >>confdefs.h <<_ACEOF
12371 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12372 _ACEOF
12374 CURSESLIBS="-lcurses"
12378 ac_save_LIBS="$LIBS"
12379 LIBS="$LIBS $CURSESLIBS"
12381 for ac_func in mousemask
12383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 else
12389 cat >conftest.$ac_ext <<_ACEOF
12390 /* confdefs.h. */
12391 _ACEOF
12392 cat confdefs.h >>conftest.$ac_ext
12393 cat >>conftest.$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12397 #define $ac_func innocuous_$ac_func
12399 /* System header to define __stub macros and hopefully few prototypes,
12400 which can conflict with char $ac_func (); below.
12401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12402 <limits.h> exists even on freestanding compilers. */
12404 #ifdef __STDC__
12405 # include <limits.h>
12406 #else
12407 # include <assert.h>
12408 #endif
12410 #undef $ac_func
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 #ifdef __cplusplus
12416 extern "C"
12417 #endif
12418 char $ac_func ();
12419 /* The GNU C library defines this for functions which it implements
12420 to always fail with ENOSYS. Some functions are actually named
12421 something starting with __ and the normal name is an alias. */
12422 #if defined __stub_$ac_func || defined __stub___$ac_func
12423 choke me
12424 #endif
12427 main ()
12429 return $ac_func ();
12431 return 0;
12433 _ACEOF
12434 rm -f conftest.$ac_objext conftest$ac_exeext
12435 if { (ac_try="$ac_link"
12436 case "(($ac_try" in
12437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12439 esac
12440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_link") 2>conftest.er1
12442 ac_status=$?
12443 grep -v '^ *+' conftest.er1 >conftest.err
12444 rm -f conftest.er1
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } && {
12448 test -z "$ac_c_werror_flag" ||
12449 test ! -s conftest.err
12450 } && test -s conftest$ac_exeext &&
12451 $as_test_x conftest$ac_exeext; then
12452 eval "$as_ac_var=yes"
12453 else
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 eval "$as_ac_var=no"
12460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12461 conftest$ac_exeext conftest.$ac_ext
12463 ac_res=`eval echo '${'$as_ac_var'}'`
12464 { echo "$as_me:$LINENO: result: $ac_res" >&5
12465 echo "${ECHO_T}$ac_res" >&6; }
12466 if test `eval echo '${'$as_ac_var'}'` = yes; then
12467 cat >>confdefs.h <<_ACEOF
12468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12469 _ACEOF
12472 done
12474 LIBS="$ac_save_LIBS"
12475 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12476 case "x$with_curses" in
12477 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12478 xno) ;;
12479 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12480 This is an error since --with-curses was requested." >&5
12481 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12482 This is an error since --with-curses was requested." >&2;}
12483 { (exit 1); exit 1; }; } ;;
12484 esac
12488 # Extract the first word of "sane-config", so it can be a program name with args.
12489 set dummy sane-config; ac_word=$2
12490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12492 if test "${ac_cv_prog_sane_devel+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 else
12495 if test -n "$sane_devel"; then
12496 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12497 else
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12501 IFS=$as_save_IFS
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505 ac_cv_prog_sane_devel="sane-config"
12506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12507 break 2
12509 done
12510 done
12511 IFS=$as_save_IFS
12513 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12516 sane_devel=$ac_cv_prog_sane_devel
12517 if test -n "$sane_devel"; then
12518 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12519 echo "${ECHO_T}$sane_devel" >&6; }
12520 else
12521 { echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6; }
12526 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12527 then
12528 ac_sane_incl="`$sane_devel --cflags`"
12529 ac_save_CPPFLAGS="$CPPFLAGS"
12530 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12531 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12532 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12533 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12534 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12538 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12539 else
12540 # Is the header compilable?
12541 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12542 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12543 cat >conftest.$ac_ext <<_ACEOF
12544 /* confdefs.h. */
12545 _ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 $ac_includes_default
12550 #include <sane/sane.h>
12551 _ACEOF
12552 rm -f conftest.$ac_objext
12553 if { (ac_try="$ac_compile"
12554 case "(($ac_try" in
12555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12556 *) ac_try_echo=$ac_try;;
12557 esac
12558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 (eval "$ac_compile") 2>conftest.er1
12560 ac_status=$?
12561 grep -v '^ *+' conftest.er1 >conftest.err
12562 rm -f conftest.er1
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } && {
12566 test -z "$ac_c_werror_flag" ||
12567 test ! -s conftest.err
12568 } && test -s conftest.$ac_objext; then
12569 ac_header_compiler=yes
12570 else
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.$ac_ext >&5
12574 ac_header_compiler=no
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12579 echo "${ECHO_T}$ac_header_compiler" >&6; }
12581 # Is the header present?
12582 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12583 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12584 cat >conftest.$ac_ext <<_ACEOF
12585 /* confdefs.h. */
12586 _ACEOF
12587 cat confdefs.h >>conftest.$ac_ext
12588 cat >>conftest.$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 #include <sane/sane.h>
12591 _ACEOF
12592 if { (ac_try="$ac_cpp conftest.$ac_ext"
12593 case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12596 esac
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } >/dev/null && {
12605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12607 }; then
12608 ac_header_preproc=yes
12609 else
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12613 ac_header_preproc=no
12616 rm -f conftest.err conftest.$ac_ext
12617 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12618 echo "${ECHO_T}$ac_header_preproc" >&6; }
12620 # So? What about this header?
12621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12622 yes:no: )
12623 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12624 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12625 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12626 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12627 ac_header_preproc=yes
12629 no:yes:* )
12630 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12631 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12632 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12633 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12634 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12635 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12637 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12638 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12639 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12641 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12642 ( cat <<\_ASBOX
12643 ## ------------------------------------ ##
12644 ## Report this to wine-devel@winehq.org ##
12645 ## ------------------------------------ ##
12646 _ASBOX
12647 ) | sed "s/^/$as_me: WARNING: /" >&2
12649 esac
12650 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12651 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12652 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 else
12655 ac_cv_header_sane_sane_h=$ac_header_preproc
12657 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12658 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12661 if test $ac_cv_header_sane_sane_h = yes; then
12662 { echo "$as_me:$LINENO: checking for -lsane" >&5
12663 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12664 if test "${ac_cv_lib_soname_sane+set}" = set; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12666 else
12667 ac_check_soname_save_LIBS=$LIBS
12668 LIBS="-lsane $LIBS"
12669 cat >conftest.$ac_ext <<_ACEOF
12670 /* confdefs.h. */
12671 _ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12679 #ifdef __cplusplus
12680 extern "C"
12681 #endif
12682 char sane_init ();
12684 main ()
12686 return sane_init ();
12688 return 0;
12690 _ACEOF
12691 rm -f conftest.$ac_objext conftest$ac_exeext
12692 if { (ac_try="$ac_link"
12693 case "(($ac_try" in
12694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12695 *) ac_try_echo=$ac_try;;
12696 esac
12697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12698 (eval "$ac_link") 2>conftest.er1
12699 ac_status=$?
12700 grep -v '^ *+' conftest.er1 >conftest.err
12701 rm -f conftest.er1
12702 cat conftest.err >&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } && {
12705 test -z "$ac_c_werror_flag" ||
12706 test ! -s conftest.err
12707 } && test -s conftest$ac_exeext &&
12708 $as_test_x conftest$ac_exeext; then
12709 case "$LIBEXT" in
12710 dll) ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12713 esac
12714 else
12715 echo "$as_me: failed program was:" >&5
12716 sed 's/^/| /' conftest.$ac_ext >&5
12721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12722 conftest$ac_exeext conftest.$ac_ext
12723 LIBS=$ac_check_soname_save_LIBS
12725 if test "x$ac_cv_lib_soname_sane" = "x"; then
12726 { echo "$as_me:$LINENO: result: not found" >&5
12727 echo "${ECHO_T}not found" >&6; }
12729 else
12730 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12731 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12733 cat >>confdefs.h <<_ACEOF
12734 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12735 _ACEOF
12737 SANEINCL="$ac_sane_incl"
12744 CPPFLAGS="$ac_save_CPPFLAGS"
12746 if test "x$ac_cv_lib_soname_sane" = "x"; then
12747 case "x$with_sane" in
12748 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12749 xno) ;;
12750 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12751 This is an error since --with-sane was requested." >&5
12752 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12753 This is an error since --with-sane was requested." >&2;}
12754 { (exit 1); exit 1; }; } ;;
12755 esac
12759 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12760 set dummy gphoto2-config; ac_word=$2
12761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12763 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 else
12766 if test -n "$gphoto2_devel"; then
12767 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12768 else
12769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12770 for as_dir in $PATH
12772 IFS=$as_save_IFS
12773 test -z "$as_dir" && as_dir=.
12774 for ac_exec_ext in '' $ac_executable_extensions; do
12775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12776 ac_cv_prog_gphoto2_devel="gphoto2-config"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12778 break 2
12780 done
12781 done
12782 IFS=$as_save_IFS
12784 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12787 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12788 if test -n "$gphoto2_devel"; then
12789 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12790 echo "${ECHO_T}$gphoto2_devel" >&6; }
12791 else
12792 { echo "$as_me:$LINENO: result: no" >&5
12793 echo "${ECHO_T}no" >&6; }
12797 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12798 set dummy gphoto2-port-config; ac_word=$2
12799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12801 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test -n "$gphoto2port_devel"; then
12805 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12806 else
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12810 IFS=$as_save_IFS
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 break 2
12818 done
12819 done
12820 IFS=$as_save_IFS
12822 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12825 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12826 if test -n "$gphoto2port_devel"; then
12827 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12828 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12829 else
12830 { echo "$as_me:$LINENO: result: no" >&5
12831 echo "${ECHO_T}no" >&6; }
12835 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12836 then
12837 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12838 ac_gphoto2_libs=""
12839 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12841 case "$i" in
12842 -L/usr/lib|-L/usr/lib64) ;;
12843 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12844 esac
12845 done
12846 ac_save_CPPFLAGS="$CPPFLAGS"
12847 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12848 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12849 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12850 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12851 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12855 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12856 else
12857 # Is the header compilable?
12858 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12859 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12860 cat >conftest.$ac_ext <<_ACEOF
12861 /* confdefs.h. */
12862 _ACEOF
12863 cat confdefs.h >>conftest.$ac_ext
12864 cat >>conftest.$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12866 $ac_includes_default
12867 #include <gphoto2-camera.h>
12868 _ACEOF
12869 rm -f conftest.$ac_objext
12870 if { (ac_try="$ac_compile"
12871 case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12874 esac
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_compile") 2>conftest.er1
12877 ac_status=$?
12878 grep -v '^ *+' conftest.er1 >conftest.err
12879 rm -f conftest.er1
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } && {
12883 test -z "$ac_c_werror_flag" ||
12884 test ! -s conftest.err
12885 } && test -s conftest.$ac_objext; then
12886 ac_header_compiler=yes
12887 else
12888 echo "$as_me: failed program was:" >&5
12889 sed 's/^/| /' conftest.$ac_ext >&5
12891 ac_header_compiler=no
12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12895 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12896 echo "${ECHO_T}$ac_header_compiler" >&6; }
12898 # Is the header present?
12899 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12900 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12901 cat >conftest.$ac_ext <<_ACEOF
12902 /* confdefs.h. */
12903 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <gphoto2-camera.h>
12908 _ACEOF
12909 if { (ac_try="$ac_cpp conftest.$ac_ext"
12910 case "(($ac_try" in
12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912 *) ac_try_echo=$ac_try;;
12913 esac
12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12916 ac_status=$?
12917 grep -v '^ *+' conftest.er1 >conftest.err
12918 rm -f conftest.er1
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } >/dev/null && {
12922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12923 test ! -s conftest.err
12924 }; then
12925 ac_header_preproc=yes
12926 else
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12930 ac_header_preproc=no
12933 rm -f conftest.err conftest.$ac_ext
12934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12935 echo "${ECHO_T}$ac_header_preproc" >&6; }
12937 # So? What about this header?
12938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12939 yes:no: )
12940 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12941 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12943 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12944 ac_header_preproc=yes
12946 no:yes:* )
12947 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12948 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12949 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12950 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12952 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12954 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12956 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12957 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12958 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12959 ( cat <<\_ASBOX
12960 ## ------------------------------------ ##
12961 ## Report this to wine-devel@winehq.org ##
12962 ## ------------------------------------ ##
12963 _ASBOX
12964 ) | sed "s/^/$as_me: WARNING: /" >&2
12966 esac
12967 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12968 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12969 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12970 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 else
12972 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12974 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12975 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12978 if test $ac_cv_header_gphoto2_camera_h = yes; then
12979 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12980 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12981 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12986 cat >conftest.$ac_ext <<_ACEOF
12987 /* confdefs.h. */
12988 _ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12996 #ifdef __cplusplus
12997 extern "C"
12998 #endif
12999 char gp_camera_new ();
13001 main ()
13003 return gp_camera_new ();
13005 return 0;
13007 _ACEOF
13008 rm -f conftest.$ac_objext conftest$ac_exeext
13009 if { (ac_try="$ac_link"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13013 esac
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13015 (eval "$ac_link") 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } && {
13022 test -z "$ac_c_werror_flag" ||
13023 test ! -s conftest.err
13024 } && test -s conftest$ac_exeext &&
13025 $as_test_x conftest$ac_exeext; then
13026 ac_cv_lib_gphoto2_gp_camera_new=yes
13027 else
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 ac_cv_lib_gphoto2_gp_camera_new=no
13034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13039 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13040 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13042 cat >>confdefs.h <<\_ACEOF
13043 #define HAVE_GPHOTO2 1
13044 _ACEOF
13046 GPHOTO2LIBS="$ac_gphoto2_libs"
13048 GPHOTO2INCL="$ac_gphoto2_incl"
13055 CPPFLAGS="$ac_save_CPPFLAGS"
13057 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13058 case "x$with_gphoto" in
13059 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13060 xno) ;;
13061 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13062 This is an error since --with-gphoto was requested." >&5
13063 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13064 This is an error since --with-gphoto was requested." >&2;}
13065 { (exit 1); exit 1; }; } ;;
13066 esac
13071 RESOLVLIBS=""
13073 if test "$ac_cv_header_resolv_h" = "yes"
13074 then
13075 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13076 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13077 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 else
13080 ac_check_lib_save_LIBS=$LIBS
13081 LIBS="-lresolv $LIBS"
13082 cat >conftest.$ac_ext <<_ACEOF
13083 /* confdefs.h. */
13084 _ACEOF
13085 cat confdefs.h >>conftest.$ac_ext
13086 cat >>conftest.$ac_ext <<_ACEOF
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char res_query ();
13097 main ()
13099 return res_query ();
13101 return 0;
13103 _ACEOF
13104 rm -f conftest.$ac_objext conftest$ac_exeext
13105 if { (ac_try="$ac_link"
13106 case "(($ac_try" in
13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13108 *) ac_try_echo=$ac_try;;
13109 esac
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_link") 2>conftest.er1
13112 ac_status=$?
13113 grep -v '^ *+' conftest.er1 >conftest.err
13114 rm -f conftest.er1
13115 cat conftest.err >&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } && {
13118 test -z "$ac_c_werror_flag" ||
13119 test ! -s conftest.err
13120 } && test -s conftest$ac_exeext &&
13121 $as_test_x conftest$ac_exeext; then
13122 ac_cv_lib_resolv_res_query=yes
13123 else
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13127 ac_cv_lib_resolv_res_query=no
13130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13135 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13136 if test $ac_cv_lib_resolv_res_query = yes; then
13138 cat >>confdefs.h <<\_ACEOF
13139 #define HAVE_RESOLV 1
13140 _ACEOF
13142 RESOLVLIBS="-lresolv"
13147 LCMSLIBS=""
13149 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13150 then
13151 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13152 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13153 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156 ac_check_lib_save_LIBS=$LIBS
13157 LIBS="-llcms $LIBS"
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13168 #ifdef __cplusplus
13169 extern "C"
13170 #endif
13171 char cmsOpenProfileFromFile ();
13173 main ()
13175 return cmsOpenProfileFromFile ();
13177 return 0;
13179 _ACEOF
13180 rm -f conftest.$ac_objext conftest$ac_exeext
13181 if { (ac_try="$ac_link"
13182 case "(($ac_try" in
13183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13185 esac
13186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 (eval "$ac_link") 2>conftest.er1
13188 ac_status=$?
13189 grep -v '^ *+' conftest.er1 >conftest.err
13190 rm -f conftest.er1
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest$ac_exeext &&
13197 $as_test_x conftest$ac_exeext; then
13198 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13199 else
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.$ac_ext >&5
13203 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13207 conftest$ac_exeext conftest.$ac_ext
13208 LIBS=$ac_check_lib_save_LIBS
13210 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13211 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13212 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13214 cat >>confdefs.h <<\_ACEOF
13215 #define HAVE_LCMS 1
13216 _ACEOF
13218 LCMSLIBS="-llcms"
13222 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13223 case "x$with_cms" in
13224 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13225 xno) ;;
13226 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13227 This is an error since --with-cms was requested." >&5
13228 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13229 This is an error since --with-cms was requested." >&2;}
13230 { (exit 1); exit 1; }; } ;;
13231 esac
13235 LDAPLIBS=""
13237 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13238 then
13239 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13240 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13241 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char ldap_initialize ();
13261 main ()
13263 return ldap_initialize ();
13265 return 0;
13267 _ACEOF
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13273 esac
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } && {
13282 test -z "$ac_c_werror_flag" ||
13283 test ! -s conftest.err
13284 } && test -s conftest$ac_exeext &&
13285 $as_test_x conftest$ac_exeext; then
13286 ac_cv_lib_ldap_r_ldap_initialize=yes
13287 else
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.$ac_ext >&5
13291 ac_cv_lib_ldap_r_ldap_initialize=no
13294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
13298 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13299 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13300 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13301 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13302 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13303 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 else
13306 ac_check_lib_save_LIBS=$LIBS
13307 LIBS="-llber $LIBPTHREAD $LIBS"
13308 cat >conftest.$ac_ext <<_ACEOF
13309 /* confdefs.h. */
13310 _ACEOF
13311 cat confdefs.h >>conftest.$ac_ext
13312 cat >>conftest.$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char ber_init ();
13323 main ()
13325 return ber_init ();
13327 return 0;
13329 _ACEOF
13330 rm -f conftest.$ac_objext conftest$ac_exeext
13331 if { (ac_try="$ac_link"
13332 case "(($ac_try" in
13333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13334 *) ac_try_echo=$ac_try;;
13335 esac
13336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13337 (eval "$ac_link") 2>conftest.er1
13338 ac_status=$?
13339 grep -v '^ *+' conftest.er1 >conftest.err
13340 rm -f conftest.er1
13341 cat conftest.err >&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } && {
13344 test -z "$ac_c_werror_flag" ||
13345 test ! -s conftest.err
13346 } && test -s conftest$ac_exeext &&
13347 $as_test_x conftest$ac_exeext; then
13348 ac_cv_lib_lber_ber_init=yes
13349 else
13350 echo "$as_me: failed program was:" >&5
13351 sed 's/^/| /' conftest.$ac_ext >&5
13353 ac_cv_lib_lber_ber_init=no
13356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13357 conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_lib_save_LIBS
13360 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13361 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13362 if test $ac_cv_lib_lber_ber_init = yes; then
13364 cat >>confdefs.h <<\_ACEOF
13365 #define HAVE_LDAP 1
13366 _ACEOF
13368 LDAPLIBS="-lldap_r -llber"
13373 ac_wine_check_funcs_save_LIBS="$LIBS"
13374 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13383 for ac_func in \
13384 ldap_count_references \
13385 ldap_first_reference \
13386 ldap_next_reference \
13387 ldap_parse_reference \
13388 ldap_parse_sort_control \
13389 ldap_parse_sortresponse_control \
13390 ldap_parse_vlv_control \
13391 ldap_parse_vlvresponse_control
13393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 else
13399 cat >conftest.$ac_ext <<_ACEOF
13400 /* confdefs.h. */
13401 _ACEOF
13402 cat confdefs.h >>conftest.$ac_ext
13403 cat >>conftest.$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13407 #define $ac_func innocuous_$ac_func
13409 /* System header to define __stub macros and hopefully few prototypes,
13410 which can conflict with char $ac_func (); below.
13411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13412 <limits.h> exists even on freestanding compilers. */
13414 #ifdef __STDC__
13415 # include <limits.h>
13416 #else
13417 # include <assert.h>
13418 #endif
13420 #undef $ac_func
13422 /* Override any GCC internal prototype to avoid an error.
13423 Use char because int might match the return type of a GCC
13424 builtin and then its argument prototype would still apply. */
13425 #ifdef __cplusplus
13426 extern "C"
13427 #endif
13428 char $ac_func ();
13429 /* The GNU C library defines this for functions which it implements
13430 to always fail with ENOSYS. Some functions are actually named
13431 something starting with __ and the normal name is an alias. */
13432 #if defined __stub_$ac_func || defined __stub___$ac_func
13433 choke me
13434 #endif
13437 main ()
13439 return $ac_func ();
13441 return 0;
13443 _ACEOF
13444 rm -f conftest.$ac_objext conftest$ac_exeext
13445 if { (ac_try="$ac_link"
13446 case "(($ac_try" in
13447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13448 *) ac_try_echo=$ac_try;;
13449 esac
13450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13451 (eval "$ac_link") 2>conftest.er1
13452 ac_status=$?
13453 grep -v '^ *+' conftest.er1 >conftest.err
13454 rm -f conftest.er1
13455 cat conftest.err >&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } && {
13458 test -z "$ac_c_werror_flag" ||
13459 test ! -s conftest.err
13460 } && test -s conftest$ac_exeext &&
13461 $as_test_x conftest$ac_exeext; then
13462 eval "$as_ac_var=yes"
13463 else
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.$ac_ext >&5
13467 eval "$as_ac_var=no"
13470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13471 conftest$ac_exeext conftest.$ac_ext
13473 ac_res=`eval echo '${'$as_ac_var'}'`
13474 { echo "$as_me:$LINENO: result: $ac_res" >&5
13475 echo "${ECHO_T}$ac_res" >&6; }
13476 if test `eval echo '${'$as_ac_var'}'` = yes; then
13477 cat >>confdefs.h <<_ACEOF
13478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13479 _ACEOF
13482 done
13484 LIBS="$ac_wine_check_funcs_save_LIBS"
13486 if test "x$LDAPLIBS" = "x"; then
13487 case "x$with_ldap" in
13488 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13489 xno) ;;
13490 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13491 This is an error since --with-ldap was requested." >&5
13492 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13493 This is an error since --with-ldap was requested." >&2;}
13494 { (exit 1); exit 1; }; } ;;
13495 esac
13499 for ac_prog in freetype-config freetype2-config
13501 # Extract the first word of "$ac_prog", so it can be a program name with args.
13502 set dummy $ac_prog; ac_word=$2
13503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13505 if test "${ac_cv_prog_ft_devel+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 else
13508 if test -n "$ft_devel"; then
13509 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13510 else
13511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13512 for as_dir in $PATH
13514 IFS=$as_save_IFS
13515 test -z "$as_dir" && as_dir=.
13516 for ac_exec_ext in '' $ac_executable_extensions; do
13517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13518 ac_cv_prog_ft_devel="$ac_prog"
13519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13520 break 2
13522 done
13523 done
13524 IFS=$as_save_IFS
13528 ft_devel=$ac_cv_prog_ft_devel
13529 if test -n "$ft_devel"; then
13530 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13531 echo "${ECHO_T}$ft_devel" >&6; }
13532 else
13533 { echo "$as_me:$LINENO: result: no" >&5
13534 echo "${ECHO_T}no" >&6; }
13538 test -n "$ft_devel" && break
13539 done
13540 test -n "$ft_devel" || ft_devel="false"
13542 if test "$ft_devel" != "false"
13543 then
13544 ac_freetype_libs=`$ft_devel --libs`
13545 ac_freetype_incl=`$ft_devel --cflags`
13546 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13547 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13548 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13551 ac_check_soname_save_LIBS=$LIBS
13552 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13553 cat >conftest.$ac_ext <<_ACEOF
13554 /* confdefs.h. */
13555 _ACEOF
13556 cat confdefs.h >>conftest.$ac_ext
13557 cat >>conftest.$ac_ext <<_ACEOF
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13563 #ifdef __cplusplus
13564 extern "C"
13565 #endif
13566 char FT_Init_FreeType ();
13568 main ()
13570 return FT_Init_FreeType ();
13572 return 0;
13574 _ACEOF
13575 rm -f conftest.$ac_objext conftest$ac_exeext
13576 if { (ac_try="$ac_link"
13577 case "(($ac_try" in
13578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13580 esac
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_link") 2>conftest.er1
13583 ac_status=$?
13584 grep -v '^ *+' conftest.er1 >conftest.err
13585 rm -f conftest.er1
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest$ac_exeext &&
13592 $as_test_x conftest$ac_exeext; then
13593 case "$LIBEXT" in
13594 dll) ;;
13595 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'` ;;
13596 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13597 esac
13598 else
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13606 conftest$ac_exeext conftest.$ac_ext
13607 LIBS=$ac_check_soname_save_LIBS
13609 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13610 { echo "$as_me:$LINENO: result: not found" >&5
13611 echo "${ECHO_T}not found" >&6; }
13612 ft_lib=no
13613 else
13614 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13615 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13617 cat >>confdefs.h <<_ACEOF
13618 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13619 _ACEOF
13621 ft_lib=yes
13624 if test "$ft_lib" = "yes"
13625 then
13626 ac_save_CPPFLAGS="$CPPFLAGS"
13627 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13640 for ac_header in ft2build.h \
13641 freetype/freetype.h \
13642 freetype/ftglyph.h \
13643 freetype/fttypes.h \
13644 freetype/tttables.h \
13645 freetype/ftnames.h \
13646 freetype/ftsnames.h \
13647 freetype/ttnameid.h \
13648 freetype/ftoutln.h \
13649 freetype/ftwinfnt.h \
13650 freetype/ftmodapi.h \
13651 freetype/internal/sfnt.h
13653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13659 cat >conftest.$ac_ext <<_ACEOF
13660 /* confdefs.h. */
13661 _ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13665 #if HAVE_FT2BUILD_H
13666 #include <ft2build.h>
13667 #endif
13669 #include <$ac_header>
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (ac_try="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13676 esac
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.$ac_objext; then
13688 eval "$as_ac_Header=yes"
13689 else
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13693 eval "$as_ac_Header=no"
13696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13698 ac_res=`eval echo '${'$as_ac_Header'}'`
13699 { echo "$as_me:$LINENO: result: $ac_res" >&5
13700 echo "${ECHO_T}$ac_res" >&6; }
13701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13702 cat >>confdefs.h <<_ACEOF
13703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13704 _ACEOF
13708 done
13710 cat >conftest.$ac_ext <<_ACEOF
13711 /* confdefs.h. */
13712 _ACEOF
13713 cat confdefs.h >>conftest.$ac_ext
13714 cat >>conftest.$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #include <ft2build.h>
13717 #include <freetype/fttrigon.h>
13718 _ACEOF
13719 if { (ac_try="$ac_cpp conftest.$ac_ext"
13720 case "(($ac_try" in
13721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13722 *) ac_try_echo=$ac_try;;
13723 esac
13724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13726 ac_status=$?
13727 grep -v '^ *+' conftest.er1 >conftest.err
13728 rm -f conftest.er1
13729 cat conftest.err >&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } >/dev/null && {
13732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13733 test ! -s conftest.err
13734 }; then
13736 cat >>confdefs.h <<\_ACEOF
13737 #define HAVE_FREETYPE_FTTRIGON_H 1
13738 _ACEOF
13740 wine_cv_fttrigon=yes
13741 else
13742 echo "$as_me: failed program was:" >&5
13743 sed 's/^/| /' conftest.$ac_ext >&5
13745 wine_cv_fttrigon=no
13748 rm -f conftest.err conftest.$ac_ext
13749 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13750 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13751 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 cat >conftest.$ac_ext <<_ACEOF
13755 /* confdefs.h. */
13756 _ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 #include <freetype/ftmodapi.h>
13762 typedef FT_TrueTypeEngineType ac__type_new_;
13764 main ()
13766 if ((ac__type_new_ *) 0)
13767 return 0;
13768 if (sizeof (ac__type_new_))
13769 return 0;
13771 return 0;
13773 _ACEOF
13774 rm -f conftest.$ac_objext
13775 if { (ac_try="$ac_compile"
13776 case "(($ac_try" in
13777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13779 esac
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_compile") 2>conftest.er1
13782 ac_status=$?
13783 grep -v '^ *+' conftest.er1 >conftest.err
13784 rm -f conftest.er1
13785 cat conftest.err >&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } && {
13788 test -z "$ac_c_werror_flag" ||
13789 test ! -s conftest.err
13790 } && test -s conftest.$ac_objext; then
13791 ac_cv_type_FT_TrueTypeEngineType=yes
13792 else
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.$ac_ext >&5
13796 ac_cv_type_FT_TrueTypeEngineType=no
13799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13801 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13802 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13803 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13805 cat >>confdefs.h <<_ACEOF
13806 #define HAVE_FT_TRUETYPEENGINETYPE 1
13807 _ACEOF
13812 ac_save_CFLAGS="$CFLAGS"
13813 CFLAGS="$CFLAGS $ac_freetype_libs"
13815 for ac_func in FT_Load_Sfnt_Table
13817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13822 else
13823 cat >conftest.$ac_ext <<_ACEOF
13824 /* confdefs.h. */
13825 _ACEOF
13826 cat confdefs.h >>conftest.$ac_ext
13827 cat >>conftest.$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13831 #define $ac_func innocuous_$ac_func
13833 /* System header to define __stub macros and hopefully few prototypes,
13834 which can conflict with char $ac_func (); below.
13835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13836 <limits.h> exists even on freestanding compilers. */
13838 #ifdef __STDC__
13839 # include <limits.h>
13840 #else
13841 # include <assert.h>
13842 #endif
13844 #undef $ac_func
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char $ac_func ();
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined __stub_$ac_func || defined __stub___$ac_func
13857 choke me
13858 #endif
13861 main ()
13863 return $ac_func ();
13865 return 0;
13867 _ACEOF
13868 rm -f conftest.$ac_objext conftest$ac_exeext
13869 if { (ac_try="$ac_link"
13870 case "(($ac_try" in
13871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13872 *) ac_try_echo=$ac_try;;
13873 esac
13874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875 (eval "$ac_link") 2>conftest.er1
13876 ac_status=$?
13877 grep -v '^ *+' conftest.er1 >conftest.err
13878 rm -f conftest.er1
13879 cat conftest.err >&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } && {
13882 test -z "$ac_c_werror_flag" ||
13883 test ! -s conftest.err
13884 } && test -s conftest$ac_exeext &&
13885 $as_test_x conftest$ac_exeext; then
13886 eval "$as_ac_var=yes"
13887 else
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13891 eval "$as_ac_var=no"
13894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13895 conftest$ac_exeext conftest.$ac_ext
13897 ac_res=`eval echo '${'$as_ac_var'}'`
13898 { echo "$as_me:$LINENO: result: $ac_res" >&5
13899 echo "${ECHO_T}$ac_res" >&6; }
13900 if test `eval echo '${'$as_ac_var'}'` = yes; then
13901 cat >>confdefs.h <<_ACEOF
13902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13903 _ACEOF
13906 done
13908 CFLAGS="$ac_save_CFLAGS"
13909 CPPFLAGS="$ac_save_CPPFLAGS"
13910 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13911 then
13913 cat >>confdefs.h <<\_ACEOF
13914 #define HAVE_FREETYPE 1
13915 _ACEOF
13917 FREETYPELIBS="$ac_freetype_libs"
13919 FREETYPEINCL="$ac_freetype_incl"
13925 if test "$FONTFORGE" = "false"
13926 then
13927 wine_warnings="$wine_warnings|FontForge is missing.
13928 Fonts will not be built. Dialog text may be invisible or unaligned."
13929 elif test "x$FREETYPELIBS" = "x"
13930 then
13931 wine_warnings="$wine_warnings|FreeType development files not found.
13932 Fonts will not be built. Dialog text may be invisible or unaligned."
13933 else
13934 FONTSSUBDIRS="fonts"
13938 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13939 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13940 if test "${ac_cv_c_ppdev+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 else
13943 cat >conftest.$ac_ext <<_ACEOF
13944 /* confdefs.h. */
13945 _ACEOF
13946 cat confdefs.h >>conftest.$ac_ext
13947 cat >>conftest.$ac_ext <<_ACEOF
13948 /* end confdefs.h. */
13949 #include <linux/ppdev.h>
13951 main ()
13953 ioctl (1,PPCLAIM,0)
13955 return 0;
13957 _ACEOF
13958 rm -f conftest.$ac_objext
13959 if { (ac_try="$ac_compile"
13960 case "(($ac_try" in
13961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13962 *) ac_try_echo=$ac_try;;
13963 esac
13964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13965 (eval "$ac_compile") 2>conftest.er1
13966 ac_status=$?
13967 grep -v '^ *+' conftest.er1 >conftest.err
13968 rm -f conftest.er1
13969 cat conftest.err >&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } && {
13972 test -z "$ac_c_werror_flag" ||
13973 test ! -s conftest.err
13974 } && test -s conftest.$ac_objext; then
13975 ac_cv_c_ppdev="yes"
13976 else
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 ac_cv_c_ppdev="no"
13983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13985 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13986 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13987 if test "$ac_cv_c_ppdev" = "yes"
13988 then
13990 cat >>confdefs.h <<\_ACEOF
13991 #define HAVE_PPDEV 1
13992 _ACEOF
13996 { echo "$as_me:$LINENO: checking for va_copy" >&5
13997 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13998 if test "${ac_cv_c_va_copy+set}" = set; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 else
14001 cat >conftest.$ac_ext <<_ACEOF
14002 /* confdefs.h. */
14003 _ACEOF
14004 cat confdefs.h >>conftest.$ac_ext
14005 cat >>conftest.$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14007 #include <stdarg.h>
14009 main ()
14011 va_list ap1, ap2; va_copy(ap1,ap2);
14013 return 0;
14015 _ACEOF
14016 rm -f conftest.$ac_objext conftest$ac_exeext
14017 if { (ac_try="$ac_link"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14021 esac
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_link") 2>conftest.er1
14024 ac_status=$?
14025 grep -v '^ *+' conftest.er1 >conftest.err
14026 rm -f conftest.er1
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && {
14030 test -z "$ac_c_werror_flag" ||
14031 test ! -s conftest.err
14032 } && test -s conftest$ac_exeext &&
14033 $as_test_x conftest$ac_exeext; then
14034 ac_cv_c_va_copy="yes"
14035 else
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 ac_cv_c_va_copy="no"
14042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14043 conftest$ac_exeext conftest.$ac_ext
14046 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14047 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14048 if test "$ac_cv_c_va_copy" = "yes"
14049 then
14051 cat >>confdefs.h <<\_ACEOF
14052 #define HAVE_VA_COPY 1
14053 _ACEOF
14056 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14057 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14058 if test "${ac_cv_c___va_copy+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 else
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 #include <stdarg.h>
14069 main ()
14071 va_list ap1, ap2; __va_copy(ap1,ap2);
14073 return 0;
14075 _ACEOF
14076 rm -f conftest.$ac_objext conftest$ac_exeext
14077 if { (ac_try="$ac_link"
14078 case "(($ac_try" in
14079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 *) ac_try_echo=$ac_try;;
14081 esac
14082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_link") 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && {
14090 test -z "$ac_c_werror_flag" ||
14091 test ! -s conftest.err
14092 } && test -s conftest$ac_exeext &&
14093 $as_test_x conftest$ac_exeext; then
14094 ac_cv_c___va_copy="yes"
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14099 ac_cv_c___va_copy="no"
14102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14103 conftest$ac_exeext conftest.$ac_ext
14106 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14107 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14108 if test "$ac_cv_c___va_copy" = "yes"
14109 then
14111 cat >>confdefs.h <<\_ACEOF
14112 #define HAVE___VA_COPY 1
14113 _ACEOF
14117 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14118 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14119 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14122 cat >conftest.$ac_ext <<_ACEOF
14123 /* confdefs.h. */
14124 _ACEOF
14125 cat confdefs.h >>conftest.$ac_ext
14126 cat >>conftest.$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128 #include <setjmp.h>
14130 main ()
14132 sigjmp_buf buf;
14133 sigsetjmp( buf, 1 );
14134 siglongjmp( buf, 1 );
14136 return 0;
14138 _ACEOF
14139 rm -f conftest.$ac_objext conftest$ac_exeext
14140 if { (ac_try="$ac_link"
14141 case "(($ac_try" in
14142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14144 esac
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_link") 2>conftest.er1
14147 ac_status=$?
14148 grep -v '^ *+' conftest.er1 >conftest.err
14149 rm -f conftest.er1
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest$ac_exeext &&
14156 $as_test_x conftest$ac_exeext; then
14157 ac_cv_c_sigsetjmp="yes"
14158 else
14159 echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.$ac_ext >&5
14162 ac_cv_c_sigsetjmp="no"
14165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14166 conftest$ac_exeext conftest.$ac_ext
14169 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14170 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14171 if test "$ac_cv_c_sigsetjmp" = "yes"
14172 then
14174 cat >>confdefs.h <<\_ACEOF
14175 #define HAVE_SIGSETJMP 1
14176 _ACEOF
14180 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14181 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14182 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14184 else
14185 cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h. */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 #define _GNU_SOURCE
14192 #include <pthread.h>
14194 typedef pthread_rwlock_t ac__type_new_;
14196 main ()
14198 if ((ac__type_new_ *) 0)
14199 return 0;
14200 if (sizeof (ac__type_new_))
14201 return 0;
14203 return 0;
14205 _ACEOF
14206 rm -f conftest.$ac_objext
14207 if { (ac_try="$ac_compile"
14208 case "(($ac_try" in
14209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14211 esac
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_compile") 2>conftest.er1
14214 ac_status=$?
14215 grep -v '^ *+' conftest.er1 >conftest.err
14216 rm -f conftest.er1
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } && {
14220 test -z "$ac_c_werror_flag" ||
14221 test ! -s conftest.err
14222 } && test -s conftest.$ac_objext; then
14223 ac_cv_type_pthread_rwlock_t=yes
14224 else
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.$ac_ext >&5
14228 ac_cv_type_pthread_rwlock_t=no
14231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14233 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14234 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14235 if test $ac_cv_type_pthread_rwlock_t = yes; then
14237 cat >>confdefs.h <<_ACEOF
14238 #define HAVE_PTHREAD_RWLOCK_T 1
14239 _ACEOF
14243 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14244 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14245 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 else
14248 cat >conftest.$ac_ext <<_ACEOF
14249 /* confdefs.h. */
14250 _ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #define _GNU_SOURCE
14255 #include <pthread.h>
14257 typedef pthread_rwlockattr_t ac__type_new_;
14259 main ()
14261 if ((ac__type_new_ *) 0)
14262 return 0;
14263 if (sizeof (ac__type_new_))
14264 return 0;
14266 return 0;
14268 _ACEOF
14269 rm -f conftest.$ac_objext
14270 if { (ac_try="$ac_compile"
14271 case "(($ac_try" in
14272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14273 *) ac_try_echo=$ac_try;;
14274 esac
14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14276 (eval "$ac_compile") 2>conftest.er1
14277 ac_status=$?
14278 grep -v '^ *+' conftest.er1 >conftest.err
14279 rm -f conftest.er1
14280 cat conftest.err >&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } && {
14283 test -z "$ac_c_werror_flag" ||
14284 test ! -s conftest.err
14285 } && test -s conftest.$ac_objext; then
14286 ac_cv_type_pthread_rwlockattr_t=yes
14287 else
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14291 ac_cv_type_pthread_rwlockattr_t=no
14294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14297 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14298 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14300 cat >>confdefs.h <<_ACEOF
14301 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14302 _ACEOF
14308 ac_wine_check_funcs_save_LIBS="$LIBS"
14309 LIBS="$LIBS $LIBPTHREAD"
14314 for ac_func in \
14315 pthread_attr_get_np \
14316 pthread_getattr_np \
14317 pthread_get_stackaddr_np \
14318 pthread_get_stacksize_np
14320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 else
14326 cat >conftest.$ac_ext <<_ACEOF
14327 /* confdefs.h. */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14334 #define $ac_func innocuous_$ac_func
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func (); below.
14338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 <limits.h> exists even on freestanding compilers. */
14341 #ifdef __STDC__
14342 # include <limits.h>
14343 #else
14344 # include <assert.h>
14345 #endif
14347 #undef $ac_func
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char $ac_func ();
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14360 choke me
14361 #endif
14364 main ()
14366 return $ac_func ();
14368 return 0;
14370 _ACEOF
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14376 esac
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_link") 2>conftest.er1
14379 ac_status=$?
14380 grep -v '^ *+' conftest.er1 >conftest.err
14381 rm -f conftest.er1
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest$ac_exeext &&
14388 $as_test_x conftest$ac_exeext; then
14389 eval "$as_ac_var=yes"
14390 else
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14394 eval "$as_ac_var=no"
14397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14398 conftest$ac_exeext conftest.$ac_ext
14400 ac_res=`eval echo '${'$as_ac_var'}'`
14401 { echo "$as_me:$LINENO: result: $ac_res" >&5
14402 echo "${ECHO_T}$ac_res" >&6; }
14403 if test `eval echo '${'$as_ac_var'}'` = yes; then
14404 cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14406 _ACEOF
14409 done
14411 LIBS="$ac_wine_check_funcs_save_LIBS"
14413 # Extract the first word of "esd-config", so it can be a program name with args.
14414 set dummy esd-config; ac_word=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 case $ESDCONFIG in
14421 [\\/]* | ?:[\\/]*)
14422 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14426 for as_dir in $PATH
14428 IFS=$as_save_IFS
14429 test -z "$as_dir" && as_dir=.
14430 for ac_exec_ext in '' $ac_executable_extensions; do
14431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14432 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14434 break 2
14436 done
14437 done
14438 IFS=$as_save_IFS
14441 esac
14443 ESDCONFIG=$ac_cv_path_ESDCONFIG
14444 if test -n "$ESDCONFIG"; then
14445 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14446 echo "${ECHO_T}$ESDCONFIG" >&6; }
14447 else
14448 { echo "$as_me:$LINENO: result: no" >&5
14449 echo "${ECHO_T}no" >&6; }
14453 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14454 then
14455 ESD_CFLAGS=""
14456 for i in `$ESDCONFIG --cflags`
14458 case "$i" in
14459 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14460 esac
14461 done
14462 ESD_LIBS=`$ESDCONFIG --libs`
14463 save_CFLAGS="$CFLAGS"
14464 CFLAGS="$CFLAGS $ESD_CFLAGS"
14465 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14466 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14467 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-lesd $LIBS"
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14482 #ifdef __cplusplus
14483 extern "C"
14484 #endif
14485 char esd_open_sound ();
14487 main ()
14489 return esd_open_sound ();
14491 return 0;
14493 _ACEOF
14494 rm -f conftest.$ac_objext conftest$ac_exeext
14495 if { (ac_try="$ac_link"
14496 case "(($ac_try" in
14497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14499 esac
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_link") 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && {
14508 test -z "$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14510 } && test -s conftest$ac_exeext &&
14511 $as_test_x conftest$ac_exeext; then
14512 ac_cv_lib_esd_esd_open_sound=yes
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ac_cv_lib_esd_esd_open_sound=no
14520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_lib_save_LIBS
14524 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14525 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14526 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14527 ESDLIBS=$ESD_LIBS
14529 ESDINCL=$ESD_CFLAGS
14532 cat >>confdefs.h <<\_ACEOF
14533 #define HAVE_ESD 1
14534 _ACEOF
14538 CFLAGS="$save_CFLAGS"
14541 ALSALIBS=""
14543 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14544 then
14545 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14546 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14547 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14549 else
14550 ac_check_lib_save_LIBS=$LIBS
14551 LIBS="-lasound $LIBS"
14552 cat >conftest.$ac_ext <<_ACEOF
14553 /* confdefs.h. */
14554 _ACEOF
14555 cat confdefs.h >>conftest.$ac_ext
14556 cat >>conftest.$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14559 /* Override any GCC internal prototype to avoid an error.
14560 Use char because int might match the return type of a GCC
14561 builtin and then its argument prototype would still apply. */
14562 #ifdef __cplusplus
14563 extern "C"
14564 #endif
14565 char snd_pcm_hw_params_get_access ();
14567 main ()
14569 return snd_pcm_hw_params_get_access ();
14571 return 0;
14573 _ACEOF
14574 rm -f conftest.$ac_objext conftest$ac_exeext
14575 if { (ac_try="$ac_link"
14576 case "(($ac_try" in
14577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14579 esac
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_link") 2>conftest.er1
14582 ac_status=$?
14583 grep -v '^ *+' conftest.er1 >conftest.err
14584 rm -f conftest.er1
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } && {
14588 test -z "$ac_c_werror_flag" ||
14589 test ! -s conftest.err
14590 } && test -s conftest$ac_exeext &&
14591 $as_test_x conftest$ac_exeext; then
14592 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14601 conftest$ac_exeext conftest.$ac_ext
14602 LIBS=$ac_check_lib_save_LIBS
14604 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14605 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14606 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14607 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 #ifdef HAVE_ALSA_ASOUNDLIB_H
14614 #include <alsa/asoundlib.h>
14615 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14616 #include <sys/asoundlib.h>
14617 #endif
14619 main ()
14621 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14623 return 0;
14625 _ACEOF
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14634 ac_status=$?
14635 grep -v '^ *+' conftest.er1 >conftest.err
14636 rm -f conftest.er1
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } && {
14640 test -z "$ac_c_werror_flag" ||
14641 test ! -s conftest.err
14642 } && test -s conftest.$ac_objext; then
14644 cat >>confdefs.h <<\_ACEOF
14645 #define HAVE_ALSA 1
14646 _ACEOF
14648 ALSALIBS="-lasound"
14649 else
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.$ac_ext >&5
14656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 AUDIOIOLIBS=""
14663 if test "$ac_cv_header_libaudioio_h" = "yes"
14664 then
14665 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14666 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14667 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 else
14670 ac_check_lib_save_LIBS=$LIBS
14671 LIBS="-laudioio $LIBS"
14672 cat >conftest.$ac_ext <<_ACEOF
14673 /* confdefs.h. */
14674 _ACEOF
14675 cat confdefs.h >>conftest.$ac_ext
14676 cat >>conftest.$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14679 /* Override any GCC internal prototype to avoid an error.
14680 Use char because int might match the return type of a GCC
14681 builtin and then its argument prototype would still apply. */
14682 #ifdef __cplusplus
14683 extern "C"
14684 #endif
14685 char AudioIOGetVersion ();
14687 main ()
14689 return AudioIOGetVersion ();
14691 return 0;
14693 _ACEOF
14694 rm -f conftest.$ac_objext conftest$ac_exeext
14695 if { (ac_try="$ac_link"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14699 esac
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_link") 2>conftest.er1
14702 ac_status=$?
14703 grep -v '^ *+' conftest.er1 >conftest.err
14704 rm -f conftest.er1
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest$ac_exeext &&
14711 $as_test_x conftest$ac_exeext; then
14712 ac_cv_lib_audioio_AudioIOGetVersion=yes
14713 else
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.$ac_ext >&5
14717 ac_cv_lib_audioio_AudioIOGetVersion=no
14720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14721 conftest$ac_exeext conftest.$ac_ext
14722 LIBS=$ac_check_lib_save_LIBS
14724 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14725 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14726 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14727 AUDIOIOLIBS="-laudioio"
14729 cat >>confdefs.h <<\_ACEOF
14730 #define HAVE_LIBAUDIOIO 1
14731 _ACEOF
14738 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14739 then
14740 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14741 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14742 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 else
14745 ac_check_soname_save_LIBS=$LIBS
14746 LIBS="-lcapi20 $LIBS"
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14757 #ifdef __cplusplus
14758 extern "C"
14759 #endif
14760 char capi20_register ();
14762 main ()
14764 return capi20_register ();
14766 return 0;
14768 _ACEOF
14769 rm -f conftest.$ac_objext conftest$ac_exeext
14770 if { (ac_try="$ac_link"
14771 case "(($ac_try" in
14772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14773 *) ac_try_echo=$ac_try;;
14774 esac
14775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14776 (eval "$ac_link") 2>conftest.er1
14777 ac_status=$?
14778 grep -v '^ *+' conftest.er1 >conftest.err
14779 rm -f conftest.er1
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && {
14783 test -z "$ac_c_werror_flag" ||
14784 test ! -s conftest.err
14785 } && test -s conftest$ac_exeext &&
14786 $as_test_x conftest$ac_exeext; then
14787 case "$LIBEXT" in
14788 dll) ;;
14789 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'` ;;
14790 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14791 esac
14792 else
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.$ac_ext >&5
14799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14800 conftest$ac_exeext conftest.$ac_ext
14801 LIBS=$ac_check_soname_save_LIBS
14803 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14804 { echo "$as_me:$LINENO: result: not found" >&5
14805 echo "${ECHO_T}not found" >&6; }
14807 else
14808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14809 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14811 cat >>confdefs.h <<_ACEOF
14812 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14813 _ACEOF
14819 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14820 case "x$with_capi" in
14821 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14822 xno) ;;
14823 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14824 This is an error since --with-capi was requested." >&5
14825 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14826 This is an error since --with-capi was requested." >&2;}
14827 { (exit 1); exit 1; }; } ;;
14828 esac
14832 if test "$ac_cv_header_cups_cups_h" = "yes"
14833 then
14834 { echo "$as_me:$LINENO: checking for -lcups" >&5
14835 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14836 if test "${ac_cv_lib_soname_cups+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14838 else
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lcups $LIBS"
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14851 #ifdef __cplusplus
14852 extern "C"
14853 #endif
14854 char cupsGetDefault ();
14856 main ()
14858 return cupsGetDefault ();
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (ac_try="$ac_link"
14865 case "(($ac_try" in
14866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14868 esac
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_link") 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } && {
14877 test -z "$ac_c_werror_flag" ||
14878 test ! -s conftest.err
14879 } && test -s conftest$ac_exeext &&
14880 $as_test_x conftest$ac_exeext; then
14881 case "$LIBEXT" in
14882 dll) ;;
14883 dylib) ac_cv_lib_soname_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'` ;;
14884 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14885 esac
14886 else
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14894 conftest$ac_exeext conftest.$ac_ext
14895 LIBS=$ac_check_soname_save_LIBS
14897 if test "x$ac_cv_lib_soname_cups" = "x"; then
14898 { echo "$as_me:$LINENO: result: not found" >&5
14899 echo "${ECHO_T}not found" >&6; }
14901 else
14902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14903 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14905 cat >>confdefs.h <<_ACEOF
14906 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14907 _ACEOF
14913 if test "x$ac_cv_lib_soname_cups" = "x"; then
14914 case "x$with_cups" in
14915 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14916 xno) ;;
14917 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14918 This is an error since --with-cups was requested." >&5
14919 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14920 This is an error since --with-cups was requested." >&2;}
14921 { (exit 1); exit 1; }; } ;;
14922 esac
14926 if test "$ac_cv_header_jack_jack_h" = "yes"
14927 then
14928 { echo "$as_me:$LINENO: checking for -ljack" >&5
14929 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14930 if test "${ac_cv_lib_soname_jack+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14932 else
14933 ac_check_soname_save_LIBS=$LIBS
14934 LIBS="-ljack $LIBS"
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14945 #ifdef __cplusplus
14946 extern "C"
14947 #endif
14948 char jack_client_new ();
14950 main ()
14952 return jack_client_new ();
14954 return 0;
14956 _ACEOF
14957 rm -f conftest.$ac_objext conftest$ac_exeext
14958 if { (ac_try="$ac_link"
14959 case "(($ac_try" in
14960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14961 *) ac_try_echo=$ac_try;;
14962 esac
14963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14964 (eval "$ac_link") 2>conftest.er1
14965 ac_status=$?
14966 grep -v '^ *+' conftest.er1 >conftest.err
14967 rm -f conftest.er1
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err
14973 } && test -s conftest$ac_exeext &&
14974 $as_test_x conftest$ac_exeext; then
14975 case "$LIBEXT" in
14976 dll) ;;
14977 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'` ;;
14978 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14979 esac
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_soname_save_LIBS
14991 if test "x$ac_cv_lib_soname_jack" = "x"; then
14992 { echo "$as_me:$LINENO: result: not found" >&5
14993 echo "${ECHO_T}not found" >&6; }
14995 else
14996 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14997 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14999 cat >>confdefs.h <<_ACEOF
15000 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15001 _ACEOF
15008 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15009 then
15010 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15011 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15012 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 else
15015 ac_check_soname_save_LIBS=$LIBS
15016 LIBS="-lfontconfig $LIBS"
15017 cat >conftest.$ac_ext <<_ACEOF
15018 /* confdefs.h. */
15019 _ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15027 #ifdef __cplusplus
15028 extern "C"
15029 #endif
15030 char FcInit ();
15032 main ()
15034 return FcInit ();
15036 return 0;
15038 _ACEOF
15039 rm -f conftest.$ac_objext conftest$ac_exeext
15040 if { (ac_try="$ac_link"
15041 case "(($ac_try" in
15042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15043 *) ac_try_echo=$ac_try;;
15044 esac
15045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15046 (eval "$ac_link") 2>conftest.er1
15047 ac_status=$?
15048 grep -v '^ *+' conftest.er1 >conftest.err
15049 rm -f conftest.er1
15050 cat conftest.err >&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && {
15053 test -z "$ac_c_werror_flag" ||
15054 test ! -s conftest.err
15055 } && test -s conftest$ac_exeext &&
15056 $as_test_x conftest$ac_exeext; then
15057 case "$LIBEXT" in
15058 dll) ;;
15059 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'` ;;
15060 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15061 esac
15062 else
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.$ac_ext >&5
15069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_soname_save_LIBS
15073 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15074 { echo "$as_me:$LINENO: result: not found" >&5
15075 echo "${ECHO_T}not found" >&6; }
15077 else
15078 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15079 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15081 cat >>confdefs.h <<_ACEOF
15082 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15083 _ACEOF
15088 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15089 then
15090 ac_save_CPPFLAGS="$CPPFLAGS"
15091 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15092 $as_unset ac_cv_header_fontconfig_fontconfig_h
15094 for ac_header in fontconfig/fontconfig.h
15096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 ac_res=`eval echo '${'$as_ac_Header'}'`
15104 { echo "$as_me:$LINENO: result: $ac_res" >&5
15105 echo "${ECHO_T}$ac_res" >&6; }
15106 else
15107 # Is the header compilable?
15108 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15110 cat >conftest.$ac_ext <<_ACEOF
15111 /* confdefs.h. */
15112 _ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15117 #include <$ac_header>
15118 _ACEOF
15119 rm -f conftest.$ac_objext
15120 if { (ac_try="$ac_compile"
15121 case "(($ac_try" in
15122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15124 esac
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_compile") 2>conftest.er1
15127 ac_status=$?
15128 grep -v '^ *+' conftest.er1 >conftest.err
15129 rm -f conftest.er1
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest.$ac_objext; then
15136 ac_header_compiler=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 ac_header_compiler=no
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15146 echo "${ECHO_T}$ac_header_compiler" >&6; }
15148 # Is the header present?
15149 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15151 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h. */
15153 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 #include <$ac_header>
15158 _ACEOF
15159 if { (ac_try="$ac_cpp conftest.$ac_ext"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15163 esac
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15166 ac_status=$?
15167 grep -v '^ *+' conftest.er1 >conftest.err
15168 rm -f conftest.er1
15169 cat conftest.err >&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } >/dev/null && {
15172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15173 test ! -s conftest.err
15174 }; then
15175 ac_header_preproc=yes
15176 else
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.$ac_ext >&5
15180 ac_header_preproc=no
15183 rm -f conftest.err conftest.$ac_ext
15184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15185 echo "${ECHO_T}$ac_header_preproc" >&6; }
15187 # So? What about this header?
15188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15189 yes:no: )
15190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15194 ac_header_preproc=yes
15196 no:yes:* )
15197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15209 ( cat <<\_ASBOX
15210 ## ------------------------------------ ##
15211 ## Report this to wine-devel@winehq.org ##
15212 ## ------------------------------------ ##
15213 _ASBOX
15214 ) | sed "s/^/$as_me: WARNING: /" >&2
15216 esac
15217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15221 else
15222 eval "$as_ac_Header=\$ac_header_preproc"
15224 ac_res=`eval echo '${'$as_ac_Header'}'`
15225 { echo "$as_me:$LINENO: result: $ac_res" >&5
15226 echo "${ECHO_T}$ac_res" >&6; }
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h <<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15232 _ACEOF
15236 done
15238 CPPFLAGS="$ac_save_CPPFLAGS"
15239 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15240 then
15241 FONTCONFIGINCL="$X_CFLAGS"
15243 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15244 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15245 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 ac_check_soname_save_LIBS=$LIBS
15249 LIBS="-lfontconfig $X_LIBS $LIBS"
15250 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15260 #ifdef __cplusplus
15261 extern "C"
15262 #endif
15263 char FcInit ();
15265 main ()
15267 return FcInit ();
15269 return 0;
15271 _ACEOF
15272 rm -f conftest.$ac_objext conftest$ac_exeext
15273 if { (ac_try="$ac_link"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277 esac
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_link") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest$ac_exeext &&
15289 $as_test_x conftest$ac_exeext; then
15290 case "$LIBEXT" in
15291 dll) ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15294 esac
15295 else
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15303 conftest$ac_exeext conftest.$ac_ext
15304 LIBS=$ac_check_soname_save_LIBS
15306 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15307 { echo "$as_me:$LINENO: result: not found" >&5
15308 echo "${ECHO_T}not found" >&6; }
15310 else
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15314 cat >>confdefs.h <<_ACEOF
15315 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15316 _ACEOF
15323 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15324 case "x$with_fontconfig" in
15325 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15326 xno) ;;
15327 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15328 This is an error since --with-fontconfig was requested." >&5
15329 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15330 This is an error since --with-fontconfig was requested." >&2;}
15331 { (exit 1); exit 1; }; } ;;
15332 esac
15336 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15337 then
15338 { echo "$as_me:$LINENO: checking for -lssl" >&5
15339 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15340 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 else
15343 ac_check_soname_save_LIBS=$LIBS
15344 LIBS="-lssl $LIBS"
15345 cat >conftest.$ac_ext <<_ACEOF
15346 /* confdefs.h. */
15347 _ACEOF
15348 cat confdefs.h >>conftest.$ac_ext
15349 cat >>conftest.$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15355 #ifdef __cplusplus
15356 extern "C"
15357 #endif
15358 char SSL_library_init ();
15360 main ()
15362 return SSL_library_init ();
15364 return 0;
15366 _ACEOF
15367 rm -f conftest.$ac_objext conftest$ac_exeext
15368 if { (ac_try="$ac_link"
15369 case "(($ac_try" in
15370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15372 esac
15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15374 (eval "$ac_link") 2>conftest.er1
15375 ac_status=$?
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } && {
15381 test -z "$ac_c_werror_flag" ||
15382 test ! -s conftest.err
15383 } && test -s conftest$ac_exeext &&
15384 $as_test_x conftest$ac_exeext; then
15385 case "$LIBEXT" in
15386 dll) ;;
15387 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'` ;;
15388 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15389 esac
15390 else
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_soname_save_LIBS
15401 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15402 { echo "$as_me:$LINENO: result: not found" >&5
15403 echo "${ECHO_T}not found" >&6; }
15405 else
15406 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15407 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15409 cat >>confdefs.h <<_ACEOF
15410 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15411 _ACEOF
15416 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15417 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15418 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 else
15421 ac_check_soname_save_LIBS=$LIBS
15422 LIBS="-lcrypto $LIBS"
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15430 /* Override any GCC internal prototype to avoid an error.
15431 Use char because int might match the return type of a GCC
15432 builtin and then its argument prototype would still apply. */
15433 #ifdef __cplusplus
15434 extern "C"
15435 #endif
15436 char BIO_new_socket ();
15438 main ()
15440 return BIO_new_socket ();
15442 return 0;
15444 _ACEOF
15445 rm -f conftest.$ac_objext conftest$ac_exeext
15446 if { (ac_try="$ac_link"
15447 case "(($ac_try" in
15448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15450 esac
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_link") 2>conftest.er1
15453 ac_status=$?
15454 grep -v '^ *+' conftest.er1 >conftest.err
15455 rm -f conftest.er1
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } && {
15459 test -z "$ac_c_werror_flag" ||
15460 test ! -s conftest.err
15461 } && test -s conftest$ac_exeext &&
15462 $as_test_x conftest$ac_exeext; then
15463 case "$LIBEXT" in
15464 dll) ;;
15465 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'` ;;
15466 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15467 esac
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_check_soname_save_LIBS
15479 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15480 { echo "$as_me:$LINENO: result: not found" >&5
15481 echo "${ECHO_T}not found" >&6; }
15483 else
15484 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15485 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15487 cat >>confdefs.h <<_ACEOF
15488 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15489 _ACEOF
15495 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15496 case "x$with_openssl" in
15497 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15498 xno) ;;
15499 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15500 This is an error since --with-openssl was requested." >&5
15501 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15502 This is an error since --with-openssl was requested." >&2;}
15503 { (exit 1); exit 1; }; } ;;
15504 esac
15508 if test "$ac_cv_header_jpeglib_h" = "yes"
15509 then
15510 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15511 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15512 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-ljpeg $LIBS"
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15527 #ifdef __cplusplus
15528 extern "C"
15529 #endif
15530 char jpeg_start_decompress ();
15532 main ()
15534 return jpeg_start_decompress ();
15536 return 0;
15538 _ACEOF
15539 rm -f conftest.$ac_objext conftest$ac_exeext
15540 if { (ac_try="$ac_link"
15541 case "(($ac_try" in
15542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15544 esac
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_link") 2>conftest.er1
15547 ac_status=$?
15548 grep -v '^ *+' conftest.er1 >conftest.err
15549 rm -f conftest.er1
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest$ac_exeext &&
15556 $as_test_x conftest$ac_exeext; then
15557 case "$LIBEXT" in
15558 dll) ;;
15559 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'` ;;
15560 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15561 esac
15562 else
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15570 conftest$ac_exeext conftest.$ac_ext
15571 LIBS=$ac_check_soname_save_LIBS
15573 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15574 { echo "$as_me:$LINENO: result: not found" >&5
15575 echo "${ECHO_T}not found" >&6; }
15577 else
15578 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15579 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15581 cat >>confdefs.h <<_ACEOF
15582 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15583 _ACEOF
15589 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15590 case "x$with_jpeg" in
15591 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15592 xno) ;;
15593 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15594 This is an error since --with-jpeg was requested." >&5
15595 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15596 This is an error since --with-jpeg was requested." >&2;}
15597 { (exit 1); exit 1; }; } ;;
15598 esac
15602 if test "$ac_cv_header_png_h" = "yes"
15603 then
15604 { echo "$as_me:$LINENO: checking for -lpng" >&5
15605 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15606 if test "${ac_cv_lib_soname_png+set}" = set; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 else
15609 ac_check_soname_save_LIBS=$LIBS
15610 LIBS="-lpng $LIBS"
15611 cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h. */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply. */
15621 #ifdef __cplusplus
15622 extern "C"
15623 #endif
15624 char png_create_read_struct ();
15626 main ()
15628 return png_create_read_struct ();
15630 return 0;
15632 _ACEOF
15633 rm -f conftest.$ac_objext conftest$ac_exeext
15634 if { (ac_try="$ac_link"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15638 esac
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_link") 2>conftest.er1
15641 ac_status=$?
15642 grep -v '^ *+' conftest.er1 >conftest.err
15643 rm -f conftest.er1
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest$ac_exeext &&
15650 $as_test_x conftest$ac_exeext; then
15651 case "$LIBEXT" in
15652 dll) ;;
15653 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'` ;;
15654 *) 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'` ;;
15655 esac
15656 else
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15664 conftest$ac_exeext conftest.$ac_ext
15665 LIBS=$ac_check_soname_save_LIBS
15667 if test "x$ac_cv_lib_soname_png" = "x"; then
15668 { echo "$as_me:$LINENO: result: not found" >&5
15669 echo "${ECHO_T}not found" >&6; }
15671 else
15672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15673 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15675 cat >>confdefs.h <<_ACEOF
15676 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15677 _ACEOF
15683 if test "x$ac_cv_lib_soname_png" = "x"; then
15684 case "x$with_png" in
15685 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15686 xno) ;;
15687 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15688 This is an error since --with-png was requested." >&5
15689 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15690 This is an error since --with-png was requested." >&2;}
15691 { (exit 1); exit 1; }; } ;;
15692 esac
15696 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15697 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15698 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 else
15701 ac_check_soname_save_LIBS=$LIBS
15702 LIBS="-lodbc $LIBS"
15703 cat >conftest.$ac_ext <<_ACEOF
15704 /* confdefs.h. */
15705 _ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15713 #ifdef __cplusplus
15714 extern "C"
15715 #endif
15716 char SQLConnect ();
15718 main ()
15720 return SQLConnect ();
15722 return 0;
15724 _ACEOF
15725 rm -f conftest.$ac_objext conftest$ac_exeext
15726 if { (ac_try="$ac_link"
15727 case "(($ac_try" in
15728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15729 *) ac_try_echo=$ac_try;;
15730 esac
15731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15732 (eval "$ac_link") 2>conftest.er1
15733 ac_status=$?
15734 grep -v '^ *+' conftest.er1 >conftest.err
15735 rm -f conftest.er1
15736 cat conftest.err >&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); } && {
15739 test -z "$ac_c_werror_flag" ||
15740 test ! -s conftest.err
15741 } && test -s conftest$ac_exeext &&
15742 $as_test_x conftest$ac_exeext; then
15743 case "$LIBEXT" in
15744 dll) ;;
15745 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'` ;;
15746 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15747 esac
15748 else
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15756 conftest$ac_exeext conftest.$ac_ext
15757 LIBS=$ac_check_soname_save_LIBS
15759 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15760 { echo "$as_me:$LINENO: result: not found" >&5
15761 echo "${ECHO_T}not found" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15764 _ACEOF
15766 else
15767 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15768 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15770 cat >>confdefs.h <<_ACEOF
15771 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15772 _ACEOF
15778 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15779 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15780 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15781 "$ac_cv_header_soundcard_h" != "yes" -a \
15782 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15783 then
15784 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15788 EXTRACFLAGS=""
15790 if test "x${GCC}" = "xyes"
15791 then
15792 EXTRACFLAGS="-Wall -pipe"
15794 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15795 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15796 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 else
15799 if test "$cross_compiling" = yes; then
15800 ac_cv_c_gcc_strength_bug="yes"
15801 else
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 int L[4] = {0,1,2,3};
15810 main ()
15812 static int Array[3];
15813 unsigned int B = 3;
15814 int i;
15815 for(i=0; i<B; i++) Array[i] = i - 3;
15816 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15817 L[i] = 4;
15818 exit( Array[1] != -2 || L[2] != 3)
15820 return 0;
15822 _ACEOF
15823 rm -f conftest$ac_exeext
15824 if { (ac_try="$ac_link"
15825 case "(($ac_try" in
15826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15827 *) ac_try_echo=$ac_try;;
15828 esac
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830 (eval "$ac_link") 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15834 { (case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_try") 2>&5
15840 ac_status=$?
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_c_gcc_strength_bug="no"
15844 else
15845 echo "$as_me: program exited with status $ac_status" >&5
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15849 ( exit $ac_status )
15850 ac_cv_c_gcc_strength_bug="yes"
15852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15857 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15858 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15859 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15860 then
15861 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15865 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15866 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15867 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15868 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 else
15870 ac_wine_try_cflags_saved=$CFLAGS
15871 CFLAGS="$CFLAGS -fshort-wchar"
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15880 main ()
15884 return 0;
15886 _ACEOF
15887 rm -f conftest.$ac_objext conftest$ac_exeext
15888 if { (ac_try="$ac_link"
15889 case "(($ac_try" in
15890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15891 *) ac_try_echo=$ac_try;;
15892 esac
15893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15894 (eval "$ac_link") 2>conftest.er1
15895 ac_status=$?
15896 grep -v '^ *+' conftest.er1 >conftest.err
15897 rm -f conftest.er1
15898 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } && {
15901 test -z "$ac_c_werror_flag" ||
15902 test ! -s conftest.err
15903 } && test -s conftest$ac_exeext &&
15904 $as_test_x conftest$ac_exeext; then
15905 ac_cv_cflags__fshort_wchar=yes
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15910 ac_cv_cflags__fshort_wchar=no
15913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15914 conftest$ac_exeext conftest.$ac_ext
15915 CFLAGS=$ac_wine_try_cflags_saved
15917 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15918 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15919 if test $ac_cv_cflags__fshort_wchar = yes; then
15921 cat >>confdefs.h <<\_ACEOF
15922 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15923 _ACEOF
15927 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15928 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15929 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15931 else
15932 ac_wine_try_cflags_saved=$CFLAGS
15933 CFLAGS="$CFLAGS -fno-strict-aliasing"
15934 cat >conftest.$ac_ext <<_ACEOF
15935 /* confdefs.h. */
15936 _ACEOF
15937 cat confdefs.h >>conftest.$ac_ext
15938 cat >>conftest.$ac_ext <<_ACEOF
15939 /* end confdefs.h. */
15942 main ()
15946 return 0;
15948 _ACEOF
15949 rm -f conftest.$ac_objext conftest$ac_exeext
15950 if { (ac_try="$ac_link"
15951 case "(($ac_try" in
15952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15954 esac
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_link") 2>conftest.er1
15957 ac_status=$?
15958 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_c_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest$ac_exeext &&
15966 $as_test_x conftest$ac_exeext; then
15967 ac_cv_cflags__fno_strict_aliasing=yes
15968 else
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.$ac_ext >&5
15972 ac_cv_cflags__fno_strict_aliasing=no
15975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15976 conftest$ac_exeext conftest.$ac_ext
15977 CFLAGS=$ac_wine_try_cflags_saved
15979 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15980 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15981 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15982 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15985 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15986 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15987 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990 ac_wine_try_cflags_saved=$CFLAGS
15991 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15992 cat >conftest.$ac_ext <<_ACEOF
15993 /* confdefs.h. */
15994 _ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
16000 main ()
16004 return 0;
16006 _ACEOF
16007 rm -f conftest.$ac_objext conftest$ac_exeext
16008 if { (ac_try="$ac_link"
16009 case "(($ac_try" in
16010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16011 *) ac_try_echo=$ac_try;;
16012 esac
16013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16014 (eval "$ac_link") 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } && {
16021 test -z "$ac_c_werror_flag" ||
16022 test ! -s conftest.err
16023 } && test -s conftest$ac_exeext &&
16024 $as_test_x conftest$ac_exeext; then
16025 ac_cv_cflags__Wdeclaration_after_statement=yes
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16030 ac_cv_cflags__Wdeclaration_after_statement=no
16033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16038 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16039 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16040 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16043 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16044 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16045 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 else
16048 ac_wine_try_cflags_saved=$CFLAGS
16049 CFLAGS="$CFLAGS -Wwrite-strings"
16050 cat >conftest.$ac_ext <<_ACEOF
16051 /* confdefs.h. */
16052 _ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16058 main ()
16062 return 0;
16064 _ACEOF
16065 rm -f conftest.$ac_objext conftest$ac_exeext
16066 if { (ac_try="$ac_link"
16067 case "(($ac_try" in
16068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16069 *) ac_try_echo=$ac_try;;
16070 esac
16071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16072 (eval "$ac_link") 2>conftest.er1
16073 ac_status=$?
16074 grep -v '^ *+' conftest.er1 >conftest.err
16075 rm -f conftest.er1
16076 cat conftest.err >&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } && {
16079 test -z "$ac_c_werror_flag" ||
16080 test ! -s conftest.err
16081 } && test -s conftest$ac_exeext &&
16082 $as_test_x conftest$ac_exeext; then
16083 ac_cv_cflags__Wwrite_strings=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 ac_cv_cflags__Wwrite_strings=no
16091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16092 conftest$ac_exeext conftest.$ac_ext
16093 CFLAGS=$ac_wine_try_cflags_saved
16095 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16096 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16097 if test $ac_cv_cflags__Wwrite_strings = yes; then
16098 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16101 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16102 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16103 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 ac_wine_try_cflags_saved=$CFLAGS
16107 CFLAGS="$CFLAGS -Wtype-limits"
16108 cat >conftest.$ac_ext <<_ACEOF
16109 /* confdefs.h. */
16110 _ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16116 main ()
16120 return 0;
16122 _ACEOF
16123 rm -f conftest.$ac_objext conftest$ac_exeext
16124 if { (ac_try="$ac_link"
16125 case "(($ac_try" in
16126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16128 esac
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_link") 2>conftest.er1
16131 ac_status=$?
16132 grep -v '^ *+' conftest.er1 >conftest.err
16133 rm -f conftest.er1
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest$ac_exeext &&
16140 $as_test_x conftest$ac_exeext; then
16141 ac_cv_cflags__Wtype_limits=yes
16142 else
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 ac_cv_cflags__Wtype_limits=no
16149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16150 conftest$ac_exeext conftest.$ac_ext
16151 CFLAGS=$ac_wine_try_cflags_saved
16153 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16154 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16155 if test $ac_cv_cflags__Wtype_limits = yes; then
16156 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16160 saved_CFLAGS="$CFLAGS"
16161 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16162 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16163 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16164 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 else
16167 cat >conftest.$ac_ext <<_ACEOF
16168 /* confdefs.h. */
16169 _ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 #include <string.h>
16175 main ()
16179 return 0;
16181 _ACEOF
16182 rm -f conftest.$ac_objext
16183 if { (ac_try="$ac_compile"
16184 case "(($ac_try" in
16185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16186 *) ac_try_echo=$ac_try;;
16187 esac
16188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16189 (eval "$ac_compile") 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && {
16196 test -z "$ac_c_werror_flag" ||
16197 test ! -s conftest.err
16198 } && test -s conftest.$ac_objext; then
16199 ac_cv_c_string_h_warnings=no
16200 else
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16204 ac_cv_c_string_h_warnings=yes
16207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16209 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16210 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16211 CFLAGS="$saved_CFLAGS"
16212 if test "$ac_cv_c_string_h_warnings" = "no"
16213 then
16214 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16217 BUILTINFLAG=""
16219 saved_CFLAGS="$CFLAGS"
16220 CFLAGS="$CFLAGS -Werror"
16221 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16222 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16223 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 else
16226 cat >conftest.$ac_ext <<_ACEOF
16227 /* confdefs.h. */
16228 _ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16234 main ()
16236 int iswlower(unsigned short);
16238 return 0;
16240 _ACEOF
16241 rm -f conftest.$ac_objext
16242 if { (ac_try="$ac_compile"
16243 case "(($ac_try" in
16244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16246 esac
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_compile") 2>conftest.er1
16249 ac_status=$?
16250 grep -v '^ *+' conftest.er1 >conftest.err
16251 rm -f conftest.er1
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest.$ac_objext; then
16258 ac_cv_c_builtin_wchar_ctype=no
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 ac_cv_c_builtin_wchar_ctype=yes
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16269 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16270 CFLAGS="$saved_CFLAGS"
16271 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16272 then
16273 BUILTINFLAG="-fno-builtin"
16278 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16279 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16280 if test "${ac_cv_asm_func_def+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283 cat >conftest.$ac_ext <<_ACEOF
16284 /* confdefs.h. */
16285 _ACEOF
16286 cat confdefs.h >>conftest.$ac_ext
16287 cat >>conftest.$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16291 main ()
16293 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16295 return 0;
16297 _ACEOF
16298 rm -f conftest.$ac_objext conftest$ac_exeext
16299 if { (ac_try="$ac_link"
16300 case "(($ac_try" in
16301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16302 *) ac_try_echo=$ac_try;;
16303 esac
16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16305 (eval "$ac_link") 2>conftest.er1
16306 ac_status=$?
16307 grep -v '^ *+' conftest.er1 >conftest.err
16308 rm -f conftest.er1
16309 cat conftest.err >&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); } && {
16312 test -z "$ac_c_werror_flag" ||
16313 test ! -s conftest.err
16314 } && test -s conftest$ac_exeext &&
16315 $as_test_x conftest$ac_exeext; then
16316 ac_cv_asm_func_def=".def"
16317 else
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16329 main ()
16331 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (ac_try="$ac_link"
16338 case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341 esac
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_link") 2>conftest.er1
16344 ac_status=$?
16345 grep -v '^ *+' conftest.er1 >conftest.err
16346 rm -f conftest.er1
16347 cat conftest.err >&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && {
16350 test -z "$ac_c_werror_flag" ||
16351 test ! -s conftest.err
16352 } && test -s conftest$ac_exeext &&
16353 $as_test_x conftest$ac_exeext; then
16354 ac_cv_asm_func_def=".type @function"
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 cat >conftest.$ac_ext <<_ACEOF
16360 /* confdefs.h. */
16361 _ACEOF
16362 cat confdefs.h >>conftest.$ac_ext
16363 cat >>conftest.$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16367 main ()
16369 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16371 return 0;
16373 _ACEOF
16374 rm -f conftest.$ac_objext conftest$ac_exeext
16375 if { (ac_try="$ac_link"
16376 case "(($ac_try" in
16377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16378 *) ac_try_echo=$ac_try;;
16379 esac
16380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16381 (eval "$ac_link") 2>conftest.er1
16382 ac_status=$?
16383 grep -v '^ *+' conftest.er1 >conftest.err
16384 rm -f conftest.er1
16385 cat conftest.err >&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } && {
16388 test -z "$ac_c_werror_flag" ||
16389 test ! -s conftest.err
16390 } && test -s conftest$ac_exeext &&
16391 $as_test_x conftest$ac_exeext; then
16392 ac_cv_asm_func_def=".type 2"
16393 else
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16397 ac_cv_asm_func_def="unknown"
16400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16401 conftest$ac_exeext conftest.$ac_ext
16404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16405 conftest$ac_exeext conftest.$ac_ext
16408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16409 conftest$ac_exeext conftest.$ac_ext
16411 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16412 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16416 case "$ac_cv_asm_func_def" in
16417 ".def")
16418 cat >>confdefs.h <<\_ACEOF
16419 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16420 _ACEOF
16422 ".type @function")
16423 cat >>confdefs.h <<\_ACEOF
16424 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16425 _ACEOF
16427 ".type 2")
16428 cat >>confdefs.h <<\_ACEOF
16429 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16430 _ACEOF
16433 cat >>confdefs.h <<\_ACEOF
16434 #define __ASM_FUNC(name) ""
16435 _ACEOF
16437 esac
16440 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16441 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16442 if test "${ac_cv_c_extern_prefix+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 else
16445 cat >conftest.$ac_ext <<_ACEOF
16446 /* confdefs.h. */
16447 _ACEOF
16448 cat confdefs.h >>conftest.$ac_ext
16449 cat >>conftest.$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 extern int ac_test;
16453 main ()
16455 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16457 return 0;
16459 _ACEOF
16460 rm -f conftest.$ac_objext conftest$ac_exeext
16461 if { (ac_try="$ac_link"
16462 case "(($ac_try" in
16463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16465 esac
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_link") 2>conftest.er1
16468 ac_status=$?
16469 grep -v '^ *+' conftest.er1 >conftest.err
16470 rm -f conftest.er1
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } && {
16474 test -z "$ac_c_werror_flag" ||
16475 test ! -s conftest.err
16476 } && test -s conftest$ac_exeext &&
16477 $as_test_x conftest$ac_exeext; then
16478 ac_cv_c_extern_prefix="yes"
16479 else
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_c_extern_prefix="no"
16486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16487 conftest$ac_exeext conftest.$ac_ext
16489 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16490 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16494 if test "$ac_cv_c_extern_prefix" = "yes"
16495 then
16496 cat >>confdefs.h <<\_ACEOF
16497 #define __ASM_NAME(name) "_" name
16498 _ACEOF
16500 else
16501 cat >>confdefs.h <<\_ACEOF
16502 #define __ASM_NAME(name) name
16503 _ACEOF
16508 LDPATH=""
16510 case $build_os in
16511 cygwin*|mingw32*)
16512 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16514 darwin*|macosx*)
16516 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16517 then
16518 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16522 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16524 esac
16526 case $host_os in
16527 mingw32*)
16528 CRTLIBS="-lmsvcrt"
16530 SOCKETLIBS="-lws2_32"
16533 esac
16535 MAIN_BINARY="wine-pthread"
16536 case $host_cpu in
16537 *i[3456789]86*)
16538 case $host_os in
16539 linux* | k*bsd*-gnu)
16540 MAIN_BINARY="wine-glibc"
16542 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16544 freebsd*)
16545 MAIN_BINARY="wine-freebsd"
16547 EXTRA_BINARIES="wine-pthread"
16549 esac
16551 esac
16619 for ac_func in \
16620 _pclose \
16621 _popen \
16622 _snprintf \
16623 _spawnvp \
16624 _strdup \
16625 _stricmp \
16626 _strnicmp \
16627 _vsnprintf \
16628 asctime_r \
16629 chsize \
16630 clone \
16631 dlopen \
16632 epoll_create \
16633 ffs \
16634 finite \
16635 fork \
16636 fpclass \
16637 fstatfs \
16638 fstatvfs \
16639 ftruncate \
16640 futimes \
16641 futimesat \
16642 getdirentries \
16643 getopt_long \
16644 getpagesize \
16645 getpwuid \
16646 gettid \
16647 gettimeofday \
16648 getuid \
16649 inet_pton \
16650 kqueue \
16651 lstat \
16652 memmove \
16653 mmap \
16654 pclose \
16655 poll \
16656 popen \
16657 prctl \
16658 pread \
16659 pwrite \
16660 readlink \
16661 rfork \
16662 sched_yield \
16663 select \
16664 setproctitle \
16665 setrlimit \
16666 settimeofday \
16667 sigaltstack \
16668 sigprocmask \
16669 snprintf \
16670 spawnvp \
16671 statfs \
16672 statvfs \
16673 strcasecmp \
16674 strdup \
16675 strerror \
16676 strncasecmp \
16677 strtold \
16678 tcgetattr \
16679 thr_kill2 \
16680 timegm \
16681 usleep \
16682 vsnprintf \
16683 wait4 \
16684 waitpid \
16687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16701 #define $ac_func innocuous_$ac_func
16703 /* System header to define __stub macros and hopefully few prototypes,
16704 which can conflict with char $ac_func (); below.
16705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16706 <limits.h> exists even on freestanding compilers. */
16708 #ifdef __STDC__
16709 # include <limits.h>
16710 #else
16711 # include <assert.h>
16712 #endif
16714 #undef $ac_func
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 #ifdef __cplusplus
16720 extern "C"
16721 #endif
16722 char $ac_func ();
16723 /* The GNU C library defines this for functions which it implements
16724 to always fail with ENOSYS. Some functions are actually named
16725 something starting with __ and the normal name is an alias. */
16726 #if defined __stub_$ac_func || defined __stub___$ac_func
16727 choke me
16728 #endif
16731 main ()
16733 return $ac_func ();
16735 return 0;
16737 _ACEOF
16738 rm -f conftest.$ac_objext conftest$ac_exeext
16739 if { (ac_try="$ac_link"
16740 case "(($ac_try" in
16741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16743 esac
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_link") 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } && {
16752 test -z "$ac_c_werror_flag" ||
16753 test ! -s conftest.err
16754 } && test -s conftest$ac_exeext &&
16755 $as_test_x conftest$ac_exeext; then
16756 eval "$as_ac_var=yes"
16757 else
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.$ac_ext >&5
16761 eval "$as_ac_var=no"
16764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16765 conftest$ac_exeext conftest.$ac_ext
16767 ac_res=`eval echo '${'$as_ac_var'}'`
16768 { echo "$as_me:$LINENO: result: $ac_res" >&5
16769 echo "${ECHO_T}$ac_res" >&6; }
16770 if test `eval echo '${'$as_ac_var'}'` = yes; then
16771 cat >>confdefs.h <<_ACEOF
16772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16773 _ACEOF
16776 done
16779 if test "$ac_cv_func_dlopen" = no
16780 then
16781 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16782 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16783 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 else
16786 ac_check_lib_save_LIBS=$LIBS
16787 LIBS="-ldl $LIBS"
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16795 /* Override any GCC internal prototype to avoid an error.
16796 Use char because int might match the return type of a GCC
16797 builtin and then its argument prototype would still apply. */
16798 #ifdef __cplusplus
16799 extern "C"
16800 #endif
16801 char dlopen ();
16803 main ()
16805 return dlopen ();
16807 return 0;
16809 _ACEOF
16810 rm -f conftest.$ac_objext conftest$ac_exeext
16811 if { (ac_try="$ac_link"
16812 case "(($ac_try" in
16813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16814 *) ac_try_echo=$ac_try;;
16815 esac
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_link") 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && {
16824 test -z "$ac_c_werror_flag" ||
16825 test ! -s conftest.err
16826 } && test -s conftest$ac_exeext &&
16827 $as_test_x conftest$ac_exeext; then
16828 ac_cv_lib_dl_dlopen=yes
16829 else
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16833 ac_cv_lib_dl_dlopen=no
16836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16841 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16842 if test $ac_cv_lib_dl_dlopen = yes; then
16843 cat >>confdefs.h <<\_ACEOF
16844 #define HAVE_DLOPEN 1
16845 _ACEOF
16846 LIBDL="-ldl"
16851 ac_wine_check_funcs_save_LIBS="$LIBS"
16852 LIBS="$LIBS $LIBDL"
16854 for ac_func in dladdr
16856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16857 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16859 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16860 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 else
16862 cat >conftest.$ac_ext <<_ACEOF
16863 /* confdefs.h. */
16864 _ACEOF
16865 cat confdefs.h >>conftest.$ac_ext
16866 cat >>conftest.$ac_ext <<_ACEOF
16867 /* end confdefs.h. */
16868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16870 #define $ac_func innocuous_$ac_func
16872 /* System header to define __stub macros and hopefully few prototypes,
16873 which can conflict with char $ac_func (); below.
16874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16875 <limits.h> exists even on freestanding compilers. */
16877 #ifdef __STDC__
16878 # include <limits.h>
16879 #else
16880 # include <assert.h>
16881 #endif
16883 #undef $ac_func
16885 /* Override any GCC internal prototype to avoid an error.
16886 Use char because int might match the return type of a GCC
16887 builtin and then its argument prototype would still apply. */
16888 #ifdef __cplusplus
16889 extern "C"
16890 #endif
16891 char $ac_func ();
16892 /* The GNU C library defines this for functions which it implements
16893 to always fail with ENOSYS. Some functions are actually named
16894 something starting with __ and the normal name is an alias. */
16895 #if defined __stub_$ac_func || defined __stub___$ac_func
16896 choke me
16897 #endif
16900 main ()
16902 return $ac_func ();
16904 return 0;
16906 _ACEOF
16907 rm -f conftest.$ac_objext conftest$ac_exeext
16908 if { (ac_try="$ac_link"
16909 case "(($ac_try" in
16910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16912 esac
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_link") 2>conftest.er1
16915 ac_status=$?
16916 grep -v '^ *+' conftest.er1 >conftest.err
16917 rm -f conftest.er1
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } && {
16921 test -z "$ac_c_werror_flag" ||
16922 test ! -s conftest.err
16923 } && test -s conftest$ac_exeext &&
16924 $as_test_x conftest$ac_exeext; then
16925 eval "$as_ac_var=yes"
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 eval "$as_ac_var=no"
16933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16934 conftest$ac_exeext conftest.$ac_ext
16936 ac_res=`eval echo '${'$as_ac_var'}'`
16937 { echo "$as_me:$LINENO: result: $ac_res" >&5
16938 echo "${ECHO_T}$ac_res" >&6; }
16939 if test `eval echo '${'$as_ac_var'}'` = yes; then
16940 cat >>confdefs.h <<_ACEOF
16941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16942 _ACEOF
16945 done
16947 LIBS="$ac_wine_check_funcs_save_LIBS"
16949 if test "$ac_cv_func_poll" = no
16950 then
16951 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16952 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16953 if test "${ac_cv_lib_poll_poll+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956 ac_check_lib_save_LIBS=$LIBS
16957 LIBS="-lpoll $LIBS"
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16965 /* Override any GCC internal prototype to avoid an error.
16966 Use char because int might match the return type of a GCC
16967 builtin and then its argument prototype would still apply. */
16968 #ifdef __cplusplus
16969 extern "C"
16970 #endif
16971 char poll ();
16973 main ()
16975 return poll ();
16977 return 0;
16979 _ACEOF
16980 rm -f conftest.$ac_objext conftest$ac_exeext
16981 if { (ac_try="$ac_link"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_link") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest$ac_exeext &&
16997 $as_test_x conftest$ac_exeext; then
16998 ac_cv_lib_poll_poll=yes
16999 else
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 ac_cv_lib_poll_poll=no
17006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17007 conftest$ac_exeext conftest.$ac_ext
17008 LIBS=$ac_check_lib_save_LIBS
17010 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17011 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17012 if test $ac_cv_lib_poll_poll = yes; then
17013 cat >>confdefs.h <<\_ACEOF
17014 #define HAVE_POLL 1
17015 _ACEOF
17016 LIBPOLL="-lpoll"
17022 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17023 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17024 if test "${ac_cv_search_gethostbyname+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027 ac_func_search_save_LIBS=$LIBS
17028 cat >conftest.$ac_ext <<_ACEOF
17029 /* confdefs.h. */
17030 _ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17038 #ifdef __cplusplus
17039 extern "C"
17040 #endif
17041 char gethostbyname ();
17043 main ()
17045 return gethostbyname ();
17047 return 0;
17049 _ACEOF
17050 for ac_lib in '' nsl; do
17051 if test -z "$ac_lib"; then
17052 ac_res="none required"
17053 else
17054 ac_res=-l$ac_lib
17055 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17057 rm -f conftest.$ac_objext conftest$ac_exeext
17058 if { (ac_try="$ac_link"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17062 esac
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_link") 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest$ac_exeext &&
17074 $as_test_x conftest$ac_exeext; then
17075 ac_cv_search_gethostbyname=$ac_res
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17084 conftest$ac_exeext
17085 if test "${ac_cv_search_gethostbyname+set}" = set; then
17086 break
17088 done
17089 if test "${ac_cv_search_gethostbyname+set}" = set; then
17091 else
17092 ac_cv_search_gethostbyname=no
17094 rm conftest.$ac_ext
17095 LIBS=$ac_func_search_save_LIBS
17097 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17098 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17099 ac_res=$ac_cv_search_gethostbyname
17100 if test "$ac_res" != no; then
17101 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17106 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17107 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17108 if test "${ac_cv_search_connect+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 else
17111 ac_func_search_save_LIBS=$LIBS
17112 cat >conftest.$ac_ext <<_ACEOF
17113 /* confdefs.h. */
17114 _ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17122 #ifdef __cplusplus
17123 extern "C"
17124 #endif
17125 char connect ();
17127 main ()
17129 return connect ();
17131 return 0;
17133 _ACEOF
17134 for ac_lib in '' socket; do
17135 if test -z "$ac_lib"; then
17136 ac_res="none required"
17137 else
17138 ac_res=-l$ac_lib
17139 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17141 rm -f conftest.$ac_objext conftest$ac_exeext
17142 if { (ac_try="$ac_link"
17143 case "(($ac_try" in
17144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17146 esac
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_link") 2>conftest.er1
17149 ac_status=$?
17150 grep -v '^ *+' conftest.er1 >conftest.err
17151 rm -f conftest.er1
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_c_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest$ac_exeext &&
17158 $as_test_x conftest$ac_exeext; then
17159 ac_cv_search_connect=$ac_res
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17168 conftest$ac_exeext
17169 if test "${ac_cv_search_connect+set}" = set; then
17170 break
17172 done
17173 if test "${ac_cv_search_connect+set}" = set; then
17175 else
17176 ac_cv_search_connect=no
17178 rm conftest.$ac_ext
17179 LIBS=$ac_func_search_save_LIBS
17181 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17182 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17183 ac_res=$ac_cv_search_connect
17184 if test "$ac_res" != no; then
17185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17190 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17191 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17192 if test "${ac_cv_search_inet_aton+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17195 ac_func_search_save_LIBS=$LIBS
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17203 /* Override any GCC internal prototype to avoid an error.
17204 Use char because int might match the return type of a GCC
17205 builtin and then its argument prototype would still apply. */
17206 #ifdef __cplusplus
17207 extern "C"
17208 #endif
17209 char inet_aton ();
17211 main ()
17213 return inet_aton ();
17215 return 0;
17217 _ACEOF
17218 for ac_lib in '' resolv; do
17219 if test -z "$ac_lib"; then
17220 ac_res="none required"
17221 else
17222 ac_res=-l$ac_lib
17223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17225 rm -f conftest.$ac_objext conftest$ac_exeext
17226 if { (ac_try="$ac_link"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_link") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest$ac_exeext &&
17242 $as_test_x conftest$ac_exeext; then
17243 ac_cv_search_inet_aton=$ac_res
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17252 conftest$ac_exeext
17253 if test "${ac_cv_search_inet_aton+set}" = set; then
17254 break
17256 done
17257 if test "${ac_cv_search_inet_aton+set}" = set; then
17259 else
17260 ac_cv_search_inet_aton=no
17262 rm conftest.$ac_ext
17263 LIBS=$ac_func_search_save_LIBS
17265 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17266 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17267 ac_res=$ac_cv_search_inet_aton
17268 if test "$ac_res" != no; then
17269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17282 for ac_func in \
17283 getaddrinfo \
17284 getnameinfo \
17285 getnetbyname \
17286 getprotobyname \
17287 getprotobynumber \
17288 getservbyport \
17289 inet_network \
17290 sendmsg \
17293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 else
17299 cat >conftest.$ac_ext <<_ACEOF
17300 /* confdefs.h. */
17301 _ACEOF
17302 cat confdefs.h >>conftest.$ac_ext
17303 cat >>conftest.$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17307 #define $ac_func innocuous_$ac_func
17309 /* System header to define __stub macros and hopefully few prototypes,
17310 which can conflict with char $ac_func (); below.
17311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17312 <limits.h> exists even on freestanding compilers. */
17314 #ifdef __STDC__
17315 # include <limits.h>
17316 #else
17317 # include <assert.h>
17318 #endif
17320 #undef $ac_func
17322 /* Override any GCC internal prototype to avoid an error.
17323 Use char because int might match the return type of a GCC
17324 builtin and then its argument prototype would still apply. */
17325 #ifdef __cplusplus
17326 extern "C"
17327 #endif
17328 char $ac_func ();
17329 /* The GNU C library defines this for functions which it implements
17330 to always fail with ENOSYS. Some functions are actually named
17331 something starting with __ and the normal name is an alias. */
17332 #if defined __stub_$ac_func || defined __stub___$ac_func
17333 choke me
17334 #endif
17337 main ()
17339 return $ac_func ();
17341 return 0;
17343 _ACEOF
17344 rm -f conftest.$ac_objext conftest$ac_exeext
17345 if { (ac_try="$ac_link"
17346 case "(($ac_try" in
17347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17348 *) ac_try_echo=$ac_try;;
17349 esac
17350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351 (eval "$ac_link") 2>conftest.er1
17352 ac_status=$?
17353 grep -v '^ *+' conftest.er1 >conftest.err
17354 rm -f conftest.er1
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } && {
17358 test -z "$ac_c_werror_flag" ||
17359 test ! -s conftest.err
17360 } && test -s conftest$ac_exeext &&
17361 $as_test_x conftest$ac_exeext; then
17362 eval "$as_ac_var=yes"
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 eval "$as_ac_var=no"
17370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17371 conftest$ac_exeext conftest.$ac_ext
17373 ac_res=`eval echo '${'$as_ac_var'}'`
17374 { echo "$as_me:$LINENO: result: $ac_res" >&5
17375 echo "${ECHO_T}$ac_res" >&6; }
17376 if test `eval echo '${'$as_ac_var'}'` = yes; then
17377 cat >>confdefs.h <<_ACEOF
17378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17379 _ACEOF
17382 done
17386 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17387 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17388 if test "${ac_cv_c_const+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391 cat >conftest.$ac_ext <<_ACEOF
17392 /* confdefs.h. */
17393 _ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17399 main ()
17401 /* FIXME: Include the comments suggested by Paul. */
17402 #ifndef __cplusplus
17403 /* Ultrix mips cc rejects this. */
17404 typedef int charset[2];
17405 const charset cs;
17406 /* SunOS 4.1.1 cc rejects this. */
17407 char const *const *pcpcc;
17408 char **ppc;
17409 /* NEC SVR4.0.2 mips cc rejects this. */
17410 struct point {int x, y;};
17411 static struct point const zero = {0,0};
17412 /* AIX XL C 1.02.0.0 rejects this.
17413 It does not let you subtract one const X* pointer from another in
17414 an arm of an if-expression whose if-part is not a constant
17415 expression */
17416 const char *g = "string";
17417 pcpcc = &g + (g ? g-g : 0);
17418 /* HPUX 7.0 cc rejects these. */
17419 ++pcpcc;
17420 ppc = (char**) pcpcc;
17421 pcpcc = (char const *const *) ppc;
17422 { /* SCO 3.2v4 cc rejects this. */
17423 char *t;
17424 char const *s = 0 ? (char *) 0 : (char const *) 0;
17426 *t++ = 0;
17427 if (s) return 0;
17429 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17430 int x[] = {25, 17};
17431 const int *foo = &x[0];
17432 ++foo;
17434 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17435 typedef const int *iptr;
17436 iptr p = 0;
17437 ++p;
17439 { /* AIX XL C 1.02.0.0 rejects this saying
17440 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17441 struct s { int j; const int *ap[3]; };
17442 struct s *b; b->j = 5;
17444 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17445 const int foo = 10;
17446 if (!foo) return 0;
17448 return !cs[0] && !zero.x;
17449 #endif
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (ac_try="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17460 esac
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_c_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.$ac_objext; then
17472 ac_cv_c_const=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17477 ac_cv_c_const=no
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17483 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17484 if test $ac_cv_c_const = no; then
17486 cat >>confdefs.h <<\_ACEOF
17487 #define const
17488 _ACEOF
17492 { echo "$as_me:$LINENO: checking for inline" >&5
17493 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17494 if test "${ac_cv_c_inline+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 else
17497 ac_cv_c_inline=no
17498 for ac_kw in inline __inline__ __inline; do
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 #ifndef __cplusplus
17506 typedef int foo_t;
17507 static $ac_kw foo_t static_foo () {return 0; }
17508 $ac_kw foo_t foo () {return 0; }
17509 #endif
17511 _ACEOF
17512 rm -f conftest.$ac_objext
17513 if { (ac_try="$ac_compile"
17514 case "(($ac_try" in
17515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17516 *) ac_try_echo=$ac_try;;
17517 esac
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_compile") 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest.$ac_objext; then
17529 ac_cv_c_inline=$ac_kw
17530 else
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17538 test "$ac_cv_c_inline" != no && break
17539 done
17542 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17543 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17546 case $ac_cv_c_inline in
17547 inline | yes) ;;
17549 case $ac_cv_c_inline in
17550 no) ac_val=;;
17551 *) ac_val=$ac_cv_c_inline;;
17552 esac
17553 cat >>confdefs.h <<_ACEOF
17554 #ifndef __cplusplus
17555 #define inline $ac_val
17556 #endif
17557 _ACEOF
17559 esac
17561 { echo "$as_me:$LINENO: checking for mode_t" >&5
17562 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17563 if test "${ac_cv_type_mode_t+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 else
17566 cat >conftest.$ac_ext <<_ACEOF
17567 /* confdefs.h. */
17568 _ACEOF
17569 cat confdefs.h >>conftest.$ac_ext
17570 cat >>conftest.$ac_ext <<_ACEOF
17571 /* end confdefs.h. */
17572 $ac_includes_default
17573 typedef mode_t ac__type_new_;
17575 main ()
17577 if ((ac__type_new_ *) 0)
17578 return 0;
17579 if (sizeof (ac__type_new_))
17580 return 0;
17582 return 0;
17584 _ACEOF
17585 rm -f conftest.$ac_objext
17586 if { (ac_try="$ac_compile"
17587 case "(($ac_try" in
17588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589 *) ac_try_echo=$ac_try;;
17590 esac
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_c_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.$ac_objext; then
17602 ac_cv_type_mode_t=yes
17603 else
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17607 ac_cv_type_mode_t=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17613 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17614 if test $ac_cv_type_mode_t = yes; then
17616 cat >>confdefs.h <<_ACEOF
17617 #define HAVE_MODE_T 1
17618 _ACEOF
17622 { echo "$as_me:$LINENO: checking for off_t" >&5
17623 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17624 if test "${ac_cv_type_off_t+set}" = set; then
17625 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 else
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17634 typedef off_t ac__type_new_;
17636 main ()
17638 if ((ac__type_new_ *) 0)
17639 return 0;
17640 if (sizeof (ac__type_new_))
17641 return 0;
17643 return 0;
17645 _ACEOF
17646 rm -f conftest.$ac_objext
17647 if { (ac_try="$ac_compile"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17651 esac
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_compile") 2>conftest.er1
17654 ac_status=$?
17655 grep -v '^ *+' conftest.er1 >conftest.err
17656 rm -f conftest.er1
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest.$ac_objext; then
17663 ac_cv_type_off_t=yes
17664 else
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 ac_cv_type_off_t=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17674 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17675 if test $ac_cv_type_off_t = yes; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define HAVE_OFF_T 1
17679 _ACEOF
17683 { echo "$as_me:$LINENO: checking for pid_t" >&5
17684 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17685 if test "${ac_cv_type_pid_t+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 else
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h. */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 $ac_includes_default
17695 typedef pid_t ac__type_new_;
17697 main ()
17699 if ((ac__type_new_ *) 0)
17700 return 0;
17701 if (sizeof (ac__type_new_))
17702 return 0;
17704 return 0;
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (ac_try="$ac_compile"
17709 case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17712 esac
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_compile") 2>conftest.er1
17715 ac_status=$?
17716 grep -v '^ *+' conftest.er1 >conftest.err
17717 rm -f conftest.er1
17718 cat conftest.err >&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest.$ac_objext; then
17724 ac_cv_type_pid_t=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 ac_cv_type_pid_t=no
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17734 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17735 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17736 if test $ac_cv_type_pid_t = yes; then
17738 cat >>confdefs.h <<_ACEOF
17739 #define HAVE_PID_T 1
17740 _ACEOF
17744 { echo "$as_me:$LINENO: checking for size_t" >&5
17745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17746 if test "${ac_cv_type_size_t+set}" = set; then
17747 echo $ECHO_N "(cached) $ECHO_C" >&6
17748 else
17749 cat >conftest.$ac_ext <<_ACEOF
17750 /* confdefs.h. */
17751 _ACEOF
17752 cat confdefs.h >>conftest.$ac_ext
17753 cat >>conftest.$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 $ac_includes_default
17756 typedef size_t ac__type_new_;
17758 main ()
17760 if ((ac__type_new_ *) 0)
17761 return 0;
17762 if (sizeof (ac__type_new_))
17763 return 0;
17765 return 0;
17767 _ACEOF
17768 rm -f conftest.$ac_objext
17769 if { (ac_try="$ac_compile"
17770 case "(($ac_try" in
17771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17773 esac
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compile") 2>conftest.er1
17776 ac_status=$?
17777 grep -v '^ *+' conftest.er1 >conftest.err
17778 rm -f conftest.er1
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && {
17782 test -z "$ac_c_werror_flag" ||
17783 test ! -s conftest.err
17784 } && test -s conftest.$ac_objext; then
17785 ac_cv_type_size_t=yes
17786 else
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 ac_cv_type_size_t=no
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17795 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17796 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17797 if test $ac_cv_type_size_t = yes; then
17799 cat >>confdefs.h <<_ACEOF
17800 #define HAVE_SIZE_T 1
17801 _ACEOF
17805 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17806 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17807 if test "${ac_cv_type_ssize_t+set}" = set; then
17808 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 else
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 $ac_includes_default
17817 typedef ssize_t ac__type_new_;
17819 main ()
17821 if ((ac__type_new_ *) 0)
17822 return 0;
17823 if (sizeof (ac__type_new_))
17824 return 0;
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (ac_try="$ac_compile"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17834 esac
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_compile") 2>conftest.er1
17837 ac_status=$?
17838 grep -v '^ *+' conftest.er1 >conftest.err
17839 rm -f conftest.er1
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } && {
17843 test -z "$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17845 } && test -s conftest.$ac_objext; then
17846 ac_cv_type_ssize_t=yes
17847 else
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17851 ac_cv_type_ssize_t=no
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17857 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17858 if test $ac_cv_type_ssize_t = yes; then
17860 cat >>confdefs.h <<_ACEOF
17861 #define HAVE_SSIZE_T 1
17862 _ACEOF
17866 { echo "$as_me:$LINENO: checking for long long" >&5
17867 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17868 if test "${ac_cv_type_long_long+set}" = set; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 else
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 $ac_includes_default
17878 typedef long long ac__type_new_;
17880 main ()
17882 if ((ac__type_new_ *) 0)
17883 return 0;
17884 if (sizeof (ac__type_new_))
17885 return 0;
17887 return 0;
17889 _ACEOF
17890 rm -f conftest.$ac_objext
17891 if { (ac_try="$ac_compile"
17892 case "(($ac_try" in
17893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17894 *) ac_try_echo=$ac_try;;
17895 esac
17896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17897 (eval "$ac_compile") 2>conftest.er1
17898 ac_status=$?
17899 grep -v '^ *+' conftest.er1 >conftest.err
17900 rm -f conftest.er1
17901 cat conftest.err >&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } && {
17904 test -z "$ac_c_werror_flag" ||
17905 test ! -s conftest.err
17906 } && test -s conftest.$ac_objext; then
17907 ac_cv_type_long_long=yes
17908 else
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 ac_cv_type_long_long=no
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17918 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17919 if test $ac_cv_type_long_long = yes; then
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_LONG_LONG 1
17923 _ACEOF
17927 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17928 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17929 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 $ac_includes_default
17939 typedef fsblkcnt_t ac__type_new_;
17941 main ()
17943 if ((ac__type_new_ *) 0)
17944 return 0;
17945 if (sizeof (ac__type_new_))
17946 return 0;
17948 return 0;
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17956 esac
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17968 ac_cv_type_fsblkcnt_t=yes
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17973 ac_cv_type_fsblkcnt_t=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17979 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17980 if test $ac_cv_type_fsblkcnt_t = yes; then
17982 cat >>confdefs.h <<_ACEOF
17983 #define HAVE_FSBLKCNT_T 1
17984 _ACEOF
17988 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17989 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17990 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17992 else
17993 cat >conftest.$ac_ext <<_ACEOF
17994 /* confdefs.h. */
17995 _ACEOF
17996 cat confdefs.h >>conftest.$ac_ext
17997 cat >>conftest.$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 $ac_includes_default
18000 typedef fsfilcnt_t ac__type_new_;
18002 main ()
18004 if ((ac__type_new_ *) 0)
18005 return 0;
18006 if (sizeof (ac__type_new_))
18007 return 0;
18009 return 0;
18011 _ACEOF
18012 rm -f conftest.$ac_objext
18013 if { (ac_try="$ac_compile"
18014 case "(($ac_try" in
18015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18016 *) ac_try_echo=$ac_try;;
18017 esac
18018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18019 (eval "$ac_compile") 2>conftest.er1
18020 ac_status=$?
18021 grep -v '^ *+' conftest.er1 >conftest.err
18022 rm -f conftest.er1
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } && {
18026 test -z "$ac_c_werror_flag" ||
18027 test ! -s conftest.err
18028 } && test -s conftest.$ac_objext; then
18029 ac_cv_type_fsfilcnt_t=yes
18030 else
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18034 ac_cv_type_fsfilcnt_t=no
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18039 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18040 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18041 if test $ac_cv_type_fsfilcnt_t = yes; then
18043 cat >>confdefs.h <<_ACEOF
18044 #define HAVE_FSFILCNT_T 1
18045 _ACEOF
18050 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18051 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18052 if test "${ac_cv_type_sigset_t+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055 cat >conftest.$ac_ext <<_ACEOF
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <signal.h>
18063 typedef sigset_t ac__type_new_;
18065 main ()
18067 if ((ac__type_new_ *) 0)
18068 return 0;
18069 if (sizeof (ac__type_new_))
18070 return 0;
18072 return 0;
18074 _ACEOF
18075 rm -f conftest.$ac_objext
18076 if { (ac_try="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 ac_cv_type_sigset_t=yes
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 ac_cv_type_sigset_t=no
18100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18103 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18104 if test $ac_cv_type_sigset_t = yes; then
18106 cat >>confdefs.h <<_ACEOF
18107 #define HAVE_SIGSET_T 1
18108 _ACEOF
18113 { echo "$as_me:$LINENO: checking for request_sense" >&5
18114 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18115 if test "${ac_cv_type_request_sense+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18117 else
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 #include <linux/cdrom.h>
18126 typedef request_sense ac__type_new_;
18128 main ()
18130 if ((ac__type_new_ *) 0)
18131 return 0;
18132 if (sizeof (ac__type_new_))
18133 return 0;
18135 return 0;
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (ac_try="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18142 *) ac_try_echo=$ac_try;;
18143 esac
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18146 ac_status=$?
18147 grep -v '^ *+' conftest.er1 >conftest.err
18148 rm -f conftest.er1
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_c_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.$ac_objext; then
18155 ac_cv_type_request_sense=yes
18156 else
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18160 ac_cv_type_request_sense=no
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18166 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18167 if test $ac_cv_type_request_sense = yes; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_REQUEST_SENSE 1
18171 _ACEOF
18177 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18178 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18179 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 else
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #ifdef HAVE_LINUX_INPUT_H
18189 #include <linux/input.h>
18190 #endif
18193 main ()
18195 static struct ff_effect ac_aggr;
18196 if (ac_aggr.direction)
18197 return 0;
18199 return 0;
18201 _ACEOF
18202 rm -f conftest.$ac_objext
18203 if { (ac_try="$ac_compile"
18204 case "(($ac_try" in
18205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18207 esac
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_compile") 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } && {
18216 test -z "$ac_c_werror_flag" ||
18217 test ! -s conftest.err
18218 } && test -s conftest.$ac_objext; then
18219 ac_cv_member_struct_ff_effect_direction=yes
18220 else
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #ifdef HAVE_LINUX_INPUT_H
18231 #include <linux/input.h>
18232 #endif
18235 main ()
18237 static struct ff_effect ac_aggr;
18238 if (sizeof ac_aggr.direction)
18239 return 0;
18241 return 0;
18243 _ACEOF
18244 rm -f conftest.$ac_objext
18245 if { (ac_try="$ac_compile"
18246 case "(($ac_try" in
18247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18248 *) ac_try_echo=$ac_try;;
18249 esac
18250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18251 (eval "$ac_compile") 2>conftest.er1
18252 ac_status=$?
18253 grep -v '^ *+' conftest.er1 >conftest.err
18254 rm -f conftest.er1
18255 cat conftest.err >&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } && {
18258 test -z "$ac_c_werror_flag" ||
18259 test ! -s conftest.err
18260 } && test -s conftest.$ac_objext; then
18261 ac_cv_member_struct_ff_effect_direction=yes
18262 else
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18266 ac_cv_member_struct_ff_effect_direction=no
18269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18275 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18276 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18280 _ACEOF
18286 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18287 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18288 if test "${wine_cv_have_sigaddset+set}" = set; then
18289 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 else
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 #include <signal.h>
18299 main ()
18301 sigset_t set; sigaddset(&set,SIGTERM);
18303 return 0;
18305 _ACEOF
18306 rm -f conftest.$ac_objext conftest$ac_exeext
18307 if { (ac_try="$ac_link"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18311 esac
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_link") 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest$ac_exeext &&
18323 $as_test_x conftest$ac_exeext; then
18324 wine_cv_have_sigaddset=yes
18325 else
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.$ac_ext >&5
18329 wine_cv_have_sigaddset=no
18332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18333 conftest$ac_exeext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18336 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18337 if test "$wine_cv_have_sigaddset" = "yes"
18338 then
18340 cat >>confdefs.h <<\_ACEOF
18341 #define HAVE_SIGADDSET 1
18342 _ACEOF
18347 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18348 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18349 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 #include <netdb.h>
18360 main ()
18363 char *name=0;
18364 struct hostent he;
18365 struct hostent *result;
18366 char *buf=0;
18367 int bufsize=0;
18368 int res,errnr;
18369 char *addr=0;
18370 int addrlen=0;
18371 int addrtype=0;
18372 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18373 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18376 return 0;
18378 _ACEOF
18379 rm -f conftest.$ac_objext conftest$ac_exeext
18380 if { (ac_try="$ac_link"
18381 case "(($ac_try" in
18382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18384 esac
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_link") 2>conftest.er1
18387 ac_status=$?
18388 grep -v '^ *+' conftest.er1 >conftest.err
18389 rm -f conftest.er1
18390 cat conftest.err >&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest$ac_exeext &&
18396 $as_test_x conftest$ac_exeext; then
18397 wine_cv_linux_gethostbyname_r_6=yes
18398 else
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 wine_cv_linux_gethostbyname_r_6=no
18406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18407 conftest$ac_exeext conftest.$ac_ext
18410 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18411 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18412 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18413 then
18415 cat >>confdefs.h <<\_ACEOF
18416 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18417 _ACEOF
18421 if test "$ac_cv_header_linux_joystick_h" = "yes"
18422 then
18423 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18424 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18425 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 else
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18435 #include <sys/ioctl.h>
18436 #include <sys/types.h>
18437 #include <linux/joystick.h>
18439 struct js_event blub;
18440 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18441 #error "no 2.2 header"
18442 #endif
18445 main ()
18447 /*empty*/
18449 return 0;
18451 _ACEOF
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 wine_cv_linux_joystick_22_api=yes
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18474 wine_cv_linux_joystick_22_api=no
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18480 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18481 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18482 if test "$wine_cv_linux_joystick_22_api" = "yes"
18483 then
18485 cat >>confdefs.h <<\_ACEOF
18486 #define HAVE_LINUX_22_JOYSTICK_API 1
18487 _ACEOF
18493 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18494 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18495 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 else
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <sys/types.h>
18505 #ifdef HAVE_SYS_PARAM_H
18506 # include <sys/param.h>
18507 #endif
18508 #ifdef HAVE_SYS_MOUNT_H
18509 # include <sys/mount.h>
18510 #endif
18511 #ifdef HAVE_SYS_VFS_H
18512 # include <sys/vfs.h>
18513 #endif
18514 #ifdef HAVE_SYS_STATFS_H
18515 # include <sys/statfs.h>
18516 #endif
18519 main ()
18521 static struct statfs ac_aggr;
18522 if (ac_aggr.f_bfree)
18523 return 0;
18525 return 0;
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (ac_try="$ac_compile"
18530 case "(($ac_try" in
18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18533 esac
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_compile") 2>conftest.er1
18536 ac_status=$?
18537 grep -v '^ *+' conftest.er1 >conftest.err
18538 rm -f conftest.er1
18539 cat conftest.err >&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } && {
18542 test -z "$ac_c_werror_flag" ||
18543 test ! -s conftest.err
18544 } && test -s conftest.$ac_objext; then
18545 ac_cv_member_struct_statfs_f_bfree=yes
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <sys/types.h>
18557 #ifdef HAVE_SYS_PARAM_H
18558 # include <sys/param.h>
18559 #endif
18560 #ifdef HAVE_SYS_MOUNT_H
18561 # include <sys/mount.h>
18562 #endif
18563 #ifdef HAVE_SYS_VFS_H
18564 # include <sys/vfs.h>
18565 #endif
18566 #ifdef HAVE_SYS_STATFS_H
18567 # include <sys/statfs.h>
18568 #endif
18571 main ()
18573 static struct statfs ac_aggr;
18574 if (sizeof ac_aggr.f_bfree)
18575 return 0;
18577 return 0;
18579 _ACEOF
18580 rm -f conftest.$ac_objext
18581 if { (ac_try="$ac_compile"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_compile") 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest.$ac_objext; then
18597 ac_cv_member_struct_statfs_f_bfree=yes
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 ac_cv_member_struct_statfs_f_bfree=no
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18611 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18612 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18614 cat >>confdefs.h <<_ACEOF
18615 #define HAVE_STRUCT_STATFS_F_BFREE 1
18616 _ACEOF
18620 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18621 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18622 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 else
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 #include <sys/types.h>
18632 #ifdef HAVE_SYS_PARAM_H
18633 # include <sys/param.h>
18634 #endif
18635 #ifdef HAVE_SYS_MOUNT_H
18636 # include <sys/mount.h>
18637 #endif
18638 #ifdef HAVE_SYS_VFS_H
18639 # include <sys/vfs.h>
18640 #endif
18641 #ifdef HAVE_SYS_STATFS_H
18642 # include <sys/statfs.h>
18643 #endif
18646 main ()
18648 static struct statfs ac_aggr;
18649 if (ac_aggr.f_bavail)
18650 return 0;
18652 return 0;
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_statfs_f_bavail=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 #include <sys/types.h>
18684 #ifdef HAVE_SYS_PARAM_H
18685 # include <sys/param.h>
18686 #endif
18687 #ifdef HAVE_SYS_MOUNT_H
18688 # include <sys/mount.h>
18689 #endif
18690 #ifdef HAVE_SYS_VFS_H
18691 # include <sys/vfs.h>
18692 #endif
18693 #ifdef HAVE_SYS_STATFS_H
18694 # include <sys/statfs.h>
18695 #endif
18698 main ()
18700 static struct statfs ac_aggr;
18701 if (sizeof ac_aggr.f_bavail)
18702 return 0;
18704 return 0;
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 ac_cv_member_struct_statfs_f_bavail=yes
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 ac_cv_member_struct_statfs_f_bavail=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18738 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18739 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18743 _ACEOF
18747 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18748 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18749 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 else
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <sys/types.h>
18759 #ifdef HAVE_SYS_PARAM_H
18760 # include <sys/param.h>
18761 #endif
18762 #ifdef HAVE_SYS_MOUNT_H
18763 # include <sys/mount.h>
18764 #endif
18765 #ifdef HAVE_SYS_VFS_H
18766 # include <sys/vfs.h>
18767 #endif
18768 #ifdef HAVE_SYS_STATFS_H
18769 # include <sys/statfs.h>
18770 #endif
18773 main ()
18775 static struct statfs ac_aggr;
18776 if (ac_aggr.f_frsize)
18777 return 0;
18779 return 0;
18781 _ACEOF
18782 rm -f conftest.$ac_objext
18783 if { (ac_try="$ac_compile"
18784 case "(($ac_try" in
18785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18787 esac
18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 (eval "$ac_compile") 2>conftest.er1
18790 ac_status=$?
18791 grep -v '^ *+' conftest.er1 >conftest.err
18792 rm -f conftest.er1
18793 cat conftest.err >&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } && {
18796 test -z "$ac_c_werror_flag" ||
18797 test ! -s conftest.err
18798 } && test -s conftest.$ac_objext; then
18799 ac_cv_member_struct_statfs_f_frsize=yes
18800 else
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 #include <sys/types.h>
18811 #ifdef HAVE_SYS_PARAM_H
18812 # include <sys/param.h>
18813 #endif
18814 #ifdef HAVE_SYS_MOUNT_H
18815 # include <sys/mount.h>
18816 #endif
18817 #ifdef HAVE_SYS_VFS_H
18818 # include <sys/vfs.h>
18819 #endif
18820 #ifdef HAVE_SYS_STATFS_H
18821 # include <sys/statfs.h>
18822 #endif
18825 main ()
18827 static struct statfs ac_aggr;
18828 if (sizeof ac_aggr.f_frsize)
18829 return 0;
18831 return 0;
18833 _ACEOF
18834 rm -f conftest.$ac_objext
18835 if { (ac_try="$ac_compile"
18836 case "(($ac_try" in
18837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18838 *) ac_try_echo=$ac_try;;
18839 esac
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_compile") 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } && {
18848 test -z "$ac_c_werror_flag" ||
18849 test ! -s conftest.err
18850 } && test -s conftest.$ac_objext; then
18851 ac_cv_member_struct_statfs_f_frsize=yes
18852 else
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18856 ac_cv_member_struct_statfs_f_frsize=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18864 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18865 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18866 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18870 _ACEOF
18874 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18875 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18876 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18878 else
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h. */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 #include <sys/types.h>
18886 #ifdef HAVE_SYS_PARAM_H
18887 # include <sys/param.h>
18888 #endif
18889 #ifdef HAVE_SYS_MOUNT_H
18890 # include <sys/mount.h>
18891 #endif
18892 #ifdef HAVE_SYS_VFS_H
18893 # include <sys/vfs.h>
18894 #endif
18895 #ifdef HAVE_SYS_STATFS_H
18896 # include <sys/statfs.h>
18897 #endif
18900 main ()
18902 static struct statfs ac_aggr;
18903 if (ac_aggr.f_ffree)
18904 return 0;
18906 return 0;
18908 _ACEOF
18909 rm -f conftest.$ac_objext
18910 if { (ac_try="$ac_compile"
18911 case "(($ac_try" in
18912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18913 *) ac_try_echo=$ac_try;;
18914 esac
18915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18916 (eval "$ac_compile") 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } && {
18923 test -z "$ac_c_werror_flag" ||
18924 test ! -s conftest.err
18925 } && test -s conftest.$ac_objext; then
18926 ac_cv_member_struct_statfs_f_ffree=yes
18927 else
18928 echo "$as_me: failed program was:" >&5
18929 sed 's/^/| /' conftest.$ac_ext >&5
18931 cat >conftest.$ac_ext <<_ACEOF
18932 /* confdefs.h. */
18933 _ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937 #include <sys/types.h>
18938 #ifdef HAVE_SYS_PARAM_H
18939 # include <sys/param.h>
18940 #endif
18941 #ifdef HAVE_SYS_MOUNT_H
18942 # include <sys/mount.h>
18943 #endif
18944 #ifdef HAVE_SYS_VFS_H
18945 # include <sys/vfs.h>
18946 #endif
18947 #ifdef HAVE_SYS_STATFS_H
18948 # include <sys/statfs.h>
18949 #endif
18952 main ()
18954 static struct statfs ac_aggr;
18955 if (sizeof ac_aggr.f_ffree)
18956 return 0;
18958 return 0;
18960 _ACEOF
18961 rm -f conftest.$ac_objext
18962 if { (ac_try="$ac_compile"
18963 case "(($ac_try" in
18964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18965 *) ac_try_echo=$ac_try;;
18966 esac
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_compile") 2>conftest.er1
18969 ac_status=$?
18970 grep -v '^ *+' conftest.er1 >conftest.err
18971 rm -f conftest.er1
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest.$ac_objext; then
18978 ac_cv_member_struct_statfs_f_ffree=yes
18979 else
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18983 ac_cv_member_struct_statfs_f_ffree=no
18986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18992 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18993 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STATFS_F_FFREE 1
18997 _ACEOF
19001 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19002 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19003 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19004 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 else
19006 cat >conftest.$ac_ext <<_ACEOF
19007 /* confdefs.h. */
19008 _ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 #include <sys/types.h>
19013 #ifdef HAVE_SYS_PARAM_H
19014 # include <sys/param.h>
19015 #endif
19016 #ifdef HAVE_SYS_MOUNT_H
19017 # include <sys/mount.h>
19018 #endif
19019 #ifdef HAVE_SYS_VFS_H
19020 # include <sys/vfs.h>
19021 #endif
19022 #ifdef HAVE_SYS_STATFS_H
19023 # include <sys/statfs.h>
19024 #endif
19027 main ()
19029 static struct statfs ac_aggr;
19030 if (ac_aggr.f_favail)
19031 return 0;
19033 return 0;
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (ac_try="$ac_compile"
19038 case "(($ac_try" in
19039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19040 *) ac_try_echo=$ac_try;;
19041 esac
19042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19043 (eval "$ac_compile") 2>conftest.er1
19044 ac_status=$?
19045 grep -v '^ *+' conftest.er1 >conftest.err
19046 rm -f conftest.er1
19047 cat conftest.err >&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } && {
19050 test -z "$ac_c_werror_flag" ||
19051 test ! -s conftest.err
19052 } && test -s conftest.$ac_objext; then
19053 ac_cv_member_struct_statfs_f_favail=yes
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19058 cat >conftest.$ac_ext <<_ACEOF
19059 /* confdefs.h. */
19060 _ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 #include <sys/types.h>
19065 #ifdef HAVE_SYS_PARAM_H
19066 # include <sys/param.h>
19067 #endif
19068 #ifdef HAVE_SYS_MOUNT_H
19069 # include <sys/mount.h>
19070 #endif
19071 #ifdef HAVE_SYS_VFS_H
19072 # include <sys/vfs.h>
19073 #endif
19074 #ifdef HAVE_SYS_STATFS_H
19075 # include <sys/statfs.h>
19076 #endif
19079 main ()
19081 static struct statfs ac_aggr;
19082 if (sizeof ac_aggr.f_favail)
19083 return 0;
19085 return 0;
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 ac_cv_member_struct_statfs_f_favail=yes
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19110 ac_cv_member_struct_statfs_f_favail=no
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19119 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19120 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19124 _ACEOF
19128 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19129 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19130 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 else
19133 cat >conftest.$ac_ext <<_ACEOF
19134 /* confdefs.h. */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <sys/types.h>
19140 #ifdef HAVE_SYS_PARAM_H
19141 # include <sys/param.h>
19142 #endif
19143 #ifdef HAVE_SYS_MOUNT_H
19144 # include <sys/mount.h>
19145 #endif
19146 #ifdef HAVE_SYS_VFS_H
19147 # include <sys/vfs.h>
19148 #endif
19149 #ifdef HAVE_SYS_STATFS_H
19150 # include <sys/statfs.h>
19151 #endif
19154 main ()
19156 static struct statfs ac_aggr;
19157 if (ac_aggr.f_namelen)
19158 return 0;
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_struct_statfs_f_namelen=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_PARAM_H
19193 # include <sys/param.h>
19194 #endif
19195 #ifdef HAVE_SYS_MOUNT_H
19196 # include <sys/mount.h>
19197 #endif
19198 #ifdef HAVE_SYS_VFS_H
19199 # include <sys/vfs.h>
19200 #endif
19201 #ifdef HAVE_SYS_STATFS_H
19202 # include <sys/statfs.h>
19203 #endif
19206 main ()
19208 static struct statfs ac_aggr;
19209 if (sizeof ac_aggr.f_namelen)
19210 return 0;
19212 return 0;
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (ac_try="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19220 esac
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_c_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.$ac_objext; then
19232 ac_cv_member_struct_statfs_f_namelen=yes
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 ac_cv_member_struct_statfs_f_namelen=no
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19246 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19247 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19251 _ACEOF
19257 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19258 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19259 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 else
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 #ifdef HAVE_SYS_STATVFS_H
19269 #include <sys/statvfs.h>
19270 #endif
19273 main ()
19275 static struct statvfs ac_aggr;
19276 if (ac_aggr.f_blocks)
19277 return 0;
19279 return 0;
19281 _ACEOF
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19287 esac
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_cv_member_struct_statvfs_f_blocks=yes
19300 else
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 cat >conftest.$ac_ext <<_ACEOF
19305 /* confdefs.h. */
19306 _ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 #ifdef HAVE_SYS_STATVFS_H
19311 #include <sys/statvfs.h>
19312 #endif
19315 main ()
19317 static struct statvfs ac_aggr;
19318 if (sizeof ac_aggr.f_blocks)
19319 return 0;
19321 return 0;
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (ac_try="$ac_compile"
19326 case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;;
19329 esac
19330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_compile") 2>conftest.er1
19332 ac_status=$?
19333 grep -v '^ *+' conftest.er1 >conftest.err
19334 rm -f conftest.er1
19335 cat conftest.err >&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && {
19338 test -z "$ac_c_werror_flag" ||
19339 test ! -s conftest.err
19340 } && test -s conftest.$ac_objext; then
19341 ac_cv_member_struct_statvfs_f_blocks=yes
19342 else
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.$ac_ext >&5
19346 ac_cv_member_struct_statvfs_f_blocks=no
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19354 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19355 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19356 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19360 _ACEOF
19366 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19367 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19368 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19370 else
19371 cat >conftest.$ac_ext <<_ACEOF
19372 /* confdefs.h. */
19373 _ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 #include <sys/types.h>
19378 #ifdef HAVE_SYS_SOCKET_H
19379 # include <sys/socket.h>
19380 #endif
19381 #ifdef HAVE_SYS_UN_H
19382 # include <sys/un.h>
19383 #endif
19386 main ()
19388 static struct msghdr ac_aggr;
19389 if (ac_aggr.msg_accrights)
19390 return 0;
19392 return 0;
19394 _ACEOF
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19400 esac
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19403 ac_status=$?
19404 grep -v '^ *+' conftest.er1 >conftest.err
19405 rm -f conftest.er1
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.$ac_objext; then
19412 ac_cv_member_struct_msghdr_msg_accrights=yes
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <sys/types.h>
19424 #ifdef HAVE_SYS_SOCKET_H
19425 # include <sys/socket.h>
19426 #endif
19427 #ifdef HAVE_SYS_UN_H
19428 # include <sys/un.h>
19429 #endif
19432 main ()
19434 static struct msghdr ac_aggr;
19435 if (sizeof ac_aggr.msg_accrights)
19436 return 0;
19438 return 0;
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_msghdr_msg_accrights=yes
19459 else
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 ac_cv_member_struct_msghdr_msg_accrights=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19473 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19475 cat >>confdefs.h <<_ACEOF
19476 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19477 _ACEOF
19481 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19482 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19483 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 else
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_SOCKET_H
19494 # include <sys/socket.h>
19495 #endif
19496 #ifdef HAVE_SYS_UN_H
19497 # include <sys/un.h>
19498 #endif
19501 main ()
19503 static struct sockaddr ac_aggr;
19504 if (ac_aggr.sa_len)
19505 return 0;
19507 return 0;
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_cv_member_struct_sockaddr_sa_len=yes
19528 else
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_SOCKET_H
19540 # include <sys/socket.h>
19541 #endif
19542 #ifdef HAVE_SYS_UN_H
19543 # include <sys/un.h>
19544 #endif
19547 main ()
19549 static struct sockaddr ac_aggr;
19550 if (sizeof ac_aggr.sa_len)
19551 return 0;
19553 return 0;
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19561 esac
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.$ac_objext; then
19573 ac_cv_member_struct_sockaddr_sa_len=yes
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19578 ac_cv_member_struct_sockaddr_sa_len=no
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19587 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19588 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19590 cat >>confdefs.h <<_ACEOF
19591 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19592 _ACEOF
19596 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19597 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19598 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 else
19601 cat >conftest.$ac_ext <<_ACEOF
19602 /* confdefs.h. */
19603 _ACEOF
19604 cat confdefs.h >>conftest.$ac_ext
19605 cat >>conftest.$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 #include <sys/types.h>
19608 #ifdef HAVE_SYS_SOCKET_H
19609 # include <sys/socket.h>
19610 #endif
19611 #ifdef HAVE_SYS_UN_H
19612 # include <sys/un.h>
19613 #endif
19616 main ()
19618 static struct sockaddr_un ac_aggr;
19619 if (ac_aggr.sun_len)
19620 return 0;
19622 return 0;
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 ac_cv_member_struct_sockaddr_un_sun_len=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 cat >conftest.$ac_ext <<_ACEOF
19648 /* confdefs.h. */
19649 _ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #include <sys/types.h>
19654 #ifdef HAVE_SYS_SOCKET_H
19655 # include <sys/socket.h>
19656 #endif
19657 #ifdef HAVE_SYS_UN_H
19658 # include <sys/un.h>
19659 #endif
19662 main ()
19664 static struct sockaddr_un ac_aggr;
19665 if (sizeof ac_aggr.sun_len)
19666 return 0;
19668 return 0;
19670 _ACEOF
19671 rm -f conftest.$ac_objext
19672 if { (ac_try="$ac_compile"
19673 case "(($ac_try" in
19674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19675 *) ac_try_echo=$ac_try;;
19676 esac
19677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_compile") 2>conftest.er1
19679 ac_status=$?
19680 grep -v '^ *+' conftest.er1 >conftest.err
19681 rm -f conftest.er1
19682 cat conftest.err >&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } && {
19685 test -z "$ac_c_werror_flag" ||
19686 test ! -s conftest.err
19687 } && test -s conftest.$ac_objext; then
19688 ac_cv_member_struct_sockaddr_un_sun_len=yes
19689 else
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.$ac_ext >&5
19693 ac_cv_member_struct_sockaddr_un_sun_len=no
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19702 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19703 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19705 cat >>confdefs.h <<_ACEOF
19706 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19707 _ACEOF
19713 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19714 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19715 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 else
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SCSI_SG_H
19726 #include <scsi/sg.h>
19727 #endif
19730 main ()
19732 static scsireq_t ac_aggr;
19733 if (ac_aggr.cmd)
19734 return 0;
19736 return 0;
19738 _ACEOF
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19744 esac
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19747 ac_status=$?
19748 grep -v '^ *+' conftest.er1 >conftest.err
19749 rm -f conftest.er1
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_scsireq_t_cmd=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <sys/types.h>
19768 #ifdef HAVE_SCSI_SG_H
19769 #include <scsi/sg.h>
19770 #endif
19773 main ()
19775 static scsireq_t ac_aggr;
19776 if (sizeof ac_aggr.cmd)
19777 return 0;
19779 return 0;
19781 _ACEOF
19782 rm -f conftest.$ac_objext
19783 if { (ac_try="$ac_compile"
19784 case "(($ac_try" in
19785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 *) ac_try_echo=$ac_try;;
19787 esac
19788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_compile") 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } && {
19796 test -z "$ac_c_werror_flag" ||
19797 test ! -s conftest.err
19798 } && test -s conftest.$ac_objext; then
19799 ac_cv_member_scsireq_t_cmd=yes
19800 else
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_cv_member_scsireq_t_cmd=no
19807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19813 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19814 if test $ac_cv_member_scsireq_t_cmd = yes; then
19816 cat >>confdefs.h <<_ACEOF
19817 #define HAVE_SCSIREQ_T_CMD 1
19818 _ACEOF
19822 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19823 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19824 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19826 else
19827 cat >conftest.$ac_ext <<_ACEOF
19828 /* confdefs.h. */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 #include <sys/types.h>
19834 #ifdef HAVE_SCSI_SG_H
19835 #include <scsi/sg.h>
19836 #endif
19839 main ()
19841 static sg_io_hdr_t ac_aggr;
19842 if (ac_aggr.interface_id)
19843 return 0;
19845 return 0;
19847 _ACEOF
19848 rm -f conftest.$ac_objext
19849 if { (ac_try="$ac_compile"
19850 case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19853 esac
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_compile") 2>conftest.er1
19856 ac_status=$?
19857 grep -v '^ *+' conftest.er1 >conftest.err
19858 rm -f conftest.er1
19859 cat conftest.err >&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); } && {
19862 test -z "$ac_c_werror_flag" ||
19863 test ! -s conftest.err
19864 } && test -s conftest.$ac_objext; then
19865 ac_cv_member_sg_io_hdr_t_interface_id=yes
19866 else
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19870 cat >conftest.$ac_ext <<_ACEOF
19871 /* confdefs.h. */
19872 _ACEOF
19873 cat confdefs.h >>conftest.$ac_ext
19874 cat >>conftest.$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19876 #include <sys/types.h>
19877 #ifdef HAVE_SCSI_SG_H
19878 #include <scsi/sg.h>
19879 #endif
19882 main ()
19884 static sg_io_hdr_t ac_aggr;
19885 if (sizeof ac_aggr.interface_id)
19886 return 0;
19888 return 0;
19890 _ACEOF
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19895 *) ac_try_echo=$ac_try;;
19896 esac
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19899 ac_status=$?
19900 grep -v '^ *+' conftest.er1 >conftest.err
19901 rm -f conftest.er1
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.$ac_objext; then
19908 ac_cv_member_sg_io_hdr_t_interface_id=yes
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_cv_member_sg_io_hdr_t_interface_id=no
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19921 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19922 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19923 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19925 cat >>confdefs.h <<_ACEOF
19926 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19927 _ACEOF
19933 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19934 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19935 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #include <signal.h>
19947 main ()
19949 static siginfo_t ac_aggr;
19950 if (ac_aggr.si_fd)
19951 return 0;
19953 return 0;
19955 _ACEOF
19956 rm -f conftest.$ac_objext
19957 if { (ac_try="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19961 esac
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19964 ac_status=$?
19965 grep -v '^ *+' conftest.er1 >conftest.err
19966 rm -f conftest.er1
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19973 ac_cv_member_siginfo_t_si_fd=yes
19974 else
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 #include <signal.h>
19987 main ()
19989 static siginfo_t ac_aggr;
19990 if (sizeof ac_aggr.si_fd)
19991 return 0;
19993 return 0;
19995 _ACEOF
19996 rm -f conftest.$ac_objext
19997 if { (ac_try="$ac_compile"
19998 case "(($ac_try" in
19999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20000 *) ac_try_echo=$ac_try;;
20001 esac
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_compile") 2>conftest.er1
20004 ac_status=$?
20005 grep -v '^ *+' conftest.er1 >conftest.err
20006 rm -f conftest.er1
20007 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } && {
20010 test -z "$ac_c_werror_flag" ||
20011 test ! -s conftest.err
20012 } && test -s conftest.$ac_objext; then
20013 ac_cv_member_siginfo_t_si_fd=yes
20014 else
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20018 ac_cv_member_siginfo_t_si_fd=no
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20027 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20028 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20030 cat >>confdefs.h <<_ACEOF
20031 #define HAVE_SIGINFO_T_SI_FD 1
20032 _ACEOF
20038 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20039 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20040 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 else
20043 cat >conftest.$ac_ext <<_ACEOF
20044 /* confdefs.h. */
20045 _ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20049 #include <sys/types.h>
20050 #ifdef HAVE_SYS_MTIO_H
20051 #include <sys/mtio.h>
20052 #endif
20055 main ()
20057 static struct mtget ac_aggr;
20058 if (ac_aggr.mt_blksiz)
20059 return 0;
20061 return 0;
20063 _ACEOF
20064 rm -f conftest.$ac_objext
20065 if { (ac_try="$ac_compile"
20066 case "(($ac_try" in
20067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20069 esac
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } && {
20078 test -z "$ac_c_werror_flag" ||
20079 test ! -s conftest.err
20080 } && test -s conftest.$ac_objext; then
20081 ac_cv_member_struct_mtget_mt_blksiz=yes
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 #include <sys/types.h>
20093 #ifdef HAVE_SYS_MTIO_H
20094 #include <sys/mtio.h>
20095 #endif
20098 main ()
20100 static struct mtget ac_aggr;
20101 if (sizeof ac_aggr.mt_blksiz)
20102 return 0;
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (ac_try="$ac_compile"
20109 case "(($ac_try" in
20110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20111 *) ac_try_echo=$ac_try;;
20112 esac
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_compile") 2>conftest.er1
20115 ac_status=$?
20116 grep -v '^ *+' conftest.er1 >conftest.err
20117 rm -f conftest.er1
20118 cat conftest.err >&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } && {
20121 test -z "$ac_c_werror_flag" ||
20122 test ! -s conftest.err
20123 } && test -s conftest.$ac_objext; then
20124 ac_cv_member_struct_mtget_mt_blksiz=yes
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20129 ac_cv_member_struct_mtget_mt_blksiz=no
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20138 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20139 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20141 cat >>confdefs.h <<_ACEOF
20142 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20143 _ACEOF
20147 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20148 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20149 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20150 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 else
20152 cat >conftest.$ac_ext <<_ACEOF
20153 /* confdefs.h. */
20154 _ACEOF
20155 cat confdefs.h >>conftest.$ac_ext
20156 cat >>conftest.$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 #include <sys/types.h>
20159 #ifdef HAVE_SYS_MTIO_H
20160 #include <sys/mtio.h>
20161 #endif
20164 main ()
20166 static struct mtget ac_aggr;
20167 if (ac_aggr.mt_gstat)
20168 return 0;
20170 return 0;
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20181 ac_status=$?
20182 grep -v '^ *+' conftest.er1 >conftest.err
20183 rm -f conftest.er1
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 ac_cv_member_struct_mtget_mt_gstat=yes
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #include <sys/types.h>
20202 #ifdef HAVE_SYS_MTIO_H
20203 #include <sys/mtio.h>
20204 #endif
20207 main ()
20209 static struct mtget ac_aggr;
20210 if (sizeof ac_aggr.mt_gstat)
20211 return 0;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20221 esac
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_member_struct_mtget_mt_gstat=yes
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_cv_member_struct_mtget_mt_gstat=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20247 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20248 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20250 cat >>confdefs.h <<_ACEOF
20251 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20252 _ACEOF
20256 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20257 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <sys/types.h>
20268 #ifdef HAVE_SYS_MTIO_H
20269 #include <sys/mtio.h>
20270 #endif
20273 main ()
20275 static struct mtget ac_aggr;
20276 if (ac_aggr.mt_blkno)
20277 return 0;
20279 return 0;
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_cv_member_struct_mtget_mt_blkno=yes
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20304 cat >conftest.$ac_ext <<_ACEOF
20305 /* confdefs.h. */
20306 _ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 #include <sys/types.h>
20311 #ifdef HAVE_SYS_MTIO_H
20312 #include <sys/mtio.h>
20313 #endif
20316 main ()
20318 static struct mtget ac_aggr;
20319 if (sizeof ac_aggr.mt_blkno)
20320 return 0;
20322 return 0;
20324 _ACEOF
20325 rm -f conftest.$ac_objext
20326 if { (ac_try="$ac_compile"
20327 case "(($ac_try" in
20328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20329 *) ac_try_echo=$ac_try;;
20330 esac
20331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20332 (eval "$ac_compile") 2>conftest.er1
20333 ac_status=$?
20334 grep -v '^ *+' conftest.er1 >conftest.err
20335 rm -f conftest.er1
20336 cat conftest.err >&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } && {
20339 test -z "$ac_c_werror_flag" ||
20340 test ! -s conftest.err
20341 } && test -s conftest.$ac_objext; then
20342 ac_cv_member_struct_mtget_mt_blkno=yes
20343 else
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20347 ac_cv_member_struct_mtget_mt_blkno=no
20350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20356 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20357 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20359 cat >>confdefs.h <<_ACEOF
20360 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20361 _ACEOF
20367 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20368 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20369 if test "${ac_cv_member_struct_option_name+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20371 else
20372 cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h. */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 #ifdef HAVE_GETOPT_H
20379 #include <getopt.h>
20380 #endif
20383 main ()
20385 static struct option ac_aggr;
20386 if (ac_aggr.name)
20387 return 0;
20389 return 0;
20391 _ACEOF
20392 rm -f conftest.$ac_objext
20393 if { (ac_try="$ac_compile"
20394 case "(($ac_try" in
20395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20396 *) ac_try_echo=$ac_try;;
20397 esac
20398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20399 (eval "$ac_compile") 2>conftest.er1
20400 ac_status=$?
20401 grep -v '^ *+' conftest.er1 >conftest.err
20402 rm -f conftest.er1
20403 cat conftest.err >&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } && {
20406 test -z "$ac_c_werror_flag" ||
20407 test ! -s conftest.err
20408 } && test -s conftest.$ac_objext; then
20409 ac_cv_member_struct_option_name=yes
20410 else
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 cat >conftest.$ac_ext <<_ACEOF
20415 /* confdefs.h. */
20416 _ACEOF
20417 cat confdefs.h >>conftest.$ac_ext
20418 cat >>conftest.$ac_ext <<_ACEOF
20419 /* end confdefs.h. */
20420 #ifdef HAVE_GETOPT_H
20421 #include <getopt.h>
20422 #endif
20425 main ()
20427 static struct option ac_aggr;
20428 if (sizeof ac_aggr.name)
20429 return 0;
20431 return 0;
20433 _ACEOF
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_cv_member_struct_option_name=yes
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20456 ac_cv_member_struct_option_name=no
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20465 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20466 if test $ac_cv_member_struct_option_name = yes; then
20468 cat >>confdefs.h <<_ACEOF
20469 #define HAVE_STRUCT_OPTION_NAME 1
20470 _ACEOF
20476 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20477 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20478 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 else
20481 cat >conftest.$ac_ext <<_ACEOF
20482 /* confdefs.h. */
20483 _ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20489 main ()
20491 static struct stat ac_aggr;
20492 if (ac_aggr.st_blocks)
20493 return 0;
20495 return 0;
20497 _ACEOF
20498 rm -f conftest.$ac_objext
20499 if { (ac_try="$ac_compile"
20500 case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503 esac
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compile") 2>conftest.er1
20506 ac_status=$?
20507 grep -v '^ *+' conftest.er1 >conftest.err
20508 rm -f conftest.er1
20509 cat conftest.err >&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && {
20512 test -z "$ac_c_werror_flag" ||
20513 test ! -s conftest.err
20514 } && test -s conftest.$ac_objext; then
20515 ac_cv_member_struct_stat_st_blocks=yes
20516 else
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20528 main ()
20530 static struct stat ac_aggr;
20531 if (sizeof ac_aggr.st_blocks)
20532 return 0;
20534 return 0;
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20542 esac
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20545 ac_status=$?
20546 grep -v '^ *+' conftest.er1 >conftest.err
20547 rm -f conftest.er1
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.$ac_objext; then
20554 ac_cv_member_struct_stat_st_blocks=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 ac_cv_member_struct_stat_st_blocks=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20568 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20569 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20571 cat >>confdefs.h <<_ACEOF
20572 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20573 _ACEOF
20579 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20580 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20581 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 else
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #ifdef HAVE_SYS_TYPES_H
20591 #include <sys/types.h>
20592 #endif
20593 #ifdef HAVE_NETINET_IN_H
20594 #include <netinet/in.h>
20595 #endif
20598 main ()
20600 static struct sockaddr_in6 ac_aggr;
20601 if (ac_aggr.sin6_scope_id)
20602 return 0;
20604 return 0;
20606 _ACEOF
20607 rm -f conftest.$ac_objext
20608 if { (ac_try="$ac_compile"
20609 case "(($ac_try" in
20610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20611 *) ac_try_echo=$ac_try;;
20612 esac
20613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20614 (eval "$ac_compile") 2>conftest.er1
20615 ac_status=$?
20616 grep -v '^ *+' conftest.er1 >conftest.err
20617 rm -f conftest.er1
20618 cat conftest.err >&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } && {
20621 test -z "$ac_c_werror_flag" ||
20622 test ! -s conftest.err
20623 } && test -s conftest.$ac_objext; then
20624 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 cat >conftest.$ac_ext <<_ACEOF
20630 /* confdefs.h. */
20631 _ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20635 #ifdef HAVE_SYS_TYPES_H
20636 #include <sys/types.h>
20637 #endif
20638 #ifdef HAVE_NETINET_IN_H
20639 #include <netinet/in.h>
20640 #endif
20643 main ()
20645 static struct sockaddr_in6 ac_aggr;
20646 if (sizeof ac_aggr.sin6_scope_id)
20647 return 0;
20649 return 0;
20651 _ACEOF
20652 rm -f conftest.$ac_objext
20653 if { (ac_try="$ac_compile"
20654 case "(($ac_try" in
20655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20656 *) ac_try_echo=$ac_try;;
20657 esac
20658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20659 (eval "$ac_compile") 2>conftest.er1
20660 ac_status=$?
20661 grep -v '^ *+' conftest.er1 >conftest.err
20662 rm -f conftest.er1
20663 cat conftest.err >&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } && {
20666 test -z "$ac_c_werror_flag" ||
20667 test ! -s conftest.err
20668 } && test -s conftest.$ac_objext; then
20669 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20670 else
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.$ac_ext >&5
20674 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20684 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20686 cat >>confdefs.h <<_ACEOF
20687 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20688 _ACEOF
20694 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20695 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20696 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 else
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 #ifdef HAVE_SYS_TYPES_H
20706 #include <sys/types.h>
20707 #endif
20708 #ifdef HAVE_NETINET_IN_H
20709 # include <netinet/in.h>
20710 #endif
20711 #ifdef HAVE_ARPA_NAMESER_H
20712 # include <arpa/nameser.h>
20713 #endif
20716 main ()
20718 static ns_msg ac_aggr;
20719 if (ac_aggr._msg_ptr)
20720 return 0;
20722 return 0;
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20742 ac_cv_member_ns_msg__msg_ptr=yes
20743 else
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20747 cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h. */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 #ifdef HAVE_SYS_TYPES_H
20754 #include <sys/types.h>
20755 #endif
20756 #ifdef HAVE_NETINET_IN_H
20757 # include <netinet/in.h>
20758 #endif
20759 #ifdef HAVE_ARPA_NAMESER_H
20760 # include <arpa/nameser.h>
20761 #endif
20764 main ()
20766 static ns_msg ac_aggr;
20767 if (sizeof ac_aggr._msg_ptr)
20768 return 0;
20770 return 0;
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20778 esac
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20781 ac_status=$?
20782 grep -v '^ *+' conftest.er1 >conftest.err
20783 rm -f conftest.er1
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_cv_member_ns_msg__msg_ptr=yes
20791 else
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.$ac_ext >&5
20795 ac_cv_member_ns_msg__msg_ptr=no
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20803 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20804 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20805 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20807 cat >>confdefs.h <<_ACEOF
20808 #define HAVE_NS_MSG__MSG_PTR 1
20809 _ACEOF
20815 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20816 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20817 if test "${ac_cv_have_timezone+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 else
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <time.h>
20828 main ()
20830 timezone = 1
20832 return 0;
20834 _ACEOF
20835 rm -f conftest.$ac_objext conftest$ac_exeext
20836 if { (ac_try="$ac_link"
20837 case "(($ac_try" in
20838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20840 esac
20841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20842 (eval "$ac_link") 2>conftest.er1
20843 ac_status=$?
20844 grep -v '^ *+' conftest.er1 >conftest.err
20845 rm -f conftest.er1
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } && {
20849 test -z "$ac_c_werror_flag" ||
20850 test ! -s conftest.err
20851 } && test -s conftest$ac_exeext &&
20852 $as_test_x conftest$ac_exeext; then
20853 ac_cv_have_timezone="yes"
20854 else
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 ac_cv_have_timezone="no"
20861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20862 conftest$ac_exeext conftest.$ac_ext
20864 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20865 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20866 if test "$ac_cv_have_timezone" = "yes"
20867 then
20869 cat >>confdefs.h <<\_ACEOF
20870 #define HAVE_TIMEZONE 1
20871 _ACEOF
20874 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20875 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20876 if test "${ac_cv_have_daylight+set}" = set; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20878 else
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 #include <time.h>
20887 main ()
20889 daylight = 1
20891 return 0;
20893 _ACEOF
20894 rm -f conftest.$ac_objext conftest$ac_exeext
20895 if { (ac_try="$ac_link"
20896 case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20899 esac
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_link") 2>conftest.er1
20902 ac_status=$?
20903 grep -v '^ *+' conftest.er1 >conftest.err
20904 rm -f conftest.er1
20905 cat conftest.err >&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } && {
20908 test -z "$ac_c_werror_flag" ||
20909 test ! -s conftest.err
20910 } && test -s conftest$ac_exeext &&
20911 $as_test_x conftest$ac_exeext; then
20912 ac_cv_have_daylight="yes"
20913 else
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20917 ac_cv_have_daylight="no"
20920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20921 conftest$ac_exeext conftest.$ac_ext
20923 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20924 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20925 if test "$ac_cv_have_daylight" = "yes"
20926 then
20928 cat >>confdefs.h <<\_ACEOF
20929 #define HAVE_DAYLIGHT 1
20930 _ACEOF
20935 case $host_cpu in
20936 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20937 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20938 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20939 echo $ECHO_N "(cached) $ECHO_C" >&6
20940 else
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 #ifndef __i386__
20949 #endif
20950 _ACEOF
20951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20952 $EGREP "yes" >/dev/null 2>&1; then
20953 ac_cv_cpp_def___i386__=yes
20954 else
20955 ac_cv_cpp_def___i386__=no
20957 rm -f conftest*
20960 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20961 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20962 if test $ac_cv_cpp_def___i386__ = yes; then
20963 CFLAGS="$CFLAGS -D__i386__"
20964 LINTFLAGS="$LINTFLAGS -D__i386__"
20967 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20968 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20969 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 else
20972 cat >conftest.$ac_ext <<_ACEOF
20973 /* confdefs.h. */
20974 _ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #ifndef __x86_64__
20980 #endif
20981 _ACEOF
20982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20983 $EGREP "yes" >/dev/null 2>&1; then
20984 ac_cv_cpp_def___x86_64__=yes
20985 else
20986 ac_cv_cpp_def___x86_64__=no
20988 rm -f conftest*
20991 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20992 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20993 if test $ac_cv_cpp_def___x86_64__ = yes; then
20994 CFLAGS="$CFLAGS -D__x86_64__"
20995 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20998 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20999 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21000 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 else
21003 cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h. */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 #ifndef __ALPHA__
21011 #endif
21012 _ACEOF
21013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21014 $EGREP "yes" >/dev/null 2>&1; then
21015 ac_cv_cpp_def___ALPHA__=yes
21016 else
21017 ac_cv_cpp_def___ALPHA__=no
21019 rm -f conftest*
21022 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21023 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21024 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21025 CFLAGS="$CFLAGS -D__ALPHA__"
21026 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21029 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21030 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21031 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 else
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #ifndef __sparc__
21042 #endif
21043 _ACEOF
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev/null 2>&1; then
21046 ac_cv_cpp_def___sparc__=yes
21047 else
21048 ac_cv_cpp_def___sparc__=no
21050 rm -f conftest*
21053 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21054 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21055 if test $ac_cv_cpp_def___sparc__ = yes; then
21056 CFLAGS="$CFLAGS -D__sparc__"
21057 LINTFLAGS="$LINTFLAGS -D__sparc__"
21060 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21061 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21062 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 else
21065 cat >conftest.$ac_ext <<_ACEOF
21066 /* confdefs.h. */
21067 _ACEOF
21068 cat confdefs.h >>conftest.$ac_ext
21069 cat >>conftest.$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071 #ifndef __powerpc__
21073 #endif
21074 _ACEOF
21075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21076 $EGREP "yes" >/dev/null 2>&1; then
21077 ac_cv_cpp_def___powerpc__=yes
21078 else
21079 ac_cv_cpp_def___powerpc__=no
21081 rm -f conftest*
21084 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21085 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21086 if test $ac_cv_cpp_def___powerpc__ = yes; then
21087 CFLAGS="$CFLAGS -D__powerpc__"
21088 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21091 esac
21093 case $host_vendor in
21094 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21095 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21096 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21098 else
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 #ifndef __sun__
21107 #endif
21108 _ACEOF
21109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21110 $EGREP "yes" >/dev/null 2>&1; then
21111 ac_cv_cpp_def___sun__=yes
21112 else
21113 ac_cv_cpp_def___sun__=no
21115 rm -f conftest*
21118 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21119 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21120 if test $ac_cv_cpp_def___sun__ = yes; then
21121 CFLAGS="$CFLAGS -D__sun__"
21122 LINTFLAGS="$LINTFLAGS -D__sun__"
21125 esac
21128 DEPENDENCIES="### Dependencies:
21130 .INIT: Makefile
21131 .BEGIN: Makefile
21132 Makefile: dummy
21133 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21135 \$(OBJS): \$(IDL_GEN_HEADERS)
21136 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21137 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21138 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21144 ac_config_commands="$ac_config_commands include/stamp-h"
21147 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21149 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21151 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21153 ac_config_commands="$ac_config_commands dlls/user32/resources"
21155 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21157 ac_config_commands="$ac_config_commands include/wine"
21160 MAKE_RULES=Make.rules
21163 MAKE_DLL_RULES=dlls/Makedll.rules
21166 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21169 MAKE_TEST_RULES=dlls/Maketest.rules
21172 MAKE_PROG_RULES=programs/Makeprog.rules
21175 ac_config_files="$ac_config_files Make.rules"
21177 ac_config_files="$ac_config_files dlls/Makedll.rules"
21179 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21181 ac_config_files="$ac_config_files dlls/Maketest.rules"
21183 ac_config_files="$ac_config_files programs/Makeprog.rules"
21185 ac_config_files="$ac_config_files Makefile"
21187 ac_config_files="$ac_config_files dlls/Makefile"
21189 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21191 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21193 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21195 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21197 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21199 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21201 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21203 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21205 ac_config_files="$ac_config_files dlls/atl/Makefile"
21207 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21209 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21211 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21213 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21215 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21217 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21219 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21221 ac_config_files="$ac_config_files dlls/cards/Makefile"
21223 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21225 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21227 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21229 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21231 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21233 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21235 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21237 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21239 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21241 ac_config_files="$ac_config_files dlls/credui/Makefile"
21243 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21245 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21247 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21249 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21251 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21253 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21255 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21257 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21259 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21261 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21263 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21265 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21267 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21269 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21271 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21273 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21275 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21277 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21279 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21281 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21283 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21285 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21287 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21289 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21291 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21293 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21295 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21297 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21299 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21301 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21303 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21305 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21307 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21309 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21311 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21313 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21315 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21317 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21319 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21321 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21323 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21325 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21327 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21329 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21331 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21333 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21335 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21337 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21339 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21341 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21343 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21345 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21347 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21349 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21351 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21353 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21355 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21357 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21359 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21361 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21363 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21365 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21367 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21369 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21371 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21373 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21375 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21377 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21379 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21381 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21383 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21385 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21387 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21389 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21391 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21393 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21395 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21397 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21399 ac_config_files="$ac_config_files dlls/hal/Makefile"
21401 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21403 ac_config_files="$ac_config_files dlls/hid/Makefile"
21405 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21407 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21409 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21411 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21413 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21415 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21417 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21419 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21421 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21423 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21425 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21427 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21429 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21431 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21433 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21435 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21437 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21439 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21441 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21443 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21445 ac_config_files="$ac_config_files dlls/itss/Makefile"
21447 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21449 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21451 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21453 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21455 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21457 ac_config_files="$ac_config_files dlls/localui/Makefile"
21459 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21461 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21463 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21465 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21467 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21469 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21471 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21473 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21475 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21477 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21479 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21481 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21483 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21485 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21487 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21489 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21491 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21493 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21495 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21497 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21499 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21501 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21503 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21505 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21507 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21509 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21511 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21513 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21515 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21517 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21519 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21521 ac_config_files="$ac_config_files dlls/msi/Makefile"
21523 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21525 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21527 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21529 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21531 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21533 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21535 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21537 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21539 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21541 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21543 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21545 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21547 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21549 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21551 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21553 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21555 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21557 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21559 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21561 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21565 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21567 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21569 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21571 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21573 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21575 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21577 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21581 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21583 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21585 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21587 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21589 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21591 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21593 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21595 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21597 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21599 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21601 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21603 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21605 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21607 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21609 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21611 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21613 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21615 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21617 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21619 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21621 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21623 ac_config_files="$ac_config_files dlls/printui/Makefile"
21625 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21627 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21629 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21631 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21633 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21635 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21637 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21639 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21641 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21643 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21645 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21647 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21649 ac_config_files="$ac_config_files dlls/query/Makefile"
21651 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21653 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21655 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21657 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21659 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21661 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21663 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21665 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21667 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21669 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21671 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21673 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21675 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21677 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21679 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21681 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21683 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21685 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21687 ac_config_files="$ac_config_files dlls/security/Makefile"
21689 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21691 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21693 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21695 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21697 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21699 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21701 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21703 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21705 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21707 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21709 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21711 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21713 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21715 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21717 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21719 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21721 ac_config_files="$ac_config_files dlls/slc/Makefile"
21723 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21725 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21729 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21731 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21733 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21735 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21737 ac_config_files="$ac_config_files dlls/sti/Makefile"
21739 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21741 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21743 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21745 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21747 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21749 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21751 ac_config_files="$ac_config_files dlls/url/Makefile"
21753 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21755 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21757 ac_config_files="$ac_config_files dlls/user32/Makefile"
21759 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21761 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21763 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21765 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21769 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21771 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21773 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21775 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21777 ac_config_files="$ac_config_files dlls/version/Makefile"
21779 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21781 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21783 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21785 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21787 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21789 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21791 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21793 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21795 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21797 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21799 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21801 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21803 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21805 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21807 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21809 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21811 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21813 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21815 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21817 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21819 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21821 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21823 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21825 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21827 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21829 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21831 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21833 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21835 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21837 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21839 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21841 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21843 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21845 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21847 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21849 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21851 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21853 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21855 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21857 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21859 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21863 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21865 ac_config_files="$ac_config_files documentation/Makefile"
21867 ac_config_files="$ac_config_files fonts/Makefile"
21869 ac_config_files="$ac_config_files include/Makefile"
21871 ac_config_files="$ac_config_files libs/Makefile"
21873 ac_config_files="$ac_config_files libs/port/Makefile"
21875 ac_config_files="$ac_config_files libs/wine/Makefile"
21877 ac_config_files="$ac_config_files libs/wpp/Makefile"
21879 ac_config_files="$ac_config_files loader/Makefile"
21881 ac_config_files="$ac_config_files programs/Makefile"
21883 ac_config_files="$ac_config_files programs/clock/Makefile"
21885 ac_config_files="$ac_config_files programs/cmd/Makefile"
21887 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21889 ac_config_files="$ac_config_files programs/control/Makefile"
21891 ac_config_files="$ac_config_files programs/eject/Makefile"
21893 ac_config_files="$ac_config_files programs/expand/Makefile"
21895 ac_config_files="$ac_config_files programs/explorer/Makefile"
21897 ac_config_files="$ac_config_files programs/hh/Makefile"
21899 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21901 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21903 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21905 ac_config_files="$ac_config_files programs/net/Makefile"
21907 ac_config_files="$ac_config_files programs/notepad/Makefile"
21909 ac_config_files="$ac_config_files programs/oleview/Makefile"
21911 ac_config_files="$ac_config_files programs/progman/Makefile"
21913 ac_config_files="$ac_config_files programs/regedit/Makefile"
21915 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21917 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21919 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21921 ac_config_files="$ac_config_files programs/secedit/Makefile"
21923 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21925 ac_config_files="$ac_config_files programs/start/Makefile"
21927 ac_config_files="$ac_config_files programs/svchost/Makefile"
21929 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21931 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21933 ac_config_files="$ac_config_files programs/view/Makefile"
21935 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21937 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21939 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21941 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21943 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21945 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21947 ac_config_files="$ac_config_files programs/winefile/Makefile"
21949 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21951 ac_config_files="$ac_config_files programs/winemine/Makefile"
21953 ac_config_files="$ac_config_files programs/winepath/Makefile"
21955 ac_config_files="$ac_config_files programs/winetest/Makefile"
21957 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21959 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21961 ac_config_files="$ac_config_files programs/winver/Makefile"
21963 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21965 ac_config_files="$ac_config_files programs/write/Makefile"
21967 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21969 ac_config_files="$ac_config_files server/Makefile"
21971 ac_config_files="$ac_config_files tools/Makefile"
21973 ac_config_files="$ac_config_files tools/widl/Makefile"
21975 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21977 ac_config_files="$ac_config_files tools/winedump/Makefile"
21979 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21981 ac_config_files="$ac_config_files tools/wmc/Makefile"
21983 ac_config_files="$ac_config_files tools/wrc/Makefile"
21986 cat >confcache <<\_ACEOF
21987 # This file is a shell script that caches the results of configure
21988 # tests run on this system so they can be shared between configure
21989 # scripts and configure runs, see configure's option --config-cache.
21990 # It is not useful on other systems. If it contains results you don't
21991 # want to keep, you may remove or edit it.
21993 # config.status only pays attention to the cache file if you give it
21994 # the --recheck option to rerun configure.
21996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21998 # following values.
22000 _ACEOF
22002 # The following way of writing the cache mishandles newlines in values,
22003 # but we know of no workaround that is simple, portable, and efficient.
22004 # So, we kill variables containing newlines.
22005 # Ultrix sh set writes to stderr and can't be redirected directly,
22006 # and sets the high bit in the cache file unless we assign to the vars.
22008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22009 eval ac_val=\$$ac_var
22010 case $ac_val in #(
22011 *${as_nl}*)
22012 case $ac_var in #(
22013 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22014 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22015 esac
22016 case $ac_var in #(
22017 _ | IFS | as_nl) ;; #(
22018 *) $as_unset $ac_var ;;
22019 esac ;;
22020 esac
22021 done
22023 (set) 2>&1 |
22024 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22025 *${as_nl}ac_space=\ *)
22026 # `set' does not quote correctly, so add quotes (double-quote
22027 # substitution turns \\\\ into \\, and sed turns \\ into \).
22028 sed -n \
22029 "s/'/'\\\\''/g;
22030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22031 ;; #(
22033 # `set' quotes correctly as required by POSIX, so do not add quotes.
22034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22036 esac |
22037 sort
22039 sed '
22040 /^ac_cv_env_/b end
22041 t clear
22042 :clear
22043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22044 t end
22045 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22046 :end' >>confcache
22047 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22048 if test -w "$cache_file"; then
22049 test "x$cache_file" != "x/dev/null" &&
22050 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22051 echo "$as_me: updating cache $cache_file" >&6;}
22052 cat confcache >$cache_file
22053 else
22054 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22055 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22058 rm -f confcache
22060 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22061 # Let make expand exec_prefix.
22062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22064 DEFS=-DHAVE_CONFIG_H
22066 ac_libobjs=
22067 ac_ltlibobjs=
22068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22069 # 1. Remove the extension, and $U if already installed.
22070 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22071 ac_i=`echo "$ac_i" | sed "$ac_script"`
22072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22073 # will be set to the directory where LIBOBJS objects are built.
22074 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22075 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22076 done
22077 LIBOBJS=$ac_libobjs
22079 LTLIBOBJS=$ac_ltlibobjs
22083 : ${CONFIG_STATUS=./config.status}
22084 ac_clean_files_save=$ac_clean_files
22085 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22086 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22087 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22088 cat >$CONFIG_STATUS <<_ACEOF
22089 #! $SHELL
22090 # Generated by $as_me.
22091 # Run this file to recreate the current configuration.
22092 # Compiler output produced by configure, useful for debugging
22093 # configure, is in config.log if it exists.
22095 debug=false
22096 ac_cs_recheck=false
22097 ac_cs_silent=false
22098 SHELL=\${CONFIG_SHELL-$SHELL}
22099 _ACEOF
22101 cat >>$CONFIG_STATUS <<\_ACEOF
22102 ## --------------------- ##
22103 ## M4sh Initialization. ##
22104 ## --------------------- ##
22106 # Be more Bourne compatible
22107 DUALCASE=1; export DUALCASE # for MKS sh
22108 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22109 emulate sh
22110 NULLCMD=:
22111 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22112 # is contrary to our usage. Disable this feature.
22113 alias -g '${1+"$@"}'='"$@"'
22114 setopt NO_GLOB_SUBST
22115 else
22116 case `(set -o) 2>/dev/null` in
22117 *posix*) set -o posix ;;
22118 esac
22125 # PATH needs CR
22126 # Avoid depending upon Character Ranges.
22127 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22128 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22129 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22130 as_cr_digits='0123456789'
22131 as_cr_alnum=$as_cr_Letters$as_cr_digits
22133 # The user is always right.
22134 if test "${PATH_SEPARATOR+set}" != set; then
22135 echo "#! /bin/sh" >conf$$.sh
22136 echo "exit 0" >>conf$$.sh
22137 chmod +x conf$$.sh
22138 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22139 PATH_SEPARATOR=';'
22140 else
22141 PATH_SEPARATOR=:
22143 rm -f conf$$.sh
22146 # Support unset when possible.
22147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22148 as_unset=unset
22149 else
22150 as_unset=false
22154 # IFS
22155 # We need space, tab and new line, in precisely that order. Quoting is
22156 # there to prevent editors from complaining about space-tab.
22157 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22158 # splitting by setting IFS to empty value.)
22159 as_nl='
22161 IFS=" "" $as_nl"
22163 # Find who we are. Look in the path if we contain no directory separator.
22164 case $0 in
22165 *[\\/]* ) as_myself=$0 ;;
22166 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22167 for as_dir in $PATH
22169 IFS=$as_save_IFS
22170 test -z "$as_dir" && as_dir=.
22171 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22172 done
22173 IFS=$as_save_IFS
22176 esac
22177 # We did not find ourselves, most probably we were run as `sh COMMAND'
22178 # in which case we are not to be found in the path.
22179 if test "x$as_myself" = x; then
22180 as_myself=$0
22182 if test ! -f "$as_myself"; then
22183 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22184 { (exit 1); exit 1; }
22187 # Work around bugs in pre-3.0 UWIN ksh.
22188 for as_var in ENV MAIL MAILPATH
22189 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22190 done
22191 PS1='$ '
22192 PS2='> '
22193 PS4='+ '
22195 # NLS nuisances.
22196 for as_var in \
22197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22199 LC_TELEPHONE LC_TIME
22201 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22202 eval $as_var=C; export $as_var
22203 else
22204 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22206 done
22208 # Required to use basename.
22209 if expr a : '\(a\)' >/dev/null 2>&1 &&
22210 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22211 as_expr=expr
22212 else
22213 as_expr=false
22216 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22217 as_basename=basename
22218 else
22219 as_basename=false
22223 # Name of the executable.
22224 as_me=`$as_basename -- "$0" ||
22225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22226 X"$0" : 'X\(//\)$' \| \
22227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22228 echo X/"$0" |
22229 sed '/^.*\/\([^/][^/]*\)\/*$/{
22230 s//\1/
22233 /^X\/\(\/\/\)$/{
22234 s//\1/
22237 /^X\/\(\/\).*/{
22238 s//\1/
22241 s/.*/./; q'`
22243 # CDPATH.
22244 $as_unset CDPATH
22248 as_lineno_1=$LINENO
22249 as_lineno_2=$LINENO
22250 test "x$as_lineno_1" != "x$as_lineno_2" &&
22251 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22254 # uniformly replaced by the line number. The first 'sed' inserts a
22255 # line-number line after each line using $LINENO; the second 'sed'
22256 # does the real work. The second script uses 'N' to pair each
22257 # line-number line with the line containing $LINENO, and appends
22258 # trailing '-' during substitution so that $LINENO is not a special
22259 # case at line end.
22260 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22261 # scripts with optimization help from Paolo Bonzini. Blame Lee
22262 # E. McMahon (1931-1989) for sed's syntax. :-)
22263 sed -n '
22265 /[$]LINENO/=
22266 ' <$as_myself |
22267 sed '
22268 s/[$]LINENO.*/&-/
22269 t lineno
22271 :lineno
22273 :loop
22274 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22275 t loop
22276 s/-\n.*//
22277 ' >$as_me.lineno &&
22278 chmod +x "$as_me.lineno" ||
22279 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22280 { (exit 1); exit 1; }; }
22282 # Don't try to exec as it changes $[0], causing all sort of problems
22283 # (the dirname of $[0] is not the place where we might find the
22284 # original and so on. Autoconf is especially sensitive to this).
22285 . "./$as_me.lineno"
22286 # Exit status is that of the last command.
22287 exit
22291 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22292 as_dirname=dirname
22293 else
22294 as_dirname=false
22297 ECHO_C= ECHO_N= ECHO_T=
22298 case `echo -n x` in
22299 -n*)
22300 case `echo 'x\c'` in
22301 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22302 *) ECHO_C='\c';;
22303 esac;;
22305 ECHO_N='-n';;
22306 esac
22308 if expr a : '\(a\)' >/dev/null 2>&1 &&
22309 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22310 as_expr=expr
22311 else
22312 as_expr=false
22315 rm -f conf$$ conf$$.exe conf$$.file
22316 if test -d conf$$.dir; then
22317 rm -f conf$$.dir/conf$$.file
22318 else
22319 rm -f conf$$.dir
22320 mkdir conf$$.dir
22322 echo >conf$$.file
22323 if ln -s conf$$.file conf$$ 2>/dev/null; then
22324 as_ln_s='ln -s'
22325 # ... but there are two gotchas:
22326 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22327 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22328 # In both cases, we have to default to `cp -p'.
22329 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22330 as_ln_s='cp -p'
22331 elif ln conf$$.file conf$$ 2>/dev/null; then
22332 as_ln_s=ln
22333 else
22334 as_ln_s='cp -p'
22336 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22337 rmdir conf$$.dir 2>/dev/null
22339 if mkdir -p . 2>/dev/null; then
22340 as_mkdir_p=:
22341 else
22342 test -d ./-p && rmdir ./-p
22343 as_mkdir_p=false
22346 if test -x / >/dev/null 2>&1; then
22347 as_test_x='test -x'
22348 else
22349 if ls -dL / >/dev/null 2>&1; then
22350 as_ls_L_option=L
22351 else
22352 as_ls_L_option=
22354 as_test_x='
22355 eval sh -c '\''
22356 if test -d "$1"; then
22357 test -d "$1/.";
22358 else
22359 case $1 in
22360 -*)set "./$1";;
22361 esac;
22362 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22363 ???[sx]*):;;*)false;;esac;fi
22364 '\'' sh
22367 as_executable_p=$as_test_x
22369 # Sed expression to map a string onto a valid CPP name.
22370 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22372 # Sed expression to map a string onto a valid variable name.
22373 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22376 exec 6>&1
22378 # Save the log message, to keep $[0] and so on meaningful, and to
22379 # report actual input values of CONFIG_FILES etc. instead of their
22380 # values after options handling.
22381 ac_log="
22382 This file was extended by Wine $as_me 0.9.56, which was
22383 generated by GNU Autoconf 2.61. Invocation command line was
22385 CONFIG_FILES = $CONFIG_FILES
22386 CONFIG_HEADERS = $CONFIG_HEADERS
22387 CONFIG_LINKS = $CONFIG_LINKS
22388 CONFIG_COMMANDS = $CONFIG_COMMANDS
22389 $ $0 $@
22391 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22394 _ACEOF
22396 cat >>$CONFIG_STATUS <<_ACEOF
22397 # Files that config.status was made for.
22398 config_files="$ac_config_files"
22399 config_headers="$ac_config_headers"
22400 config_commands="$ac_config_commands"
22402 _ACEOF
22404 cat >>$CONFIG_STATUS <<\_ACEOF
22405 ac_cs_usage="\
22406 \`$as_me' instantiates files from templates according to the
22407 current configuration.
22409 Usage: $0 [OPTIONS] [FILE]...
22411 -h, --help print this help, then exit
22412 -V, --version print version number and configuration settings, then exit
22413 -q, --quiet do not print progress messages
22414 -d, --debug don't remove temporary files
22415 --recheck update $as_me by reconfiguring in the same conditions
22416 --file=FILE[:TEMPLATE]
22417 instantiate the configuration file FILE
22418 --header=FILE[:TEMPLATE]
22419 instantiate the configuration header FILE
22421 Configuration files:
22422 $config_files
22424 Configuration headers:
22425 $config_headers
22427 Configuration commands:
22428 $config_commands
22430 Report bugs to <bug-autoconf@gnu.org>."
22432 _ACEOF
22433 cat >>$CONFIG_STATUS <<_ACEOF
22434 ac_cs_version="\\
22435 Wine config.status 0.9.56
22436 configured by $0, generated by GNU Autoconf 2.61,
22437 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22439 Copyright (C) 2006 Free Software Foundation, Inc.
22440 This config.status script is free software; the Free Software Foundation
22441 gives unlimited permission to copy, distribute and modify it."
22443 ac_pwd='$ac_pwd'
22444 srcdir='$srcdir'
22445 INSTALL='$INSTALL'
22446 _ACEOF
22448 cat >>$CONFIG_STATUS <<\_ACEOF
22449 # If no file are specified by the user, then we need to provide default
22450 # value. By we need to know if files were specified by the user.
22451 ac_need_defaults=:
22452 while test $# != 0
22454 case $1 in
22455 --*=*)
22456 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22457 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22458 ac_shift=:
22461 ac_option=$1
22462 ac_optarg=$2
22463 ac_shift=shift
22465 esac
22467 case $ac_option in
22468 # Handling of the options.
22469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22470 ac_cs_recheck=: ;;
22471 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22472 echo "$ac_cs_version"; exit ;;
22473 --debug | --debu | --deb | --de | --d | -d )
22474 debug=: ;;
22475 --file | --fil | --fi | --f )
22476 $ac_shift
22477 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22478 ac_need_defaults=false;;
22479 --header | --heade | --head | --hea )
22480 $ac_shift
22481 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22482 ac_need_defaults=false;;
22483 --he | --h)
22484 # Conflict between --help and --header
22485 { echo "$as_me: error: ambiguous option: $1
22486 Try \`$0 --help' for more information." >&2
22487 { (exit 1); exit 1; }; };;
22488 --help | --hel | -h )
22489 echo "$ac_cs_usage"; exit ;;
22490 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22491 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22492 ac_cs_silent=: ;;
22494 # This is an error.
22495 -*) { echo "$as_me: error: unrecognized option: $1
22496 Try \`$0 --help' for more information." >&2
22497 { (exit 1); exit 1; }; } ;;
22499 *) ac_config_targets="$ac_config_targets $1"
22500 ac_need_defaults=false ;;
22502 esac
22503 shift
22504 done
22506 ac_configure_extra_args=
22508 if $ac_cs_silent; then
22509 exec 6>/dev/null
22510 ac_configure_extra_args="$ac_configure_extra_args --silent"
22513 _ACEOF
22514 cat >>$CONFIG_STATUS <<_ACEOF
22515 if \$ac_cs_recheck; then
22516 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22517 CONFIG_SHELL=$SHELL
22518 export CONFIG_SHELL
22519 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22522 _ACEOF
22523 cat >>$CONFIG_STATUS <<\_ACEOF
22524 exec 5>>config.log
22526 echo
22527 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22528 ## Running $as_me. ##
22529 _ASBOX
22530 echo "$ac_log"
22531 } >&5
22533 _ACEOF
22534 cat >>$CONFIG_STATUS <<_ACEOF
22535 _ACEOF
22537 cat >>$CONFIG_STATUS <<\_ACEOF
22539 # Handling of arguments.
22540 for ac_config_target in $ac_config_targets
22542 case $ac_config_target in
22543 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22544 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22545 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22546 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22547 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22548 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22549 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22550 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22551 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22552 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22553 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22554 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22555 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22556 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22557 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22558 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22559 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22560 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22561 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22562 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22563 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22564 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22565 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22566 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22567 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22568 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22569 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22570 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22571 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22572 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22573 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22574 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22575 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22576 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22577 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22578 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22579 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22580 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22581 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22582 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22583 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22584 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22585 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22586 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22587 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22588 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22589 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22590 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22591 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22592 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22593 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22594 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22595 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22596 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22597 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22598 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22599 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22600 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22601 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22602 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22603 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22604 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22605 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22606 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22607 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22608 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22609 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22610 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22611 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22612 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22613 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22614 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22615 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22616 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22617 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22618 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22619 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22620 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22621 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22622 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22623 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22624 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22625 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22626 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22627 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22628 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22629 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22630 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22631 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22632 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22633 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22634 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22635 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22636 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22637 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22638 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22639 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22640 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22641 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22642 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22643 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22644 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22645 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22646 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22647 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22648 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22649 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22650 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22651 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22652 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22653 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22654 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22655 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22656 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22657 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22658 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22659 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22660 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22661 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22662 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22663 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22664 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22665 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22666 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22667 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22668 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22669 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22670 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22671 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22672 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22673 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22674 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22675 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22676 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22677 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22678 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22679 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22680 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22681 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22682 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22683 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22684 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22685 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22686 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22687 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22688 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22689 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22690 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22691 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22692 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22693 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22694 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22695 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22696 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22697 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22698 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22699 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22700 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22701 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22702 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22703 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22704 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22705 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22706 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22707 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22708 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22709 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22710 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22711 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22712 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22713 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22714 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22715 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22716 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22717 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22718 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22719 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22720 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22721 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22722 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22723 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22724 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22725 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22726 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22727 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22728 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22729 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22730 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22731 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22732 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22733 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22734 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22735 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22736 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22737 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22738 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22739 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22740 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22741 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22742 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22743 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22744 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22745 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22746 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22747 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22748 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22749 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22750 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22751 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22752 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22753 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22754 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22755 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22756 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22757 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22758 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22759 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22760 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22761 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22762 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22763 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22764 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22765 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22766 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22767 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22768 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22769 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22770 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22771 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22772 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22773 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22774 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22775 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22776 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22777 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22778 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22779 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22780 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22781 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22782 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22783 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22784 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22785 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22786 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22787 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22788 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22789 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22790 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22791 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22792 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22793 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22794 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22795 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22796 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22797 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22798 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22799 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22800 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22801 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22802 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22803 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22804 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22805 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22806 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22807 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22808 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22809 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22810 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22811 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22812 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22813 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22814 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22815 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22816 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22817 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22818 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22819 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22820 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22821 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22822 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22823 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22824 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22825 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22826 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22827 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22828 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22829 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22830 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22831 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22832 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22833 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22834 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22835 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22836 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22837 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22838 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22839 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22840 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22841 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22842 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22843 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22844 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22845 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22846 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22847 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22848 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22849 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22850 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22851 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22852 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22853 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22854 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22855 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22856 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22857 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22858 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22859 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22860 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22861 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22862 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22863 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22864 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22865 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22866 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22867 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22868 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22869 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22870 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22871 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22872 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22873 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22874 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22875 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22876 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22877 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22878 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22879 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22880 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22881 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22882 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22883 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22884 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22885 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22886 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22887 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22888 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22889 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22890 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22891 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22892 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22893 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22894 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22895 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22896 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22897 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22898 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22899 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22900 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22901 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22902 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22903 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22904 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22905 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22906 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22907 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22908 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22909 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22910 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22911 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22912 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22913 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22914 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22915 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22916 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22917 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22918 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22919 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22920 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22921 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22922 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22923 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22924 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22925 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22926 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22927 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22928 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22929 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22930 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22931 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22932 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22933 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22934 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22935 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22936 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22937 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22938 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22939 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22940 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22941 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22942 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22943 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22944 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22945 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22946 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22947 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22948 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22949 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22950 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22951 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22952 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22953 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22954 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22955 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22957 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22958 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22959 { (exit 1); exit 1; }; };;
22960 esac
22961 done
22964 # If the user did not use the arguments to specify the items to instantiate,
22965 # then the envvar interface is used. Set only those that are not.
22966 # We use the long form for the default assignment because of an extremely
22967 # bizarre bug on SunOS 4.1.3.
22968 if $ac_need_defaults; then
22969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22974 # Have a temporary directory for convenience. Make it in the build tree
22975 # simply because there is no reason against having it here, and in addition,
22976 # creating and moving files from /tmp can sometimes cause problems.
22977 # Hook for its removal unless debugging.
22978 # Note that there is a small window in which the directory will not be cleaned:
22979 # after its creation but before its name has been assigned to `$tmp'.
22980 $debug ||
22982 tmp=
22983 trap 'exit_status=$?
22984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22986 trap '{ (exit 1); exit 1; }' 1 2 13 15
22988 # Create a (secure) tmp directory for tmp files.
22991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22992 test -n "$tmp" && test -d "$tmp"
22993 } ||
22995 tmp=./conf$$-$RANDOM
22996 (umask 077 && mkdir "$tmp")
22997 } ||
22999 echo "$me: cannot create a temporary directory in ." >&2
23000 { (exit 1); exit 1; }
23004 # Set up the sed scripts for CONFIG_FILES section.
23007 # No need to generate the scripts if there are no CONFIG_FILES.
23008 # This happens for instance when ./config.status config.h
23009 if test -n "$CONFIG_FILES"; then
23011 _ACEOF
23013 # Create sed commands to just substitute file output variables.
23015 # Remaining file output variables are in a fragment that also has non-file
23016 # output varibles.
23020 ac_delim='%!_!# '
23021 for ac_last_try in false false false false false :; do
23022 cat >conf$$subs.sed <<_ACEOF
23023 SHELL!$SHELL$ac_delim
23024 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23025 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23026 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23027 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23028 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23029 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23030 exec_prefix!$exec_prefix$ac_delim
23031 prefix!$prefix$ac_delim
23032 program_transform_name!$program_transform_name$ac_delim
23033 bindir!$bindir$ac_delim
23034 sbindir!$sbindir$ac_delim
23035 libexecdir!$libexecdir$ac_delim
23036 datarootdir!$datarootdir$ac_delim
23037 datadir!$datadir$ac_delim
23038 sysconfdir!$sysconfdir$ac_delim
23039 sharedstatedir!$sharedstatedir$ac_delim
23040 localstatedir!$localstatedir$ac_delim
23041 includedir!$includedir$ac_delim
23042 oldincludedir!$oldincludedir$ac_delim
23043 docdir!$docdir$ac_delim
23044 infodir!$infodir$ac_delim
23045 htmldir!$htmldir$ac_delim
23046 dvidir!$dvidir$ac_delim
23047 pdfdir!$pdfdir$ac_delim
23048 psdir!$psdir$ac_delim
23049 libdir!$libdir$ac_delim
23050 localedir!$localedir$ac_delim
23051 mandir!$mandir$ac_delim
23052 DEFS!$DEFS$ac_delim
23053 ECHO_C!$ECHO_C$ac_delim
23054 ECHO_N!$ECHO_N$ac_delim
23055 ECHO_T!$ECHO_T$ac_delim
23056 LIBS!$LIBS$ac_delim
23057 build_alias!$build_alias$ac_delim
23058 host_alias!$host_alias$ac_delim
23059 target_alias!$target_alias$ac_delim
23060 build!$build$ac_delim
23061 build_cpu!$build_cpu$ac_delim
23062 build_vendor!$build_vendor$ac_delim
23063 build_os!$build_os$ac_delim
23064 host!$host$ac_delim
23065 host_cpu!$host_cpu$ac_delim
23066 host_vendor!$host_vendor$ac_delim
23067 host_os!$host_os$ac_delim
23068 WIN16_FILES!$WIN16_FILES$ac_delim
23069 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23070 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23071 WINETEST!$WINETEST$ac_delim
23072 SET_MAKE!$SET_MAKE$ac_delim
23073 CC!$CC$ac_delim
23074 CFLAGS!$CFLAGS$ac_delim
23075 LDFLAGS!$LDFLAGS$ac_delim
23076 CPPFLAGS!$CPPFLAGS$ac_delim
23077 ac_ct_CC!$ac_ct_CC$ac_delim
23078 EXEEXT!$EXEEXT$ac_delim
23079 OBJEXT!$OBJEXT$ac_delim
23080 CXX!$CXX$ac_delim
23081 CXXFLAGS!$CXXFLAGS$ac_delim
23082 ac_ct_CXX!$ac_ct_CXX$ac_delim
23083 CPPBIN!$CPPBIN$ac_delim
23084 TOOLSDIR!$TOOLSDIR$ac_delim
23085 XMKMF!$XMKMF$ac_delim
23086 CPP!$CPP$ac_delim
23087 X_CFLAGS!$X_CFLAGS$ac_delim
23088 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23089 X_LIBS!$X_LIBS$ac_delim
23090 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23091 FLEX!$FLEX$ac_delim
23092 BISON!$BISON$ac_delim
23093 AS!$AS$ac_delim
23094 ac_ct_AS!$ac_ct_AS$ac_delim
23095 LD!$LD$ac_delim
23096 AR!$AR$ac_delim
23097 RANLIB!$RANLIB$ac_delim
23098 STRIP!$STRIP$ac_delim
23099 WINDRES!$WINDRES$ac_delim
23100 LN_S!$LN_S$ac_delim
23101 LN!$LN$ac_delim
23102 GREP!$GREP$ac_delim
23103 EGREP!$EGREP$ac_delim
23104 LDCONFIG!$LDCONFIG$ac_delim
23105 _ACEOF
23107 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23108 break
23109 elif $ac_last_try; then
23110 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23111 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23112 { (exit 1); exit 1; }; }
23113 else
23114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23116 done
23118 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23119 if test -n "$ac_eof"; then
23120 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23121 ac_eof=`expr $ac_eof + 1`
23124 cat >>$CONFIG_STATUS <<_ACEOF
23125 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23126 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23127 /^[ ]*@MAKE_RULES@[ ]*$/{
23128 r $MAKE_RULES
23131 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23132 r $MAKE_DLL_RULES
23135 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23136 r $MAKE_IMPLIB_RULES
23139 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23140 r $MAKE_TEST_RULES
23143 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23144 r $MAKE_PROG_RULES
23147 _ACEOF
23148 sed '
23149 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23150 s/^/s,@/; s/!/@,|#_!!_#|/
23153 s/'"$ac_delim"'$/,g/; t
23154 s/$/\\/; p
23155 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23156 ' >>$CONFIG_STATUS <conf$$subs.sed
23157 rm -f conf$$subs.sed
23158 cat >>$CONFIG_STATUS <<_ACEOF
23159 CEOF$ac_eof
23160 _ACEOF
23163 ac_delim='%!_!# '
23164 for ac_last_try in false false false false false :; do
23165 cat >conf$$subs.sed <<_ACEOF
23166 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23167 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23168 INSTALL_DATA!$INSTALL_DATA$ac_delim
23169 LINT!$LINT$ac_delim
23170 LINTFLAGS!$LINTFLAGS$ac_delim
23171 FONTFORGE!$FONTFORGE$ac_delim
23172 PKG_CONFIG!$PKG_CONFIG$ac_delim
23173 PRELINK!$PRELINK$ac_delim
23174 LIBPTHREAD!$LIBPTHREAD$ac_delim
23175 XLIB!$XLIB$ac_delim
23176 XFILES!$XFILES$ac_delim
23177 OPENGLFILES!$OPENGLFILES$ac_delim
23178 GLU32FILES!$GLU32FILES$ac_delim
23179 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23180 QUARTZFILES!$QUARTZFILES$ac_delim
23181 DLLEXT!$DLLEXT$ac_delim
23182 DLLFLAGS!$DLLFLAGS$ac_delim
23183 LDSHARED!$LDSHARED$ac_delim
23184 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23185 LIBEXT!$LIBEXT$ac_delim
23186 IMPLIBEXT!$IMPLIBEXT$ac_delim
23187 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23188 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23189 LDD!$LDD$ac_delim
23190 DLLTOOL!$DLLTOOL$ac_delim
23191 DLLWRAP!$DLLWRAP$ac_delim
23192 MINGWAR!$MINGWAR$ac_delim
23193 SECURITYLIB!$SECURITYLIB$ac_delim
23194 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23195 IOKITLIB!$IOKITLIB$ac_delim
23196 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23197 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23198 COREAUDIO!$COREAUDIO$ac_delim
23199 CARBONLIB!$CARBONLIB$ac_delim
23200 CROSSTEST!$CROSSTEST$ac_delim
23201 CROSSCC!$CROSSCC$ac_delim
23202 CROSSWINDRES!$CROSSWINDRES$ac_delim
23203 NASLIBS!$NASLIBS$ac_delim
23204 XML2LIBS!$XML2LIBS$ac_delim
23205 XML2INCL!$XML2INCL$ac_delim
23206 XSLTLIBS!$XSLTLIBS$ac_delim
23207 XSLTINCL!$XSLTINCL$ac_delim
23208 HALINCL!$HALINCL$ac_delim
23209 sane_devel!$sane_devel$ac_delim
23210 SANEINCL!$SANEINCL$ac_delim
23211 gphoto2_devel!$gphoto2_devel$ac_delim
23212 gphoto2port_devel!$gphoto2port_devel$ac_delim
23213 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23214 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23215 RESOLVLIBS!$RESOLVLIBS$ac_delim
23216 LCMSLIBS!$LCMSLIBS$ac_delim
23217 LDAPLIBS!$LDAPLIBS$ac_delim
23218 ft_devel!$ft_devel$ac_delim
23219 FREETYPELIBS!$FREETYPELIBS$ac_delim
23220 FREETYPEINCL!$FREETYPEINCL$ac_delim
23221 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23222 ESDCONFIG!$ESDCONFIG$ac_delim
23223 ESDLIBS!$ESDLIBS$ac_delim
23224 ESDINCL!$ESDINCL$ac_delim
23225 ALSALIBS!$ALSALIBS$ac_delim
23226 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23227 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23228 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23229 BUILTINFLAG!$BUILTINFLAG$ac_delim
23230 LDPATH!$LDPATH$ac_delim
23231 CRTLIBS!$CRTLIBS$ac_delim
23232 SOCKETLIBS!$SOCKETLIBS$ac_delim
23233 MAIN_BINARY!$MAIN_BINARY$ac_delim
23234 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23235 LIBDL!$LIBDL$ac_delim
23236 LIBPOLL!$LIBPOLL$ac_delim
23237 DEPENDENCIES!$DEPENDENCIES$ac_delim
23238 LIBOBJS!$LIBOBJS$ac_delim
23239 LTLIBOBJS!$LTLIBOBJS$ac_delim
23240 _ACEOF
23242 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23243 break
23244 elif $ac_last_try; then
23245 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23246 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23247 { (exit 1); exit 1; }; }
23248 else
23249 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23251 done
23253 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23254 if test -n "$ac_eof"; then
23255 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23256 ac_eof=`expr $ac_eof + 1`
23259 cat >>$CONFIG_STATUS <<_ACEOF
23260 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23262 _ACEOF
23263 sed '
23264 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23265 s/^/s,@/; s/!/@,|#_!!_#|/
23268 s/'"$ac_delim"'$/,g/; t
23269 s/$/\\/; p
23270 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23271 ' >>$CONFIG_STATUS <conf$$subs.sed
23272 rm -f conf$$subs.sed
23273 cat >>$CONFIG_STATUS <<_ACEOF
23274 :end
23275 s/|#_!!_#|//g
23276 CEOF$ac_eof
23277 _ACEOF
23280 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23281 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23282 # trailing colons and then remove the whole line if VPATH becomes empty
23283 # (actually we leave an empty line to preserve line numbers).
23284 if test "x$srcdir" = x.; then
23285 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23286 s/:*\$(srcdir):*/:/
23287 s/:*\${srcdir}:*/:/
23288 s/:*@srcdir@:*/:/
23289 s/^\([^=]*=[ ]*\):*/\1/
23290 s/:*$//
23291 s/^[^=]*=[ ]*$//
23295 cat >>$CONFIG_STATUS <<\_ACEOF
23296 fi # test -n "$CONFIG_FILES"
23299 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23301 case $ac_tag in
23302 :[FHLC]) ac_mode=$ac_tag; continue;;
23303 esac
23304 case $ac_mode$ac_tag in
23305 :[FHL]*:*);;
23306 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23307 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23308 { (exit 1); exit 1; }; };;
23309 :[FH]-) ac_tag=-:-;;
23310 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23311 esac
23312 ac_save_IFS=$IFS
23313 IFS=:
23314 set x $ac_tag
23315 IFS=$ac_save_IFS
23316 shift
23317 ac_file=$1
23318 shift
23320 case $ac_mode in
23321 :L) ac_source=$1;;
23322 :[FH])
23323 ac_file_inputs=
23324 for ac_f
23326 case $ac_f in
23327 -) ac_f="$tmp/stdin";;
23328 *) # Look for the file first in the build tree, then in the source tree
23329 # (if the path is not absolute). The absolute path cannot be DOS-style,
23330 # because $ac_f cannot contain `:'.
23331 test -f "$ac_f" ||
23332 case $ac_f in
23333 [\\/$]*) false;;
23334 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23335 esac ||
23336 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23337 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23338 { (exit 1); exit 1; }; };;
23339 esac
23340 ac_file_inputs="$ac_file_inputs $ac_f"
23341 done
23343 # Let's still pretend it is `configure' which instantiates (i.e., don't
23344 # use $as_me), people would be surprised to read:
23345 # /* config.h. Generated by config.status. */
23346 configure_input="Generated from "`IFS=:
23347 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23348 if test x"$ac_file" != x-; then
23349 configure_input="$ac_file. $configure_input"
23350 { echo "$as_me:$LINENO: creating $ac_file" >&5
23351 echo "$as_me: creating $ac_file" >&6;}
23354 case $ac_tag in
23355 *:-:* | *:-) cat >"$tmp/stdin";;
23356 esac
23358 esac
23360 ac_dir=`$as_dirname -- "$ac_file" ||
23361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23362 X"$ac_file" : 'X\(//\)[^/]' \| \
23363 X"$ac_file" : 'X\(//\)$' \| \
23364 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23365 echo X"$ac_file" |
23366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23367 s//\1/
23370 /^X\(\/\/\)[^/].*/{
23371 s//\1/
23374 /^X\(\/\/\)$/{
23375 s//\1/
23378 /^X\(\/\).*/{
23379 s//\1/
23382 s/.*/./; q'`
23383 { as_dir="$ac_dir"
23384 case $as_dir in #(
23385 -*) as_dir=./$as_dir;;
23386 esac
23387 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23388 as_dirs=
23389 while :; do
23390 case $as_dir in #(
23391 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23392 *) as_qdir=$as_dir;;
23393 esac
23394 as_dirs="'$as_qdir' $as_dirs"
23395 as_dir=`$as_dirname -- "$as_dir" ||
23396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23397 X"$as_dir" : 'X\(//\)[^/]' \| \
23398 X"$as_dir" : 'X\(//\)$' \| \
23399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23400 echo X"$as_dir" |
23401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23402 s//\1/
23405 /^X\(\/\/\)[^/].*/{
23406 s//\1/
23409 /^X\(\/\/\)$/{
23410 s//\1/
23413 /^X\(\/\).*/{
23414 s//\1/
23417 s/.*/./; q'`
23418 test -d "$as_dir" && break
23419 done
23420 test -z "$as_dirs" || eval "mkdir $as_dirs"
23421 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23422 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23423 { (exit 1); exit 1; }; }; }
23424 ac_builddir=.
23426 case "$ac_dir" in
23427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23429 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23430 # A ".." for each directory in $ac_dir_suffix.
23431 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23432 case $ac_top_builddir_sub in
23433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23435 esac ;;
23436 esac
23437 ac_abs_top_builddir=$ac_pwd
23438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23439 # for backward compatibility:
23440 ac_top_builddir=$ac_top_build_prefix
23442 case $srcdir in
23443 .) # We are building in place.
23444 ac_srcdir=.
23445 ac_top_srcdir=$ac_top_builddir_sub
23446 ac_abs_top_srcdir=$ac_pwd ;;
23447 [\\/]* | ?:[\\/]* ) # Absolute name.
23448 ac_srcdir=$srcdir$ac_dir_suffix;
23449 ac_top_srcdir=$srcdir
23450 ac_abs_top_srcdir=$srcdir ;;
23451 *) # Relative name.
23452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23453 ac_top_srcdir=$ac_top_build_prefix$srcdir
23454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23455 esac
23456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23459 case $ac_mode in
23462 # CONFIG_FILE
23465 case $INSTALL in
23466 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23467 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23468 esac
23469 _ACEOF
23471 cat >>$CONFIG_STATUS <<\_ACEOF
23472 # If the template does not know about datarootdir, expand it.
23473 # FIXME: This hack should be removed a few years after 2.60.
23474 ac_datarootdir_hack=; ac_datarootdir_seen=
23476 case `sed -n '/datarootdir/ {
23480 /@datadir@/p
23481 /@docdir@/p
23482 /@infodir@/p
23483 /@localedir@/p
23484 /@mandir@/p
23485 ' $ac_file_inputs` in
23486 *datarootdir*) ac_datarootdir_seen=yes;;
23487 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23488 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23489 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23490 _ACEOF
23491 cat >>$CONFIG_STATUS <<_ACEOF
23492 ac_datarootdir_hack='
23493 s&@datadir@&$datadir&g
23494 s&@docdir@&$docdir&g
23495 s&@infodir@&$infodir&g
23496 s&@localedir@&$localedir&g
23497 s&@mandir@&$mandir&g
23498 s&\\\${datarootdir}&$datarootdir&g' ;;
23499 esac
23500 _ACEOF
23502 # Neutralize VPATH when `$srcdir' = `.'.
23503 # Shell code in configure.ac might set extrasub.
23504 # FIXME: do we really want to maintain this feature?
23505 cat >>$CONFIG_STATUS <<_ACEOF
23506 sed "$ac_vpsub
23507 $extrasub
23508 _ACEOF
23509 cat >>$CONFIG_STATUS <<\_ACEOF
23511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23512 s&@configure_input@&$configure_input&;t t
23513 s&@top_builddir@&$ac_top_builddir_sub&;t t
23514 s&@srcdir@&$ac_srcdir&;t t
23515 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23516 s&@top_srcdir@&$ac_top_srcdir&;t t
23517 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23518 s&@builddir@&$ac_builddir&;t t
23519 s&@abs_builddir@&$ac_abs_builddir&;t t
23520 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23521 s&@INSTALL@&$ac_INSTALL&;t t
23522 $ac_datarootdir_hack
23523 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23525 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23526 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23527 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23528 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23529 which seems to be undefined. Please make sure it is defined." >&5
23530 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23531 which seems to be undefined. Please make sure it is defined." >&2;}
23533 rm -f "$tmp/stdin"
23534 case $ac_file in
23535 -) cat "$tmp/out"; rm -f "$tmp/out";;
23536 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23537 esac
23541 # CONFIG_HEADER
23543 _ACEOF
23545 # Transform confdefs.h into a sed script `conftest.defines', that
23546 # substitutes the proper values into config.h.in to produce config.h.
23547 rm -f conftest.defines conftest.tail
23548 # First, append a space to every undef/define line, to ease matching.
23549 echo 's/$/ /' >conftest.defines
23550 # Then, protect against being on the right side of a sed subst, or in
23551 # an unquoted here document, in config.status. If some macros were
23552 # called several times there might be several #defines for the same
23553 # symbol, which is useless. But do not sort them, since the last
23554 # AC_DEFINE must be honored.
23555 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23556 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23557 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23558 # PARAMS is the parameter list in the macro definition--in most cases, it's
23559 # just an empty string.
23560 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23561 ac_dB='\\)[ (].*,\\1define\\2'
23562 ac_dC=' '
23563 ac_dD=' ,'
23565 uniq confdefs.h |
23566 sed -n '
23567 t rset
23568 :rset
23569 s/^[ ]*#[ ]*define[ ][ ]*//
23570 t ok
23573 s/[\\&,]/\\&/g
23574 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23575 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23576 ' >>conftest.defines
23578 # Remove the space that was appended to ease matching.
23579 # Then replace #undef with comments. This is necessary, for
23580 # example, in the case of _POSIX_SOURCE, which is predefined and required
23581 # on some systems where configure will not decide to define it.
23582 # (The regexp can be short, since the line contains either #define or #undef.)
23583 echo 's/ $//
23584 s,^[ #]*u.*,/* & */,' >>conftest.defines
23586 # Break up conftest.defines:
23587 ac_max_sed_lines=50
23589 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23590 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23591 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23592 # et cetera.
23593 ac_in='$ac_file_inputs'
23594 ac_out='"$tmp/out1"'
23595 ac_nxt='"$tmp/out2"'
23597 while :
23599 # Write a here document:
23600 cat >>$CONFIG_STATUS <<_ACEOF
23601 # First, check the format of the line:
23602 cat >"\$tmp/defines.sed" <<\\CEOF
23603 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23604 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23606 :def
23607 _ACEOF
23608 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23609 echo 'CEOF
23610 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23611 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23612 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23613 grep . conftest.tail >/dev/null || break
23614 rm -f conftest.defines
23615 mv conftest.tail conftest.defines
23616 done
23617 rm -f conftest.defines conftest.tail
23619 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23620 cat >>$CONFIG_STATUS <<\_ACEOF
23621 if test x"$ac_file" != x-; then
23622 echo "/* $configure_input */" >"$tmp/config.h"
23623 cat "$ac_result" >>"$tmp/config.h"
23624 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23625 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23626 echo "$as_me: $ac_file is unchanged" >&6;}
23627 else
23628 rm -f $ac_file
23629 mv "$tmp/config.h" $ac_file
23631 else
23632 echo "/* $configure_input */"
23633 cat "$ac_result"
23635 rm -f "$tmp/out12"
23638 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23639 echo "$as_me: executing $ac_file commands" >&6;}
23641 esac
23644 case $ac_file$ac_mode in
23645 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23646 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23647 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23648 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23649 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23650 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23651 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23652 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23653 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23654 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23655 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23656 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23657 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23659 esac
23660 done # for ac_tag
23663 { (exit 0); exit 0; }
23664 _ACEOF
23665 chmod +x $CONFIG_STATUS
23666 ac_clean_files=$ac_clean_files_save
23669 # configure is writing to config.log, and then calls config.status.
23670 # config.status does its own redirection, appending to config.log.
23671 # Unfortunately, on DOS this fails, as config.log is still kept open
23672 # by configure, so config.status won't be able to write to it; its
23673 # output is simply discarded. So we exec the FD to /dev/null,
23674 # effectively closing config.log, so it can be properly (re)opened and
23675 # appended to by config.status. When coming back to configure, we
23676 # need to make the FD available again.
23677 if test "$no_create" != yes; then
23678 ac_cs_success=:
23679 ac_config_status_args=
23680 test "$silent" = yes &&
23681 ac_config_status_args="$ac_config_status_args --quiet"
23682 exec 5>/dev/null
23683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23684 exec 5>>config.log
23685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23686 # would make configure fail if this is the last instruction.
23687 $ac_cs_success || { (exit 1); exit 1; }
23691 if test "$no_create" = "yes"
23692 then
23693 exit 0
23696 ac_save_IFS="$IFS"
23697 IFS="|"
23698 if test "x$wine_notices != "x; then
23699 echo >&6
23700 for msg in $wine_notices; do
23701 if test -n "$msg"; then
23702 { echo "$as_me:$LINENO: $msg" >&5
23703 echo "$as_me: $msg" >&6;}
23705 done
23707 for msg in $wine_warnings; do
23708 if test -n "$msg"; then
23709 echo >&2
23710 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23711 echo "$as_me: WARNING: $msg" >&2;}
23713 done
23714 IFS="$ac_save_IFS"
23716 echo "
23717 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23718 " >&6