push 585d938e6dafa7e4b71343fb5b928a9214e5518c
[wine/hacks.git] / configure
blob6fdd84f0ad80144b8b339916cfd0d629c640fb2a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.0.
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='1.1.0'
578 PACKAGE_STRING='Wine 1.1.0'
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 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
692 ac_ct_LD
694 ac_ct_NM
696 ac_ct_AR
697 ARFLAGS
698 RANLIB
699 STRIP
700 WINDRES
701 LN_S
703 GREP
704 EGREP
705 LDCONFIG
706 INSTALL_PROGRAM
707 INSTALL_SCRIPT
708 INSTALL_DATA
709 LINT
710 LINTFLAGS
711 FONTFORGE
712 PKG_CONFIG
713 RSVG
714 ICOTOOL
715 PRELINK
716 LIBPTHREAD
717 XLIB
718 XFILES
719 OPENGLFILES
720 GLU32FILES
721 OPENGL_LIBS
722 QUARTZFILES
723 DLLEXT
724 DLLFLAGS
725 LDSHARED
726 LDDLLFLAGS
727 LIBEXT
728 IMPLIBEXT
729 LDRPATH_INSTALL
730 LDRPATH_LOCAL
732 DLLTOOL
733 DLLWRAP
734 MINGWAR
735 SECURITYLIB
736 COREFOUNDATIONLIB
737 IOKITLIB
738 LDEXECFLAGS
739 DISKARBITRATIONLIB
740 COREAUDIO
741 CARBONLIB
742 CROSSTEST
743 CROSSCC
744 CROSSWINDRES
745 NASLIBS
746 XML2LIBS
747 XML2INCL
748 XSLTLIBS
749 XSLTINCL
750 HALINCL
751 sane_devel
752 SANEINCL
753 gphoto2_devel
754 gphoto2port_devel
755 GPHOTO2LIBS
756 GPHOTO2INCL
757 RESOLVLIBS
758 LCMSLIBS
759 LDAPLIBS
760 ft_devel
761 FREETYPELIBS
762 FREETYPEINCL
763 FONTSSUBDIRS
764 ESDCONFIG
765 ESDLIBS
766 ESDINCL
767 ALSALIBS
768 AUDIOIOLIBS
769 FONTCONFIGINCL
770 EXTRACFLAGS
771 BUILTINFLAG
772 LDPATH
773 CRTLIBS
774 SOCKETLIBS
775 MAIN_BINARY
776 EXTRA_BINARIES
777 LIBDL
778 LIBPOLL
779 DEPENDENCIES
780 LIBOBJS
781 LTLIBOBJS'
782 ac_subst_files='MAKE_RULES
783 MAKE_DLL_RULES
784 MAKE_IMPLIB_RULES
785 MAKE_TEST_RULES
786 MAKE_PROG_RULES'
787 ac_precious_vars='build_alias
788 host_alias
789 target_alias
791 CFLAGS
792 LDFLAGS
793 LIBS
794 CPPFLAGS
796 CXXFLAGS
798 XMKMF
799 CPP'
802 # Initialize some variables set by options.
803 ac_init_help=
804 ac_init_version=false
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
807 cache_file=/dev/null
808 exec_prefix=NONE
809 no_create=
810 no_recursion=
811 prefix=NONE
812 program_prefix=NONE
813 program_suffix=NONE
814 program_transform_name=s,x,x,
815 silent=
816 site=
817 srcdir=
818 verbose=
819 x_includes=NONE
820 x_libraries=NONE
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir='${exec_prefix}/bin'
829 sbindir='${exec_prefix}/sbin'
830 libexecdir='${exec_prefix}/libexec'
831 datarootdir='${prefix}/share'
832 datadir='${datarootdir}'
833 sysconfdir='${prefix}/etc'
834 sharedstatedir='${prefix}/com'
835 localstatedir='${prefix}/var'
836 includedir='${prefix}/include'
837 oldincludedir='/usr/include'
838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir='${datarootdir}/info'
840 htmldir='${docdir}'
841 dvidir='${docdir}'
842 pdfdir='${docdir}'
843 psdir='${docdir}'
844 libdir='${exec_prefix}/lib'
845 localedir='${datarootdir}/locale'
846 mandir='${datarootdir}/man'
848 ac_prev=
849 ac_dashdash=
850 for ac_option
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\$ac_option
855 ac_prev=
856 continue
859 case $ac_option in
860 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 *) ac_optarg=yes ;;
862 esac
864 # Accept the important Cygnus configure options, so we can diagnose typos.
866 case $ac_dashdash$ac_option in
868 ac_dashdash=yes ;;
870 -bindir | --bindir | --bindi | --bind | --bin | --bi)
871 ac_prev=bindir ;;
872 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
873 bindir=$ac_optarg ;;
875 -build | --build | --buil | --bui | --bu)
876 ac_prev=build_alias ;;
877 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
878 build_alias=$ac_optarg ;;
880 -cache-file | --cache-file | --cache-fil | --cache-fi \
881 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
882 ac_prev=cache_file ;;
883 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
884 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
885 cache_file=$ac_optarg ;;
887 --config-cache | -C)
888 cache_file=config.cache ;;
890 -datadir | --datadir | --datadi | --datad)
891 ac_prev=datadir ;;
892 -datadir=* | --datadir=* | --datadi=* | --datad=*)
893 datadir=$ac_optarg ;;
895 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
896 | --dataroo | --dataro | --datar)
897 ac_prev=datarootdir ;;
898 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
899 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
900 datarootdir=$ac_optarg ;;
902 -disable-* | --disable-*)
903 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
909 eval enable_$ac_feature=no ;;
911 -docdir | --docdir | --docdi | --doc | --do)
912 ac_prev=docdir ;;
913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 docdir=$ac_optarg ;;
916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 ac_prev=dvidir ;;
918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 dvidir=$ac_optarg ;;
921 -enable-* | --enable-*)
922 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
925 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
926 { (exit 1); exit 1; }; }
927 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
928 eval enable_$ac_feature=\$ac_optarg ;;
930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932 | --exec | --exe | --ex)
933 ac_prev=exec_prefix ;;
934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936 | --exec=* | --exe=* | --ex=*)
937 exec_prefix=$ac_optarg ;;
939 -gas | --gas | --ga | --g)
940 # Obsolete; use --with-gas.
941 with_gas=yes ;;
943 -help | --help | --hel | --he | -h)
944 ac_init_help=long ;;
945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946 ac_init_help=recursive ;;
947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948 ac_init_help=short ;;
950 -host | --host | --hos | --ho)
951 ac_prev=host_alias ;;
952 -host=* | --host=* | --hos=* | --ho=*)
953 host_alias=$ac_optarg ;;
955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 ac_prev=htmldir ;;
957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 | --ht=*)
959 htmldir=$ac_optarg ;;
961 -includedir | --includedir | --includedi | --included | --include \
962 | --includ | --inclu | --incl | --inc)
963 ac_prev=includedir ;;
964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965 | --includ=* | --inclu=* | --incl=* | --inc=*)
966 includedir=$ac_optarg ;;
968 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 ac_prev=infodir ;;
970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971 infodir=$ac_optarg ;;
973 -libdir | --libdir | --libdi | --libd)
974 ac_prev=libdir ;;
975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
976 libdir=$ac_optarg ;;
978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979 | --libexe | --libex | --libe)
980 ac_prev=libexecdir ;;
981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982 | --libexe=* | --libex=* | --libe=*)
983 libexecdir=$ac_optarg ;;
985 -localedir | --localedir | --localedi | --localed | --locale)
986 ac_prev=localedir ;;
987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988 localedir=$ac_optarg ;;
990 -localstatedir | --localstatedir | --localstatedi | --localstated \
991 | --localstate | --localstat | --localsta | --localst | --locals)
992 ac_prev=localstatedir ;;
993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995 localstatedir=$ac_optarg ;;
997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 ac_prev=mandir ;;
999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 mandir=$ac_optarg ;;
1002 -nfp | --nfp | --nf)
1003 # Obsolete; use --without-fp.
1004 with_fp=no ;;
1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007 | --no-cr | --no-c | -n)
1008 no_create=yes ;;
1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012 no_recursion=yes ;;
1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016 | --oldin | --oldi | --old | --ol | --o)
1017 ac_prev=oldincludedir ;;
1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021 oldincludedir=$ac_optarg ;;
1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 ac_prev=prefix ;;
1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026 prefix=$ac_optarg ;;
1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029 | --program-pre | --program-pr | --program-p)
1030 ac_prev=program_prefix ;;
1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033 program_prefix=$ac_optarg ;;
1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036 | --program-suf | --program-su | --program-s)
1037 ac_prev=program_suffix ;;
1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1050 -program-transform-name=* | --program-transform-name=* \
1051 | --program-transform-nam=* | --program-transform-na=* \
1052 | --program-transform-n=* | --program-transform-=* \
1053 | --program-transform=* | --program-transfor=* \
1054 | --program-transfo=* | --program-transf=* \
1055 | --program-trans=* | --program-tran=* \
1056 | --progr-tra=* | --program-tr=* | --program-t=*)
1057 program_transform_name=$ac_optarg ;;
1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 ac_prev=pdfdir ;;
1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062 pdfdir=$ac_optarg ;;
1064 -psdir | --psdir | --psdi | --psd | --ps)
1065 ac_prev=psdir ;;
1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067 psdir=$ac_optarg ;;
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1071 silent=yes ;;
1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 ac_prev=sbindir ;;
1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 | --sbi=* | --sb=*)
1077 sbindir=$ac_optarg ;;
1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081 | --sharedst | --shareds | --shared | --share | --shar \
1082 | --sha | --sh)
1083 ac_prev=sharedstatedir ;;
1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 | --sha=* | --sh=*)
1088 sharedstatedir=$ac_optarg ;;
1090 -site | --site | --sit)
1091 ac_prev=site ;;
1092 -site=* | --site=* | --sit=*)
1093 site=$ac_optarg ;;
1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 ac_prev=srcdir ;;
1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098 srcdir=$ac_optarg ;;
1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101 | --syscon | --sysco | --sysc | --sys | --sy)
1102 ac_prev=sysconfdir ;;
1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105 sysconfdir=$ac_optarg ;;
1107 -target | --target | --targe | --targ | --tar | --ta | --t)
1108 ac_prev=target_alias ;;
1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110 target_alias=$ac_optarg ;;
1112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 verbose=yes ;;
1115 -version | --version | --versio | --versi | --vers | -V)
1116 ac_init_version=: ;;
1118 -with-* | --with-*)
1119 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=\$ac_optarg ;;
1127 -without-* | --without-*)
1128 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131 { echo "$as_me: error: invalid package name: $ac_package" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1134 eval with_$ac_package=no ;;
1136 --x)
1137 # Obsolete; use --with-x.
1138 with_x=yes ;;
1140 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141 | --x-incl | --x-inc | --x-in | --x-i)
1142 ac_prev=x_includes ;;
1143 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145 x_includes=$ac_optarg ;;
1147 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1148 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149 ac_prev=x_libraries ;;
1150 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152 x_libraries=$ac_optarg ;;
1154 -*) { echo "$as_me: error: unrecognized option: $ac_option
1155 Try \`$0 --help' for more information." >&2
1156 { (exit 1); exit 1; }; }
1159 *=*)
1160 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1164 { (exit 1); exit 1; }; }
1165 eval $ac_envvar=\$ac_optarg
1166 export $ac_envvar ;;
1169 # FIXME: should be removed in autoconf 3.0.
1170 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1176 esac
1177 done
1179 if test -n "$ac_prev"; then
1180 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181 { echo "$as_me: error: missing argument to $ac_option" >&2
1182 { (exit 1); exit 1; }; }
1185 # Be sure to have absolute directory names.
1186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1191 eval ac_val=\$$ac_var
1192 case $ac_val in
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 esac
1196 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
1198 done
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1203 build=$build_alias
1204 host=$host_alias
1205 target=$target_alias
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212 If a cross compiler is detected then cross compile mode will be used." >&2
1213 elif test "x$build_alias" != "x$host_alias"; then
1214 cross_compiling=yes
1218 ac_tool_prefix=
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1221 test "$silent" = yes && exec 6>/dev/null
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 { echo "$as_me: error: Working directory cannot be determined" >&2
1228 { (exit 1); exit 1; }; }
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 { echo "$as_me: error: pwd does not report name of working directory" >&2
1231 { (exit 1); exit 1; }; }
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$0" ||
1239 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$0" : 'X\(//\)[^/]' \| \
1241 X"$0" : 'X\(//\)$' \| \
1242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1243 echo X"$0" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1252 /^X\(\/\/\)$/{
1253 s//\1/
1256 /^X\(\/\).*/{
1257 s//\1/
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1265 else
1266 ac_srcdir_defaulted=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271 { (exit 1); exit 1; }; }
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 ac_abs_confdir=`(
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1277 pwd)`
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 srcdir=.
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1285 case $srcdir in
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 esac
1288 for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293 done
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1301 cat <<_ACEOF
1302 \`configure' configures Wine 1.1.0 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1311 Configuration:
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 [PREFIX]
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1355 _ACEOF
1357 cat <<\_ACEOF
1359 X features:
1360 --x-includes=DIR X include files are in DIR
1361 --x-libraries=DIR X library files are in DIR
1363 System types:
1364 --build=BUILD configure for building on BUILD [guessed]
1365 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1366 _ACEOF
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive ) echo "Configuration of Wine 1.1.0:";;
1372 esac
1373 cat <<\_ACEOF
1375 Optional Features:
1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378 --disable-win16 do not include Win16 support
1379 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1380 binaries)
1381 --enable-maintainer-mode
1382 enable maintainer-specific build rules
1383 --disable-tests do not build the testsuites
1385 Optional Packages:
1386 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1387 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1388 --without-alsa do not use the Alsa sound support
1389 --without-audioio do not use the AudioIO sound support
1390 --without-capi do not use CAPI (ISDN support)
1391 --without-cms do not use CMS (color management support)
1392 --without-coreaudio do not use the CoreAudio sound support
1393 --without-cups do not use CUPS
1394 --without-curses do not use (n)curses
1395 --without-esd do not use the EsounD sound support
1396 --without-fontconfig do not use fontconfig
1397 --without-freetype do not use the FreeType library
1398 --without-gphoto do not use gphoto (Digital Camera support)
1399 --without-glu do not use the GLU library
1400 --without-hal do not use HAL (dynamic device support)
1401 --without-jack do not use the Jack sound support
1402 --without-jpeg do not use JPEG
1403 --without-ldap do not use LDAP
1404 --without-nas do not use the NAS sound support
1405 --without-opengl do not use OpenGL
1406 --without-openssl do not use OpenSSL
1407 --without-oss do not use the OSS sound support
1408 --without-png do not use PNG
1409 --without-sane do not use SANE (scanner support)
1410 --without-xcomposite do not use the Xcomposite extension
1411 --without-xcursor do not use the Xcursor extension
1412 --without-xinerama do not use Xinerama (multi-monitor support)
1413 --without-xinput do not use the Xinput extension
1414 --without-xml do not use XML
1415 --without-xrandr do not use Xrandr (resolution changes)
1416 --without-xrender do not use the Xrender extension
1417 --without-xshape do not use the Xshape extension
1418 --without-xshm do not use XShm (shared memory extension)
1419 --without-xslt do not use XSLT
1420 --without-xxf86vm do not use XFree video mode extension
1421 --with-wine-tools=DIR use Wine tools from directory DIR
1422 --with-x use the X Window System
1424 Some influential environment variables:
1425 CC C compiler command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1432 CXX C++ compiler command
1433 CXXFLAGS C++ compiler flags
1434 XMKMF Path to xmkmf, Makefile generator for X Window System
1435 CPP C preprocessor
1437 Use these variables to override the choices made by `configure' or to help
1438 it to find libraries and programs with nonstandard names/locations.
1440 Report bugs to <wine-devel@winehq.org>.
1441 _ACEOF
1442 ac_status=$?
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1448 test -d "$ac_dir" || continue
1449 ac_builddir=.
1451 case "$ac_dir" in
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1455 # A ".." for each directory in $ac_dir_suffix.
1456 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1457 case $ac_top_builddir_sub in
1458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460 esac ;;
1461 esac
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1467 case $srcdir in
1468 .) # We are building in place.
1469 ac_srcdir=.
1470 ac_top_srcdir=$ac_top_builddir_sub
1471 ac_abs_top_srcdir=$ac_pwd ;;
1472 [\\/]* | ?:[\\/]* ) # Absolute name.
1473 ac_srcdir=$srcdir$ac_dir_suffix;
1474 ac_top_srcdir=$srcdir
1475 ac_abs_top_srcdir=$srcdir ;;
1476 *) # Relative name.
1477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478 ac_top_srcdir=$ac_top_build_prefix$srcdir
1479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 esac
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483 cd "$ac_dir" || { ac_status=$?; continue; }
1484 # Check for guested configure.
1485 if test -f "$ac_srcdir/configure.gnu"; then
1486 echo &&
1487 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488 elif test -f "$ac_srcdir/configure"; then
1489 echo &&
1490 $SHELL "$ac_srcdir/configure" --help=recursive
1491 else
1492 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 fi || ac_status=$?
1494 cd "$ac_pwd" || { ac_status=$?; break; }
1495 done
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1500 cat <<\_ACEOF
1501 Wine configure 1.1.0
1502 generated by GNU Autoconf 2.61
1504 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1505 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1506 This configure script is free software; the Free Software Foundation
1507 gives unlimited permission to copy, distribute and modify it.
1508 _ACEOF
1509 exit
1511 cat >config.log <<_ACEOF
1512 This file contains any messages produced by compilers while
1513 running configure, to aid debugging if configure makes a mistake.
1515 It was created by Wine $as_me 1.1.0, which was
1516 generated by GNU Autoconf 2.61. Invocation command line was
1518 $ $0 $@
1520 _ACEOF
1521 exec 5>>config.log
1523 cat <<_ASUNAME
1524 ## --------- ##
1525 ## Platform. ##
1526 ## --------- ##
1528 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1529 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1530 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1531 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1532 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1535 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1537 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1538 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1539 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1540 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1541 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1542 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1543 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1545 _ASUNAME
1547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1548 for as_dir in $PATH
1550 IFS=$as_save_IFS
1551 test -z "$as_dir" && as_dir=.
1552 echo "PATH: $as_dir"
1553 done
1554 IFS=$as_save_IFS
1556 } >&5
1558 cat >&5 <<_ACEOF
1561 ## ----------- ##
1562 ## Core tests. ##
1563 ## ----------- ##
1565 _ACEOF
1568 # Keep a trace of the command line.
1569 # Strip out --no-create and --no-recursion so they do not pile up.
1570 # Strip out --silent because we don't want to record it for future runs.
1571 # Also quote any args containing shell meta-characters.
1572 # Make two passes to allow for proper duplicate-argument suppression.
1573 ac_configure_args=
1574 ac_configure_args0=
1575 ac_configure_args1=
1576 ac_must_keep_next=false
1577 for ac_pass in 1 2
1579 for ac_arg
1581 case $ac_arg in
1582 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1583 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1584 | -silent | --silent | --silen | --sile | --sil)
1585 continue ;;
1586 *\'*)
1587 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1588 esac
1589 case $ac_pass in
1590 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1592 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1593 if test $ac_must_keep_next = true; then
1594 ac_must_keep_next=false # Got value, back to normal.
1595 else
1596 case $ac_arg in
1597 *=* | --config-cache | -C | -disable-* | --disable-* \
1598 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1599 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1600 | -with-* | --with-* | -without-* | --without-* | --x)
1601 case "$ac_configure_args0 " in
1602 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1603 esac
1605 -* ) ac_must_keep_next=true ;;
1606 esac
1608 ac_configure_args="$ac_configure_args '$ac_arg'"
1610 esac
1611 done
1612 done
1613 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1614 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1616 # When interrupted or exit'd, cleanup temporary files, and complete
1617 # config.log. We remove comments because anyway the quotes in there
1618 # would cause problems or look ugly.
1619 # WARNING: Use '\'' to represent an apostrophe within the trap.
1620 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1621 trap 'exit_status=$?
1622 # Save into config.log some information that might help in debugging.
1624 echo
1626 cat <<\_ASBOX
1627 ## ---------------- ##
1628 ## Cache variables. ##
1629 ## ---------------- ##
1630 _ASBOX
1631 echo
1632 # The following way of writing the cache mishandles newlines in values,
1634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1635 eval ac_val=\$$ac_var
1636 case $ac_val in #(
1637 *${as_nl}*)
1638 case $ac_var in #(
1639 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1640 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1641 esac
1642 case $ac_var in #(
1643 _ | IFS | as_nl) ;; #(
1644 *) $as_unset $ac_var ;;
1645 esac ;;
1646 esac
1647 done
1648 (set) 2>&1 |
1649 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1650 *${as_nl}ac_space=\ *)
1651 sed -n \
1652 "s/'\''/'\''\\\\'\'''\''/g;
1653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 ;; #(
1656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 esac |
1659 sort
1661 echo
1663 cat <<\_ASBOX
1664 ## ----------------- ##
1665 ## Output variables. ##
1666 ## ----------------- ##
1667 _ASBOX
1668 echo
1669 for ac_var in $ac_subst_vars
1671 eval ac_val=\$$ac_var
1672 case $ac_val in
1673 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1674 esac
1675 echo "$ac_var='\''$ac_val'\''"
1676 done | sort
1677 echo
1679 if test -n "$ac_subst_files"; then
1680 cat <<\_ASBOX
1681 ## ------------------- ##
1682 ## File substitutions. ##
1683 ## ------------------- ##
1684 _ASBOX
1685 echo
1686 for ac_var in $ac_subst_files
1688 eval ac_val=\$$ac_var
1689 case $ac_val in
1690 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691 esac
1692 echo "$ac_var='\''$ac_val'\''"
1693 done | sort
1694 echo
1697 if test -s confdefs.h; then
1698 cat <<\_ASBOX
1699 ## ----------- ##
1700 ## confdefs.h. ##
1701 ## ----------- ##
1702 _ASBOX
1703 echo
1704 cat confdefs.h
1705 echo
1707 test "$ac_signal" != 0 &&
1708 echo "$as_me: caught signal $ac_signal"
1709 echo "$as_me: exit $exit_status"
1710 } >&5
1711 rm -f core *.core core.conftest.* &&
1712 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1713 exit $exit_status
1715 for ac_signal in 1 2 13 15; do
1716 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1717 done
1718 ac_signal=0
1720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1721 rm -f -r conftest* confdefs.h
1723 # Predefined preprocessor variables.
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_NAME "$PACKAGE_NAME"
1727 _ACEOF
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1732 _ACEOF
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1737 _ACEOF
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_STRING "$PACKAGE_STRING"
1742 _ACEOF
1745 cat >>confdefs.h <<_ACEOF
1746 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1747 _ACEOF
1750 # Let the site file select an alternate cache file if it wants to.
1751 # Prefer explicitly selected file to automatically selected ones.
1752 if test -n "$CONFIG_SITE"; then
1753 set x "$CONFIG_SITE"
1754 elif test "x$prefix" != xNONE; then
1755 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1756 else
1757 set x "$ac_default_prefix/share/config.site" \
1758 "$ac_default_prefix/etc/config.site"
1760 shift
1761 for ac_site_file
1763 if test -r "$ac_site_file"; then
1764 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1765 echo "$as_me: loading site script $ac_site_file" >&6;}
1766 sed 's/^/| /' "$ac_site_file" >&5
1767 . "$ac_site_file"
1769 done
1771 if test -r "$cache_file"; then
1772 # Some versions of bash will fail to source /dev/null (special
1773 # files actually), so we avoid doing that.
1774 if test -f "$cache_file"; then
1775 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1776 echo "$as_me: loading cache $cache_file" >&6;}
1777 case $cache_file in
1778 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1779 *) . "./$cache_file";;
1780 esac
1782 else
1783 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1784 echo "$as_me: creating cache $cache_file" >&6;}
1785 >$cache_file
1788 # Check that the precious variables saved in the cache have kept the same
1789 # value.
1790 ac_cache_corrupted=false
1791 for ac_var in $ac_precious_vars; do
1792 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1793 eval ac_new_set=\$ac_env_${ac_var}_set
1794 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1795 eval ac_new_val=\$ac_env_${ac_var}_value
1796 case $ac_old_set,$ac_new_set in
1797 set,)
1798 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1799 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1800 ac_cache_corrupted=: ;;
1801 ,set)
1802 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1803 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1804 ac_cache_corrupted=: ;;
1805 ,);;
1807 if test "x$ac_old_val" != "x$ac_new_val"; then
1808 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1809 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1810 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1811 echo "$as_me: former value: $ac_old_val" >&2;}
1812 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1813 echo "$as_me: current value: $ac_new_val" >&2;}
1814 ac_cache_corrupted=:
1815 fi;;
1816 esac
1817 # Pass precious variables to config.status.
1818 if test "$ac_new_set" = set; then
1819 case $ac_new_val in
1820 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1821 *) ac_arg=$ac_var=$ac_new_val ;;
1822 esac
1823 case " $ac_configure_args " in
1824 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1825 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1826 esac
1828 done
1829 if $ac_cache_corrupted; then
1830 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1831 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1832 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1833 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1834 { (exit 1); exit 1; }; }
1861 ac_ext=c
1862 ac_cpp='$CPP $CPPFLAGS'
1863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1869 ac_config_headers="$ac_config_headers include/config.h"
1871 ac_aux_dir=
1872 for ac_dir in tools "$srcdir"/tools; do
1873 if test -f "$ac_dir/install-sh"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/install-sh -c"
1876 break
1877 elif test -f "$ac_dir/install.sh"; then
1878 ac_aux_dir=$ac_dir
1879 ac_install_sh="$ac_aux_dir/install.sh -c"
1880 break
1881 elif test -f "$ac_dir/shtool"; then
1882 ac_aux_dir=$ac_dir
1883 ac_install_sh="$ac_aux_dir/shtool install -c"
1884 break
1886 done
1887 if test -z "$ac_aux_dir"; then
1888 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1889 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1890 { (exit 1); exit 1; }; }
1893 # These three variables are undocumented and unsupported,
1894 # and are intended to be withdrawn in a future Autoconf release.
1895 # They can cause serious problems if a builder's source tree is in a directory
1896 # whose full name contains unusual characters.
1897 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1898 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1899 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1904 # Check whether --enable-win16 was given.
1905 if test "${enable_win16+set}" = set; then
1906 enableval=$enable_win16;
1909 # Check whether --enable-win64 was given.
1910 if test "${enable_win64+set}" = set; then
1911 enableval=$enable_win64;
1914 # Check whether --enable-maintainer-mode was given.
1915 if test "${enable_maintainer_mode+set}" = set; then
1916 enableval=$enable_maintainer_mode;
1917 else
1918 MAINTAINER_MODE=\#
1924 # Check whether --with-alsa was given.
1925 if test "${with_alsa+set}" = set; then
1926 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1930 # Check whether --with-audioio was given.
1931 if test "${with_audioio+set}" = set; then
1932 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1936 # Check whether --with-capi was given.
1937 if test "${with_capi+set}" = set; then
1938 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1942 # Check whether --with-cms was given.
1943 if test "${with_cms+set}" = set; then
1944 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1948 # Check whether --with-coreaudio was given.
1949 if test "${with_coreaudio+set}" = set; then
1950 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1954 # Check whether --with-cups was given.
1955 if test "${with_cups+set}" = set; then
1956 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1960 # Check whether --with-curses was given.
1961 if test "${with_curses+set}" = set; then
1962 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1966 # Check whether --with-esd was given.
1967 if test "${with_esd+set}" = set; then
1968 withval=$with_esd;
1972 # Check whether --with-fontconfig was given.
1973 if test "${with_fontconfig+set}" = set; then
1974 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1978 # Check whether --with-freetype was given.
1979 if test "${with_freetype+set}" = set; then
1980 withval=$with_freetype;
1984 # Check whether --with-gphoto was given.
1985 if test "${with_gphoto+set}" = set; then
1986 withval=$with_gphoto;
1990 # Check whether --with-glu was given.
1991 if test "${with_glu+set}" = set; then
1992 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1996 # Check whether --with-hal was given.
1997 if test "${with_hal+set}" = set; then
1998 withval=$with_hal;
2002 # Check whether --with-jack was given.
2003 if test "${with_jack+set}" = set; then
2004 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2008 # Check whether --with-jpeg was given.
2009 if test "${with_jpeg+set}" = set; then
2010 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2014 # Check whether --with-ldap was given.
2015 if test "${with_ldap+set}" = set; then
2016 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2020 # Check whether --with-nas was given.
2021 if test "${with_nas+set}" = set; then
2022 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2026 # Check whether --with-opengl was given.
2027 if test "${with_opengl+set}" = set; then
2028 withval=$with_opengl;
2032 # Check whether --with-openssl was given.
2033 if test "${with_openssl+set}" = set; then
2034 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2038 # Check whether --with-oss was given.
2039 if test "${with_oss+set}" = set; then
2040 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
2044 # Check whether --with-png was given.
2045 if test "${with_png+set}" = set; then
2046 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2050 # Check whether --with-sane was given.
2051 if test "${with_sane+set}" = set; then
2052 withval=$with_sane;
2056 # Check whether --with-xcomposite was given.
2057 if test "${with_xcomposite+set}" = set; then
2058 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2062 # Check whether --with-xcursor was given.
2063 if test "${with_xcursor+set}" = set; then
2064 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2068 # Check whether --with-xinerama was given.
2069 if test "${with_xinerama+set}" = set; then
2070 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2074 # Check whether --with-xinput was given.
2075 if test "${with_xinput+set}" = set; then
2076 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2080 # Check whether --with-xml was given.
2081 if test "${with_xml+set}" = set; then
2082 withval=$with_xml;
2086 # Check whether --with-xrandr was given.
2087 if test "${with_xrandr+set}" = set; then
2088 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2092 # Check whether --with-xrender was given.
2093 if test "${with_xrender+set}" = set; then
2094 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2098 # Check whether --with-xshape was given.
2099 if test "${with_xshape+set}" = set; then
2100 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2104 # Check whether --with-xshm was given.
2105 if test "${with_xshm+set}" = set; then
2106 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2110 # Check whether --with-xslt was given.
2111 if test "${with_xslt+set}" = set; then
2112 withval=$with_xslt;
2116 # Check whether --with-xxf86vm was given.
2117 if test "${with_xxf86vm+set}" = set; then
2118 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2123 # Check whether --with-wine-tools was given.
2124 if test "${with_wine_tools+set}" = set; then
2125 withval=$with_wine_tools;
2128 # Check whether --enable-tests was given.
2129 if test "${enable_tests+set}" = set; then
2130 enableval=$enable_tests;
2134 # Make sure we can run config.sub.
2135 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2136 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2137 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2138 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: checking build system type" >&5
2141 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2142 if test "${ac_cv_build+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 else
2145 ac_build_alias=$build_alias
2146 test "x$ac_build_alias" = x &&
2147 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2148 test "x$ac_build_alias" = x &&
2149 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2150 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2151 { (exit 1); exit 1; }; }
2152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2153 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2154 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2155 { (exit 1); exit 1; }; }
2158 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2159 echo "${ECHO_T}$ac_cv_build" >&6; }
2160 case $ac_cv_build in
2161 *-*-*) ;;
2162 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2163 echo "$as_me: error: invalid value of canonical build" >&2;}
2164 { (exit 1); exit 1; }; };;
2165 esac
2166 build=$ac_cv_build
2167 ac_save_IFS=$IFS; IFS='-'
2168 set x $ac_cv_build
2169 shift
2170 build_cpu=$1
2171 build_vendor=$2
2172 shift; shift
2173 # Remember, the first character of IFS is used to create $*,
2174 # except with old shells:
2175 build_os=$*
2176 IFS=$ac_save_IFS
2177 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2180 { echo "$as_me:$LINENO: checking host system type" >&5
2181 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2182 if test "${ac_cv_host+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 else
2185 if test "x$host_alias" = x; then
2186 ac_cv_host=$ac_cv_build
2187 else
2188 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2189 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2190 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2191 { (exit 1); exit 1; }; }
2195 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2196 echo "${ECHO_T}$ac_cv_host" >&6; }
2197 case $ac_cv_host in
2198 *-*-*) ;;
2199 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2200 echo "$as_me: error: invalid value of canonical host" >&2;}
2201 { (exit 1); exit 1; }; };;
2202 esac
2203 host=$ac_cv_host
2204 ac_save_IFS=$IFS; IFS='-'
2205 set x $ac_cv_host
2206 shift
2207 host_cpu=$1
2208 host_vendor=$2
2209 shift; shift
2210 # Remember, the first character of IFS is used to create $*,
2211 # except with old shells:
2212 host_os=$*
2213 IFS=$ac_save_IFS
2214 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2217 case $host in
2218 x86_64*linux*)
2219 if test "x$enable_win64" != "xyes"
2220 then
2221 test -n "$CC" || CC="gcc -m32"
2222 test -n "$CXX"|| CXX="g++ -m32"
2223 test -n "$LD" || LD="ld -m elf_i386"
2224 test -n "$AS" || AS="as --32"
2225 host_cpu="i386"
2228 esac
2230 case $host_cpu in
2231 *i[3456789]86*)
2232 if test "x$enable_win16" != "xno"
2233 then
2234 enable_win16="yes"
2237 esac
2239 WIN16_FILES="\$(WIN16_FILES)"
2241 WIN16_INSTALL="\$(WIN16_INSTALL)"
2243 if test "x$enable_win16" != "xyes"
2244 then
2245 WIN16_FILES=""
2246 WIN16_INSTALL=""
2249 if test "x$enable_tests" == "xno"
2250 then
2251 TESTSUBDIRS=""
2253 WINETEST=""
2255 else
2256 TESTSUBDIRS="\$(TESTSUBDIRS)"
2258 WINETEST="winetest"
2262 case "$srcdir" in
2263 .) ;;
2264 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2265 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2266 You need to run 'make distclean' in the source tree first." >&5
2267 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2268 You need to run 'make distclean' in the source tree first." >&2;}
2269 { (exit 1); exit 1; }; }
2270 fi ;;
2271 esac
2274 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2275 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2276 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2277 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 else
2280 cat >conftest.make <<\_ACEOF
2281 SHELL = /bin/sh
2282 all:
2283 @echo '@@@%%%=$(MAKE)=@@@%%%'
2284 _ACEOF
2285 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2286 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2287 *@@@%%%=?*=@@@%%%*)
2288 eval ac_cv_prog_make_${ac_make}_set=yes;;
2290 eval ac_cv_prog_make_${ac_make}_set=no;;
2291 esac
2292 rm -f conftest.make
2294 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2295 { echo "$as_me:$LINENO: result: yes" >&5
2296 echo "${ECHO_T}yes" >&6; }
2297 SET_MAKE=
2298 else
2299 { echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6; }
2301 SET_MAKE="MAKE=${MAKE-make}"
2304 ac_ext=c
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2314 if test "${ac_cv_prog_CC+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 else
2317 if test -n "$CC"; then
2318 ac_cv_prog_CC="$CC" # Let the user override the test.
2319 else
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 for as_dir in $PATH
2323 IFS=$as_save_IFS
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 break 2
2331 done
2332 done
2333 IFS=$as_save_IFS
2337 CC=$ac_cv_prog_CC
2338 if test -n "$CC"; then
2339 { echo "$as_me:$LINENO: result: $CC" >&5
2340 echo "${ECHO_T}$CC" >&6; }
2341 else
2342 { echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6; }
2348 if test -z "$ac_cv_prog_CC"; then
2349 ac_ct_CC=$CC
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc; ac_word=$2
2352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2359 else
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 for as_dir in $PATH
2363 IFS=$as_save_IFS
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_ac_ct_CC="gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 break 2
2371 done
2372 done
2373 IFS=$as_save_IFS
2377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2378 if test -n "$ac_ct_CC"; then
2379 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2380 echo "${ECHO_T}$ac_ct_CC" >&6; }
2381 else
2382 { echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6; }
2386 if test "x$ac_ct_CC" = x; then
2387 CC=""
2388 else
2389 case $cross_compiling:$ac_tool_warned in
2390 yes:)
2391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&5
2394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2395 whose name does not start with the host triplet. If you think this
2396 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2397 ac_tool_warned=yes ;;
2398 esac
2399 CC=$ac_ct_CC
2401 else
2402 CC="$ac_cv_prog_CC"
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2407 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2408 set dummy ${ac_tool_prefix}cc; ac_word=$2
2409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2411 if test "${ac_cv_prog_CC+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 else
2414 if test -n "$CC"; then
2415 ac_cv_prog_CC="$CC" # Let the user override the test.
2416 else
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH
2420 IFS=$as_save_IFS
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424 ac_cv_prog_CC="${ac_tool_prefix}cc"
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 break 2
2428 done
2429 done
2430 IFS=$as_save_IFS
2434 CC=$ac_cv_prog_CC
2435 if test -n "$CC"; then
2436 { echo "$as_me:$LINENO: result: $CC" >&5
2437 echo "${ECHO_T}$CC" >&6; }
2438 else
2439 { echo "$as_me:$LINENO: result: no" >&5
2440 echo "${ECHO_T}no" >&6; }
2446 if test -z "$CC"; then
2447 # Extract the first word of "cc", so it can be a program name with args.
2448 set dummy cc; ac_word=$2
2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2451 if test "${ac_cv_prog_CC+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 else
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC="$CC" # Let the user override the test.
2456 else
2457 ac_prog_rejected=no
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2466 ac_prog_rejected=yes
2467 continue
2469 ac_cv_prog_CC="cc"
2470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 break 2
2473 done
2474 done
2475 IFS=$as_save_IFS
2477 if test $ac_prog_rejected = yes; then
2478 # We found a bogon in the path, so make sure we never use it.
2479 set dummy $ac_cv_prog_CC
2480 shift
2481 if test $# != 0; then
2482 # We chose a different compiler from the bogus one.
2483 # However, it has the same basename, so the bogon will be chosen
2484 # first if we set CC to just the basename; use the full file name.
2485 shift
2486 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2491 CC=$ac_cv_prog_CC
2492 if test -n "$CC"; then
2493 { echo "$as_me:$LINENO: result: $CC" >&5
2494 echo "${ECHO_T}$CC" >&6; }
2495 else
2496 { echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6; }
2502 if test -z "$CC"; then
2503 if test -n "$ac_tool_prefix"; then
2504 for ac_prog in cl.exe
2506 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2510 if test "${ac_cv_prog_CC+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 else
2513 if test -n "$CC"; then
2514 ac_cv_prog_CC="$CC" # Let the user override the test.
2515 else
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 for as_dir in $PATH
2519 IFS=$as_save_IFS
2520 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 break 2
2527 done
2528 done
2529 IFS=$as_save_IFS
2533 CC=$ac_cv_prog_CC
2534 if test -n "$CC"; then
2535 { echo "$as_me:$LINENO: result: $CC" >&5
2536 echo "${ECHO_T}$CC" >&6; }
2537 else
2538 { echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6; }
2543 test -n "$CC" && break
2544 done
2546 if test -z "$CC"; then
2547 ac_ct_CC=$CC
2548 for ac_prog in cl.exe
2550 # Extract the first word of "$ac_prog", so it can be a program name with args.
2551 set dummy $ac_prog; ac_word=$2
2552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2559 else
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 for as_dir in $PATH
2563 IFS=$as_save_IFS
2564 test -z "$as_dir" && as_dir=.
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_ac_ct_CC="$ac_prog"
2568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 break 2
2571 done
2572 done
2573 IFS=$as_save_IFS
2577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2578 if test -n "$ac_ct_CC"; then
2579 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2580 echo "${ECHO_T}$ac_ct_CC" >&6; }
2581 else
2582 { echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6; }
2587 test -n "$ac_ct_CC" && break
2588 done
2590 if test "x$ac_ct_CC" = x; then
2591 CC=""
2592 else
2593 case $cross_compiling:$ac_tool_warned in
2594 yes:)
2595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2596 whose name does not start with the host triplet. If you think this
2597 configuration is useful to you, please write to autoconf@gnu.org." >&5
2598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2599 whose name does not start with the host triplet. If you think this
2600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2601 ac_tool_warned=yes ;;
2602 esac
2603 CC=$ac_ct_CC
2610 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: no acceptable C compiler found in \$PATH
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2616 # Provide some information about the compiler.
2617 echo "$as_me:$LINENO: checking for C compiler version" >&5
2618 ac_compiler=`set X $ac_compile; echo $2`
2619 { (ac_try="$ac_compiler --version >&5"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler --version >&5") 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2629 { (ac_try="$ac_compiler -v >&5"
2630 case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633 esac
2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_compiler -v >&5") 2>&5
2636 ac_status=$?
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }
2639 { (ac_try="$ac_compiler -V >&5"
2640 case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2643 esac
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_compiler -V >&5") 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }
2650 cat >conftest.$ac_ext <<_ACEOF
2651 /* confdefs.h. */
2652 _ACEOF
2653 cat confdefs.h >>conftest.$ac_ext
2654 cat >>conftest.$ac_ext <<_ACEOF
2655 /* end confdefs.h. */
2658 main ()
2662 return 0;
2664 _ACEOF
2665 ac_clean_files_save=$ac_clean_files
2666 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2667 # Try to create an executable without -o first, disregard a.out.
2668 # It will help us diagnose broken compilers, and finding out an intuition
2669 # of exeext.
2670 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2671 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2672 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2674 # List of possible output files, starting from the most likely.
2675 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2676 # only as a last resort. b.out is created by i960 compilers.
2677 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2679 # The IRIX 6 linker writes into existing files which may not be
2680 # executable, retaining their permissions. Remove them first so a
2681 # subsequent execution test works.
2682 ac_rmfiles=
2683 for ac_file in $ac_files
2685 case $ac_file in
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2688 esac
2689 done
2690 rm -f $ac_rmfiles
2692 if { (ac_try="$ac_link_default"
2693 case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2698 (eval "$ac_link_default") 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2703 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2704 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2705 # so that the user can short-circuit this test for compilers unknown to
2706 # Autoconf.
2707 for ac_file in $ac_files ''
2709 test -f "$ac_file" || continue
2710 case $ac_file in
2711 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2713 [ab].out )
2714 # We found the default executable, but exeext='' is most
2715 # certainly right.
2716 break;;
2717 *.* )
2718 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2719 then :; else
2720 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2722 # We set ac_cv_exeext here because the later test for it is not
2723 # safe: cross compilers may not add the suffix if given an `-o'
2724 # argument, so we may need to know it at that point already.
2725 # Even if this section looks crufty: it has the advantage of
2726 # actually working.
2727 break;;
2729 break;;
2730 esac
2731 done
2732 test "$ac_cv_exeext" = no && ac_cv_exeext=
2734 else
2735 ac_file=''
2738 { echo "$as_me:$LINENO: result: $ac_file" >&5
2739 echo "${ECHO_T}$ac_file" >&6; }
2740 if test -z "$ac_file"; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2745 See \`config.log' for more details." >&5
2746 echo "$as_me: error: C compiler cannot create executables
2747 See \`config.log' for more details." >&2;}
2748 { (exit 77); exit 77; }; }
2751 ac_exeext=$ac_cv_exeext
2753 # Check that the compiler produces executables we can run. If not, either
2754 # the compiler is broken, or we cross compile.
2755 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2756 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2757 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2758 # If not cross compiling, check that we can run a simple program.
2759 if test "$cross_compiling" != yes; then
2760 if { ac_try='./$ac_file'
2761 { (case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_try") 2>&5
2767 ac_status=$?
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2770 cross_compiling=no
2771 else
2772 if test "$cross_compiling" = maybe; then
2773 cross_compiling=yes
2774 else
2775 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot run C compiled programs.
2779 If you meant to cross compile, use \`--host'.
2780 See \`config.log' for more details." >&2;}
2781 { (exit 1); exit 1; }; }
2785 { echo "$as_me:$LINENO: result: yes" >&5
2786 echo "${ECHO_T}yes" >&6; }
2788 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2789 ac_clean_files=$ac_clean_files_save
2790 # Check that the compiler produces executables we can run. If not, either
2791 # the compiler is broken, or we cross compile.
2792 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2793 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2794 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2795 echo "${ECHO_T}$cross_compiling" >&6; }
2797 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2798 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2799 if { (ac_try="$ac_link"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2805 (eval "$ac_link") 2>&5
2806 ac_status=$?
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }; then
2809 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2810 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2811 # work properly (i.e., refer to `conftest.exe'), while it won't with
2812 # `rm'.
2813 for ac_file in conftest.exe conftest conftest.*; do
2814 test -f "$ac_file" || continue
2815 case $ac_file in
2816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2817 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2818 break;;
2819 * ) break;;
2820 esac
2821 done
2822 else
2823 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&5
2825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2826 See \`config.log' for more details." >&2;}
2827 { (exit 1); exit 1; }; }
2830 rm -f conftest$ac_cv_exeext
2831 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2832 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2834 rm -f conftest.$ac_ext
2835 EXEEXT=$ac_cv_exeext
2836 ac_exeext=$EXEEXT
2837 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2839 if test "${ac_cv_objext+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 cat >conftest.$ac_ext <<_ACEOF
2843 /* confdefs.h. */
2844 _ACEOF
2845 cat confdefs.h >>conftest.$ac_ext
2846 cat >>conftest.$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2850 main ()
2854 return 0;
2856 _ACEOF
2857 rm -f conftest.o conftest.obj
2858 if { (ac_try="$ac_compile"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2864 (eval "$ac_compile") 2>&5
2865 ac_status=$?
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; then
2868 for ac_file in conftest.o conftest.obj conftest.*; do
2869 test -f "$ac_file" || continue;
2870 case $ac_file in
2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2872 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2873 break;;
2874 esac
2875 done
2876 else
2877 echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2880 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2881 See \`config.log' for more details." >&5
2882 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2883 See \`config.log' for more details." >&2;}
2884 { (exit 1); exit 1; }; }
2887 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2889 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2890 echo "${ECHO_T}$ac_cv_objext" >&6; }
2891 OBJEXT=$ac_cv_objext
2892 ac_objext=$OBJEXT
2893 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2894 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2895 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 else
2898 cat >conftest.$ac_ext <<_ACEOF
2899 /* confdefs.h. */
2900 _ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2906 main ()
2908 #ifndef __GNUC__
2909 choke me
2910 #endif
2913 return 0;
2915 _ACEOF
2916 rm -f conftest.$ac_objext
2917 if { (ac_try="$ac_compile"
2918 case "(($ac_try" in
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2921 esac
2922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2923 (eval "$ac_compile") 2>conftest.er1
2924 ac_status=$?
2925 grep -v '^ *+' conftest.er1 >conftest.err
2926 rm -f conftest.er1
2927 cat conftest.err >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } && {
2930 test -z "$ac_c_werror_flag" ||
2931 test ! -s conftest.err
2932 } && test -s conftest.$ac_objext; then
2933 ac_compiler_gnu=yes
2934 else
2935 echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 ac_compiler_gnu=no
2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2945 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2947 GCC=`test $ac_compiler_gnu = yes && echo yes`
2948 ac_test_CFLAGS=${CFLAGS+set}
2949 ac_save_CFLAGS=$CFLAGS
2950 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2951 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2952 if test "${ac_cv_prog_cc_g+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 else
2955 ac_save_c_werror_flag=$ac_c_werror_flag
2956 ac_c_werror_flag=yes
2957 ac_cv_prog_cc_g=no
2958 CFLAGS="-g"
2959 cat >conftest.$ac_ext <<_ACEOF
2960 /* confdefs.h. */
2961 _ACEOF
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2967 main ()
2971 return 0;
2973 _ACEOF
2974 rm -f conftest.$ac_objext
2975 if { (ac_try="$ac_compile"
2976 case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2979 esac
2980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2981 (eval "$ac_compile") 2>conftest.er1
2982 ac_status=$?
2983 grep -v '^ *+' conftest.er1 >conftest.err
2984 rm -f conftest.er1
2985 cat conftest.err >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } && {
2988 test -z "$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2990 } && test -s conftest.$ac_objext; then
2991 ac_cv_prog_cc_g=yes
2992 else
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 CFLAGS=""
2997 cat >conftest.$ac_ext <<_ACEOF
2998 /* confdefs.h. */
2999 _ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3005 main ()
3009 return 0;
3011 _ACEOF
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3030 else
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3034 ac_c_werror_flag=$ac_save_c_werror_flag
3035 CFLAGS="-g"
3036 cat >conftest.$ac_ext <<_ACEOF
3037 /* confdefs.h. */
3038 _ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3044 main ()
3048 return 0;
3050 _ACEOF
3051 rm -f conftest.$ac_objext
3052 if { (ac_try="$ac_compile"
3053 case "(($ac_try" in
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3056 esac
3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3058 (eval "$ac_compile") 2>conftest.er1
3059 ac_status=$?
3060 grep -v '^ *+' conftest.er1 >conftest.err
3061 rm -f conftest.er1
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } && {
3065 test -z "$ac_c_werror_flag" ||
3066 test ! -s conftest.err
3067 } && test -s conftest.$ac_objext; then
3068 ac_cv_prog_cc_g=yes
3069 else
3070 echo "$as_me: failed program was:" >&5
3071 sed 's/^/| /' conftest.$ac_ext >&5
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 ac_c_werror_flag=$ac_save_c_werror_flag
3085 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3087 if test "$ac_test_CFLAGS" = set; then
3088 CFLAGS=$ac_save_CFLAGS
3089 elif test $ac_cv_prog_cc_g = yes; then
3090 if test "$GCC" = yes; then
3091 CFLAGS="-g -O2"
3092 else
3093 CFLAGS="-g"
3095 else
3096 if test "$GCC" = yes; then
3097 CFLAGS="-O2"
3098 else
3099 CFLAGS=
3102 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3103 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3104 if test "${ac_cv_prog_cc_c89+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 else
3107 ac_cv_prog_cc_c89=no
3108 ac_save_CC=$CC
3109 cat >conftest.$ac_ext <<_ACEOF
3110 /* confdefs.h. */
3111 _ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3115 #include <stdarg.h>
3116 #include <stdio.h>
3117 #include <sys/types.h>
3118 #include <sys/stat.h>
3119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3120 struct buf { int x; };
3121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3122 static char *e (p, i)
3123 char **p;
3124 int i;
3126 return p[i];
3128 static char *f (char * (*g) (char **, int), char **p, ...)
3130 char *s;
3131 va_list v;
3132 va_start (v,p);
3133 s = g (p, va_arg (v,int));
3134 va_end (v);
3135 return s;
3138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3139 function prototypes and stuff, but not '\xHH' hex character constants.
3140 These don't provoke an error unfortunately, instead are silently treated
3141 as 'x'. The following induces an error, until -std is added to get
3142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3143 array size at least. It's necessary to write '\x00'==0 to get something
3144 that's true only with -std. */
3145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3147 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3148 inside strings and character constants. */
3149 #define FOO(x) 'x'
3150 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3152 int test (int i, double x);
3153 struct s1 {int (*f) (int a);};
3154 struct s2 {int (*f) (double a);};
3155 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3156 int argc;
3157 char **argv;
3159 main ()
3161 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3163 return 0;
3165 _ACEOF
3166 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3167 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3169 CC="$ac_save_CC $ac_arg"
3170 rm -f conftest.$ac_objext
3171 if { (ac_try="$ac_compile"
3172 case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3175 esac
3176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_compile") 2>conftest.er1
3178 ac_status=$?
3179 grep -v '^ *+' conftest.er1 >conftest.err
3180 rm -f conftest.er1
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } && {
3184 test -z "$ac_c_werror_flag" ||
3185 test ! -s conftest.err
3186 } && test -s conftest.$ac_objext; then
3187 ac_cv_prog_cc_c89=$ac_arg
3188 else
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3195 rm -f core conftest.err conftest.$ac_objext
3196 test "x$ac_cv_prog_cc_c89" != "xno" && break
3197 done
3198 rm -f conftest.$ac_ext
3199 CC=$ac_save_CC
3202 # AC_CACHE_VAL
3203 case "x$ac_cv_prog_cc_c89" in
3205 { echo "$as_me:$LINENO: result: none needed" >&5
3206 echo "${ECHO_T}none needed" >&6; } ;;
3207 xno)
3208 { echo "$as_me:$LINENO: result: unsupported" >&5
3209 echo "${ECHO_T}unsupported" >&6; } ;;
3211 CC="$CC $ac_cv_prog_cc_c89"
3212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3213 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3214 esac
3217 ac_ext=c
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 ac_ext=cpp
3224 ac_cpp='$CXXCPP $CPPFLAGS'
3225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3228 if test -z "$CXX"; then
3229 if test -n "$CCC"; then
3230 CXX=$CCC
3231 else
3232 if test -n "$ac_tool_prefix"; then
3233 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3239 if test "${ac_cv_prog_CXX+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 else
3242 if test -n "$CXX"; then
3243 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3244 else
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 for as_dir in $PATH
3248 IFS=$as_save_IFS
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3252 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 break 2
3256 done
3257 done
3258 IFS=$as_save_IFS
3262 CXX=$ac_cv_prog_CXX
3263 if test -n "$CXX"; then
3264 { echo "$as_me:$LINENO: result: $CXX" >&5
3265 echo "${ECHO_T}$CXX" >&6; }
3266 else
3267 { echo "$as_me:$LINENO: result: no" >&5
3268 echo "${ECHO_T}no" >&6; }
3272 test -n "$CXX" && break
3273 done
3275 if test -z "$CXX"; then
3276 ac_ct_CXX=$CXX
3277 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3279 # Extract the first word of "$ac_prog", so it can be a program name with args.
3280 set dummy $ac_prog; ac_word=$2
3281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3283 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 else
3286 if test -n "$ac_ct_CXX"; then
3287 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3288 else
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 for as_dir in $PATH
3292 IFS=$as_save_IFS
3293 test -z "$as_dir" && as_dir=.
3294 for ac_exec_ext in '' $ac_executable_extensions; do
3295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3296 ac_cv_prog_ac_ct_CXX="$ac_prog"
3297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 break 2
3300 done
3301 done
3302 IFS=$as_save_IFS
3306 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3307 if test -n "$ac_ct_CXX"; then
3308 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3309 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3310 else
3311 { echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6; }
3316 test -n "$ac_ct_CXX" && break
3317 done
3319 if test "x$ac_ct_CXX" = x; then
3320 CXX="g++"
3321 else
3322 case $cross_compiling:$ac_tool_warned in
3323 yes:)
3324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3325 whose name does not start with the host triplet. If you think this
3326 configuration is useful to you, please write to autoconf@gnu.org." >&5
3327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3328 whose name does not start with the host triplet. If you think this
3329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3330 ac_tool_warned=yes ;;
3331 esac
3332 CXX=$ac_ct_CXX
3338 # Provide some information about the compiler.
3339 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3340 ac_compiler=`set X $ac_compile; echo $2`
3341 { (ac_try="$ac_compiler --version >&5"
3342 case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3345 esac
3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler --version >&5") 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }
3351 { (ac_try="$ac_compiler -v >&5"
3352 case "(($ac_try" in
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3355 esac
3356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357 (eval "$ac_compiler -v >&5") 2>&5
3358 ac_status=$?
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }
3361 { (ac_try="$ac_compiler -V >&5"
3362 case "(($ac_try" in
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3365 esac
3366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3367 (eval "$ac_compiler -V >&5") 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }
3372 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3373 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3374 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 else
3377 cat >conftest.$ac_ext <<_ACEOF
3378 /* confdefs.h. */
3379 _ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3385 main ()
3387 #ifndef __GNUC__
3388 choke me
3389 #endif
3392 return 0;
3394 _ACEOF
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3397 case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3400 esac
3401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3403 ac_status=$?
3404 grep -v '^ *+' conftest.er1 >conftest.err
3405 rm -f conftest.er1
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_cxx_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3412 ac_compiler_gnu=yes
3413 else
3414 echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3417 ac_compiler_gnu=no
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3424 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3425 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3426 GXX=`test $ac_compiler_gnu = yes && echo yes`
3427 ac_test_CXXFLAGS=${CXXFLAGS+set}
3428 ac_save_CXXFLAGS=$CXXFLAGS
3429 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3430 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3431 if test "${ac_cv_prog_cxx_g+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3433 else
3434 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3435 ac_cxx_werror_flag=yes
3436 ac_cv_prog_cxx_g=no
3437 CXXFLAGS="-g"
3438 cat >conftest.$ac_ext <<_ACEOF
3439 /* confdefs.h. */
3440 _ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3446 main ()
3450 return 0;
3452 _ACEOF
3453 rm -f conftest.$ac_objext
3454 if { (ac_try="$ac_compile"
3455 case "(($ac_try" in
3456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3458 esac
3459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3460 (eval "$ac_compile") 2>conftest.er1
3461 ac_status=$?
3462 grep -v '^ *+' conftest.er1 >conftest.err
3463 rm -f conftest.er1
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } && {
3467 test -z "$ac_cxx_werror_flag" ||
3468 test ! -s conftest.err
3469 } && test -s conftest.$ac_objext; then
3470 ac_cv_prog_cxx_g=yes
3471 else
3472 echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.$ac_ext >&5
3475 CXXFLAGS=""
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3484 main ()
3488 return 0;
3490 _ACEOF
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3493 case "(($ac_try" in
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3496 esac
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3499 ac_status=$?
3500 grep -v '^ *+' conftest.er1 >conftest.err
3501 rm -f conftest.er1
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3509 else
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3514 CXXFLAGS="-g"
3515 cat >conftest.$ac_ext <<_ACEOF
3516 /* confdefs.h. */
3517 _ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3523 main ()
3527 return 0;
3529 _ACEOF
3530 rm -f conftest.$ac_objext
3531 if { (ac_try="$ac_compile"
3532 case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3535 esac
3536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3537 (eval "$ac_compile") 2>conftest.er1
3538 ac_status=$?
3539 grep -v '^ *+' conftest.er1 >conftest.err
3540 rm -f conftest.er1
3541 cat conftest.err >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } && {
3544 test -z "$ac_cxx_werror_flag" ||
3545 test ! -s conftest.err
3546 } && test -s conftest.$ac_objext; then
3547 ac_cv_prog_cxx_g=yes
3548 else
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3564 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3565 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3566 if test "$ac_test_CXXFLAGS" = set; then
3567 CXXFLAGS=$ac_save_CXXFLAGS
3568 elif test $ac_cv_prog_cxx_g = yes; then
3569 if test "$GXX" = yes; then
3570 CXXFLAGS="-g -O2"
3571 else
3572 CXXFLAGS="-g"
3574 else
3575 if test "$GXX" = yes; then
3576 CXXFLAGS="-O2"
3577 else
3578 CXXFLAGS=
3581 ac_ext=c
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587 if test -n "$ac_tool_prefix"; then
3588 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3589 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3592 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 else
3595 if test -n "$CPPBIN"; then
3596 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3601 IFS=$as_save_IFS
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 break 2
3609 done
3610 done
3611 IFS=$as_save_IFS
3615 CPPBIN=$ac_cv_prog_CPPBIN
3616 if test -n "$CPPBIN"; then
3617 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3618 echo "${ECHO_T}$CPPBIN" >&6; }
3619 else
3620 { echo "$as_me:$LINENO: result: no" >&5
3621 echo "${ECHO_T}no" >&6; }
3626 if test -z "$ac_cv_prog_CPPBIN"; then
3627 ac_ct_CPPBIN=$CPPBIN
3628 # Extract the first word of "cpp", so it can be a program name with args.
3629 set dummy cpp; ac_word=$2
3630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3632 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 else
3635 if test -n "$ac_ct_CPPBIN"; then
3636 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3637 else
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 for as_dir in $PATH
3641 IFS=$as_save_IFS
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3645 ac_cv_prog_ac_ct_CPPBIN="cpp"
3646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 break 2
3649 done
3650 done
3651 IFS=$as_save_IFS
3655 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3656 if test -n "$ac_ct_CPPBIN"; then
3657 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3658 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3659 else
3660 { echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6; }
3664 if test "x$ac_ct_CPPBIN" = x; then
3665 CPPBIN="cpp"
3666 else
3667 case $cross_compiling:$ac_tool_warned in
3668 yes:)
3669 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3670 whose name does not start with the host triplet. If you think this
3671 configuration is useful to you, please write to autoconf@gnu.org." >&5
3672 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3673 whose name does not start with the host triplet. If you think this
3674 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3675 ac_tool_warned=yes ;;
3676 esac
3677 CPPBIN=$ac_ct_CPPBIN
3679 else
3680 CPPBIN="$ac_cv_prog_CPPBIN"
3684 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3685 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3686 if test "${wine_cv_toolsdir+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 else
3689 if test -z "$with_wine_tools"; then
3690 if test "$cross_compiling" = "yes"; then
3691 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3692 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3693 { (exit 1); exit 1; }; }
3694 else
3695 wine_cv_toolsdir="\$(TOPOBJDIR)"
3697 elif test -d "$with_wine_tools/tools/winebuild"; then
3698 case $with_wine_tools in
3699 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3700 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3701 esac
3702 else
3703 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3704 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3705 { (exit 1); exit 1; }; }
3708 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3709 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3710 TOOLSDIR=$wine_cv_toolsdir
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3720 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3721 # On Suns, sometimes $CPP names a directory.
3722 if test -n "$CPP" && test -d "$CPP"; then
3723 CPP=
3725 if test -z "$CPP"; then
3726 if test "${ac_cv_prog_CPP+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 else
3729 # Double quotes because CPP needs to be expanded
3730 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3732 ac_preproc_ok=false
3733 for ac_c_preproc_warn_flag in '' yes
3735 # Use a header file that comes with gcc, so configuring glibc
3736 # with a fresh cross-compiler works.
3737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3738 # <limits.h> exists even on freestanding compilers.
3739 # On the NeXT, cc -E runs the code through the compiler's parser,
3740 # not just through cpp. "Syntax error" is here to catch this case.
3741 cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h. */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 #ifdef __STDC__
3748 # include <limits.h>
3749 #else
3750 # include <assert.h>
3751 #endif
3752 Syntax error
3753 _ACEOF
3754 if { (ac_try="$ac_cpp conftest.$ac_ext"
3755 case "(($ac_try" in
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3758 esac
3759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } >/dev/null && {
3767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3768 test ! -s conftest.err
3769 }; then
3771 else
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3776 continue
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3806 }; then
3807 # Broken: success on invalid input.
3808 continue
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3814 ac_preproc_ok=:
3815 break
3818 rm -f conftest.err conftest.$ac_ext
3820 done
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3824 break
3827 done
3828 ac_cv_prog_CPP=$CPP
3831 CPP=$ac_cv_prog_CPP
3832 else
3833 ac_cv_prog_CPP=$CPP
3835 { echo "$as_me:$LINENO: result: $CPP" >&5
3836 echo "${ECHO_T}$CPP" >&6; }
3837 ac_preproc_ok=false
3838 for ac_c_preproc_warn_flag in '' yes
3840 # Use a header file that comes with gcc, so configuring glibc
3841 # with a fresh cross-compiler works.
3842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3843 # <limits.h> exists even on freestanding compilers.
3844 # On the NeXT, cc -E runs the code through the compiler's parser,
3845 # not just through cpp. "Syntax error" is here to catch this case.
3846 cat >conftest.$ac_ext <<_ACEOF
3847 /* confdefs.h. */
3848 _ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3852 #ifdef __STDC__
3853 # include <limits.h>
3854 #else
3855 # include <assert.h>
3856 #endif
3857 Syntax error
3858 _ACEOF
3859 if { (ac_try="$ac_cpp conftest.$ac_ext"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3866 ac_status=$?
3867 grep -v '^ *+' conftest.er1 >conftest.err
3868 rm -f conftest.er1
3869 cat conftest.err >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); } >/dev/null && {
3872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3873 test ! -s conftest.err
3874 }; then
3876 else
3877 echo "$as_me: failed program was:" >&5
3878 sed 's/^/| /' conftest.$ac_ext >&5
3880 # Broken: fails on valid input.
3881 continue
3884 rm -f conftest.err conftest.$ac_ext
3886 # OK, works on sane cases. Now check whether nonexistent headers
3887 # can be detected and how.
3888 cat >conftest.$ac_ext <<_ACEOF
3889 /* confdefs.h. */
3890 _ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3894 #include <ac_nonexistent.h>
3895 _ACEOF
3896 if { (ac_try="$ac_cpp conftest.$ac_ext"
3897 case "(($ac_try" in
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3900 esac
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3903 ac_status=$?
3904 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } >/dev/null && {
3909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 }; then
3912 # Broken: success on invalid input.
3913 continue
3914 else
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 # Passes both tests.
3919 ac_preproc_ok=:
3920 break
3923 rm -f conftest.err conftest.$ac_ext
3925 done
3926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927 rm -f conftest.err conftest.$ac_ext
3928 if $ac_preproc_ok; then
3930 else
3931 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3932 See \`config.log' for more details." >&5
3933 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3934 See \`config.log' for more details." >&2;}
3935 { (exit 1); exit 1; }; }
3938 ac_ext=c
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 { echo "$as_me:$LINENO: checking for X" >&5
3946 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3949 # Check whether --with-x was given.
3950 if test "${with_x+set}" = set; then
3951 withval=$with_x;
3954 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3955 if test "x$with_x" = xno; then
3956 # The user explicitly disabled X.
3957 have_x=disabled
3958 else
3959 case $x_includes,$x_libraries in #(
3960 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3961 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3962 { (exit 1); exit 1; }; };; #(
3963 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 else
3966 # One or both of the vars are not set, and there is no cached value.
3967 ac_x_includes=no ac_x_libraries=no
3968 rm -f -r conftest.dir
3969 if mkdir conftest.dir; then
3970 cd conftest.dir
3971 cat >Imakefile <<'_ACEOF'
3972 incroot:
3973 @echo incroot='${INCROOT}'
3974 usrlibdir:
3975 @echo usrlibdir='${USRLIBDIR}'
3976 libdir:
3977 @echo libdir='${LIBDIR}'
3978 _ACEOF
3979 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3980 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3981 for ac_var in incroot usrlibdir libdir; do
3982 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3983 done
3984 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3985 for ac_extension in a so sl; do
3986 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3987 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3988 ac_im_usrlibdir=$ac_im_libdir; break
3990 done
3991 # Screen out bogus values from the imake configuration. They are
3992 # bogus both because they are the default anyway, and because
3993 # using them would break gcc on systems where it needs fixed includes.
3994 case $ac_im_incroot in
3995 /usr/include) ac_x_includes= ;;
3996 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3997 esac
3998 case $ac_im_usrlibdir in
3999 /usr/lib | /lib) ;;
4000 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4001 esac
4003 cd ..
4004 rm -f -r conftest.dir
4007 # Standard set of common directories for X headers.
4008 # Check X11 before X11Rn because it is often a symlink to the current release.
4009 ac_x_header_dirs='
4010 /usr/X11/include
4011 /usr/X11R6/include
4012 /usr/X11R5/include
4013 /usr/X11R4/include
4015 /usr/include/X11
4016 /usr/include/X11R6
4017 /usr/include/X11R5
4018 /usr/include/X11R4
4020 /usr/local/X11/include
4021 /usr/local/X11R6/include
4022 /usr/local/X11R5/include
4023 /usr/local/X11R4/include
4025 /usr/local/include/X11
4026 /usr/local/include/X11R6
4027 /usr/local/include/X11R5
4028 /usr/local/include/X11R4
4030 /usr/X386/include
4031 /usr/x386/include
4032 /usr/XFree86/include/X11
4034 /usr/include
4035 /usr/local/include
4036 /usr/unsupported/include
4037 /usr/athena/include
4038 /usr/local/x11r5/include
4039 /usr/lpp/Xamples/include
4041 /usr/openwin/include
4042 /usr/openwin/share/include'
4044 if test "$ac_x_includes" = no; then
4045 # Guess where to find include files, by looking for Xlib.h.
4046 # First, try using that file with no special directory specified.
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 #include <X11/Xlib.h>
4054 _ACEOF
4055 if { (ac_try="$ac_cpp conftest.$ac_ext"
4056 case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4059 esac
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4062 ac_status=$?
4063 grep -v '^ *+' conftest.er1 >conftest.err
4064 rm -f conftest.er1
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null && {
4068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4069 test ! -s conftest.err
4070 }; then
4071 # We can compile using X headers with no special include directory.
4072 ac_x_includes=
4073 else
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.$ac_ext >&5
4077 for ac_dir in $ac_x_header_dirs; do
4078 if test -r "$ac_dir/X11/Xlib.h"; then
4079 ac_x_includes=$ac_dir
4080 break
4082 done
4085 rm -f conftest.err conftest.$ac_ext
4086 fi # $ac_x_includes = no
4088 if test "$ac_x_libraries" = no; then
4089 # Check for the libraries.
4090 # See if we find them without any special options.
4091 # Don't add to $LIBS permanently.
4092 ac_save_LIBS=$LIBS
4093 LIBS="-lX11 $LIBS"
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4100 #include <X11/Xlib.h>
4102 main ()
4104 XrmInitialize ()
4106 return 0;
4108 _ACEOF
4109 rm -f conftest.$ac_objext conftest$ac_exeext
4110 if { (ac_try="$ac_link"
4111 case "(($ac_try" in
4112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4114 esac
4115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116 (eval "$ac_link") 2>conftest.er1
4117 ac_status=$?
4118 grep -v '^ *+' conftest.er1 >conftest.err
4119 rm -f conftest.er1
4120 cat conftest.err >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && {
4123 test -z "$ac_c_werror_flag" ||
4124 test ! -s conftest.err
4125 } && test -s conftest$ac_exeext &&
4126 $as_test_x conftest$ac_exeext; then
4127 LIBS=$ac_save_LIBS
4128 # We can link X programs with no special library path.
4129 ac_x_libraries=
4130 else
4131 echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4134 LIBS=$ac_save_LIBS
4135 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4137 # Don't even attempt the hair of trying to link an X program!
4138 for ac_extension in a so sl; do
4139 if test -r "$ac_dir/libX11.$ac_extension"; then
4140 ac_x_libraries=$ac_dir
4141 break 2
4143 done
4144 done
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 fi # $ac_x_libraries = no
4151 case $ac_x_includes,$ac_x_libraries in #(
4152 no,* | *,no | *\'*)
4153 # Didn't find X, or a directory has "'" in its name.
4154 ac_cv_have_x="have_x=no";; #(
4156 # Record where we found X for the cache.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$ac_x_includes'\
4159 ac_x_libraries='$ac_x_libraries'"
4160 esac
4162 ;; #(
4163 *) have_x=yes;;
4164 esac
4165 eval "$ac_cv_have_x"
4166 fi # $with_x != no
4168 if test "$have_x" != yes; then
4169 { echo "$as_me:$LINENO: result: $have_x" >&5
4170 echo "${ECHO_T}$have_x" >&6; }
4171 no_x=yes
4172 else
4173 # If each of the values was on the command line, it overrides each guess.
4174 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4175 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4176 # Update the cache value to reflect the command line values.
4177 ac_cv_have_x="have_x=yes\
4178 ac_x_includes='$x_includes'\
4179 ac_x_libraries='$x_libraries'"
4180 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4181 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4184 if test "$no_x" = yes; then
4185 # Not all programs may use this symbol, but it does not hurt to define it.
4187 cat >>confdefs.h <<\_ACEOF
4188 #define X_DISPLAY_MISSING 1
4189 _ACEOF
4191 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4192 else
4193 if test -n "$x_includes"; then
4194 X_CFLAGS="$X_CFLAGS -I$x_includes"
4197 # It would also be nice to do this for all -L options, not just this one.
4198 if test -n "$x_libraries"; then
4199 X_LIBS="$X_LIBS -L$x_libraries"
4200 # For Solaris; some versions of Sun CC require a space after -R and
4201 # others require no space. Words are not sufficient . . . .
4202 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4203 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4204 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4205 ac_xsave_c_werror_flag=$ac_c_werror_flag
4206 ac_c_werror_flag=yes
4207 cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h. */
4209 _ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 rm -f conftest.$ac_objext conftest$ac_exeext
4223 if { (ac_try="$ac_link"
4224 case "(($ac_try" in
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4227 esac
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_link") 2>conftest.er1
4230 ac_status=$?
4231 grep -v '^ *+' conftest.er1 >conftest.err
4232 rm -f conftest.er1
4233 cat conftest.err >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest$ac_exeext &&
4239 $as_test_x conftest$ac_exeext; then
4240 { echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6; }
4242 X_LIBS="$X_LIBS -R$x_libraries"
4243 else
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 LIBS="$ac_xsave_LIBS -R $x_libraries"
4248 cat >conftest.$ac_ext <<_ACEOF
4249 /* confdefs.h. */
4250 _ACEOF
4251 cat confdefs.h >>conftest.$ac_ext
4252 cat >>conftest.$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (ac_try="$ac_link"
4265 case "(($ac_try" in
4266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4267 *) ac_try_echo=$ac_try;;
4268 esac
4269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4270 (eval "$ac_link") 2>conftest.er1
4271 ac_status=$?
4272 grep -v '^ *+' conftest.er1 >conftest.err
4273 rm -f conftest.er1
4274 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && {
4277 test -z "$ac_c_werror_flag" ||
4278 test ! -s conftest.err
4279 } && test -s conftest$ac_exeext &&
4280 $as_test_x conftest$ac_exeext; then
4281 { echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6; }
4283 X_LIBS="$X_LIBS -R $x_libraries"
4284 else
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { echo "$as_me:$LINENO: result: neither works" >&5
4289 echo "${ECHO_T}neither works" >&6; }
4292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4293 conftest$ac_exeext conftest.$ac_ext
4296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4297 conftest$ac_exeext conftest.$ac_ext
4298 ac_c_werror_flag=$ac_xsave_c_werror_flag
4299 LIBS=$ac_xsave_LIBS
4302 # Check for system-dependent libraries X programs must link with.
4303 # Do this before checking for the system-independent R6 libraries
4304 # (-lICE), since we may need -lsocket or whatever for X linking.
4306 if test "$ISC" = yes; then
4307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4308 else
4309 # Martyn Johnson says this is needed for Ultrix, if the X
4310 # libraries were built with DECnet support. And Karl Berry says
4311 # the Alpha needs dnet_stub (dnet does not exist).
4312 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4313 cat >conftest.$ac_ext <<_ACEOF
4314 /* confdefs.h. */
4315 _ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4320 /* Override any GCC internal prototype to avoid an error.
4321 Use char because int might match the return type of a GCC
4322 builtin and then its argument prototype would still apply. */
4323 #ifdef __cplusplus
4324 extern "C"
4325 #endif
4326 char XOpenDisplay ();
4328 main ()
4330 return XOpenDisplay ();
4332 return 0;
4334 _ACEOF
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_link") 2>conftest.er1
4343 ac_status=$?
4344 grep -v '^ *+' conftest.er1 >conftest.err
4345 rm -f conftest.er1
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_c_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest$ac_exeext &&
4352 $as_test_x conftest$ac_exeext; then
4354 else
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4359 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4360 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 else
4363 ac_check_lib_save_LIBS=$LIBS
4364 LIBS="-ldnet $LIBS"
4365 cat >conftest.$ac_ext <<_ACEOF
4366 /* confdefs.h. */
4367 _ACEOF
4368 cat confdefs.h >>conftest.$ac_ext
4369 cat >>conftest.$ac_ext <<_ACEOF
4370 /* end confdefs.h. */
4372 /* Override any GCC internal prototype to avoid an error.
4373 Use char because int might match the return type of a GCC
4374 builtin and then its argument prototype would still apply. */
4375 #ifdef __cplusplus
4376 extern "C"
4377 #endif
4378 char dnet_ntoa ();
4380 main ()
4382 return dnet_ntoa ();
4384 return 0;
4386 _ACEOF
4387 rm -f conftest.$ac_objext conftest$ac_exeext
4388 if { (ac_try="$ac_link"
4389 case "(($ac_try" in
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4392 esac
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_link") 2>conftest.er1
4395 ac_status=$?
4396 grep -v '^ *+' conftest.er1 >conftest.err
4397 rm -f conftest.er1
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest$ac_exeext &&
4404 $as_test_x conftest$ac_exeext; then
4405 ac_cv_lib_dnet_dnet_ntoa=yes
4406 else
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 ac_cv_lib_dnet_dnet_ntoa=no
4413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4414 conftest$ac_exeext conftest.$ac_ext
4415 LIBS=$ac_check_lib_save_LIBS
4417 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4418 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4419 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4423 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4424 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4425 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4426 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 else
4429 ac_check_lib_save_LIBS=$LIBS
4430 LIBS="-ldnet_stub $LIBS"
4431 cat >conftest.$ac_ext <<_ACEOF
4432 /* confdefs.h. */
4433 _ACEOF
4434 cat confdefs.h >>conftest.$ac_ext
4435 cat >>conftest.$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4438 /* Override any GCC internal prototype to avoid an error.
4439 Use char because int might match the return type of a GCC
4440 builtin and then its argument prototype would still apply. */
4441 #ifdef __cplusplus
4442 extern "C"
4443 #endif
4444 char dnet_ntoa ();
4446 main ()
4448 return dnet_ntoa ();
4450 return 0;
4452 _ACEOF
4453 rm -f conftest.$ac_objext conftest$ac_exeext
4454 if { (ac_try="$ac_link"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_link") 2>conftest.er1
4461 ac_status=$?
4462 grep -v '^ *+' conftest.er1 >conftest.err
4463 rm -f conftest.er1
4464 cat conftest.err >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && {
4467 test -z "$ac_c_werror_flag" ||
4468 test ! -s conftest.err
4469 } && test -s conftest$ac_exeext &&
4470 $as_test_x conftest$ac_exeext; then
4471 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4472 else
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.$ac_ext >&5
4476 ac_cv_lib_dnet_stub_dnet_ntoa=no
4479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4480 conftest$ac_exeext conftest.$ac_ext
4481 LIBS=$ac_check_lib_save_LIBS
4483 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4484 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4485 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4486 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4493 conftest$ac_exeext conftest.$ac_ext
4494 LIBS="$ac_xsave_LIBS"
4496 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4497 # to get the SysV transport functions.
4498 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4499 # needs -lnsl.
4500 # The nsl library prevents programs from opening the X display
4501 # on Irix 5.2, according to T.E. Dickey.
4502 # The functions gethostbyname, getservbyname, and inet_addr are
4503 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4504 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4505 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4506 if test "${ac_cv_func_gethostbyname+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 else
4509 cat >conftest.$ac_ext <<_ACEOF
4510 /* confdefs.h. */
4511 _ACEOF
4512 cat confdefs.h >>conftest.$ac_ext
4513 cat >>conftest.$ac_ext <<_ACEOF
4514 /* end confdefs.h. */
4515 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4517 #define gethostbyname innocuous_gethostbyname
4519 /* System header to define __stub macros and hopefully few prototypes,
4520 which can conflict with char gethostbyname (); below.
4521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4522 <limits.h> exists even on freestanding compilers. */
4524 #ifdef __STDC__
4525 # include <limits.h>
4526 #else
4527 # include <assert.h>
4528 #endif
4530 #undef gethostbyname
4532 /* Override any GCC internal prototype to avoid an error.
4533 Use char because int might match the return type of a GCC
4534 builtin and then its argument prototype would still apply. */
4535 #ifdef __cplusplus
4536 extern "C"
4537 #endif
4538 char gethostbyname ();
4539 /* The GNU C library defines this for functions which it implements
4540 to always fail with ENOSYS. Some functions are actually named
4541 something starting with __ and the normal name is an alias. */
4542 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4543 choke me
4544 #endif
4547 main ()
4549 return gethostbyname ();
4551 return 0;
4553 _ACEOF
4554 rm -f conftest.$ac_objext conftest$ac_exeext
4555 if { (ac_try="$ac_link"
4556 case "(($ac_try" in
4557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4558 *) ac_try_echo=$ac_try;;
4559 esac
4560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4561 (eval "$ac_link") 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } && {
4568 test -z "$ac_c_werror_flag" ||
4569 test ! -s conftest.err
4570 } && test -s conftest$ac_exeext &&
4571 $as_test_x conftest$ac_exeext; then
4572 ac_cv_func_gethostbyname=yes
4573 else
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.$ac_ext >&5
4577 ac_cv_func_gethostbyname=no
4580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4581 conftest$ac_exeext conftest.$ac_ext
4583 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4584 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4586 if test $ac_cv_func_gethostbyname = no; then
4587 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4588 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4589 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 ac_check_lib_save_LIBS=$LIBS
4593 LIBS="-lnsl $LIBS"
4594 cat >conftest.$ac_ext <<_ACEOF
4595 /* confdefs.h. */
4596 _ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4601 /* Override any GCC internal prototype to avoid an error.
4602 Use char because int might match the return type of a GCC
4603 builtin and then its argument prototype would still apply. */
4604 #ifdef __cplusplus
4605 extern "C"
4606 #endif
4607 char gethostbyname ();
4609 main ()
4611 return gethostbyname ();
4613 return 0;
4615 _ACEOF
4616 rm -f conftest.$ac_objext conftest$ac_exeext
4617 if { (ac_try="$ac_link"
4618 case "(($ac_try" in
4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4621 esac
4622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4623 (eval "$ac_link") 2>conftest.er1
4624 ac_status=$?
4625 grep -v '^ *+' conftest.er1 >conftest.err
4626 rm -f conftest.er1
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_c_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest$ac_exeext &&
4633 $as_test_x conftest$ac_exeext; then
4634 ac_cv_lib_nsl_gethostbyname=yes
4635 else
4636 echo "$as_me: failed program was:" >&5
4637 sed 's/^/| /' conftest.$ac_ext >&5
4639 ac_cv_lib_nsl_gethostbyname=no
4642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4643 conftest$ac_exeext conftest.$ac_ext
4644 LIBS=$ac_check_lib_save_LIBS
4646 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4647 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4648 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4649 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4652 if test $ac_cv_lib_nsl_gethostbyname = no; then
4653 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4654 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4655 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658 ac_check_lib_save_LIBS=$LIBS
4659 LIBS="-lbsd $LIBS"
4660 cat >conftest.$ac_ext <<_ACEOF
4661 /* confdefs.h. */
4662 _ACEOF
4663 cat confdefs.h >>conftest.$ac_ext
4664 cat >>conftest.$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4667 /* Override any GCC internal prototype to avoid an error.
4668 Use char because int might match the return type of a GCC
4669 builtin and then its argument prototype would still apply. */
4670 #ifdef __cplusplus
4671 extern "C"
4672 #endif
4673 char gethostbyname ();
4675 main ()
4677 return gethostbyname ();
4679 return 0;
4681 _ACEOF
4682 rm -f conftest.$ac_objext conftest$ac_exeext
4683 if { (ac_try="$ac_link"
4684 case "(($ac_try" in
4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4687 esac
4688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4689 (eval "$ac_link") 2>conftest.er1
4690 ac_status=$?
4691 grep -v '^ *+' conftest.er1 >conftest.err
4692 rm -f conftest.er1
4693 cat conftest.err >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && {
4696 test -z "$ac_c_werror_flag" ||
4697 test ! -s conftest.err
4698 } && test -s conftest$ac_exeext &&
4699 $as_test_x conftest$ac_exeext; then
4700 ac_cv_lib_bsd_gethostbyname=yes
4701 else
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4705 ac_cv_lib_bsd_gethostbyname=no
4708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4709 conftest$ac_exeext conftest.$ac_ext
4710 LIBS=$ac_check_lib_save_LIBS
4712 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4713 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4714 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4715 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4721 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4722 # socket/setsockopt and other routines are undefined under SCO ODT
4723 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4724 # on later versions), says Simon Leinen: it contains gethostby*
4725 # variants that don't use the name server (or something). -lsocket
4726 # must be given before -lnsl if both are needed. We assume that
4727 # if connect needs -lnsl, so does gethostbyname.
4728 { echo "$as_me:$LINENO: checking for connect" >&5
4729 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4730 if test "${ac_cv_func_connect+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4732 else
4733 cat >conftest.$ac_ext <<_ACEOF
4734 /* confdefs.h. */
4735 _ACEOF
4736 cat confdefs.h >>conftest.$ac_ext
4737 cat >>conftest.$ac_ext <<_ACEOF
4738 /* end confdefs.h. */
4739 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4741 #define connect innocuous_connect
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char connect (); below.
4745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746 <limits.h> exists even on freestanding compilers. */
4748 #ifdef __STDC__
4749 # include <limits.h>
4750 #else
4751 # include <assert.h>
4752 #endif
4754 #undef connect
4756 /* Override any GCC internal prototype to avoid an error.
4757 Use char because int might match the return type of a GCC
4758 builtin and then its argument prototype would still apply. */
4759 #ifdef __cplusplus
4760 extern "C"
4761 #endif
4762 char connect ();
4763 /* The GNU C library defines this for functions which it implements
4764 to always fail with ENOSYS. Some functions are actually named
4765 something starting with __ and the normal name is an alias. */
4766 #if defined __stub_connect || defined __stub___connect
4767 choke me
4768 #endif
4771 main ()
4773 return connect ();
4775 return 0;
4777 _ACEOF
4778 rm -f conftest.$ac_objext conftest$ac_exeext
4779 if { (ac_try="$ac_link"
4780 case "(($ac_try" in
4781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4783 esac
4784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4785 (eval "$ac_link") 2>conftest.er1
4786 ac_status=$?
4787 grep -v '^ *+' conftest.er1 >conftest.err
4788 rm -f conftest.er1
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } && {
4792 test -z "$ac_c_werror_flag" ||
4793 test ! -s conftest.err
4794 } && test -s conftest$ac_exeext &&
4795 $as_test_x conftest$ac_exeext; then
4796 ac_cv_func_connect=yes
4797 else
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 ac_cv_func_connect=no
4804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4805 conftest$ac_exeext conftest.$ac_ext
4807 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4808 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4810 if test $ac_cv_func_connect = no; then
4811 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4812 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4813 if test "${ac_cv_lib_socket_connect+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 else
4816 ac_check_lib_save_LIBS=$LIBS
4817 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4818 cat >conftest.$ac_ext <<_ACEOF
4819 /* confdefs.h. */
4820 _ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4825 /* Override any GCC internal prototype to avoid an error.
4826 Use char because int might match the return type of a GCC
4827 builtin and then its argument prototype would still apply. */
4828 #ifdef __cplusplus
4829 extern "C"
4830 #endif
4831 char connect ();
4833 main ()
4835 return connect ();
4837 return 0;
4839 _ACEOF
4840 rm -f conftest.$ac_objext conftest$ac_exeext
4841 if { (ac_try="$ac_link"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4847 (eval "$ac_link") 2>conftest.er1
4848 ac_status=$?
4849 grep -v '^ *+' conftest.er1 >conftest.err
4850 rm -f conftest.er1
4851 cat conftest.err >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && {
4854 test -z "$ac_c_werror_flag" ||
4855 test ! -s conftest.err
4856 } && test -s conftest$ac_exeext &&
4857 $as_test_x conftest$ac_exeext; then
4858 ac_cv_lib_socket_connect=yes
4859 else
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_lib_socket_connect=no
4866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4867 conftest$ac_exeext conftest.$ac_ext
4868 LIBS=$ac_check_lib_save_LIBS
4870 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4871 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4872 if test $ac_cv_lib_socket_connect = yes; then
4873 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4878 # Guillermo Gomez says -lposix is necessary on A/UX.
4879 { echo "$as_me:$LINENO: checking for remove" >&5
4880 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4881 if test "${ac_cv_func_remove+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4892 #define remove innocuous_remove
4894 /* System header to define __stub macros and hopefully few prototypes,
4895 which can conflict with char remove (); below.
4896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4897 <limits.h> exists even on freestanding compilers. */
4899 #ifdef __STDC__
4900 # include <limits.h>
4901 #else
4902 # include <assert.h>
4903 #endif
4905 #undef remove
4907 /* Override any GCC internal prototype to avoid an error.
4908 Use char because int might match the return type of a GCC
4909 builtin and then its argument prototype would still apply. */
4910 #ifdef __cplusplus
4911 extern "C"
4912 #endif
4913 char remove ();
4914 /* The GNU C library defines this for functions which it implements
4915 to always fail with ENOSYS. Some functions are actually named
4916 something starting with __ and the normal name is an alias. */
4917 #if defined __stub_remove || defined __stub___remove
4918 choke me
4919 #endif
4922 main ()
4924 return remove ();
4926 return 0;
4928 _ACEOF
4929 rm -f conftest.$ac_objext conftest$ac_exeext
4930 if { (ac_try="$ac_link"
4931 case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_link") 2>conftest.er1
4937 ac_status=$?
4938 grep -v '^ *+' conftest.er1 >conftest.err
4939 rm -f conftest.er1
4940 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } && {
4943 test -z "$ac_c_werror_flag" ||
4944 test ! -s conftest.err
4945 } && test -s conftest$ac_exeext &&
4946 $as_test_x conftest$ac_exeext; then
4947 ac_cv_func_remove=yes
4948 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4952 ac_cv_func_remove=no
4955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4956 conftest$ac_exeext conftest.$ac_ext
4958 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4959 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4961 if test $ac_cv_func_remove = no; then
4962 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4963 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4964 if test "${ac_cv_lib_posix_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 else
4967 ac_check_lib_save_LIBS=$LIBS
4968 LIBS="-lposix $LIBS"
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h. */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4976 /* Override any GCC internal prototype to avoid an error.
4977 Use char because int might match the return type of a GCC
4978 builtin and then its argument prototype would still apply. */
4979 #ifdef __cplusplus
4980 extern "C"
4981 #endif
4982 char remove ();
4984 main ()
4986 return remove ();
4988 return 0;
4990 _ACEOF
4991 rm -f conftest.$ac_objext conftest$ac_exeext
4992 if { (ac_try="$ac_link"
4993 case "(($ac_try" in
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4996 esac
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_link") 2>conftest.er1
4999 ac_status=$?
5000 grep -v '^ *+' conftest.er1 >conftest.err
5001 rm -f conftest.er1
5002 cat conftest.err >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } && {
5005 test -z "$ac_c_werror_flag" ||
5006 test ! -s conftest.err
5007 } && test -s conftest$ac_exeext &&
5008 $as_test_x conftest$ac_exeext; then
5009 ac_cv_lib_posix_remove=yes
5010 else
5011 echo "$as_me: failed program was:" >&5
5012 sed 's/^/| /' conftest.$ac_ext >&5
5014 ac_cv_lib_posix_remove=no
5017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5018 conftest$ac_exeext conftest.$ac_ext
5019 LIBS=$ac_check_lib_save_LIBS
5021 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5022 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5023 if test $ac_cv_lib_posix_remove = yes; then
5024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5029 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5030 { echo "$as_me:$LINENO: checking for shmat" >&5
5031 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5032 if test "${ac_cv_func_shmat+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 else
5035 cat >conftest.$ac_ext <<_ACEOF
5036 /* confdefs.h. */
5037 _ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5043 #define shmat innocuous_shmat
5045 /* System header to define __stub macros and hopefully few prototypes,
5046 which can conflict with char shmat (); below.
5047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 <limits.h> exists even on freestanding compilers. */
5050 #ifdef __STDC__
5051 # include <limits.h>
5052 #else
5053 # include <assert.h>
5054 #endif
5056 #undef shmat
5058 /* Override any GCC internal prototype to avoid an error.
5059 Use char because int might match the return type of a GCC
5060 builtin and then its argument prototype would still apply. */
5061 #ifdef __cplusplus
5062 extern "C"
5063 #endif
5064 char shmat ();
5065 /* The GNU C library defines this for functions which it implements
5066 to always fail with ENOSYS. Some functions are actually named
5067 something starting with __ and the normal name is an alias. */
5068 #if defined __stub_shmat || defined __stub___shmat
5069 choke me
5070 #endif
5073 main ()
5075 return shmat ();
5077 return 0;
5079 _ACEOF
5080 rm -f conftest.$ac_objext conftest$ac_exeext
5081 if { (ac_try="$ac_link"
5082 case "(($ac_try" in
5083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5084 *) ac_try_echo=$ac_try;;
5085 esac
5086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5087 (eval "$ac_link") 2>conftest.er1
5088 ac_status=$?
5089 grep -v '^ *+' conftest.er1 >conftest.err
5090 rm -f conftest.er1
5091 cat conftest.err >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } && {
5094 test -z "$ac_c_werror_flag" ||
5095 test ! -s conftest.err
5096 } && test -s conftest$ac_exeext &&
5097 $as_test_x conftest$ac_exeext; then
5098 ac_cv_func_shmat=yes
5099 else
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 ac_cv_func_shmat=no
5106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5107 conftest$ac_exeext conftest.$ac_ext
5109 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5110 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5112 if test $ac_cv_func_shmat = no; then
5113 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5114 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5115 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 else
5118 ac_check_lib_save_LIBS=$LIBS
5119 LIBS="-lipc $LIBS"
5120 cat >conftest.$ac_ext <<_ACEOF
5121 /* confdefs.h. */
5122 _ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5127 /* Override any GCC internal prototype to avoid an error.
5128 Use char because int might match the return type of a GCC
5129 builtin and then its argument prototype would still apply. */
5130 #ifdef __cplusplus
5131 extern "C"
5132 #endif
5133 char shmat ();
5135 main ()
5137 return shmat ();
5139 return 0;
5141 _ACEOF
5142 rm -f conftest.$ac_objext conftest$ac_exeext
5143 if { (ac_try="$ac_link"
5144 case "(($ac_try" in
5145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5146 *) ac_try_echo=$ac_try;;
5147 esac
5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5149 (eval "$ac_link") 2>conftest.er1
5150 ac_status=$?
5151 grep -v '^ *+' conftest.er1 >conftest.err
5152 rm -f conftest.er1
5153 cat conftest.err >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } && {
5156 test -z "$ac_c_werror_flag" ||
5157 test ! -s conftest.err
5158 } && test -s conftest$ac_exeext &&
5159 $as_test_x conftest$ac_exeext; then
5160 ac_cv_lib_ipc_shmat=yes
5161 else
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5165 ac_cv_lib_ipc_shmat=no
5168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5169 conftest$ac_exeext conftest.$ac_ext
5170 LIBS=$ac_check_lib_save_LIBS
5172 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5173 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5174 if test $ac_cv_lib_ipc_shmat = yes; then
5175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5181 # Check for libraries that X11R6 Xt/Xaw programs need.
5182 ac_save_LDFLAGS=$LDFLAGS
5183 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5184 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5185 # check for ICE first), but we must link in the order -lSM -lICE or
5186 # we get undefined symbols. So assume we have SM if we have ICE.
5187 # These have to be linked with before -lX11, unlike the other
5188 # libraries we check for below, so use a different variable.
5189 # John Interrante, Karl Berry
5190 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5191 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5192 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 else
5195 ac_check_lib_save_LIBS=$LIBS
5196 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5197 cat >conftest.$ac_ext <<_ACEOF
5198 /* confdefs.h. */
5199 _ACEOF
5200 cat confdefs.h >>conftest.$ac_ext
5201 cat >>conftest.$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5204 /* Override any GCC internal prototype to avoid an error.
5205 Use char because int might match the return type of a GCC
5206 builtin and then its argument prototype would still apply. */
5207 #ifdef __cplusplus
5208 extern "C"
5209 #endif
5210 char IceConnectionNumber ();
5212 main ()
5214 return IceConnectionNumber ();
5216 return 0;
5218 _ACEOF
5219 rm -f conftest.$ac_objext conftest$ac_exeext
5220 if { (ac_try="$ac_link"
5221 case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_link") 2>conftest.er1
5227 ac_status=$?
5228 grep -v '^ *+' conftest.er1 >conftest.err
5229 rm -f conftest.er1
5230 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } && {
5233 test -z "$ac_c_werror_flag" ||
5234 test ! -s conftest.err
5235 } && test -s conftest$ac_exeext &&
5236 $as_test_x conftest$ac_exeext; then
5237 ac_cv_lib_ICE_IceConnectionNumber=yes
5238 else
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.$ac_ext >&5
5242 ac_cv_lib_ICE_IceConnectionNumber=no
5245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5246 conftest$ac_exeext conftest.$ac_ext
5247 LIBS=$ac_check_lib_save_LIBS
5249 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5250 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5251 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5252 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5255 LDFLAGS=$ac_save_LDFLAGS
5260 for ac_prog in flex
5262 # Extract the first word of "$ac_prog", so it can be a program name with args.
5263 set dummy $ac_prog; ac_word=$2
5264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5266 if test "${ac_cv_prog_FLEX+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 else
5269 if test -n "$FLEX"; then
5270 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_FLEX="$ac_prog"
5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 FLEX=$ac_cv_prog_FLEX
5290 if test -n "$FLEX"; then
5291 { echo "$as_me:$LINENO: result: $FLEX" >&5
5292 echo "${ECHO_T}$FLEX" >&6; }
5293 else
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5299 test -n "$FLEX" && break
5300 done
5301 test -n "$FLEX" || FLEX="none"
5303 if test "$FLEX" = "none"
5304 then
5305 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5306 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5307 { (exit 1); exit 1; }; }
5310 for ac_prog in bison
5312 # Extract the first word of "$ac_prog", so it can be a program name with args.
5313 set dummy $ac_prog; ac_word=$2
5314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5316 if test "${ac_cv_prog_BISON+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 else
5319 if test -n "$BISON"; then
5320 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5321 else
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 for as_dir in $PATH
5325 IFS=$as_save_IFS
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329 ac_cv_prog_BISON="$ac_prog"
5330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 break 2
5333 done
5334 done
5335 IFS=$as_save_IFS
5339 BISON=$ac_cv_prog_BISON
5340 if test -n "$BISON"; then
5341 { echo "$as_me:$LINENO: result: $BISON" >&5
5342 echo "${ECHO_T}$BISON" >&6; }
5343 else
5344 { echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6; }
5349 test -n "$BISON" && break
5350 done
5351 test -n "$BISON" || BISON="none"
5353 if test "$BISON" = "none"
5354 then
5355 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5356 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5357 { (exit 1); exit 1; }; }
5360 if test -n "$ac_tool_prefix"; then
5361 for ac_prog in gas as
5363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5367 if test "${ac_cv_prog_AS+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 else
5370 if test -n "$AS"; then
5371 ac_cv_prog_AS="$AS" # Let the user override the test.
5372 else
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374 for as_dir in $PATH
5376 IFS=$as_save_IFS
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5380 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 break 2
5384 done
5385 done
5386 IFS=$as_save_IFS
5390 AS=$ac_cv_prog_AS
5391 if test -n "$AS"; then
5392 { echo "$as_me:$LINENO: result: $AS" >&5
5393 echo "${ECHO_T}$AS" >&6; }
5394 else
5395 { echo "$as_me:$LINENO: result: no" >&5
5396 echo "${ECHO_T}no" >&6; }
5400 test -n "$AS" && break
5401 done
5403 if test -z "$AS"; then
5404 ac_ct_AS=$AS
5405 for ac_prog in gas as
5407 # Extract the first word of "$ac_prog", so it can be a program name with args.
5408 set dummy $ac_prog; ac_word=$2
5409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5411 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 else
5414 if test -n "$ac_ct_AS"; then
5415 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5416 else
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_ac_ct_AS="$ac_prog"
5425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 break 2
5428 done
5429 done
5430 IFS=$as_save_IFS
5434 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5435 if test -n "$ac_ct_AS"; then
5436 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5437 echo "${ECHO_T}$ac_ct_AS" >&6; }
5438 else
5439 { echo "$as_me:$LINENO: result: no" >&5
5440 echo "${ECHO_T}no" >&6; }
5444 test -n "$ac_ct_AS" && break
5445 done
5447 if test "x$ac_ct_AS" = x; then
5448 AS="as"
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5453 whose name does not start with the host triplet. If you think this
5454 configuration is useful to you, please write to autoconf@gnu.org." >&5
5455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5456 whose name does not start with the host triplet. If you think this
5457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5458 ac_tool_warned=yes ;;
5459 esac
5460 AS=$ac_ct_AS
5464 if test -n "$ac_tool_prefix"; then
5465 for ac_prog in ld gld
5467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5471 if test "${ac_cv_prog_LD+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 else
5474 if test -n "$LD"; then
5475 ac_cv_prog_LD="$LD" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5484 ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
5485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 LD=$ac_cv_prog_LD
5495 if test -n "$LD"; then
5496 { echo "$as_me:$LINENO: result: $LD" >&5
5497 echo "${ECHO_T}$LD" >&6; }
5498 else
5499 { echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6; }
5504 test -n "$LD" && break
5505 done
5507 if test -z "$LD"; then
5508 ac_ct_LD=$LD
5509 for ac_prog in ld gld
5511 # Extract the first word of "$ac_prog", so it can be a program name with args.
5512 set dummy $ac_prog; ac_word=$2
5513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5515 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 else
5518 if test -n "$ac_ct_LD"; then
5519 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528 ac_cv_prog_ac_ct_LD="$ac_prog"
5529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5539 if test -n "$ac_ct_LD"; then
5540 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5541 echo "${ECHO_T}$ac_ct_LD" >&6; }
5542 else
5543 { echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6; }
5548 test -n "$ac_ct_LD" && break
5549 done
5551 if test "x$ac_ct_LD" = x; then
5552 LD="ld"
5553 else
5554 case $cross_compiling:$ac_tool_warned in
5555 yes:)
5556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5557 whose name does not start with the host triplet. If you think this
5558 configuration is useful to you, please write to autoconf@gnu.org." >&5
5559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5560 whose name does not start with the host triplet. If you think this
5561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5562 ac_tool_warned=yes ;;
5563 esac
5564 LD=$ac_ct_LD
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog in nm gnm
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5575 if test "${ac_cv_prog_NM+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5577 else
5578 if test -n "$NM"; then
5579 ac_cv_prog_NM="$NM" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 NM=$ac_cv_prog_NM
5599 if test -n "$NM"; then
5600 { echo "$as_me:$LINENO: result: $NM" >&5
5601 echo "${ECHO_T}$NM" >&6; }
5602 else
5603 { echo "$as_me:$LINENO: result: no" >&5
5604 echo "${ECHO_T}no" >&6; }
5608 test -n "$NM" && break
5609 done
5611 if test -z "$NM"; then
5612 ac_ct_NM=$NM
5613 for ac_prog in nm gnm
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy $ac_prog; ac_word=$2
5617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5619 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5620 echo $ECHO_N "(cached) $ECHO_C" >&6
5621 else
5622 if test -n "$ac_ct_NM"; then
5623 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5632 ac_cv_prog_ac_ct_NM="$ac_prog"
5633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5636 done
5637 done
5638 IFS=$as_save_IFS
5642 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5643 if test -n "$ac_ct_NM"; then
5644 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5645 echo "${ECHO_T}$ac_ct_NM" >&6; }
5646 else
5647 { echo "$as_me:$LINENO: result: no" >&5
5648 echo "${ECHO_T}no" >&6; }
5652 test -n "$ac_ct_NM" && break
5653 done
5655 if test "x$ac_ct_NM" = x; then
5656 NM="nm"
5657 else
5658 case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5661 whose name does not start with the host triplet. If you think this
5662 configuration is useful to you, please write to autoconf@gnu.org." >&5
5663 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5664 whose name does not start with the host triplet. If you think this
5665 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5666 ac_tool_warned=yes ;;
5667 esac
5668 NM=$ac_ct_NM
5672 if test -n "$ac_tool_prefix"; then
5673 for ac_prog in ar gar
5675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5679 if test "${ac_cv_prog_AR+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682 if test -n "$AR"; then
5683 ac_cv_prog_AR="$AR" # Let the user override the test.
5684 else
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5686 for as_dir in $PATH
5688 IFS=$as_save_IFS
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 AR=$ac_cv_prog_AR
5703 if test -n "$AR"; then
5704 { echo "$as_me:$LINENO: result: $AR" >&5
5705 echo "${ECHO_T}$AR" >&6; }
5706 else
5707 { echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6; }
5712 test -n "$AR" && break
5713 done
5715 if test -z "$AR"; then
5716 ac_ct_AR=$AR
5717 for ac_prog in ar gar
5719 # Extract the first word of "$ac_prog", so it can be a program name with args.
5720 set dummy $ac_prog; ac_word=$2
5721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 else
5726 if test -n "$ac_ct_AR"; then
5727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5728 else
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 for as_dir in $PATH
5732 IFS=$as_save_IFS
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5736 ac_cv_prog_ac_ct_AR="$ac_prog"
5737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5742 IFS=$as_save_IFS
5746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5747 if test -n "$ac_ct_AR"; then
5748 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5749 echo "${ECHO_T}$ac_ct_AR" >&6; }
5750 else
5751 { echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6; }
5756 test -n "$ac_ct_AR" && break
5757 done
5759 if test "x$ac_ct_AR" = x; then
5760 AR="ar"
5761 else
5762 case $cross_compiling:$ac_tool_warned in
5763 yes:)
5764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5765 whose name does not start with the host triplet. If you think this
5766 configuration is useful to you, please write to autoconf@gnu.org." >&5
5767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5768 whose name does not start with the host triplet. If you think this
5769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5770 ac_tool_warned=yes ;;
5771 esac
5772 AR=$ac_ct_AR
5776 ARFLAGS=rc
5778 if test -n "$ac_tool_prefix"; then
5779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5780 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5783 if test "${ac_cv_prog_RANLIB+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 else
5786 if test -n "$RANLIB"; then
5787 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5788 else
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in $PATH
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5800 done
5801 done
5802 IFS=$as_save_IFS
5806 RANLIB=$ac_cv_prog_RANLIB
5807 if test -n "$RANLIB"; then
5808 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5809 echo "${ECHO_T}$RANLIB" >&6; }
5810 else
5811 { echo "$as_me:$LINENO: result: no" >&5
5812 echo "${ECHO_T}no" >&6; }
5817 if test -z "$ac_cv_prog_RANLIB"; then
5818 ac_ct_RANLIB=$RANLIB
5819 # Extract the first word of "ranlib", so it can be a program name with args.
5820 set dummy ranlib; ac_word=$2
5821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5823 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 else
5826 if test -n "$ac_ct_RANLIB"; then
5827 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_ac_ct_RANLIB="ranlib"
5837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5847 if test -n "$ac_ct_RANLIB"; then
5848 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5849 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5850 else
5851 { echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6; }
5855 if test "x$ac_ct_RANLIB" = x; then
5856 RANLIB=":"
5857 else
5858 case $cross_compiling:$ac_tool_warned in
5859 yes:)
5860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5861 whose name does not start with the host triplet. If you think this
5862 configuration is useful to you, please write to autoconf@gnu.org." >&5
5863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5864 whose name does not start with the host triplet. If you think this
5865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5866 ac_tool_warned=yes ;;
5867 esac
5868 RANLIB=$ac_ct_RANLIB
5870 else
5871 RANLIB="$ac_cv_prog_RANLIB"
5874 if test -n "$ac_tool_prefix"; then
5875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5876 set dummy ${ac_tool_prefix}strip; ac_word=$2
5877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5879 if test "${ac_cv_prog_STRIP+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5881 else
5882 if test -n "$STRIP"; then
5883 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5884 else
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5894 break 2
5896 done
5897 done
5898 IFS=$as_save_IFS
5902 STRIP=$ac_cv_prog_STRIP
5903 if test -n "$STRIP"; then
5904 { echo "$as_me:$LINENO: result: $STRIP" >&5
5905 echo "${ECHO_T}$STRIP" >&6; }
5906 else
5907 { echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6; }
5913 if test -z "$ac_cv_prog_STRIP"; then
5914 ac_ct_STRIP=$STRIP
5915 # Extract the first word of "strip", so it can be a program name with args.
5916 set dummy strip; ac_word=$2
5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 else
5922 if test -n "$ac_ct_STRIP"; then
5923 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_ac_ct_STRIP="strip"
5933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5943 if test -n "$ac_ct_STRIP"; then
5944 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5945 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5946 else
5947 { echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6; }
5951 if test "x$ac_ct_STRIP" = x; then
5952 STRIP="strip"
5953 else
5954 case $cross_compiling:$ac_tool_warned in
5955 yes:)
5956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5957 whose name does not start with the host triplet. If you think this
5958 configuration is useful to you, please write to autoconf@gnu.org." >&5
5959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5960 whose name does not start with the host triplet. If you think this
5961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5962 ac_tool_warned=yes ;;
5963 esac
5964 STRIP=$ac_ct_STRIP
5966 else
5967 STRIP="$ac_cv_prog_STRIP"
5970 if test -n "$ac_tool_prefix"; then
5971 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5972 set dummy ${ac_tool_prefix}windres; ac_word=$2
5973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5975 if test "${ac_cv_prog_WINDRES+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 else
5978 if test -n "$WINDRES"; then
5979 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5988 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 WINDRES=$ac_cv_prog_WINDRES
5999 if test -n "$WINDRES"; then
6000 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6001 echo "${ECHO_T}$WINDRES" >&6; }
6002 else
6003 { echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6; }
6009 if test -z "$ac_cv_prog_WINDRES"; then
6010 ac_ct_WINDRES=$WINDRES
6011 # Extract the first word of "windres", so it can be a program name with args.
6012 set dummy windres; ac_word=$2
6013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6015 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 else
6018 if test -n "$ac_ct_WINDRES"; then
6019 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6020 else
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6022 for as_dir in $PATH
6024 IFS=$as_save_IFS
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6028 ac_cv_prog_ac_ct_WINDRES="windres"
6029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 break 2
6032 done
6033 done
6034 IFS=$as_save_IFS
6038 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6039 if test -n "$ac_ct_WINDRES"; then
6040 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6041 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6042 else
6043 { echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6; }
6047 if test "x$ac_ct_WINDRES" = x; then
6048 WINDRES="false"
6049 else
6050 case $cross_compiling:$ac_tool_warned in
6051 yes:)
6052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6053 whose name does not start with the host triplet. If you think this
6054 configuration is useful to you, please write to autoconf@gnu.org." >&5
6055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6056 whose name does not start with the host triplet. If you think this
6057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6058 ac_tool_warned=yes ;;
6059 esac
6060 WINDRES=$ac_ct_WINDRES
6062 else
6063 WINDRES="$ac_cv_prog_WINDRES"
6066 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6067 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6068 LN_S=$as_ln_s
6069 if test "$LN_S" = "ln -s"; then
6070 { echo "$as_me:$LINENO: result: yes" >&5
6071 echo "${ECHO_T}yes" >&6; }
6072 else
6073 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6074 echo "${ECHO_T}no, using $LN_S" >&6; }
6077 { echo "$as_me:$LINENO: checking whether ln works" >&5
6078 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6079 rm -f conf$$ conf$$.file
6080 echo >conf$$.file
6081 if ln conf$$.file conf$$ 2>/dev/null; then
6082 LN=ln
6084 { echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6; }
6086 else
6087 LN="cp -p"
6089 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6090 echo "${ECHO_T}no, using $LN" >&6; }
6092 rm -f conf$$ conf$$.file
6093 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6094 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6095 if test "${ac_cv_path_GREP+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 else
6098 # Extract the first word of "grep ggrep" to use in msg output
6099 if test -z "$GREP"; then
6100 set dummy grep ggrep; ac_prog_name=$2
6101 if test "${ac_cv_path_GREP+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 else
6104 ac_path_GREP_found=false
6105 # Loop through the user's path and test for each of PROGNAME-LIST
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_prog in grep ggrep; do
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6114 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6115 # Check for GNU ac_path_GREP and select it if it is found.
6116 # Check for GNU $ac_path_GREP
6117 case `"$ac_path_GREP" --version 2>&1` in
6118 *GNU*)
6119 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6121 ac_count=0
6122 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6123 while :
6125 cat "conftest.in" "conftest.in" >"conftest.tmp"
6126 mv "conftest.tmp" "conftest.in"
6127 cp "conftest.in" "conftest.nl"
6128 echo 'GREP' >> "conftest.nl"
6129 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6130 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6131 ac_count=`expr $ac_count + 1`
6132 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6133 # Best one so far, save it but keep looking for a better one
6134 ac_cv_path_GREP="$ac_path_GREP"
6135 ac_path_GREP_max=$ac_count
6137 # 10*(2^10) chars as input seems more than enough
6138 test $ac_count -gt 10 && break
6139 done
6140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6141 esac
6144 $ac_path_GREP_found && break 3
6145 done
6146 done
6148 done
6149 IFS=$as_save_IFS
6154 GREP="$ac_cv_path_GREP"
6155 if test -z "$GREP"; then
6156 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6157 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6158 { (exit 1); exit 1; }; }
6161 else
6162 ac_cv_path_GREP=$GREP
6167 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6168 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6169 GREP="$ac_cv_path_GREP"
6172 { echo "$as_me:$LINENO: checking for egrep" >&5
6173 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6174 if test "${ac_cv_path_EGREP+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6178 then ac_cv_path_EGREP="$GREP -E"
6179 else
6180 # Extract the first word of "egrep" to use in msg output
6181 if test -z "$EGREP"; then
6182 set dummy egrep; ac_prog_name=$2
6183 if test "${ac_cv_path_EGREP+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 else
6186 ac_path_EGREP_found=false
6187 # Loop through the user's path and test for each of PROGNAME-LIST
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6191 IFS=$as_save_IFS
6192 test -z "$as_dir" && as_dir=.
6193 for ac_prog in egrep; do
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6196 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6197 # Check for GNU ac_path_EGREP and select it if it is found.
6198 # Check for GNU $ac_path_EGREP
6199 case `"$ac_path_EGREP" --version 2>&1` in
6200 *GNU*)
6201 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6203 ac_count=0
6204 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6205 while :
6207 cat "conftest.in" "conftest.in" >"conftest.tmp"
6208 mv "conftest.tmp" "conftest.in"
6209 cp "conftest.in" "conftest.nl"
6210 echo 'EGREP' >> "conftest.nl"
6211 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6212 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6213 ac_count=`expr $ac_count + 1`
6214 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6215 # Best one so far, save it but keep looking for a better one
6216 ac_cv_path_EGREP="$ac_path_EGREP"
6217 ac_path_EGREP_max=$ac_count
6219 # 10*(2^10) chars as input seems more than enough
6220 test $ac_count -gt 10 && break
6221 done
6222 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6223 esac
6226 $ac_path_EGREP_found && break 3
6227 done
6228 done
6230 done
6231 IFS=$as_save_IFS
6236 EGREP="$ac_cv_path_EGREP"
6237 if test -z "$EGREP"; then
6238 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6239 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6240 { (exit 1); exit 1; }; }
6243 else
6244 ac_cv_path_EGREP=$EGREP
6250 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6251 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6252 EGREP="$ac_cv_path_EGREP"
6255 # Extract the first word of "ldconfig", so it can be a program name with args.
6256 set dummy ldconfig; ac_word=$2
6257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6259 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 else
6262 case $LDCONFIG in
6263 [\\/]* | ?:[\\/]*)
6264 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in /sbin /usr/sbin $PATH
6270 IFS=$as_save_IFS
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6274 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 break 2
6278 done
6279 done
6280 IFS=$as_save_IFS
6282 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6284 esac
6286 LDCONFIG=$ac_cv_path_LDCONFIG
6287 if test -n "$LDCONFIG"; then
6288 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6289 echo "${ECHO_T}$LDCONFIG" >&6; }
6290 else
6291 { echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6; }
6296 # Find a good install program. We prefer a C program (faster),
6297 # so one script is as good as another. But avoid the broken or
6298 # incompatible versions:
6299 # SysV /etc/install, /usr/sbin/install
6300 # SunOS /usr/etc/install
6301 # IRIX /sbin/install
6302 # AIX /bin/install
6303 # AmigaOS /C/install, which installs bootblocks on floppy discs
6304 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6305 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6306 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6307 # OS/2's system install, which has a completely different semantic
6308 # ./install, which can be erroneously created by make from ./install.sh.
6309 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6310 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6311 if test -z "$INSTALL"; then
6312 if test "${ac_cv_path_install+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6314 else
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316 for as_dir in $PATH
6318 IFS=$as_save_IFS
6319 test -z "$as_dir" && as_dir=.
6320 # Account for people who put trailing slashes in PATH elements.
6321 case $as_dir/ in
6322 ./ | .// | /cC/* | \
6323 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6324 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6325 /usr/ucb/* ) ;;
6327 # OSF1 and SCO ODT 3.0 have their own names for install.
6328 # Don't use installbsd from OSF since it installs stuff as root
6329 # by default.
6330 for ac_prog in ginstall scoinst install; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6333 if test $ac_prog = install &&
6334 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6335 # AIX install. It has an incompatible calling convention.
6337 elif test $ac_prog = install &&
6338 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6339 # program-specific install script used by HP pwplus--don't use.
6341 else
6342 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6343 break 3
6346 done
6347 done
6349 esac
6350 done
6351 IFS=$as_save_IFS
6355 if test "${ac_cv_path_install+set}" = set; then
6356 INSTALL=$ac_cv_path_install
6357 else
6358 # As a last resort, use the slow shell script. Don't cache a
6359 # value for INSTALL within a source directory, because that will
6360 # break other packages using the cache if that directory is
6361 # removed, or if the value is a relative name.
6362 INSTALL=$ac_install_sh
6365 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6366 echo "${ECHO_T}$INSTALL" >&6; }
6368 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6369 # It thinks the first close brace ends the variable substitution.
6370 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6372 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6374 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6376 case "$INSTALL" in
6377 [\\/$]* | ?:[\\/]* ) ;;
6378 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6379 esac
6381 for ac_prog in lclint lint
6383 # Extract the first word of "$ac_prog", so it can be a program name with args.
6384 set dummy $ac_prog; ac_word=$2
6385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6387 if test "${ac_cv_prog_LINT+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 else
6390 if test -n "$LINT"; then
6391 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6392 else
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 for as_dir in $PATH
6396 IFS=$as_save_IFS
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_LINT="$ac_prog"
6401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 break 2
6404 done
6405 done
6406 IFS=$as_save_IFS
6410 LINT=$ac_cv_prog_LINT
6411 if test -n "$LINT"; then
6412 { echo "$as_me:$LINENO: result: $LINT" >&5
6413 echo "${ECHO_T}$LINT" >&6; }
6414 else
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6420 test -n "$LINT" && break
6421 done
6423 if test "$LINT" = "lint"
6424 then
6425 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6430 for ac_prog in fontforge
6432 # Extract the first word of "$ac_prog", so it can be a program name with args.
6433 set dummy $ac_prog; ac_word=$2
6434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6436 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 else
6439 if test -n "$FONTFORGE"; then
6440 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_FONTFORGE="$ac_prog"
6450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 FONTFORGE=$ac_cv_prog_FONTFORGE
6460 if test -n "$FONTFORGE"; then
6461 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6462 echo "${ECHO_T}$FONTFORGE" >&6; }
6463 else
6464 { echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6; }
6469 test -n "$FONTFORGE" && break
6470 done
6471 test -n "$FONTFORGE" || FONTFORGE="false"
6473 for ac_prog in pkg-config
6475 # Extract the first word of "$ac_prog", so it can be a program name with args.
6476 set dummy $ac_prog; ac_word=$2
6477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6479 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 else
6482 if test -n "$PKG_CONFIG"; then
6483 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6488 IFS=$as_save_IFS
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_prog_PKG_CONFIG="$ac_prog"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 break 2
6496 done
6497 done
6498 IFS=$as_save_IFS
6502 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6503 if test -n "$PKG_CONFIG"; then
6504 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6505 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6506 else
6507 { echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6; }
6512 test -n "$PKG_CONFIG" && break
6513 done
6514 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6516 for ac_prog in rsvg
6518 # Extract the first word of "$ac_prog", so it can be a program name with args.
6519 set dummy $ac_prog; ac_word=$2
6520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6522 if test "${ac_cv_prog_RSVG+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 else
6525 if test -n "$RSVG"; then
6526 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6527 else
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $PATH
6531 IFS=$as_save_IFS
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_RSVG="$ac_prog"
6536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 break 2
6539 done
6540 done
6541 IFS=$as_save_IFS
6545 RSVG=$ac_cv_prog_RSVG
6546 if test -n "$RSVG"; then
6547 { echo "$as_me:$LINENO: result: $RSVG" >&5
6548 echo "${ECHO_T}$RSVG" >&6; }
6549 else
6550 { echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6; }
6555 test -n "$RSVG" && break
6556 done
6557 test -n "$RSVG" || RSVG="false"
6559 for ac_prog in icotool
6561 # Extract the first word of "$ac_prog", so it can be a program name with args.
6562 set dummy $ac_prog; ac_word=$2
6563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6565 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 else
6568 if test -n "$ICOTOOL"; then
6569 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6570 else
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6574 IFS=$as_save_IFS
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_ICOTOOL="$ac_prog"
6579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 break 2
6582 done
6583 done
6584 IFS=$as_save_IFS
6588 ICOTOOL=$ac_cv_prog_ICOTOOL
6589 if test -n "$ICOTOOL"; then
6590 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6591 echo "${ECHO_T}$ICOTOOL" >&6; }
6592 else
6593 { echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6; }
6598 test -n "$ICOTOOL" && break
6599 done
6600 test -n "$ICOTOOL" || ICOTOOL="false"
6603 if test "${enable_maintainer_mode+set}" = set
6604 then
6605 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6606 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6607 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6610 case $host_cpu in
6611 *i[3456789]86*)
6612 # Extract the first word of "prelink", so it can be a program name with args.
6613 set dummy prelink; ac_word=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_PRELINK+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 else
6619 case $PRELINK in
6620 [\\/]* | ?:[\\/]*)
6621 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in /sbin /usr/sbin $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6639 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6641 esac
6643 PRELINK=$ac_cv_path_PRELINK
6644 if test -n "$PRELINK"; then
6645 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6646 echo "${ECHO_T}$PRELINK" >&6; }
6647 else
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6654 esac
6658 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6659 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6660 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 ac_check_lib_save_LIBS=$LIBS
6664 LIBS="-li386 $LIBS"
6665 cat >conftest.$ac_ext <<_ACEOF
6666 /* confdefs.h. */
6667 _ACEOF
6668 cat confdefs.h >>conftest.$ac_ext
6669 cat >>conftest.$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6672 /* Override any GCC internal prototype to avoid an error.
6673 Use char because int might match the return type of a GCC
6674 builtin and then its argument prototype would still apply. */
6675 #ifdef __cplusplus
6676 extern "C"
6677 #endif
6678 char i386_set_ldt ();
6680 main ()
6682 return i386_set_ldt ();
6684 return 0;
6686 _ACEOF
6687 rm -f conftest.$ac_objext conftest$ac_exeext
6688 if { (ac_try="$ac_link"
6689 case "(($ac_try" in
6690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6691 *) ac_try_echo=$ac_try;;
6692 esac
6693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6694 (eval "$ac_link") 2>conftest.er1
6695 ac_status=$?
6696 grep -v '^ *+' conftest.er1 >conftest.err
6697 rm -f conftest.er1
6698 cat conftest.err >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); } && {
6701 test -z "$ac_c_werror_flag" ||
6702 test ! -s conftest.err
6703 } && test -s conftest$ac_exeext &&
6704 $as_test_x conftest$ac_exeext; then
6705 ac_cv_lib_i386_i386_set_ldt=yes
6706 else
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6710 ac_cv_lib_i386_i386_set_ldt=no
6713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6714 conftest$ac_exeext conftest.$ac_ext
6715 LIBS=$ac_check_lib_save_LIBS
6717 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6718 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6719 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6720 cat >>confdefs.h <<_ACEOF
6721 #define HAVE_LIBI386 1
6722 _ACEOF
6724 LIBS="-li386 $LIBS"
6729 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6730 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6731 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 else
6734 ac_check_lib_save_LIBS=$LIBS
6735 LIBS="-lossaudio $LIBS"
6736 cat >conftest.$ac_ext <<_ACEOF
6737 /* confdefs.h. */
6738 _ACEOF
6739 cat confdefs.h >>conftest.$ac_ext
6740 cat >>conftest.$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6743 /* Override any GCC internal prototype to avoid an error.
6744 Use char because int might match the return type of a GCC
6745 builtin and then its argument prototype would still apply. */
6746 #ifdef __cplusplus
6747 extern "C"
6748 #endif
6749 char _oss_ioctl ();
6751 main ()
6753 return _oss_ioctl ();
6755 return 0;
6757 _ACEOF
6758 rm -f conftest.$ac_objext conftest$ac_exeext
6759 if { (ac_try="$ac_link"
6760 case "(($ac_try" in
6761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6762 *) ac_try_echo=$ac_try;;
6763 esac
6764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6765 (eval "$ac_link") 2>conftest.er1
6766 ac_status=$?
6767 grep -v '^ *+' conftest.er1 >conftest.err
6768 rm -f conftest.er1
6769 cat conftest.err >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } && {
6772 test -z "$ac_c_werror_flag" ||
6773 test ! -s conftest.err
6774 } && test -s conftest$ac_exeext &&
6775 $as_test_x conftest$ac_exeext; then
6776 ac_cv_lib_ossaudio__oss_ioctl=yes
6777 else
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_lib_ossaudio__oss_ioctl=no
6784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6785 conftest$ac_exeext conftest.$ac_ext
6786 LIBS=$ac_check_lib_save_LIBS
6788 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6789 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6790 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6791 cat >>confdefs.h <<_ACEOF
6792 #define HAVE_LIBOSSAUDIO 1
6793 _ACEOF
6795 LIBS="-lossaudio $LIBS"
6799 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6800 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6801 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6802 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 else
6804 ac_check_lib_save_LIBS=$LIBS
6805 LIBS="-lpthread $LIBS"
6806 cat >conftest.$ac_ext <<_ACEOF
6807 /* confdefs.h. */
6808 _ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 /* Override any GCC internal prototype to avoid an error.
6814 Use char because int might match the return type of a GCC
6815 builtin and then its argument prototype would still apply. */
6816 #ifdef __cplusplus
6817 extern "C"
6818 #endif
6819 char pthread_create ();
6821 main ()
6823 return pthread_create ();
6825 return 0;
6827 _ACEOF
6828 rm -f conftest.$ac_objext conftest$ac_exeext
6829 if { (ac_try="$ac_link"
6830 case "(($ac_try" in
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6833 esac
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_link") 2>conftest.er1
6836 ac_status=$?
6837 grep -v '^ *+' conftest.er1 >conftest.err
6838 rm -f conftest.er1
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } && {
6842 test -z "$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6844 } && test -s conftest$ac_exeext &&
6845 $as_test_x conftest$ac_exeext; then
6846 ac_cv_lib_pthread_pthread_create=yes
6847 else
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 ac_cv_lib_pthread_pthread_create=no
6854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6859 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6860 if test $ac_cv_lib_pthread_pthread_create = yes; then
6861 LIBPTHREAD="-lpthread"
6866 XLIB=""
6868 XFILES=""
6870 OPENGLFILES=""
6872 GLU32FILES=""
6874 OPENGL_LIBS=""
6876 QUARTZFILES=""
6880 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6881 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6882 if test "${ac_cv_header_stdc+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 else
6885 cat >conftest.$ac_ext <<_ACEOF
6886 /* confdefs.h. */
6887 _ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6891 #include <stdlib.h>
6892 #include <stdarg.h>
6893 #include <string.h>
6894 #include <float.h>
6897 main ()
6901 return 0;
6903 _ACEOF
6904 rm -f conftest.$ac_objext
6905 if { (ac_try="$ac_compile"
6906 case "(($ac_try" in
6907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6908 *) ac_try_echo=$ac_try;;
6909 esac
6910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6911 (eval "$ac_compile") 2>conftest.er1
6912 ac_status=$?
6913 grep -v '^ *+' conftest.er1 >conftest.err
6914 rm -f conftest.er1
6915 cat conftest.err >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } && {
6918 test -z "$ac_c_werror_flag" ||
6919 test ! -s conftest.err
6920 } && test -s conftest.$ac_objext; then
6921 ac_cv_header_stdc=yes
6922 else
6923 echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.$ac_ext >&5
6926 ac_cv_header_stdc=no
6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6931 if test $ac_cv_header_stdc = yes; then
6932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6933 cat >conftest.$ac_ext <<_ACEOF
6934 /* confdefs.h. */
6935 _ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6939 #include <string.h>
6941 _ACEOF
6942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6943 $EGREP "memchr" >/dev/null 2>&1; then
6945 else
6946 ac_cv_header_stdc=no
6948 rm -f conftest*
6952 if test $ac_cv_header_stdc = yes; then
6953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6954 cat >conftest.$ac_ext <<_ACEOF
6955 /* confdefs.h. */
6956 _ACEOF
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6960 #include <stdlib.h>
6962 _ACEOF
6963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6964 $EGREP "free" >/dev/null 2>&1; then
6966 else
6967 ac_cv_header_stdc=no
6969 rm -f conftest*
6973 if test $ac_cv_header_stdc = yes; then
6974 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6975 if test "$cross_compiling" = yes; then
6977 else
6978 cat >conftest.$ac_ext <<_ACEOF
6979 /* confdefs.h. */
6980 _ACEOF
6981 cat confdefs.h >>conftest.$ac_ext
6982 cat >>conftest.$ac_ext <<_ACEOF
6983 /* end confdefs.h. */
6984 #include <ctype.h>
6985 #include <stdlib.h>
6986 #if ((' ' & 0x0FF) == 0x020)
6987 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6988 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6989 #else
6990 # define ISLOWER(c) \
6991 (('a' <= (c) && (c) <= 'i') \
6992 || ('j' <= (c) && (c) <= 'r') \
6993 || ('s' <= (c) && (c) <= 'z'))
6994 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6995 #endif
6997 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6999 main ()
7001 int i;
7002 for (i = 0; i < 256; i++)
7003 if (XOR (islower (i), ISLOWER (i))
7004 || toupper (i) != TOUPPER (i))
7005 return 2;
7006 return 0;
7008 _ACEOF
7009 rm -f conftest$ac_exeext
7010 if { (ac_try="$ac_link"
7011 case "(($ac_try" in
7012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7013 *) ac_try_echo=$ac_try;;
7014 esac
7015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7016 (eval "$ac_link") 2>&5
7017 ac_status=$?
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7020 { (case "(($ac_try" in
7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7022 *) ac_try_echo=$ac_try;;
7023 esac
7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7025 (eval "$ac_try") 2>&5
7026 ac_status=$?
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); }; }; then
7030 else
7031 echo "$as_me: program exited with status $ac_status" >&5
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ( exit $ac_status )
7036 ac_cv_header_stdc=no
7038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7044 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7045 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7046 if test $ac_cv_header_stdc = yes; then
7048 cat >>confdefs.h <<\_ACEOF
7049 #define STDC_HEADERS 1
7050 _ACEOF
7054 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7064 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7065 inttypes.h stdint.h unistd.h
7067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7071 echo $ECHO_N "(cached) $ECHO_C" >&6
7072 else
7073 cat >conftest.$ac_ext <<_ACEOF
7074 /* confdefs.h. */
7075 _ACEOF
7076 cat confdefs.h >>conftest.$ac_ext
7077 cat >>conftest.$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7079 $ac_includes_default
7081 #include <$ac_header>
7082 _ACEOF
7083 rm -f conftest.$ac_objext
7084 if { (ac_try="$ac_compile"
7085 case "(($ac_try" in
7086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7087 *) ac_try_echo=$ac_try;;
7088 esac
7089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7090 (eval "$ac_compile") 2>conftest.er1
7091 ac_status=$?
7092 grep -v '^ *+' conftest.er1 >conftest.err
7093 rm -f conftest.er1
7094 cat conftest.err >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } && {
7097 test -z "$ac_c_werror_flag" ||
7098 test ! -s conftest.err
7099 } && test -s conftest.$ac_objext; then
7100 eval "$as_ac_Header=yes"
7101 else
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.$ac_ext >&5
7105 eval "$as_ac_Header=no"
7108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7110 ac_res=`eval echo '${'$as_ac_Header'}'`
7111 { echo "$as_me:$LINENO: result: $ac_res" >&5
7112 echo "${ECHO_T}$ac_res" >&6; }
7113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7114 cat >>confdefs.h <<_ACEOF
7115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7116 _ACEOF
7120 done
7234 for ac_header in \
7235 AudioUnit/AudioUnit.h \
7236 Carbon/Carbon.h \
7237 CoreAudio/CoreAudio.h \
7238 DiskArbitration/DiskArbitration.h \
7239 IOKit/IOKitLib.h \
7240 alias.h \
7241 alsa/asoundlib.h \
7242 arpa/inet.h \
7243 arpa/nameser.h \
7244 asm/types.h \
7245 capi20.h \
7246 cups/cups.h \
7247 curses.h \
7248 direct.h \
7249 dlfcn.h \
7250 elf.h \
7251 float.h \
7252 fontconfig/fontconfig.h \
7253 getopt.h \
7254 ieeefp.h \
7255 io.h \
7256 jack/jack.h \
7257 jpeglib.h \
7258 lber.h \
7259 lcms.h \
7260 lcms/lcms.h \
7261 ldap.h \
7262 libaudioio.h \
7263 link.h \
7264 linux/cdrom.h \
7265 linux/compiler.h \
7266 linux/hdreg.h \
7267 linux/input.h \
7268 linux/ioctl.h \
7269 linux/joystick.h \
7270 linux/major.h \
7271 linux/param.h \
7272 linux/serial.h \
7273 linux/ucdrom.h \
7274 mach/mach.h \
7275 mach/machine.h \
7276 machine/cpu.h \
7277 machine/limits.h \
7278 machine/soundcard.h \
7279 mntent.h \
7280 ncurses.h \
7281 netdb.h \
7282 netinet/in.h \
7283 netinet/in_systm.h \
7284 netinet/tcp.h \
7285 netinet/tcp_fsm.h \
7286 openssl/err.h \
7287 openssl/ssl.h \
7288 png.h \
7289 poll.h \
7290 process.h \
7291 pthread.h \
7292 pwd.h \
7293 regex.h \
7294 sched.h \
7295 scsi/scsi.h \
7296 scsi/scsi_ioctl.h \
7297 scsi/sg.h \
7298 soundcard.h \
7299 stdint.h \
7300 strings.h \
7301 sys/asoundlib.h \
7302 sys/cdio.h \
7303 sys/elf32.h \
7304 sys/epoll.h \
7305 sys/errno.h \
7306 sys/event.h \
7307 sys/exec_elf.h \
7308 sys/filio.h \
7309 sys/ioctl.h \
7310 sys/ipc.h \
7311 sys/limits.h \
7312 sys/link.h \
7313 sys/lwp.h \
7314 sys/mman.h \
7315 sys/modem.h \
7316 sys/msg.h \
7317 sys/mtio.h \
7318 sys/param.h \
7319 sys/poll.h \
7320 sys/prctl.h \
7321 sys/ptrace.h \
7322 sys/reg.h \
7323 sys/resource.h \
7324 sys/scsiio.h \
7325 sys/shm.h \
7326 sys/signal.h \
7327 sys/socket.h \
7328 sys/socketvar.h \
7329 sys/sockio.h \
7330 sys/soundcard.h \
7331 sys/statvfs.h \
7332 sys/strtio.h \
7333 sys/syscall.h \
7334 sys/sysctl.h \
7335 sys/time.h \
7336 sys/times.h \
7337 sys/uio.h \
7338 sys/un.h \
7339 sys/vm86.h \
7340 sys/wait.h \
7341 syscall.h \
7342 termios.h \
7343 unistd.h \
7344 utime.h \
7345 valgrind/memcheck.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 ac_res=`eval echo '${'$as_ac_Header'}'`
7356 { echo "$as_me:$LINENO: result: $ac_res" >&5
7357 echo "${ECHO_T}$ac_res" >&6; }
7358 else
7359 # Is the header compilable?
7360 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7362 cat >conftest.$ac_ext <<_ACEOF
7363 /* confdefs.h. */
7364 _ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 $ac_includes_default
7369 #include <$ac_header>
7370 _ACEOF
7371 rm -f conftest.$ac_objext
7372 if { (ac_try="$ac_compile"
7373 case "(($ac_try" in
7374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7375 *) ac_try_echo=$ac_try;;
7376 esac
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_compile") 2>conftest.er1
7379 ac_status=$?
7380 grep -v '^ *+' conftest.er1 >conftest.err
7381 rm -f conftest.er1
7382 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && {
7385 test -z "$ac_c_werror_flag" ||
7386 test ! -s conftest.err
7387 } && test -s conftest.$ac_objext; then
7388 ac_header_compiler=yes
7389 else
7390 echo "$as_me: failed program was:" >&5
7391 sed 's/^/| /' conftest.$ac_ext >&5
7393 ac_header_compiler=no
7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7398 echo "${ECHO_T}$ac_header_compiler" >&6; }
7400 # Is the header present?
7401 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7403 cat >conftest.$ac_ext <<_ACEOF
7404 /* confdefs.h. */
7405 _ACEOF
7406 cat confdefs.h >>conftest.$ac_ext
7407 cat >>conftest.$ac_ext <<_ACEOF
7408 /* end confdefs.h. */
7409 #include <$ac_header>
7410 _ACEOF
7411 if { (ac_try="$ac_cpp conftest.$ac_ext"
7412 case "(($ac_try" in
7413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7414 *) ac_try_echo=$ac_try;;
7415 esac
7416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7418 ac_status=$?
7419 grep -v '^ *+' conftest.er1 >conftest.err
7420 rm -f conftest.er1
7421 cat conftest.err >&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } >/dev/null && {
7424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7425 test ! -s conftest.err
7426 }; then
7427 ac_header_preproc=yes
7428 else
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7432 ac_header_preproc=no
7435 rm -f conftest.err conftest.$ac_ext
7436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7437 echo "${ECHO_T}$ac_header_preproc" >&6; }
7439 # So? What about this header?
7440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7441 yes:no: )
7442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7446 ac_header_preproc=yes
7448 no:yes:* )
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7461 ( cat <<\_ASBOX
7462 ## ------------------------------------ ##
7463 ## Report this to wine-devel@winehq.org ##
7464 ## ------------------------------------ ##
7465 _ASBOX
7466 ) | sed "s/^/$as_me: WARNING: /" >&2
7468 esac
7469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 else
7474 eval "$as_ac_Header=\$ac_header_preproc"
7476 ac_res=`eval echo '${'$as_ac_Header'}'`
7477 { echo "$as_me:$LINENO: result: $ac_res" >&5
7478 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 _ACEOF
7488 done
7490 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7491 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7492 if test "${ac_cv_header_stat_broken+set}" = set; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7494 else
7495 cat >conftest.$ac_ext <<_ACEOF
7496 /* confdefs.h. */
7497 _ACEOF
7498 cat confdefs.h >>conftest.$ac_ext
7499 cat >>conftest.$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 #include <sys/types.h>
7502 #include <sys/stat.h>
7504 #if defined S_ISBLK && defined S_IFDIR
7505 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7506 #endif
7508 #if defined S_ISBLK && defined S_IFCHR
7509 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7510 #endif
7512 #if defined S_ISLNK && defined S_IFREG
7513 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7514 #endif
7516 #if defined S_ISSOCK && defined S_IFREG
7517 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7518 #endif
7520 _ACEOF
7521 rm -f conftest.$ac_objext
7522 if { (ac_try="$ac_compile"
7523 case "(($ac_try" in
7524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7525 *) ac_try_echo=$ac_try;;
7526 esac
7527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7528 (eval "$ac_compile") 2>conftest.er1
7529 ac_status=$?
7530 grep -v '^ *+' conftest.er1 >conftest.err
7531 rm -f conftest.er1
7532 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } && {
7535 test -z "$ac_c_werror_flag" ||
7536 test ! -s conftest.err
7537 } && test -s conftest.$ac_objext; then
7538 ac_cv_header_stat_broken=no
7539 else
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 ac_cv_header_stat_broken=yes
7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7548 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7549 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7550 if test $ac_cv_header_stat_broken = yes; then
7552 cat >>confdefs.h <<\_ACEOF
7553 #define STAT_MACROS_BROKEN 1
7554 _ACEOF
7564 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 else
7572 cat >conftest.$ac_ext <<_ACEOF
7573 /* confdefs.h. */
7574 _ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #include <sys/types.h>
7579 #ifdef HAVE_SYS_PARAM_H
7580 # include <sys/param.h>
7581 #endif
7583 #include <$ac_header>
7584 _ACEOF
7585 rm -f conftest.$ac_objext
7586 if { (ac_try="$ac_compile"
7587 case "(($ac_try" in
7588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7589 *) ac_try_echo=$ac_try;;
7590 esac
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.$ac_objext; then
7602 eval "$as_ac_Header=yes"
7603 else
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.$ac_ext >&5
7607 eval "$as_ac_Header=no"
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 ac_res=`eval echo '${'$as_ac_Header'}'`
7613 { echo "$as_me:$LINENO: result: $ac_res" >&5
7614 echo "${ECHO_T}$ac_res" >&6; }
7615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7616 cat >>confdefs.h <<_ACEOF
7617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7637 for ac_header in \
7638 netinet/ip.h \
7639 net/if.h \
7640 net/if_arp.h \
7641 net/if_dl.h \
7642 net/if_types.h \
7643 net/route.h \
7644 netinet/if_ether.h \
7645 netinet/in_pcb.h \
7646 netinet/ip_icmp.h \
7647 netinet/ip_var.h \
7648 netinet/udp.h \
7649 netipx/ipx.h \
7652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7656 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 else
7658 cat >conftest.$ac_ext <<_ACEOF
7659 /* confdefs.h. */
7660 _ACEOF
7661 cat confdefs.h >>conftest.$ac_ext
7662 cat >>conftest.$ac_ext <<_ACEOF
7663 /* end confdefs.h. */
7664 #include <sys/types.h>
7665 #ifdef HAVE_SYS_SOCKET_H
7666 # include <sys/socket.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKETVAR_H
7669 # include <sys/socketvar.h>
7670 #endif
7671 #ifdef HAVE_NETINET_IN_H
7672 # include <netinet/in.h>
7673 #endif
7674 #ifdef HAVE_NETINET_IP_H
7675 # include <netinet/ip.h>
7676 #endif
7678 #include <$ac_header>
7679 _ACEOF
7680 rm -f conftest.$ac_objext
7681 if { (ac_try="$ac_compile"
7682 case "(($ac_try" in
7683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7684 *) ac_try_echo=$ac_try;;
7685 esac
7686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7687 (eval "$ac_compile") 2>conftest.er1
7688 ac_status=$?
7689 grep -v '^ *+' conftest.er1 >conftest.err
7690 rm -f conftest.er1
7691 cat conftest.err >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } && {
7694 test -z "$ac_c_werror_flag" ||
7695 test ! -s conftest.err
7696 } && test -s conftest.$ac_objext; then
7697 eval "$as_ac_Header=yes"
7698 else
7699 echo "$as_me: failed program was:" >&5
7700 sed 's/^/| /' conftest.$ac_ext >&5
7702 eval "$as_ac_Header=no"
7705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7707 ac_res=`eval echo '${'$as_ac_Header'}'`
7708 { echo "$as_me:$LINENO: result: $ac_res" >&5
7709 echo "${ECHO_T}$ac_res" >&6; }
7710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7711 cat >>confdefs.h <<_ACEOF
7712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7713 _ACEOF
7717 done
7724 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7731 else
7732 cat >conftest.$ac_ext <<_ACEOF
7733 /* confdefs.h. */
7734 _ACEOF
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <sys/types.h>
7739 #ifdef HAVE_ALIAS_H
7740 # include <alias.h>
7741 #endif
7742 #ifdef HAVE_SYS_SOCKET_H
7743 # include <sys/socket.h>
7744 #endif
7745 #ifdef HAVE_SYS_SOCKETVAR_H
7746 # include <sys/socketvar.h>
7747 #endif
7748 #ifdef HAVE_NETINET_IN_H
7749 # include <netinet/in.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IP_H
7752 # include <netinet/ip.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IP_VAR_H
7755 # include <netinet/ip_var.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_ICMP_H
7758 # include <netinet/ip_icmp.h>
7759 #endif
7760 #ifdef HAVE_NETINET_UDP_H
7761 # include <netinet/udp.h>
7762 #endif
7763 #ifdef HAVE_NETINET_TCP_H
7764 # include <netinet/tcp.h>
7765 #endif
7767 #include <$ac_header>
7768 _ACEOF
7769 rm -f conftest.$ac_objext
7770 if { (ac_try="$ac_compile"
7771 case "(($ac_try" in
7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7773 *) ac_try_echo=$ac_try;;
7774 esac
7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7776 (eval "$ac_compile") 2>conftest.er1
7777 ac_status=$?
7778 grep -v '^ *+' conftest.er1 >conftest.err
7779 rm -f conftest.er1
7780 cat conftest.err >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && {
7783 test -z "$ac_c_werror_flag" ||
7784 test ! -s conftest.err
7785 } && test -s conftest.$ac_objext; then
7786 eval "$as_ac_Header=yes"
7787 else
7788 echo "$as_me: failed program was:" >&5
7789 sed 's/^/| /' conftest.$ac_ext >&5
7791 eval "$as_ac_Header=no"
7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7796 ac_res=`eval echo '${'$as_ac_Header'}'`
7797 { echo "$as_me:$LINENO: result: $ac_res" >&5
7798 echo "${ECHO_T}$ac_res" >&6; }
7799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7800 cat >>confdefs.h <<_ACEOF
7801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 _ACEOF
7806 done
7810 for ac_header in linux/ipx.h
7812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 else
7818 cat >conftest.$ac_ext <<_ACEOF
7819 /* confdefs.h. */
7820 _ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7824 #include <sys/types.h>
7825 #ifdef HAVE_ASM_TYPES_H
7826 # include <asm/types.h>
7827 #endif
7828 #ifdef HAVE_SYS_SOCKET_H
7829 # include <sys/socket.h>
7830 #endif
7832 #include <$ac_header>
7833 _ACEOF
7834 rm -f conftest.$ac_objext
7835 if { (ac_try="$ac_compile"
7836 case "(($ac_try" in
7837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7838 *) ac_try_echo=$ac_try;;
7839 esac
7840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7841 (eval "$ac_compile") 2>conftest.er1
7842 ac_status=$?
7843 grep -v '^ *+' conftest.er1 >conftest.err
7844 rm -f conftest.er1
7845 cat conftest.err >&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } && {
7848 test -z "$ac_c_werror_flag" ||
7849 test ! -s conftest.err
7850 } && test -s conftest.$ac_objext; then
7851 eval "$as_ac_Header=yes"
7852 else
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.$ac_ext >&5
7856 eval "$as_ac_Header=no"
7859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7861 ac_res=`eval echo '${'$as_ac_Header'}'`
7862 { echo "$as_me:$LINENO: result: $ac_res" >&5
7863 echo "${ECHO_T}$ac_res" >&6; }
7864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7865 cat >>confdefs.h <<_ACEOF
7866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7867 _ACEOF
7871 done
7875 for ac_header in resolv.h
7877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 else
7883 cat >conftest.$ac_ext <<_ACEOF
7884 /* confdefs.h. */
7885 _ACEOF
7886 cat confdefs.h >>conftest.$ac_ext
7887 cat >>conftest.$ac_ext <<_ACEOF
7888 /* end confdefs.h. */
7889 #include <sys/types.h>
7890 #ifdef HAVE_SYS_SOCKET_H
7891 # include <sys/socket.h>
7892 #endif
7893 #ifdef HAVE_NETINET_IN_H
7894 # include <netinet/in.h>
7895 #endif
7896 #ifdef HAVE_ARPA_NAMESER_H
7897 # include <arpa/nameser.h>
7898 #endif
7900 #include <$ac_header>
7901 _ACEOF
7902 rm -f conftest.$ac_objext
7903 if { (ac_try="$ac_compile"
7904 case "(($ac_try" in
7905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7906 *) ac_try_echo=$ac_try;;
7907 esac
7908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7909 (eval "$ac_compile") 2>conftest.er1
7910 ac_status=$?
7911 grep -v '^ *+' conftest.er1 >conftest.err
7912 rm -f conftest.er1
7913 cat conftest.err >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } && {
7916 test -z "$ac_c_werror_flag" ||
7917 test ! -s conftest.err
7918 } && test -s conftest.$ac_objext; then
7919 eval "$as_ac_Header=yes"
7920 else
7921 echo "$as_me: failed program was:" >&5
7922 sed 's/^/| /' conftest.$ac_ext >&5
7924 eval "$as_ac_Header=no"
7927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7929 ac_res=`eval echo '${'$as_ac_Header'}'`
7930 { echo "$as_me:$LINENO: result: $ac_res" >&5
7931 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h <<_ACEOF
7934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7935 _ACEOF
7939 done
7943 for ac_header in ucontext.h
7945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 else
7951 cat >conftest.$ac_ext <<_ACEOF
7952 /* confdefs.h. */
7953 _ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7957 #include <signal.h>
7959 #include <$ac_header>
7960 _ACEOF
7961 rm -f conftest.$ac_objext
7962 if { (ac_try="$ac_compile"
7963 case "(($ac_try" in
7964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7965 *) ac_try_echo=$ac_try;;
7966 esac
7967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7968 (eval "$ac_compile") 2>conftest.er1
7969 ac_status=$?
7970 grep -v '^ *+' conftest.er1 >conftest.err
7971 rm -f conftest.er1
7972 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } && {
7975 test -z "$ac_c_werror_flag" ||
7976 test ! -s conftest.err
7977 } && test -s conftest.$ac_objext; then
7978 eval "$as_ac_Header=yes"
7979 else
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.$ac_ext >&5
7983 eval "$as_ac_Header=no"
7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7988 ac_res=`eval echo '${'$as_ac_Header'}'`
7989 { echo "$as_me:$LINENO: result: $ac_res" >&5
7990 echo "${ECHO_T}$ac_res" >&6; }
7991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7992 cat >>confdefs.h <<_ACEOF
7993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7994 _ACEOF
7998 done
8002 for ac_header in sys/thr.h
8004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 else
8010 cat >conftest.$ac_ext <<_ACEOF
8011 /* confdefs.h. */
8012 _ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 #include <sys/types.h>
8017 #ifdef HAVE_UCONTEXT_H
8018 #include <ucontext.h>
8019 #endif
8021 #include <$ac_header>
8022 _ACEOF
8023 rm -f conftest.$ac_objext
8024 if { (ac_try="$ac_compile"
8025 case "(($ac_try" in
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8028 esac
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8031 ac_status=$?
8032 grep -v '^ *+' conftest.er1 >conftest.err
8033 rm -f conftest.er1
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8041 else
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval echo '${'$as_ac_Header'}'`
8051 { echo "$as_me:$LINENO: result: $ac_res" >&5
8052 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8056 _ACEOF
8060 done
8064 for ac_header in pthread_np.h
8066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 else
8072 cat >conftest.$ac_ext <<_ACEOF
8073 /* confdefs.h. */
8074 _ACEOF
8075 cat confdefs.h >>conftest.$ac_ext
8076 cat >>conftest.$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 #ifdef HAVE_PTHREAD_H
8079 #include <pthread.h>
8080 #endif
8082 #include <$ac_header>
8083 _ACEOF
8084 rm -f conftest.$ac_objext
8085 if { (ac_try="$ac_compile"
8086 case "(($ac_try" in
8087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8088 *) ac_try_echo=$ac_try;;
8089 esac
8090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8091 (eval "$ac_compile") 2>conftest.er1
8092 ac_status=$?
8093 grep -v '^ *+' conftest.er1 >conftest.err
8094 rm -f conftest.er1
8095 cat conftest.err >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } && {
8098 test -z "$ac_c_werror_flag" ||
8099 test ! -s conftest.err
8100 } && test -s conftest.$ac_objext; then
8101 eval "$as_ac_Header=yes"
8102 else
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8106 eval "$as_ac_Header=no"
8109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8111 ac_res=`eval echo '${'$as_ac_Header'}'`
8112 { echo "$as_me:$LINENO: result: $ac_res" >&5
8113 echo "${ECHO_T}$ac_res" >&6; }
8114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8115 cat >>confdefs.h <<_ACEOF
8116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8117 _ACEOF
8121 done
8125 for ac_header in linux/videodev.h
8127 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8128 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 else
8133 cat >conftest.$ac_ext <<_ACEOF
8134 /* confdefs.h. */
8135 _ACEOF
8136 cat confdefs.h >>conftest.$ac_ext
8137 cat >>conftest.$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8139 #ifdef HAVE_SYS_TIME_H
8140 #include <sys/time.h>
8141 #endif
8142 #include <sys/types.h>
8143 #ifdef HAVE_ASM_TYPES_H
8144 #include <asm/types.h>
8145 #endif
8147 #include <$ac_header>
8148 _ACEOF
8149 rm -f conftest.$ac_objext
8150 if { (ac_try="$ac_compile"
8151 case "(($ac_try" in
8152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8153 *) ac_try_echo=$ac_try;;
8154 esac
8155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8156 (eval "$ac_compile") 2>conftest.er1
8157 ac_status=$?
8158 grep -v '^ *+' conftest.er1 >conftest.err
8159 rm -f conftest.er1
8160 cat conftest.err >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } && {
8163 test -z "$ac_c_werror_flag" ||
8164 test ! -s conftest.err
8165 } && test -s conftest.$ac_objext; then
8166 eval "$as_ac_Header=yes"
8167 else
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8171 eval "$as_ac_Header=no"
8174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8176 ac_res=`eval echo '${'$as_ac_Header'}'`
8177 { echo "$as_me:$LINENO: result: $ac_res" >&5
8178 echo "${ECHO_T}$ac_res" >&6; }
8179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8180 cat >>confdefs.h <<_ACEOF
8181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8182 _ACEOF
8186 done
8190 for ac_header in linux/capi.h
8192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8196 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 else
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8204 #define __user
8206 #include <$ac_header>
8207 _ACEOF
8208 rm -f conftest.$ac_objext
8209 if { (ac_try="$ac_compile"
8210 case "(($ac_try" in
8211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8212 *) ac_try_echo=$ac_try;;
8213 esac
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_compile") 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } && {
8222 test -z "$ac_c_werror_flag" ||
8223 test ! -s conftest.err
8224 } && test -s conftest.$ac_objext; then
8225 eval "$as_ac_Header=yes"
8226 else
8227 echo "$as_me: failed program was:" >&5
8228 sed 's/^/| /' conftest.$ac_ext >&5
8230 eval "$as_ac_Header=no"
8233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235 ac_res=`eval echo '${'$as_ac_Header'}'`
8236 { echo "$as_me:$LINENO: result: $ac_res" >&5
8237 echo "${ECHO_T}$ac_res" >&6; }
8238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8239 cat >>confdefs.h <<_ACEOF
8240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8241 _ACEOF
8245 done
8249 DLLEXT=""
8251 DLLFLAGS="-D_REENTRANT"
8253 LDSHARED=""
8255 LDDLLFLAGS=""
8257 LIBEXT="so"
8259 IMPLIBEXT="def"
8261 LDRPATH_INSTALL=""
8263 LDRPATH_LOCAL=""
8265 # Extract the first word of "ldd", so it can be a program name with args.
8266 set dummy ldd; ac_word=$2
8267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8269 if test "${ac_cv_path_LDD+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8271 else
8272 case $LDD in
8273 [\\/]* | ?:[\\/]*)
8274 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 as_dummy="/sbin:/usr/sbin:$PATH"
8279 for as_dir in $as_dummy
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8289 done
8290 done
8291 IFS=$as_save_IFS
8293 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8295 esac
8297 LDD=$ac_cv_path_LDD
8298 if test -n "$LDD"; then
8299 { echo "$as_me:$LINENO: result: $LDD" >&5
8300 echo "${ECHO_T}$LDD" >&6; }
8301 else
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8308 case $host_os in
8309 cygwin*|mingw32*)
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8312 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8315 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 else
8318 if test -n "$DLLTOOL"; then
8319 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8320 else
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8338 DLLTOOL=$ac_cv_prog_DLLTOOL
8339 if test -n "$DLLTOOL"; then
8340 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8341 echo "${ECHO_T}$DLLTOOL" >&6; }
8342 else
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8349 if test -z "$ac_cv_prog_DLLTOOL"; then
8350 ac_ct_DLLTOOL=$DLLTOOL
8351 # Extract the first word of "dlltool", so it can be a program name with args.
8352 set dummy dlltool; ac_word=$2
8353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8355 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8358 if test -n "$ac_ct_DLLTOOL"; then
8359 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8360 else
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 for as_dir in $PATH
8364 IFS=$as_save_IFS
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 break 2
8372 done
8373 done
8374 IFS=$as_save_IFS
8378 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8379 if test -n "$ac_ct_DLLTOOL"; then
8380 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8381 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8382 else
8383 { echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6; }
8387 if test "x$ac_ct_DLLTOOL" = x; then
8388 DLLTOOL="false"
8389 else
8390 case $cross_compiling:$ac_tool_warned in
8391 yes:)
8392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8393 whose name does not start with the host triplet. If you think this
8394 configuration is useful to you, please write to autoconf@gnu.org." >&5
8395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8396 whose name does not start with the host triplet. If you think this
8397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8398 ac_tool_warned=yes ;;
8399 esac
8400 DLLTOOL=$ac_ct_DLLTOOL
8402 else
8403 DLLTOOL="$ac_cv_prog_DLLTOOL"
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8408 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8411 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 else
8414 if test -n "$DLLWRAP"; then
8415 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8416 else
8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 for as_dir in $PATH
8420 IFS=$as_save_IFS
8421 test -z "$as_dir" && as_dir=.
8422 for ac_exec_ext in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8426 break 2
8428 done
8429 done
8430 IFS=$as_save_IFS
8434 DLLWRAP=$ac_cv_prog_DLLWRAP
8435 if test -n "$DLLWRAP"; then
8436 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8437 echo "${ECHO_T}$DLLWRAP" >&6; }
8438 else
8439 { echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6; }
8445 if test -z "$ac_cv_prog_DLLWRAP"; then
8446 ac_ct_DLLWRAP=$DLLWRAP
8447 # Extract the first word of "dllwrap", so it can be a program name with args.
8448 set dummy dllwrap; ac_word=$2
8449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8451 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 else
8454 if test -n "$ac_ct_DLLWRAP"; then
8455 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8456 else
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 for as_dir in $PATH
8460 IFS=$as_save_IFS
8461 test -z "$as_dir" && as_dir=.
8462 for ac_exec_ext in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8466 break 2
8468 done
8469 done
8470 IFS=$as_save_IFS
8474 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8475 if test -n "$ac_ct_DLLWRAP"; then
8476 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8477 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8478 else
8479 { echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6; }
8483 if test "x$ac_ct_DLLWRAP" = x; then
8484 DLLWRAP="false"
8485 else
8486 case $cross_compiling:$ac_tool_warned in
8487 yes:)
8488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8489 whose name does not start with the host triplet. If you think this
8490 configuration is useful to you, please write to autoconf@gnu.org." >&5
8491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8492 whose name does not start with the host triplet. If you think this
8493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8494 ac_tool_warned=yes ;;
8495 esac
8496 DLLWRAP=$ac_ct_DLLWRAP
8498 else
8499 DLLWRAP="$ac_cv_prog_DLLWRAP"
8502 if test -n "$ac_tool_prefix"; then
8503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8504 set dummy ${ac_tool_prefix}ar; ac_word=$2
8505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8507 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8508 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 else
8510 if test -n "$MINGWAR"; then
8511 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8512 else
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 for as_dir in $PATH
8516 IFS=$as_save_IFS
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 break 2
8524 done
8525 done
8526 IFS=$as_save_IFS
8530 MINGWAR=$ac_cv_prog_MINGWAR
8531 if test -n "$MINGWAR"; then
8532 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8533 echo "${ECHO_T}$MINGWAR" >&6; }
8534 else
8535 { echo "$as_me:$LINENO: result: no" >&5
8536 echo "${ECHO_T}no" >&6; }
8541 if test -z "$ac_cv_prog_MINGWAR"; then
8542 ac_ct_MINGWAR=$MINGWAR
8543 # Extract the first word of "ar", so it can be a program name with args.
8544 set dummy ar; ac_word=$2
8545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8547 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8548 echo $ECHO_N "(cached) $ECHO_C" >&6
8549 else
8550 if test -n "$ac_ct_MINGWAR"; then
8551 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8552 else
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8554 for as_dir in $PATH
8556 IFS=$as_save_IFS
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8560 ac_cv_prog_ac_ct_MINGWAR="ar"
8561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8562 break 2
8564 done
8565 done
8566 IFS=$as_save_IFS
8570 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8571 if test -n "$ac_ct_MINGWAR"; then
8572 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8573 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8574 else
8575 { echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6; }
8579 if test "x$ac_ct_MINGWAR" = x; then
8580 MINGWAR="false"
8581 else
8582 case $cross_compiling:$ac_tool_warned in
8583 yes:)
8584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8585 whose name does not start with the host triplet. If you think this
8586 configuration is useful to you, please write to autoconf@gnu.org." >&5
8587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8588 whose name does not start with the host triplet. If you think this
8589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8590 ac_tool_warned=yes ;;
8591 esac
8592 MINGWAR=$ac_ct_MINGWAR
8594 else
8595 MINGWAR="$ac_cv_prog_MINGWAR"
8598 if test "$DLLWRAP" = "false"; then
8599 LIBEXT="a"
8600 else
8601 LIBEXT="dll"
8603 IMPLIBEXT="a"
8604 WIN16_FILES=""
8605 WIN16_INSTALL=""
8607 darwin*|macosx*)
8608 DLLEXT=".so"
8609 LIBEXT="dylib"
8610 DLLFLAGS="$DLLFLAGS -fPIC"
8611 LDDLLFLAGS="-bundle -multiply_defined suppress"
8612 LIBWINE_LDFLAGS="-multiply_defined suppress"
8613 LDSHARED="\$(CC) -dynamiclib"
8614 STRIP="$STRIP -x"
8615 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8616 SECURITYLIB="-framework Security -framework CoreFoundation"
8618 COREFOUNDATIONLIB="-framework CoreFoundation"
8620 IOKITLIB="-framework IOKit -framework CoreFoundation"
8622 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8624 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8625 then
8626 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8629 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8630 then
8631 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8634 case $host_cpu in
8635 *powerpc*)
8636 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8637 esac
8638 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8639 then
8640 CARBONLIB="-framework Carbon"
8642 QUARTZFILES='$(QUARTZFILES)'
8646 DLLFLAGS="$DLLFLAGS -fPIC"
8647 DLLEXT=".so"
8648 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8649 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8650 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8655 cat >conftest.$ac_ext <<_ACEOF
8656 void myfunc() {}
8657 _ACEOF
8658 rm -f conftest.$ac_objext conftest$ac_exeext
8659 if { (ac_try="$ac_link"
8660 case "(($ac_try" in
8661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8662 *) ac_try_echo=$ac_try;;
8663 esac
8664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8665 (eval "$ac_link") 2>conftest.er1
8666 ac_status=$?
8667 grep -v '^ *+' conftest.er1 >conftest.err
8668 rm -f conftest.er1
8669 cat conftest.err >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } && {
8672 test -z "$ac_c_werror_flag" ||
8673 test ! -s conftest.err
8674 } && test -s conftest$ac_exeext &&
8675 $as_test_x conftest$ac_exeext; then
8676 ac_cv_c_dll_gnuelf="yes"
8677 else
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8681 ac_cv_c_dll_gnuelf="no"
8684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8689 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8690 if test "$ac_cv_c_dll_gnuelf" = "yes"
8691 then
8692 LDSHARED="\$(CC) -shared"
8693 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8694 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8695 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8696 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8701 cat >conftest.$ac_ext <<_ACEOF
8702 /* confdefs.h. */
8703 _ACEOF
8704 cat confdefs.h >>conftest.$ac_ext
8705 cat >>conftest.$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8709 main ()
8713 return 0;
8715 _ACEOF
8716 rm -f conftest.$ac_objext conftest$ac_exeext
8717 if { (ac_try="$ac_link"
8718 case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8721 esac
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_link") 2>conftest.er1
8724 ac_status=$?
8725 grep -v '^ *+' conftest.er1 >conftest.err
8726 rm -f conftest.er1
8727 cat conftest.err >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); } && {
8730 test -z "$ac_c_werror_flag" ||
8731 test ! -s conftest.err
8732 } && test -s conftest$ac_exeext &&
8733 $as_test_x conftest$ac_exeext; then
8734 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8735 else
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.$ac_ext >&5
8739 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8747 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8748 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8749 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8750 else
8751 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8752 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8753 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8758 cat >conftest.$ac_ext <<_ACEOF
8759 /* confdefs.h. */
8760 _ACEOF
8761 cat confdefs.h >>conftest.$ac_ext
8762 cat >>conftest.$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8766 main ()
8770 return 0;
8772 _ACEOF
8773 rm -f conftest.$ac_objext conftest$ac_exeext
8774 if { (ac_try="$ac_link"
8775 case "(($ac_try" in
8776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8777 *) ac_try_echo=$ac_try;;
8778 esac
8779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8780 (eval "$ac_link") 2>conftest.er1
8781 ac_status=$?
8782 grep -v '^ *+' conftest.er1 >conftest.err
8783 rm -f conftest.er1
8784 cat conftest.err >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } && {
8787 test -z "$ac_c_werror_flag" ||
8788 test ! -s conftest.err
8789 } && test -s conftest$ac_exeext &&
8790 $as_test_x conftest$ac_exeext; then
8791 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8792 else
8793 echo "$as_me: failed program was:" >&5
8794 sed 's/^/| /' conftest.$ac_ext >&5
8796 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8800 conftest$ac_exeext conftest.$ac_ext
8801 CFLAGS=$ac_wine_try_cflags_saved
8803 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8804 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8805 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8806 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8812 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8813 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8814 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8819 cat >conftest.$ac_ext <<_ACEOF
8820 /* confdefs.h. */
8821 _ACEOF
8822 cat confdefs.h >>conftest.$ac_ext
8823 cat >>conftest.$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8827 main ()
8831 return 0;
8833 _ACEOF
8834 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (ac_try="$ac_link"
8836 case "(($ac_try" in
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_link") 2>conftest.er1
8842 ac_status=$?
8843 grep -v '^ *+' conftest.er1 >conftest.err
8844 rm -f conftest.er1
8845 cat conftest.err >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && {
8848 test -z "$ac_c_werror_flag" ||
8849 test ! -s conftest.err
8850 } && test -s conftest$ac_exeext &&
8851 $as_test_x conftest$ac_exeext; then
8852 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8853 else
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8865 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8866 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8867 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8871 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8872 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8873 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 else
8876 ac_wine_try_cflags_saved=$CFLAGS
8877 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8878 cat >conftest.$ac_ext <<_ACEOF
8879 /* confdefs.h. */
8880 _ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8886 main ()
8890 return 0;
8892 _ACEOF
8893 rm -f conftest.$ac_objext conftest$ac_exeext
8894 if { (ac_try="$ac_link"
8895 case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8898 esac
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_link") 2>conftest.er1
8901 ac_status=$?
8902 grep -v '^ *+' conftest.er1 >conftest.err
8903 rm -f conftest.er1
8904 cat conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); } && {
8907 test -z "$ac_c_werror_flag" ||
8908 test ! -s conftest.err
8909 } && test -s conftest$ac_exeext &&
8910 $as_test_x conftest$ac_exeext; then
8911 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8912 else
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8920 conftest$ac_exeext conftest.$ac_ext
8921 CFLAGS=$ac_wine_try_cflags_saved
8923 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8924 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8925 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8926 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8930 echo '{ global: *; };' >conftest.map
8931 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8932 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8933 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 else
8936 ac_wine_try_cflags_saved=$CFLAGS
8937 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8938 cat >conftest.$ac_ext <<_ACEOF
8939 /* confdefs.h. */
8940 _ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8946 main ()
8950 return 0;
8952 _ACEOF
8953 rm -f conftest.$ac_objext conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8955 case "(($ac_try" in
8956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8957 *) ac_try_echo=$ac_try;;
8958 esac
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960 (eval "$ac_link") 2>conftest.er1
8961 ac_status=$?
8962 grep -v '^ *+' conftest.er1 >conftest.err
8963 rm -f conftest.er1
8964 cat conftest.err >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } && {
8967 test -z "$ac_c_werror_flag" ||
8968 test ! -s conftest.err
8969 } && test -s conftest$ac_exeext &&
8970 $as_test_x conftest$ac_exeext; then
8971 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8972 else
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8980 conftest$ac_exeext conftest.$ac_ext
8981 CFLAGS=$ac_wine_try_cflags_saved
8983 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8984 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8985 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8986 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8989 rm -f conftest.map
8991 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8992 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8993 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 else
8996 ac_wine_try_cflags_saved=$CFLAGS
8997 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8998 cat >conftest.$ac_ext <<_ACEOF
8999 /* confdefs.h. */
9000 _ACEOF
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9006 main ()
9010 return 0;
9012 _ACEOF
9013 rm -f conftest.$ac_objext conftest$ac_exeext
9014 if { (ac_try="$ac_link"
9015 case "(($ac_try" in
9016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9017 *) ac_try_echo=$ac_try;;
9018 esac
9019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9020 (eval "$ac_link") 2>conftest.er1
9021 ac_status=$?
9022 grep -v '^ *+' conftest.er1 >conftest.err
9023 rm -f conftest.er1
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } && {
9027 test -z "$ac_c_werror_flag" ||
9028 test ! -s conftest.err
9029 } && test -s conftest$ac_exeext &&
9030 $as_test_x conftest$ac_exeext; then
9031 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040 conftest$ac_exeext conftest.$ac_ext
9041 CFLAGS=$ac_wine_try_cflags_saved
9043 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9044 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9045 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9046 LDEXECFLAGS="-Wl,--export-dynamic"
9051 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9052 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9053 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 else
9057 ac_wine_try_cflags_saved=$CFLAGS
9058 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9059 cat >conftest.$ac_ext <<_ACEOF
9060 /* confdefs.h. */
9061 _ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9067 main ()
9071 return 0;
9073 _ACEOF
9074 rm -f conftest.$ac_objext conftest$ac_exeext
9075 if { (ac_try="$ac_link"
9076 case "(($ac_try" in
9077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9078 *) ac_try_echo=$ac_try;;
9079 esac
9080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9081 (eval "$ac_link") 2>conftest.er1
9082 ac_status=$?
9083 grep -v '^ *+' conftest.er1 >conftest.err
9084 rm -f conftest.er1
9085 cat conftest.err >&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } && {
9088 test -z "$ac_c_werror_flag" ||
9089 test ! -s conftest.err
9090 } && test -s conftest$ac_exeext &&
9091 $as_test_x conftest$ac_exeext; then
9092 eval "$as_ac_var=yes"
9093 else
9094 echo "$as_me: failed program was:" >&5
9095 sed 's/^/| /' conftest.$ac_ext >&5
9097 eval "$as_ac_var=no"
9100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9101 conftest$ac_exeext conftest.$ac_ext
9102 CFLAGS=$ac_wine_try_cflags_saved
9104 ac_res=`eval echo '${'$as_ac_var'}'`
9105 { echo "$as_me:$LINENO: result: $ac_res" >&5
9106 echo "${ECHO_T}$ac_res" >&6; }
9107 if test `eval echo '${'$as_ac_var'}'` = yes; then
9108 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9109 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9110 else
9111 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9112 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9113 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 else
9117 ac_wine_try_cflags_saved=$CFLAGS
9118 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9119 cat >conftest.$ac_ext <<_ACEOF
9120 /* confdefs.h. */
9121 _ACEOF
9122 cat confdefs.h >>conftest.$ac_ext
9123 cat >>conftest.$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9127 main ()
9131 return 0;
9133 _ACEOF
9134 rm -f conftest.$ac_objext conftest$ac_exeext
9135 if { (ac_try="$ac_link"
9136 case "(($ac_try" in
9137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9138 *) ac_try_echo=$ac_try;;
9139 esac
9140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9141 (eval "$ac_link") 2>conftest.er1
9142 ac_status=$?
9143 grep -v '^ *+' conftest.er1 >conftest.err
9144 rm -f conftest.er1
9145 cat conftest.err >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } && {
9148 test -z "$ac_c_werror_flag" ||
9149 test ! -s conftest.err
9150 } && test -s conftest$ac_exeext &&
9151 $as_test_x conftest$ac_exeext; then
9152 eval "$as_ac_var=yes"
9153 else
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 eval "$as_ac_var=no"
9160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9161 conftest$ac_exeext conftest.$ac_ext
9162 CFLAGS=$ac_wine_try_cflags_saved
9164 ac_res=`eval echo '${'$as_ac_var'}'`
9165 { echo "$as_me:$LINENO: result: $ac_res" >&5
9166 echo "${ECHO_T}$ac_res" >&6; }
9167 if test `eval echo '${'$as_ac_var'}'` = yes; then
9168 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9169 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9175 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9176 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9177 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 else
9180 ac_wine_try_cflags_saved=$CFLAGS
9181 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9182 cat >conftest.$ac_ext <<_ACEOF
9183 /* confdefs.h. */
9184 _ACEOF
9185 cat confdefs.h >>conftest.$ac_ext
9186 cat >>conftest.$ac_ext <<_ACEOF
9187 /* end confdefs.h. */
9190 main ()
9194 return 0;
9196 _ACEOF
9197 rm -f conftest.$ac_objext conftest$ac_exeext
9198 if { (ac_try="$ac_link"
9199 case "(($ac_try" in
9200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9201 *) ac_try_echo=$ac_try;;
9202 esac
9203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9204 (eval "$ac_link") 2>conftest.er1
9205 ac_status=$?
9206 grep -v '^ *+' conftest.er1 >conftest.err
9207 rm -f conftest.er1
9208 cat conftest.err >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } && {
9211 test -z "$ac_c_werror_flag" ||
9212 test ! -s conftest.err
9213 } && test -s conftest$ac_exeext &&
9214 $as_test_x conftest$ac_exeext; then
9215 ac_cv_cflags__Wl___enable_new_dtags=yes
9216 else
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9220 ac_cv_cflags__Wl___enable_new_dtags=no
9223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9224 conftest$ac_exeext conftest.$ac_ext
9225 CFLAGS=$ac_wine_try_cflags_saved
9227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9228 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9229 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9230 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9234 case $host_cpu in
9235 *i[3456789]86* | x86_64)
9236 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9237 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9238 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 else
9241 ac_wine_try_cflags_saved=$CFLAGS
9242 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9243 cat >conftest.$ac_ext <<_ACEOF
9244 /* confdefs.h. */
9245 _ACEOF
9246 cat confdefs.h >>conftest.$ac_ext
9247 cat >>conftest.$ac_ext <<_ACEOF
9248 /* end confdefs.h. */
9251 main ()
9255 return 0;
9257 _ACEOF
9258 rm -f conftest.$ac_objext conftest$ac_exeext
9259 if { (ac_try="$ac_link"
9260 case "(($ac_try" in
9261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9262 *) ac_try_echo=$ac_try;;
9263 esac
9264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9265 (eval "$ac_link") 2>conftest.er1
9266 ac_status=$?
9267 grep -v '^ *+' conftest.er1 >conftest.err
9268 rm -f conftest.er1
9269 cat conftest.err >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); } && {
9272 test -z "$ac_c_werror_flag" ||
9273 test ! -s conftest.err
9274 } && test -s conftest$ac_exeext &&
9275 $as_test_x conftest$ac_exeext; then
9276 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9277 else
9278 echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.$ac_ext >&5
9281 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9285 conftest$ac_exeext conftest.$ac_ext
9286 CFLAGS=$ac_wine_try_cflags_saved
9288 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9289 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9290 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9291 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9295 esac
9297 else
9298 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9299 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9300 if test "${ac_cv_c_dll_unixware+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9302 else
9303 ac_wine_try_cflags_saved=$CFLAGS
9304 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9305 cat >conftest.$ac_ext <<_ACEOF
9306 void myfunc() {}
9307 _ACEOF
9308 rm -f conftest.$ac_objext conftest$ac_exeext
9309 if { (ac_try="$ac_link"
9310 case "(($ac_try" in
9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9312 *) ac_try_echo=$ac_try;;
9313 esac
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_link") 2>conftest.er1
9316 ac_status=$?
9317 grep -v '^ *+' conftest.er1 >conftest.err
9318 rm -f conftest.er1
9319 cat conftest.err >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest$ac_exeext &&
9325 $as_test_x conftest$ac_exeext; then
9326 ac_cv_c_dll_unixware="yes"
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_cv_c_dll_unixware="no"
9334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9338 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9339 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9340 if test "$ac_cv_c_dll_unixware" = "yes"
9341 then
9342 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9343 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9345 else
9346 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9347 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9348 if test "${ac_cv_c_dll_hpux+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -shared"
9353 cat >conftest.$ac_ext <<_ACEOF
9354 void myfunc() {}
9355 _ACEOF
9356 rm -f conftest.$ac_objext conftest$ac_exeext
9357 if { (ac_try="$ac_link"
9358 case "(($ac_try" in
9359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9360 *) ac_try_echo=$ac_try;;
9361 esac
9362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9363 (eval "$ac_link") 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } && {
9370 test -z "$ac_c_werror_flag" ||
9371 test ! -s conftest.err
9372 } && test -s conftest$ac_exeext &&
9373 $as_test_x conftest$ac_exeext; then
9374 ac_cv_c_dll_hpux="yes"
9375 else
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9379 ac_cv_c_dll_hpux="no"
9382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9386 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9387 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9388 if test "$ac_cv_c_dll_hpux" = "yes"
9389 then
9390 LIBEXT="sl"
9391 DLLEXT=".sl"
9392 LDDLLFLAGS="-shared -fPIC"
9393 LDSHARED="\$(CC) -shared"
9398 CROSSTEST=""
9400 if test "$cross_compiling" = "no"
9401 then
9402 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9404 # Extract the first word of "$ac_prog", so it can be a program name with args.
9405 set dummy $ac_prog; ac_word=$2
9406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9408 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 else
9411 if test -n "$CROSSCC"; then
9412 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9413 else
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 for as_dir in $PATH
9417 IFS=$as_save_IFS
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_prog_CROSSCC="$ac_prog"
9422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9423 break 2
9425 done
9426 done
9427 IFS=$as_save_IFS
9431 CROSSCC=$ac_cv_prog_CROSSCC
9432 if test -n "$CROSSCC"; then
9433 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9434 echo "${ECHO_T}$CROSSCC" >&6; }
9435 else
9436 { echo "$as_me:$LINENO: result: no" >&5
9437 echo "${ECHO_T}no" >&6; }
9441 test -n "$CROSSCC" && break
9442 done
9443 test -n "$CROSSCC" || CROSSCC="false"
9445 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9447 # Extract the first word of "$ac_prog", so it can be a program name with args.
9448 set dummy $ac_prog; ac_word=$2
9449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9451 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9453 else
9454 if test -n "$DLLTOOL"; then
9455 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9456 else
9457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9458 for as_dir in $PATH
9460 IFS=$as_save_IFS
9461 test -z "$as_dir" && as_dir=.
9462 for ac_exec_ext in '' $ac_executable_extensions; do
9463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9464 ac_cv_prog_DLLTOOL="$ac_prog"
9465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9466 break 2
9468 done
9469 done
9470 IFS=$as_save_IFS
9474 DLLTOOL=$ac_cv_prog_DLLTOOL
9475 if test -n "$DLLTOOL"; then
9476 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9477 echo "${ECHO_T}$DLLTOOL" >&6; }
9478 else
9479 { echo "$as_me:$LINENO: result: no" >&5
9480 echo "${ECHO_T}no" >&6; }
9484 test -n "$DLLTOOL" && break
9485 done
9486 test -n "$DLLTOOL" || DLLTOOL="false"
9488 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9490 # Extract the first word of "$ac_prog", so it can be a program name with args.
9491 set dummy $ac_prog; ac_word=$2
9492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9494 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 else
9497 if test -n "$CROSSWINDRES"; then
9498 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9499 else
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9501 for as_dir in $PATH
9503 IFS=$as_save_IFS
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_prog_CROSSWINDRES="$ac_prog"
9508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9509 break 2
9511 done
9512 done
9513 IFS=$as_save_IFS
9517 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9518 if test -n "$CROSSWINDRES"; then
9519 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9520 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9521 else
9522 { echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6; }
9527 test -n "$CROSSWINDRES" && break
9528 done
9529 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9531 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9533 # Extract the first word of "$ac_prog", so it can be a program name with args.
9534 set dummy $ac_prog; ac_word=$2
9535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9537 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 else
9540 if test -n "$MINGWAR"; then
9541 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9542 else
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 for as_dir in $PATH
9546 IFS=$as_save_IFS
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9550 ac_cv_prog_MINGWAR="$ac_prog"
9551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9552 break 2
9554 done
9555 done
9556 IFS=$as_save_IFS
9560 MINGWAR=$ac_cv_prog_MINGWAR
9561 if test -n "$MINGWAR"; then
9562 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9563 echo "${ECHO_T}$MINGWAR" >&6; }
9564 else
9565 { echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6; }
9570 test -n "$MINGWAR" && break
9571 done
9572 test -n "$MINGWAR" || MINGWAR="false"
9574 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9577 esac
9579 if test "$LIBEXT" = "a"; then
9580 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9581 It is currently not possible to build Wine without shared library
9582 (.so) support to allow transparent switch between .so and .dll files.
9583 If you are using Linux, you will need a newer binutils.
9584 " >&5
9585 echo "$as_me: error: could not find a way to build shared libraries.
9586 It is currently not possible to build Wine without shared library
9587 (.so) support to allow transparent switch between .so and .dll files.
9588 If you are using Linux, you will need a newer binutils.
9589 " >&2;}
9590 { (exit 1); exit 1; }; }
9594 if test "$have_x" = "yes"
9595 then
9596 XLIB="-lXext -lX11"
9597 ac_save_CPPFLAGS="$CPPFLAGS"
9598 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9600 { echo "$as_me:$LINENO: checking for -lX11" >&5
9601 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9602 if test "${ac_cv_lib_soname_X11+set}" = set; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 else
9605 ac_check_soname_save_LIBS=$LIBS
9606 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9607 cat >conftest.$ac_ext <<_ACEOF
9608 /* confdefs.h. */
9609 _ACEOF
9610 cat confdefs.h >>conftest.$ac_ext
9611 cat >>conftest.$ac_ext <<_ACEOF
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9617 #ifdef __cplusplus
9618 extern "C"
9619 #endif
9620 char XCreateWindow ();
9622 main ()
9624 return XCreateWindow ();
9626 return 0;
9628 _ACEOF
9629 rm -f conftest.$ac_objext conftest$ac_exeext
9630 if { (ac_try="$ac_link"
9631 case "(($ac_try" in
9632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9633 *) ac_try_echo=$ac_try;;
9634 esac
9635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9636 (eval "$ac_link") 2>conftest.er1
9637 ac_status=$?
9638 grep -v '^ *+' conftest.er1 >conftest.err
9639 rm -f conftest.er1
9640 cat conftest.err >&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); } && {
9643 test -z "$ac_c_werror_flag" ||
9644 test ! -s conftest.err
9645 } && test -s conftest$ac_exeext &&
9646 $as_test_x conftest$ac_exeext; then
9647 case "$LIBEXT" in
9648 dll) ;;
9649 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'` ;;
9650 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9651 esac
9652 else
9653 echo "$as_me: failed program was:" >&5
9654 sed 's/^/| /' conftest.$ac_ext >&5
9659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9660 conftest$ac_exeext conftest.$ac_ext
9661 LIBS=$ac_check_soname_save_LIBS
9663 if test "x$ac_cv_lib_soname_X11" = "x"; then
9664 { echo "$as_me:$LINENO: result: not found" >&5
9665 echo "${ECHO_T}not found" >&6; }
9667 else
9668 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9669 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9671 cat >>confdefs.h <<_ACEOF
9672 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9673 _ACEOF
9678 { echo "$as_me:$LINENO: checking for -lXext" >&5
9679 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9680 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9682 else
9683 ac_check_soname_save_LIBS=$LIBS
9684 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9685 cat >conftest.$ac_ext <<_ACEOF
9686 /* confdefs.h. */
9687 _ACEOF
9688 cat confdefs.h >>conftest.$ac_ext
9689 cat >>conftest.$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char XextCreateExtension ();
9700 main ()
9702 return XextCreateExtension ();
9704 return 0;
9706 _ACEOF
9707 rm -f conftest.$ac_objext conftest$ac_exeext
9708 if { (ac_try="$ac_link"
9709 case "(($ac_try" in
9710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9711 *) ac_try_echo=$ac_try;;
9712 esac
9713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9714 (eval "$ac_link") 2>conftest.er1
9715 ac_status=$?
9716 grep -v '^ *+' conftest.er1 >conftest.err
9717 rm -f conftest.er1
9718 cat conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } && {
9721 test -z "$ac_c_werror_flag" ||
9722 test ! -s conftest.err
9723 } && test -s conftest$ac_exeext &&
9724 $as_test_x conftest$ac_exeext; then
9725 case "$LIBEXT" in
9726 dll) ;;
9727 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'` ;;
9728 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9729 esac
9730 else
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_soname_save_LIBS
9741 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9742 { echo "$as_me:$LINENO: result: not found" >&5
9743 echo "${ECHO_T}not found" >&6; }
9745 else
9746 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9747 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9749 cat >>confdefs.h <<_ACEOF
9750 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9751 _ACEOF
9769 for ac_header in X11/Xlib.h \
9770 X11/XKBlib.h \
9771 X11/Xutil.h \
9772 X11/Xcursor/Xcursor.h \
9773 X11/extensions/shape.h \
9774 X11/extensions/XInput.h \
9775 X11/extensions/XShm.h \
9776 X11/extensions/Xcomposite.h \
9777 X11/extensions/Xinerama.h \
9778 X11/extensions/Xrandr.h \
9779 X11/extensions/Xrender.h \
9780 X11/extensions/xf86vmode.h
9782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 else
9788 cat >conftest.$ac_ext <<_ACEOF
9789 /* confdefs.h. */
9790 _ACEOF
9791 cat confdefs.h >>conftest.$ac_ext
9792 cat >>conftest.$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9794 #ifdef HAVE_X11_XLIB_H
9795 # include <X11/Xlib.h>
9796 #endif
9797 #ifdef HAVE_X11_XUTIL_H
9798 # include <X11/Xutil.h>
9799 #endif
9801 #include <$ac_header>
9802 _ACEOF
9803 rm -f conftest.$ac_objext
9804 if { (ac_try="$ac_compile"
9805 case "(($ac_try" in
9806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9807 *) ac_try_echo=$ac_try;;
9808 esac
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_compile") 2>conftest.er1
9811 ac_status=$?
9812 grep -v '^ *+' conftest.er1 >conftest.err
9813 rm -f conftest.er1
9814 cat conftest.err >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } && {
9817 test -z "$ac_c_werror_flag" ||
9818 test ! -s conftest.err
9819 } && test -s conftest.$ac_objext; then
9820 eval "$as_ac_Header=yes"
9821 else
9822 echo "$as_me: failed program was:" >&5
9823 sed 's/^/| /' conftest.$ac_ext >&5
9825 eval "$as_ac_Header=no"
9828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9830 ac_res=`eval echo '${'$as_ac_Header'}'`
9831 { echo "$as_me:$LINENO: result: $ac_res" >&5
9832 echo "${ECHO_T}$ac_res" >&6; }
9833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9834 cat >>confdefs.h <<_ACEOF
9835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9836 _ACEOF
9840 done
9843 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9844 then
9845 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9846 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9847 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 else
9850 ac_check_lib_save_LIBS=$LIBS
9851 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9852 cat >conftest.$ac_ext <<_ACEOF
9853 /* confdefs.h. */
9854 _ACEOF
9855 cat confdefs.h >>conftest.$ac_ext
9856 cat >>conftest.$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9862 #ifdef __cplusplus
9863 extern "C"
9864 #endif
9865 char XkbQueryExtension ();
9867 main ()
9869 return XkbQueryExtension ();
9871 return 0;
9873 _ACEOF
9874 rm -f conftest.$ac_objext conftest$ac_exeext
9875 if { (ac_try="$ac_link"
9876 case "(($ac_try" in
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9879 esac
9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_link") 2>conftest.er1
9882 ac_status=$?
9883 grep -v '^ *+' conftest.er1 >conftest.err
9884 rm -f conftest.er1
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } && {
9888 test -z "$ac_c_werror_flag" ||
9889 test ! -s conftest.err
9890 } && test -s conftest$ac_exeext &&
9891 $as_test_x conftest$ac_exeext; then
9892 ac_cv_lib_X11_XkbQueryExtension=yes
9893 else
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9897 ac_cv_lib_X11_XkbQueryExtension=no
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9905 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9906 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9908 cat >>confdefs.h <<\_ACEOF
9909 #define HAVE_XKB 1
9910 _ACEOF
9916 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9917 then
9918 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9919 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9920 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9923 ac_check_soname_save_LIBS=$LIBS
9924 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat >conftest.$ac_ext <<_ACEOF
9926 /* confdefs.h. */
9927 _ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XcursorImageLoadCursor ();
9940 main ()
9942 return XcursorImageLoadCursor ();
9944 return 0;
9946 _ACEOF
9947 rm -f conftest.$ac_objext conftest$ac_exeext
9948 if { (ac_try="$ac_link"
9949 case "(($ac_try" in
9950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9951 *) ac_try_echo=$ac_try;;
9952 esac
9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9955 ac_status=$?
9956 grep -v '^ *+' conftest.er1 >conftest.err
9957 rm -f conftest.er1
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest$ac_exeext &&
9964 $as_test_x conftest$ac_exeext; then
9965 case "$LIBEXT" in
9966 dll) ;;
9967 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'` ;;
9968 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9969 esac
9970 else
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.$ac_ext >&5
9977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9978 conftest$ac_exeext conftest.$ac_ext
9979 LIBS=$ac_check_soname_save_LIBS
9981 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9982 { echo "$as_me:$LINENO: result: not found" >&5
9983 echo "${ECHO_T}not found" >&6; }
9985 else
9986 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9987 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9989 cat >>confdefs.h <<_ACEOF
9990 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9991 _ACEOF
9997 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9998 case "x$with_xcursor" in
9999 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
10000 xno) ;;
10001 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
10002 This is an error since --with-xcursor was requested." >&5
10003 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
10004 This is an error since --with-xcursor was requested." >&2;}
10005 { (exit 1); exit 1; }; } ;;
10006 esac
10010 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10011 then
10012 { echo "$as_me:$LINENO: checking for -lXi" >&5
10013 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_soname_Xi+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 else
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.$ac_ext <<_ACEOF
10020 /* confdefs.h. */
10021 _ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XOpenDevice ();
10034 main ()
10036 return XOpenDevice ();
10038 return 0;
10040 _ACEOF
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (ac_try="$ac_link"
10043 case "(($ac_try" in
10044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10046 esac
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10049 ac_status=$?
10050 grep -v '^ *+' conftest.er1 >conftest.err
10051 rm -f conftest.er1
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest$ac_exeext &&
10058 $as_test_x conftest$ac_exeext; then
10059 case "$LIBEXT" in
10060 dll) ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10063 esac
10064 else
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.$ac_ext >&5
10071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10072 conftest$ac_exeext conftest.$ac_ext
10073 LIBS=$ac_check_soname_save_LIBS
10075 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10076 { echo "$as_me:$LINENO: result: not found" >&5
10077 echo "${ECHO_T}not found" >&6; }
10079 else
10080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10081 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10083 cat >>confdefs.h <<_ACEOF
10084 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10085 _ACEOF
10091 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10092 case "x$with_xinput" in
10093 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10094 xno) ;;
10095 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10096 This is an error since --with-xinput was requested." >&5
10097 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10098 This is an error since --with-xinput was requested." >&2;}
10099 { (exit 1); exit 1; }; } ;;
10100 esac
10104 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10105 then
10106 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10107 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10108 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10109 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 else
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10113 cat >conftest.$ac_ext <<_ACEOF
10114 /* confdefs.h. */
10115 _ACEOF
10116 cat confdefs.h >>conftest.$ac_ext
10117 cat >>conftest.$ac_ext <<_ACEOF
10118 /* end confdefs.h. */
10120 /* Override any GCC internal prototype to avoid an error.
10121 Use char because int might match the return type of a GCC
10122 builtin and then its argument prototype would still apply. */
10123 #ifdef __cplusplus
10124 extern "C"
10125 #endif
10126 char XShmQueryExtension ();
10128 main ()
10130 return XShmQueryExtension ();
10132 return 0;
10134 _ACEOF
10135 rm -f conftest.$ac_objext conftest$ac_exeext
10136 if { (ac_try="$ac_link"
10137 case "(($ac_try" in
10138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10139 *) ac_try_echo=$ac_try;;
10140 esac
10141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10142 (eval "$ac_link") 2>conftest.er1
10143 ac_status=$?
10144 grep -v '^ *+' conftest.er1 >conftest.err
10145 rm -f conftest.er1
10146 cat conftest.err >&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && {
10149 test -z "$ac_c_werror_flag" ||
10150 test ! -s conftest.err
10151 } && test -s conftest$ac_exeext &&
10152 $as_test_x conftest$ac_exeext; then
10153 ac_cv_lib_Xext_XShmQueryExtension=yes
10154 else
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.$ac_ext >&5
10158 ac_cv_lib_Xext_XShmQueryExtension=no
10161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10162 conftest$ac_exeext conftest.$ac_ext
10163 LIBS=$ac_check_lib_save_LIBS
10165 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10166 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10167 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10169 cat >>confdefs.h <<\_ACEOF
10170 #define HAVE_LIBXXSHM 1
10171 _ACEOF
10176 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10177 case "x$with_xshm" in
10178 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10179 xno) ;;
10180 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10181 This is an error since --with-xshm was requested." >&5
10182 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10183 This is an error since --with-xshm was requested." >&2;}
10184 { (exit 1); exit 1; }; } ;;
10185 esac
10189 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10190 then
10191 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10192 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10193 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 else
10196 ac_check_lib_save_LIBS=$LIBS
10197 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10198 cat >conftest.$ac_ext <<_ACEOF
10199 /* confdefs.h. */
10200 _ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10208 #ifdef __cplusplus
10209 extern "C"
10210 #endif
10211 char XShapeQueryExtension ();
10213 main ()
10215 return XShapeQueryExtension ();
10217 return 0;
10219 _ACEOF
10220 rm -f conftest.$ac_objext conftest$ac_exeext
10221 if { (ac_try="$ac_link"
10222 case "(($ac_try" in
10223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10224 *) ac_try_echo=$ac_try;;
10225 esac
10226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10227 (eval "$ac_link") 2>conftest.er1
10228 ac_status=$?
10229 grep -v '^ *+' conftest.er1 >conftest.err
10230 rm -f conftest.er1
10231 cat conftest.err >&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } && {
10234 test -z "$ac_c_werror_flag" ||
10235 test ! -s conftest.err
10236 } && test -s conftest$ac_exeext &&
10237 $as_test_x conftest$ac_exeext; then
10238 ac_cv_lib_Xext_XShapeQueryExtension=yes
10239 else
10240 echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10243 ac_cv_lib_Xext_XShapeQueryExtension=no
10246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10251 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10252 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10254 cat >>confdefs.h <<\_ACEOF
10255 #define HAVE_LIBXSHAPE 1
10256 _ACEOF
10261 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10262 case "x$with_xshape" in
10263 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10264 xno) ;;
10265 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10266 This is an error since --with-xshape was requested." >&5
10267 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10268 This is an error since --with-xshape was requested." >&2;}
10269 { (exit 1); exit 1; }; } ;;
10270 esac
10274 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10275 then
10276 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10277 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10278 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 else
10281 ac_check_soname_save_LIBS=$LIBS
10282 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10283 cat >conftest.$ac_ext <<_ACEOF
10284 /* confdefs.h. */
10285 _ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char XF86VidModeQueryExtension ();
10298 main ()
10300 return XF86VidModeQueryExtension ();
10302 return 0;
10304 _ACEOF
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (ac_try="$ac_link"
10307 case "(($ac_try" in
10308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10309 *) ac_try_echo=$ac_try;;
10310 esac
10311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10312 (eval "$ac_link") 2>conftest.er1
10313 ac_status=$?
10314 grep -v '^ *+' conftest.er1 >conftest.err
10315 rm -f conftest.er1
10316 cat conftest.err >&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } && {
10319 test -z "$ac_c_werror_flag" ||
10320 test ! -s conftest.err
10321 } && test -s conftest$ac_exeext &&
10322 $as_test_x conftest$ac_exeext; then
10323 case "$LIBEXT" in
10324 dll) ;;
10325 dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10326 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10327 esac
10328 else
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.$ac_ext >&5
10335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_soname_save_LIBS
10339 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10340 { echo "$as_me:$LINENO: result: not found" >&5
10341 echo "${ECHO_T}not found" >&6; }
10343 else
10344 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10345 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10347 cat >>confdefs.h <<_ACEOF
10348 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10349 _ACEOF
10355 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10356 case "x$with_xxf86vm" in
10357 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10358 xno) ;;
10359 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10360 This is an error since --with-xxf86vm was requested." >&5
10361 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10362 This is an error since --with-xxf86vm was requested." >&2;}
10363 { (exit 1); exit 1; }; } ;;
10364 esac
10368 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"
10369 then
10370 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10371 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10372 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10374 else
10375 ac_check_soname_save_LIBS=$LIBS
10376 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 char XRenderQueryExtension ();
10392 main ()
10394 return XRenderQueryExtension ();
10396 return 0;
10398 _ACEOF
10399 rm -f conftest.$ac_objext conftest$ac_exeext
10400 if { (ac_try="$ac_link"
10401 case "(($ac_try" in
10402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10403 *) ac_try_echo=$ac_try;;
10404 esac
10405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10406 (eval "$ac_link") 2>conftest.er1
10407 ac_status=$?
10408 grep -v '^ *+' conftest.er1 >conftest.err
10409 rm -f conftest.er1
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } && {
10413 test -z "$ac_c_werror_flag" ||
10414 test ! -s conftest.err
10415 } && test -s conftest$ac_exeext &&
10416 $as_test_x conftest$ac_exeext; then
10417 case "$LIBEXT" in
10418 dll) ;;
10419 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'` ;;
10420 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10421 esac
10422 else
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_soname_save_LIBS
10433 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10434 { echo "$as_me:$LINENO: result: not found" >&5
10435 echo "${ECHO_T}not found" >&6; }
10437 else
10438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10439 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10441 cat >>confdefs.h <<_ACEOF
10442 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10443 _ACEOF
10445 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10446 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10447 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450 ac_check_lib_save_LIBS=$LIBS
10451 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10452 cat >conftest.$ac_ext <<_ACEOF
10453 /* confdefs.h. */
10454 _ACEOF
10455 cat confdefs.h >>conftest.$ac_ext
10456 cat >>conftest.$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char XRenderSetPictureTransform ();
10467 main ()
10469 return XRenderSetPictureTransform ();
10471 return 0;
10473 _ACEOF
10474 rm -f conftest.$ac_objext conftest$ac_exeext
10475 if { (ac_try="$ac_link"
10476 case "(($ac_try" in
10477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10478 *) ac_try_echo=$ac_try;;
10479 esac
10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10481 (eval "$ac_link") 2>conftest.er1
10482 ac_status=$?
10483 grep -v '^ *+' conftest.er1 >conftest.err
10484 rm -f conftest.er1
10485 cat conftest.err >&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && {
10488 test -z "$ac_c_werror_flag" ||
10489 test ! -s conftest.err
10490 } && test -s conftest$ac_exeext &&
10491 $as_test_x conftest$ac_exeext; then
10492 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10493 else
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.$ac_ext >&5
10497 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10505 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10506 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10508 cat >>confdefs.h <<\_ACEOF
10509 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10510 _ACEOF
10518 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10519 case "x$with_xrender" in
10520 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10521 xno) ;;
10522 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10523 This is an error since --with-xrender was requested." >&5
10524 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10525 This is an error since --with-xrender was requested." >&2;}
10526 { (exit 1); exit 1; }; } ;;
10527 esac
10531 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10532 then
10533 cat >conftest.$ac_ext <<_ACEOF
10534 /* confdefs.h. */
10535 _ACEOF
10536 cat confdefs.h >>conftest.$ac_ext
10537 cat >>conftest.$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10539 #include <X11/Xlib.h>
10540 #include <X11/extensions/Xrandr.h>
10542 main ()
10544 static typeof(XRRSetScreenConfigAndRate) * func;
10546 return 0;
10548 _ACEOF
10549 rm -f conftest.$ac_objext
10550 if { (ac_try="$ac_compile"
10551 case "(($ac_try" in
10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10554 esac
10555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_compile") 2>conftest.er1
10557 ac_status=$?
10558 grep -v '^ *+' conftest.er1 >conftest.err
10559 rm -f conftest.er1
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest.$ac_objext; then
10566 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10567 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10568 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10573 cat >conftest.$ac_ext <<_ACEOF
10574 /* confdefs.h. */
10575 _ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10583 #ifdef __cplusplus
10584 extern "C"
10585 #endif
10586 char XRRQueryExtension ();
10588 main ()
10590 return XRRQueryExtension ();
10592 return 0;
10594 _ACEOF
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (ac_try="$ac_link"
10597 case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;;
10600 esac
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_link") 2>conftest.er1
10603 ac_status=$?
10604 grep -v '^ *+' conftest.er1 >conftest.err
10605 rm -f conftest.er1
10606 cat conftest.err >&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err
10611 } && test -s conftest$ac_exeext &&
10612 $as_test_x conftest$ac_exeext; then
10613 case "$LIBEXT" in
10614 dll) ;;
10615 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'` ;;
10616 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10617 esac
10618 else
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10626 conftest$ac_exeext conftest.$ac_ext
10627 LIBS=$ac_check_soname_save_LIBS
10629 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10630 { echo "$as_me:$LINENO: result: not found" >&5
10631 echo "${ECHO_T}not found" >&6; }
10633 else
10634 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10635 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10637 cat >>confdefs.h <<_ACEOF
10638 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10639 _ACEOF
10644 else
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10653 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10654 case "x$with_xrandr" in
10655 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10656 xno) ;;
10657 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10658 This is an error since --with-xrandr was requested." >&5
10659 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10660 This is an error since --with-xrandr was requested." >&2;}
10661 { (exit 1); exit 1; }; } ;;
10662 esac
10666 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10667 then
10668 cat >conftest.$ac_ext <<_ACEOF
10669 /* confdefs.h. */
10670 _ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674 #include <X11/Xlib.h>
10675 #include <X11/extensions/Xinerama.h>
10677 main ()
10679 static typeof(XineramaQueryScreens) * func;
10681 return 0;
10683 _ACEOF
10684 rm -f conftest.$ac_objext
10685 if { (ac_try="$ac_compile"
10686 case "(($ac_try" in
10687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10688 *) ac_try_echo=$ac_try;;
10689 esac
10690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10691 (eval "$ac_compile") 2>conftest.er1
10692 ac_status=$?
10693 grep -v '^ *+' conftest.er1 >conftest.err
10694 rm -f conftest.er1
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } && {
10698 test -z "$ac_c_werror_flag" ||
10699 test ! -s conftest.err
10700 } && test -s conftest.$ac_objext; then
10701 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10702 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 else
10706 ac_check_soname_save_LIBS=$LIBS
10707 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char XineramaQueryScreens ();
10723 main ()
10725 return XineramaQueryScreens ();
10727 return 0;
10729 _ACEOF
10730 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (ac_try="$ac_link"
10732 case "(($ac_try" in
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10735 esac
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10738 ac_status=$?
10739 grep -v '^ *+' conftest.er1 >conftest.err
10740 rm -f conftest.er1
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest$ac_exeext &&
10747 $as_test_x conftest$ac_exeext; then
10748 case "$LIBEXT" in
10749 dll) ;;
10750 dylib) ac_cv_lib_soname_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'` ;;
10751 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10752 esac
10753 else
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_soname_save_LIBS
10764 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10765 { echo "$as_me:$LINENO: result: not found" >&5
10766 echo "${ECHO_T}not found" >&6; }
10768 else
10769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10770 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10772 cat >>confdefs.h <<_ACEOF
10773 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10774 _ACEOF
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10788 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10789 case "x$with_xinerama" in
10790 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10791 xno) ;;
10792 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10793 This is an error since --with-xinerama was requested." >&5
10794 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10795 This is an error since --with-xinerama was requested." >&2;}
10796 { (exit 1); exit 1; }; } ;;
10797 esac
10801 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10802 then
10803 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10804 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10805 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 else
10808 ac_check_soname_save_LIBS=$LIBS
10809 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10810 cat >conftest.$ac_ext <<_ACEOF
10811 /* confdefs.h. */
10812 _ACEOF
10813 cat confdefs.h >>conftest.$ac_ext
10814 cat >>conftest.$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10820 #ifdef __cplusplus
10821 extern "C"
10822 #endif
10823 char XCompositeRedirectWindow ();
10825 main ()
10827 return XCompositeRedirectWindow ();
10829 return 0;
10831 _ACEOF
10832 rm -f conftest.$ac_objext conftest$ac_exeext
10833 if { (ac_try="$ac_link"
10834 case "(($ac_try" in
10835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10837 esac
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_link") 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext &&
10849 $as_test_x conftest$ac_exeext; then
10850 case "$LIBEXT" in
10851 dll) ;;
10852 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'` ;;
10853 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10854 esac
10855 else
10856 echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_soname_save_LIBS
10866 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10867 { echo "$as_me:$LINENO: result: not found" >&5
10868 echo "${ECHO_T}not found" >&6; }
10870 else
10871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10872 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10874 cat >>confdefs.h <<_ACEOF
10875 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10876 _ACEOF
10882 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10883 case "x$with_xcomposite" in
10884 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10885 xno) ;;
10886 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10887 This is an error since --with-xcomposite was requested." >&5
10888 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10889 This is an error since --with-xcomposite was requested." >&2;}
10890 { (exit 1); exit 1; }; } ;;
10891 esac
10895 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10896 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10897 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 else
10900 cat >conftest.$ac_ext <<_ACEOF
10901 /* confdefs.h. */
10902 _ACEOF
10903 cat confdefs.h >>conftest.$ac_ext
10904 cat >>conftest.$ac_ext <<_ACEOF
10905 /* end confdefs.h. */
10906 #ifdef HAVE_X11_XLIB_H
10907 #include <X11/Xlib.h>
10908 #endif
10911 main ()
10913 static XICCallback ac_aggr;
10914 if (ac_aggr.callback)
10915 return 0;
10917 return 0;
10919 _ACEOF
10920 rm -f conftest.$ac_objext
10921 if { (ac_try="$ac_compile"
10922 case "(($ac_try" in
10923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10924 *) ac_try_echo=$ac_try;;
10925 esac
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.$ac_objext; then
10937 ac_cv_member_XICCallback_callback=yes
10938 else
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.$ac_ext >&5
10942 cat >conftest.$ac_ext <<_ACEOF
10943 /* confdefs.h. */
10944 _ACEOF
10945 cat confdefs.h >>conftest.$ac_ext
10946 cat >>conftest.$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #ifdef HAVE_X11_XLIB_H
10949 #include <X11/Xlib.h>
10950 #endif
10953 main ()
10955 static XICCallback ac_aggr;
10956 if (sizeof ac_aggr.callback)
10957 return 0;
10959 return 0;
10961 _ACEOF
10962 rm -f conftest.$ac_objext
10963 if { (ac_try="$ac_compile"
10964 case "(($ac_try" in
10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10967 esac
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_compile") 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest.$ac_objext; then
10979 ac_cv_member_XICCallback_callback=yes
10980 else
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10984 ac_cv_member_XICCallback_callback=no
10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10992 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10993 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10994 if test $ac_cv_member_XICCallback_callback = yes; then
10996 cat >>confdefs.h <<_ACEOF
10997 #define HAVE_XICCALLBACK_CALLBACK 1
10998 _ACEOF
11005 opengl_msg=""
11006 if test "x$with_opengl" != "xno"
11007 then
11012 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 else
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #ifdef HAVE_GL_GLX_H
11027 # include <GL/glx.h>
11028 #endif
11030 #include <$ac_header>
11031 _ACEOF
11032 rm -f conftest.$ac_objext
11033 if { (ac_try="$ac_compile"
11034 case "(($ac_try" in
11035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036 *) ac_try_echo=$ac_try;;
11037 esac
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039 (eval "$ac_compile") 2>conftest.er1
11040 ac_status=$?
11041 grep -v '^ *+' conftest.er1 >conftest.err
11042 rm -f conftest.er1
11043 cat conftest.err >&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } && {
11046 test -z "$ac_c_werror_flag" ||
11047 test ! -s conftest.err
11048 } && test -s conftest.$ac_objext; then
11049 eval "$as_ac_Header=yes"
11050 else
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.$ac_ext >&5
11054 eval "$as_ac_Header=no"
11057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11059 ac_res=`eval echo '${'$as_ac_Header'}'`
11060 { echo "$as_me:$LINENO: result: $ac_res" >&5
11061 echo "${ECHO_T}$ac_res" >&6; }
11062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11063 cat >>confdefs.h <<_ACEOF
11064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11065 _ACEOF
11069 done
11071 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11072 then
11073 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11074 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11075 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 else
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 #include <GL/gl.h>
11086 main ()
11088 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11090 return 0;
11092 _ACEOF
11093 rm -f conftest.$ac_objext
11094 if { (ac_try="$ac_compile"
11095 case "(($ac_try" in
11096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11097 *) ac_try_echo=$ac_try;;
11098 esac
11099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11100 (eval "$ac_compile") 2>conftest.er1
11101 ac_status=$?
11102 grep -v '^ *+' conftest.er1 >conftest.err
11103 rm -f conftest.er1
11104 cat conftest.err >&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); } && {
11107 test -z "$ac_c_werror_flag" ||
11108 test ! -s conftest.err
11109 } && test -s conftest.$ac_objext; then
11110 wine_cv_opengl_header_version_OK="yes"
11111 else
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11115 wine_cv_opengl_header_version_OK="no"
11118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11120 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11121 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11123 if test "$wine_cv_opengl_header_version_OK" = "yes"
11124 then
11125 { echo "$as_me:$LINENO: checking for -lGL" >&5
11126 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11127 if test "${ac_cv_lib_soname_GL+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 else
11130 ac_check_soname_save_LIBS=$LIBS
11131 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11132 cat >conftest.$ac_ext <<_ACEOF
11133 /* confdefs.h. */
11134 _ACEOF
11135 cat confdefs.h >>conftest.$ac_ext
11136 cat >>conftest.$ac_ext <<_ACEOF
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char glXCreateContext ();
11147 main ()
11149 return glXCreateContext ();
11151 return 0;
11153 _ACEOF
11154 rm -f conftest.$ac_objext conftest$ac_exeext
11155 if { (ac_try="$ac_link"
11156 case "(($ac_try" in
11157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11158 *) ac_try_echo=$ac_try;;
11159 esac
11160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11161 (eval "$ac_link") 2>conftest.er1
11162 ac_status=$?
11163 grep -v '^ *+' conftest.er1 >conftest.err
11164 rm -f conftest.er1
11165 cat conftest.err >&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); } && {
11168 test -z "$ac_c_werror_flag" ||
11169 test ! -s conftest.err
11170 } && test -s conftest$ac_exeext &&
11171 $as_test_x conftest$ac_exeext; then
11172 case "$LIBEXT" in
11173 dll) ;;
11174 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'` ;;
11175 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11176 esac
11177 else
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.$ac_ext >&5
11184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_soname_save_LIBS
11188 if test "x$ac_cv_lib_soname_GL" = "x"; then
11189 { echo "$as_me:$LINENO: result: not found" >&5
11190 echo "${ECHO_T}not found" >&6; }
11191 { echo "$as_me:$LINENO: checking for -lGL" >&5
11192 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11193 if test "${ac_cv_lib_soname_GL+set}" = set; then
11194 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 else
11196 ac_check_soname_save_LIBS=$LIBS
11197 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"
11198 cat >conftest.$ac_ext <<_ACEOF
11199 /* confdefs.h. */
11200 _ACEOF
11201 cat confdefs.h >>conftest.$ac_ext
11202 cat >>conftest.$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char glXCreateContext ();
11213 main ()
11215 return glXCreateContext ();
11217 return 0;
11219 _ACEOF
11220 rm -f conftest.$ac_objext conftest$ac_exeext
11221 if { (ac_try="$ac_link"
11222 case "(($ac_try" in
11223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11224 *) ac_try_echo=$ac_try;;
11225 esac
11226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11227 (eval "$ac_link") 2>conftest.er1
11228 ac_status=$?
11229 grep -v '^ *+' conftest.er1 >conftest.err
11230 rm -f conftest.er1
11231 cat conftest.err >&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } && {
11234 test -z "$ac_c_werror_flag" ||
11235 test ! -s conftest.err
11236 } && test -s conftest$ac_exeext &&
11237 $as_test_x conftest$ac_exeext; then
11238 case "$LIBEXT" in
11239 dll) ;;
11240 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'` ;;
11241 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11242 esac
11243 else
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_soname_save_LIBS
11254 if test "x$ac_cv_lib_soname_GL" = "x"; then
11255 { echo "$as_me:$LINENO: result: not found" >&5
11256 echo "${ECHO_T}not found" >&6; }
11257 if test -f /usr/X11R6/lib/libGL.a
11258 then
11259 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11260 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11261 else
11262 opengl_msg="No OpenGL library found on this system."
11264 else
11265 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11266 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11268 cat >>confdefs.h <<_ACEOF
11269 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11270 _ACEOF
11272 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"
11273 OPENGLFILES='$(OPENGLFILES)'
11275 cat >>confdefs.h <<\_ACEOF
11276 #define HAVE_OPENGL 1
11277 _ACEOF
11281 else
11282 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11283 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11285 cat >>confdefs.h <<_ACEOF
11286 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11287 _ACEOF
11289 OPENGL_LIBS="-lGL"
11290 OPENGLFILES='$(OPENGLFILES)'
11292 cat >>confdefs.h <<\_ACEOF
11293 #define HAVE_OPENGL 1
11294 _ACEOF
11298 if test "$ac_cv_header_GL_glu_h" = "yes"
11299 then
11300 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11301 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11302 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 else
11305 ac_check_soname_save_LIBS=$LIBS
11306 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11307 cat >conftest.$ac_ext <<_ACEOF
11308 /* confdefs.h. */
11309 _ACEOF
11310 cat confdefs.h >>conftest.$ac_ext
11311 cat >>conftest.$ac_ext <<_ACEOF
11312 /* end confdefs.h. */
11314 /* Override any GCC internal prototype to avoid an error.
11315 Use char because int might match the return type of a GCC
11316 builtin and then its argument prototype would still apply. */
11317 #ifdef __cplusplus
11318 extern "C"
11319 #endif
11320 char gluLookAt ();
11322 main ()
11324 return gluLookAt ();
11326 return 0;
11328 _ACEOF
11329 rm -f conftest.$ac_objext conftest$ac_exeext
11330 if { (ac_try="$ac_link"
11331 case "(($ac_try" in
11332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11333 *) ac_try_echo=$ac_try;;
11334 esac
11335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11336 (eval "$ac_link") 2>conftest.er1
11337 ac_status=$?
11338 grep -v '^ *+' conftest.er1 >conftest.err
11339 rm -f conftest.er1
11340 cat conftest.err >&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } && {
11343 test -z "$ac_c_werror_flag" ||
11344 test ! -s conftest.err
11345 } && test -s conftest$ac_exeext &&
11346 $as_test_x conftest$ac_exeext; then
11347 case "$LIBEXT" in
11348 dll) ;;
11349 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11350 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11351 esac
11352 else
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.$ac_ext >&5
11359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_soname_save_LIBS
11363 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11364 { echo "$as_me:$LINENO: result: not found" >&5
11365 echo "${ECHO_T}not found" >&6; }
11367 else
11368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11369 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11371 cat >>confdefs.h <<_ACEOF
11372 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11373 _ACEOF
11375 GLU32FILES='$(GLU32FILES)'
11379 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11380 case "x$with_glu" in
11381 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11382 xno) ;;
11383 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11384 This is an error since --with-glu was requested." >&5
11385 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11386 This is an error since --with-glu was requested." >&2;}
11387 { (exit 1); exit 1; }; } ;;
11388 esac
11391 else
11392 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11394 else
11395 opengl_msg="OpenGL development headers not found."
11398 if test -n "$opengl_msg"; then
11399 case "x$with_opengl" in
11400 x) wine_warnings="$wine_warnings|$opengl_msg
11401 OpenGL and Direct3D won't be supported." ;;
11402 xno) ;;
11403 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11404 OpenGL and Direct3D won't be supported.
11405 This is an error since --with-opengl was requested." >&5
11406 echo "$as_me: error: $opengl_msg
11407 OpenGL and Direct3D won't be supported.
11408 This is an error since --with-opengl was requested." >&2;}
11409 { (exit 1); exit 1; }; } ;;
11410 esac
11414 NASLIBS=""
11417 for ac_header in audio/audiolib.h
11419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 ac_res=`eval echo '${'$as_ac_Header'}'`
11427 { echo "$as_me:$LINENO: result: $ac_res" >&5
11428 echo "${ECHO_T}$ac_res" >&6; }
11429 else
11430 # Is the header compilable?
11431 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11432 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
11440 #include <$ac_header>
11441 _ACEOF
11442 rm -f conftest.$ac_objext
11443 if { (ac_try="$ac_compile"
11444 case "(($ac_try" in
11445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11447 esac
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_compile") 2>conftest.er1
11450 ac_status=$?
11451 grep -v '^ *+' conftest.er1 >conftest.err
11452 rm -f conftest.er1
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } && {
11456 test -z "$ac_c_werror_flag" ||
11457 test ! -s conftest.err
11458 } && test -s conftest.$ac_objext; then
11459 ac_header_compiler=yes
11460 else
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_header_compiler=no
11467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11468 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11469 echo "${ECHO_T}$ac_header_compiler" >&6; }
11471 # Is the header present?
11472 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11474 cat >conftest.$ac_ext <<_ACEOF
11475 /* confdefs.h. */
11476 _ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11480 #include <$ac_header>
11481 _ACEOF
11482 if { (ac_try="$ac_cpp conftest.$ac_ext"
11483 case "(($ac_try" in
11484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11485 *) ac_try_echo=$ac_try;;
11486 esac
11487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11489 ac_status=$?
11490 grep -v '^ *+' conftest.er1 >conftest.err
11491 rm -f conftest.er1
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } >/dev/null && {
11495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11496 test ! -s conftest.err
11497 }; then
11498 ac_header_preproc=yes
11499 else
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11503 ac_header_preproc=no
11506 rm -f conftest.err conftest.$ac_ext
11507 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11508 echo "${ECHO_T}$ac_header_preproc" >&6; }
11510 # So? What about this header?
11511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11512 yes:no: )
11513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11517 ac_header_preproc=yes
11519 no:yes:* )
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11532 ( cat <<\_ASBOX
11533 ## ------------------------------------ ##
11534 ## Report this to wine-devel@winehq.org ##
11535 ## ------------------------------------ ##
11536 _ASBOX
11537 ) | sed "s/^/$as_me: WARNING: /" >&2
11539 esac
11540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 else
11545 eval "$as_ac_Header=\$ac_header_preproc"
11547 ac_res=`eval echo '${'$as_ac_Header'}'`
11548 { echo "$as_me:$LINENO: result: $ac_res" >&5
11549 echo "${ECHO_T}$ac_res" >&6; }
11552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11553 cat >>confdefs.h <<_ACEOF
11554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11555 _ACEOF
11557 for ac_header in audio/soundlib.h
11559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 else
11565 cat >conftest.$ac_ext <<_ACEOF
11566 /* confdefs.h. */
11567 _ACEOF
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11571 #include <audio/audiolib.h>
11573 #include <$ac_header>
11574 _ACEOF
11575 rm -f conftest.$ac_objext
11576 if { (ac_try="$ac_compile"
11577 case "(($ac_try" in
11578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11580 esac
11581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_compile") 2>conftest.er1
11583 ac_status=$?
11584 grep -v '^ *+' conftest.er1 >conftest.err
11585 rm -f conftest.er1
11586 cat conftest.err >&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } && {
11589 test -z "$ac_c_werror_flag" ||
11590 test ! -s conftest.err
11591 } && test -s conftest.$ac_objext; then
11592 eval "$as_ac_Header=yes"
11593 else
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11597 eval "$as_ac_Header=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11602 ac_res=`eval echo '${'$as_ac_Header'}'`
11603 { echo "$as_me:$LINENO: result: $ac_res" >&5
11604 echo "${ECHO_T}$ac_res" >&6; }
11605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11606 cat >>confdefs.h <<_ACEOF
11607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11608 _ACEOF
11612 done
11614 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11615 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11616 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 else
11619 ac_check_lib_save_LIBS=$LIBS
11620 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11621 cat >conftest.$ac_ext <<_ACEOF
11622 /* confdefs.h. */
11623 _ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char AuCreateFlow ();
11636 main ()
11638 return AuCreateFlow ();
11640 return 0;
11642 _ACEOF
11643 rm -f conftest.$ac_objext conftest$ac_exeext
11644 if { (ac_try="$ac_link"
11645 case "(($ac_try" in
11646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11647 *) ac_try_echo=$ac_try;;
11648 esac
11649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11650 (eval "$ac_link") 2>conftest.er1
11651 ac_status=$?
11652 grep -v '^ *+' conftest.er1 >conftest.err
11653 rm -f conftest.er1
11654 cat conftest.err >&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } && {
11657 test -z "$ac_c_werror_flag" ||
11658 test ! -s conftest.err
11659 } && test -s conftest$ac_exeext &&
11660 $as_test_x conftest$ac_exeext; then
11661 ac_cv_lib_audio_AuCreateFlow=yes
11662 else
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 ac_cv_lib_audio_AuCreateFlow=no
11669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LIBS=$ac_check_lib_save_LIBS
11673 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11674 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11675 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11677 cat >>confdefs.h <<\_ACEOF
11678 #define HAVE_NAS 1
11679 _ACEOF
11681 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11682 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11683 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11685 else
11686 ac_check_lib_save_LIBS=$LIBS
11687 LIBS="-lXau $X_LIBS $LIBS"
11688 cat >conftest.$ac_ext <<_ACEOF
11689 /* confdefs.h. */
11690 _ACEOF
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char XauGetBestAuthByAddr ();
11703 main ()
11705 return XauGetBestAuthByAddr ();
11707 return 0;
11709 _ACEOF
11710 rm -f conftest.$ac_objext conftest$ac_exeext
11711 if { (ac_try="$ac_link"
11712 case "(($ac_try" in
11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11715 esac
11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>conftest.er1
11718 ac_status=$?
11719 grep -v '^ *+' conftest.er1 >conftest.err
11720 rm -f conftest.er1
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } && {
11724 test -z "$ac_c_werror_flag" ||
11725 test ! -s conftest.err
11726 } && test -s conftest$ac_exeext &&
11727 $as_test_x conftest$ac_exeext; then
11728 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11741 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11742 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11743 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11744 else
11745 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11753 done
11756 CPPFLAGS="$ac_save_CPPFLAGS"
11757 XFILES='$(XFILES)'
11758 else
11759 XLIB=""
11760 X_CFLAGS=""
11761 X_LIBS=""
11763 if test "x$XLIB" = "x"; then
11764 case "x$with_x" in
11765 xno) ;;
11766 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11767 without X support, which probably isn't what you want. You will need to install
11768 development packages of Xlib/Xfree86 at the very least.
11769 Use the --without-x option if you really want this." >&5
11770 echo "$as_me: error: X development files not found. Wine will be built
11771 without X support, which probably isn't what you want. You will need to install
11772 development packages of Xlib/Xfree86 at the very least.
11773 Use the --without-x option if you really want this." >&2;}
11774 { (exit 1); exit 1; }; } ;;
11775 esac
11780 XML2LIBS=""
11782 XML2INCL=""
11784 XSLTLIBS=""
11786 XSLTINCL=""
11788 if test "x$with_xml" != "xno"
11789 then
11790 ac_save_CPPFLAGS="$CPPFLAGS"
11791 if test "$PKG_CONFIG" != "false"
11792 then
11793 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11794 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11795 else
11796 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11797 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11799 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11801 for ac_header in libxml/parser.h
11803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_res=`eval echo '${'$as_ac_Header'}'`
11811 { echo "$as_me:$LINENO: result: $ac_res" >&5
11812 echo "${ECHO_T}$ac_res" >&6; }
11813 else
11814 # Is the header compilable?
11815 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11817 cat >conftest.$ac_ext <<_ACEOF
11818 /* confdefs.h. */
11819 _ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 $ac_includes_default
11824 #include <$ac_header>
11825 _ACEOF
11826 rm -f conftest.$ac_objext
11827 if { (ac_try="$ac_compile"
11828 case "(($ac_try" in
11829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11830 *) ac_try_echo=$ac_try;;
11831 esac
11832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11833 (eval "$ac_compile") 2>conftest.er1
11834 ac_status=$?
11835 grep -v '^ *+' conftest.er1 >conftest.err
11836 rm -f conftest.er1
11837 cat conftest.err >&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && {
11840 test -z "$ac_c_werror_flag" ||
11841 test ! -s conftest.err
11842 } && test -s conftest.$ac_objext; then
11843 ac_header_compiler=yes
11844 else
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.$ac_ext >&5
11848 ac_header_compiler=no
11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11853 echo "${ECHO_T}$ac_header_compiler" >&6; }
11855 # Is the header present?
11856 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11858 cat >conftest.$ac_ext <<_ACEOF
11859 /* confdefs.h. */
11860 _ACEOF
11861 cat confdefs.h >>conftest.$ac_ext
11862 cat >>conftest.$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 #include <$ac_header>
11865 _ACEOF
11866 if { (ac_try="$ac_cpp conftest.$ac_ext"
11867 case "(($ac_try" in
11868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11869 *) ac_try_echo=$ac_try;;
11870 esac
11871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } >/dev/null && {
11879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11880 test ! -s conftest.err
11881 }; then
11882 ac_header_preproc=yes
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11887 ac_header_preproc=no
11890 rm -f conftest.err conftest.$ac_ext
11891 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11892 echo "${ECHO_T}$ac_header_preproc" >&6; }
11894 # So? What about this header?
11895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11896 yes:no: )
11897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11900 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11901 ac_header_preproc=yes
11903 no:yes:* )
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11909 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11911 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11915 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11916 ( cat <<\_ASBOX
11917 ## ------------------------------------ ##
11918 ## Report this to wine-devel@winehq.org ##
11919 ## ------------------------------------ ##
11920 _ASBOX
11921 ) | sed "s/^/$as_me: WARNING: /" >&2
11923 esac
11924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 else
11929 eval "$as_ac_Header=\$ac_header_preproc"
11931 ac_res=`eval echo '${'$as_ac_Header'}'`
11932 { echo "$as_me:$LINENO: result: $ac_res" >&5
11933 echo "${ECHO_T}$ac_res" >&6; }
11936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11937 cat >>confdefs.h <<_ACEOF
11938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11939 _ACEOF
11940 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11941 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11942 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 ac_check_lib_save_LIBS=$LIBS
11946 LIBS="-lxml2 $ac_xml_libs $LIBS"
11947 cat >conftest.$ac_ext <<_ACEOF
11948 /* confdefs.h. */
11949 _ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char xmlParseMemory ();
11962 main ()
11964 return xmlParseMemory ();
11966 return 0;
11968 _ACEOF
11969 rm -f conftest.$ac_objext conftest$ac_exeext
11970 if { (ac_try="$ac_link"
11971 case "(($ac_try" in
11972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 *) ac_try_echo=$ac_try;;
11974 esac
11975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_link") 2>conftest.er1
11977 ac_status=$?
11978 grep -v '^ *+' conftest.er1 >conftest.err
11979 rm -f conftest.er1
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } && {
11983 test -z "$ac_c_werror_flag" ||
11984 test ! -s conftest.err
11985 } && test -s conftest$ac_exeext &&
11986 $as_test_x conftest$ac_exeext; then
11987 ac_cv_lib_xml2_xmlParseMemory=yes
11988 else
11989 echo "$as_me: failed program was:" >&5
11990 sed 's/^/| /' conftest.$ac_ext >&5
11992 ac_cv_lib_xml2_xmlParseMemory=no
11995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11996 conftest$ac_exeext conftest.$ac_ext
11997 LIBS=$ac_check_lib_save_LIBS
11999 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12000 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12001 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
12003 cat >>confdefs.h <<\_ACEOF
12004 #define HAVE_LIBXML2 1
12005 _ACEOF
12007 XML2LIBS="$ac_xml_libs"
12008 XML2INCL="$ac_xml_cflags"
12011 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
12012 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
12013 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else
12016 ac_check_lib_save_LIBS=$LIBS
12017 LIBS="-lxml2 $ac_xml_libs $LIBS"
12018 cat >conftest.$ac_ext <<_ACEOF
12019 /* confdefs.h. */
12020 _ACEOF
12021 cat confdefs.h >>conftest.$ac_ext
12022 cat >>conftest.$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char xmlReadMemory ();
12033 main ()
12035 return xmlReadMemory ();
12037 return 0;
12039 _ACEOF
12040 rm -f conftest.$ac_objext conftest$ac_exeext
12041 if { (ac_try="$ac_link"
12042 case "(($ac_try" in
12043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12044 *) ac_try_echo=$ac_try;;
12045 esac
12046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12047 (eval "$ac_link") 2>conftest.er1
12048 ac_status=$?
12049 grep -v '^ *+' conftest.er1 >conftest.err
12050 rm -f conftest.er1
12051 cat conftest.err >&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && {
12054 test -z "$ac_c_werror_flag" ||
12055 test ! -s conftest.err
12056 } && test -s conftest$ac_exeext &&
12057 $as_test_x conftest$ac_exeext; then
12058 ac_cv_lib_xml2_xmlReadMemory=yes
12059 else
12060 echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.$ac_ext >&5
12063 ac_cv_lib_xml2_xmlReadMemory=no
12066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12071 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12072 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12074 cat >>confdefs.h <<\_ACEOF
12075 #define HAVE_XMLREADMEMORY 1
12076 _ACEOF
12080 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12081 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12082 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 else
12085 ac_check_lib_save_LIBS=$LIBS
12086 LIBS="-lxml2 $ac_xml_libs $LIBS"
12087 cat >conftest.$ac_ext <<_ACEOF
12088 /* confdefs.h. */
12089 _ACEOF
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 /* Override any GCC internal prototype to avoid an error.
12095 Use char because int might match the return type of a GCC
12096 builtin and then its argument prototype would still apply. */
12097 #ifdef __cplusplus
12098 extern "C"
12099 #endif
12100 char xmlNewDocPI ();
12102 main ()
12104 return xmlNewDocPI ();
12106 return 0;
12108 _ACEOF
12109 rm -f conftest.$ac_objext conftest$ac_exeext
12110 if { (ac_try="$ac_link"
12111 case "(($ac_try" in
12112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12113 *) ac_try_echo=$ac_try;;
12114 esac
12115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12116 (eval "$ac_link") 2>conftest.er1
12117 ac_status=$?
12118 grep -v '^ *+' conftest.er1 >conftest.err
12119 rm -f conftest.er1
12120 cat conftest.err >&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); } && {
12123 test -z "$ac_c_werror_flag" ||
12124 test ! -s conftest.err
12125 } && test -s conftest$ac_exeext &&
12126 $as_test_x conftest$ac_exeext; then
12127 ac_cv_lib_xml2_xmlNewDocPI=yes
12128 else
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.$ac_ext >&5
12132 ac_cv_lib_xml2_xmlNewDocPI=no
12135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12136 conftest$ac_exeext conftest.$ac_ext
12137 LIBS=$ac_check_lib_save_LIBS
12139 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12140 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12141 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12143 cat >>confdefs.h <<\_ACEOF
12144 #define HAVE_XMLNEWDOCPI 1
12145 _ACEOF
12152 done
12154 CPPFLAGS="$ac_save_CPPFLAGS"
12156 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12157 case "x$with_xml" in
12158 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12159 xno) ;;
12160 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12161 This is an error since --with-xml was requested." >&5
12162 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12163 This is an error since --with-xml was requested." >&2;}
12164 { (exit 1); exit 1; }; } ;;
12165 esac
12169 if test "x$with_xslt" != "xno"
12170 then
12171 if test "$PKG_CONFIG" != "false"
12172 then
12173 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12174 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12175 else
12176 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12177 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12179 ac_save_CPPFLAGS="$CPPFLAGS"
12180 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12183 for ac_header in libxslt/pattern.h libxslt/transform.h
12185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 else
12191 cat >conftest.$ac_ext <<_ACEOF
12192 /* confdefs.h. */
12193 _ACEOF
12194 cat confdefs.h >>conftest.$ac_ext
12195 cat >>conftest.$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12197 #ifdef HAVE_LIBXSLT_PATTERN_H
12198 # include <libxslt/pattern.h>
12199 #endif
12201 #include <$ac_header>
12202 _ACEOF
12203 rm -f conftest.$ac_objext
12204 if { (ac_try="$ac_compile"
12205 case "(($ac_try" in
12206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12208 esac
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_compile") 2>conftest.er1
12211 ac_status=$?
12212 grep -v '^ *+' conftest.er1 >conftest.err
12213 rm -f conftest.er1
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } && {
12217 test -z "$ac_c_werror_flag" ||
12218 test ! -s conftest.err
12219 } && test -s conftest.$ac_objext; then
12220 eval "$as_ac_Header=yes"
12221 else
12222 echo "$as_me: failed program was:" >&5
12223 sed 's/^/| /' conftest.$ac_ext >&5
12225 eval "$as_ac_Header=no"
12228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12230 ac_res=`eval echo '${'$as_ac_Header'}'`
12231 { echo "$as_me:$LINENO: result: $ac_res" >&5
12232 echo "${ECHO_T}$ac_res" >&6; }
12233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12236 _ACEOF
12240 done
12242 CPPFLAGS="$ac_save_CPPFLAGS"
12243 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12244 then
12245 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12246 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12247 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12249 else
12250 ac_check_lib_save_LIBS=$LIBS
12251 LIBS="-lxslt $ac_xslt_libs $LIBS"
12252 cat >conftest.$ac_ext <<_ACEOF
12253 /* confdefs.h. */
12254 _ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 char xsltCompilePattern ();
12267 main ()
12269 return xsltCompilePattern ();
12271 return 0;
12273 _ACEOF
12274 rm -f conftest.$ac_objext conftest$ac_exeext
12275 if { (ac_try="$ac_link"
12276 case "(($ac_try" in
12277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12279 esac
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_link") 2>conftest.er1
12282 ac_status=$?
12283 grep -v '^ *+' conftest.er1 >conftest.err
12284 rm -f conftest.er1
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } && {
12288 test -z "$ac_c_werror_flag" ||
12289 test ! -s conftest.err
12290 } && test -s conftest$ac_exeext &&
12291 $as_test_x conftest$ac_exeext; then
12292 ac_cv_lib_xslt_xsltCompilePattern=yes
12293 else
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.$ac_ext >&5
12297 ac_cv_lib_xslt_xsltCompilePattern=no
12300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12301 conftest$ac_exeext conftest.$ac_ext
12302 LIBS=$ac_check_lib_save_LIBS
12304 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12305 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12306 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12308 cat >>confdefs.h <<\_ACEOF
12309 #define HAVE_LIBXSLT 1
12310 _ACEOF
12312 XSLTLIBS="$ac_xslt_libs"
12313 XSLTINCL="$ac_xslt_cflags"
12314 ac_save_LIBS="$LIBS"
12315 LIBS="$LIBS $ac_xslt_libs"
12317 for ac_func in xsltInit
12319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12320 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12322 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 else
12325 cat >conftest.$ac_ext <<_ACEOF
12326 /* confdefs.h. */
12327 _ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12333 #define $ac_func innocuous_$ac_func
12335 /* System header to define __stub macros and hopefully few prototypes,
12336 which can conflict with char $ac_func (); below.
12337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12338 <limits.h> exists even on freestanding compilers. */
12340 #ifdef __STDC__
12341 # include <limits.h>
12342 #else
12343 # include <assert.h>
12344 #endif
12346 #undef $ac_func
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 char $ac_func ();
12355 /* The GNU C library defines this for functions which it implements
12356 to always fail with ENOSYS. Some functions are actually named
12357 something starting with __ and the normal name is an alias. */
12358 #if defined __stub_$ac_func || defined __stub___$ac_func
12359 choke me
12360 #endif
12363 main ()
12365 return $ac_func ();
12367 return 0;
12369 _ACEOF
12370 rm -f conftest.$ac_objext conftest$ac_exeext
12371 if { (ac_try="$ac_link"
12372 case "(($ac_try" in
12373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12374 *) ac_try_echo=$ac_try;;
12375 esac
12376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12377 (eval "$ac_link") 2>conftest.er1
12378 ac_status=$?
12379 grep -v '^ *+' conftest.er1 >conftest.err
12380 rm -f conftest.er1
12381 cat conftest.err >&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } && {
12384 test -z "$ac_c_werror_flag" ||
12385 test ! -s conftest.err
12386 } && test -s conftest$ac_exeext &&
12387 $as_test_x conftest$ac_exeext; then
12388 eval "$as_ac_var=yes"
12389 else
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12393 eval "$as_ac_var=no"
12396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12397 conftest$ac_exeext conftest.$ac_ext
12399 ac_res=`eval echo '${'$as_ac_var'}'`
12400 { echo "$as_me:$LINENO: result: $ac_res" >&5
12401 echo "${ECHO_T}$ac_res" >&6; }
12402 if test `eval echo '${'$as_ac_var'}'` = yes; then
12403 cat >>confdefs.h <<_ACEOF
12404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12405 _ACEOF
12408 done
12410 LIBS="$ac_save_LIBS"
12415 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12416 case "x$with_xslt" in
12417 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12418 xno) ;;
12419 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12420 This is an error since --with-xslt was requested." >&5
12421 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12422 This is an error since --with-xslt was requested." >&2;}
12423 { (exit 1); exit 1; }; } ;;
12424 esac
12428 HALINCL=""
12430 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12431 then
12432 ac_save_CPPFLAGS="$CPPFLAGS"
12433 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12434 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12435 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12438 for ac_header in dbus/dbus.h hal/libhal.h
12440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12447 ac_res=`eval echo '${'$as_ac_Header'}'`
12448 { echo "$as_me:$LINENO: result: $ac_res" >&5
12449 echo "${ECHO_T}$ac_res" >&6; }
12450 else
12451 # Is the header compilable?
12452 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h. */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12460 $ac_includes_default
12461 #include <$ac_header>
12462 _ACEOF
12463 rm -f conftest.$ac_objext
12464 if { (ac_try="$ac_compile"
12465 case "(($ac_try" in
12466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12467 *) ac_try_echo=$ac_try;;
12468 esac
12469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12470 (eval "$ac_compile") 2>conftest.er1
12471 ac_status=$?
12472 grep -v '^ *+' conftest.er1 >conftest.err
12473 rm -f conftest.er1
12474 cat conftest.err >&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } && {
12477 test -z "$ac_c_werror_flag" ||
12478 test ! -s conftest.err
12479 } && test -s conftest.$ac_objext; then
12480 ac_header_compiler=yes
12481 else
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.$ac_ext >&5
12485 ac_header_compiler=no
12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12489 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12490 echo "${ECHO_T}$ac_header_compiler" >&6; }
12492 # Is the header present?
12493 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12495 cat >conftest.$ac_ext <<_ACEOF
12496 /* confdefs.h. */
12497 _ACEOF
12498 cat confdefs.h >>conftest.$ac_ext
12499 cat >>conftest.$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <$ac_header>
12502 _ACEOF
12503 if { (ac_try="$ac_cpp conftest.$ac_ext"
12504 case "(($ac_try" in
12505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12506 *) ac_try_echo=$ac_try;;
12507 esac
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12510 ac_status=$?
12511 grep -v '^ *+' conftest.er1 >conftest.err
12512 rm -f conftest.er1
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } >/dev/null && {
12516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12517 test ! -s conftest.err
12518 }; then
12519 ac_header_preproc=yes
12520 else
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.$ac_ext >&5
12524 ac_header_preproc=no
12527 rm -f conftest.err conftest.$ac_ext
12528 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12529 echo "${ECHO_T}$ac_header_preproc" >&6; }
12531 # So? What about this header?
12532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12533 yes:no: )
12534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12538 ac_header_preproc=yes
12540 no:yes:* )
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12553 ( cat <<\_ASBOX
12554 ## ------------------------------------ ##
12555 ## Report this to wine-devel@winehq.org ##
12556 ## ------------------------------------ ##
12557 _ASBOX
12558 ) | sed "s/^/$as_me: WARNING: /" >&2
12560 esac
12561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12565 else
12566 eval "$as_ac_Header=\$ac_header_preproc"
12568 ac_res=`eval echo '${'$as_ac_Header'}'`
12569 { echo "$as_me:$LINENO: result: $ac_res" >&5
12570 echo "${ECHO_T}$ac_res" >&6; }
12573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12574 cat >>confdefs.h <<_ACEOF
12575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12576 _ACEOF
12580 done
12582 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12583 then
12584 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12585 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12586 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 else
12589 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12591 cat >conftest.$ac_ext <<_ACEOF
12592 /* confdefs.h. */
12593 _ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12601 #ifdef __cplusplus
12602 extern "C"
12603 #endif
12604 char dbus_connection_close ();
12606 main ()
12608 return dbus_connection_close ();
12610 return 0;
12612 _ACEOF
12613 rm -f conftest.$ac_objext conftest$ac_exeext
12614 if { (ac_try="$ac_link"
12615 case "(($ac_try" in
12616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 *) ac_try_echo=$ac_try;;
12618 esac
12619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12620 (eval "$ac_link") 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } && {
12627 test -z "$ac_c_werror_flag" ||
12628 test ! -s conftest.err
12629 } && test -s conftest$ac_exeext &&
12630 $as_test_x conftest$ac_exeext; then
12631 ac_cv_lib_dbus_1_dbus_connection_close=yes
12632 else
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.$ac_ext >&5
12636 ac_cv_lib_dbus_1_dbus_connection_close=no
12639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_lib_save_LIBS
12643 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12644 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12645 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12646 { echo "$as_me:$LINENO: checking for -lhal" >&5
12647 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12648 if test "${ac_cv_lib_soname_hal+set}" = set; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 else
12651 ac_check_soname_save_LIBS=$LIBS
12652 LIBS="-lhal $ac_hal_libs $LIBS"
12653 cat >conftest.$ac_ext <<_ACEOF
12654 /* confdefs.h. */
12655 _ACEOF
12656 cat confdefs.h >>conftest.$ac_ext
12657 cat >>conftest.$ac_ext <<_ACEOF
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12663 #ifdef __cplusplus
12664 extern "C"
12665 #endif
12666 char libhal_ctx_new ();
12668 main ()
12670 return libhal_ctx_new ();
12672 return 0;
12674 _ACEOF
12675 rm -f conftest.$ac_objext conftest$ac_exeext
12676 if { (ac_try="$ac_link"
12677 case "(($ac_try" in
12678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12679 *) ac_try_echo=$ac_try;;
12680 esac
12681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12682 (eval "$ac_link") 2>conftest.er1
12683 ac_status=$?
12684 grep -v '^ *+' conftest.er1 >conftest.err
12685 rm -f conftest.er1
12686 cat conftest.err >&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); } && {
12689 test -z "$ac_c_werror_flag" ||
12690 test ! -s conftest.err
12691 } && test -s conftest$ac_exeext &&
12692 $as_test_x conftest$ac_exeext; then
12693 case "$LIBEXT" in
12694 dll) ;;
12695 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'` ;;
12696 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12697 esac
12698 else
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12706 conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_soname_save_LIBS
12709 if test "x$ac_cv_lib_soname_hal" = "x"; then
12710 { echo "$as_me:$LINENO: result: not found" >&5
12711 echo "${ECHO_T}not found" >&6; }
12713 else
12714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12715 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12717 cat >>confdefs.h <<_ACEOF
12718 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12719 _ACEOF
12721 HALINCL="$ac_hal_cflags"
12727 CPPFLAGS="$ac_save_CPPFLAGS"
12729 if test "x$ac_cv_lib_soname_hal" = "x"; then
12730 case "x$with_hal" in
12731 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12732 xno) ;;
12733 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12734 This is an error since --with-hal was requested." >&5
12735 echo "$as_me: error: libhal development files not found, no dynamic device support.
12736 This is an error since --with-hal was requested." >&2;}
12737 { (exit 1); exit 1; }; } ;;
12738 esac
12742 CURSESLIBS=""
12743 if test "$ac_cv_header_ncurses_h" = "yes"
12744 then
12745 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12746 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12747 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 else
12750 ac_check_soname_save_LIBS=$LIBS
12751 LIBS="-lncurses $LIBS"
12752 cat >conftest.$ac_ext <<_ACEOF
12753 /* confdefs.h. */
12754 _ACEOF
12755 cat confdefs.h >>conftest.$ac_ext
12756 cat >>conftest.$ac_ext <<_ACEOF
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 #ifdef __cplusplus
12763 extern "C"
12764 #endif
12765 char waddch ();
12767 main ()
12769 return waddch ();
12771 return 0;
12773 _ACEOF
12774 rm -f conftest.$ac_objext conftest$ac_exeext
12775 if { (ac_try="$ac_link"
12776 case "(($ac_try" in
12777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12778 *) ac_try_echo=$ac_try;;
12779 esac
12780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12781 (eval "$ac_link") 2>conftest.er1
12782 ac_status=$?
12783 grep -v '^ *+' conftest.er1 >conftest.err
12784 rm -f conftest.er1
12785 cat conftest.err >&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); } && {
12788 test -z "$ac_c_werror_flag" ||
12789 test ! -s conftest.err
12790 } && test -s conftest$ac_exeext &&
12791 $as_test_x conftest$ac_exeext; then
12792 case "$LIBEXT" in
12793 dll) ;;
12794 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'` ;;
12795 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12796 esac
12797 else
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_soname_save_LIBS
12808 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12809 { echo "$as_me:$LINENO: result: not found" >&5
12810 echo "${ECHO_T}not found" >&6; }
12812 else
12813 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12814 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12816 cat >>confdefs.h <<_ACEOF
12817 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12818 _ACEOF
12820 CURSESLIBS="-lncurses"
12823 elif test "$ac_cv_header_curses_h" = "yes"
12824 then
12825 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12826 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12827 if test "${ac_cv_lib_soname_curses+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 else
12830 ac_check_soname_save_LIBS=$LIBS
12831 LIBS="-lcurses $LIBS"
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char waddch ();
12847 main ()
12849 return waddch ();
12851 return 0;
12853 _ACEOF
12854 rm -f conftest.$ac_objext conftest$ac_exeext
12855 if { (ac_try="$ac_link"
12856 case "(($ac_try" in
12857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12858 *) ac_try_echo=$ac_try;;
12859 esac
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_link") 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } && {
12868 test -z "$ac_c_werror_flag" ||
12869 test ! -s conftest.err
12870 } && test -s conftest$ac_exeext &&
12871 $as_test_x conftest$ac_exeext; then
12872 case "$LIBEXT" in
12873 dll) ;;
12874 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'` ;;
12875 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12876 esac
12877 else
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.$ac_ext >&5
12884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12885 conftest$ac_exeext conftest.$ac_ext
12886 LIBS=$ac_check_soname_save_LIBS
12888 if test "x$ac_cv_lib_soname_curses" = "x"; then
12889 { echo "$as_me:$LINENO: result: not found" >&5
12890 echo "${ECHO_T}not found" >&6; }
12892 else
12893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12894 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12896 cat >>confdefs.h <<_ACEOF
12897 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12898 _ACEOF
12900 CURSESLIBS="-lcurses"
12904 ac_save_LIBS="$LIBS"
12905 LIBS="$LIBS $CURSESLIBS"
12907 for ac_func in mousemask
12909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12910 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12912 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12913 echo $ECHO_N "(cached) $ECHO_C" >&6
12914 else
12915 cat >conftest.$ac_ext <<_ACEOF
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12923 #define $ac_func innocuous_$ac_func
12925 /* System header to define __stub macros and hopefully few prototypes,
12926 which can conflict with char $ac_func (); below.
12927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12928 <limits.h> exists even on freestanding compilers. */
12930 #ifdef __STDC__
12931 # include <limits.h>
12932 #else
12933 # include <assert.h>
12934 #endif
12936 #undef $ac_func
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char $ac_func ();
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined __stub_$ac_func || defined __stub___$ac_func
12949 choke me
12950 #endif
12953 main ()
12955 return $ac_func ();
12957 return 0;
12959 _ACEOF
12960 rm -f conftest.$ac_objext conftest$ac_exeext
12961 if { (ac_try="$ac_link"
12962 case "(($ac_try" in
12963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12964 *) ac_try_echo=$ac_try;;
12965 esac
12966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12967 (eval "$ac_link") 2>conftest.er1
12968 ac_status=$?
12969 grep -v '^ *+' conftest.er1 >conftest.err
12970 rm -f conftest.er1
12971 cat conftest.err >&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } && {
12974 test -z "$ac_c_werror_flag" ||
12975 test ! -s conftest.err
12976 } && test -s conftest$ac_exeext &&
12977 $as_test_x conftest$ac_exeext; then
12978 eval "$as_ac_var=yes"
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 eval "$as_ac_var=no"
12986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12987 conftest$ac_exeext conftest.$ac_ext
12989 ac_res=`eval echo '${'$as_ac_var'}'`
12990 { echo "$as_me:$LINENO: result: $ac_res" >&5
12991 echo "${ECHO_T}$ac_res" >&6; }
12992 if test `eval echo '${'$as_ac_var'}'` = yes; then
12993 cat >>confdefs.h <<_ACEOF
12994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12995 _ACEOF
12998 done
13000 LIBS="$ac_save_LIBS"
13001 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
13002 case "x$with_curses" in
13003 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
13004 xno) ;;
13005 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
13006 This is an error since --with-curses was requested." >&5
13007 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
13008 This is an error since --with-curses was requested." >&2;}
13009 { (exit 1); exit 1; }; } ;;
13010 esac
13014 # Extract the first word of "sane-config", so it can be a program name with args.
13015 set dummy sane-config; ac_word=$2
13016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13018 if test "${ac_cv_prog_sane_devel+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 else
13021 if test -n "$sane_devel"; then
13022 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13023 else
13024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13025 for as_dir in $PATH
13027 IFS=$as_save_IFS
13028 test -z "$as_dir" && as_dir=.
13029 for ac_exec_ext in '' $ac_executable_extensions; do
13030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13031 ac_cv_prog_sane_devel="sane-config"
13032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13033 break 2
13035 done
13036 done
13037 IFS=$as_save_IFS
13039 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13042 sane_devel=$ac_cv_prog_sane_devel
13043 if test -n "$sane_devel"; then
13044 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13045 echo "${ECHO_T}$sane_devel" >&6; }
13046 else
13047 { echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6; }
13052 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13053 then
13054 ac_sane_incl="`$sane_devel --cflags`"
13055 ac_save_CPPFLAGS="$CPPFLAGS"
13056 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13057 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13058 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13059 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13060 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13064 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13065 else
13066 # Is the header compilable?
13067 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13068 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13069 cat >conftest.$ac_ext <<_ACEOF
13070 /* confdefs.h. */
13071 _ACEOF
13072 cat confdefs.h >>conftest.$ac_ext
13073 cat >>conftest.$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 $ac_includes_default
13076 #include <sane/sane.h>
13077 _ACEOF
13078 rm -f conftest.$ac_objext
13079 if { (ac_try="$ac_compile"
13080 case "(($ac_try" in
13081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13082 *) ac_try_echo=$ac_try;;
13083 esac
13084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13085 (eval "$ac_compile") 2>conftest.er1
13086 ac_status=$?
13087 grep -v '^ *+' conftest.er1 >conftest.err
13088 rm -f conftest.er1
13089 cat conftest.err >&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); } && {
13092 test -z "$ac_c_werror_flag" ||
13093 test ! -s conftest.err
13094 } && test -s conftest.$ac_objext; then
13095 ac_header_compiler=yes
13096 else
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13100 ac_header_compiler=no
13103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13105 echo "${ECHO_T}$ac_header_compiler" >&6; }
13107 # Is the header present?
13108 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13109 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13110 cat >conftest.$ac_ext <<_ACEOF
13111 /* confdefs.h. */
13112 _ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 #include <sane/sane.h>
13117 _ACEOF
13118 if { (ac_try="$ac_cpp conftest.$ac_ext"
13119 case "(($ac_try" in
13120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13122 esac
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13125 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } >/dev/null && {
13131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13132 test ! -s conftest.err
13133 }; then
13134 ac_header_preproc=yes
13135 else
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.$ac_ext >&5
13139 ac_header_preproc=no
13142 rm -f conftest.err conftest.$ac_ext
13143 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13144 echo "${ECHO_T}$ac_header_preproc" >&6; }
13146 # So? What about this header?
13147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13148 yes:no: )
13149 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13150 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13152 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13153 ac_header_preproc=yes
13155 no:yes:* )
13156 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13157 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13159 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13161 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13163 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13165 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13167 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13168 ( cat <<\_ASBOX
13169 ## ------------------------------------ ##
13170 ## Report this to wine-devel@winehq.org ##
13171 ## ------------------------------------ ##
13172 _ASBOX
13173 ) | sed "s/^/$as_me: WARNING: /" >&2
13175 esac
13176 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13177 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13178 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 else
13181 ac_cv_header_sane_sane_h=$ac_header_preproc
13183 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13184 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13187 if test $ac_cv_header_sane_sane_h = yes; then
13188 { echo "$as_me:$LINENO: checking for -lsane" >&5
13189 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13190 if test "${ac_cv_lib_soname_sane+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 ac_check_soname_save_LIBS=$LIBS
13194 LIBS="-lsane $LIBS"
13195 cat >conftest.$ac_ext <<_ACEOF
13196 /* confdefs.h. */
13197 _ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13205 #ifdef __cplusplus
13206 extern "C"
13207 #endif
13208 char sane_init ();
13210 main ()
13212 return sane_init ();
13214 return 0;
13216 _ACEOF
13217 rm -f conftest.$ac_objext conftest$ac_exeext
13218 if { (ac_try="$ac_link"
13219 case "(($ac_try" in
13220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13222 esac
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_link") 2>conftest.er1
13225 ac_status=$?
13226 grep -v '^ *+' conftest.er1 >conftest.err
13227 rm -f conftest.er1
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } && {
13231 test -z "$ac_c_werror_flag" ||
13232 test ! -s conftest.err
13233 } && test -s conftest$ac_exeext &&
13234 $as_test_x conftest$ac_exeext; then
13235 case "$LIBEXT" in
13236 dll) ;;
13237 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'` ;;
13238 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13239 esac
13240 else
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13248 conftest$ac_exeext conftest.$ac_ext
13249 LIBS=$ac_check_soname_save_LIBS
13251 if test "x$ac_cv_lib_soname_sane" = "x"; then
13252 { echo "$as_me:$LINENO: result: not found" >&5
13253 echo "${ECHO_T}not found" >&6; }
13255 else
13256 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13257 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13259 cat >>confdefs.h <<_ACEOF
13260 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13261 _ACEOF
13263 SANEINCL="$ac_sane_incl"
13270 CPPFLAGS="$ac_save_CPPFLAGS"
13272 if test "x$ac_cv_lib_soname_sane" = "x"; then
13273 case "x$with_sane" in
13274 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13275 xno) ;;
13276 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13277 This is an error since --with-sane was requested." >&5
13278 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13279 This is an error since --with-sane was requested." >&2;}
13280 { (exit 1); exit 1; }; } ;;
13281 esac
13285 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13286 set dummy gphoto2-config; ac_word=$2
13287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13289 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292 if test -n "$gphoto2_devel"; then
13293 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13294 else
13295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296 for as_dir in $PATH
13298 IFS=$as_save_IFS
13299 test -z "$as_dir" && as_dir=.
13300 for ac_exec_ext in '' $ac_executable_extensions; do
13301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13302 ac_cv_prog_gphoto2_devel="gphoto2-config"
13303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13304 break 2
13306 done
13307 done
13308 IFS=$as_save_IFS
13310 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13313 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13314 if test -n "$gphoto2_devel"; then
13315 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13316 echo "${ECHO_T}$gphoto2_devel" >&6; }
13317 else
13318 { echo "$as_me:$LINENO: result: no" >&5
13319 echo "${ECHO_T}no" >&6; }
13323 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13324 set dummy gphoto2-port-config; ac_word=$2
13325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13327 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 else
13330 if test -n "$gphoto2port_devel"; then
13331 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13332 else
13333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13334 for as_dir in $PATH
13336 IFS=$as_save_IFS
13337 test -z "$as_dir" && as_dir=.
13338 for ac_exec_ext in '' $ac_executable_extensions; do
13339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13340 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13342 break 2
13344 done
13345 done
13346 IFS=$as_save_IFS
13348 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13351 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13352 if test -n "$gphoto2port_devel"; then
13353 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13354 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13355 else
13356 { echo "$as_me:$LINENO: result: no" >&5
13357 echo "${ECHO_T}no" >&6; }
13361 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13362 then
13363 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13364 ac_gphoto2_libs=""
13365 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13367 case "$i" in
13368 -L/usr/lib|-L/usr/lib64) ;;
13369 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13370 esac
13371 done
13372 ac_save_CPPFLAGS="$CPPFLAGS"
13373 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13374 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13375 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13376 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13377 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13381 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13382 else
13383 # Is the header compilable?
13384 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13385 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13386 cat >conftest.$ac_ext <<_ACEOF
13387 /* confdefs.h. */
13388 _ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 $ac_includes_default
13393 #include <gphoto2-camera.h>
13394 _ACEOF
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13400 esac
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_header_compiler=yes
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13417 ac_header_compiler=no
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13422 echo "${ECHO_T}$ac_header_compiler" >&6; }
13424 # Is the header present?
13425 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13426 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h. */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #include <gphoto2-camera.h>
13434 _ACEOF
13435 if { (ac_try="$ac_cpp conftest.$ac_ext"
13436 case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13439 esac
13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13442 ac_status=$?
13443 grep -v '^ *+' conftest.er1 >conftest.err
13444 rm -f conftest.er1
13445 cat conftest.err >&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } >/dev/null && {
13448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13449 test ! -s conftest.err
13450 }; then
13451 ac_header_preproc=yes
13452 else
13453 echo "$as_me: failed program was:" >&5
13454 sed 's/^/| /' conftest.$ac_ext >&5
13456 ac_header_preproc=no
13459 rm -f conftest.err conftest.$ac_ext
13460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13461 echo "${ECHO_T}$ac_header_preproc" >&6; }
13463 # So? What about this header?
13464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13465 yes:no: )
13466 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13467 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13469 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13470 ac_header_preproc=yes
13472 no:yes:* )
13473 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13474 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13475 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13476 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13478 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13480 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13482 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13484 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13485 ( cat <<\_ASBOX
13486 ## ------------------------------------ ##
13487 ## Report this to wine-devel@winehq.org ##
13488 ## ------------------------------------ ##
13489 _ASBOX
13490 ) | sed "s/^/$as_me: WARNING: /" >&2
13492 esac
13493 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13494 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13495 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 else
13498 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13500 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13501 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13504 if test $ac_cv_header_gphoto2_camera_h = yes; then
13505 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13506 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13507 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13512 cat >conftest.$ac_ext <<_ACEOF
13513 /* confdefs.h. */
13514 _ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13522 #ifdef __cplusplus
13523 extern "C"
13524 #endif
13525 char gp_camera_new ();
13527 main ()
13529 return gp_camera_new ();
13531 return 0;
13533 _ACEOF
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (ac_try="$ac_link"
13536 case "(($ac_try" in
13537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13538 *) ac_try_echo=$ac_try;;
13539 esac
13540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13541 (eval "$ac_link") 2>conftest.er1
13542 ac_status=$?
13543 grep -v '^ *+' conftest.er1 >conftest.err
13544 rm -f conftest.er1
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } && {
13548 test -z "$ac_c_werror_flag" ||
13549 test ! -s conftest.err
13550 } && test -s conftest$ac_exeext &&
13551 $as_test_x conftest$ac_exeext; then
13552 ac_cv_lib_gphoto2_gp_camera_new=yes
13553 else
13554 echo "$as_me: failed program was:" >&5
13555 sed 's/^/| /' conftest.$ac_ext >&5
13557 ac_cv_lib_gphoto2_gp_camera_new=no
13560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13561 conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_lib_save_LIBS
13564 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13565 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13566 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13568 cat >>confdefs.h <<\_ACEOF
13569 #define HAVE_GPHOTO2 1
13570 _ACEOF
13572 GPHOTO2LIBS="$ac_gphoto2_libs"
13574 GPHOTO2INCL="$ac_gphoto2_incl"
13581 CPPFLAGS="$ac_save_CPPFLAGS"
13583 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13584 case "x$with_gphoto" in
13585 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13586 xno) ;;
13587 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13588 This is an error since --with-gphoto was requested." >&5
13589 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13590 This is an error since --with-gphoto was requested." >&2;}
13591 { (exit 1); exit 1; }; } ;;
13592 esac
13597 RESOLVLIBS=""
13599 if test "$ac_cv_header_resolv_h" = "yes"
13600 then
13601 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13602 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13603 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 else
13606 ac_check_lib_save_LIBS=$LIBS
13607 LIBS="-lresolv $LIBS"
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13615 /* Override any GCC internal prototype to avoid an error.
13616 Use char because int might match the return type of a GCC
13617 builtin and then its argument prototype would still apply. */
13618 #ifdef __cplusplus
13619 extern "C"
13620 #endif
13621 char res_query ();
13623 main ()
13625 return res_query ();
13627 return 0;
13629 _ACEOF
13630 rm -f conftest.$ac_objext conftest$ac_exeext
13631 if { (ac_try="$ac_link"
13632 case "(($ac_try" in
13633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13634 *) ac_try_echo=$ac_try;;
13635 esac
13636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13637 (eval "$ac_link") 2>conftest.er1
13638 ac_status=$?
13639 grep -v '^ *+' conftest.er1 >conftest.err
13640 rm -f conftest.er1
13641 cat conftest.err >&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } && {
13644 test -z "$ac_c_werror_flag" ||
13645 test ! -s conftest.err
13646 } && test -s conftest$ac_exeext &&
13647 $as_test_x conftest$ac_exeext; then
13648 ac_cv_lib_resolv_res_query=yes
13649 else
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.$ac_ext >&5
13653 ac_cv_lib_resolv_res_query=no
13656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_lib_save_LIBS
13660 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13661 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13662 if test $ac_cv_lib_resolv_res_query = yes; then
13664 cat >>confdefs.h <<\_ACEOF
13665 #define HAVE_RESOLV 1
13666 _ACEOF
13668 RESOLVLIBS="-lresolv"
13673 LCMSLIBS=""
13675 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13676 then
13677 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13678 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13679 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13680 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 else
13682 ac_check_lib_save_LIBS=$LIBS
13683 LIBS="-llcms $LIBS"
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13691 /* Override any GCC internal prototype to avoid an error.
13692 Use char because int might match the return type of a GCC
13693 builtin and then its argument prototype would still apply. */
13694 #ifdef __cplusplus
13695 extern "C"
13696 #endif
13697 char cmsOpenProfileFromFile ();
13699 main ()
13701 return cmsOpenProfileFromFile ();
13703 return 0;
13705 _ACEOF
13706 rm -f conftest.$ac_objext conftest$ac_exeext
13707 if { (ac_try="$ac_link"
13708 case "(($ac_try" in
13709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13710 *) ac_try_echo=$ac_try;;
13711 esac
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_link") 2>conftest.er1
13714 ac_status=$?
13715 grep -v '^ *+' conftest.er1 >conftest.err
13716 rm -f conftest.er1
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest$ac_exeext &&
13723 $as_test_x conftest$ac_exeext; then
13724 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13725 else
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13729 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13733 conftest$ac_exeext conftest.$ac_ext
13734 LIBS=$ac_check_lib_save_LIBS
13736 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13737 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13738 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13740 cat >>confdefs.h <<\_ACEOF
13741 #define HAVE_LCMS 1
13742 _ACEOF
13744 LCMSLIBS="-llcms"
13748 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13749 case "x$with_cms" in
13750 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13751 xno) ;;
13752 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13753 This is an error since --with-cms was requested." >&5
13754 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13755 This is an error since --with-cms was requested." >&2;}
13756 { (exit 1); exit 1; }; } ;;
13757 esac
13761 LDAPLIBS=""
13763 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13764 then
13765 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13766 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13767 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 else
13770 ac_check_lib_save_LIBS=$LIBS
13771 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13772 cat >conftest.$ac_ext <<_ACEOF
13773 /* confdefs.h. */
13774 _ACEOF
13775 cat confdefs.h >>conftest.$ac_ext
13776 cat >>conftest.$ac_ext <<_ACEOF
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char ldap_initialize ();
13787 main ()
13789 return ldap_initialize ();
13791 return 0;
13793 _ACEOF
13794 rm -f conftest.$ac_objext conftest$ac_exeext
13795 if { (ac_try="$ac_link"
13796 case "(($ac_try" in
13797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13798 *) ac_try_echo=$ac_try;;
13799 esac
13800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13801 (eval "$ac_link") 2>conftest.er1
13802 ac_status=$?
13803 grep -v '^ *+' conftest.er1 >conftest.err
13804 rm -f conftest.er1
13805 cat conftest.err >&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } && {
13808 test -z "$ac_c_werror_flag" ||
13809 test ! -s conftest.err
13810 } && test -s conftest$ac_exeext &&
13811 $as_test_x conftest$ac_exeext; then
13812 ac_cv_lib_ldap_r_ldap_initialize=yes
13813 else
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.$ac_ext >&5
13817 ac_cv_lib_ldap_r_ldap_initialize=no
13820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13821 conftest$ac_exeext conftest.$ac_ext
13822 LIBS=$ac_check_lib_save_LIBS
13824 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13825 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13826 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13827 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13828 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13829 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 else
13832 ac_check_lib_save_LIBS=$LIBS
13833 LIBS="-llber $LIBPTHREAD $LIBS"
13834 cat >conftest.$ac_ext <<_ACEOF
13835 /* confdefs.h. */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13841 /* Override any GCC internal prototype to avoid an error.
13842 Use char because int might match the return type of a GCC
13843 builtin and then its argument prototype would still apply. */
13844 #ifdef __cplusplus
13845 extern "C"
13846 #endif
13847 char ber_init ();
13849 main ()
13851 return ber_init ();
13853 return 0;
13855 _ACEOF
13856 rm -f conftest.$ac_objext conftest$ac_exeext
13857 if { (ac_try="$ac_link"
13858 case "(($ac_try" in
13859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13860 *) ac_try_echo=$ac_try;;
13861 esac
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_link") 2>conftest.er1
13864 ac_status=$?
13865 grep -v '^ *+' conftest.er1 >conftest.err
13866 rm -f conftest.er1
13867 cat conftest.err >&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } && {
13870 test -z "$ac_c_werror_flag" ||
13871 test ! -s conftest.err
13872 } && test -s conftest$ac_exeext &&
13873 $as_test_x conftest$ac_exeext; then
13874 ac_cv_lib_lber_ber_init=yes
13875 else
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13879 ac_cv_lib_lber_ber_init=no
13882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13883 conftest$ac_exeext conftest.$ac_ext
13884 LIBS=$ac_check_lib_save_LIBS
13886 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13887 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13888 if test $ac_cv_lib_lber_ber_init = yes; then
13890 cat >>confdefs.h <<\_ACEOF
13891 #define HAVE_LDAP 1
13892 _ACEOF
13894 LDAPLIBS="-lldap_r -llber"
13899 ac_wine_check_funcs_save_LIBS="$LIBS"
13900 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13909 for ac_func in \
13910 ldap_count_references \
13911 ldap_first_reference \
13912 ldap_next_reference \
13913 ldap_parse_reference \
13914 ldap_parse_sort_control \
13915 ldap_parse_sortresponse_control \
13916 ldap_parse_vlv_control \
13917 ldap_parse_vlvresponse_control
13919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13920 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13922 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 else
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13933 #define $ac_func innocuous_$ac_func
13935 /* System header to define __stub macros and hopefully few prototypes,
13936 which can conflict with char $ac_func (); below.
13937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13938 <limits.h> exists even on freestanding compilers. */
13940 #ifdef __STDC__
13941 # include <limits.h>
13942 #else
13943 # include <assert.h>
13944 #endif
13946 #undef $ac_func
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char $ac_func ();
13955 /* The GNU C library defines this for functions which it implements
13956 to always fail with ENOSYS. Some functions are actually named
13957 something starting with __ and the normal name is an alias. */
13958 #if defined __stub_$ac_func || defined __stub___$ac_func
13959 choke me
13960 #endif
13963 main ()
13965 return $ac_func ();
13967 return 0;
13969 _ACEOF
13970 rm -f conftest.$ac_objext conftest$ac_exeext
13971 if { (ac_try="$ac_link"
13972 case "(($ac_try" in
13973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13974 *) ac_try_echo=$ac_try;;
13975 esac
13976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13977 (eval "$ac_link") 2>conftest.er1
13978 ac_status=$?
13979 grep -v '^ *+' conftest.er1 >conftest.err
13980 rm -f conftest.er1
13981 cat conftest.err >&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && {
13984 test -z "$ac_c_werror_flag" ||
13985 test ! -s conftest.err
13986 } && test -s conftest$ac_exeext &&
13987 $as_test_x conftest$ac_exeext; then
13988 eval "$as_ac_var=yes"
13989 else
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13993 eval "$as_ac_var=no"
13996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13997 conftest$ac_exeext conftest.$ac_ext
13999 ac_res=`eval echo '${'$as_ac_var'}'`
14000 { echo "$as_me:$LINENO: result: $ac_res" >&5
14001 echo "${ECHO_T}$ac_res" >&6; }
14002 if test `eval echo '${'$as_ac_var'}'` = yes; then
14003 cat >>confdefs.h <<_ACEOF
14004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14005 _ACEOF
14008 done
14010 LIBS="$ac_wine_check_funcs_save_LIBS"
14012 if test "x$LDAPLIBS" = "x"; then
14013 case "x$with_ldap" in
14014 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
14015 xno) ;;
14016 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
14017 This is an error since --with-ldap was requested." >&5
14018 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
14019 This is an error since --with-ldap was requested." >&2;}
14020 { (exit 1); exit 1; }; } ;;
14021 esac
14025 for ac_prog in freetype-config freetype2-config
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy $ac_prog; ac_word=$2
14029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14031 if test "${ac_cv_prog_ft_devel+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 if test -n "$ft_devel"; then
14035 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
14036 else
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 ac_cv_prog_ft_devel="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 break 2
14048 done
14049 done
14050 IFS=$as_save_IFS
14054 ft_devel=$ac_cv_prog_ft_devel
14055 if test -n "$ft_devel"; then
14056 { echo "$as_me:$LINENO: result: $ft_devel" >&5
14057 echo "${ECHO_T}$ft_devel" >&6; }
14058 else
14059 { echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6; }
14064 test -n "$ft_devel" && break
14065 done
14066 test -n "$ft_devel" || ft_devel="false"
14068 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14069 then
14070 ac_freetype_libs=`$ft_devel --libs`
14071 ac_freetype_incl=`$ft_devel --cflags`
14072 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
14073 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
14074 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 ac_check_soname_save_LIBS=$LIBS
14078 LIBS="-lfreetype $ac_freetype_libs $LIBS"
14079 cat >conftest.$ac_ext <<_ACEOF
14080 /* confdefs.h. */
14081 _ACEOF
14082 cat confdefs.h >>conftest.$ac_ext
14083 cat >>conftest.$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 #ifdef __cplusplus
14090 extern "C"
14091 #endif
14092 char FT_Init_FreeType ();
14094 main ()
14096 return FT_Init_FreeType ();
14098 return 0;
14100 _ACEOF
14101 rm -f conftest.$ac_objext conftest$ac_exeext
14102 if { (ac_try="$ac_link"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_link") 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest$ac_exeext &&
14118 $as_test_x conftest$ac_exeext; then
14119 case "$LIBEXT" in
14120 dll) ;;
14121 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'` ;;
14122 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14123 esac
14124 else
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.$ac_ext >&5
14131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if test "x$ac_cv_lib_soname_freetype" = "x"; then
14136 { echo "$as_me:$LINENO: result: not found" >&5
14137 echo "${ECHO_T}not found" >&6; }
14138 ft_lib=no
14139 else
14140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14141 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14143 cat >>confdefs.h <<_ACEOF
14144 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14145 _ACEOF
14147 ft_lib=yes
14150 if test "$ft_lib" = "yes"
14151 then
14152 ac_save_CPPFLAGS="$CPPFLAGS"
14153 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
14166 for ac_header in ft2build.h \
14167 freetype/freetype.h \
14168 freetype/ftglyph.h \
14169 freetype/fttypes.h \
14170 freetype/tttables.h \
14171 freetype/ftnames.h \
14172 freetype/ftsnames.h \
14173 freetype/ttnameid.h \
14174 freetype/ftoutln.h \
14175 freetype/ftwinfnt.h \
14176 freetype/ftmodapi.h \
14177 freetype/internal/sfnt.h
14179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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 #ifdef HAVE_FT2BUILD_H
14192 # include <ft2build.h>
14193 #endif
14195 #include <$ac_header>
14196 _ACEOF
14197 rm -f conftest.$ac_objext
14198 if { (ac_try="$ac_compile"
14199 case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14202 esac
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compile") 2>conftest.er1
14205 ac_status=$?
14206 grep -v '^ *+' conftest.er1 >conftest.err
14207 rm -f conftest.er1
14208 cat conftest.err >&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } && {
14211 test -z "$ac_c_werror_flag" ||
14212 test ! -s conftest.err
14213 } && test -s conftest.$ac_objext; then
14214 eval "$as_ac_Header=yes"
14215 else
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.$ac_ext >&5
14219 eval "$as_ac_Header=no"
14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14224 ac_res=`eval echo '${'$as_ac_Header'}'`
14225 { echo "$as_me:$LINENO: result: $ac_res" >&5
14226 echo "${ECHO_T}$ac_res" >&6; }
14227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14228 cat >>confdefs.h <<_ACEOF
14229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14230 _ACEOF
14234 done
14236 cat >conftest.$ac_ext <<_ACEOF
14237 /* confdefs.h. */
14238 _ACEOF
14239 cat confdefs.h >>conftest.$ac_ext
14240 cat >>conftest.$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14242 #include <ft2build.h>
14243 #include <freetype/fttrigon.h>
14244 _ACEOF
14245 if { (ac_try="$ac_cpp conftest.$ac_ext"
14246 case "(($ac_try" in
14247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14249 esac
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14252 ac_status=$?
14253 grep -v '^ *+' conftest.er1 >conftest.err
14254 rm -f conftest.er1
14255 cat conftest.err >&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } >/dev/null && {
14258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14259 test ! -s conftest.err
14260 }; then
14262 cat >>confdefs.h <<\_ACEOF
14263 #define HAVE_FREETYPE_FTTRIGON_H 1
14264 _ACEOF
14266 wine_cv_fttrigon=yes
14267 else
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14271 wine_cv_fttrigon=no
14274 rm -f conftest.err conftest.$ac_ext
14275 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14276 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14277 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 cat >conftest.$ac_ext <<_ACEOF
14281 /* confdefs.h. */
14282 _ACEOF
14283 cat confdefs.h >>conftest.$ac_ext
14284 cat >>conftest.$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286 #include <freetype/ftmodapi.h>
14288 typedef FT_TrueTypeEngineType ac__type_new_;
14290 main ()
14292 if ((ac__type_new_ *) 0)
14293 return 0;
14294 if (sizeof (ac__type_new_))
14295 return 0;
14297 return 0;
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (ac_try="$ac_compile"
14302 case "(($ac_try" in
14303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14304 *) ac_try_echo=$ac_try;;
14305 esac
14306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 (eval "$ac_compile") 2>conftest.er1
14308 ac_status=$?
14309 grep -v '^ *+' conftest.er1 >conftest.err
14310 rm -f conftest.er1
14311 cat conftest.err >&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } && {
14314 test -z "$ac_c_werror_flag" ||
14315 test ! -s conftest.err
14316 } && test -s conftest.$ac_objext; then
14317 ac_cv_type_FT_TrueTypeEngineType=yes
14318 else
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14322 ac_cv_type_FT_TrueTypeEngineType=no
14325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14327 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14328 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14329 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14331 cat >>confdefs.h <<_ACEOF
14332 #define HAVE_FT_TRUETYPEENGINETYPE 1
14333 _ACEOF
14338 ac_save_CFLAGS="$CFLAGS"
14339 CFLAGS="$CFLAGS $ac_freetype_libs"
14341 for ac_func in FT_Load_Sfnt_Table
14343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14344 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14346 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 else
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14357 #define $ac_func innocuous_$ac_func
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char $ac_func (); below.
14361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14362 <limits.h> exists even on freestanding compilers. */
14364 #ifdef __STDC__
14365 # include <limits.h>
14366 #else
14367 # include <assert.h>
14368 #endif
14370 #undef $ac_func
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char $ac_func ();
14379 /* The GNU C library defines this for functions which it implements
14380 to always fail with ENOSYS. Some functions are actually named
14381 something starting with __ and the normal name is an alias. */
14382 #if defined __stub_$ac_func || defined __stub___$ac_func
14383 choke me
14384 #endif
14387 main ()
14389 return $ac_func ();
14391 return 0;
14393 _ACEOF
14394 rm -f conftest.$ac_objext conftest$ac_exeext
14395 if { (ac_try="$ac_link"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14399 esac
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_link") 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } && {
14408 test -z "$ac_c_werror_flag" ||
14409 test ! -s conftest.err
14410 } && test -s conftest$ac_exeext &&
14411 $as_test_x conftest$ac_exeext; then
14412 eval "$as_ac_var=yes"
14413 else
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14417 eval "$as_ac_var=no"
14420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14421 conftest$ac_exeext conftest.$ac_ext
14423 ac_res=`eval echo '${'$as_ac_var'}'`
14424 { echo "$as_me:$LINENO: result: $ac_res" >&5
14425 echo "${ECHO_T}$ac_res" >&6; }
14426 if test `eval echo '${'$as_ac_var'}'` = yes; then
14427 cat >>confdefs.h <<_ACEOF
14428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14429 _ACEOF
14432 done
14434 CFLAGS="$ac_save_CFLAGS"
14435 CPPFLAGS="$ac_save_CPPFLAGS"
14436 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14437 then
14439 cat >>confdefs.h <<\_ACEOF
14440 #define HAVE_FREETYPE 1
14441 _ACEOF
14443 FREETYPELIBS="$ac_freetype_libs"
14445 FREETYPEINCL="$ac_freetype_incl"
14447 FONTSSUBDIRS="fonts"
14452 if test "x$FREETYPELIBS" = "x"; then
14453 case "x$with_freetype" in
14454 xno) ;;
14455 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14456 Fonts will not be built. Dialog text may be invisible or unaligned.
14457 Use the --without-freetype option if you really want this." >&5
14458 echo "$as_me: error: FreeType development files not found.
14459 Fonts will not be built. Dialog text may be invisible or unaligned.
14460 Use the --without-freetype option if you really want this." >&2;}
14461 { (exit 1); exit 1; }; } ;;
14462 esac
14466 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14467 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14468 if test "${ac_cv_c_ppdev+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 #include <linux/ppdev.h>
14479 main ()
14481 ioctl (1,PPCLAIM,0)
14483 return 0;
14485 _ACEOF
14486 rm -f conftest.$ac_objext
14487 if { (ac_try="$ac_compile"
14488 case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14491 esac
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_compile") 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } && {
14500 test -z "$ac_c_werror_flag" ||
14501 test ! -s conftest.err
14502 } && test -s conftest.$ac_objext; then
14503 ac_cv_c_ppdev="yes"
14504 else
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14508 ac_cv_c_ppdev="no"
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14513 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14514 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14515 if test "$ac_cv_c_ppdev" = "yes"
14516 then
14518 cat >>confdefs.h <<\_ACEOF
14519 #define HAVE_PPDEV 1
14520 _ACEOF
14524 { echo "$as_me:$LINENO: checking for va_copy" >&5
14525 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14526 if test "${ac_cv_c_va_copy+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 #include <stdarg.h>
14537 main ()
14539 va_list ap1, ap2; va_copy(ap1,ap2);
14541 return 0;
14543 _ACEOF
14544 rm -f conftest.$ac_objext conftest$ac_exeext
14545 if { (ac_try="$ac_link"
14546 case "(($ac_try" in
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14549 esac
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_link") 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } && {
14558 test -z "$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14560 } && test -s conftest$ac_exeext &&
14561 $as_test_x conftest$ac_exeext; then
14562 ac_cv_c_va_copy="yes"
14563 else
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14567 ac_cv_c_va_copy="no"
14570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14571 conftest$ac_exeext conftest.$ac_ext
14574 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14575 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14576 if test "$ac_cv_c_va_copy" = "yes"
14577 then
14579 cat >>confdefs.h <<\_ACEOF
14580 #define HAVE_VA_COPY 1
14581 _ACEOF
14584 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14585 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14586 if test "${ac_cv_c___va_copy+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #include <stdarg.h>
14597 main ()
14599 va_list ap1, ap2; __va_copy(ap1,ap2);
14601 return 0;
14603 _ACEOF
14604 rm -f conftest.$ac_objext conftest$ac_exeext
14605 if { (ac_try="$ac_link"
14606 case "(($ac_try" in
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14608 *) ac_try_echo=$ac_try;;
14609 esac
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14612 ac_status=$?
14613 grep -v '^ *+' conftest.er1 >conftest.err
14614 rm -f conftest.er1
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } && {
14618 test -z "$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 } && test -s conftest$ac_exeext &&
14621 $as_test_x conftest$ac_exeext; then
14622 ac_cv_c___va_copy="yes"
14623 else
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14627 ac_cv_c___va_copy="no"
14630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14631 conftest$ac_exeext conftest.$ac_ext
14634 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14635 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14636 if test "$ac_cv_c___va_copy" = "yes"
14637 then
14639 cat >>confdefs.h <<\_ACEOF
14640 #define HAVE___VA_COPY 1
14641 _ACEOF
14645 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14646 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14647 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14649 else
14650 cat >conftest.$ac_ext <<_ACEOF
14651 /* confdefs.h. */
14652 _ACEOF
14653 cat confdefs.h >>conftest.$ac_ext
14654 cat >>conftest.$ac_ext <<_ACEOF
14655 /* end confdefs.h. */
14656 #define _GNU_SOURCE
14657 #include <pthread.h>
14659 typedef pthread_rwlock_t ac__type_new_;
14661 main ()
14663 if ((ac__type_new_ *) 0)
14664 return 0;
14665 if (sizeof (ac__type_new_))
14666 return 0;
14668 return 0;
14670 _ACEOF
14671 rm -f conftest.$ac_objext
14672 if { (ac_try="$ac_compile"
14673 case "(($ac_try" in
14674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14675 *) ac_try_echo=$ac_try;;
14676 esac
14677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14678 (eval "$ac_compile") 2>conftest.er1
14679 ac_status=$?
14680 grep -v '^ *+' conftest.er1 >conftest.err
14681 rm -f conftest.er1
14682 cat conftest.err >&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); } && {
14685 test -z "$ac_c_werror_flag" ||
14686 test ! -s conftest.err
14687 } && test -s conftest.$ac_objext; then
14688 ac_cv_type_pthread_rwlock_t=yes
14689 else
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_cv_type_pthread_rwlock_t=no
14696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14698 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14699 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14700 if test $ac_cv_type_pthread_rwlock_t = yes; then
14702 cat >>confdefs.h <<_ACEOF
14703 #define HAVE_PTHREAD_RWLOCK_T 1
14704 _ACEOF
14708 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14709 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14710 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 else
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #define _GNU_SOURCE
14720 #include <pthread.h>
14722 typedef pthread_rwlockattr_t ac__type_new_;
14724 main ()
14726 if ((ac__type_new_ *) 0)
14727 return 0;
14728 if (sizeof (ac__type_new_))
14729 return 0;
14731 return 0;
14733 _ACEOF
14734 rm -f conftest.$ac_objext
14735 if { (ac_try="$ac_compile"
14736 case "(($ac_try" in
14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14739 esac
14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_compile") 2>conftest.er1
14742 ac_status=$?
14743 grep -v '^ *+' conftest.er1 >conftest.err
14744 rm -f conftest.er1
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest.$ac_objext; then
14751 ac_cv_type_pthread_rwlockattr_t=yes
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 ac_cv_type_pthread_rwlockattr_t=no
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14762 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14763 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14765 cat >>confdefs.h <<_ACEOF
14766 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14767 _ACEOF
14773 ac_wine_check_funcs_save_LIBS="$LIBS"
14774 LIBS="$LIBS $LIBPTHREAD"
14779 for ac_func in \
14780 pthread_attr_get_np \
14781 pthread_getattr_np \
14782 pthread_get_stackaddr_np \
14783 pthread_get_stacksize_np
14785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791 cat >conftest.$ac_ext <<_ACEOF
14792 /* confdefs.h. */
14793 _ACEOF
14794 cat confdefs.h >>conftest.$ac_ext
14795 cat >>conftest.$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14799 #define $ac_func innocuous_$ac_func
14801 /* System header to define __stub macros and hopefully few prototypes,
14802 which can conflict with char $ac_func (); below.
14803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14804 <limits.h> exists even on freestanding compilers. */
14806 #ifdef __STDC__
14807 # include <limits.h>
14808 #else
14809 # include <assert.h>
14810 #endif
14812 #undef $ac_func
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char $ac_func ();
14821 /* The GNU C library defines this for functions which it implements
14822 to always fail with ENOSYS. Some functions are actually named
14823 something starting with __ and the normal name is an alias. */
14824 #if defined __stub_$ac_func || defined __stub___$ac_func
14825 choke me
14826 #endif
14829 main ()
14831 return $ac_func ();
14833 return 0;
14835 _ACEOF
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (ac_try="$ac_link"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14841 esac
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_link") 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } && {
14850 test -z "$ac_c_werror_flag" ||
14851 test ! -s conftest.err
14852 } && test -s conftest$ac_exeext &&
14853 $as_test_x conftest$ac_exeext; then
14854 eval "$as_ac_var=yes"
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 eval "$as_ac_var=no"
14862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14863 conftest$ac_exeext conftest.$ac_ext
14865 ac_res=`eval echo '${'$as_ac_var'}'`
14866 { echo "$as_me:$LINENO: result: $ac_res" >&5
14867 echo "${ECHO_T}$ac_res" >&6; }
14868 if test `eval echo '${'$as_ac_var'}'` = yes; then
14869 cat >>confdefs.h <<_ACEOF
14870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14871 _ACEOF
14874 done
14876 LIBS="$ac_wine_check_funcs_save_LIBS"
14878 # Extract the first word of "esd-config", so it can be a program name with args.
14879 set dummy esd-config; ac_word=$2
14880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14882 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14883 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 else
14885 case $ESDCONFIG in
14886 [\\/]* | ?:[\\/]*)
14887 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14891 for as_dir in $PATH
14893 IFS=$as_save_IFS
14894 test -z "$as_dir" && as_dir=.
14895 for ac_exec_ext in '' $ac_executable_extensions; do
14896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14897 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14899 break 2
14901 done
14902 done
14903 IFS=$as_save_IFS
14906 esac
14908 ESDCONFIG=$ac_cv_path_ESDCONFIG
14909 if test -n "$ESDCONFIG"; then
14910 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14911 echo "${ECHO_T}$ESDCONFIG" >&6; }
14912 else
14913 { echo "$as_me:$LINENO: result: no" >&5
14914 echo "${ECHO_T}no" >&6; }
14918 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14919 then
14920 ESD_CFLAGS=""
14921 for i in `$ESDCONFIG --cflags`
14923 case "$i" in
14924 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14925 esac
14926 done
14927 ESD_LIBS=`$ESDCONFIG --libs`
14928 save_CFLAGS="$CFLAGS"
14929 CFLAGS="$CFLAGS $ESD_CFLAGS"
14930 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14931 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14932 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935 ac_check_lib_save_LIBS=$LIBS
14936 LIBS="-lesd $LIBS"
14937 cat >conftest.$ac_ext <<_ACEOF
14938 /* confdefs.h. */
14939 _ACEOF
14940 cat confdefs.h >>conftest.$ac_ext
14941 cat >>conftest.$ac_ext <<_ACEOF
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14947 #ifdef __cplusplus
14948 extern "C"
14949 #endif
14950 char esd_open_sound ();
14952 main ()
14954 return esd_open_sound ();
14956 return 0;
14958 _ACEOF
14959 rm -f conftest.$ac_objext conftest$ac_exeext
14960 if { (ac_try="$ac_link"
14961 case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14964 esac
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_link") 2>conftest.er1
14967 ac_status=$?
14968 grep -v '^ *+' conftest.er1 >conftest.err
14969 rm -f conftest.er1
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest$ac_exeext &&
14976 $as_test_x conftest$ac_exeext; then
14977 ac_cv_lib_esd_esd_open_sound=yes
14978 else
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 ac_cv_lib_esd_esd_open_sound=no
14985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_lib_save_LIBS
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14990 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14991 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14992 ESDLIBS=$ESD_LIBS
14994 ESDINCL=$ESD_CFLAGS
14997 cat >>confdefs.h <<\_ACEOF
14998 #define HAVE_ESD 1
14999 _ACEOF
15003 CFLAGS="$save_CFLAGS"
15006 ALSALIBS=""
15008 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
15009 then
15010 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
15011 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
15012 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 else
15015 ac_check_lib_save_LIBS=$LIBS
15016 LIBS="-lasound $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 snd_pcm_hw_params_get_access ();
15032 main ()
15034 return snd_pcm_hw_params_get_access ();
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 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15062 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
15065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15066 conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_lib_save_LIBS
15069 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
15070 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
15071 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
15072 cat >conftest.$ac_ext <<_ACEOF
15073 /* confdefs.h. */
15074 _ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15078 #ifdef HAVE_ALSA_ASOUNDLIB_H
15079 #include <alsa/asoundlib.h>
15080 #elif defined(HAVE_SYS_ASOUNDLIB_H)
15081 #include <sys/asoundlib.h>
15082 #endif
15084 main ()
15086 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15088 return 0;
15090 _ACEOF
15091 rm -f conftest.$ac_objext
15092 if { (ac_try="$ac_compile"
15093 case "(($ac_try" in
15094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15095 *) ac_try_echo=$ac_try;;
15096 esac
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_compile") 2>conftest.er1
15099 ac_status=$?
15100 grep -v '^ *+' conftest.er1 >conftest.err
15101 rm -f conftest.er1
15102 cat conftest.err >&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } && {
15105 test -z "$ac_c_werror_flag" ||
15106 test ! -s conftest.err
15107 } && test -s conftest.$ac_objext; then
15109 cat >>confdefs.h <<\_ACEOF
15110 #define HAVE_ALSA 1
15111 _ACEOF
15113 ALSALIBS="-lasound"
15114 else
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.$ac_ext >&5
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126 AUDIOIOLIBS=""
15128 if test "$ac_cv_header_libaudioio_h" = "yes"
15129 then
15130 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15131 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15132 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 else
15135 ac_check_lib_save_LIBS=$LIBS
15136 LIBS="-laudioio $LIBS"
15137 cat >conftest.$ac_ext <<_ACEOF
15138 /* confdefs.h. */
15139 _ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 #ifdef __cplusplus
15148 extern "C"
15149 #endif
15150 char AudioIOGetVersion ();
15152 main ()
15154 return AudioIOGetVersion ();
15156 return 0;
15158 _ACEOF
15159 rm -f conftest.$ac_objext conftest$ac_exeext
15160 if { (ac_try="$ac_link"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_link") 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest$ac_exeext &&
15176 $as_test_x conftest$ac_exeext; then
15177 ac_cv_lib_audioio_AudioIOGetVersion=yes
15178 else
15179 echo "$as_me: failed program was:" >&5
15180 sed 's/^/| /' conftest.$ac_ext >&5
15182 ac_cv_lib_audioio_AudioIOGetVersion=no
15185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15186 conftest$ac_exeext conftest.$ac_ext
15187 LIBS=$ac_check_lib_save_LIBS
15189 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15190 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15191 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15192 AUDIOIOLIBS="-laudioio"
15194 cat >>confdefs.h <<\_ACEOF
15195 #define HAVE_LIBAUDIOIO 1
15196 _ACEOF
15203 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15204 then
15205 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15206 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15207 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 else
15210 ac_check_soname_save_LIBS=$LIBS
15211 LIBS="-lcapi20 $LIBS"
15212 cat >conftest.$ac_ext <<_ACEOF
15213 /* confdefs.h. */
15214 _ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15219 /* Override any GCC internal prototype to avoid an error.
15220 Use char because int might match the return type of a GCC
15221 builtin and then its argument prototype would still apply. */
15222 #ifdef __cplusplus
15223 extern "C"
15224 #endif
15225 char capi20_register ();
15227 main ()
15229 return capi20_register ();
15231 return 0;
15233 _ACEOF
15234 rm -f conftest.$ac_objext conftest$ac_exeext
15235 if { (ac_try="$ac_link"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15239 esac
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_link") 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest$ac_exeext &&
15251 $as_test_x conftest$ac_exeext; then
15252 case "$LIBEXT" in
15253 dll) ;;
15254 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'` ;;
15255 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15256 esac
15257 else
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.$ac_ext >&5
15264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15265 conftest$ac_exeext conftest.$ac_ext
15266 LIBS=$ac_check_soname_save_LIBS
15268 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15269 { echo "$as_me:$LINENO: result: not found" >&5
15270 echo "${ECHO_T}not found" >&6; }
15272 else
15273 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15274 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15276 cat >>confdefs.h <<_ACEOF
15277 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15278 _ACEOF
15284 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15285 case "x$with_capi" in
15286 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15287 xno) ;;
15288 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15289 This is an error since --with-capi was requested." >&5
15290 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15291 This is an error since --with-capi was requested." >&2;}
15292 { (exit 1); exit 1; }; } ;;
15293 esac
15297 if test "$ac_cv_header_cups_cups_h" = "yes"
15298 then
15299 { echo "$as_me:$LINENO: checking for -lcups" >&5
15300 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15301 if test "${ac_cv_lib_soname_cups+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304 ac_check_soname_save_LIBS=$LIBS
15305 LIBS="-lcups $LIBS"
15306 cat >conftest.$ac_ext <<_ACEOF
15307 /* confdefs.h. */
15308 _ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char cupsGetDefault ();
15321 main ()
15323 return cupsGetDefault ();
15325 return 0;
15327 _ACEOF
15328 rm -f conftest.$ac_objext conftest$ac_exeext
15329 if { (ac_try="$ac_link"
15330 case "(($ac_try" in
15331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15332 *) ac_try_echo=$ac_try;;
15333 esac
15334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15335 (eval "$ac_link") 2>conftest.er1
15336 ac_status=$?
15337 grep -v '^ *+' conftest.er1 >conftest.err
15338 rm -f conftest.er1
15339 cat conftest.err >&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } && {
15342 test -z "$ac_c_werror_flag" ||
15343 test ! -s conftest.err
15344 } && test -s conftest$ac_exeext &&
15345 $as_test_x conftest$ac_exeext; then
15346 case "$LIBEXT" in
15347 dll) ;;
15348 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'` ;;
15349 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15350 esac
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15359 conftest$ac_exeext conftest.$ac_ext
15360 LIBS=$ac_check_soname_save_LIBS
15362 if test "x$ac_cv_lib_soname_cups" = "x"; then
15363 { echo "$as_me:$LINENO: result: not found" >&5
15364 echo "${ECHO_T}not found" >&6; }
15366 else
15367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15368 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15370 cat >>confdefs.h <<_ACEOF
15371 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15372 _ACEOF
15378 if test "x$ac_cv_lib_soname_cups" = "x"; then
15379 case "x$with_cups" in
15380 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15381 xno) ;;
15382 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15383 This is an error since --with-cups was requested." >&5
15384 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15385 This is an error since --with-cups was requested." >&2;}
15386 { (exit 1); exit 1; }; } ;;
15387 esac
15391 if test "$ac_cv_header_jack_jack_h" = "yes"
15392 then
15393 { echo "$as_me:$LINENO: checking for -ljack" >&5
15394 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15395 if test "${ac_cv_lib_soname_jack+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-ljack $LIBS"
15400 cat >conftest.$ac_ext <<_ACEOF
15401 /* confdefs.h. */
15402 _ACEOF
15403 cat confdefs.h >>conftest.$ac_ext
15404 cat >>conftest.$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 #ifdef __cplusplus
15411 extern "C"
15412 #endif
15413 char jack_client_new ();
15415 main ()
15417 return jack_client_new ();
15419 return 0;
15421 _ACEOF
15422 rm -f conftest.$ac_objext conftest$ac_exeext
15423 if { (ac_try="$ac_link"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15427 esac
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_link") 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest$ac_exeext &&
15439 $as_test_x conftest$ac_exeext; then
15440 case "$LIBEXT" in
15441 dll) ;;
15442 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'` ;;
15443 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15444 esac
15445 else
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.$ac_ext >&5
15452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15453 conftest$ac_exeext conftest.$ac_ext
15454 LIBS=$ac_check_soname_save_LIBS
15456 if test "x$ac_cv_lib_soname_jack" = "x"; then
15457 { echo "$as_me:$LINENO: result: not found" >&5
15458 echo "${ECHO_T}not found" >&6; }
15460 else
15461 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15462 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15466 _ACEOF
15473 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15474 then
15475 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15476 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15477 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15478 echo $ECHO_N "(cached) $ECHO_C" >&6
15479 else
15480 ac_check_soname_save_LIBS=$LIBS
15481 LIBS="-lfontconfig $LIBS"
15482 cat >conftest.$ac_ext <<_ACEOF
15483 /* confdefs.h. */
15484 _ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 #ifdef __cplusplus
15493 extern "C"
15494 #endif
15495 char FcInit ();
15497 main ()
15499 return FcInit ();
15501 return 0;
15503 _ACEOF
15504 rm -f conftest.$ac_objext conftest$ac_exeext
15505 if { (ac_try="$ac_link"
15506 case "(($ac_try" in
15507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15508 *) ac_try_echo=$ac_try;;
15509 esac
15510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15511 (eval "$ac_link") 2>conftest.er1
15512 ac_status=$?
15513 grep -v '^ *+' conftest.er1 >conftest.err
15514 rm -f conftest.er1
15515 cat conftest.err >&5
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } && {
15518 test -z "$ac_c_werror_flag" ||
15519 test ! -s conftest.err
15520 } && test -s conftest$ac_exeext &&
15521 $as_test_x conftest$ac_exeext; then
15522 case "$LIBEXT" in
15523 dll) ;;
15524 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'` ;;
15525 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15526 esac
15527 else
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15535 conftest$ac_exeext conftest.$ac_ext
15536 LIBS=$ac_check_soname_save_LIBS
15538 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15539 { echo "$as_me:$LINENO: result: not found" >&5
15540 echo "${ECHO_T}not found" >&6; }
15542 else
15543 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15544 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15546 cat >>confdefs.h <<_ACEOF
15547 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15548 _ACEOF
15553 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15554 then
15555 ac_save_CPPFLAGS="$CPPFLAGS"
15556 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15557 $as_unset ac_cv_header_fontconfig_fontconfig_h
15559 for ac_header in fontconfig/fontconfig.h
15561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 ac_res=`eval echo '${'$as_ac_Header'}'`
15569 { echo "$as_me:$LINENO: result: $ac_res" >&5
15570 echo "${ECHO_T}$ac_res" >&6; }
15571 else
15572 # Is the header compilable?
15573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15582 #include <$ac_header>
15583 _ACEOF
15584 rm -f conftest.$ac_objext
15585 if { (ac_try="$ac_compile"
15586 case "(($ac_try" in
15587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15588 *) ac_try_echo=$ac_try;;
15589 esac
15590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15591 (eval "$ac_compile") 2>conftest.er1
15592 ac_status=$?
15593 grep -v '^ *+' conftest.er1 >conftest.err
15594 rm -f conftest.er1
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } && {
15598 test -z "$ac_c_werror_flag" ||
15599 test ! -s conftest.err
15600 } && test -s conftest.$ac_objext; then
15601 ac_header_compiler=yes
15602 else
15603 echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.$ac_ext >&5
15606 ac_header_compiler=no
15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15611 echo "${ECHO_T}$ac_header_compiler" >&6; }
15613 # Is the header present?
15614 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15616 cat >conftest.$ac_ext <<_ACEOF
15617 /* confdefs.h. */
15618 _ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622 #include <$ac_header>
15623 _ACEOF
15624 if { (ac_try="$ac_cpp conftest.$ac_ext"
15625 case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15628 esac
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15631 ac_status=$?
15632 grep -v '^ *+' conftest.er1 >conftest.err
15633 rm -f conftest.er1
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } >/dev/null && {
15637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 }; then
15640 ac_header_preproc=yes
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15645 ac_header_preproc=no
15648 rm -f conftest.err conftest.$ac_ext
15649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15650 echo "${ECHO_T}$ac_header_preproc" >&6; }
15652 # So? What about this header?
15653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15654 yes:no: )
15655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15659 ac_header_preproc=yes
15661 no:yes:* )
15662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15674 ( cat <<\_ASBOX
15675 ## ------------------------------------ ##
15676 ## Report this to wine-devel@winehq.org ##
15677 ## ------------------------------------ ##
15678 _ASBOX
15679 ) | sed "s/^/$as_me: WARNING: /" >&2
15681 esac
15682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15686 else
15687 eval "$as_ac_Header=\$ac_header_preproc"
15689 ac_res=`eval echo '${'$as_ac_Header'}'`
15690 { echo "$as_me:$LINENO: result: $ac_res" >&5
15691 echo "${ECHO_T}$ac_res" >&6; }
15694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15695 cat >>confdefs.h <<_ACEOF
15696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15697 _ACEOF
15701 done
15703 CPPFLAGS="$ac_save_CPPFLAGS"
15704 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15705 then
15706 FONTCONFIGINCL="$X_CFLAGS"
15708 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15709 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15710 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15711 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 else
15713 ac_check_soname_save_LIBS=$LIBS
15714 LIBS="-lfontconfig $X_LIBS $LIBS"
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15722 /* Override any GCC internal prototype to avoid an error.
15723 Use char because int might match the return type of a GCC
15724 builtin and then its argument prototype would still apply. */
15725 #ifdef __cplusplus
15726 extern "C"
15727 #endif
15728 char FcInit ();
15730 main ()
15732 return FcInit ();
15734 return 0;
15736 _ACEOF
15737 rm -f conftest.$ac_objext conftest$ac_exeext
15738 if { (ac_try="$ac_link"
15739 case "(($ac_try" in
15740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15742 esac
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_link") 2>conftest.er1
15745 ac_status=$?
15746 grep -v '^ *+' conftest.er1 >conftest.err
15747 rm -f conftest.er1
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } && {
15751 test -z "$ac_c_werror_flag" ||
15752 test ! -s conftest.err
15753 } && test -s conftest$ac_exeext &&
15754 $as_test_x conftest$ac_exeext; then
15755 case "$LIBEXT" in
15756 dll) ;;
15757 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'` ;;
15758 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15759 esac
15760 else
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15768 conftest$ac_exeext conftest.$ac_ext
15769 LIBS=$ac_check_soname_save_LIBS
15771 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15772 { echo "$as_me:$LINENO: result: not found" >&5
15773 echo "${ECHO_T}not found" >&6; }
15775 else
15776 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15777 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15779 cat >>confdefs.h <<_ACEOF
15780 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15781 _ACEOF
15788 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15789 case "x$with_fontconfig" in
15790 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15791 xno) ;;
15792 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15793 This is an error since --with-fontconfig was requested." >&5
15794 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15795 This is an error since --with-fontconfig was requested." >&2;}
15796 { (exit 1); exit 1; }; } ;;
15797 esac
15801 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15802 then
15803 { echo "$as_me:$LINENO: checking for -lssl" >&5
15804 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15805 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808 ac_check_soname_save_LIBS=$LIBS
15809 LIBS="-lssl $LIBS"
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15817 /* Override any GCC internal prototype to avoid an error.
15818 Use char because int might match the return type of a GCC
15819 builtin and then its argument prototype would still apply. */
15820 #ifdef __cplusplus
15821 extern "C"
15822 #endif
15823 char SSL_library_init ();
15825 main ()
15827 return SSL_library_init ();
15829 return 0;
15831 _ACEOF
15832 rm -f conftest.$ac_objext conftest$ac_exeext
15833 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
15840 ac_status=$?
15841 grep -v '^ *+' conftest.er1 >conftest.err
15842 rm -f conftest.er1
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest$ac_exeext &&
15849 $as_test_x conftest$ac_exeext; then
15850 case "$LIBEXT" in
15851 dll) ;;
15852 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'` ;;
15853 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15854 esac
15855 else
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15863 conftest$ac_exeext conftest.$ac_ext
15864 LIBS=$ac_check_soname_save_LIBS
15866 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15867 { echo "$as_me:$LINENO: result: not found" >&5
15868 echo "${ECHO_T}not found" >&6; }
15870 else
15871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15872 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15874 cat >>confdefs.h <<_ACEOF
15875 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15876 _ACEOF
15881 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15882 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15883 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 else
15886 ac_check_soname_save_LIBS=$LIBS
15887 LIBS="-lcrypto $LIBS"
15888 cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 #ifdef __cplusplus
15899 extern "C"
15900 #endif
15901 char BIO_new_socket ();
15903 main ()
15905 return BIO_new_socket ();
15907 return 0;
15909 _ACEOF
15910 rm -f conftest.$ac_objext conftest$ac_exeext
15911 if { (ac_try="$ac_link"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15915 esac
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_link") 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } && {
15924 test -z "$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 } && test -s conftest$ac_exeext &&
15927 $as_test_x conftest$ac_exeext; then
15928 case "$LIBEXT" in
15929 dll) ;;
15930 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'` ;;
15931 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15932 esac
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15941 conftest$ac_exeext conftest.$ac_ext
15942 LIBS=$ac_check_soname_save_LIBS
15944 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15945 { echo "$as_me:$LINENO: result: not found" >&5
15946 echo "${ECHO_T}not found" >&6; }
15948 else
15949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15950 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15952 cat >>confdefs.h <<_ACEOF
15953 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15954 _ACEOF
15960 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15961 case "x$with_openssl" in
15962 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15963 xno) ;;
15964 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15965 This is an error since --with-openssl was requested." >&5
15966 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15967 This is an error since --with-openssl was requested." >&2;}
15968 { (exit 1); exit 1; }; } ;;
15969 esac
15973 if test "$ac_cv_header_jpeglib_h" = "yes"
15974 then
15975 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15976 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15977 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980 ac_check_soname_save_LIBS=$LIBS
15981 LIBS="-ljpeg $LIBS"
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15992 #ifdef __cplusplus
15993 extern "C"
15994 #endif
15995 char jpeg_start_decompress ();
15997 main ()
15999 return jpeg_start_decompress ();
16001 return 0;
16003 _ACEOF
16004 rm -f conftest.$ac_objext conftest$ac_exeext
16005 if { (ac_try="$ac_link"
16006 case "(($ac_try" in
16007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16008 *) ac_try_echo=$ac_try;;
16009 esac
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_link") 2>conftest.er1
16012 ac_status=$?
16013 grep -v '^ *+' conftest.er1 >conftest.err
16014 rm -f conftest.er1
16015 cat conftest.err >&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } && {
16018 test -z "$ac_c_werror_flag" ||
16019 test ! -s conftest.err
16020 } && test -s conftest$ac_exeext &&
16021 $as_test_x conftest$ac_exeext; then
16022 case "$LIBEXT" in
16023 dll) ;;
16024 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'` ;;
16025 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16026 esac
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16039 { echo "$as_me:$LINENO: result: not found" >&5
16040 echo "${ECHO_T}not found" >&6; }
16042 else
16043 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16044 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16046 cat >>confdefs.h <<_ACEOF
16047 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16048 _ACEOF
16054 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
16055 case "x$with_jpeg" in
16056 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
16057 xno) ;;
16058 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
16059 This is an error since --with-jpeg was requested." >&5
16060 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
16061 This is an error since --with-jpeg was requested." >&2;}
16062 { (exit 1); exit 1; }; } ;;
16063 esac
16067 if test "$ac_cv_header_png_h" = "yes"
16068 then
16069 { echo "$as_me:$LINENO: checking for -lpng" >&5
16070 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
16071 if test "${ac_cv_lib_soname_png+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 else
16074 ac_check_soname_save_LIBS=$LIBS
16075 LIBS="-lpng -lm $LIBS"
16076 cat >conftest.$ac_ext <<_ACEOF
16077 /* confdefs.h. */
16078 _ACEOF
16079 cat confdefs.h >>conftest.$ac_ext
16080 cat >>conftest.$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16083 /* Override any GCC internal prototype to avoid an error.
16084 Use char because int might match the return type of a GCC
16085 builtin and then its argument prototype would still apply. */
16086 #ifdef __cplusplus
16087 extern "C"
16088 #endif
16089 char png_create_read_struct ();
16091 main ()
16093 return png_create_read_struct ();
16095 return 0;
16097 _ACEOF
16098 rm -f conftest.$ac_objext conftest$ac_exeext
16099 if { (ac_try="$ac_link"
16100 case "(($ac_try" in
16101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16102 *) ac_try_echo=$ac_try;;
16103 esac
16104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16105 (eval "$ac_link") 2>conftest.er1
16106 ac_status=$?
16107 grep -v '^ *+' conftest.er1 >conftest.err
16108 rm -f conftest.er1
16109 cat conftest.err >&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } && {
16112 test -z "$ac_c_werror_flag" ||
16113 test ! -s conftest.err
16114 } && test -s conftest$ac_exeext &&
16115 $as_test_x conftest$ac_exeext; then
16116 case "$LIBEXT" in
16117 dll) ;;
16118 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'` ;;
16119 *) 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'` ;;
16120 esac
16121 else
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.$ac_ext >&5
16128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16129 conftest$ac_exeext conftest.$ac_ext
16130 LIBS=$ac_check_soname_save_LIBS
16132 if test "x$ac_cv_lib_soname_png" = "x"; then
16133 { echo "$as_me:$LINENO: result: not found" >&5
16134 echo "${ECHO_T}not found" >&6; }
16136 else
16137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16138 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16140 cat >>confdefs.h <<_ACEOF
16141 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16142 _ACEOF
16148 if test "x$ac_cv_lib_soname_png" = "x"; then
16149 case "x$with_png" in
16150 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16151 xno) ;;
16152 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16153 This is an error since --with-png was requested." >&5
16154 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16155 This is an error since --with-png was requested." >&2;}
16156 { (exit 1); exit 1; }; } ;;
16157 esac
16161 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16162 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16163 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 else
16166 ac_check_soname_save_LIBS=$LIBS
16167 LIBS="-lodbc $LIBS"
16168 cat >conftest.$ac_ext <<_ACEOF
16169 /* confdefs.h. */
16170 _ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16175 /* Override any GCC internal prototype to avoid an error.
16176 Use char because int might match the return type of a GCC
16177 builtin and then its argument prototype would still apply. */
16178 #ifdef __cplusplus
16179 extern "C"
16180 #endif
16181 char SQLConnect ();
16183 main ()
16185 return SQLConnect ();
16187 return 0;
16189 _ACEOF
16190 rm -f conftest.$ac_objext conftest$ac_exeext
16191 if { (ac_try="$ac_link"
16192 case "(($ac_try" in
16193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16194 *) ac_try_echo=$ac_try;;
16195 esac
16196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16197 (eval "$ac_link") 2>conftest.er1
16198 ac_status=$?
16199 grep -v '^ *+' conftest.er1 >conftest.err
16200 rm -f conftest.er1
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && {
16204 test -z "$ac_c_werror_flag" ||
16205 test ! -s conftest.err
16206 } && test -s conftest$ac_exeext &&
16207 $as_test_x conftest$ac_exeext; then
16208 case "$LIBEXT" in
16209 dll) ;;
16210 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'` ;;
16211 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16212 esac
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16221 conftest$ac_exeext conftest.$ac_ext
16222 LIBS=$ac_check_soname_save_LIBS
16224 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16225 { echo "$as_me:$LINENO: result: not found" >&5
16226 echo "${ECHO_T}not found" >&6; }
16227 cat >>confdefs.h <<_ACEOF
16228 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16229 _ACEOF
16231 else
16232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16233 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16235 cat >>confdefs.h <<_ACEOF
16236 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16237 _ACEOF
16243 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16244 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16245 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16246 "$ac_cv_header_soundcard_h" != "yes" -a \
16247 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16248 then
16249 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16253 EXTRACFLAGS=""
16255 if test "x${GCC}" = "xyes"
16256 then
16257 EXTRACFLAGS="-Wall -pipe"
16259 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16260 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16261 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 else
16264 if test "$cross_compiling" = yes; then
16265 ac_cv_c_gcc_strength_bug="yes"
16266 else
16267 cat >conftest.$ac_ext <<_ACEOF
16268 /* confdefs.h. */
16269 _ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16273 int L[4] = {0,1,2,3};
16275 main ()
16277 static int Array[3];
16278 unsigned int B = 3;
16279 int i;
16280 for(i=0; i<B; i++) Array[i] = i - 3;
16281 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16282 L[i] = 4;
16283 exit( Array[1] != -2 || L[2] != 3)
16285 return 0;
16287 _ACEOF
16288 rm -f conftest$ac_exeext
16289 if { (ac_try="$ac_link"
16290 case "(($ac_try" in
16291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16292 *) ac_try_echo=$ac_try;;
16293 esac
16294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16295 (eval "$ac_link") 2>&5
16296 ac_status=$?
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16299 { (case "(($ac_try" in
16300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16301 *) ac_try_echo=$ac_try;;
16302 esac
16303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16304 (eval "$ac_try") 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; }; then
16308 ac_cv_c_gcc_strength_bug="no"
16309 else
16310 echo "$as_me: program exited with status $ac_status" >&5
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16314 ( exit $ac_status )
16315 ac_cv_c_gcc_strength_bug="yes"
16317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16322 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16323 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16324 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16325 then
16326 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16330 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16331 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16332 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 else
16335 ac_wine_try_cflags_saved=$CFLAGS
16336 CFLAGS="$CFLAGS -fshort-wchar"
16337 cat >conftest.$ac_ext <<_ACEOF
16338 /* confdefs.h. */
16339 _ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16345 main ()
16349 return 0;
16351 _ACEOF
16352 rm -f conftest.$ac_objext conftest$ac_exeext
16353 if { (ac_try="$ac_link"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16357 esac
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_link") 2>conftest.er1
16360 ac_status=$?
16361 grep -v '^ *+' conftest.er1 >conftest.err
16362 rm -f conftest.er1
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest$ac_exeext &&
16369 $as_test_x conftest$ac_exeext; then
16370 ac_cv_cflags__fshort_wchar=yes
16371 else
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16375 ac_cv_cflags__fshort_wchar=no
16378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16379 conftest$ac_exeext conftest.$ac_ext
16380 CFLAGS=$ac_wine_try_cflags_saved
16382 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16383 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16384 if test $ac_cv_cflags__fshort_wchar = yes; then
16386 cat >>confdefs.h <<\_ACEOF
16387 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16388 _ACEOF
16392 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16393 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16394 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 else
16397 ac_wine_try_cflags_saved=$CFLAGS
16398 CFLAGS="$CFLAGS -fno-strict-aliasing"
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16407 main ()
16411 return 0;
16413 _ACEOF
16414 rm -f conftest.$ac_objext conftest$ac_exeext
16415 if { (ac_try="$ac_link"
16416 case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16419 esac
16420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 (eval "$ac_link") 2>conftest.er1
16422 ac_status=$?
16423 grep -v '^ *+' conftest.er1 >conftest.err
16424 rm -f conftest.er1
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } && {
16428 test -z "$ac_c_werror_flag" ||
16429 test ! -s conftest.err
16430 } && test -s conftest$ac_exeext &&
16431 $as_test_x conftest$ac_exeext; then
16432 ac_cv_cflags__fno_strict_aliasing=yes
16433 else
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16437 ac_cv_cflags__fno_strict_aliasing=no
16440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16441 conftest$ac_exeext conftest.$ac_ext
16442 CFLAGS=$ac_wine_try_cflags_saved
16444 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16445 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16446 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16447 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16450 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16451 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16452 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 else
16455 ac_wine_try_cflags_saved=$CFLAGS
16456 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16457 cat >conftest.$ac_ext <<_ACEOF
16458 /* confdefs.h. */
16459 _ACEOF
16460 cat confdefs.h >>conftest.$ac_ext
16461 cat >>conftest.$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16465 main ()
16469 return 0;
16471 _ACEOF
16472 rm -f conftest.$ac_objext conftest$ac_exeext
16473 if { (ac_try="$ac_link"
16474 case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16477 esac
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_link") 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } && {
16486 test -z "$ac_c_werror_flag" ||
16487 test ! -s conftest.err
16488 } && test -s conftest$ac_exeext &&
16489 $as_test_x conftest$ac_exeext; then
16490 ac_cv_cflags__Wdeclaration_after_statement=yes
16491 else
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_cflags__Wdeclaration_after_statement=no
16498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16499 conftest$ac_exeext conftest.$ac_ext
16500 CFLAGS=$ac_wine_try_cflags_saved
16502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16503 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16504 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16505 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16508 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16509 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16510 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16512 else
16513 ac_wine_try_cflags_saved=$CFLAGS
16514 CFLAGS="$CFLAGS -Wwrite-strings"
16515 cat >conftest.$ac_ext <<_ACEOF
16516 /* confdefs.h. */
16517 _ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16523 main ()
16527 return 0;
16529 _ACEOF
16530 rm -f conftest.$ac_objext conftest$ac_exeext
16531 if { (ac_try="$ac_link"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_link") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_c_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest$ac_exeext &&
16547 $as_test_x conftest$ac_exeext; then
16548 ac_cv_cflags__Wwrite_strings=yes
16549 else
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.$ac_ext >&5
16553 ac_cv_cflags__Wwrite_strings=no
16556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16557 conftest$ac_exeext conftest.$ac_ext
16558 CFLAGS=$ac_wine_try_cflags_saved
16560 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16561 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16562 if test $ac_cv_cflags__Wwrite_strings = yes; then
16563 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16566 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16567 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16568 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16569 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 else
16571 ac_wine_try_cflags_saved=$CFLAGS
16572 CFLAGS="$CFLAGS -Wtype-limits"
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16581 main ()
16585 return 0;
16587 _ACEOF
16588 rm -f conftest.$ac_objext conftest$ac_exeext
16589 if { (ac_try="$ac_link"
16590 case "(($ac_try" in
16591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16593 esac
16594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16595 (eval "$ac_link") 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } && {
16602 test -z "$ac_c_werror_flag" ||
16603 test ! -s conftest.err
16604 } && test -s conftest$ac_exeext &&
16605 $as_test_x conftest$ac_exeext; then
16606 ac_cv_cflags__Wtype_limits=yes
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16611 ac_cv_cflags__Wtype_limits=no
16614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16615 conftest$ac_exeext conftest.$ac_ext
16616 CFLAGS=$ac_wine_try_cflags_saved
16618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16619 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16620 if test $ac_cv_cflags__Wtype_limits = yes; then
16621 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16625 saved_CFLAGS="$CFLAGS"
16626 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16627 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16628 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16629 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 else
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 #include <string.h>
16640 main ()
16644 return 0;
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 ac_cv_c_string_h_warnings=no
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16669 ac_cv_c_string_h_warnings=yes
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16675 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16676 CFLAGS="$saved_CFLAGS"
16677 if test "$ac_cv_c_string_h_warnings" = "no"
16678 then
16679 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16682 BUILTINFLAG=""
16684 saved_CFLAGS="$CFLAGS"
16685 CFLAGS="$CFLAGS -Werror"
16686 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16687 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16688 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 else
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16699 main ()
16701 int iswlower(unsigned short);
16703 return 0;
16705 _ACEOF
16706 rm -f conftest.$ac_objext
16707 if { (ac_try="$ac_compile"
16708 case "(($ac_try" in
16709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16711 esac
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_compile") 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest.$ac_objext; then
16723 ac_cv_c_builtin_wchar_ctype=no
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_cv_c_builtin_wchar_ctype=yes
16731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16734 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16735 CFLAGS="$saved_CFLAGS"
16736 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16737 then
16738 BUILTINFLAG="-fno-builtin"
16743 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16744 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16745 if test "${ac_cv_asm_func_def+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748 cat >conftest.$ac_ext <<_ACEOF
16749 /* confdefs.h. */
16750 _ACEOF
16751 cat confdefs.h >>conftest.$ac_ext
16752 cat >>conftest.$ac_ext <<_ACEOF
16753 /* end confdefs.h. */
16756 main ()
16758 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16760 return 0;
16762 _ACEOF
16763 rm -f conftest.$ac_objext conftest$ac_exeext
16764 if { (ac_try="$ac_link"
16765 case "(($ac_try" in
16766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16767 *) ac_try_echo=$ac_try;;
16768 esac
16769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16770 (eval "$ac_link") 2>conftest.er1
16771 ac_status=$?
16772 grep -v '^ *+' conftest.er1 >conftest.err
16773 rm -f conftest.er1
16774 cat conftest.err >&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } && {
16777 test -z "$ac_c_werror_flag" ||
16778 test ! -s conftest.err
16779 } && test -s conftest$ac_exeext &&
16780 $as_test_x conftest$ac_exeext; then
16781 ac_cv_asm_func_def=".def"
16782 else
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16794 main ()
16796 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16798 return 0;
16800 _ACEOF
16801 rm -f conftest.$ac_objext conftest$ac_exeext
16802 if { (ac_try="$ac_link"
16803 case "(($ac_try" in
16804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16806 esac
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_link") 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } && {
16815 test -z "$ac_c_werror_flag" ||
16816 test ! -s conftest.err
16817 } && test -s conftest$ac_exeext &&
16818 $as_test_x conftest$ac_exeext; then
16819 ac_cv_asm_func_def=".type @function"
16820 else
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16832 main ()
16834 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16836 return 0;
16838 _ACEOF
16839 rm -f conftest.$ac_objext conftest$ac_exeext
16840 if { (ac_try="$ac_link"
16841 case "(($ac_try" in
16842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16843 *) ac_try_echo=$ac_try;;
16844 esac
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_link") 2>conftest.er1
16847 ac_status=$?
16848 grep -v '^ *+' conftest.er1 >conftest.err
16849 rm -f conftest.er1
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_c_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest$ac_exeext &&
16856 $as_test_x conftest$ac_exeext; then
16857 ac_cv_asm_func_def=".type 2"
16858 else
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16862 ac_cv_asm_func_def="unknown"
16865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16866 conftest$ac_exeext conftest.$ac_ext
16869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16870 conftest$ac_exeext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16874 conftest$ac_exeext conftest.$ac_ext
16876 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16877 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16881 case "$ac_cv_asm_func_def" in
16882 ".def")
16883 cat >>confdefs.h <<\_ACEOF
16884 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16885 _ACEOF
16887 ".type @function")
16888 cat >>confdefs.h <<\_ACEOF
16889 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16890 _ACEOF
16892 ".type 2")
16893 cat >>confdefs.h <<\_ACEOF
16894 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16895 _ACEOF
16898 cat >>confdefs.h <<\_ACEOF
16899 #define __ASM_FUNC(name) ""
16900 _ACEOF
16902 esac
16905 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16906 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16907 if test "${ac_cv_c_extern_prefix+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 else
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h. */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 extern int ac_test;
16918 main ()
16920 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16922 return 0;
16924 _ACEOF
16925 rm -f conftest.$ac_objext conftest$ac_exeext
16926 if { (ac_try="$ac_link"
16927 case "(($ac_try" in
16928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929 *) ac_try_echo=$ac_try;;
16930 esac
16931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16932 (eval "$ac_link") 2>conftest.er1
16933 ac_status=$?
16934 grep -v '^ *+' conftest.er1 >conftest.err
16935 rm -f conftest.er1
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } && {
16939 test -z "$ac_c_werror_flag" ||
16940 test ! -s conftest.err
16941 } && test -s conftest$ac_exeext &&
16942 $as_test_x conftest$ac_exeext; then
16943 ac_cv_c_extern_prefix="yes"
16944 else
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.$ac_ext >&5
16948 ac_cv_c_extern_prefix="no"
16951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16952 conftest$ac_exeext conftest.$ac_ext
16954 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16955 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16959 if test "$ac_cv_c_extern_prefix" = "yes"
16960 then
16961 cat >>confdefs.h <<\_ACEOF
16962 #define __ASM_NAME(name) "_" name
16963 _ACEOF
16965 else
16966 cat >>confdefs.h <<\_ACEOF
16967 #define __ASM_NAME(name) name
16968 _ACEOF
16973 LDPATH=""
16975 case $build_os in
16976 cygwin*|mingw32*)
16977 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16979 darwin*|macosx*)
16981 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16982 then
16983 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16987 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16989 esac
16991 case $host_os in
16992 mingw32*)
16993 CRTLIBS="-lmsvcrt"
16995 SOCKETLIBS="-lws2_32"
16998 esac
17000 MAIN_BINARY="wine-pthread"
17001 case $host_cpu in
17002 *i[3456789]86*)
17003 case $host_os in
17004 linux* | k*bsd*-gnu)
17005 MAIN_BINARY="wine-glibc"
17007 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17009 freebsd*)
17010 MAIN_BINARY="wine-freebsd"
17012 EXTRA_BINARIES="wine-pthread"
17014 esac
17016 esac
17088 for ac_func in \
17089 _pclose \
17090 _popen \
17091 _snprintf \
17092 _spawnvp \
17093 _strdup \
17094 _stricmp \
17095 _strnicmp \
17096 _strtoi64 \
17097 _strtoui64 \
17098 _vsnprintf \
17099 asctime_r \
17100 chsize \
17101 clone \
17102 dlopen \
17103 epoll_create \
17104 ffs \
17105 finite \
17106 fork \
17107 fpclass \
17108 fstatfs \
17109 fstatvfs \
17110 ftruncate \
17111 futimes \
17112 futimesat \
17113 getdirentries \
17114 getopt_long \
17115 getpagesize \
17116 getpwuid \
17117 gettid \
17118 gettimeofday \
17119 getuid \
17120 inet_pton \
17121 kqueue \
17122 lstat \
17123 memmove \
17124 mmap \
17125 pclose \
17126 poll \
17127 popen \
17128 prctl \
17129 pread \
17130 pwrite \
17131 readlink \
17132 rfork \
17133 sched_yield \
17134 select \
17135 setproctitle \
17136 setrlimit \
17137 settimeofday \
17138 sigaltstack \
17139 sigprocmask \
17140 snprintf \
17141 spawnvp \
17142 statfs \
17143 statvfs \
17144 strcasecmp \
17145 strdup \
17146 strerror \
17147 strncasecmp \
17148 strtold \
17149 strtoll \
17150 strtoull \
17151 tcgetattr \
17152 thr_kill2 \
17153 timegm \
17154 usleep \
17155 vsnprintf \
17156 wait4 \
17157 waitpid \
17160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 else
17166 cat >conftest.$ac_ext <<_ACEOF
17167 /* confdefs.h. */
17168 _ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17174 #define $ac_func innocuous_$ac_func
17176 /* System header to define __stub macros and hopefully few prototypes,
17177 which can conflict with char $ac_func (); below.
17178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17179 <limits.h> exists even on freestanding compilers. */
17181 #ifdef __STDC__
17182 # include <limits.h>
17183 #else
17184 # include <assert.h>
17185 #endif
17187 #undef $ac_func
17189 /* Override any GCC internal prototype to avoid an error.
17190 Use char because int might match the return type of a GCC
17191 builtin and then its argument prototype would still apply. */
17192 #ifdef __cplusplus
17193 extern "C"
17194 #endif
17195 char $ac_func ();
17196 /* The GNU C library defines this for functions which it implements
17197 to always fail with ENOSYS. Some functions are actually named
17198 something starting with __ and the normal name is an alias. */
17199 #if defined __stub_$ac_func || defined __stub___$ac_func
17200 choke me
17201 #endif
17204 main ()
17206 return $ac_func ();
17208 return 0;
17210 _ACEOF
17211 rm -f conftest.$ac_objext conftest$ac_exeext
17212 if { (ac_try="$ac_link"
17213 case "(($ac_try" in
17214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17215 *) ac_try_echo=$ac_try;;
17216 esac
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_link") 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } && {
17225 test -z "$ac_c_werror_flag" ||
17226 test ! -s conftest.err
17227 } && test -s conftest$ac_exeext &&
17228 $as_test_x conftest$ac_exeext; then
17229 eval "$as_ac_var=yes"
17230 else
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17234 eval "$as_ac_var=no"
17237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17238 conftest$ac_exeext conftest.$ac_ext
17240 ac_res=`eval echo '${'$as_ac_var'}'`
17241 { echo "$as_me:$LINENO: result: $ac_res" >&5
17242 echo "${ECHO_T}$ac_res" >&6; }
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h <<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17249 done
17252 if test "$ac_cv_func_dlopen" = no
17253 then
17254 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17255 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17257 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 else
17259 ac_check_lib_save_LIBS=$LIBS
17260 LIBS="-ldl $LIBS"
17261 cat >conftest.$ac_ext <<_ACEOF
17262 /* confdefs.h. */
17263 _ACEOF
17264 cat confdefs.h >>conftest.$ac_ext
17265 cat >>conftest.$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17268 /* Override any GCC internal prototype to avoid an error.
17269 Use char because int might match the return type of a GCC
17270 builtin and then its argument prototype would still apply. */
17271 #ifdef __cplusplus
17272 extern "C"
17273 #endif
17274 char dlopen ();
17276 main ()
17278 return dlopen ();
17280 return 0;
17282 _ACEOF
17283 rm -f conftest.$ac_objext conftest$ac_exeext
17284 if { (ac_try="$ac_link"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17288 esac
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_link") 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest$ac_exeext &&
17300 $as_test_x conftest$ac_exeext; then
17301 ac_cv_lib_dl_dlopen=yes
17302 else
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.$ac_ext >&5
17306 ac_cv_lib_dl_dlopen=no
17309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17310 conftest$ac_exeext conftest.$ac_ext
17311 LIBS=$ac_check_lib_save_LIBS
17313 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17314 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17315 if test $ac_cv_lib_dl_dlopen = yes; then
17316 cat >>confdefs.h <<\_ACEOF
17317 #define HAVE_DLOPEN 1
17318 _ACEOF
17319 LIBDL="-ldl"
17324 ac_wine_check_funcs_save_LIBS="$LIBS"
17325 LIBS="$LIBS $LIBDL"
17327 for ac_func in dladdr
17329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17330 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 else
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h. */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17343 #define $ac_func innocuous_$ac_func
17345 /* System header to define __stub macros and hopefully few prototypes,
17346 which can conflict with char $ac_func (); below.
17347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17348 <limits.h> exists even on freestanding compilers. */
17350 #ifdef __STDC__
17351 # include <limits.h>
17352 #else
17353 # include <assert.h>
17354 #endif
17356 #undef $ac_func
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17361 #ifdef __cplusplus
17362 extern "C"
17363 #endif
17364 char $ac_func ();
17365 /* The GNU C library defines this for functions which it implements
17366 to always fail with ENOSYS. Some functions are actually named
17367 something starting with __ and the normal name is an alias. */
17368 #if defined __stub_$ac_func || defined __stub___$ac_func
17369 choke me
17370 #endif
17373 main ()
17375 return $ac_func ();
17377 return 0;
17379 _ACEOF
17380 rm -f conftest.$ac_objext conftest$ac_exeext
17381 if { (ac_try="$ac_link"
17382 case "(($ac_try" in
17383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17384 *) ac_try_echo=$ac_try;;
17385 esac
17386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17387 (eval "$ac_link") 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } && {
17394 test -z "$ac_c_werror_flag" ||
17395 test ! -s conftest.err
17396 } && test -s conftest$ac_exeext &&
17397 $as_test_x conftest$ac_exeext; then
17398 eval "$as_ac_var=yes"
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17403 eval "$as_ac_var=no"
17406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17407 conftest$ac_exeext conftest.$ac_ext
17409 ac_res=`eval echo '${'$as_ac_var'}'`
17410 { echo "$as_me:$LINENO: result: $ac_res" >&5
17411 echo "${ECHO_T}$ac_res" >&6; }
17412 if test `eval echo '${'$as_ac_var'}'` = yes; then
17413 cat >>confdefs.h <<_ACEOF
17414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17415 _ACEOF
17418 done
17420 LIBS="$ac_wine_check_funcs_save_LIBS"
17422 if test "$ac_cv_func_poll" = no
17423 then
17424 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17425 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17426 if test "${ac_cv_lib_poll_poll+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 else
17429 ac_check_lib_save_LIBS=$LIBS
17430 LIBS="-lpoll $LIBS"
17431 cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h. */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17441 #ifdef __cplusplus
17442 extern "C"
17443 #endif
17444 char poll ();
17446 main ()
17448 return poll ();
17450 return 0;
17452 _ACEOF
17453 rm -f conftest.$ac_objext conftest$ac_exeext
17454 if { (ac_try="$ac_link"
17455 case "(($ac_try" in
17456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17457 *) ac_try_echo=$ac_try;;
17458 esac
17459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17460 (eval "$ac_link") 2>conftest.er1
17461 ac_status=$?
17462 grep -v '^ *+' conftest.er1 >conftest.err
17463 rm -f conftest.er1
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } && {
17467 test -z "$ac_c_werror_flag" ||
17468 test ! -s conftest.err
17469 } && test -s conftest$ac_exeext &&
17470 $as_test_x conftest$ac_exeext; then
17471 ac_cv_lib_poll_poll=yes
17472 else
17473 echo "$as_me: failed program was:" >&5
17474 sed 's/^/| /' conftest.$ac_ext >&5
17476 ac_cv_lib_poll_poll=no
17479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17480 conftest$ac_exeext conftest.$ac_ext
17481 LIBS=$ac_check_lib_save_LIBS
17483 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17484 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17485 if test $ac_cv_lib_poll_poll = yes; then
17486 cat >>confdefs.h <<\_ACEOF
17487 #define HAVE_POLL 1
17488 _ACEOF
17489 LIBPOLL="-lpoll"
17495 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17496 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17497 if test "${ac_cv_search_gethostbyname+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500 ac_func_search_save_LIBS=$LIBS
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h. */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17508 /* Override any GCC internal prototype to avoid an error.
17509 Use char because int might match the return type of a GCC
17510 builtin and then its argument prototype would still apply. */
17511 #ifdef __cplusplus
17512 extern "C"
17513 #endif
17514 char gethostbyname ();
17516 main ()
17518 return gethostbyname ();
17520 return 0;
17522 _ACEOF
17523 for ac_lib in '' nsl; do
17524 if test -z "$ac_lib"; then
17525 ac_res="none required"
17526 else
17527 ac_res=-l$ac_lib
17528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (ac_try="$ac_link"
17532 case "(($ac_try" in
17533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17534 *) ac_try_echo=$ac_try;;
17535 esac
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_link") 2>conftest.er1
17538 ac_status=$?
17539 grep -v '^ *+' conftest.er1 >conftest.err
17540 rm -f conftest.er1
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } && {
17544 test -z "$ac_c_werror_flag" ||
17545 test ! -s conftest.err
17546 } && test -s conftest$ac_exeext &&
17547 $as_test_x conftest$ac_exeext; then
17548 ac_cv_search_gethostbyname=$ac_res
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17557 conftest$ac_exeext
17558 if test "${ac_cv_search_gethostbyname+set}" = set; then
17559 break
17561 done
17562 if test "${ac_cv_search_gethostbyname+set}" = set; then
17564 else
17565 ac_cv_search_gethostbyname=no
17567 rm conftest.$ac_ext
17568 LIBS=$ac_func_search_save_LIBS
17570 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17571 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17572 ac_res=$ac_cv_search_gethostbyname
17573 if test "$ac_res" != no; then
17574 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17579 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17580 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17581 if test "${ac_cv_search_connect+set}" = set; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17583 else
17584 ac_func_search_save_LIBS=$LIBS
17585 cat >conftest.$ac_ext <<_ACEOF
17586 /* confdefs.h. */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17592 /* Override any GCC internal prototype to avoid an error.
17593 Use char because int might match the return type of a GCC
17594 builtin and then its argument prototype would still apply. */
17595 #ifdef __cplusplus
17596 extern "C"
17597 #endif
17598 char connect ();
17600 main ()
17602 return connect ();
17604 return 0;
17606 _ACEOF
17607 for ac_lib in '' socket; do
17608 if test -z "$ac_lib"; then
17609 ac_res="none required"
17610 else
17611 ac_res=-l$ac_lib
17612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (ac_try="$ac_link"
17616 case "(($ac_try" in
17617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17619 esac
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_link") 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } && {
17628 test -z "$ac_c_werror_flag" ||
17629 test ! -s conftest.err
17630 } && test -s conftest$ac_exeext &&
17631 $as_test_x conftest$ac_exeext; then
17632 ac_cv_search_connect=$ac_res
17633 else
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.$ac_ext >&5
17640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17641 conftest$ac_exeext
17642 if test "${ac_cv_search_connect+set}" = set; then
17643 break
17645 done
17646 if test "${ac_cv_search_connect+set}" = set; then
17648 else
17649 ac_cv_search_connect=no
17651 rm conftest.$ac_ext
17652 LIBS=$ac_func_search_save_LIBS
17654 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17655 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17656 ac_res=$ac_cv_search_connect
17657 if test "$ac_res" != no; then
17658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17663 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17664 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17665 if test "${ac_cv_search_inet_aton+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17667 else
17668 ac_func_search_save_LIBS=$LIBS
17669 cat >conftest.$ac_ext <<_ACEOF
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17676 /* Override any GCC internal prototype to avoid an error.
17677 Use char because int might match the return type of a GCC
17678 builtin and then its argument prototype would still apply. */
17679 #ifdef __cplusplus
17680 extern "C"
17681 #endif
17682 char inet_aton ();
17684 main ()
17686 return inet_aton ();
17688 return 0;
17690 _ACEOF
17691 for ac_lib in '' resolv; do
17692 if test -z "$ac_lib"; then
17693 ac_res="none required"
17694 else
17695 ac_res=-l$ac_lib
17696 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17698 rm -f conftest.$ac_objext conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest$ac_exeext &&
17715 $as_test_x conftest$ac_exeext; then
17716 ac_cv_search_inet_aton=$ac_res
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17725 conftest$ac_exeext
17726 if test "${ac_cv_search_inet_aton+set}" = set; then
17727 break
17729 done
17730 if test "${ac_cv_search_inet_aton+set}" = set; then
17732 else
17733 ac_cv_search_inet_aton=no
17735 rm conftest.$ac_ext
17736 LIBS=$ac_func_search_save_LIBS
17738 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17739 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17740 ac_res=$ac_cv_search_inet_aton
17741 if test "$ac_res" != no; then
17742 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17755 for ac_func in \
17756 getaddrinfo \
17757 getnameinfo \
17758 getnetbyname \
17759 getprotobyname \
17760 getprotobynumber \
17761 getservbyport \
17762 inet_network \
17763 sendmsg \
17766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17767 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17769 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17772 cat >conftest.$ac_ext <<_ACEOF
17773 /* confdefs.h. */
17774 _ACEOF
17775 cat confdefs.h >>conftest.$ac_ext
17776 cat >>conftest.$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17780 #define $ac_func innocuous_$ac_func
17782 /* System header to define __stub macros and hopefully few prototypes,
17783 which can conflict with char $ac_func (); below.
17784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17785 <limits.h> exists even on freestanding compilers. */
17787 #ifdef __STDC__
17788 # include <limits.h>
17789 #else
17790 # include <assert.h>
17791 #endif
17793 #undef $ac_func
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17798 #ifdef __cplusplus
17799 extern "C"
17800 #endif
17801 char $ac_func ();
17802 /* The GNU C library defines this for functions which it implements
17803 to always fail with ENOSYS. Some functions are actually named
17804 something starting with __ and the normal name is an alias. */
17805 #if defined __stub_$ac_func || defined __stub___$ac_func
17806 choke me
17807 #endif
17810 main ()
17812 return $ac_func ();
17814 return 0;
17816 _ACEOF
17817 rm -f conftest.$ac_objext conftest$ac_exeext
17818 if { (ac_try="$ac_link"
17819 case "(($ac_try" in
17820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17822 esac
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_link") 2>conftest.er1
17825 ac_status=$?
17826 grep -v '^ *+' conftest.er1 >conftest.err
17827 rm -f conftest.er1
17828 cat conftest.err >&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } && {
17831 test -z "$ac_c_werror_flag" ||
17832 test ! -s conftest.err
17833 } && test -s conftest$ac_exeext &&
17834 $as_test_x conftest$ac_exeext; then
17835 eval "$as_ac_var=yes"
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 eval "$as_ac_var=no"
17843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17844 conftest$ac_exeext conftest.$ac_ext
17846 ac_res=`eval echo '${'$as_ac_var'}'`
17847 { echo "$as_me:$LINENO: result: $ac_res" >&5
17848 echo "${ECHO_T}$ac_res" >&6; }
17849 if test `eval echo '${'$as_ac_var'}'` = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17852 _ACEOF
17855 done
17859 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17860 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17861 if test "${ac_cv_c_const+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 else
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17872 main ()
17874 /* FIXME: Include the comments suggested by Paul. */
17875 #ifndef __cplusplus
17876 /* Ultrix mips cc rejects this. */
17877 typedef int charset[2];
17878 const charset cs;
17879 /* SunOS 4.1.1 cc rejects this. */
17880 char const *const *pcpcc;
17881 char **ppc;
17882 /* NEC SVR4.0.2 mips cc rejects this. */
17883 struct point {int x, y;};
17884 static struct point const zero = {0,0};
17885 /* AIX XL C 1.02.0.0 rejects this.
17886 It does not let you subtract one const X* pointer from another in
17887 an arm of an if-expression whose if-part is not a constant
17888 expression */
17889 const char *g = "string";
17890 pcpcc = &g + (g ? g-g : 0);
17891 /* HPUX 7.0 cc rejects these. */
17892 ++pcpcc;
17893 ppc = (char**) pcpcc;
17894 pcpcc = (char const *const *) ppc;
17895 { /* SCO 3.2v4 cc rejects this. */
17896 char *t;
17897 char const *s = 0 ? (char *) 0 : (char const *) 0;
17899 *t++ = 0;
17900 if (s) return 0;
17902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17903 int x[] = {25, 17};
17904 const int *foo = &x[0];
17905 ++foo;
17907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17908 typedef const int *iptr;
17909 iptr p = 0;
17910 ++p;
17912 { /* AIX XL C 1.02.0.0 rejects this saying
17913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17914 struct s { int j; const int *ap[3]; };
17915 struct s *b; b->j = 5;
17917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17918 const int foo = 10;
17919 if (!foo) return 0;
17921 return !cs[0] && !zero.x;
17922 #endif
17925 return 0;
17927 _ACEOF
17928 rm -f conftest.$ac_objext
17929 if { (ac_try="$ac_compile"
17930 case "(($ac_try" in
17931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17932 *) ac_try_echo=$ac_try;;
17933 esac
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_compile") 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } && {
17942 test -z "$ac_c_werror_flag" ||
17943 test ! -s conftest.err
17944 } && test -s conftest.$ac_objext; then
17945 ac_cv_c_const=yes
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17950 ac_cv_c_const=no
17953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17956 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17957 if test $ac_cv_c_const = no; then
17959 cat >>confdefs.h <<\_ACEOF
17960 #define const
17961 _ACEOF
17965 { echo "$as_me:$LINENO: checking for inline" >&5
17966 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17967 if test "${ac_cv_c_inline+set}" = set; then
17968 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 else
17970 ac_cv_c_inline=no
17971 for ac_kw in inline __inline__ __inline; do
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 #ifndef __cplusplus
17979 typedef int foo_t;
17980 static $ac_kw foo_t static_foo () {return 0; }
17981 $ac_kw foo_t foo () {return 0; }
17982 #endif
17984 _ACEOF
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17990 esac
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 ac_cv_c_inline=$ac_kw
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011 test "$ac_cv_c_inline" != no && break
18012 done
18015 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18016 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18019 case $ac_cv_c_inline in
18020 inline | yes) ;;
18022 case $ac_cv_c_inline in
18023 no) ac_val=;;
18024 *) ac_val=$ac_cv_c_inline;;
18025 esac
18026 cat >>confdefs.h <<_ACEOF
18027 #ifndef __cplusplus
18028 #define inline $ac_val
18029 #endif
18030 _ACEOF
18032 esac
18034 { echo "$as_me:$LINENO: checking for mode_t" >&5
18035 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18036 if test "${ac_cv_type_mode_t+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 else
18039 cat >conftest.$ac_ext <<_ACEOF
18040 /* confdefs.h. */
18041 _ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 $ac_includes_default
18046 typedef mode_t ac__type_new_;
18048 main ()
18050 if ((ac__type_new_ *) 0)
18051 return 0;
18052 if (sizeof (ac__type_new_))
18053 return 0;
18055 return 0;
18057 _ACEOF
18058 rm -f conftest.$ac_objext
18059 if { (ac_try="$ac_compile"
18060 case "(($ac_try" in
18061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18062 *) ac_try_echo=$ac_try;;
18063 esac
18064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18065 (eval "$ac_compile") 2>conftest.er1
18066 ac_status=$?
18067 grep -v '^ *+' conftest.er1 >conftest.err
18068 rm -f conftest.er1
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } && {
18072 test -z "$ac_c_werror_flag" ||
18073 test ! -s conftest.err
18074 } && test -s conftest.$ac_objext; then
18075 ac_cv_type_mode_t=yes
18076 else
18077 echo "$as_me: failed program was:" >&5
18078 sed 's/^/| /' conftest.$ac_ext >&5
18080 ac_cv_type_mode_t=no
18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18086 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18087 if test $ac_cv_type_mode_t = yes; then
18089 cat >>confdefs.h <<_ACEOF
18090 #define HAVE_MODE_T 1
18091 _ACEOF
18095 { echo "$as_me:$LINENO: checking for off_t" >&5
18096 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18097 if test "${ac_cv_type_off_t+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 else
18100 cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18107 typedef off_t ac__type_new_;
18109 main ()
18111 if ((ac__type_new_ *) 0)
18112 return 0;
18113 if (sizeof (ac__type_new_))
18114 return 0;
18116 return 0;
18118 _ACEOF
18119 rm -f conftest.$ac_objext
18120 if { (ac_try="$ac_compile"
18121 case "(($ac_try" in
18122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18124 esac
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_compile") 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && {
18133 test -z "$ac_c_werror_flag" ||
18134 test ! -s conftest.err
18135 } && test -s conftest.$ac_objext; then
18136 ac_cv_type_off_t=yes
18137 else
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.$ac_ext >&5
18141 ac_cv_type_off_t=no
18144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18147 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18148 if test $ac_cv_type_off_t = yes; then
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_OFF_T 1
18152 _ACEOF
18156 { echo "$as_me:$LINENO: checking for pid_t" >&5
18157 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18158 if test "${ac_cv_type_pid_t+set}" = set; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 else
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 $ac_includes_default
18168 typedef pid_t ac__type_new_;
18170 main ()
18172 if ((ac__type_new_ *) 0)
18173 return 0;
18174 if (sizeof (ac__type_new_))
18175 return 0;
18177 return 0;
18179 _ACEOF
18180 rm -f conftest.$ac_objext
18181 if { (ac_try="$ac_compile"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18185 esac
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_compile") 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_c_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest.$ac_objext; then
18197 ac_cv_type_pid_t=yes
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18202 ac_cv_type_pid_t=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18208 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18209 if test $ac_cv_type_pid_t = yes; then
18211 cat >>confdefs.h <<_ACEOF
18212 #define HAVE_PID_T 1
18213 _ACEOF
18217 { echo "$as_me:$LINENO: checking for size_t" >&5
18218 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18219 if test "${ac_cv_type_size_t+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18222 cat >conftest.$ac_ext <<_ACEOF
18223 /* confdefs.h. */
18224 _ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 $ac_includes_default
18229 typedef size_t ac__type_new_;
18231 main ()
18233 if ((ac__type_new_ *) 0)
18234 return 0;
18235 if (sizeof (ac__type_new_))
18236 return 0;
18238 return 0;
18240 _ACEOF
18241 rm -f conftest.$ac_objext
18242 if { (ac_try="$ac_compile"
18243 case "(($ac_try" in
18244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18245 *) ac_try_echo=$ac_try;;
18246 esac
18247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18248 (eval "$ac_compile") 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest.$ac_objext; then
18258 ac_cv_type_size_t=yes
18259 else
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18263 ac_cv_type_size_t=no
18266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18269 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18270 if test $ac_cv_type_size_t = yes; then
18272 cat >>confdefs.h <<_ACEOF
18273 #define HAVE_SIZE_T 1
18274 _ACEOF
18278 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18279 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18280 if test "${ac_cv_type_ssize_t+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289 $ac_includes_default
18290 typedef ssize_t ac__type_new_;
18292 main ()
18294 if ((ac__type_new_ *) 0)
18295 return 0;
18296 if (sizeof (ac__type_new_))
18297 return 0;
18299 return 0;
18301 _ACEOF
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 ac_cv_type_ssize_t=yes
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18324 ac_cv_type_ssize_t=no
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18330 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18331 if test $ac_cv_type_ssize_t = yes; then
18333 cat >>confdefs.h <<_ACEOF
18334 #define HAVE_SSIZE_T 1
18335 _ACEOF
18339 { echo "$as_me:$LINENO: checking for long long" >&5
18340 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18341 if test "${ac_cv_type_long_long+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 else
18344 cat >conftest.$ac_ext <<_ACEOF
18345 /* confdefs.h. */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18351 typedef long long ac__type_new_;
18353 main ()
18355 if ((ac__type_new_ *) 0)
18356 return 0;
18357 if (sizeof (ac__type_new_))
18358 return 0;
18360 return 0;
18362 _ACEOF
18363 rm -f conftest.$ac_objext
18364 if { (ac_try="$ac_compile"
18365 case "(($ac_try" in
18366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18367 *) ac_try_echo=$ac_try;;
18368 esac
18369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370 (eval "$ac_compile") 2>conftest.er1
18371 ac_status=$?
18372 grep -v '^ *+' conftest.er1 >conftest.err
18373 rm -f conftest.er1
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && {
18377 test -z "$ac_c_werror_flag" ||
18378 test ! -s conftest.err
18379 } && test -s conftest.$ac_objext; then
18380 ac_cv_type_long_long=yes
18381 else
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 ac_cv_type_long_long=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18391 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18392 if test $ac_cv_type_long_long = yes; then
18394 cat >>confdefs.h <<_ACEOF
18395 #define HAVE_LONG_LONG 1
18396 _ACEOF
18400 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18401 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18402 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18403 echo $ECHO_N "(cached) $ECHO_C" >&6
18404 else
18405 cat >conftest.$ac_ext <<_ACEOF
18406 /* confdefs.h. */
18407 _ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 $ac_includes_default
18412 typedef fsblkcnt_t ac__type_new_;
18414 main ()
18416 if ((ac__type_new_ *) 0)
18417 return 0;
18418 if (sizeof (ac__type_new_))
18419 return 0;
18421 return 0;
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (ac_try="$ac_compile"
18426 case "(($ac_try" in
18427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18428 *) ac_try_echo=$ac_try;;
18429 esac
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_compile") 2>conftest.er1
18432 ac_status=$?
18433 grep -v '^ *+' conftest.er1 >conftest.err
18434 rm -f conftest.er1
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && {
18438 test -z "$ac_c_werror_flag" ||
18439 test ! -s conftest.err
18440 } && test -s conftest.$ac_objext; then
18441 ac_cv_type_fsblkcnt_t=yes
18442 else
18443 echo "$as_me: failed program was:" >&5
18444 sed 's/^/| /' conftest.$ac_ext >&5
18446 ac_cv_type_fsblkcnt_t=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18452 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18453 if test $ac_cv_type_fsblkcnt_t = yes; then
18455 cat >>confdefs.h <<_ACEOF
18456 #define HAVE_FSBLKCNT_T 1
18457 _ACEOF
18461 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18462 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18463 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 else
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18473 typedef fsfilcnt_t ac__type_new_;
18475 main ()
18477 if ((ac__type_new_ *) 0)
18478 return 0;
18479 if (sizeof (ac__type_new_))
18480 return 0;
18482 return 0;
18484 _ACEOF
18485 rm -f conftest.$ac_objext
18486 if { (ac_try="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18493 ac_status=$?
18494 grep -v '^ *+' conftest.er1 >conftest.err
18495 rm -f conftest.er1
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.$ac_objext; then
18502 ac_cv_type_fsfilcnt_t=yes
18503 else
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.$ac_ext >&5
18507 ac_cv_type_fsfilcnt_t=no
18510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18512 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18513 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18514 if test $ac_cv_type_fsfilcnt_t = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_FSFILCNT_T 1
18518 _ACEOF
18523 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18524 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18525 if test "${ac_cv_type_sigset_t+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 else
18528 cat >conftest.$ac_ext <<_ACEOF
18529 /* confdefs.h. */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 #include <signal.h>
18536 typedef sigset_t ac__type_new_;
18538 main ()
18540 if ((ac__type_new_ *) 0)
18541 return 0;
18542 if (sizeof (ac__type_new_))
18543 return 0;
18545 return 0;
18547 _ACEOF
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18553 esac
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_c_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 ac_cv_type_sigset_t=yes
18566 else
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 ac_cv_type_sigset_t=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18576 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18577 if test $ac_cv_type_sigset_t = yes; then
18579 cat >>confdefs.h <<_ACEOF
18580 #define HAVE_SIGSET_T 1
18581 _ACEOF
18586 { echo "$as_me:$LINENO: checking for request_sense" >&5
18587 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18588 if test "${ac_cv_type_request_sense+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 else
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 #include <linux/cdrom.h>
18599 typedef request_sense ac__type_new_;
18601 main ()
18603 if ((ac__type_new_ *) 0)
18604 return 0;
18605 if (sizeof (ac__type_new_))
18606 return 0;
18608 return 0;
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (ac_try="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18616 esac
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18619 ac_status=$?
18620 grep -v '^ *+' conftest.er1 >conftest.err
18621 rm -f conftest.er1
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 ac_cv_type_request_sense=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 ac_cv_type_request_sense=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18639 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18640 if test $ac_cv_type_request_sense = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define HAVE_REQUEST_SENSE 1
18644 _ACEOF
18650 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18651 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18652 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #ifdef HAVE_LINUX_INPUT_H
18662 #include <linux/input.h>
18663 #endif
18666 main ()
18668 static struct ff_effect ac_aggr;
18669 if (ac_aggr.direction)
18670 return 0;
18672 return 0;
18674 _ACEOF
18675 rm -f conftest.$ac_objext
18676 if { (ac_try="$ac_compile"
18677 case "(($ac_try" in
18678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18679 *) ac_try_echo=$ac_try;;
18680 esac
18681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18682 (eval "$ac_compile") 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } && {
18689 test -z "$ac_c_werror_flag" ||
18690 test ! -s conftest.err
18691 } && test -s conftest.$ac_objext; then
18692 ac_cv_member_struct_ff_effect_direction=yes
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 cat >conftest.$ac_ext <<_ACEOF
18698 /* confdefs.h. */
18699 _ACEOF
18700 cat confdefs.h >>conftest.$ac_ext
18701 cat >>conftest.$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 #ifdef HAVE_LINUX_INPUT_H
18704 #include <linux/input.h>
18705 #endif
18708 main ()
18710 static struct ff_effect ac_aggr;
18711 if (sizeof ac_aggr.direction)
18712 return 0;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18722 esac
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 ac_cv_member_struct_ff_effect_direction=yes
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18739 ac_cv_member_struct_ff_effect_direction=no
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18748 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18749 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18753 _ACEOF
18759 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18760 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18761 if test "${wine_cv_have_sigaddset+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 #include <signal.h>
18772 main ()
18774 sigset_t set; sigaddset(&set,SIGTERM);
18776 return 0;
18778 _ACEOF
18779 rm -f conftest.$ac_objext conftest$ac_exeext
18780 if { (ac_try="$ac_link"
18781 case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18784 esac
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_link") 2>conftest.er1
18787 ac_status=$?
18788 grep -v '^ *+' conftest.er1 >conftest.err
18789 rm -f conftest.er1
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && {
18793 test -z "$ac_c_werror_flag" ||
18794 test ! -s conftest.err
18795 } && test -s conftest$ac_exeext &&
18796 $as_test_x conftest$ac_exeext; then
18797 wine_cv_have_sigaddset=yes
18798 else
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18802 wine_cv_have_sigaddset=no
18805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18806 conftest$ac_exeext conftest.$ac_ext
18808 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18809 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18810 if test "$wine_cv_have_sigaddset" = "yes"
18811 then
18813 cat >>confdefs.h <<\_ACEOF
18814 #define HAVE_SIGADDSET 1
18815 _ACEOF
18820 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18821 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18822 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 cat >conftest.$ac_ext <<_ACEOF
18826 /* confdefs.h. */
18827 _ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831 #include <netdb.h>
18833 main ()
18836 char *name=0;
18837 struct hostent he;
18838 struct hostent *result;
18839 char *buf=0;
18840 int bufsize=0;
18841 int res,errnr;
18842 char *addr=0;
18843 int addrlen=0;
18844 int addrtype=0;
18845 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18846 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18849 return 0;
18851 _ACEOF
18852 rm -f conftest.$ac_objext conftest$ac_exeext
18853 if { (ac_try="$ac_link"
18854 case "(($ac_try" in
18855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18857 esac
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_link") 2>conftest.er1
18860 ac_status=$?
18861 grep -v '^ *+' conftest.er1 >conftest.err
18862 rm -f conftest.er1
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && {
18866 test -z "$ac_c_werror_flag" ||
18867 test ! -s conftest.err
18868 } && test -s conftest$ac_exeext &&
18869 $as_test_x conftest$ac_exeext; then
18870 wine_cv_linux_gethostbyname_r_6=yes
18871 else
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 wine_cv_linux_gethostbyname_r_6=no
18879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18880 conftest$ac_exeext conftest.$ac_ext
18883 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18884 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18885 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18886 then
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18890 _ACEOF
18894 if test "$ac_cv_header_linux_joystick_h" = "yes"
18895 then
18896 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18897 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18898 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18908 #include <sys/ioctl.h>
18909 #include <sys/types.h>
18910 #include <linux/joystick.h>
18912 struct js_event blub;
18913 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18914 #error "no 2.2 header"
18915 #endif
18918 main ()
18920 /*empty*/
18922 return 0;
18924 _ACEOF
18925 rm -f conftest.$ac_objext
18926 if { (ac_try="$ac_compile"
18927 case "(($ac_try" in
18928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18929 *) ac_try_echo=$ac_try;;
18930 esac
18931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } && {
18939 test -z "$ac_c_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.$ac_objext; then
18942 wine_cv_linux_joystick_22_api=yes
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18947 wine_cv_linux_joystick_22_api=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18953 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18954 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18955 if test "$wine_cv_linux_joystick_22_api" = "yes"
18956 then
18958 cat >>confdefs.h <<\_ACEOF
18959 #define HAVE_LINUX_22_JOYSTICK_API 1
18960 _ACEOF
18966 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18967 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18968 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 else
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <sys/types.h>
18978 #ifdef HAVE_SYS_PARAM_H
18979 # include <sys/param.h>
18980 #endif
18981 #ifdef HAVE_SYS_MOUNT_H
18982 # include <sys/mount.h>
18983 #endif
18984 #ifdef HAVE_SYS_VFS_H
18985 # include <sys/vfs.h>
18986 #endif
18987 #ifdef HAVE_SYS_STATFS_H
18988 # include <sys/statfs.h>
18989 #endif
18992 main ()
18994 static struct statfs ac_aggr;
18995 if (ac_aggr.f_bfree)
18996 return 0;
18998 return 0;
19000 _ACEOF
19001 rm -f conftest.$ac_objext
19002 if { (ac_try="$ac_compile"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19006 esac
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compile") 2>conftest.er1
19009 ac_status=$?
19010 grep -v '^ *+' conftest.er1 >conftest.err
19011 rm -f conftest.er1
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_c_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 ac_cv_member_struct_statfs_f_bfree=yes
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 cat >conftest.$ac_ext <<_ACEOF
19024 /* confdefs.h. */
19025 _ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 #include <sys/types.h>
19030 #ifdef HAVE_SYS_PARAM_H
19031 # include <sys/param.h>
19032 #endif
19033 #ifdef HAVE_SYS_MOUNT_H
19034 # include <sys/mount.h>
19035 #endif
19036 #ifdef HAVE_SYS_VFS_H
19037 # include <sys/vfs.h>
19038 #endif
19039 #ifdef HAVE_SYS_STATFS_H
19040 # include <sys/statfs.h>
19041 #endif
19044 main ()
19046 static struct statfs ac_aggr;
19047 if (sizeof ac_aggr.f_bfree)
19048 return 0;
19050 return 0;
19052 _ACEOF
19053 rm -f conftest.$ac_objext
19054 if { (ac_try="$ac_compile"
19055 case "(($ac_try" in
19056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057 *) ac_try_echo=$ac_try;;
19058 esac
19059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19060 (eval "$ac_compile") 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err
19069 } && test -s conftest.$ac_objext; then
19070 ac_cv_member_struct_statfs_f_bfree=yes
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 ac_cv_member_struct_statfs_f_bfree=no
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19083 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19084 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19085 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_STRUCT_STATFS_F_BFREE 1
19089 _ACEOF
19093 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19094 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19095 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 else
19098 cat >conftest.$ac_ext <<_ACEOF
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SYS_PARAM_H
19106 # include <sys/param.h>
19107 #endif
19108 #ifdef HAVE_SYS_MOUNT_H
19109 # include <sys/mount.h>
19110 #endif
19111 #ifdef HAVE_SYS_VFS_H
19112 # include <sys/vfs.h>
19113 #endif
19114 #ifdef HAVE_SYS_STATFS_H
19115 # include <sys/statfs.h>
19116 #endif
19119 main ()
19121 static struct statfs ac_aggr;
19122 if (ac_aggr.f_bavail)
19123 return 0;
19125 return 0;
19127 _ACEOF
19128 rm -f conftest.$ac_objext
19129 if { (ac_try="$ac_compile"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19133 esac
19134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19145 ac_cv_member_struct_statfs_f_bavail=yes
19146 else
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 cat >conftest.$ac_ext <<_ACEOF
19151 /* confdefs.h. */
19152 _ACEOF
19153 cat confdefs.h >>conftest.$ac_ext
19154 cat >>conftest.$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19156 #include <sys/types.h>
19157 #ifdef HAVE_SYS_PARAM_H
19158 # include <sys/param.h>
19159 #endif
19160 #ifdef HAVE_SYS_MOUNT_H
19161 # include <sys/mount.h>
19162 #endif
19163 #ifdef HAVE_SYS_VFS_H
19164 # include <sys/vfs.h>
19165 #endif
19166 #ifdef HAVE_SYS_STATFS_H
19167 # include <sys/statfs.h>
19168 #endif
19171 main ()
19173 static struct statfs ac_aggr;
19174 if (sizeof ac_aggr.f_bavail)
19175 return 0;
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_member_struct_statfs_f_bavail=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 ac_cv_member_struct_statfs_f_bavail=no
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19211 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19212 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19216 _ACEOF
19220 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19221 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19222 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <sys/types.h>
19232 #ifdef HAVE_SYS_PARAM_H
19233 # include <sys/param.h>
19234 #endif
19235 #ifdef HAVE_SYS_MOUNT_H
19236 # include <sys/mount.h>
19237 #endif
19238 #ifdef HAVE_SYS_VFS_H
19239 # include <sys/vfs.h>
19240 #endif
19241 #ifdef HAVE_SYS_STATFS_H
19242 # include <sys/statfs.h>
19243 #endif
19246 main ()
19248 static struct statfs ac_aggr;
19249 if (ac_aggr.f_frsize)
19250 return 0;
19252 return 0;
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (ac_try="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19260 esac
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.$ac_objext; then
19272 ac_cv_member_struct_statfs_f_frsize=yes
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #include <sys/types.h>
19284 #ifdef HAVE_SYS_PARAM_H
19285 # include <sys/param.h>
19286 #endif
19287 #ifdef HAVE_SYS_MOUNT_H
19288 # include <sys/mount.h>
19289 #endif
19290 #ifdef HAVE_SYS_VFS_H
19291 # include <sys/vfs.h>
19292 #endif
19293 #ifdef HAVE_SYS_STATFS_H
19294 # include <sys/statfs.h>
19295 #endif
19298 main ()
19300 static struct statfs ac_aggr;
19301 if (sizeof ac_aggr.f_frsize)
19302 return 0;
19304 return 0;
19306 _ACEOF
19307 rm -f conftest.$ac_objext
19308 if { (ac_try="$ac_compile"
19309 case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19312 esac
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_compile") 2>conftest.er1
19315 ac_status=$?
19316 grep -v '^ *+' conftest.er1 >conftest.err
19317 rm -f conftest.er1
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } && {
19321 test -z "$ac_c_werror_flag" ||
19322 test ! -s conftest.err
19323 } && test -s conftest.$ac_objext; then
19324 ac_cv_member_struct_statfs_f_frsize=yes
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19329 ac_cv_member_struct_statfs_f_frsize=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19337 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19338 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19339 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19341 cat >>confdefs.h <<_ACEOF
19342 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19343 _ACEOF
19347 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19348 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19349 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19350 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 else
19352 cat >conftest.$ac_ext <<_ACEOF
19353 /* confdefs.h. */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_PARAM_H
19360 # include <sys/param.h>
19361 #endif
19362 #ifdef HAVE_SYS_MOUNT_H
19363 # include <sys/mount.h>
19364 #endif
19365 #ifdef HAVE_SYS_VFS_H
19366 # include <sys/vfs.h>
19367 #endif
19368 #ifdef HAVE_SYS_STATFS_H
19369 # include <sys/statfs.h>
19370 #endif
19373 main ()
19375 static struct statfs ac_aggr;
19376 if (ac_aggr.f_ffree)
19377 return 0;
19379 return 0;
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (ac_try="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19387 esac
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && {
19396 test -z "$ac_c_werror_flag" ||
19397 test ! -s conftest.err
19398 } && test -s conftest.$ac_objext; then
19399 ac_cv_member_struct_statfs_f_ffree=yes
19400 else
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.$ac_ext >&5
19404 cat >conftest.$ac_ext <<_ACEOF
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 #include <sys/types.h>
19411 #ifdef HAVE_SYS_PARAM_H
19412 # include <sys/param.h>
19413 #endif
19414 #ifdef HAVE_SYS_MOUNT_H
19415 # include <sys/mount.h>
19416 #endif
19417 #ifdef HAVE_SYS_VFS_H
19418 # include <sys/vfs.h>
19419 #endif
19420 #ifdef HAVE_SYS_STATFS_H
19421 # include <sys/statfs.h>
19422 #endif
19425 main ()
19427 static struct statfs ac_aggr;
19428 if (sizeof ac_aggr.f_ffree)
19429 return 0;
19431 return 0;
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_cv_member_struct_statfs_f_ffree=yes
19452 else
19453 echo "$as_me: failed program was:" >&5
19454 sed 's/^/| /' conftest.$ac_ext >&5
19456 ac_cv_member_struct_statfs_f_ffree=no
19459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19465 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19466 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19468 cat >>confdefs.h <<_ACEOF
19469 #define HAVE_STRUCT_STATFS_F_FFREE 1
19470 _ACEOF
19474 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19475 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19476 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19478 else
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 #include <sys/types.h>
19486 #ifdef HAVE_SYS_PARAM_H
19487 # include <sys/param.h>
19488 #endif
19489 #ifdef HAVE_SYS_MOUNT_H
19490 # include <sys/mount.h>
19491 #endif
19492 #ifdef HAVE_SYS_VFS_H
19493 # include <sys/vfs.h>
19494 #endif
19495 #ifdef HAVE_SYS_STATFS_H
19496 # include <sys/statfs.h>
19497 #endif
19500 main ()
19502 static struct statfs ac_aggr;
19503 if (ac_aggr.f_favail)
19504 return 0;
19506 return 0;
19508 _ACEOF
19509 rm -f conftest.$ac_objext
19510 if { (ac_try="$ac_compile"
19511 case "(($ac_try" in
19512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19514 esac
19515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19516 (eval "$ac_compile") 2>conftest.er1
19517 ac_status=$?
19518 grep -v '^ *+' conftest.er1 >conftest.err
19519 rm -f conftest.er1
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } && {
19523 test -z "$ac_c_werror_flag" ||
19524 test ! -s conftest.err
19525 } && test -s conftest.$ac_objext; then
19526 ac_cv_member_struct_statfs_f_favail=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19531 cat >conftest.$ac_ext <<_ACEOF
19532 /* confdefs.h. */
19533 _ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <sys/types.h>
19538 #ifdef HAVE_SYS_PARAM_H
19539 # include <sys/param.h>
19540 #endif
19541 #ifdef HAVE_SYS_MOUNT_H
19542 # include <sys/mount.h>
19543 #endif
19544 #ifdef HAVE_SYS_VFS_H
19545 # include <sys/vfs.h>
19546 #endif
19547 #ifdef HAVE_SYS_STATFS_H
19548 # include <sys/statfs.h>
19549 #endif
19552 main ()
19554 static struct statfs ac_aggr;
19555 if (sizeof ac_aggr.f_favail)
19556 return 0;
19558 return 0;
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19566 esac
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 ac_cv_member_struct_statfs_f_favail=yes
19579 else
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19583 ac_cv_member_struct_statfs_f_favail=no
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19591 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19592 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19593 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19595 cat >>confdefs.h <<_ACEOF
19596 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19597 _ACEOF
19601 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19602 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19603 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 else
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #include <sys/types.h>
19613 #ifdef HAVE_SYS_PARAM_H
19614 # include <sys/param.h>
19615 #endif
19616 #ifdef HAVE_SYS_MOUNT_H
19617 # include <sys/mount.h>
19618 #endif
19619 #ifdef HAVE_SYS_VFS_H
19620 # include <sys/vfs.h>
19621 #endif
19622 #ifdef HAVE_SYS_STATFS_H
19623 # include <sys/statfs.h>
19624 #endif
19627 main ()
19629 static struct statfs ac_aggr;
19630 if (ac_aggr.f_namelen)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_statfs_f_namelen=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 #include <sys/types.h>
19665 #ifdef HAVE_SYS_PARAM_H
19666 # include <sys/param.h>
19667 #endif
19668 #ifdef HAVE_SYS_MOUNT_H
19669 # include <sys/mount.h>
19670 #endif
19671 #ifdef HAVE_SYS_VFS_H
19672 # include <sys/vfs.h>
19673 #endif
19674 #ifdef HAVE_SYS_STATFS_H
19675 # include <sys/statfs.h>
19676 #endif
19679 main ()
19681 static struct statfs ac_aggr;
19682 if (sizeof ac_aggr.f_namelen)
19683 return 0;
19685 return 0;
19687 _ACEOF
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19693 esac
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19705 ac_cv_member_struct_statfs_f_namelen=yes
19706 else
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19710 ac_cv_member_struct_statfs_f_namelen=no
19713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19718 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19719 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19720 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19722 cat >>confdefs.h <<_ACEOF
19723 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19724 _ACEOF
19730 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19731 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19732 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19733 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 else
19735 cat >conftest.$ac_ext <<_ACEOF
19736 /* confdefs.h. */
19737 _ACEOF
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 #ifdef HAVE_SYS_STATVFS_H
19742 #include <sys/statvfs.h>
19743 #endif
19746 main ()
19748 static struct statvfs ac_aggr;
19749 if (ac_aggr.f_blocks)
19750 return 0;
19752 return 0;
19754 _ACEOF
19755 rm -f conftest.$ac_objext
19756 if { (ac_try="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19760 esac
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19772 ac_cv_member_struct_statvfs_f_blocks=yes
19773 else
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 #ifdef HAVE_SYS_STATVFS_H
19784 #include <sys/statvfs.h>
19785 #endif
19788 main ()
19790 static struct statvfs ac_aggr;
19791 if (sizeof ac_aggr.f_blocks)
19792 return 0;
19794 return 0;
19796 _ACEOF
19797 rm -f conftest.$ac_objext
19798 if { (ac_try="$ac_compile"
19799 case "(($ac_try" in
19800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19801 *) ac_try_echo=$ac_try;;
19802 esac
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_compile") 2>conftest.er1
19805 ac_status=$?
19806 grep -v '^ *+' conftest.er1 >conftest.err
19807 rm -f conftest.er1
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } && {
19811 test -z "$ac_c_werror_flag" ||
19812 test ! -s conftest.err
19813 } && test -s conftest.$ac_objext; then
19814 ac_cv_member_struct_statvfs_f_blocks=yes
19815 else
19816 echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19819 ac_cv_member_struct_statvfs_f_blocks=no
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19827 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19828 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19829 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19831 cat >>confdefs.h <<_ACEOF
19832 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19833 _ACEOF
19839 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19840 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19841 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 else
19844 cat >conftest.$ac_ext <<_ACEOF
19845 /* confdefs.h. */
19846 _ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 #include <sys/types.h>
19851 #ifdef HAVE_SYS_SOCKET_H
19852 # include <sys/socket.h>
19853 #endif
19854 #ifdef HAVE_SYS_UN_H
19855 # include <sys/un.h>
19856 #endif
19859 main ()
19861 static struct msghdr ac_aggr;
19862 if (ac_aggr.msg_accrights)
19863 return 0;
19865 return 0;
19867 _ACEOF
19868 rm -f conftest.$ac_objext
19869 if { (ac_try="$ac_compile"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_compile") 2>conftest.er1
19876 ac_status=$?
19877 grep -v '^ *+' conftest.er1 >conftest.err
19878 rm -f conftest.er1
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && {
19882 test -z "$ac_c_werror_flag" ||
19883 test ! -s conftest.err
19884 } && test -s conftest.$ac_objext; then
19885 ac_cv_member_struct_msghdr_msg_accrights=yes
19886 else
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <sys/types.h>
19897 #ifdef HAVE_SYS_SOCKET_H
19898 # include <sys/socket.h>
19899 #endif
19900 #ifdef HAVE_SYS_UN_H
19901 # include <sys/un.h>
19902 #endif
19905 main ()
19907 static struct msghdr ac_aggr;
19908 if (sizeof ac_aggr.msg_accrights)
19909 return 0;
19911 return 0;
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (ac_try="$ac_compile"
19916 case "(($ac_try" in
19917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19918 *) ac_try_echo=$ac_try;;
19919 esac
19920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19921 (eval "$ac_compile") 2>conftest.er1
19922 ac_status=$?
19923 grep -v '^ *+' conftest.er1 >conftest.err
19924 rm -f conftest.er1
19925 cat conftest.err >&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } && {
19928 test -z "$ac_c_werror_flag" ||
19929 test ! -s conftest.err
19930 } && test -s conftest.$ac_objext; then
19931 ac_cv_member_struct_msghdr_msg_accrights=yes
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 ac_cv_member_struct_msghdr_msg_accrights=no
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19945 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19946 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19948 cat >>confdefs.h <<_ACEOF
19949 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19950 _ACEOF
19954 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19955 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19956 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19957 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 else
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <sys/types.h>
19966 #ifdef HAVE_SYS_SOCKET_H
19967 # include <sys/socket.h>
19968 #endif
19969 #ifdef HAVE_SYS_UN_H
19970 # include <sys/un.h>
19971 #endif
19974 main ()
19976 static struct sockaddr ac_aggr;
19977 if (ac_aggr.sa_len)
19978 return 0;
19980 return 0;
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (ac_try="$ac_compile"
19985 case "(($ac_try" in
19986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19987 *) ac_try_echo=$ac_try;;
19988 esac
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_compile") 2>conftest.er1
19991 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err
19999 } && test -s conftest.$ac_objext; then
20000 ac_cv_member_struct_sockaddr_sa_len=yes
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <sys/types.h>
20012 #ifdef HAVE_SYS_SOCKET_H
20013 # include <sys/socket.h>
20014 #endif
20015 #ifdef HAVE_SYS_UN_H
20016 # include <sys/un.h>
20017 #endif
20020 main ()
20022 static struct sockaddr ac_aggr;
20023 if (sizeof ac_aggr.sa_len)
20024 return 0;
20026 return 0;
20028 _ACEOF
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20037 ac_status=$?
20038 grep -v '^ *+' conftest.er1 >conftest.err
20039 rm -f conftest.er1
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.$ac_objext; then
20046 ac_cv_member_struct_sockaddr_sa_len=yes
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 ac_cv_member_struct_sockaddr_sa_len=no
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20060 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20061 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20063 cat >>confdefs.h <<_ACEOF
20064 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20065 _ACEOF
20069 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20070 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20071 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 #include <sys/types.h>
20081 #ifdef HAVE_SYS_SOCKET_H
20082 # include <sys/socket.h>
20083 #endif
20084 #ifdef HAVE_SYS_UN_H
20085 # include <sys/un.h>
20086 #endif
20089 main ()
20091 static struct sockaddr_un ac_aggr;
20092 if (ac_aggr.sun_len)
20093 return 0;
20095 return 0;
20097 _ACEOF
20098 rm -f conftest.$ac_objext
20099 if { (ac_try="$ac_compile"
20100 case "(($ac_try" in
20101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20103 esac
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_compile") 2>conftest.er1
20106 ac_status=$?
20107 grep -v '^ *+' conftest.er1 >conftest.err
20108 rm -f conftest.er1
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } && {
20112 test -z "$ac_c_werror_flag" ||
20113 test ! -s conftest.err
20114 } && test -s conftest.$ac_objext; then
20115 ac_cv_member_struct_sockaddr_un_sun_len=yes
20116 else
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20120 cat >conftest.$ac_ext <<_ACEOF
20121 /* confdefs.h. */
20122 _ACEOF
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 #include <sys/types.h>
20127 #ifdef HAVE_SYS_SOCKET_H
20128 # include <sys/socket.h>
20129 #endif
20130 #ifdef HAVE_SYS_UN_H
20131 # include <sys/un.h>
20132 #endif
20135 main ()
20137 static struct sockaddr_un ac_aggr;
20138 if (sizeof ac_aggr.sun_len)
20139 return 0;
20141 return 0;
20143 _ACEOF
20144 rm -f conftest.$ac_objext
20145 if { (ac_try="$ac_compile"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20149 esac
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_compile") 2>conftest.er1
20152 ac_status=$?
20153 grep -v '^ *+' conftest.er1 >conftest.err
20154 rm -f conftest.er1
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } && {
20158 test -z "$ac_c_werror_flag" ||
20159 test ! -s conftest.err
20160 } && test -s conftest.$ac_objext; then
20161 ac_cv_member_struct_sockaddr_un_sun_len=yes
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20166 ac_cv_member_struct_sockaddr_un_sun_len=no
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20174 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20175 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20176 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20178 cat >>confdefs.h <<_ACEOF
20179 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20180 _ACEOF
20186 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20187 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20188 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20189 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 else
20191 cat >conftest.$ac_ext <<_ACEOF
20192 /* confdefs.h. */
20193 _ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 #include <sys/types.h>
20198 #ifdef HAVE_SCSI_SG_H
20199 #include <scsi/sg.h>
20200 #endif
20203 main ()
20205 static scsireq_t ac_aggr;
20206 if (ac_aggr.cmd)
20207 return 0;
20209 return 0;
20211 _ACEOF
20212 rm -f conftest.$ac_objext
20213 if { (ac_try="$ac_compile"
20214 case "(($ac_try" in
20215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20216 *) ac_try_echo=$ac_try;;
20217 esac
20218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20219 (eval "$ac_compile") 2>conftest.er1
20220 ac_status=$?
20221 grep -v '^ *+' conftest.er1 >conftest.err
20222 rm -f conftest.er1
20223 cat conftest.err >&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); } && {
20226 test -z "$ac_c_werror_flag" ||
20227 test ! -s conftest.err
20228 } && test -s conftest.$ac_objext; then
20229 ac_cv_member_scsireq_t_cmd=yes
20230 else
20231 echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <sys/types.h>
20241 #ifdef HAVE_SCSI_SG_H
20242 #include <scsi/sg.h>
20243 #endif
20246 main ()
20248 static scsireq_t ac_aggr;
20249 if (sizeof ac_aggr.cmd)
20250 return 0;
20252 return 0;
20254 _ACEOF
20255 rm -f conftest.$ac_objext
20256 if { (ac_try="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20260 esac
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_compile") 2>conftest.er1
20263 ac_status=$?
20264 grep -v '^ *+' conftest.er1 >conftest.err
20265 rm -f conftest.er1
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest.$ac_objext; then
20272 ac_cv_member_scsireq_t_cmd=yes
20273 else
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 ac_cv_member_scsireq_t_cmd=no
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20286 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20287 if test $ac_cv_member_scsireq_t_cmd = yes; then
20289 cat >>confdefs.h <<_ACEOF
20290 #define HAVE_SCSIREQ_T_CMD 1
20291 _ACEOF
20295 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20296 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20297 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 else
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h. */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 #include <sys/types.h>
20307 #ifdef HAVE_SCSI_SG_H
20308 #include <scsi/sg.h>
20309 #endif
20312 main ()
20314 static sg_io_hdr_t ac_aggr;
20315 if (ac_aggr.interface_id)
20316 return 0;
20318 return 0;
20320 _ACEOF
20321 rm -f conftest.$ac_objext
20322 if { (ac_try="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20326 esac
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20329 ac_status=$?
20330 grep -v '^ *+' conftest.er1 >conftest.err
20331 rm -f conftest.er1
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20338 ac_cv_member_sg_io_hdr_t_interface_id=yes
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 #include <sys/types.h>
20350 #ifdef HAVE_SCSI_SG_H
20351 #include <scsi/sg.h>
20352 #endif
20355 main ()
20357 static sg_io_hdr_t ac_aggr;
20358 if (sizeof ac_aggr.interface_id)
20359 return 0;
20361 return 0;
20363 _ACEOF
20364 rm -f conftest.$ac_objext
20365 if { (ac_try="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20369 esac
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20372 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.$ac_objext; then
20381 ac_cv_member_sg_io_hdr_t_interface_id=yes
20382 else
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20386 ac_cv_member_sg_io_hdr_t_interface_id=no
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20395 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20396 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20398 cat >>confdefs.h <<_ACEOF
20399 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20400 _ACEOF
20406 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20407 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20408 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 else
20411 cat >conftest.$ac_ext <<_ACEOF
20412 /* confdefs.h. */
20413 _ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 #include <signal.h>
20420 main ()
20422 static siginfo_t ac_aggr;
20423 if (ac_aggr.si_fd)
20424 return 0;
20426 return 0;
20428 _ACEOF
20429 rm -f conftest.$ac_objext
20430 if { (ac_try="$ac_compile"
20431 case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20434 esac
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_compile") 2>conftest.er1
20437 ac_status=$?
20438 grep -v '^ *+' conftest.er1 >conftest.err
20439 rm -f conftest.er1
20440 cat conftest.err >&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); } && {
20443 test -z "$ac_c_werror_flag" ||
20444 test ! -s conftest.err
20445 } && test -s conftest.$ac_objext; then
20446 ac_cv_member_siginfo_t_si_fd=yes
20447 else
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 #include <signal.h>
20460 main ()
20462 static siginfo_t ac_aggr;
20463 if (sizeof ac_aggr.si_fd)
20464 return 0;
20466 return 0;
20468 _ACEOF
20469 rm -f conftest.$ac_objext
20470 if { (ac_try="$ac_compile"
20471 case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20474 esac
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_compile") 2>conftest.er1
20477 ac_status=$?
20478 grep -v '^ *+' conftest.er1 >conftest.err
20479 rm -f conftest.er1
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } && {
20483 test -z "$ac_c_werror_flag" ||
20484 test ! -s conftest.err
20485 } && test -s conftest.$ac_objext; then
20486 ac_cv_member_siginfo_t_si_fd=yes
20487 else
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20491 ac_cv_member_siginfo_t_si_fd=no
20494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20500 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20501 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20503 cat >>confdefs.h <<_ACEOF
20504 #define HAVE_SIGINFO_T_SI_FD 1
20505 _ACEOF
20511 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20512 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20513 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20515 else
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #include <sys/types.h>
20523 #ifdef HAVE_SYS_MTIO_H
20524 #include <sys/mtio.h>
20525 #endif
20528 main ()
20530 static struct mtget ac_aggr;
20531 if (ac_aggr.mt_blksiz)
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_mtget_mt_blksiz=yes
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 cat >conftest.$ac_ext <<_ACEOF
20560 /* confdefs.h. */
20561 _ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 #include <sys/types.h>
20566 #ifdef HAVE_SYS_MTIO_H
20567 #include <sys/mtio.h>
20568 #endif
20571 main ()
20573 static struct mtget ac_aggr;
20574 if (sizeof ac_aggr.mt_blksiz)
20575 return 0;
20577 return 0;
20579 _ACEOF
20580 rm -f conftest.$ac_objext
20581 if { (ac_try="$ac_compile"
20582 case "(($ac_try" in
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;;
20585 esac
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_compile") 2>conftest.er1
20588 ac_status=$?
20589 grep -v '^ *+' conftest.er1 >conftest.err
20590 rm -f conftest.er1
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } && {
20594 test -z "$ac_c_werror_flag" ||
20595 test ! -s conftest.err
20596 } && test -s conftest.$ac_objext; then
20597 ac_cv_member_struct_mtget_mt_blksiz=yes
20598 else
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 ac_cv_member_struct_mtget_mt_blksiz=no
20605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20611 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20612 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20614 cat >>confdefs.h <<_ACEOF
20615 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20616 _ACEOF
20620 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20621 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20622 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 else
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 #include <sys/types.h>
20632 #ifdef HAVE_SYS_MTIO_H
20633 #include <sys/mtio.h>
20634 #endif
20637 main ()
20639 static struct mtget ac_aggr;
20640 if (ac_aggr.mt_gstat)
20641 return 0;
20643 return 0;
20645 _ACEOF
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20651 esac
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20654 ac_status=$?
20655 grep -v '^ *+' conftest.er1 >conftest.err
20656 rm -f conftest.er1
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } && {
20660 test -z "$ac_c_werror_flag" ||
20661 test ! -s conftest.err
20662 } && test -s conftest.$ac_objext; then
20663 ac_cv_member_struct_mtget_mt_gstat=yes
20664 else
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 #include <sys/types.h>
20675 #ifdef HAVE_SYS_MTIO_H
20676 #include <sys/mtio.h>
20677 #endif
20680 main ()
20682 static struct mtget ac_aggr;
20683 if (sizeof ac_aggr.mt_gstat)
20684 return 0;
20686 return 0;
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (ac_try="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20694 esac
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20697 ac_status=$?
20698 grep -v '^ *+' conftest.er1 >conftest.err
20699 rm -f conftest.er1
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } && {
20703 test -z "$ac_c_werror_flag" ||
20704 test ! -s conftest.err
20705 } && test -s conftest.$ac_objext; then
20706 ac_cv_member_struct_mtget_mt_gstat=yes
20707 else
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20711 ac_cv_member_struct_mtget_mt_gstat=no
20714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20720 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20721 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20723 cat >>confdefs.h <<_ACEOF
20724 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20725 _ACEOF
20729 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20730 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20731 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20733 else
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 #include <sys/types.h>
20741 #ifdef HAVE_SYS_MTIO_H
20742 #include <sys/mtio.h>
20743 #endif
20746 main ()
20748 static struct mtget ac_aggr;
20749 if (ac_aggr.mt_blkno)
20750 return 0;
20752 return 0;
20754 _ACEOF
20755 rm -f conftest.$ac_objext
20756 if { (ac_try="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20760 esac
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20763 ac_status=$?
20764 grep -v '^ *+' conftest.er1 >conftest.err
20765 rm -f conftest.er1
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20772 ac_cv_member_struct_mtget_mt_blkno=yes
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 cat >conftest.$ac_ext <<_ACEOF
20778 /* confdefs.h. */
20779 _ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <sys/types.h>
20784 #ifdef HAVE_SYS_MTIO_H
20785 #include <sys/mtio.h>
20786 #endif
20789 main ()
20791 static struct mtget ac_aggr;
20792 if (sizeof ac_aggr.mt_blkno)
20793 return 0;
20795 return 0;
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20803 esac
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20815 ac_cv_member_struct_mtget_mt_blkno=yes
20816 else
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20820 ac_cv_member_struct_mtget_mt_blkno=no
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20828 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20829 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20830 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20832 cat >>confdefs.h <<_ACEOF
20833 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20834 _ACEOF
20840 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20841 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20842 if test "${ac_cv_member_struct_option_name+set}" = set; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 else
20845 cat >conftest.$ac_ext <<_ACEOF
20846 /* confdefs.h. */
20847 _ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 #ifdef HAVE_GETOPT_H
20852 #include <getopt.h>
20853 #endif
20856 main ()
20858 static struct option ac_aggr;
20859 if (ac_aggr.name)
20860 return 0;
20862 return 0;
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20873 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_cv_member_struct_option_name=yes
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 cat >conftest.$ac_ext <<_ACEOF
20888 /* confdefs.h. */
20889 _ACEOF
20890 cat confdefs.h >>conftest.$ac_ext
20891 cat >>conftest.$ac_ext <<_ACEOF
20892 /* end confdefs.h. */
20893 #ifdef HAVE_GETOPT_H
20894 #include <getopt.h>
20895 #endif
20898 main ()
20900 static struct option ac_aggr;
20901 if (sizeof ac_aggr.name)
20902 return 0;
20904 return 0;
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20912 esac
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20924 ac_cv_member_struct_option_name=yes
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20929 ac_cv_member_struct_option_name=no
20932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20938 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20939 if test $ac_cv_member_struct_option_name = yes; then
20941 cat >>confdefs.h <<_ACEOF
20942 #define HAVE_STRUCT_OPTION_NAME 1
20943 _ACEOF
20949 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20950 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20951 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20952 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 else
20954 cat >conftest.$ac_ext <<_ACEOF
20955 /* confdefs.h. */
20956 _ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 $ac_includes_default
20962 main ()
20964 static struct stat ac_aggr;
20965 if (ac_aggr.st_blocks)
20966 return 0;
20968 return 0;
20970 _ACEOF
20971 rm -f conftest.$ac_objext
20972 if { (ac_try="$ac_compile"
20973 case "(($ac_try" in
20974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20975 *) ac_try_echo=$ac_try;;
20976 esac
20977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20978 (eval "$ac_compile") 2>conftest.er1
20979 ac_status=$?
20980 grep -v '^ *+' conftest.er1 >conftest.err
20981 rm -f conftest.er1
20982 cat conftest.err >&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } && {
20985 test -z "$ac_c_werror_flag" ||
20986 test ! -s conftest.err
20987 } && test -s conftest.$ac_objext; then
20988 ac_cv_member_struct_stat_st_blocks=yes
20989 else
20990 echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20993 cat >conftest.$ac_ext <<_ACEOF
20994 /* confdefs.h. */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21001 main ()
21003 static struct stat ac_aggr;
21004 if (sizeof ac_aggr.st_blocks)
21005 return 0;
21007 return 0;
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21027 ac_cv_member_struct_stat_st_blocks=yes
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21032 ac_cv_member_struct_stat_st_blocks=no
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21041 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21042 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21044 cat >>confdefs.h <<_ACEOF
21045 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21046 _ACEOF
21052 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21053 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21054 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 else
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #ifdef HAVE_SYS_TYPES_H
21064 #include <sys/types.h>
21065 #endif
21066 #ifdef HAVE_NETINET_IN_H
21067 #include <netinet/in.h>
21068 #endif
21071 main ()
21073 static struct sockaddr_in6 ac_aggr;
21074 if (ac_aggr.sin6_scope_id)
21075 return 0;
21077 return 0;
21079 _ACEOF
21080 rm -f conftest.$ac_objext
21081 if { (ac_try="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21085 esac
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.$ac_objext; then
21097 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21098 else
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 #ifdef HAVE_SYS_TYPES_H
21109 #include <sys/types.h>
21110 #endif
21111 #ifdef HAVE_NETINET_IN_H
21112 #include <netinet/in.h>
21113 #endif
21116 main ()
21118 static struct sockaddr_in6 ac_aggr;
21119 if (sizeof ac_aggr.sin6_scope_id)
21120 return 0;
21122 return 0;
21124 _ACEOF
21125 rm -f conftest.$ac_objext
21126 if { (ac_try="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21129 *) ac_try_echo=$ac_try;;
21130 esac
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21133 ac_status=$?
21134 grep -v '^ *+' conftest.er1 >conftest.err
21135 rm -f conftest.er1
21136 cat conftest.err >&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.$ac_objext; then
21142 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21143 else
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.$ac_ext >&5
21147 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21156 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21157 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21159 cat >>confdefs.h <<_ACEOF
21160 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21161 _ACEOF
21167 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21168 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21169 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 else
21172 cat >conftest.$ac_ext <<_ACEOF
21173 /* confdefs.h. */
21174 _ACEOF
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178 #ifdef HAVE_SYS_TYPES_H
21179 #include <sys/types.h>
21180 #endif
21181 #ifdef HAVE_NETINET_IN_H
21182 # include <netinet/in.h>
21183 #endif
21184 #ifdef HAVE_ARPA_NAMESER_H
21185 # include <arpa/nameser.h>
21186 #endif
21189 main ()
21191 static ns_msg ac_aggr;
21192 if (ac_aggr._msg_ptr)
21193 return 0;
21195 return 0;
21197 _ACEOF
21198 rm -f conftest.$ac_objext
21199 if { (ac_try="$ac_compile"
21200 case "(($ac_try" in
21201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21202 *) ac_try_echo=$ac_try;;
21203 esac
21204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21205 (eval "$ac_compile") 2>conftest.er1
21206 ac_status=$?
21207 grep -v '^ *+' conftest.er1 >conftest.err
21208 rm -f conftest.er1
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } && {
21212 test -z "$ac_c_werror_flag" ||
21213 test ! -s conftest.err
21214 } && test -s conftest.$ac_objext; then
21215 ac_cv_member_ns_msg__msg_ptr=yes
21216 else
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #ifdef HAVE_SYS_TYPES_H
21227 #include <sys/types.h>
21228 #endif
21229 #ifdef HAVE_NETINET_IN_H
21230 # include <netinet/in.h>
21231 #endif
21232 #ifdef HAVE_ARPA_NAMESER_H
21233 # include <arpa/nameser.h>
21234 #endif
21237 main ()
21239 static ns_msg ac_aggr;
21240 if (sizeof ac_aggr._msg_ptr)
21241 return 0;
21243 return 0;
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_cv_member_ns_msg__msg_ptr=yes
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21268 ac_cv_member_ns_msg__msg_ptr=no
21271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21277 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21278 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21280 cat >>confdefs.h <<_ACEOF
21281 #define HAVE_NS_MSG__MSG_PTR 1
21282 _ACEOF
21288 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21289 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21290 if test "${ac_cv_have_timezone+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 #include <time.h>
21301 main ()
21303 timezone = 1
21305 return 0;
21307 _ACEOF
21308 rm -f conftest.$ac_objext conftest$ac_exeext
21309 if { (ac_try="$ac_link"
21310 case "(($ac_try" in
21311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21312 *) ac_try_echo=$ac_try;;
21313 esac
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_link") 2>conftest.er1
21316 ac_status=$?
21317 grep -v '^ *+' conftest.er1 >conftest.err
21318 rm -f conftest.er1
21319 cat conftest.err >&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } && {
21322 test -z "$ac_c_werror_flag" ||
21323 test ! -s conftest.err
21324 } && test -s conftest$ac_exeext &&
21325 $as_test_x conftest$ac_exeext; then
21326 ac_cv_have_timezone="yes"
21327 else
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21331 ac_cv_have_timezone="no"
21334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21335 conftest$ac_exeext conftest.$ac_ext
21337 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21338 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21339 if test "$ac_cv_have_timezone" = "yes"
21340 then
21342 cat >>confdefs.h <<\_ACEOF
21343 #define HAVE_TIMEZONE 1
21344 _ACEOF
21347 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21348 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21349 if test "${ac_cv_have_daylight+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21351 else
21352 cat >conftest.$ac_ext <<_ACEOF
21353 /* confdefs.h. */
21354 _ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 #include <time.h>
21360 main ()
21362 daylight = 1
21364 return 0;
21366 _ACEOF
21367 rm -f conftest.$ac_objext conftest$ac_exeext
21368 if { (ac_try="$ac_link"
21369 case "(($ac_try" in
21370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21371 *) ac_try_echo=$ac_try;;
21372 esac
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_link") 2>conftest.er1
21375 ac_status=$?
21376 grep -v '^ *+' conftest.er1 >conftest.err
21377 rm -f conftest.er1
21378 cat conftest.err >&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest$ac_exeext &&
21384 $as_test_x conftest$ac_exeext; then
21385 ac_cv_have_daylight="yes"
21386 else
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21390 ac_cv_have_daylight="no"
21393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21394 conftest$ac_exeext conftest.$ac_ext
21396 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21397 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21398 if test "$ac_cv_have_daylight" = "yes"
21399 then
21401 cat >>confdefs.h <<\_ACEOF
21402 #define HAVE_DAYLIGHT 1
21403 _ACEOF
21407 { echo "$as_me:$LINENO: checking for isinf" >&5
21408 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21409 if test "${ac_cv_have_isinf+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 else
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 #include <math.h>
21420 main ()
21422 float f = 0.0; int i=isinf(f)
21424 return 0;
21426 _ACEOF
21427 rm -f conftest.$ac_objext conftest$ac_exeext
21428 if { (ac_try="$ac_link"
21429 case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21432 esac
21433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434 (eval "$ac_link") 2>conftest.er1
21435 ac_status=$?
21436 grep -v '^ *+' conftest.er1 >conftest.err
21437 rm -f conftest.er1
21438 cat conftest.err >&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } && {
21441 test -z "$ac_c_werror_flag" ||
21442 test ! -s conftest.err
21443 } && test -s conftest$ac_exeext &&
21444 $as_test_x conftest$ac_exeext; then
21445 ac_cv_have_isinf="yes"
21446 else
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 ac_cv_have_isinf="no"
21453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21454 conftest$ac_exeext conftest.$ac_ext
21456 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21457 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21458 if test "$ac_cv_have_isinf" = "yes"
21459 then
21461 cat >>confdefs.h <<\_ACEOF
21462 #define HAVE_ISINF 1
21463 _ACEOF
21468 case $host_cpu in
21469 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21470 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21471 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474 cat >conftest.$ac_ext <<_ACEOF
21475 /* confdefs.h. */
21476 _ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480 #ifndef __i386__
21482 #endif
21483 _ACEOF
21484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21485 $EGREP "yes" >/dev/null 2>&1; then
21486 ac_cv_cpp_def___i386__=yes
21487 else
21488 ac_cv_cpp_def___i386__=no
21490 rm -f conftest*
21493 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21494 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21495 if test $ac_cv_cpp_def___i386__ = yes; then
21496 CFLAGS="$CFLAGS -D__i386__"
21497 LINTFLAGS="$LINTFLAGS -D__i386__"
21500 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21501 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21502 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 #ifndef __x86_64__
21513 #endif
21514 _ACEOF
21515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21516 $EGREP "yes" >/dev/null 2>&1; then
21517 ac_cv_cpp_def___x86_64__=yes
21518 else
21519 ac_cv_cpp_def___x86_64__=no
21521 rm -f conftest*
21524 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21525 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21526 if test $ac_cv_cpp_def___x86_64__ = yes; then
21527 CFLAGS="$CFLAGS -D__x86_64__"
21528 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21531 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21532 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21533 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 else
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #ifndef __ALPHA__
21544 #endif
21545 _ACEOF
21546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21547 $EGREP "yes" >/dev/null 2>&1; then
21548 ac_cv_cpp_def___ALPHA__=yes
21549 else
21550 ac_cv_cpp_def___ALPHA__=no
21552 rm -f conftest*
21555 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21556 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21557 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21558 CFLAGS="$CFLAGS -D__ALPHA__"
21559 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21562 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21563 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21564 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567 cat >conftest.$ac_ext <<_ACEOF
21568 /* confdefs.h. */
21569 _ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 #ifndef __sparc__
21575 #endif
21576 _ACEOF
21577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21578 $EGREP "yes" >/dev/null 2>&1; then
21579 ac_cv_cpp_def___sparc__=yes
21580 else
21581 ac_cv_cpp_def___sparc__=no
21583 rm -f conftest*
21586 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21587 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21588 if test $ac_cv_cpp_def___sparc__ = yes; then
21589 CFLAGS="$CFLAGS -D__sparc__"
21590 LINTFLAGS="$LINTFLAGS -D__sparc__"
21593 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21594 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21595 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21596 echo $ECHO_N "(cached) $ECHO_C" >&6
21597 else
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 #ifndef __powerpc__
21606 #endif
21607 _ACEOF
21608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21609 $EGREP "yes" >/dev/null 2>&1; then
21610 ac_cv_cpp_def___powerpc__=yes
21611 else
21612 ac_cv_cpp_def___powerpc__=no
21614 rm -f conftest*
21617 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21618 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21619 if test $ac_cv_cpp_def___powerpc__ = yes; then
21620 CFLAGS="$CFLAGS -D__powerpc__"
21621 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21624 esac
21626 case $host_vendor in
21627 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21628 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21629 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h. */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 #ifndef __sun__
21640 #endif
21641 _ACEOF
21642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21643 $EGREP "yes" >/dev/null 2>&1; then
21644 ac_cv_cpp_def___sun__=yes
21645 else
21646 ac_cv_cpp_def___sun__=no
21648 rm -f conftest*
21651 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21652 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21653 if test $ac_cv_cpp_def___sun__ = yes; then
21654 CFLAGS="$CFLAGS -D__sun__"
21655 LINTFLAGS="$LINTFLAGS -D__sun__"
21658 esac
21661 DEPENDENCIES="### Dependencies:
21663 .INIT: Makefile
21664 .BEGIN: Makefile
21665 Makefile: dummy
21666 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21668 \$(OBJS): \$(IDL_GEN_HEADERS)
21669 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21670 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21671 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21672 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21678 ac_config_commands="$ac_config_commands include/stamp-h"
21681 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21683 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21685 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21687 ac_config_commands="$ac_config_commands dlls/user32/resources"
21689 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21691 ac_config_commands="$ac_config_commands include/wine"
21694 MAKE_RULES=Make.rules
21697 MAKE_DLL_RULES=dlls/Makedll.rules
21700 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21703 MAKE_TEST_RULES=dlls/Maketest.rules
21706 MAKE_PROG_RULES=programs/Makeprog.rules
21709 ac_config_files="$ac_config_files Make.rules"
21711 ac_config_files="$ac_config_files dlls/Makedll.rules"
21713 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21715 ac_config_files="$ac_config_files dlls/Maketest.rules"
21717 ac_config_files="$ac_config_files programs/Makeprog.rules"
21719 ac_config_files="$ac_config_files Makefile"
21721 ac_config_files="$ac_config_files dlls/Makefile"
21723 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21725 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21727 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21729 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21731 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21733 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21735 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21737 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21741 ac_config_files="$ac_config_files dlls/atl/Makefile"
21743 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21745 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21747 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21749 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21751 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21753 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21757 ac_config_files="$ac_config_files dlls/cards/Makefile"
21759 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21761 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21763 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21765 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21769 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21771 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21773 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21775 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21777 ac_config_files="$ac_config_files dlls/credui/Makefile"
21779 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21781 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21783 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21785 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21789 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21791 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21793 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21795 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21797 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21799 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21801 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21803 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21805 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21809 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21813 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21815 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21817 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21819 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21821 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21823 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21825 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21827 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21829 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21831 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21833 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21835 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21837 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21839 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21841 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21843 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21845 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21847 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21849 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21851 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21853 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21855 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21857 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21859 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21863 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21865 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21867 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21869 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21871 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21873 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21875 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21877 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21879 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21881 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21883 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21885 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21887 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21889 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21891 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21893 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21895 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21897 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21899 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21901 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21903 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21905 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21907 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21909 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21911 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21913 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21915 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21917 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21919 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21921 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21923 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21925 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21927 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21929 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21931 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21933 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21935 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21937 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21939 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21941 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21943 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21945 ac_config_files="$ac_config_files dlls/hal/Makefile"
21947 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21949 ac_config_files="$ac_config_files dlls/hid/Makefile"
21951 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21953 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21957 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21959 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21961 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21963 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21965 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21967 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21969 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21971 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21973 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21977 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21981 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21983 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21985 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21987 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21989 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21991 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21993 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21995 ac_config_files="$ac_config_files dlls/itss/Makefile"
21997 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21999 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22001 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22003 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22005 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22009 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22011 ac_config_files="$ac_config_files dlls/localui/Makefile"
22013 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22015 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22017 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22019 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22021 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22023 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22025 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22027 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22029 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22031 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22033 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22035 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22037 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22039 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22041 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22043 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22045 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22047 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22049 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22051 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22053 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22055 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22057 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22059 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22061 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22063 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22065 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22067 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22069 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22071 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22073 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/msi/Makefile"
22077 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22079 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22081 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22083 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22085 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22087 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22089 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22091 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22093 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22095 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22097 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22099 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22101 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22103 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22105 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22107 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22109 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22111 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22113 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22115 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22117 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22119 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22121 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22123 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22125 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22127 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22129 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22131 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22133 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22135 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22137 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22139 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22141 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22143 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22145 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22147 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22149 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22151 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22153 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22155 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22157 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22159 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22161 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22163 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22165 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22167 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22169 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22171 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22173 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22175 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22177 ac_config_files="$ac_config_files dlls/printui/Makefile"
22179 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22181 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22183 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22185 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22187 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22189 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22191 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22195 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22197 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22199 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22201 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22203 ac_config_files="$ac_config_files dlls/query/Makefile"
22205 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22207 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22209 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22211 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22213 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22215 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22217 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22219 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22221 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22223 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22225 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22227 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22229 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22231 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22233 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22235 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22237 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22239 ac_config_files="$ac_config_files dlls/security/Makefile"
22241 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22243 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22245 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22247 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22249 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22251 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22253 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22255 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22257 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22259 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22261 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22263 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22265 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22267 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22269 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22271 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22273 ac_config_files="$ac_config_files dlls/slc/Makefile"
22275 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22277 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22279 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22281 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22283 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22285 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22287 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22289 ac_config_files="$ac_config_files dlls/sti/Makefile"
22291 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22293 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22295 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22297 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22299 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22301 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22303 ac_config_files="$ac_config_files dlls/url/Makefile"
22305 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22307 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22309 ac_config_files="$ac_config_files dlls/user32/Makefile"
22311 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22313 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22315 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22317 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22319 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22321 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22323 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22325 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22327 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22329 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22331 ac_config_files="$ac_config_files dlls/version/Makefile"
22333 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22335 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22337 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22339 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22341 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22343 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22345 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22347 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22349 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22351 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22353 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22355 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22357 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22359 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22361 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22363 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22365 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22367 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22369 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22371 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22373 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22375 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22377 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22379 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22381 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22383 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22385 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22387 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22389 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22391 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22393 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22395 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22397 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22399 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22401 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22403 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22405 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22407 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22409 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22411 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22413 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22415 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22417 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22419 ac_config_files="$ac_config_files documentation/Makefile"
22421 ac_config_files="$ac_config_files fonts/Makefile"
22423 ac_config_files="$ac_config_files include/Makefile"
22425 ac_config_files="$ac_config_files libs/Makefile"
22427 ac_config_files="$ac_config_files libs/port/Makefile"
22429 ac_config_files="$ac_config_files libs/wine/Makefile"
22431 ac_config_files="$ac_config_files libs/wpp/Makefile"
22433 ac_config_files="$ac_config_files loader/Makefile"
22435 ac_config_files="$ac_config_files programs/Makefile"
22437 ac_config_files="$ac_config_files programs/clock/Makefile"
22439 ac_config_files="$ac_config_files programs/cmd/Makefile"
22441 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22443 ac_config_files="$ac_config_files programs/control/Makefile"
22445 ac_config_files="$ac_config_files programs/eject/Makefile"
22447 ac_config_files="$ac_config_files programs/expand/Makefile"
22449 ac_config_files="$ac_config_files programs/explorer/Makefile"
22451 ac_config_files="$ac_config_files programs/hh/Makefile"
22453 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22455 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22457 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22459 ac_config_files="$ac_config_files programs/net/Makefile"
22461 ac_config_files="$ac_config_files programs/notepad/Makefile"
22463 ac_config_files="$ac_config_files programs/oleview/Makefile"
22465 ac_config_files="$ac_config_files programs/progman/Makefile"
22467 ac_config_files="$ac_config_files programs/reg/Makefile"
22469 ac_config_files="$ac_config_files programs/regedit/Makefile"
22471 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22473 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22475 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22477 ac_config_files="$ac_config_files programs/secedit/Makefile"
22479 ac_config_files="$ac_config_files programs/services/Makefile"
22481 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22483 ac_config_files="$ac_config_files programs/start/Makefile"
22485 ac_config_files="$ac_config_files programs/svchost/Makefile"
22487 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22489 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22491 ac_config_files="$ac_config_files programs/view/Makefile"
22493 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22495 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22497 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22499 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22501 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22503 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22505 ac_config_files="$ac_config_files programs/winefile/Makefile"
22507 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22509 ac_config_files="$ac_config_files programs/winemine/Makefile"
22511 ac_config_files="$ac_config_files programs/winepath/Makefile"
22513 ac_config_files="$ac_config_files programs/winetest/Makefile"
22515 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22517 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22519 ac_config_files="$ac_config_files programs/winver/Makefile"
22521 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22523 ac_config_files="$ac_config_files programs/write/Makefile"
22525 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22527 ac_config_files="$ac_config_files server/Makefile"
22529 ac_config_files="$ac_config_files tools/Makefile"
22531 ac_config_files="$ac_config_files tools/widl/Makefile"
22533 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22535 ac_config_files="$ac_config_files tools/winedump/Makefile"
22537 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22539 ac_config_files="$ac_config_files tools/wmc/Makefile"
22541 ac_config_files="$ac_config_files tools/wrc/Makefile"
22544 cat >confcache <<\_ACEOF
22545 # This file is a shell script that caches the results of configure
22546 # tests run on this system so they can be shared between configure
22547 # scripts and configure runs, see configure's option --config-cache.
22548 # It is not useful on other systems. If it contains results you don't
22549 # want to keep, you may remove or edit it.
22551 # config.status only pays attention to the cache file if you give it
22552 # the --recheck option to rerun configure.
22554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22556 # following values.
22558 _ACEOF
22560 # The following way of writing the cache mishandles newlines in values,
22561 # but we know of no workaround that is simple, portable, and efficient.
22562 # So, we kill variables containing newlines.
22563 # Ultrix sh set writes to stderr and can't be redirected directly,
22564 # and sets the high bit in the cache file unless we assign to the vars.
22566 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22567 eval ac_val=\$$ac_var
22568 case $ac_val in #(
22569 *${as_nl}*)
22570 case $ac_var in #(
22571 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22572 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22573 esac
22574 case $ac_var in #(
22575 _ | IFS | as_nl) ;; #(
22576 *) $as_unset $ac_var ;;
22577 esac ;;
22578 esac
22579 done
22581 (set) 2>&1 |
22582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22583 *${as_nl}ac_space=\ *)
22584 # `set' does not quote correctly, so add quotes (double-quote
22585 # substitution turns \\\\ into \\, and sed turns \\ into \).
22586 sed -n \
22587 "s/'/'\\\\''/g;
22588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22589 ;; #(
22591 # `set' quotes correctly as required by POSIX, so do not add quotes.
22592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22594 esac |
22595 sort
22597 sed '
22598 /^ac_cv_env_/b end
22599 t clear
22600 :clear
22601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22602 t end
22603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22604 :end' >>confcache
22605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22606 if test -w "$cache_file"; then
22607 test "x$cache_file" != "x/dev/null" &&
22608 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22609 echo "$as_me: updating cache $cache_file" >&6;}
22610 cat confcache >$cache_file
22611 else
22612 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22613 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22616 rm -f confcache
22618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22619 # Let make expand exec_prefix.
22620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22622 DEFS=-DHAVE_CONFIG_H
22624 ac_libobjs=
22625 ac_ltlibobjs=
22626 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22627 # 1. Remove the extension, and $U if already installed.
22628 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22629 ac_i=`echo "$ac_i" | sed "$ac_script"`
22630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22631 # will be set to the directory where LIBOBJS objects are built.
22632 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22633 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22634 done
22635 LIBOBJS=$ac_libobjs
22637 LTLIBOBJS=$ac_ltlibobjs
22641 : ${CONFIG_STATUS=./config.status}
22642 ac_clean_files_save=$ac_clean_files
22643 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22646 cat >$CONFIG_STATUS <<_ACEOF
22647 #! $SHELL
22648 # Generated by $as_me.
22649 # Run this file to recreate the current configuration.
22650 # Compiler output produced by configure, useful for debugging
22651 # configure, is in config.log if it exists.
22653 debug=false
22654 ac_cs_recheck=false
22655 ac_cs_silent=false
22656 SHELL=\${CONFIG_SHELL-$SHELL}
22657 _ACEOF
22659 cat >>$CONFIG_STATUS <<\_ACEOF
22660 ## --------------------- ##
22661 ## M4sh Initialization. ##
22662 ## --------------------- ##
22664 # Be more Bourne compatible
22665 DUALCASE=1; export DUALCASE # for MKS sh
22666 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22667 emulate sh
22668 NULLCMD=:
22669 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22670 # is contrary to our usage. Disable this feature.
22671 alias -g '${1+"$@"}'='"$@"'
22672 setopt NO_GLOB_SUBST
22673 else
22674 case `(set -o) 2>/dev/null` in
22675 *posix*) set -o posix ;;
22676 esac
22683 # PATH needs CR
22684 # Avoid depending upon Character Ranges.
22685 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22686 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22687 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22688 as_cr_digits='0123456789'
22689 as_cr_alnum=$as_cr_Letters$as_cr_digits
22691 # The user is always right.
22692 if test "${PATH_SEPARATOR+set}" != set; then
22693 echo "#! /bin/sh" >conf$$.sh
22694 echo "exit 0" >>conf$$.sh
22695 chmod +x conf$$.sh
22696 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22697 PATH_SEPARATOR=';'
22698 else
22699 PATH_SEPARATOR=:
22701 rm -f conf$$.sh
22704 # Support unset when possible.
22705 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22706 as_unset=unset
22707 else
22708 as_unset=false
22712 # IFS
22713 # We need space, tab and new line, in precisely that order. Quoting is
22714 # there to prevent editors from complaining about space-tab.
22715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22716 # splitting by setting IFS to empty value.)
22717 as_nl='
22719 IFS=" "" $as_nl"
22721 # Find who we are. Look in the path if we contain no directory separator.
22722 case $0 in
22723 *[\\/]* ) as_myself=$0 ;;
22724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22725 for as_dir in $PATH
22727 IFS=$as_save_IFS
22728 test -z "$as_dir" && as_dir=.
22729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22730 done
22731 IFS=$as_save_IFS
22734 esac
22735 # We did not find ourselves, most probably we were run as `sh COMMAND'
22736 # in which case we are not to be found in the path.
22737 if test "x$as_myself" = x; then
22738 as_myself=$0
22740 if test ! -f "$as_myself"; then
22741 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22742 { (exit 1); exit 1; }
22745 # Work around bugs in pre-3.0 UWIN ksh.
22746 for as_var in ENV MAIL MAILPATH
22747 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22748 done
22749 PS1='$ '
22750 PS2='> '
22751 PS4='+ '
22753 # NLS nuisances.
22754 for as_var in \
22755 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22756 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22757 LC_TELEPHONE LC_TIME
22759 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22760 eval $as_var=C; export $as_var
22761 else
22762 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22764 done
22766 # Required to use basename.
22767 if expr a : '\(a\)' >/dev/null 2>&1 &&
22768 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22769 as_expr=expr
22770 else
22771 as_expr=false
22774 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22775 as_basename=basename
22776 else
22777 as_basename=false
22781 # Name of the executable.
22782 as_me=`$as_basename -- "$0" ||
22783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22784 X"$0" : 'X\(//\)$' \| \
22785 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22786 echo X/"$0" |
22787 sed '/^.*\/\([^/][^/]*\)\/*$/{
22788 s//\1/
22791 /^X\/\(\/\/\)$/{
22792 s//\1/
22795 /^X\/\(\/\).*/{
22796 s//\1/
22799 s/.*/./; q'`
22801 # CDPATH.
22802 $as_unset CDPATH
22806 as_lineno_1=$LINENO
22807 as_lineno_2=$LINENO
22808 test "x$as_lineno_1" != "x$as_lineno_2" &&
22809 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22811 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22812 # uniformly replaced by the line number. The first 'sed' inserts a
22813 # line-number line after each line using $LINENO; the second 'sed'
22814 # does the real work. The second script uses 'N' to pair each
22815 # line-number line with the line containing $LINENO, and appends
22816 # trailing '-' during substitution so that $LINENO is not a special
22817 # case at line end.
22818 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22819 # scripts with optimization help from Paolo Bonzini. Blame Lee
22820 # E. McMahon (1931-1989) for sed's syntax. :-)
22821 sed -n '
22823 /[$]LINENO/=
22824 ' <$as_myself |
22825 sed '
22826 s/[$]LINENO.*/&-/
22827 t lineno
22829 :lineno
22831 :loop
22832 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22833 t loop
22834 s/-\n.*//
22835 ' >$as_me.lineno &&
22836 chmod +x "$as_me.lineno" ||
22837 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22838 { (exit 1); exit 1; }; }
22840 # Don't try to exec as it changes $[0], causing all sort of problems
22841 # (the dirname of $[0] is not the place where we might find the
22842 # original and so on. Autoconf is especially sensitive to this).
22843 . "./$as_me.lineno"
22844 # Exit status is that of the last command.
22845 exit
22849 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22850 as_dirname=dirname
22851 else
22852 as_dirname=false
22855 ECHO_C= ECHO_N= ECHO_T=
22856 case `echo -n x` in
22857 -n*)
22858 case `echo 'x\c'` in
22859 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22860 *) ECHO_C='\c';;
22861 esac;;
22863 ECHO_N='-n';;
22864 esac
22866 if expr a : '\(a\)' >/dev/null 2>&1 &&
22867 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22868 as_expr=expr
22869 else
22870 as_expr=false
22873 rm -f conf$$ conf$$.exe conf$$.file
22874 if test -d conf$$.dir; then
22875 rm -f conf$$.dir/conf$$.file
22876 else
22877 rm -f conf$$.dir
22878 mkdir conf$$.dir
22880 echo >conf$$.file
22881 if ln -s conf$$.file conf$$ 2>/dev/null; then
22882 as_ln_s='ln -s'
22883 # ... but there are two gotchas:
22884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22886 # In both cases, we have to default to `cp -p'.
22887 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22888 as_ln_s='cp -p'
22889 elif ln conf$$.file conf$$ 2>/dev/null; then
22890 as_ln_s=ln
22891 else
22892 as_ln_s='cp -p'
22894 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22895 rmdir conf$$.dir 2>/dev/null
22897 if mkdir -p . 2>/dev/null; then
22898 as_mkdir_p=:
22899 else
22900 test -d ./-p && rmdir ./-p
22901 as_mkdir_p=false
22904 if test -x / >/dev/null 2>&1; then
22905 as_test_x='test -x'
22906 else
22907 if ls -dL / >/dev/null 2>&1; then
22908 as_ls_L_option=L
22909 else
22910 as_ls_L_option=
22912 as_test_x='
22913 eval sh -c '\''
22914 if test -d "$1"; then
22915 test -d "$1/.";
22916 else
22917 case $1 in
22918 -*)set "./$1";;
22919 esac;
22920 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22921 ???[sx]*):;;*)false;;esac;fi
22922 '\'' sh
22925 as_executable_p=$as_test_x
22927 # Sed expression to map a string onto a valid CPP name.
22928 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22930 # Sed expression to map a string onto a valid variable name.
22931 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22934 exec 6>&1
22936 # Save the log message, to keep $[0] and so on meaningful, and to
22937 # report actual input values of CONFIG_FILES etc. instead of their
22938 # values after options handling.
22939 ac_log="
22940 This file was extended by Wine $as_me 1.1.0, which was
22941 generated by GNU Autoconf 2.61. Invocation command line was
22943 CONFIG_FILES = $CONFIG_FILES
22944 CONFIG_HEADERS = $CONFIG_HEADERS
22945 CONFIG_LINKS = $CONFIG_LINKS
22946 CONFIG_COMMANDS = $CONFIG_COMMANDS
22947 $ $0 $@
22949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22952 _ACEOF
22954 cat >>$CONFIG_STATUS <<_ACEOF
22955 # Files that config.status was made for.
22956 config_files="$ac_config_files"
22957 config_headers="$ac_config_headers"
22958 config_commands="$ac_config_commands"
22960 _ACEOF
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22963 ac_cs_usage="\
22964 \`$as_me' instantiates files from templates according to the
22965 current configuration.
22967 Usage: $0 [OPTIONS] [FILE]...
22969 -h, --help print this help, then exit
22970 -V, --version print version number and configuration settings, then exit
22971 -q, --quiet do not print progress messages
22972 -d, --debug don't remove temporary files
22973 --recheck update $as_me by reconfiguring in the same conditions
22974 --file=FILE[:TEMPLATE]
22975 instantiate the configuration file FILE
22976 --header=FILE[:TEMPLATE]
22977 instantiate the configuration header FILE
22979 Configuration files:
22980 $config_files
22982 Configuration headers:
22983 $config_headers
22985 Configuration commands:
22986 $config_commands
22988 Report bugs to <bug-autoconf@gnu.org>."
22990 _ACEOF
22991 cat >>$CONFIG_STATUS <<_ACEOF
22992 ac_cs_version="\\
22993 Wine config.status 1.1.0
22994 configured by $0, generated by GNU Autoconf 2.61,
22995 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22997 Copyright (C) 2006 Free Software Foundation, Inc.
22998 This config.status script is free software; the Free Software Foundation
22999 gives unlimited permission to copy, distribute and modify it."
23001 ac_pwd='$ac_pwd'
23002 srcdir='$srcdir'
23003 INSTALL='$INSTALL'
23004 _ACEOF
23006 cat >>$CONFIG_STATUS <<\_ACEOF
23007 # If no file are specified by the user, then we need to provide default
23008 # value. By we need to know if files were specified by the user.
23009 ac_need_defaults=:
23010 while test $# != 0
23012 case $1 in
23013 --*=*)
23014 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23015 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23016 ac_shift=:
23019 ac_option=$1
23020 ac_optarg=$2
23021 ac_shift=shift
23023 esac
23025 case $ac_option in
23026 # Handling of the options.
23027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23028 ac_cs_recheck=: ;;
23029 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23030 echo "$ac_cs_version"; exit ;;
23031 --debug | --debu | --deb | --de | --d | -d )
23032 debug=: ;;
23033 --file | --fil | --fi | --f )
23034 $ac_shift
23035 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23036 ac_need_defaults=false;;
23037 --header | --heade | --head | --hea )
23038 $ac_shift
23039 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23040 ac_need_defaults=false;;
23041 --he | --h)
23042 # Conflict between --help and --header
23043 { echo "$as_me: error: ambiguous option: $1
23044 Try \`$0 --help' for more information." >&2
23045 { (exit 1); exit 1; }; };;
23046 --help | --hel | -h )
23047 echo "$ac_cs_usage"; exit ;;
23048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23049 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23050 ac_cs_silent=: ;;
23052 # This is an error.
23053 -*) { echo "$as_me: error: unrecognized option: $1
23054 Try \`$0 --help' for more information." >&2
23055 { (exit 1); exit 1; }; } ;;
23057 *) ac_config_targets="$ac_config_targets $1"
23058 ac_need_defaults=false ;;
23060 esac
23061 shift
23062 done
23064 ac_configure_extra_args=
23066 if $ac_cs_silent; then
23067 exec 6>/dev/null
23068 ac_configure_extra_args="$ac_configure_extra_args --silent"
23071 _ACEOF
23072 cat >>$CONFIG_STATUS <<_ACEOF
23073 if \$ac_cs_recheck; then
23074 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23075 CONFIG_SHELL=$SHELL
23076 export CONFIG_SHELL
23077 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23080 _ACEOF
23081 cat >>$CONFIG_STATUS <<\_ACEOF
23082 exec 5>>config.log
23084 echo
23085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23086 ## Running $as_me. ##
23087 _ASBOX
23088 echo "$ac_log"
23089 } >&5
23091 _ACEOF
23092 cat >>$CONFIG_STATUS <<_ACEOF
23093 _ACEOF
23095 cat >>$CONFIG_STATUS <<\_ACEOF
23097 # Handling of arguments.
23098 for ac_config_target in $ac_config_targets
23100 case $ac_config_target in
23101 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23102 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23103 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23104 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23105 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23106 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23107 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23108 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23109 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23110 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23111 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23112 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23113 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23114 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23115 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23116 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23117 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23118 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23119 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23120 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23121 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23122 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23123 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23124 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23125 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23126 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23127 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23128 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23129 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23130 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23131 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23132 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23133 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23134 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23135 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23136 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23137 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23138 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23139 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23140 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23141 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23142 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23143 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23144 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23145 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23146 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23147 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23148 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23149 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23150 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23151 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23152 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23153 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23154 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23155 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23156 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23157 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23158 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23159 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23160 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23161 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23162 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23163 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23164 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23165 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23166 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23167 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23168 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23169 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23170 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23171 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23172 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23173 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23174 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23175 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23176 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23177 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23178 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23179 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23180 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23181 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23182 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23183 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23184 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23185 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23186 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23187 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23188 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23189 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23190 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23191 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23192 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23193 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23194 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23195 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23196 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23197 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23198 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23199 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23200 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23201 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23202 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23203 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23204 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23205 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23206 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23207 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23208 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23209 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23210 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23211 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23212 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23213 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23214 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23215 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23216 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23217 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23218 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23219 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23220 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23221 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23222 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23223 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23224 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23225 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23226 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23227 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23228 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23229 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23230 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23231 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23232 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23233 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23234 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23235 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23236 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23237 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23238 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23239 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23240 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23241 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23242 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23243 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23244 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23245 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23246 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23247 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23248 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23249 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23250 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23251 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23252 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23253 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23254 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23255 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23256 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23257 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23258 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23259 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23260 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23261 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23262 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23263 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23264 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23265 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23266 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23267 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23268 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23269 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23270 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23271 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23272 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23273 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23274 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23275 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23276 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23277 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23278 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23279 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23280 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23281 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23282 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23283 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23284 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23285 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23286 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23287 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23288 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23289 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23290 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23291 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23292 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23293 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23294 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23295 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23296 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23297 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23298 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23299 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23300 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23301 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23302 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23303 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23304 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23305 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23306 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23307 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23308 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23309 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23310 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23311 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23312 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23313 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23314 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23315 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23316 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23317 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23318 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23319 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23320 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23321 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23322 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23323 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23324 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23325 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23326 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23327 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23328 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23329 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23330 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23331 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23332 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23333 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23334 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23335 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23336 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23337 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23338 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23339 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23340 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23341 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23342 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23343 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23344 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23345 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23346 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23347 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23348 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23349 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23350 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23351 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23352 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23353 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23354 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23355 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23356 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23357 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23358 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23359 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23360 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23361 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23362 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23363 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23364 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23365 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23366 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23367 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23368 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23369 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23370 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23371 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23372 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23373 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23374 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23375 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23376 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23377 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23378 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23379 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23380 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23381 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23382 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23383 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23384 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23385 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23386 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23387 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23388 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23389 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23390 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23391 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23392 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23393 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23394 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23395 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23396 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23397 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23398 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23399 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23400 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23401 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23402 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23403 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23404 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23405 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23406 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23407 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23408 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23409 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23410 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23411 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23412 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23413 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23414 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23415 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23416 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23417 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23418 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23419 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23420 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23421 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23422 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23423 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23424 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23425 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23426 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23427 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23428 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23429 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23430 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23431 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23432 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23433 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23434 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23435 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23436 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23437 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23438 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23439 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23440 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23441 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23442 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23443 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23444 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23445 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23446 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23447 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23448 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23449 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23450 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23451 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23452 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23453 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23454 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23455 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23456 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23457 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23458 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23459 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23460 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23461 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23462 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23463 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23464 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23465 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23466 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23467 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23468 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23469 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23470 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23471 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23472 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23473 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23474 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23475 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23476 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23477 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23478 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23479 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23480 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23481 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23482 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23483 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23484 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23485 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23486 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23487 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23488 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23489 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23490 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23491 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23492 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23493 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23494 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23495 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23496 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23497 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23498 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23499 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23500 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23501 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23502 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23503 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23504 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23505 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23506 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23507 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23508 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23509 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23510 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23511 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23512 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23513 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23514 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23515 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23516 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23517 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23518 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23519 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23520 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23521 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23522 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23523 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23524 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23525 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23527 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23528 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23529 { (exit 1); exit 1; }; };;
23530 esac
23531 done
23534 # If the user did not use the arguments to specify the items to instantiate,
23535 # then the envvar interface is used. Set only those that are not.
23536 # We use the long form for the default assignment because of an extremely
23537 # bizarre bug on SunOS 4.1.3.
23538 if $ac_need_defaults; then
23539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23544 # Have a temporary directory for convenience. Make it in the build tree
23545 # simply because there is no reason against having it here, and in addition,
23546 # creating and moving files from /tmp can sometimes cause problems.
23547 # Hook for its removal unless debugging.
23548 # Note that there is a small window in which the directory will not be cleaned:
23549 # after its creation but before its name has been assigned to `$tmp'.
23550 $debug ||
23552 tmp=
23553 trap 'exit_status=$?
23554 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23556 trap '{ (exit 1); exit 1; }' 1 2 13 15
23558 # Create a (secure) tmp directory for tmp files.
23561 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23562 test -n "$tmp" && test -d "$tmp"
23563 } ||
23565 tmp=./conf$$-$RANDOM
23566 (umask 077 && mkdir "$tmp")
23567 } ||
23569 echo "$me: cannot create a temporary directory in ." >&2
23570 { (exit 1); exit 1; }
23574 # Set up the sed scripts for CONFIG_FILES section.
23577 # No need to generate the scripts if there are no CONFIG_FILES.
23578 # This happens for instance when ./config.status config.h
23579 if test -n "$CONFIG_FILES"; then
23581 _ACEOF
23583 # Create sed commands to just substitute file output variables.
23585 # Remaining file output variables are in a fragment that also has non-file
23586 # output varibles.
23590 ac_delim='%!_!# '
23591 for ac_last_try in false false false false false :; do
23592 cat >conf$$subs.sed <<_ACEOF
23593 SHELL!$SHELL$ac_delim
23594 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23595 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23596 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23597 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23598 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23599 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23600 exec_prefix!$exec_prefix$ac_delim
23601 prefix!$prefix$ac_delim
23602 program_transform_name!$program_transform_name$ac_delim
23603 bindir!$bindir$ac_delim
23604 sbindir!$sbindir$ac_delim
23605 libexecdir!$libexecdir$ac_delim
23606 datarootdir!$datarootdir$ac_delim
23607 datadir!$datadir$ac_delim
23608 sysconfdir!$sysconfdir$ac_delim
23609 sharedstatedir!$sharedstatedir$ac_delim
23610 localstatedir!$localstatedir$ac_delim
23611 includedir!$includedir$ac_delim
23612 oldincludedir!$oldincludedir$ac_delim
23613 docdir!$docdir$ac_delim
23614 infodir!$infodir$ac_delim
23615 htmldir!$htmldir$ac_delim
23616 dvidir!$dvidir$ac_delim
23617 pdfdir!$pdfdir$ac_delim
23618 psdir!$psdir$ac_delim
23619 libdir!$libdir$ac_delim
23620 localedir!$localedir$ac_delim
23621 mandir!$mandir$ac_delim
23622 DEFS!$DEFS$ac_delim
23623 ECHO_C!$ECHO_C$ac_delim
23624 ECHO_N!$ECHO_N$ac_delim
23625 ECHO_T!$ECHO_T$ac_delim
23626 LIBS!$LIBS$ac_delim
23627 build_alias!$build_alias$ac_delim
23628 host_alias!$host_alias$ac_delim
23629 target_alias!$target_alias$ac_delim
23630 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23631 build!$build$ac_delim
23632 build_cpu!$build_cpu$ac_delim
23633 build_vendor!$build_vendor$ac_delim
23634 build_os!$build_os$ac_delim
23635 host!$host$ac_delim
23636 host_cpu!$host_cpu$ac_delim
23637 host_vendor!$host_vendor$ac_delim
23638 host_os!$host_os$ac_delim
23639 WIN16_FILES!$WIN16_FILES$ac_delim
23640 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23641 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23642 WINETEST!$WINETEST$ac_delim
23643 SET_MAKE!$SET_MAKE$ac_delim
23644 CC!$CC$ac_delim
23645 CFLAGS!$CFLAGS$ac_delim
23646 LDFLAGS!$LDFLAGS$ac_delim
23647 CPPFLAGS!$CPPFLAGS$ac_delim
23648 ac_ct_CC!$ac_ct_CC$ac_delim
23649 EXEEXT!$EXEEXT$ac_delim
23650 OBJEXT!$OBJEXT$ac_delim
23651 CXX!$CXX$ac_delim
23652 CXXFLAGS!$CXXFLAGS$ac_delim
23653 ac_ct_CXX!$ac_ct_CXX$ac_delim
23654 CPPBIN!$CPPBIN$ac_delim
23655 TOOLSDIR!$TOOLSDIR$ac_delim
23656 XMKMF!$XMKMF$ac_delim
23657 CPP!$CPP$ac_delim
23658 X_CFLAGS!$X_CFLAGS$ac_delim
23659 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23660 X_LIBS!$X_LIBS$ac_delim
23661 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23662 FLEX!$FLEX$ac_delim
23663 BISON!$BISON$ac_delim
23664 AS!$AS$ac_delim
23665 ac_ct_AS!$ac_ct_AS$ac_delim
23666 LD!$LD$ac_delim
23667 ac_ct_LD!$ac_ct_LD$ac_delim
23668 NM!$NM$ac_delim
23669 ac_ct_NM!$ac_ct_NM$ac_delim
23670 AR!$AR$ac_delim
23671 ac_ct_AR!$ac_ct_AR$ac_delim
23672 ARFLAGS!$ARFLAGS$ac_delim
23673 RANLIB!$RANLIB$ac_delim
23674 STRIP!$STRIP$ac_delim
23675 _ACEOF
23677 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23678 break
23679 elif $ac_last_try; then
23680 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23681 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23682 { (exit 1); exit 1; }; }
23683 else
23684 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23686 done
23688 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23689 if test -n "$ac_eof"; then
23690 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23691 ac_eof=`expr $ac_eof + 1`
23694 cat >>$CONFIG_STATUS <<_ACEOF
23695 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23696 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23697 /^[ ]*@MAKE_RULES@[ ]*$/{
23698 r $MAKE_RULES
23701 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23702 r $MAKE_DLL_RULES
23705 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23706 r $MAKE_IMPLIB_RULES
23709 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23710 r $MAKE_TEST_RULES
23713 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23714 r $MAKE_PROG_RULES
23717 _ACEOF
23718 sed '
23719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23720 s/^/s,@/; s/!/@,|#_!!_#|/
23723 s/'"$ac_delim"'$/,g/; t
23724 s/$/\\/; p
23725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23726 ' >>$CONFIG_STATUS <conf$$subs.sed
23727 rm -f conf$$subs.sed
23728 cat >>$CONFIG_STATUS <<_ACEOF
23729 CEOF$ac_eof
23730 _ACEOF
23733 ac_delim='%!_!# '
23734 for ac_last_try in false false false false false :; do
23735 cat >conf$$subs.sed <<_ACEOF
23736 WINDRES!$WINDRES$ac_delim
23737 LN_S!$LN_S$ac_delim
23738 LN!$LN$ac_delim
23739 GREP!$GREP$ac_delim
23740 EGREP!$EGREP$ac_delim
23741 LDCONFIG!$LDCONFIG$ac_delim
23742 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23743 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23744 INSTALL_DATA!$INSTALL_DATA$ac_delim
23745 LINT!$LINT$ac_delim
23746 LINTFLAGS!$LINTFLAGS$ac_delim
23747 FONTFORGE!$FONTFORGE$ac_delim
23748 PKG_CONFIG!$PKG_CONFIG$ac_delim
23749 RSVG!$RSVG$ac_delim
23750 ICOTOOL!$ICOTOOL$ac_delim
23751 PRELINK!$PRELINK$ac_delim
23752 LIBPTHREAD!$LIBPTHREAD$ac_delim
23753 XLIB!$XLIB$ac_delim
23754 XFILES!$XFILES$ac_delim
23755 OPENGLFILES!$OPENGLFILES$ac_delim
23756 GLU32FILES!$GLU32FILES$ac_delim
23757 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23758 QUARTZFILES!$QUARTZFILES$ac_delim
23759 DLLEXT!$DLLEXT$ac_delim
23760 DLLFLAGS!$DLLFLAGS$ac_delim
23761 LDSHARED!$LDSHARED$ac_delim
23762 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23763 LIBEXT!$LIBEXT$ac_delim
23764 IMPLIBEXT!$IMPLIBEXT$ac_delim
23765 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23766 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23767 LDD!$LDD$ac_delim
23768 DLLTOOL!$DLLTOOL$ac_delim
23769 DLLWRAP!$DLLWRAP$ac_delim
23770 MINGWAR!$MINGWAR$ac_delim
23771 SECURITYLIB!$SECURITYLIB$ac_delim
23772 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23773 IOKITLIB!$IOKITLIB$ac_delim
23774 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23775 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23776 COREAUDIO!$COREAUDIO$ac_delim
23777 CARBONLIB!$CARBONLIB$ac_delim
23778 CROSSTEST!$CROSSTEST$ac_delim
23779 CROSSCC!$CROSSCC$ac_delim
23780 CROSSWINDRES!$CROSSWINDRES$ac_delim
23781 NASLIBS!$NASLIBS$ac_delim
23782 XML2LIBS!$XML2LIBS$ac_delim
23783 XML2INCL!$XML2INCL$ac_delim
23784 XSLTLIBS!$XSLTLIBS$ac_delim
23785 XSLTINCL!$XSLTINCL$ac_delim
23786 HALINCL!$HALINCL$ac_delim
23787 sane_devel!$sane_devel$ac_delim
23788 SANEINCL!$SANEINCL$ac_delim
23789 gphoto2_devel!$gphoto2_devel$ac_delim
23790 gphoto2port_devel!$gphoto2port_devel$ac_delim
23791 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23792 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23793 RESOLVLIBS!$RESOLVLIBS$ac_delim
23794 LCMSLIBS!$LCMSLIBS$ac_delim
23795 LDAPLIBS!$LDAPLIBS$ac_delim
23796 ft_devel!$ft_devel$ac_delim
23797 FREETYPELIBS!$FREETYPELIBS$ac_delim
23798 FREETYPEINCL!$FREETYPEINCL$ac_delim
23799 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23800 ESDCONFIG!$ESDCONFIG$ac_delim
23801 ESDLIBS!$ESDLIBS$ac_delim
23802 ESDINCL!$ESDINCL$ac_delim
23803 ALSALIBS!$ALSALIBS$ac_delim
23804 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23805 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23806 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23807 BUILTINFLAG!$BUILTINFLAG$ac_delim
23808 LDPATH!$LDPATH$ac_delim
23809 CRTLIBS!$CRTLIBS$ac_delim
23810 SOCKETLIBS!$SOCKETLIBS$ac_delim
23811 MAIN_BINARY!$MAIN_BINARY$ac_delim
23812 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23813 LIBDL!$LIBDL$ac_delim
23814 LIBPOLL!$LIBPOLL$ac_delim
23815 DEPENDENCIES!$DEPENDENCIES$ac_delim
23816 LIBOBJS!$LIBOBJS$ac_delim
23817 LTLIBOBJS!$LTLIBOBJS$ac_delim
23818 _ACEOF
23820 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23821 break
23822 elif $ac_last_try; then
23823 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23824 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23825 { (exit 1); exit 1; }; }
23826 else
23827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23829 done
23831 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23832 if test -n "$ac_eof"; then
23833 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23834 ac_eof=`expr $ac_eof + 1`
23837 cat >>$CONFIG_STATUS <<_ACEOF
23838 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23840 _ACEOF
23841 sed '
23842 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23843 s/^/s,@/; s/!/@,|#_!!_#|/
23846 s/'"$ac_delim"'$/,g/; t
23847 s/$/\\/; p
23848 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23849 ' >>$CONFIG_STATUS <conf$$subs.sed
23850 rm -f conf$$subs.sed
23851 cat >>$CONFIG_STATUS <<_ACEOF
23852 :end
23853 s/|#_!!_#|//g
23854 CEOF$ac_eof
23855 _ACEOF
23858 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23859 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23860 # trailing colons and then remove the whole line if VPATH becomes empty
23861 # (actually we leave an empty line to preserve line numbers).
23862 if test "x$srcdir" = x.; then
23863 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23864 s/:*\$(srcdir):*/:/
23865 s/:*\${srcdir}:*/:/
23866 s/:*@srcdir@:*/:/
23867 s/^\([^=]*=[ ]*\):*/\1/
23868 s/:*$//
23869 s/^[^=]*=[ ]*$//
23873 cat >>$CONFIG_STATUS <<\_ACEOF
23874 fi # test -n "$CONFIG_FILES"
23877 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23879 case $ac_tag in
23880 :[FHLC]) ac_mode=$ac_tag; continue;;
23881 esac
23882 case $ac_mode$ac_tag in
23883 :[FHL]*:*);;
23884 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23885 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23886 { (exit 1); exit 1; }; };;
23887 :[FH]-) ac_tag=-:-;;
23888 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23889 esac
23890 ac_save_IFS=$IFS
23891 IFS=:
23892 set x $ac_tag
23893 IFS=$ac_save_IFS
23894 shift
23895 ac_file=$1
23896 shift
23898 case $ac_mode in
23899 :L) ac_source=$1;;
23900 :[FH])
23901 ac_file_inputs=
23902 for ac_f
23904 case $ac_f in
23905 -) ac_f="$tmp/stdin";;
23906 *) # Look for the file first in the build tree, then in the source tree
23907 # (if the path is not absolute). The absolute path cannot be DOS-style,
23908 # because $ac_f cannot contain `:'.
23909 test -f "$ac_f" ||
23910 case $ac_f in
23911 [\\/$]*) false;;
23912 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23913 esac ||
23914 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23915 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23916 { (exit 1); exit 1; }; };;
23917 esac
23918 ac_file_inputs="$ac_file_inputs $ac_f"
23919 done
23921 # Let's still pretend it is `configure' which instantiates (i.e., don't
23922 # use $as_me), people would be surprised to read:
23923 # /* config.h. Generated by config.status. */
23924 configure_input="Generated from "`IFS=:
23925 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23926 if test x"$ac_file" != x-; then
23927 configure_input="$ac_file. $configure_input"
23928 { echo "$as_me:$LINENO: creating $ac_file" >&5
23929 echo "$as_me: creating $ac_file" >&6;}
23932 case $ac_tag in
23933 *:-:* | *:-) cat >"$tmp/stdin";;
23934 esac
23936 esac
23938 ac_dir=`$as_dirname -- "$ac_file" ||
23939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23940 X"$ac_file" : 'X\(//\)[^/]' \| \
23941 X"$ac_file" : 'X\(//\)$' \| \
23942 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23943 echo X"$ac_file" |
23944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23945 s//\1/
23948 /^X\(\/\/\)[^/].*/{
23949 s//\1/
23952 /^X\(\/\/\)$/{
23953 s//\1/
23956 /^X\(\/\).*/{
23957 s//\1/
23960 s/.*/./; q'`
23961 { as_dir="$ac_dir"
23962 case $as_dir in #(
23963 -*) as_dir=./$as_dir;;
23964 esac
23965 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23966 as_dirs=
23967 while :; do
23968 case $as_dir in #(
23969 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23970 *) as_qdir=$as_dir;;
23971 esac
23972 as_dirs="'$as_qdir' $as_dirs"
23973 as_dir=`$as_dirname -- "$as_dir" ||
23974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23975 X"$as_dir" : 'X\(//\)[^/]' \| \
23976 X"$as_dir" : 'X\(//\)$' \| \
23977 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23978 echo X"$as_dir" |
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23980 s//\1/
23983 /^X\(\/\/\)[^/].*/{
23984 s//\1/
23987 /^X\(\/\/\)$/{
23988 s//\1/
23991 /^X\(\/\).*/{
23992 s//\1/
23995 s/.*/./; q'`
23996 test -d "$as_dir" && break
23997 done
23998 test -z "$as_dirs" || eval "mkdir $as_dirs"
23999 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24000 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24001 { (exit 1); exit 1; }; }; }
24002 ac_builddir=.
24004 case "$ac_dir" in
24005 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24007 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24008 # A ".." for each directory in $ac_dir_suffix.
24009 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24010 case $ac_top_builddir_sub in
24011 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24012 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24013 esac ;;
24014 esac
24015 ac_abs_top_builddir=$ac_pwd
24016 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24017 # for backward compatibility:
24018 ac_top_builddir=$ac_top_build_prefix
24020 case $srcdir in
24021 .) # We are building in place.
24022 ac_srcdir=.
24023 ac_top_srcdir=$ac_top_builddir_sub
24024 ac_abs_top_srcdir=$ac_pwd ;;
24025 [\\/]* | ?:[\\/]* ) # Absolute name.
24026 ac_srcdir=$srcdir$ac_dir_suffix;
24027 ac_top_srcdir=$srcdir
24028 ac_abs_top_srcdir=$srcdir ;;
24029 *) # Relative name.
24030 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24031 ac_top_srcdir=$ac_top_build_prefix$srcdir
24032 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24033 esac
24034 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24037 case $ac_mode in
24040 # CONFIG_FILE
24043 case $INSTALL in
24044 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24045 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24046 esac
24047 _ACEOF
24049 cat >>$CONFIG_STATUS <<\_ACEOF
24050 # If the template does not know about datarootdir, expand it.
24051 # FIXME: This hack should be removed a few years after 2.60.
24052 ac_datarootdir_hack=; ac_datarootdir_seen=
24054 case `sed -n '/datarootdir/ {
24058 /@datadir@/p
24059 /@docdir@/p
24060 /@infodir@/p
24061 /@localedir@/p
24062 /@mandir@/p
24063 ' $ac_file_inputs` in
24064 *datarootdir*) ac_datarootdir_seen=yes;;
24065 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24066 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24067 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24068 _ACEOF
24069 cat >>$CONFIG_STATUS <<_ACEOF
24070 ac_datarootdir_hack='
24071 s&@datadir@&$datadir&g
24072 s&@docdir@&$docdir&g
24073 s&@infodir@&$infodir&g
24074 s&@localedir@&$localedir&g
24075 s&@mandir@&$mandir&g
24076 s&\\\${datarootdir}&$datarootdir&g' ;;
24077 esac
24078 _ACEOF
24080 # Neutralize VPATH when `$srcdir' = `.'.
24081 # Shell code in configure.ac might set extrasub.
24082 # FIXME: do we really want to maintain this feature?
24083 cat >>$CONFIG_STATUS <<_ACEOF
24084 sed "$ac_vpsub
24085 $extrasub
24086 _ACEOF
24087 cat >>$CONFIG_STATUS <<\_ACEOF
24089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24090 s&@configure_input@&$configure_input&;t t
24091 s&@top_builddir@&$ac_top_builddir_sub&;t t
24092 s&@srcdir@&$ac_srcdir&;t t
24093 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24094 s&@top_srcdir@&$ac_top_srcdir&;t t
24095 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24096 s&@builddir@&$ac_builddir&;t t
24097 s&@abs_builddir@&$ac_abs_builddir&;t t
24098 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24099 s&@INSTALL@&$ac_INSTALL&;t t
24100 $ac_datarootdir_hack
24101 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24104 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24106 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24107 which seems to be undefined. Please make sure it is defined." >&5
24108 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24109 which seems to be undefined. Please make sure it is defined." >&2;}
24111 rm -f "$tmp/stdin"
24112 case $ac_file in
24113 -) cat "$tmp/out"; rm -f "$tmp/out";;
24114 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24115 esac
24119 # CONFIG_HEADER
24121 _ACEOF
24123 # Transform confdefs.h into a sed script `conftest.defines', that
24124 # substitutes the proper values into config.h.in to produce config.h.
24125 rm -f conftest.defines conftest.tail
24126 # First, append a space to every undef/define line, to ease matching.
24127 echo 's/$/ /' >conftest.defines
24128 # Then, protect against being on the right side of a sed subst, or in
24129 # an unquoted here document, in config.status. If some macros were
24130 # called several times there might be several #defines for the same
24131 # symbol, which is useless. But do not sort them, since the last
24132 # AC_DEFINE must be honored.
24133 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24134 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24135 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24136 # PARAMS is the parameter list in the macro definition--in most cases, it's
24137 # just an empty string.
24138 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24139 ac_dB='\\)[ (].*,\\1define\\2'
24140 ac_dC=' '
24141 ac_dD=' ,'
24143 uniq confdefs.h |
24144 sed -n '
24145 t rset
24146 :rset
24147 s/^[ ]*#[ ]*define[ ][ ]*//
24148 t ok
24151 s/[\\&,]/\\&/g
24152 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24153 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24154 ' >>conftest.defines
24156 # Remove the space that was appended to ease matching.
24157 # Then replace #undef with comments. This is necessary, for
24158 # example, in the case of _POSIX_SOURCE, which is predefined and required
24159 # on some systems where configure will not decide to define it.
24160 # (The regexp can be short, since the line contains either #define or #undef.)
24161 echo 's/ $//
24162 s,^[ #]*u.*,/* & */,' >>conftest.defines
24164 # Break up conftest.defines:
24165 ac_max_sed_lines=50
24167 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24168 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24169 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24170 # et cetera.
24171 ac_in='$ac_file_inputs'
24172 ac_out='"$tmp/out1"'
24173 ac_nxt='"$tmp/out2"'
24175 while :
24177 # Write a here document:
24178 cat >>$CONFIG_STATUS <<_ACEOF
24179 # First, check the format of the line:
24180 cat >"\$tmp/defines.sed" <<\\CEOF
24181 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24182 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24184 :def
24185 _ACEOF
24186 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24187 echo 'CEOF
24188 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24189 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24190 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24191 grep . conftest.tail >/dev/null || break
24192 rm -f conftest.defines
24193 mv conftest.tail conftest.defines
24194 done
24195 rm -f conftest.defines conftest.tail
24197 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24198 cat >>$CONFIG_STATUS <<\_ACEOF
24199 if test x"$ac_file" != x-; then
24200 echo "/* $configure_input */" >"$tmp/config.h"
24201 cat "$ac_result" >>"$tmp/config.h"
24202 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24204 echo "$as_me: $ac_file is unchanged" >&6;}
24205 else
24206 rm -f $ac_file
24207 mv "$tmp/config.h" $ac_file
24209 else
24210 echo "/* $configure_input */"
24211 cat "$ac_result"
24213 rm -f "$tmp/out12"
24216 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24217 echo "$as_me: executing $ac_file commands" >&6;}
24219 esac
24222 case $ac_file$ac_mode in
24223 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24224 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24225 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24226 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24227 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24228 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24229 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24230 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24231 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24232 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24233 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24234 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24235 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24237 esac
24238 done # for ac_tag
24241 { (exit 0); exit 0; }
24242 _ACEOF
24243 chmod +x $CONFIG_STATUS
24244 ac_clean_files=$ac_clean_files_save
24247 # configure is writing to config.log, and then calls config.status.
24248 # config.status does its own redirection, appending to config.log.
24249 # Unfortunately, on DOS this fails, as config.log is still kept open
24250 # by configure, so config.status won't be able to write to it; its
24251 # output is simply discarded. So we exec the FD to /dev/null,
24252 # effectively closing config.log, so it can be properly (re)opened and
24253 # appended to by config.status. When coming back to configure, we
24254 # need to make the FD available again.
24255 if test "$no_create" != yes; then
24256 ac_cs_success=:
24257 ac_config_status_args=
24258 test "$silent" = yes &&
24259 ac_config_status_args="$ac_config_status_args --quiet"
24260 exec 5>/dev/null
24261 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24262 exec 5>>config.log
24263 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24264 # would make configure fail if this is the last instruction.
24265 $ac_cs_success || { (exit 1); exit 1; }
24269 if test "$no_create" = "yes"
24270 then
24271 exit 0
24274 ac_save_IFS="$IFS"
24275 IFS="|"
24276 if test "x$wine_notices != "x; then
24277 echo >&6
24278 for msg in $wine_notices; do
24279 if test -n "$msg"; then
24280 { echo "$as_me:$LINENO: $msg" >&5
24281 echo "$as_me: $msg" >&6;}
24283 done
24285 for msg in $wine_warnings; do
24286 if test -n "$msg"; then
24287 echo >&2
24288 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24289 echo "$as_me: WARNING: $msg" >&2;}
24291 done
24292 IFS="$ac_save_IFS"
24294 echo "
24295 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24296 " >&6