configure: Fixed a typo: code snippet outside AC_CHECK_HEADERS macro.
[wine/multimedia.git] / configure
blobefcf3adbb93150ef603d846d24798bbad0d7bac9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.47.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.47'
578 PACKAGE_STRING='Wine 0.9.47'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 RESOLVLIBS
747 LCMSLIBS
748 LDAPLIBS
749 ft_devel
750 FREETYPELIBS
751 FREETYPEINCL
752 FONTSSUBDIRS
753 ESDCONFIG
754 ESDLIBS
755 ESDINCL
756 ALSALIBS
757 AUDIOIOLIBS
758 FONTCONFIGINCL
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.47 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.47:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.47
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.47, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$CXX"|| CXX="g++ -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
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. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6320 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lpthread $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char pthread_create ();
6341 main ()
6343 return pthread_create ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_pthread_pthread_create=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_pthread_pthread_create=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6379 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6380 if test $ac_cv_lib_pthread_pthread_create = yes; then
6381 LIBPTHREAD="-lpthread"
6386 XLIB=""
6388 XFILES=""
6390 OPENGLFILES=""
6392 GLU32FILES=""
6394 OPENGL_LIBS=""
6396 QUARTZFILES=""
6400 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6401 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6402 if test "${ac_cv_header_stdc+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6404 else
6405 cat >conftest.$ac_ext <<_ACEOF
6406 /* confdefs.h. */
6407 _ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6411 #include <stdlib.h>
6412 #include <stdarg.h>
6413 #include <string.h>
6414 #include <float.h>
6417 main ()
6421 return 0;
6423 _ACEOF
6424 rm -f conftest.$ac_objext
6425 if { (ac_try="$ac_compile"
6426 case "(($ac_try" in
6427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6429 esac
6430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6431 (eval "$ac_compile") 2>conftest.er1
6432 ac_status=$?
6433 grep -v '^ *+' conftest.er1 >conftest.err
6434 rm -f conftest.er1
6435 cat conftest.err >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } && {
6438 test -z "$ac_c_werror_flag" ||
6439 test ! -s conftest.err
6440 } && test -s conftest.$ac_objext; then
6441 ac_cv_header_stdc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6446 ac_cv_header_stdc=no
6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6451 if test $ac_cv_header_stdc = yes; then
6452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 #include <string.h>
6461 _ACEOF
6462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6463 $EGREP "memchr" >/dev/null 2>&1; then
6465 else
6466 ac_cv_header_stdc=no
6468 rm -f conftest*
6472 if test $ac_cv_header_stdc = yes; then
6473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6474 cat >conftest.$ac_ext <<_ACEOF
6475 /* confdefs.h. */
6476 _ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <stdlib.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "free" >/dev/null 2>&1; then
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6495 if test "$cross_compiling" = yes; then
6497 else
6498 cat >conftest.$ac_ext <<_ACEOF
6499 /* confdefs.h. */
6500 _ACEOF
6501 cat confdefs.h >>conftest.$ac_ext
6502 cat >>conftest.$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 #include <ctype.h>
6505 #include <stdlib.h>
6506 #if ((' ' & 0x0FF) == 0x020)
6507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6509 #else
6510 # define ISLOWER(c) \
6511 (('a' <= (c) && (c) <= 'i') \
6512 || ('j' <= (c) && (c) <= 'r') \
6513 || ('s' <= (c) && (c) <= 'z'))
6514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6515 #endif
6517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6519 main ()
6521 int i;
6522 for (i = 0; i < 256; i++)
6523 if (XOR (islower (i), ISLOWER (i))
6524 || toupper (i) != TOUPPER (i))
6525 return 2;
6526 return 0;
6528 _ACEOF
6529 rm -f conftest$ac_exeext
6530 if { (ac_try="$ac_link"
6531 case "(($ac_try" in
6532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6533 *) ac_try_echo=$ac_try;;
6534 esac
6535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6536 (eval "$ac_link") 2>&5
6537 ac_status=$?
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6540 { (case "(($ac_try" in
6541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6542 *) ac_try_echo=$ac_try;;
6543 esac
6544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6545 (eval "$ac_try") 2>&5
6546 ac_status=$?
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6550 else
6551 echo "$as_me: program exited with status $ac_status" >&5
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ( exit $ac_status )
6556 ac_cv_header_stdc=no
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6564 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6565 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6568 cat >>confdefs.h <<\_ACEOF
6569 #define STDC_HEADERS 1
6570 _ACEOF
6574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6585 inttypes.h stdint.h unistd.h
6587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 else
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 $ac_includes_default
6601 #include <$ac_header>
6602 _ACEOF
6603 rm -f conftest.$ac_objext
6604 if { (ac_try="$ac_compile"
6605 case "(($ac_try" in
6606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6608 esac
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_compile") 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } && {
6617 test -z "$ac_c_werror_flag" ||
6618 test ! -s conftest.err
6619 } && test -s conftest.$ac_objext; then
6620 eval "$as_ac_Header=yes"
6621 else
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 eval "$as_ac_Header=no"
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 ac_res=`eval echo '${'$as_ac_Header'}'`
6631 { echo "$as_me:$LINENO: result: $ac_res" >&5
6632 echo "${ECHO_T}$ac_res" >&6; }
6633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 _ACEOF
6640 done
6753 for ac_header in \
6754 AudioUnit/AudioUnit.h \
6755 Carbon/Carbon.h \
6756 CoreAudio/CoreAudio.h \
6757 DiskArbitration/DiskArbitration.h \
6758 IOKit/IOKitLib.h \
6759 alsa/asoundlib.h \
6760 arpa/inet.h \
6761 arpa/nameser.h \
6762 asm/types.h \
6763 capi20.h \
6764 cups/cups.h \
6765 curses.h \
6766 direct.h \
6767 dlfcn.h \
6768 elf.h \
6769 float.h \
6770 fontconfig/fontconfig.h \
6771 getopt.h \
6772 ieeefp.h \
6773 io.h \
6774 jack/jack.h \
6775 jpeglib.h \
6776 lber.h \
6777 lcms.h \
6778 lcms/lcms.h \
6779 ldap.h \
6780 libaudioio.h \
6781 link.h \
6782 linux/cdrom.h \
6783 linux/compiler.h \
6784 linux/hdreg.h \
6785 linux/input.h \
6786 linux/ioctl.h \
6787 linux/joystick.h \
6788 linux/major.h \
6789 linux/param.h \
6790 linux/serial.h \
6791 linux/ucdrom.h \
6792 mach/mach.h \
6793 mach/machine.h \
6794 machine/cpu.h \
6795 machine/limits.h \
6796 machine/soundcard.h \
6797 mntent.h \
6798 ncurses.h \
6799 netdb.h \
6800 netinet/in.h \
6801 netinet/in_systm.h \
6802 netinet/tcp.h \
6803 netinet/tcp_fsm.h \
6804 openssl/err.h \
6805 openssl/ssl.h \
6806 png.h \
6807 poll.h \
6808 process.h \
6809 pthread.h \
6810 pwd.h \
6811 regex.h \
6812 sched.h \
6813 scsi/scsi.h \
6814 scsi/scsi_ioctl.h \
6815 scsi/sg.h \
6816 soundcard.h \
6817 stdint.h \
6818 strings.h \
6819 sys/asoundlib.h \
6820 sys/cdio.h \
6821 sys/elf32.h \
6822 sys/epoll.h \
6823 sys/errno.h \
6824 sys/event.h \
6825 sys/exec_elf.h \
6826 sys/filio.h \
6827 sys/ioctl.h \
6828 sys/ipc.h \
6829 sys/limits.h \
6830 sys/link.h \
6831 sys/lwp.h \
6832 sys/mman.h \
6833 sys/modem.h \
6834 sys/msg.h \
6835 sys/mtio.h \
6836 sys/param.h \
6837 sys/poll.h \
6838 sys/prctl.h \
6839 sys/ptrace.h \
6840 sys/reg.h \
6841 sys/resource.h \
6842 sys/scsiio.h \
6843 sys/shm.h \
6844 sys/signal.h \
6845 sys/socket.h \
6846 sys/socketvar.h \
6847 sys/sockio.h \
6848 sys/soundcard.h \
6849 sys/statvfs.h \
6850 sys/strtio.h \
6851 sys/syscall.h \
6852 sys/sysctl.h \
6853 sys/time.h \
6854 sys/times.h \
6855 sys/uio.h \
6856 sys/un.h \
6857 sys/vm86.h \
6858 sys/wait.h \
6859 syscall.h \
6860 termios.h \
6861 unistd.h \
6862 utime.h \
6863 valgrind/memcheck.h
6866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 ac_res=`eval echo '${'$as_ac_Header'}'`
6874 { echo "$as_me:$LINENO: result: $ac_res" >&5
6875 echo "${ECHO_T}$ac_res" >&6; }
6876 else
6877 # Is the header compilable?
6878 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6880 cat >conftest.$ac_ext <<_ACEOF
6881 /* confdefs.h. */
6882 _ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 $ac_includes_default
6887 #include <$ac_header>
6888 _ACEOF
6889 rm -f conftest.$ac_objext
6890 if { (ac_try="$ac_compile"
6891 case "(($ac_try" in
6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6893 *) ac_try_echo=$ac_try;;
6894 esac
6895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6896 (eval "$ac_compile") 2>conftest.er1
6897 ac_status=$?
6898 grep -v '^ *+' conftest.er1 >conftest.err
6899 rm -f conftest.er1
6900 cat conftest.err >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } && {
6903 test -z "$ac_c_werror_flag" ||
6904 test ! -s conftest.err
6905 } && test -s conftest.$ac_objext; then
6906 ac_header_compiler=yes
6907 else
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ac_header_compiler=no
6914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6915 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6916 echo "${ECHO_T}$ac_header_compiler" >&6; }
6918 # Is the header present?
6919 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6921 cat >conftest.$ac_ext <<_ACEOF
6922 /* confdefs.h. */
6923 _ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 #include <$ac_header>
6928 _ACEOF
6929 if { (ac_try="$ac_cpp conftest.$ac_ext"
6930 case "(($ac_try" in
6931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6932 *) ac_try_echo=$ac_try;;
6933 esac
6934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6935 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6936 ac_status=$?
6937 grep -v '^ *+' conftest.er1 >conftest.err
6938 rm -f conftest.er1
6939 cat conftest.err >&5
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); } >/dev/null && {
6942 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6943 test ! -s conftest.err
6944 }; then
6945 ac_header_preproc=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 ac_header_preproc=no
6953 rm -f conftest.err conftest.$ac_ext
6954 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6955 echo "${ECHO_T}$ac_header_preproc" >&6; }
6957 # So? What about this header?
6958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6959 yes:no: )
6960 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6961 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6963 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6964 ac_header_preproc=yes
6966 no:yes:* )
6967 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6968 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6969 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6970 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6971 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6972 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6973 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6974 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6977 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6978 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6979 ( cat <<\_ASBOX
6980 ## ------------------------------------ ##
6981 ## Report this to wine-devel@winehq.org ##
6982 ## ------------------------------------ ##
6983 _ASBOX
6984 ) | sed "s/^/$as_me: WARNING: /" >&2
6986 esac
6987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 else
6992 eval "$as_ac_Header=\$ac_header_preproc"
6994 ac_res=`eval echo '${'$as_ac_Header'}'`
6995 { echo "$as_me:$LINENO: result: $ac_res" >&5
6996 echo "${ECHO_T}$ac_res" >&6; }
6999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7002 _ACEOF
7006 done
7008 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7009 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7010 if test "${ac_cv_header_stat_broken+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 else
7013 cat >conftest.$ac_ext <<_ACEOF
7014 /* confdefs.h. */
7015 _ACEOF
7016 cat confdefs.h >>conftest.$ac_ext
7017 cat >>conftest.$ac_ext <<_ACEOF
7018 /* end confdefs.h. */
7019 #include <sys/types.h>
7020 #include <sys/stat.h>
7022 #if defined S_ISBLK && defined S_IFDIR
7023 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7024 #endif
7026 #if defined S_ISBLK && defined S_IFCHR
7027 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7028 #endif
7030 #if defined S_ISLNK && defined S_IFREG
7031 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7032 #endif
7034 #if defined S_ISSOCK && defined S_IFREG
7035 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7036 #endif
7038 _ACEOF
7039 rm -f conftest.$ac_objext
7040 if { (ac_try="$ac_compile"
7041 case "(($ac_try" in
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7044 esac
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_compile") 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } && {
7053 test -z "$ac_c_werror_flag" ||
7054 test ! -s conftest.err
7055 } && test -s conftest.$ac_objext; then
7056 ac_cv_header_stat_broken=no
7057 else
7058 echo "$as_me: failed program was:" >&5
7059 sed 's/^/| /' conftest.$ac_ext >&5
7061 ac_cv_header_stat_broken=yes
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7067 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7068 if test $ac_cv_header_stat_broken = yes; then
7070 cat >>confdefs.h <<\_ACEOF
7071 #define STAT_MACROS_BROKEN 1
7072 _ACEOF
7082 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 else
7090 cat >conftest.$ac_ext <<_ACEOF
7091 /* confdefs.h. */
7092 _ACEOF
7093 cat confdefs.h >>conftest.$ac_ext
7094 cat >>conftest.$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 #include <sys/types.h>
7097 #if HAVE_SYS_PARAM_H
7098 # include <sys/param.h>
7099 #endif
7101 #include <$ac_header>
7102 _ACEOF
7103 rm -f conftest.$ac_objext
7104 if { (ac_try="$ac_compile"
7105 case "(($ac_try" in
7106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7107 *) ac_try_echo=$ac_try;;
7108 esac
7109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 (eval "$ac_compile") 2>conftest.er1
7111 ac_status=$?
7112 grep -v '^ *+' conftest.er1 >conftest.err
7113 rm -f conftest.er1
7114 cat conftest.err >&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } && {
7117 test -z "$ac_c_werror_flag" ||
7118 test ! -s conftest.err
7119 } && test -s conftest.$ac_objext; then
7120 eval "$as_ac_Header=yes"
7121 else
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.$ac_ext >&5
7125 eval "$as_ac_Header=no"
7128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 ac_res=`eval echo '${'$as_ac_Header'}'`
7131 { echo "$as_me:$LINENO: result: $ac_res" >&5
7132 echo "${ECHO_T}$ac_res" >&6; }
7133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7134 cat >>confdefs.h <<_ACEOF
7135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7151 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <sys/types.h>
7166 #if HAVE_SYS_SOCKET_H
7167 # include <sys/socket.h>
7168 #endif
7169 #if HAVE_SYS_SOCKETVAR_H
7170 # include <sys/socketvar.h>
7171 #endif
7173 #include <$ac_header>
7174 _ACEOF
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7177 case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180 esac
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.$ac_objext; then
7192 eval "$as_ac_Header=yes"
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7208 _ACEOF
7212 done
7216 for ac_header in netinet/tcp_var.h
7218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 else
7224 cat >conftest.$ac_ext <<_ACEOF
7225 /* confdefs.h. */
7226 _ACEOF
7227 cat confdefs.h >>conftest.$ac_ext
7228 cat >>conftest.$ac_ext <<_ACEOF
7229 /* end confdefs.h. */
7230 #include <sys/types.h>
7231 #if HAVE_SYS_SOCKET_H
7232 # include <sys/socket.h>
7233 #endif
7234 #if HAVE_SYS_SOCKETVAR_H
7235 # include <sys/socketvar.h>
7236 #endif
7237 #if HAVE_NETINET_IN_H
7238 # include <netinet/in.h>
7239 #endif
7240 #ifdef HAVE_NETINET_TCP_H
7241 # include <netinet/tcp.h>
7242 #endif
7244 #include <$ac_header>
7245 _ACEOF
7246 rm -f conftest.$ac_objext
7247 if { (ac_try="$ac_compile"
7248 case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7251 esac
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_compile") 2>conftest.er1
7254 ac_status=$?
7255 grep -v '^ *+' conftest.er1 >conftest.err
7256 rm -f conftest.er1
7257 cat conftest.err >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } && {
7260 test -z "$ac_c_werror_flag" ||
7261 test ! -s conftest.err
7262 } && test -s conftest.$ac_objext; then
7263 eval "$as_ac_Header=yes"
7264 else
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 eval "$as_ac_Header=no"
7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7273 ac_res=`eval echo '${'$as_ac_Header'}'`
7274 { echo "$as_me:$LINENO: result: $ac_res" >&5
7275 echo "${ECHO_T}$ac_res" >&6; }
7276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7277 cat >>confdefs.h <<_ACEOF
7278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7279 _ACEOF
7283 done
7287 for ac_header in linux/ipx.h
7289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 else
7295 cat >conftest.$ac_ext <<_ACEOF
7296 /* confdefs.h. */
7297 _ACEOF
7298 cat confdefs.h >>conftest.$ac_ext
7299 cat >>conftest.$ac_ext <<_ACEOF
7300 /* end confdefs.h. */
7301 #include <sys/types.h>
7302 #ifdef HAVE_ASM_TYPES_H
7303 # include <asm/types.h>
7304 #endif
7305 #if HAVE_SYS_SOCKET_H
7306 # include <sys/socket.h>
7307 #endif
7309 #include <$ac_header>
7310 _ACEOF
7311 rm -f conftest.$ac_objext
7312 if { (ac_try="$ac_compile"
7313 case "(($ac_try" in
7314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7315 *) ac_try_echo=$ac_try;;
7316 esac
7317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7318 (eval "$ac_compile") 2>conftest.er1
7319 ac_status=$?
7320 grep -v '^ *+' conftest.er1 >conftest.err
7321 rm -f conftest.er1
7322 cat conftest.err >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } && {
7325 test -z "$ac_c_werror_flag" ||
7326 test ! -s conftest.err
7327 } && test -s conftest.$ac_objext; then
7328 eval "$as_ac_Header=yes"
7329 else
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.$ac_ext >&5
7333 eval "$as_ac_Header=no"
7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7338 ac_res=`eval echo '${'$as_ac_Header'}'`
7339 { echo "$as_me:$LINENO: result: $ac_res" >&5
7340 echo "${ECHO_T}$ac_res" >&6; }
7341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7352 for ac_header in resolv.h
7354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 else
7360 cat >conftest.$ac_ext <<_ACEOF
7361 /* confdefs.h. */
7362 _ACEOF
7363 cat confdefs.h >>conftest.$ac_ext
7364 cat >>conftest.$ac_ext <<_ACEOF
7365 /* end confdefs.h. */
7366 #include <sys/types.h>
7367 #if HAVE_SYS_SOCKET_H
7368 # include <sys/socket.h>
7369 #endif
7370 #if HAVE_NETINET_IN_H
7371 # include <netinet/in.h>
7372 #endif
7373 #if HAVE_ARPA_NAMESER_H
7374 # include <arpa/nameser.h>
7375 #endif
7377 #include <$ac_header>
7378 _ACEOF
7379 rm -f conftest.$ac_objext
7380 if { (ac_try="$ac_compile"
7381 case "(($ac_try" in
7382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7383 *) ac_try_echo=$ac_try;;
7384 esac
7385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7386 (eval "$ac_compile") 2>conftest.er1
7387 ac_status=$?
7388 grep -v '^ *+' conftest.er1 >conftest.err
7389 rm -f conftest.er1
7390 cat conftest.err >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } && {
7393 test -z "$ac_c_werror_flag" ||
7394 test ! -s conftest.err
7395 } && test -s conftest.$ac_objext; then
7396 eval "$as_ac_Header=yes"
7397 else
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.$ac_ext >&5
7401 eval "$as_ac_Header=no"
7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406 ac_res=`eval echo '${'$as_ac_Header'}'`
7407 { echo "$as_me:$LINENO: result: $ac_res" >&5
7408 echo "${ECHO_T}$ac_res" >&6; }
7409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7410 cat >>confdefs.h <<_ACEOF
7411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 _ACEOF
7416 done
7420 for ac_header in ucontext.h
7422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6
7427 else
7428 cat >conftest.$ac_ext <<_ACEOF
7429 /* confdefs.h. */
7430 _ACEOF
7431 cat confdefs.h >>conftest.$ac_ext
7432 cat >>conftest.$ac_ext <<_ACEOF
7433 /* end confdefs.h. */
7434 #include <signal.h>
7436 #include <$ac_header>
7437 _ACEOF
7438 rm -f conftest.$ac_objext
7439 if { (ac_try="$ac_compile"
7440 case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7443 esac
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_compile") 2>conftest.er1
7446 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then
7455 eval "$as_ac_Header=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7479 for ac_header in sys/thr.h
7481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7486 else
7487 cat >conftest.$ac_ext <<_ACEOF
7488 /* confdefs.h. */
7489 _ACEOF
7490 cat confdefs.h >>conftest.$ac_ext
7491 cat >>conftest.$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7493 #include <sys/types.h>
7494 #if HAVE_UCONTEXT_H
7495 #include <ucontext.h>
7496 #endif
7498 #include <$ac_header>
7499 _ACEOF
7500 rm -f conftest.$ac_objext
7501 if { (ac_try="$ac_compile"
7502 case "(($ac_try" in
7503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7504 *) ac_try_echo=$ac_try;;
7505 esac
7506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7507 (eval "$ac_compile") 2>conftest.er1
7508 ac_status=$?
7509 grep -v '^ *+' conftest.er1 >conftest.err
7510 rm -f conftest.er1
7511 cat conftest.err >&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } && {
7514 test -z "$ac_c_werror_flag" ||
7515 test ! -s conftest.err
7516 } && test -s conftest.$ac_objext; then
7517 eval "$as_ac_Header=yes"
7518 else
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7522 eval "$as_ac_Header=no"
7525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7527 ac_res=`eval echo '${'$as_ac_Header'}'`
7528 { echo "$as_me:$LINENO: result: $ac_res" >&5
7529 echo "${ECHO_T}$ac_res" >&6; }
7530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7531 cat >>confdefs.h <<_ACEOF
7532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7533 _ACEOF
7537 done
7541 for ac_header in pthread_np.h
7543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7544 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 else
7549 cat >conftest.$ac_ext <<_ACEOF
7550 /* confdefs.h. */
7551 _ACEOF
7552 cat confdefs.h >>conftest.$ac_ext
7553 cat >>conftest.$ac_ext <<_ACEOF
7554 /* end confdefs.h. */
7555 #ifdef HAVE_PTHREAD_H
7556 #include <pthread.h>
7557 #endif
7559 #include <$ac_header>
7560 _ACEOF
7561 rm -f conftest.$ac_objext
7562 if { (ac_try="$ac_compile"
7563 case "(($ac_try" in
7564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7566 esac
7567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7568 (eval "$ac_compile") 2>conftest.er1
7569 ac_status=$?
7570 grep -v '^ *+' conftest.er1 >conftest.err
7571 rm -f conftest.er1
7572 cat conftest.err >&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } && {
7575 test -z "$ac_c_werror_flag" ||
7576 test ! -s conftest.err
7577 } && test -s conftest.$ac_objext; then
7578 eval "$as_ac_Header=yes"
7579 else
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.$ac_ext >&5
7583 eval "$as_ac_Header=no"
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588 ac_res=`eval echo '${'$as_ac_Header'}'`
7589 { echo "$as_me:$LINENO: result: $ac_res" >&5
7590 echo "${ECHO_T}$ac_res" >&6; }
7591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7592 cat >>confdefs.h <<_ACEOF
7593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7602 for ac_header in linux/videodev.h
7604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 else
7610 cat >conftest.$ac_ext <<_ACEOF
7611 /* confdefs.h. */
7612 _ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #ifdef HAVE_SYS_TIME_H
7617 #include <sys/time.h>
7618 #endif
7619 #include <sys/types.h>
7620 #ifdef HAVE_ASM_TYPES_H
7621 #include <asm/types.h>
7622 #endif
7624 #include <$ac_header>
7625 _ACEOF
7626 rm -f conftest.$ac_objext
7627 if { (ac_try="$ac_compile"
7628 case "(($ac_try" in
7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7630 *) ac_try_echo=$ac_try;;
7631 esac
7632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7633 (eval "$ac_compile") 2>conftest.er1
7634 ac_status=$?
7635 grep -v '^ *+' conftest.er1 >conftest.err
7636 rm -f conftest.er1
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } && {
7640 test -z "$ac_c_werror_flag" ||
7641 test ! -s conftest.err
7642 } && test -s conftest.$ac_objext; then
7643 eval "$as_ac_Header=yes"
7644 else
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.$ac_ext >&5
7648 eval "$as_ac_Header=no"
7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7653 ac_res=`eval echo '${'$as_ac_Header'}'`
7654 { echo "$as_me:$LINENO: result: $ac_res" >&5
7655 echo "${ECHO_T}$ac_res" >&6; }
7656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7657 cat >>confdefs.h <<_ACEOF
7658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7667 for ac_header in linux/capi.h
7669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7674 else
7675 cat >conftest.$ac_ext <<_ACEOF
7676 /* confdefs.h. */
7677 _ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 #define __user
7683 #include <$ac_header>
7684 _ACEOF
7685 rm -f conftest.$ac_objext
7686 if { (ac_try="$ac_compile"
7687 case "(($ac_try" in
7688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689 *) ac_try_echo=$ac_try;;
7690 esac
7691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692 (eval "$ac_compile") 2>conftest.er1
7693 ac_status=$?
7694 grep -v '^ *+' conftest.er1 >conftest.err
7695 rm -f conftest.er1
7696 cat conftest.err >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } && {
7699 test -z "$ac_c_werror_flag" ||
7700 test ! -s conftest.err
7701 } && test -s conftest.$ac_objext; then
7702 eval "$as_ac_Header=yes"
7703 else
7704 echo "$as_me: failed program was:" >&5
7705 sed 's/^/| /' conftest.$ac_ext >&5
7707 eval "$as_ac_Header=no"
7710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7712 ac_res=`eval echo '${'$as_ac_Header'}'`
7713 { echo "$as_me:$LINENO: result: $ac_res" >&5
7714 echo "${ECHO_T}$ac_res" >&6; }
7715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7716 cat >>confdefs.h <<_ACEOF
7717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7718 _ACEOF
7722 done
7726 DLLEXT=""
7728 DLLFLAGS="-D_REENTRANT"
7730 LDSHARED=""
7732 LDDLLFLAGS=""
7734 LIBEXT="so"
7736 IMPLIBEXT="def"
7738 LDRPATH_INSTALL=""
7740 LDRPATH_LOCAL=""
7742 # Extract the first word of "ldd", so it can be a program name with args.
7743 set dummy ldd; ac_word=$2
7744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7746 if test "${ac_cv_path_LDD+set}" = set; then
7747 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 else
7749 case $LDD in
7750 [\\/]* | ?:[\\/]*)
7751 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 as_dummy="/sbin:/usr/sbin:$PATH"
7756 for as_dir in $as_dummy
7758 IFS=$as_save_IFS
7759 test -z "$as_dir" && as_dir=.
7760 for ac_exec_ext in '' $ac_executable_extensions; do
7761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7762 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 break 2
7766 done
7767 done
7768 IFS=$as_save_IFS
7770 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7772 esac
7774 LDD=$ac_cv_path_LDD
7775 if test -n "$LDD"; then
7776 { echo "$as_me:$LINENO: result: $LDD" >&5
7777 echo "${ECHO_T}$LDD" >&6; }
7778 else
7779 { echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6; }
7785 case $host_os in
7786 cygwin*|mingw32*)
7787 if test -n "$ac_tool_prefix"; then
7788 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7789 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7792 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7793 echo $ECHO_N "(cached) $ECHO_C" >&6
7794 else
7795 if test -n "$DLLTOOL"; then
7796 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7797 else
7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7799 for as_dir in $PATH
7801 IFS=$as_save_IFS
7802 test -z "$as_dir" && as_dir=.
7803 for ac_exec_ext in '' $ac_executable_extensions; do
7804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7805 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7807 break 2
7809 done
7810 done
7811 IFS=$as_save_IFS
7815 DLLTOOL=$ac_cv_prog_DLLTOOL
7816 if test -n "$DLLTOOL"; then
7817 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7818 echo "${ECHO_T}$DLLTOOL" >&6; }
7819 else
7820 { echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6; }
7826 if test -z "$ac_cv_prog_DLLTOOL"; then
7827 ac_ct_DLLTOOL=$DLLTOOL
7828 # Extract the first word of "dlltool", so it can be a program name with args.
7829 set dummy dlltool; ac_word=$2
7830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7832 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 else
7835 if test -n "$ac_ct_DLLTOOL"; then
7836 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7837 else
7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 for as_dir in $PATH
7841 IFS=$as_save_IFS
7842 test -z "$as_dir" && as_dir=.
7843 for ac_exec_ext in '' $ac_executable_extensions; do
7844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7845 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 break 2
7849 done
7850 done
7851 IFS=$as_save_IFS
7855 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7856 if test -n "$ac_ct_DLLTOOL"; then
7857 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7858 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7859 else
7860 { echo "$as_me:$LINENO: result: no" >&5
7861 echo "${ECHO_T}no" >&6; }
7864 if test "x$ac_ct_DLLTOOL" = x; then
7865 DLLTOOL="false"
7866 else
7867 case $cross_compiling:$ac_tool_warned in
7868 yes:)
7869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7870 whose name does not start with the host triplet. If you think this
7871 configuration is useful to you, please write to autoconf@gnu.org." >&5
7872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7873 whose name does not start with the host triplet. If you think this
7874 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7875 ac_tool_warned=yes ;;
7876 esac
7877 DLLTOOL=$ac_ct_DLLTOOL
7879 else
7880 DLLTOOL="$ac_cv_prog_DLLTOOL"
7883 if test -n "$ac_tool_prefix"; then
7884 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7885 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7888 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7889 echo $ECHO_N "(cached) $ECHO_C" >&6
7890 else
7891 if test -n "$DLLWRAP"; then
7892 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7893 else
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 for as_dir in $PATH
7897 IFS=$as_save_IFS
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7901 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 break 2
7905 done
7906 done
7907 IFS=$as_save_IFS
7911 DLLWRAP=$ac_cv_prog_DLLWRAP
7912 if test -n "$DLLWRAP"; then
7913 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7914 echo "${ECHO_T}$DLLWRAP" >&6; }
7915 else
7916 { echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6; }
7922 if test -z "$ac_cv_prog_DLLWRAP"; then
7923 ac_ct_DLLWRAP=$DLLWRAP
7924 # Extract the first word of "dllwrap", so it can be a program name with args.
7925 set dummy dllwrap; ac_word=$2
7926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7928 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7929 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 else
7931 if test -n "$ac_ct_DLLWRAP"; then
7932 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7937 IFS=$as_save_IFS
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7945 done
7946 done
7947 IFS=$as_save_IFS
7951 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7952 if test -n "$ac_ct_DLLWRAP"; then
7953 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7954 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7955 else
7956 { echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6; }
7960 if test "x$ac_ct_DLLWRAP" = x; then
7961 DLLWRAP="false"
7962 else
7963 case $cross_compiling:$ac_tool_warned in
7964 yes:)
7965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7966 whose name does not start with the host triplet. If you think this
7967 configuration is useful to you, please write to autoconf@gnu.org." >&5
7968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7969 whose name does not start with the host triplet. If you think this
7970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7971 ac_tool_warned=yes ;;
7972 esac
7973 DLLWRAP=$ac_ct_DLLWRAP
7975 else
7976 DLLWRAP="$ac_cv_prog_DLLWRAP"
7979 if test -n "$ac_tool_prefix"; then
7980 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7981 set dummy ${ac_tool_prefix}ar; ac_word=$2
7982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7984 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7985 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 else
7987 if test -n "$MINGWAR"; then
7988 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7989 else
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 for as_dir in $PATH
7993 IFS=$as_save_IFS
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7997 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 break 2
8001 done
8002 done
8003 IFS=$as_save_IFS
8007 MINGWAR=$ac_cv_prog_MINGWAR
8008 if test -n "$MINGWAR"; then
8009 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8010 echo "${ECHO_T}$MINGWAR" >&6; }
8011 else
8012 { echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6; }
8018 if test -z "$ac_cv_prog_MINGWAR"; then
8019 ac_ct_MINGWAR=$MINGWAR
8020 # Extract the first word of "ar", so it can be a program name with args.
8021 set dummy ar; ac_word=$2
8022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8024 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 else
8027 if test -n "$ac_ct_MINGWAR"; then
8028 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8029 else
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 for as_dir in $PATH
8033 IFS=$as_save_IFS
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8037 ac_cv_prog_ac_ct_MINGWAR="ar"
8038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 break 2
8041 done
8042 done
8043 IFS=$as_save_IFS
8047 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8048 if test -n "$ac_ct_MINGWAR"; then
8049 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8050 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8051 else
8052 { echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6; }
8056 if test "x$ac_ct_MINGWAR" = x; then
8057 MINGWAR="false"
8058 else
8059 case $cross_compiling:$ac_tool_warned in
8060 yes:)
8061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8062 whose name does not start with the host triplet. If you think this
8063 configuration is useful to you, please write to autoconf@gnu.org." >&5
8064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8065 whose name does not start with the host triplet. If you think this
8066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8067 ac_tool_warned=yes ;;
8068 esac
8069 MINGWAR=$ac_ct_MINGWAR
8071 else
8072 MINGWAR="$ac_cv_prog_MINGWAR"
8075 if test "$DLLWRAP" = "false"; then
8076 LIBEXT="a"
8077 else
8078 LIBEXT="dll"
8080 IMPLIBEXT="a"
8081 WIN16_FILES=""
8082 WIN16_INSTALL=""
8084 darwin*|macosx*)
8085 DLLEXT=".so"
8086 LIBEXT="dylib"
8087 DLLFLAGS="$DLLFLAGS -fPIC"
8088 LDDLLFLAGS="-bundle -multiply_defined suppress"
8089 LIBWINE_LDFLAGS="-multiply_defined suppress"
8090 LDSHARED="\$(CC) -dynamiclib"
8091 STRIP="$STRIP -x"
8092 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8093 COREFOUNDATIONLIB="-framework CoreFoundation"
8095 IOKITLIB="-framework IOKit -framework CoreFoundation"
8097 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8099 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8100 then
8101 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8104 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8105 then
8106 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8109 case $host_cpu in
8110 *powerpc*)
8111 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8112 esac
8113 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8114 then
8115 CARBONLIB="-framework Carbon"
8117 QUARTZFILES='$(QUARTZFILES)'
8121 DLLFLAGS="$DLLFLAGS -fPIC"
8122 DLLEXT=".so"
8123 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8124 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8125 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8126 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 else
8128 ac_wine_try_cflags_saved=$CFLAGS
8129 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8130 cat >conftest.$ac_ext <<_ACEOF
8131 void myfunc() {}
8132 _ACEOF
8133 rm -f conftest.$ac_objext conftest$ac_exeext
8134 if { (ac_try="$ac_link"
8135 case "(($ac_try" in
8136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8137 *) ac_try_echo=$ac_try;;
8138 esac
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_link") 2>conftest.er1
8141 ac_status=$?
8142 grep -v '^ *+' conftest.er1 >conftest.err
8143 rm -f conftest.er1
8144 cat conftest.err >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } && {
8147 test -z "$ac_c_werror_flag" ||
8148 test ! -s conftest.err
8149 } && test -s conftest$ac_exeext &&
8150 $as_test_x conftest$ac_exeext; then
8151 ac_cv_c_dll_gnuelf="yes"
8152 else
8153 echo "$as_me: failed program was:" >&5
8154 sed 's/^/| /' conftest.$ac_ext >&5
8156 ac_cv_c_dll_gnuelf="no"
8159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8160 conftest$ac_exeext conftest.$ac_ext
8161 CFLAGS=$ac_wine_try_cflags_saved
8163 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8164 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8165 if test "$ac_cv_c_dll_gnuelf" = "yes"
8166 then
8167 LDSHARED="\$(CC) -shared"
8168 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8169 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8170 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8171 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8172 echo $ECHO_N "(cached) $ECHO_C" >&6
8173 else
8174 ac_wine_try_cflags_saved=$CFLAGS
8175 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8176 cat >conftest.$ac_ext <<_ACEOF
8177 /* confdefs.h. */
8178 _ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8184 main ()
8188 return 0;
8190 _ACEOF
8191 rm -f conftest.$ac_objext conftest$ac_exeext
8192 if { (ac_try="$ac_link"
8193 case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8196 esac
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_link") 2>conftest.er1
8199 ac_status=$?
8200 grep -v '^ *+' conftest.er1 >conftest.err
8201 rm -f conftest.er1
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } && {
8205 test -z "$ac_c_werror_flag" ||
8206 test ! -s conftest.err
8207 } && test -s conftest$ac_exeext &&
8208 $as_test_x conftest$ac_exeext; then
8209 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8210 else
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.$ac_ext >&5
8214 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8218 conftest$ac_exeext conftest.$ac_ext
8219 CFLAGS=$ac_wine_try_cflags_saved
8221 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8222 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8223 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8224 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8225 else
8226 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8227 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8228 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 else
8231 ac_wine_try_cflags_saved=$CFLAGS
8232 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8233 cat >conftest.$ac_ext <<_ACEOF
8234 /* confdefs.h. */
8235 _ACEOF
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8241 main ()
8245 return 0;
8247 _ACEOF
8248 rm -f conftest.$ac_objext conftest$ac_exeext
8249 if { (ac_try="$ac_link"
8250 case "(($ac_try" in
8251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8252 *) ac_try_echo=$ac_try;;
8253 esac
8254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8255 (eval "$ac_link") 2>conftest.er1
8256 ac_status=$?
8257 grep -v '^ *+' conftest.er1 >conftest.err
8258 rm -f conftest.er1
8259 cat conftest.err >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); } && {
8262 test -z "$ac_c_werror_flag" ||
8263 test ! -s conftest.err
8264 } && test -s conftest$ac_exeext &&
8265 $as_test_x conftest$ac_exeext; then
8266 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8267 else
8268 echo "$as_me: failed program was:" >&5
8269 sed 's/^/| /' conftest.$ac_ext >&5
8271 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8275 conftest$ac_exeext conftest.$ac_ext
8276 CFLAGS=$ac_wine_try_cflags_saved
8278 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8279 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8280 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8281 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8287 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8288 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8289 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8294 cat >conftest.$ac_ext <<_ACEOF
8295 /* confdefs.h. */
8296 _ACEOF
8297 cat confdefs.h >>conftest.$ac_ext
8298 cat >>conftest.$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8302 main ()
8306 return 0;
8308 _ACEOF
8309 rm -f conftest.$ac_objext conftest$ac_exeext
8310 if { (ac_try="$ac_link"
8311 case "(($ac_try" in
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 *) ac_try_echo=$ac_try;;
8314 esac
8315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316 (eval "$ac_link") 2>conftest.er1
8317 ac_status=$?
8318 grep -v '^ *+' conftest.er1 >conftest.err
8319 rm -f conftest.er1
8320 cat conftest.err >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } && {
8323 test -z "$ac_c_werror_flag" ||
8324 test ! -s conftest.err
8325 } && test -s conftest$ac_exeext &&
8326 $as_test_x conftest$ac_exeext; then
8327 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8328 else
8329 echo "$as_me: failed program was:" >&5
8330 sed 's/^/| /' conftest.$ac_ext >&5
8332 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8340 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8341 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8342 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8346 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8347 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8348 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 else
8351 ac_wine_try_cflags_saved=$CFLAGS
8352 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8353 cat >conftest.$ac_ext <<_ACEOF
8354 /* confdefs.h. */
8355 _ACEOF
8356 cat confdefs.h >>conftest.$ac_ext
8357 cat >>conftest.$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8361 main ()
8365 return 0;
8367 _ACEOF
8368 rm -f conftest.$ac_objext conftest$ac_exeext
8369 if { (ac_try="$ac_link"
8370 case "(($ac_try" in
8371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372 *) ac_try_echo=$ac_try;;
8373 esac
8374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8375 (eval "$ac_link") 2>conftest.er1
8376 ac_status=$?
8377 grep -v '^ *+' conftest.er1 >conftest.err
8378 rm -f conftest.er1
8379 cat conftest.err >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } && {
8382 test -z "$ac_c_werror_flag" ||
8383 test ! -s conftest.err
8384 } && test -s conftest$ac_exeext &&
8385 $as_test_x conftest$ac_exeext; then
8386 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8387 else
8388 echo "$as_me: failed program was:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8391 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8395 conftest$ac_exeext conftest.$ac_ext
8396 CFLAGS=$ac_wine_try_cflags_saved
8398 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8399 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8400 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8401 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8405 echo '{ global: *; };' >conftest.map
8406 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8407 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8408 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8409 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 else
8411 ac_wine_try_cflags_saved=$CFLAGS
8412 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8413 cat >conftest.$ac_ext <<_ACEOF
8414 /* confdefs.h. */
8415 _ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8421 main ()
8425 return 0;
8427 _ACEOF
8428 rm -f conftest.$ac_objext conftest$ac_exeext
8429 if { (ac_try="$ac_link"
8430 case "(($ac_try" in
8431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8432 *) ac_try_echo=$ac_try;;
8433 esac
8434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8435 (eval "$ac_link") 2>conftest.er1
8436 ac_status=$?
8437 grep -v '^ *+' conftest.er1 >conftest.err
8438 rm -f conftest.er1
8439 cat conftest.err >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } && {
8442 test -z "$ac_c_werror_flag" ||
8443 test ! -s conftest.err
8444 } && test -s conftest$ac_exeext &&
8445 $as_test_x conftest$ac_exeext; then
8446 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8447 else
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.$ac_ext >&5
8451 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8459 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8460 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8461 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8464 rm -f conftest.map
8466 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8467 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8468 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8473 cat >conftest.$ac_ext <<_ACEOF
8474 /* confdefs.h. */
8475 _ACEOF
8476 cat confdefs.h >>conftest.$ac_ext
8477 cat >>conftest.$ac_ext <<_ACEOF
8478 /* end confdefs.h. */
8481 main ()
8485 return 0;
8487 _ACEOF
8488 rm -f conftest.$ac_objext conftest$ac_exeext
8489 if { (ac_try="$ac_link"
8490 case "(($ac_try" in
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8493 esac
8494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_link") 2>conftest.er1
8496 ac_status=$?
8497 grep -v '^ *+' conftest.er1 >conftest.err
8498 rm -f conftest.er1
8499 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } && {
8502 test -z "$ac_c_werror_flag" ||
8503 test ! -s conftest.err
8504 } && test -s conftest$ac_exeext &&
8505 $as_test_x conftest$ac_exeext; then
8506 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8507 else
8508 echo "$as_me: failed program was:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8519 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8520 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8521 LDEXECFLAGS="-Wl,--export-dynamic"
8526 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8527 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8528 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8534 cat >conftest.$ac_ext <<_ACEOF
8535 /* confdefs.h. */
8536 _ACEOF
8537 cat confdefs.h >>conftest.$ac_ext
8538 cat >>conftest.$ac_ext <<_ACEOF
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 rm -f conftest.$ac_objext conftest$ac_exeext
8550 if { (ac_try="$ac_link"
8551 case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8554 esac
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_link") 2>conftest.er1
8557 ac_status=$?
8558 grep -v '^ *+' conftest.er1 >conftest.err
8559 rm -f conftest.er1
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } && {
8563 test -z "$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8565 } && test -s conftest$ac_exeext &&
8566 $as_test_x conftest$ac_exeext; then
8567 eval "$as_ac_var=yes"
8568 else
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 eval "$as_ac_var=no"
8575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8576 conftest$ac_exeext conftest.$ac_ext
8577 CFLAGS=$ac_wine_try_cflags_saved
8579 ac_res=`eval echo '${'$as_ac_var'}'`
8580 { echo "$as_me:$LINENO: result: $ac_res" >&5
8581 echo "${ECHO_T}$ac_res" >&6; }
8582 if test `eval echo '${'$as_ac_var'}'` = yes; then
8583 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8584 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8585 else
8586 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8587 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8588 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8594 cat >conftest.$ac_ext <<_ACEOF
8595 /* confdefs.h. */
8596 _ACEOF
8597 cat confdefs.h >>conftest.$ac_ext
8598 cat >>conftest.$ac_ext <<_ACEOF
8599 /* end confdefs.h. */
8602 main ()
8606 return 0;
8608 _ACEOF
8609 rm -f conftest.$ac_objext conftest$ac_exeext
8610 if { (ac_try="$ac_link"
8611 case "(($ac_try" in
8612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8613 *) ac_try_echo=$ac_try;;
8614 esac
8615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8616 (eval "$ac_link") 2>conftest.er1
8617 ac_status=$?
8618 grep -v '^ *+' conftest.er1 >conftest.err
8619 rm -f conftest.er1
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && {
8623 test -z "$ac_c_werror_flag" ||
8624 test ! -s conftest.err
8625 } && test -s conftest$ac_exeext &&
8626 $as_test_x conftest$ac_exeext; then
8627 eval "$as_ac_var=yes"
8628 else
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 eval "$as_ac_var=no"
8635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 ac_res=`eval echo '${'$as_ac_var'}'`
8640 { echo "$as_me:$LINENO: result: $ac_res" >&5
8641 echo "${ECHO_T}$ac_res" >&6; }
8642 if test `eval echo '${'$as_ac_var'}'` = yes; then
8643 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8644 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8650 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8651 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8652 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8653 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8657 cat >conftest.$ac_ext <<_ACEOF
8658 /* confdefs.h. */
8659 _ACEOF
8660 cat confdefs.h >>conftest.$ac_ext
8661 cat >>conftest.$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8665 main ()
8669 return 0;
8671 _ACEOF
8672 rm -f conftest.$ac_objext conftest$ac_exeext
8673 if { (ac_try="$ac_link"
8674 case "(($ac_try" in
8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8676 *) ac_try_echo=$ac_try;;
8677 esac
8678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8679 (eval "$ac_link") 2>conftest.er1
8680 ac_status=$?
8681 grep -v '^ *+' conftest.er1 >conftest.err
8682 rm -f conftest.er1
8683 cat conftest.err >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } && {
8686 test -z "$ac_c_werror_flag" ||
8687 test ! -s conftest.err
8688 } && test -s conftest$ac_exeext &&
8689 $as_test_x conftest$ac_exeext; then
8690 ac_cv_cflags__Wl___enable_new_dtags=yes
8691 else
8692 echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.$ac_ext >&5
8695 ac_cv_cflags__Wl___enable_new_dtags=no
8698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8703 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8704 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8705 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8709 case $host_cpu in
8710 *i[3456789]86* | x86_64)
8711 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8712 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8713 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8718 cat >conftest.$ac_ext <<_ACEOF
8719 /* confdefs.h. */
8720 _ACEOF
8721 cat confdefs.h >>conftest.$ac_ext
8722 cat >>conftest.$ac_ext <<_ACEOF
8723 /* end confdefs.h. */
8726 main ()
8730 return 0;
8732 _ACEOF
8733 rm -f conftest.$ac_objext conftest$ac_exeext
8734 if { (ac_try="$ac_link"
8735 case "(($ac_try" in
8736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8737 *) ac_try_echo=$ac_try;;
8738 esac
8739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8740 (eval "$ac_link") 2>conftest.er1
8741 ac_status=$?
8742 grep -v '^ *+' conftest.er1 >conftest.err
8743 rm -f conftest.er1
8744 cat conftest.err >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } && {
8747 test -z "$ac_c_werror_flag" ||
8748 test ! -s conftest.err
8749 } && test -s conftest$ac_exeext &&
8750 $as_test_x conftest$ac_exeext; then
8751 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8752 else
8753 echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.$ac_ext >&5
8756 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8760 conftest$ac_exeext conftest.$ac_ext
8761 CFLAGS=$ac_wine_try_cflags_saved
8763 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8764 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8765 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8766 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8770 esac
8772 else
8773 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8774 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8775 if test "${ac_cv_c_dll_unixware+set}" = set; then
8776 echo $ECHO_N "(cached) $ECHO_C" >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8780 cat >conftest.$ac_ext <<_ACEOF
8781 void myfunc() {}
8782 _ACEOF
8783 rm -f conftest.$ac_objext conftest$ac_exeext
8784 if { (ac_try="$ac_link"
8785 case "(($ac_try" in
8786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8787 *) ac_try_echo=$ac_try;;
8788 esac
8789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8790 (eval "$ac_link") 2>conftest.er1
8791 ac_status=$?
8792 grep -v '^ *+' conftest.er1 >conftest.err
8793 rm -f conftest.er1
8794 cat conftest.err >&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); } && {
8797 test -z "$ac_c_werror_flag" ||
8798 test ! -s conftest.err
8799 } && test -s conftest$ac_exeext &&
8800 $as_test_x conftest$ac_exeext; then
8801 ac_cv_c_dll_unixware="yes"
8802 else
8803 echo "$as_me: failed program was:" >&5
8804 sed 's/^/| /' conftest.$ac_ext >&5
8806 ac_cv_c_dll_unixware="no"
8809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8810 conftest$ac_exeext conftest.$ac_ext
8811 CFLAGS=$ac_wine_try_cflags_saved
8813 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8814 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8815 if test "$ac_cv_c_dll_unixware" = "yes"
8816 then
8817 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8818 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8820 else
8821 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8822 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8823 if test "${ac_cv_c_dll_hpux+set}" = set; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8825 else
8826 ac_wine_try_cflags_saved=$CFLAGS
8827 CFLAGS="$CFLAGS -shared"
8828 cat >conftest.$ac_ext <<_ACEOF
8829 void myfunc() {}
8830 _ACEOF
8831 rm -f conftest.$ac_objext conftest$ac_exeext
8832 if { (ac_try="$ac_link"
8833 case "(($ac_try" in
8834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8835 *) ac_try_echo=$ac_try;;
8836 esac
8837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8838 (eval "$ac_link") 2>conftest.er1
8839 ac_status=$?
8840 grep -v '^ *+' conftest.er1 >conftest.err
8841 rm -f conftest.er1
8842 cat conftest.err >&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); } && {
8845 test -z "$ac_c_werror_flag" ||
8846 test ! -s conftest.err
8847 } && test -s conftest$ac_exeext &&
8848 $as_test_x conftest$ac_exeext; then
8849 ac_cv_c_dll_hpux="yes"
8850 else
8851 echo "$as_me: failed program was:" >&5
8852 sed 's/^/| /' conftest.$ac_ext >&5
8854 ac_cv_c_dll_hpux="no"
8857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8862 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8863 if test "$ac_cv_c_dll_hpux" = "yes"
8864 then
8865 LIBEXT="sl"
8866 DLLEXT=".sl"
8867 LDDLLFLAGS="-shared -fPIC"
8868 LDSHARED="\$(CC) -shared"
8873 CROSSTEST=""
8875 if test "$cross_compiling" = "no"
8876 then
8877 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8879 # Extract the first word of "$ac_prog", so it can be a program name with args.
8880 set dummy $ac_prog; ac_word=$2
8881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8883 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 else
8886 if test -n "$CROSSCC"; then
8887 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8888 else
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 for as_dir in $PATH
8892 IFS=$as_save_IFS
8893 test -z "$as_dir" && as_dir=.
8894 for ac_exec_ext in '' $ac_executable_extensions; do
8895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8896 ac_cv_prog_CROSSCC="$ac_prog"
8897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8898 break 2
8900 done
8901 done
8902 IFS=$as_save_IFS
8906 CROSSCC=$ac_cv_prog_CROSSCC
8907 if test -n "$CROSSCC"; then
8908 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8909 echo "${ECHO_T}$CROSSCC" >&6; }
8910 else
8911 { echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6; }
8916 test -n "$CROSSCC" && break
8917 done
8918 test -n "$CROSSCC" || CROSSCC="false"
8920 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8922 # Extract the first word of "$ac_prog", so it can be a program name with args.
8923 set dummy $ac_prog; ac_word=$2
8924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8926 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8927 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 else
8929 if test -n "$DLLTOOL"; then
8930 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8931 else
8932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 for as_dir in $PATH
8935 IFS=$as_save_IFS
8936 test -z "$as_dir" && as_dir=.
8937 for ac_exec_ext in '' $ac_executable_extensions; do
8938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8939 ac_cv_prog_DLLTOOL="$ac_prog"
8940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8941 break 2
8943 done
8944 done
8945 IFS=$as_save_IFS
8949 DLLTOOL=$ac_cv_prog_DLLTOOL
8950 if test -n "$DLLTOOL"; then
8951 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8952 echo "${ECHO_T}$DLLTOOL" >&6; }
8953 else
8954 { echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6; }
8959 test -n "$DLLTOOL" && break
8960 done
8961 test -n "$DLLTOOL" || DLLTOOL="false"
8963 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8965 # Extract the first word of "$ac_prog", so it can be a program name with args.
8966 set dummy $ac_prog; ac_word=$2
8967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8969 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8971 else
8972 if test -n "$CROSSWINDRES"; then
8973 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8974 else
8975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976 for as_dir in $PATH
8978 IFS=$as_save_IFS
8979 test -z "$as_dir" && as_dir=.
8980 for ac_exec_ext in '' $ac_executable_extensions; do
8981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8982 ac_cv_prog_CROSSWINDRES="$ac_prog"
8983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8984 break 2
8986 done
8987 done
8988 IFS=$as_save_IFS
8992 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8993 if test -n "$CROSSWINDRES"; then
8994 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8995 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8996 else
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
9002 test -n "$CROSSWINDRES" && break
9003 done
9004 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9006 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9008 # Extract the first word of "$ac_prog", so it can be a program name with args.
9009 set dummy $ac_prog; ac_word=$2
9010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9012 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015 if test -n "$MINGWAR"; then
9016 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9017 else
9018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9019 for as_dir in $PATH
9021 IFS=$as_save_IFS
9022 test -z "$as_dir" && as_dir=.
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9025 ac_cv_prog_MINGWAR="$ac_prog"
9026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9027 break 2
9029 done
9030 done
9031 IFS=$as_save_IFS
9035 MINGWAR=$ac_cv_prog_MINGWAR
9036 if test -n "$MINGWAR"; then
9037 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9038 echo "${ECHO_T}$MINGWAR" >&6; }
9039 else
9040 { echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6; }
9045 test -n "$MINGWAR" && break
9046 done
9047 test -n "$MINGWAR" || MINGWAR="false"
9049 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9052 esac
9054 if test "$LIBEXT" = "a"; then
9055 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9056 It is currently not possible to build Wine without shared library
9057 (.so) support to allow transparent switch between .so and .dll files.
9058 If you are using Linux, you will need a newer binutils.
9059 " >&5
9060 echo "$as_me: error: could not find a way to build shared libraries.
9061 It is currently not possible to build Wine without shared library
9062 (.so) support to allow transparent switch between .so and .dll files.
9063 If you are using Linux, you will need a newer binutils.
9064 " >&2;}
9065 { (exit 1); exit 1; }; }
9069 if test "$have_x" = "yes"
9070 then
9071 XLIB="-lXext -lX11"
9072 ac_save_CPPFLAGS="$CPPFLAGS"
9073 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9075 { echo "$as_me:$LINENO: checking for -lX11" >&5
9076 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9077 if test "${ac_cv_lib_soname_X11+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 else
9080 ac_check_soname_save_LIBS=$LIBS
9081 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9082 cat >conftest.$ac_ext <<_ACEOF
9083 /* confdefs.h. */
9084 _ACEOF
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9092 #ifdef __cplusplus
9093 extern "C"
9094 #endif
9095 char XCreateWindow ();
9097 main ()
9099 return XCreateWindow ();
9101 return 0;
9103 _ACEOF
9104 rm -f conftest.$ac_objext conftest$ac_exeext
9105 if { (ac_try="$ac_link"
9106 case "(($ac_try" in
9107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9108 *) ac_try_echo=$ac_try;;
9109 esac
9110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9111 (eval "$ac_link") 2>conftest.er1
9112 ac_status=$?
9113 grep -v '^ *+' conftest.er1 >conftest.err
9114 rm -f conftest.er1
9115 cat conftest.err >&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); } && {
9118 test -z "$ac_c_werror_flag" ||
9119 test ! -s conftest.err
9120 } && test -s conftest$ac_exeext &&
9121 $as_test_x conftest$ac_exeext; then
9122 case "$LIBEXT" in
9123 dll) ;;
9124 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'` ;;
9125 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9126 esac
9127 else
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9135 conftest$ac_exeext conftest.$ac_ext
9136 LIBS=$ac_check_soname_save_LIBS
9138 if test "x$ac_cv_lib_soname_X11" = "x"; then
9139 { echo "$as_me:$LINENO: result: not found" >&5
9140 echo "${ECHO_T}not found" >&6; }
9142 else
9143 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9144 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9146 cat >>confdefs.h <<_ACEOF
9147 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9148 _ACEOF
9153 { echo "$as_me:$LINENO: checking for -lXext" >&5
9154 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9155 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9157 else
9158 ac_check_soname_save_LIBS=$LIBS
9159 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9160 cat >conftest.$ac_ext <<_ACEOF
9161 /* confdefs.h. */
9162 _ACEOF
9163 cat confdefs.h >>conftest.$ac_ext
9164 cat >>conftest.$ac_ext <<_ACEOF
9165 /* end confdefs.h. */
9167 /* Override any GCC internal prototype to avoid an error.
9168 Use char because int might match the return type of a GCC
9169 builtin and then its argument prototype would still apply. */
9170 #ifdef __cplusplus
9171 extern "C"
9172 #endif
9173 char XextCreateExtension ();
9175 main ()
9177 return XextCreateExtension ();
9179 return 0;
9181 _ACEOF
9182 rm -f conftest.$ac_objext conftest$ac_exeext
9183 if { (ac_try="$ac_link"
9184 case "(($ac_try" in
9185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9186 *) ac_try_echo=$ac_try;;
9187 esac
9188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9189 (eval "$ac_link") 2>conftest.er1
9190 ac_status=$?
9191 grep -v '^ *+' conftest.er1 >conftest.err
9192 rm -f conftest.er1
9193 cat conftest.err >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); } && {
9196 test -z "$ac_c_werror_flag" ||
9197 test ! -s conftest.err
9198 } && test -s conftest$ac_exeext &&
9199 $as_test_x conftest$ac_exeext; then
9200 case "$LIBEXT" in
9201 dll) ;;
9202 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'` ;;
9203 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9204 esac
9205 else
9206 echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.$ac_ext >&5
9212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9213 conftest$ac_exeext conftest.$ac_ext
9214 LIBS=$ac_check_soname_save_LIBS
9216 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9217 { echo "$as_me:$LINENO: result: not found" >&5
9218 echo "${ECHO_T}not found" >&6; }
9220 else
9221 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9222 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9224 cat >>confdefs.h <<_ACEOF
9225 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9226 _ACEOF
9244 for ac_header in X11/Xlib.h \
9245 X11/XKBlib.h \
9246 X11/Xutil.h \
9247 X11/Xcursor/Xcursor.h \
9248 X11/extensions/shape.h \
9249 X11/extensions/XInput.h \
9250 X11/extensions/XShm.h \
9251 X11/extensions/Xcomposite.h \
9252 X11/extensions/Xinerama.h \
9253 X11/extensions/Xrandr.h \
9254 X11/extensions/Xrender.h \
9255 X11/extensions/xf86vmode.h
9257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 else
9263 cat >conftest.$ac_ext <<_ACEOF
9264 /* confdefs.h. */
9265 _ACEOF
9266 cat confdefs.h >>conftest.$ac_ext
9267 cat >>conftest.$ac_ext <<_ACEOF
9268 /* end confdefs.h. */
9269 #ifdef HAVE_X11_XLIB_H
9270 # include <X11/Xlib.h>
9271 #endif
9272 #ifdef HAVE_X11_XUTIL_H
9273 # include <X11/Xutil.h>
9274 #endif
9276 #include <$ac_header>
9277 _ACEOF
9278 rm -f conftest.$ac_objext
9279 if { (ac_try="$ac_compile"
9280 case "(($ac_try" in
9281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9283 esac
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_compile") 2>conftest.er1
9286 ac_status=$?
9287 grep -v '^ *+' conftest.er1 >conftest.err
9288 rm -f conftest.er1
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } && {
9292 test -z "$ac_c_werror_flag" ||
9293 test ! -s conftest.err
9294 } && test -s conftest.$ac_objext; then
9295 eval "$as_ac_Header=yes"
9296 else
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.$ac_ext >&5
9300 eval "$as_ac_Header=no"
9303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9305 ac_res=`eval echo '${'$as_ac_Header'}'`
9306 { echo "$as_me:$LINENO: result: $ac_res" >&5
9307 echo "${ECHO_T}$ac_res" >&6; }
9308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9309 cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9311 _ACEOF
9315 done
9318 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9319 then
9320 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9321 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9322 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 else
9325 ac_check_lib_save_LIBS=$LIBS
9326 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9327 cat >conftest.$ac_ext <<_ACEOF
9328 /* confdefs.h. */
9329 _ACEOF
9330 cat confdefs.h >>conftest.$ac_ext
9331 cat >>conftest.$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9337 #ifdef __cplusplus
9338 extern "C"
9339 #endif
9340 char XkbQueryExtension ();
9342 main ()
9344 return XkbQueryExtension ();
9346 return 0;
9348 _ACEOF
9349 rm -f conftest.$ac_objext conftest$ac_exeext
9350 if { (ac_try="$ac_link"
9351 case "(($ac_try" in
9352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9353 *) ac_try_echo=$ac_try;;
9354 esac
9355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9356 (eval "$ac_link") 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } && {
9363 test -z "$ac_c_werror_flag" ||
9364 test ! -s conftest.err
9365 } && test -s conftest$ac_exeext &&
9366 $as_test_x conftest$ac_exeext; then
9367 ac_cv_lib_X11_XkbQueryExtension=yes
9368 else
9369 echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.$ac_ext >&5
9372 ac_cv_lib_X11_XkbQueryExtension=no
9375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9376 conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9379 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9380 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9381 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9383 cat >>confdefs.h <<\_ACEOF
9384 #define HAVE_XKB 1
9385 _ACEOF
9391 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9392 then
9393 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9394 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9395 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9397 else
9398 ac_check_soname_save_LIBS=$LIBS
9399 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9400 cat >conftest.$ac_ext <<_ACEOF
9401 /* confdefs.h. */
9402 _ACEOF
9403 cat confdefs.h >>conftest.$ac_ext
9404 cat >>conftest.$ac_ext <<_ACEOF
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9410 #ifdef __cplusplus
9411 extern "C"
9412 #endif
9413 char XcursorImageLoadCursor ();
9415 main ()
9417 return XcursorImageLoadCursor ();
9419 return 0;
9421 _ACEOF
9422 rm -f conftest.$ac_objext conftest$ac_exeext
9423 if { (ac_try="$ac_link"
9424 case "(($ac_try" in
9425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9426 *) ac_try_echo=$ac_try;;
9427 esac
9428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9429 (eval "$ac_link") 2>conftest.er1
9430 ac_status=$?
9431 grep -v '^ *+' conftest.er1 >conftest.err
9432 rm -f conftest.er1
9433 cat conftest.err >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } && {
9436 test -z "$ac_c_werror_flag" ||
9437 test ! -s conftest.err
9438 } && test -s conftest$ac_exeext &&
9439 $as_test_x conftest$ac_exeext; then
9440 case "$LIBEXT" in
9441 dll) ;;
9442 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'` ;;
9443 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9444 esac
9445 else
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.$ac_ext >&5
9452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_soname_save_LIBS
9456 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9457 { echo "$as_me:$LINENO: result: not found" >&5
9458 echo "${ECHO_T}not found" >&6; }
9460 else
9461 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9462 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9464 cat >>confdefs.h <<_ACEOF
9465 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9466 _ACEOF
9473 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9474 then
9475 { echo "$as_me:$LINENO: checking for -lXi" >&5
9476 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9477 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 else
9480 ac_check_soname_save_LIBS=$LIBS
9481 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9482 cat >conftest.$ac_ext <<_ACEOF
9483 /* confdefs.h. */
9484 _ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9492 #ifdef __cplusplus
9493 extern "C"
9494 #endif
9495 char XOpenDevice ();
9497 main ()
9499 return XOpenDevice ();
9501 return 0;
9503 _ACEOF
9504 rm -f conftest.$ac_objext conftest$ac_exeext
9505 if { (ac_try="$ac_link"
9506 case "(($ac_try" in
9507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9508 *) ac_try_echo=$ac_try;;
9509 esac
9510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9511 (eval "$ac_link") 2>conftest.er1
9512 ac_status=$?
9513 grep -v '^ *+' conftest.er1 >conftest.err
9514 rm -f conftest.er1
9515 cat conftest.err >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); } && {
9518 test -z "$ac_c_werror_flag" ||
9519 test ! -s conftest.err
9520 } && test -s conftest$ac_exeext &&
9521 $as_test_x conftest$ac_exeext; then
9522 case "$LIBEXT" in
9523 dll) ;;
9524 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'` ;;
9525 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9526 esac
9527 else
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9535 conftest$ac_exeext conftest.$ac_ext
9536 LIBS=$ac_check_soname_save_LIBS
9538 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9539 { echo "$as_me:$LINENO: result: not found" >&5
9540 echo "${ECHO_T}not found" >&6; }
9542 else
9543 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9544 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9546 cat >>confdefs.h <<_ACEOF
9547 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9548 _ACEOF
9555 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9556 then
9557 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9558 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9559 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9564 cat >conftest.$ac_ext <<_ACEOF
9565 /* confdefs.h. */
9566 _ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char XShmQueryExtension ();
9579 main ()
9581 return XShmQueryExtension ();
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext conftest$ac_exeext
9587 if { (ac_try="$ac_link"
9588 case "(($ac_try" in
9589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9591 esac
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_link") 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest$ac_exeext &&
9603 $as_test_x conftest$ac_exeext; then
9604 ac_cv_lib_Xext_XShmQueryExtension=yes
9605 else
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9609 ac_cv_lib_Xext_XShmQueryExtension=no
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9617 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9618 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9620 cat >>confdefs.h <<\_ACEOF
9621 #define HAVE_LIBXXSHM 1
9622 _ACEOF
9627 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9628 wine_notices="$wine_notices|XShm development files not found.
9629 Wine will be built without XShm support. (winex11.drv)"
9633 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9634 then
9635 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9636 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9637 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 else
9640 ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9642 cat >conftest.$ac_ext <<_ACEOF
9643 /* confdefs.h. */
9644 _ACEOF
9645 cat confdefs.h >>conftest.$ac_ext
9646 cat >>conftest.$ac_ext <<_ACEOF
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char XShapeQueryExtension ();
9657 main ()
9659 return XShapeQueryExtension ();
9661 return 0;
9663 _ACEOF
9664 rm -f conftest.$ac_objext conftest$ac_exeext
9665 if { (ac_try="$ac_link"
9666 case "(($ac_try" in
9667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9669 esac
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 (eval "$ac_link") 2>conftest.er1
9672 ac_status=$?
9673 grep -v '^ *+' conftest.er1 >conftest.err
9674 rm -f conftest.er1
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } && {
9678 test -z "$ac_c_werror_flag" ||
9679 test ! -s conftest.err
9680 } && test -s conftest$ac_exeext &&
9681 $as_test_x conftest$ac_exeext; then
9682 ac_cv_lib_Xext_XShapeQueryExtension=yes
9683 else
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ac_cv_lib_Xext_XShapeQueryExtension=no
9690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9694 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9695 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9696 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9698 cat >>confdefs.h <<\_ACEOF
9699 #define HAVE_LIBXSHAPE 1
9700 _ACEOF
9705 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9706 wine_notices="$wine_notices|XShape development files not found.
9707 Wine will be built without XShape support. (winex11.drv)"
9711 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9712 then
9713 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9714 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9715 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 else
9718 ac_check_lib_save_LIBS=$LIBS
9719 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9720 cat >conftest.$ac_ext <<_ACEOF
9721 /* confdefs.h. */
9722 _ACEOF
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XF86VidModeQueryExtension ();
9735 main ()
9737 return XF86VidModeQueryExtension ();
9739 return 0;
9741 _ACEOF
9742 rm -f conftest.$ac_objext conftest$ac_exeext
9743 if { (ac_try="$ac_link"
9744 case "(($ac_try" in
9745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9746 *) ac_try_echo=$ac_try;;
9747 esac
9748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9749 (eval "$ac_link") 2>conftest.er1
9750 ac_status=$?
9751 grep -v '^ *+' conftest.er1 >conftest.err
9752 rm -f conftest.er1
9753 cat conftest.err >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } && {
9756 test -z "$ac_c_werror_flag" ||
9757 test ! -s conftest.err
9758 } && test -s conftest$ac_exeext &&
9759 $as_test_x conftest$ac_exeext; then
9760 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9761 else
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9765 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9772 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9773 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9774 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9776 cat >>confdefs.h <<\_ACEOF
9777 #define HAVE_LIBXXF86VM 1
9778 _ACEOF
9780 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9785 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9786 wine_notices="$wine_notices|Xxf86vm development files not found.
9787 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9791 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"
9792 then
9793 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9794 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9795 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9800 cat >conftest.$ac_ext <<_ACEOF
9801 /* confdefs.h. */
9802 _ACEOF
9803 cat confdefs.h >>conftest.$ac_ext
9804 cat >>conftest.$ac_ext <<_ACEOF
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char XRenderQueryExtension ();
9815 main ()
9817 return XRenderQueryExtension ();
9819 return 0;
9821 _ACEOF
9822 rm -f conftest.$ac_objext conftest$ac_exeext
9823 if { (ac_try="$ac_link"
9824 case "(($ac_try" in
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9827 esac
9828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9829 (eval "$ac_link") 2>conftest.er1
9830 ac_status=$?
9831 grep -v '^ *+' conftest.er1 >conftest.err
9832 rm -f conftest.er1
9833 cat conftest.err >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); } && {
9836 test -z "$ac_c_werror_flag" ||
9837 test ! -s conftest.err
9838 } && test -s conftest$ac_exeext &&
9839 $as_test_x conftest$ac_exeext; then
9840 case "$LIBEXT" in
9841 dll) ;;
9842 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'` ;;
9843 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9844 esac
9845 else
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_soname_save_LIBS
9856 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9857 { echo "$as_me:$LINENO: result: not found" >&5
9858 echo "${ECHO_T}not found" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9862 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9864 cat >>confdefs.h <<_ACEOF
9865 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9866 _ACEOF
9868 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9869 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9870 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873 ac_check_lib_save_LIBS=$LIBS
9874 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9875 cat >conftest.$ac_ext <<_ACEOF
9876 /* confdefs.h. */
9877 _ACEOF
9878 cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9885 #ifdef __cplusplus
9886 extern "C"
9887 #endif
9888 char XRenderSetPictureTransform ();
9890 main ()
9892 return XRenderSetPictureTransform ();
9894 return 0;
9896 _ACEOF
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (ac_try="$ac_link"
9899 case "(($ac_try" in
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9902 esac
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_link") 2>conftest.er1
9905 ac_status=$?
9906 grep -v '^ *+' conftest.er1 >conftest.err
9907 rm -f conftest.er1
9908 cat conftest.err >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } && {
9911 test -z "$ac_c_werror_flag" ||
9912 test ! -s conftest.err
9913 } && test -s conftest$ac_exeext &&
9914 $as_test_x conftest$ac_exeext; then
9915 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9916 else
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_lib_save_LIBS
9927 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9928 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9929 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9931 cat >>confdefs.h <<\_ACEOF
9932 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9933 _ACEOF
9941 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9942 wine_notices="$wine_notices|XRender development files not found.
9943 Wine will be built without XRender support. (winex11.drv)"
9947 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9948 then
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9955 #include <X11/Xlib.h>
9956 #include <X11/extensions/Xrandr.h>
9958 main ()
9960 static typeof(XRRSetScreenConfigAndRate) * func;
9962 return 0;
9964 _ACEOF
9965 rm -f conftest.$ac_objext
9966 if { (ac_try="$ac_compile"
9967 case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9970 esac
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_compile") 2>conftest.er1
9973 ac_status=$?
9974 grep -v '^ *+' conftest.er1 >conftest.err
9975 rm -f conftest.er1
9976 cat conftest.err >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } && {
9979 test -z "$ac_c_werror_flag" ||
9980 test ! -s conftest.err
9981 } && test -s conftest.$ac_objext; then
9982 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9983 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9984 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 else
9987 ac_check_soname_save_LIBS=$LIBS
9988 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9989 cat >conftest.$ac_ext <<_ACEOF
9990 /* confdefs.h. */
9991 _ACEOF
9992 cat confdefs.h >>conftest.$ac_ext
9993 cat >>conftest.$ac_ext <<_ACEOF
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XRRQueryExtension ();
10004 main ()
10006 return XRRQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 rm -f conftest.$ac_objext conftest$ac_exeext
10012 if { (ac_try="$ac_link"
10013 case "(($ac_try" in
10014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10015 *) ac_try_echo=$ac_try;;
10016 esac
10017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10018 (eval "$ac_link") 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } && {
10025 test -z "$ac_c_werror_flag" ||
10026 test ! -s conftest.err
10027 } && test -s conftest$ac_exeext &&
10028 $as_test_x conftest$ac_exeext; then
10029 case "$LIBEXT" in
10030 dll) ;;
10031 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'` ;;
10032 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10033 esac
10034 else
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.$ac_ext >&5
10041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10046 { echo "$as_me:$LINENO: result: not found" >&5
10047 echo "${ECHO_T}not found" >&6; }
10049 else
10050 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10051 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10055 _ACEOF
10060 else
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10069 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10070 wine_notices="$wine_notices|XRandr development files not found.
10071 Wine will be built without XRandr support. (winex11.drv)"
10075 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10076 then
10077 cat >conftest.$ac_ext <<_ACEOF
10078 /* confdefs.h. */
10079 _ACEOF
10080 cat confdefs.h >>conftest.$ac_ext
10081 cat >>conftest.$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10083 #include <X11/Xlib.h>
10084 #include <X11/extensions/Xinerama.h>
10086 main ()
10088 static typeof(XineramaQueryScreens) * func;
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext
10094 if { (ac_try="$ac_compile"
10095 case "(($ac_try" in
10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10098 esac
10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_compile") 2>conftest.er1
10101 ac_status=$?
10102 grep -v '^ *+' conftest.er1 >conftest.err
10103 rm -f conftest.er1
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } && {
10107 test -z "$ac_c_werror_flag" ||
10108 test ! -s conftest.err
10109 } && test -s conftest.$ac_objext; then
10110 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10111 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10112 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 else
10115 ac_check_soname_save_LIBS=$LIBS
10116 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10117 cat >conftest.$ac_ext <<_ACEOF
10118 /* confdefs.h. */
10119 _ACEOF
10120 cat confdefs.h >>conftest.$ac_ext
10121 cat >>conftest.$ac_ext <<_ACEOF
10122 /* end confdefs.h. */
10124 /* Override any GCC internal prototype to avoid an error.
10125 Use char because int might match the return type of a GCC
10126 builtin and then its argument prototype would still apply. */
10127 #ifdef __cplusplus
10128 extern "C"
10129 #endif
10130 char XineramaQueryScreens ();
10132 main ()
10134 return XineramaQueryScreens ();
10136 return 0;
10138 _ACEOF
10139 rm -f conftest.$ac_objext conftest$ac_exeext
10140 if { (ac_try="$ac_link"
10141 case "(($ac_try" in
10142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10143 *) ac_try_echo=$ac_try;;
10144 esac
10145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10146 (eval "$ac_link") 2>conftest.er1
10147 ac_status=$?
10148 grep -v '^ *+' conftest.er1 >conftest.err
10149 rm -f conftest.er1
10150 cat conftest.err >&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } && {
10153 test -z "$ac_c_werror_flag" ||
10154 test ! -s conftest.err
10155 } && test -s conftest$ac_exeext &&
10156 $as_test_x conftest$ac_exeext; then
10157 case "$LIBEXT" in
10158 dll) ;;
10159 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'` ;;
10160 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10161 esac
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_soname_save_LIBS
10173 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10174 { echo "$as_me:$LINENO: result: not found" >&5
10175 echo "${ECHO_T}not found" >&6; }
10177 else
10178 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10179 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10181 cat >>confdefs.h <<_ACEOF
10182 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10183 _ACEOF
10188 else
10189 echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.$ac_ext >&5
10195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10197 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10198 wine_notices="$wine_notices|Xinerama development files not found.
10199 Wine will be built without Xinerama support. (winex11.drv)"
10203 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10204 then
10205 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10206 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10207 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10208 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 else
10210 ac_check_soname_save_LIBS=$LIBS
10211 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10212 cat >conftest.$ac_ext <<_ACEOF
10213 /* confdefs.h. */
10214 _ACEOF
10215 cat confdefs.h >>conftest.$ac_ext
10216 cat >>conftest.$ac_ext <<_ACEOF
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10222 #ifdef __cplusplus
10223 extern "C"
10224 #endif
10225 char XCompositeRedirectWindow ();
10227 main ()
10229 return XCompositeRedirectWindow ();
10231 return 0;
10233 _ACEOF
10234 rm -f conftest.$ac_objext conftest$ac_exeext
10235 if { (ac_try="$ac_link"
10236 case "(($ac_try" in
10237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10238 *) ac_try_echo=$ac_try;;
10239 esac
10240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10241 (eval "$ac_link") 2>conftest.er1
10242 ac_status=$?
10243 grep -v '^ *+' conftest.er1 >conftest.err
10244 rm -f conftest.er1
10245 cat conftest.err >&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); } && {
10248 test -z "$ac_c_werror_flag" ||
10249 test ! -s conftest.err
10250 } && test -s conftest$ac_exeext &&
10251 $as_test_x conftest$ac_exeext; then
10252 case "$LIBEXT" in
10253 dll) ;;
10254 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'` ;;
10255 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10256 esac
10257 else
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.$ac_ext >&5
10264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_soname_save_LIBS
10268 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10269 { echo "$as_me:$LINENO: result: not found" >&5
10270 echo "${ECHO_T}not found" >&6; }
10272 else
10273 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10274 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10276 cat >>confdefs.h <<_ACEOF
10277 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10278 _ACEOF
10284 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10285 wine_notices="$wine_notices|XComposite development files not found.
10286 Wine will be built without XComposite support. (winex11.drv)"
10291 if test "x$with_opengl" != "xno"
10292 then
10297 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 else
10305 cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h. */
10307 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 #ifdef HAVE_GL_GLX_H
10312 # include <GL/glx.h>
10313 #endif
10315 #include <$ac_header>
10316 _ACEOF
10317 rm -f conftest.$ac_objext
10318 if { (ac_try="$ac_compile"
10319 case "(($ac_try" in
10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321 *) ac_try_echo=$ac_try;;
10322 esac
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_compile") 2>conftest.er1
10325 ac_status=$?
10326 grep -v '^ *+' conftest.er1 >conftest.err
10327 rm -f conftest.er1
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } && {
10331 test -z "$ac_c_werror_flag" ||
10332 test ! -s conftest.err
10333 } && test -s conftest.$ac_objext; then
10334 eval "$as_ac_Header=yes"
10335 else
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10339 eval "$as_ac_Header=no"
10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344 ac_res=`eval echo '${'$as_ac_Header'}'`
10345 { echo "$as_me:$LINENO: result: $ac_res" >&5
10346 echo "${ECHO_T}$ac_res" >&6; }
10347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10348 cat >>confdefs.h <<_ACEOF
10349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10350 _ACEOF
10354 done
10356 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10357 then
10358 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10359 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10360 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 else
10363 cat >conftest.$ac_ext <<_ACEOF
10364 /* confdefs.h. */
10365 _ACEOF
10366 cat confdefs.h >>conftest.$ac_ext
10367 cat >>conftest.$ac_ext <<_ACEOF
10368 /* end confdefs.h. */
10369 #include <GL/gl.h>
10371 main ()
10373 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10375 return 0;
10377 _ACEOF
10378 rm -f conftest.$ac_objext
10379 if { (ac_try="$ac_compile"
10380 case "(($ac_try" in
10381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10382 *) ac_try_echo=$ac_try;;
10383 esac
10384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10385 (eval "$ac_compile") 2>conftest.er1
10386 ac_status=$?
10387 grep -v '^ *+' conftest.er1 >conftest.err
10388 rm -f conftest.er1
10389 cat conftest.err >&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); } && {
10392 test -z "$ac_c_werror_flag" ||
10393 test ! -s conftest.err
10394 } && test -s conftest.$ac_objext; then
10395 wine_cv_opengl_header_version_OK="yes"
10396 else
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10400 wine_cv_opengl_header_version_OK="no"
10403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10405 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10406 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10408 if test "$wine_cv_opengl_header_version_OK" = "yes"
10409 then
10410 { echo "$as_me:$LINENO: checking for -lGL" >&5
10411 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10412 if test "${ac_cv_lib_soname_GL+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 else
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10417 cat >conftest.$ac_ext <<_ACEOF
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10427 #ifdef __cplusplus
10428 extern "C"
10429 #endif
10430 char glXCreateContext ();
10432 main ()
10434 return glXCreateContext ();
10436 return 0;
10438 _ACEOF
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (ac_try="$ac_link"
10441 case "(($ac_try" in
10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10444 esac
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_link") 2>conftest.er1
10447 ac_status=$?
10448 grep -v '^ *+' conftest.er1 >conftest.err
10449 rm -f conftest.er1
10450 cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } && {
10453 test -z "$ac_c_werror_flag" ||
10454 test ! -s conftest.err
10455 } && test -s conftest$ac_exeext &&
10456 $as_test_x conftest$ac_exeext; then
10457 case "$LIBEXT" in
10458 dll) ;;
10459 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'` ;;
10460 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10461 esac
10462 else
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_soname_save_LIBS
10473 if test "x$ac_cv_lib_soname_GL" = "x"; then
10474 { echo "$as_me:$LINENO: result: not found" >&5
10475 echo "${ECHO_T}not found" >&6; }
10476 if test -f /usr/X11R6/lib/libGL.a
10477 then
10478 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10479 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10480 else
10481 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10482 Wine will be build without OpenGL or Direct3D support."
10484 else
10485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10486 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10488 cat >>confdefs.h <<_ACEOF
10489 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10490 _ACEOF
10492 OPENGL_LIBS="-lGL"
10493 OPENGLFILES='$(OPENGLFILES)'
10495 cat >>confdefs.h <<\_ACEOF
10496 #define HAVE_OPENGL 1
10497 _ACEOF
10502 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10503 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10504 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 else
10507 ac_check_lib_save_LIBS=$LIBS
10508 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10509 cat >conftest.$ac_ext <<_ACEOF
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char gluLookAt ();
10524 main ()
10526 return gluLookAt ();
10528 return 0;
10530 _ACEOF
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (ac_try="$ac_link"
10533 case "(($ac_try" in
10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10536 esac
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10539 ac_status=$?
10540 grep -v '^ *+' conftest.er1 >conftest.err
10541 rm -f conftest.er1
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10549 ac_cv_lib_GLU_gluLookAt=yes
10550 else
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10554 ac_cv_lib_GLU_gluLookAt=no
10557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS
10561 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10562 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10563 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10564 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10565 GLU32FILES='$(GLU32FILES)'
10569 else
10570 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10571 Wine will be build without OpenGL or Direct3D support."
10573 else
10574 wine_warnings="$wine_warnings|OpenGL development headers not found.
10575 Wine will be build without OpenGL or Direct3D support."
10579 NASLIBS=""
10582 for ac_header in audio/audiolib.h
10584 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10586 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 ac_res=`eval echo '${'$as_ac_Header'}'`
10592 { echo "$as_me:$LINENO: result: $ac_res" >&5
10593 echo "${ECHO_T}$ac_res" >&6; }
10594 else
10595 # Is the header compilable?
10596 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10598 cat >conftest.$ac_ext <<_ACEOF
10599 /* confdefs.h. */
10600 _ACEOF
10601 cat confdefs.h >>conftest.$ac_ext
10602 cat >>conftest.$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10604 $ac_includes_default
10605 #include <$ac_header>
10606 _ACEOF
10607 rm -f conftest.$ac_objext
10608 if { (ac_try="$ac_compile"
10609 case "(($ac_try" in
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10612 esac
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_compile") 2>conftest.er1
10615 ac_status=$?
10616 grep -v '^ *+' conftest.er1 >conftest.err
10617 rm -f conftest.er1
10618 cat conftest.err >&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } && {
10621 test -z "$ac_c_werror_flag" ||
10622 test ! -s conftest.err
10623 } && test -s conftest.$ac_objext; then
10624 ac_header_compiler=yes
10625 else
10626 echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.$ac_ext >&5
10629 ac_header_compiler=no
10632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10633 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10634 echo "${ECHO_T}$ac_header_compiler" >&6; }
10636 # Is the header present?
10637 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10639 cat >conftest.$ac_ext <<_ACEOF
10640 /* confdefs.h. */
10641 _ACEOF
10642 cat confdefs.h >>conftest.$ac_ext
10643 cat >>conftest.$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10645 #include <$ac_header>
10646 _ACEOF
10647 if { (ac_try="$ac_cpp conftest.$ac_ext"
10648 case "(($ac_try" in
10649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650 *) ac_try_echo=$ac_try;;
10651 esac
10652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10654 ac_status=$?
10655 grep -v '^ *+' conftest.er1 >conftest.err
10656 rm -f conftest.er1
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } >/dev/null && {
10660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10661 test ! -s conftest.err
10662 }; then
10663 ac_header_preproc=yes
10664 else
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.$ac_ext >&5
10668 ac_header_preproc=no
10671 rm -f conftest.err conftest.$ac_ext
10672 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10673 echo "${ECHO_T}$ac_header_preproc" >&6; }
10675 # So? What about this header?
10676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10677 yes:no: )
10678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10682 ac_header_preproc=yes
10684 no:yes:* )
10685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10697 ( cat <<\_ASBOX
10698 ## ------------------------------------ ##
10699 ## Report this to wine-devel@winehq.org ##
10700 ## ------------------------------------ ##
10701 _ASBOX
10702 ) | sed "s/^/$as_me: WARNING: /" >&2
10704 esac
10705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 else
10710 eval "$as_ac_Header=\$ac_header_preproc"
10712 ac_res=`eval echo '${'$as_ac_Header'}'`
10713 { echo "$as_me:$LINENO: result: $ac_res" >&5
10714 echo "${ECHO_T}$ac_res" >&6; }
10717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10718 cat >>confdefs.h <<_ACEOF
10719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10720 _ACEOF
10722 for ac_header in audio/soundlib.h
10724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 else
10730 cat >conftest.$ac_ext <<_ACEOF
10731 /* confdefs.h. */
10732 _ACEOF
10733 cat confdefs.h >>conftest.$ac_ext
10734 cat >>conftest.$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10736 #include <audio/audiolib.h>
10738 #include <$ac_header>
10739 _ACEOF
10740 rm -f conftest.$ac_objext
10741 if { (ac_try="$ac_compile"
10742 case "(($ac_try" in
10743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10744 *) ac_try_echo=$ac_try;;
10745 esac
10746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10747 (eval "$ac_compile") 2>conftest.er1
10748 ac_status=$?
10749 grep -v '^ *+' conftest.er1 >conftest.err
10750 rm -f conftest.er1
10751 cat conftest.err >&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } && {
10754 test -z "$ac_c_werror_flag" ||
10755 test ! -s conftest.err
10756 } && test -s conftest.$ac_objext; then
10757 eval "$as_ac_Header=yes"
10758 else
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10762 eval "$as_ac_Header=no"
10765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10767 ac_res=`eval echo '${'$as_ac_Header'}'`
10768 { echo "$as_me:$LINENO: result: $ac_res" >&5
10769 echo "${ECHO_T}$ac_res" >&6; }
10770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10771 cat >>confdefs.h <<_ACEOF
10772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10773 _ACEOF
10777 done
10779 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10780 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10781 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else
10784 ac_check_lib_save_LIBS=$LIBS
10785 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10786 cat >conftest.$ac_ext <<_ACEOF
10787 /* confdefs.h. */
10788 _ACEOF
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char AuCreateFlow ();
10801 main ()
10803 return AuCreateFlow ();
10805 return 0;
10807 _ACEOF
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (ac_try="$ac_link"
10810 case "(($ac_try" in
10811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10812 *) ac_try_echo=$ac_try;;
10813 esac
10814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10815 (eval "$ac_link") 2>conftest.er1
10816 ac_status=$?
10817 grep -v '^ *+' conftest.er1 >conftest.err
10818 rm -f conftest.er1
10819 cat conftest.err >&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); } && {
10822 test -z "$ac_c_werror_flag" ||
10823 test ! -s conftest.err
10824 } && test -s conftest$ac_exeext &&
10825 $as_test_x conftest$ac_exeext; then
10826 ac_cv_lib_audio_AuCreateFlow=yes
10827 else
10828 echo "$as_me: failed program was:" >&5
10829 sed 's/^/| /' conftest.$ac_ext >&5
10831 ac_cv_lib_audio_AuCreateFlow=no
10834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_lib_save_LIBS
10838 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10839 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10840 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10842 cat >>confdefs.h <<\_ACEOF
10843 #define HAVE_NAS 1
10844 _ACEOF
10846 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10847 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10848 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 else
10851 ac_check_lib_save_LIBS=$LIBS
10852 LIBS="-lXau $X_LIBS $LIBS"
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10863 #ifdef __cplusplus
10864 extern "C"
10865 #endif
10866 char XauGetBestAuthByAddr ();
10868 main ()
10870 return XauGetBestAuthByAddr ();
10872 return 0;
10874 _ACEOF
10875 rm -f conftest.$ac_objext conftest$ac_exeext
10876 if { (ac_try="$ac_link"
10877 case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10882 (eval "$ac_link") 2>conftest.er1
10883 ac_status=$?
10884 grep -v '^ *+' conftest.er1 >conftest.err
10885 rm -f conftest.er1
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } && {
10889 test -z "$ac_c_werror_flag" ||
10890 test ! -s conftest.err
10891 } && test -s conftest$ac_exeext &&
10892 $as_test_x conftest$ac_exeext; then
10893 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10894 else
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.$ac_ext >&5
10898 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10906 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10907 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10908 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10909 else
10910 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10918 done
10921 CPPFLAGS="$ac_save_CPPFLAGS"
10922 XFILES='$(XFILES)'
10923 else
10924 XLIB=""
10925 X_CFLAGS=""
10926 X_LIBS=""
10927 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10928 without X support, which probably isn't what you want. You will need to install
10929 development packages of Xlib/Xfree86 at the very least."
10933 XML2LIBS=""
10935 XML2INCL=""
10937 XSLTLIBS=""
10939 XSLTINCL=""
10941 ac_save_CPPFLAGS="$CPPFLAGS"
10942 if test "$PKG_CONFIG" != "false"
10943 then
10944 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10945 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10946 else
10947 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10948 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10950 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10952 for ac_header in libxml/parser.h
10954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 ac_res=`eval echo '${'$as_ac_Header'}'`
10962 { echo "$as_me:$LINENO: result: $ac_res" >&5
10963 echo "${ECHO_T}$ac_res" >&6; }
10964 else
10965 # Is the header compilable?
10966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10968 cat >conftest.$ac_ext <<_ACEOF
10969 /* confdefs.h. */
10970 _ACEOF
10971 cat confdefs.h >>conftest.$ac_ext
10972 cat >>conftest.$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10974 $ac_includes_default
10975 #include <$ac_header>
10976 _ACEOF
10977 rm -f conftest.$ac_objext
10978 if { (ac_try="$ac_compile"
10979 case "(($ac_try" in
10980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10981 *) ac_try_echo=$ac_try;;
10982 esac
10983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10984 (eval "$ac_compile") 2>conftest.er1
10985 ac_status=$?
10986 grep -v '^ *+' conftest.er1 >conftest.err
10987 rm -f conftest.er1
10988 cat conftest.err >&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } && {
10991 test -z "$ac_c_werror_flag" ||
10992 test ! -s conftest.err
10993 } && test -s conftest.$ac_objext; then
10994 ac_header_compiler=yes
10995 else
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10999 ac_header_compiler=no
11002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11004 echo "${ECHO_T}$ac_header_compiler" >&6; }
11006 # Is the header present?
11007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11009 cat >conftest.$ac_ext <<_ACEOF
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <$ac_header>
11016 _ACEOF
11017 if { (ac_try="$ac_cpp conftest.$ac_ext"
11018 case "(($ac_try" in
11019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11020 *) ac_try_echo=$ac_try;;
11021 esac
11022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11024 ac_status=$?
11025 grep -v '^ *+' conftest.er1 >conftest.err
11026 rm -f conftest.er1
11027 cat conftest.err >&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } >/dev/null && {
11030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11031 test ! -s conftest.err
11032 }; then
11033 ac_header_preproc=yes
11034 else
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.$ac_ext >&5
11038 ac_header_preproc=no
11041 rm -f conftest.err conftest.$ac_ext
11042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11043 echo "${ECHO_T}$ac_header_preproc" >&6; }
11045 # So? What about this header?
11046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11047 yes:no: )
11048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11052 ac_header_preproc=yes
11054 no:yes:* )
11055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11067 ( cat <<\_ASBOX
11068 ## ------------------------------------ ##
11069 ## Report this to wine-devel@winehq.org ##
11070 ## ------------------------------------ ##
11071 _ASBOX
11072 ) | sed "s/^/$as_me: WARNING: /" >&2
11074 esac
11075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 else
11080 eval "$as_ac_Header=\$ac_header_preproc"
11082 ac_res=`eval echo '${'$as_ac_Header'}'`
11083 { echo "$as_me:$LINENO: result: $ac_res" >&5
11084 echo "${ECHO_T}$ac_res" >&6; }
11087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11088 cat >>confdefs.h <<_ACEOF
11089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11090 _ACEOF
11091 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11092 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11093 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11094 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 else
11096 ac_check_lib_save_LIBS=$LIBS
11097 LIBS="-lxml2 $ac_xml_libs $LIBS"
11098 cat >conftest.$ac_ext <<_ACEOF
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char xmlParseMemory ();
11113 main ()
11115 return xmlParseMemory ();
11117 return 0;
11119 _ACEOF
11120 rm -f conftest.$ac_objext conftest$ac_exeext
11121 if { (ac_try="$ac_link"
11122 case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11125 esac
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_link") 2>conftest.er1
11128 ac_status=$?
11129 grep -v '^ *+' conftest.er1 >conftest.err
11130 rm -f conftest.er1
11131 cat conftest.err >&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); } && {
11134 test -z "$ac_c_werror_flag" ||
11135 test ! -s conftest.err
11136 } && test -s conftest$ac_exeext &&
11137 $as_test_x conftest$ac_exeext; then
11138 ac_cv_lib_xml2_xmlParseMemory=yes
11139 else
11140 echo "$as_me: failed program was:" >&5
11141 sed 's/^/| /' conftest.$ac_ext >&5
11143 ac_cv_lib_xml2_xmlParseMemory=no
11146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11150 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11151 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11152 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11154 cat >>confdefs.h <<\_ACEOF
11155 #define HAVE_LIBXML2 1
11156 _ACEOF
11158 XML2LIBS="$ac_xml_libs"
11159 XML2INCL="$ac_xml_cflags"
11162 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11163 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11164 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $ac_xml_libs $LIBS"
11169 cat >conftest.$ac_ext <<_ACEOF
11170 /* confdefs.h. */
11171 _ACEOF
11172 cat confdefs.h >>conftest.$ac_ext
11173 cat >>conftest.$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char xmlReadMemory ();
11184 main ()
11186 return xmlReadMemory ();
11188 return 0;
11190 _ACEOF
11191 rm -f conftest.$ac_objext conftest$ac_exeext
11192 if { (ac_try="$ac_link"
11193 case "(($ac_try" in
11194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11196 esac
11197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11198 (eval "$ac_link") 2>conftest.er1
11199 ac_status=$?
11200 grep -v '^ *+' conftest.er1 >conftest.err
11201 rm -f conftest.er1
11202 cat conftest.err >&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } && {
11205 test -z "$ac_c_werror_flag" ||
11206 test ! -s conftest.err
11207 } && test -s conftest$ac_exeext &&
11208 $as_test_x conftest$ac_exeext; then
11209 ac_cv_lib_xml2_xmlReadMemory=yes
11210 else
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11214 ac_cv_lib_xml2_xmlReadMemory=no
11217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_lib_save_LIBS
11221 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11222 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11223 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11225 cat >>confdefs.h <<\_ACEOF
11226 #define HAVE_XMLREADMEMORY 1
11227 _ACEOF
11231 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11232 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11233 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lxml2 $ac_xml_libs $LIBS"
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char xmlNewDocPI ();
11253 main ()
11255 return xmlNewDocPI ();
11257 return 0;
11259 _ACEOF
11260 rm -f conftest.$ac_objext conftest$ac_exeext
11261 if { (ac_try="$ac_link"
11262 case "(($ac_try" in
11263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11264 *) ac_try_echo=$ac_try;;
11265 esac
11266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11267 (eval "$ac_link") 2>conftest.er1
11268 ac_status=$?
11269 grep -v '^ *+' conftest.er1 >conftest.err
11270 rm -f conftest.er1
11271 cat conftest.err >&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); } && {
11274 test -z "$ac_c_werror_flag" ||
11275 test ! -s conftest.err
11276 } && test -s conftest$ac_exeext &&
11277 $as_test_x conftest$ac_exeext; then
11278 ac_cv_lib_xml2_xmlNewDocPI=yes
11279 else
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.$ac_ext >&5
11283 ac_cv_lib_xml2_xmlNewDocPI=no
11286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11287 conftest$ac_exeext conftest.$ac_ext
11288 LIBS=$ac_check_lib_save_LIBS
11290 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11291 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11292 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11294 cat >>confdefs.h <<\_ACEOF
11295 #define HAVE_XMLNEWDOCPI 1
11296 _ACEOF
11303 done
11305 CPPFLAGS="$ac_save_CPPFLAGS"
11306 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11307 wine_notices="$wine_notices|libxml2 development files not found.
11308 Wine will be built without XML support. (msxml.dll)"
11312 if test "$PKG_CONFIG" != "false"
11313 then
11314 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11315 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11316 else
11317 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11318 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11320 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11323 for ac_header in libxslt/pattern.h libxslt/transform.h
11325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11326 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 else
11331 cat >conftest.$ac_ext <<_ACEOF
11332 /* confdefs.h. */
11333 _ACEOF
11334 cat confdefs.h >>conftest.$ac_ext
11335 cat >>conftest.$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11337 #ifdef HAVE_LIBXSLT_PATTERN_H
11338 # include <libxslt/pattern.h>
11339 #endif
11341 #include <$ac_header>
11342 _ACEOF
11343 rm -f conftest.$ac_objext
11344 if { (ac_try="$ac_compile"
11345 case "(($ac_try" in
11346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11347 *) ac_try_echo=$ac_try;;
11348 esac
11349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11350 (eval "$ac_compile") 2>conftest.er1
11351 ac_status=$?
11352 grep -v '^ *+' conftest.er1 >conftest.err
11353 rm -f conftest.er1
11354 cat conftest.err >&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); } && {
11357 test -z "$ac_c_werror_flag" ||
11358 test ! -s conftest.err
11359 } && test -s conftest.$ac_objext; then
11360 eval "$as_ac_Header=yes"
11361 else
11362 echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.$ac_ext >&5
11365 eval "$as_ac_Header=no"
11368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11370 ac_res=`eval echo '${'$as_ac_Header'}'`
11371 { echo "$as_me:$LINENO: result: $ac_res" >&5
11372 echo "${ECHO_T}$ac_res" >&6; }
11373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11374 cat >>confdefs.h <<_ACEOF
11375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11376 _ACEOF
11377 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11378 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11379 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 else
11382 ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-lxslt $ac_xslt_libs $LIBS"
11384 cat >conftest.$ac_ext <<_ACEOF
11385 /* confdefs.h. */
11386 _ACEOF
11387 cat confdefs.h >>conftest.$ac_ext
11388 cat >>conftest.$ac_ext <<_ACEOF
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char xsltCompilePattern ();
11399 main ()
11401 return xsltCompilePattern ();
11403 return 0;
11405 _ACEOF
11406 rm -f conftest.$ac_objext conftest$ac_exeext
11407 if { (ac_try="$ac_link"
11408 case "(($ac_try" in
11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11410 *) ac_try_echo=$ac_try;;
11411 esac
11412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11413 (eval "$ac_link") 2>conftest.er1
11414 ac_status=$?
11415 grep -v '^ *+' conftest.er1 >conftest.err
11416 rm -f conftest.er1
11417 cat conftest.err >&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } && {
11420 test -z "$ac_c_werror_flag" ||
11421 test ! -s conftest.err
11422 } && test -s conftest$ac_exeext &&
11423 $as_test_x conftest$ac_exeext; then
11424 ac_cv_lib_xslt_xsltCompilePattern=yes
11425 else
11426 echo "$as_me: failed program was:" >&5
11427 sed 's/^/| /' conftest.$ac_ext >&5
11429 ac_cv_lib_xslt_xsltCompilePattern=no
11432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11437 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11438 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11440 cat >>confdefs.h <<\_ACEOF
11441 #define HAVE_LIBXSLT 1
11442 _ACEOF
11444 XSLTLIBS="$ac_xslt_libs"
11445 XSLTINCL="$ac_xslt_cflags"
11451 done
11453 CPPFLAGS="$ac_save_CPPFLAGS"
11454 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11455 wine_notices="$wine_notices|libxslt development files not found.
11456 Wine will be built without xslt support. (msxml.dll)"
11460 HALINCL=""
11462 if test "$PKG_CONFIG" != "false"
11463 then
11464 ac_save_CPPFLAGS="$CPPFLAGS"
11465 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11466 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11467 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11470 for ac_header in dbus/dbus.h hal/libhal.h
11472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11477 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 ac_res=`eval echo '${'$as_ac_Header'}'`
11480 { echo "$as_me:$LINENO: result: $ac_res" >&5
11481 echo "${ECHO_T}$ac_res" >&6; }
11482 else
11483 # Is the header compilable?
11484 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11486 cat >conftest.$ac_ext <<_ACEOF
11487 /* confdefs.h. */
11488 _ACEOF
11489 cat confdefs.h >>conftest.$ac_ext
11490 cat >>conftest.$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 $ac_includes_default
11493 #include <$ac_header>
11494 _ACEOF
11495 rm -f conftest.$ac_objext
11496 if { (ac_try="$ac_compile"
11497 case "(($ac_try" in
11498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499 *) ac_try_echo=$ac_try;;
11500 esac
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_compile") 2>conftest.er1
11503 ac_status=$?
11504 grep -v '^ *+' conftest.er1 >conftest.err
11505 rm -f conftest.er1
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } && {
11509 test -z "$ac_c_werror_flag" ||
11510 test ! -s conftest.err
11511 } && test -s conftest.$ac_objext; then
11512 ac_header_compiler=yes
11513 else
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.$ac_ext >&5
11517 ac_header_compiler=no
11520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11522 echo "${ECHO_T}$ac_header_compiler" >&6; }
11524 # Is the header present?
11525 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11527 cat >conftest.$ac_ext <<_ACEOF
11528 /* confdefs.h. */
11529 _ACEOF
11530 cat confdefs.h >>conftest.$ac_ext
11531 cat >>conftest.$ac_ext <<_ACEOF
11532 /* end confdefs.h. */
11533 #include <$ac_header>
11534 _ACEOF
11535 if { (ac_try="$ac_cpp conftest.$ac_ext"
11536 case "(($ac_try" in
11537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11538 *) ac_try_echo=$ac_try;;
11539 esac
11540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11542 ac_status=$?
11543 grep -v '^ *+' conftest.er1 >conftest.err
11544 rm -f conftest.er1
11545 cat conftest.err >&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); } >/dev/null && {
11548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11549 test ! -s conftest.err
11550 }; then
11551 ac_header_preproc=yes
11552 else
11553 echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.$ac_ext >&5
11556 ac_header_preproc=no
11559 rm -f conftest.err conftest.$ac_ext
11560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11561 echo "${ECHO_T}$ac_header_preproc" >&6; }
11563 # So? What about this header?
11564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11565 yes:no: )
11566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11569 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11570 ac_header_preproc=yes
11572 no:yes:* )
11573 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11574 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11575 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11576 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11577 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11578 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11579 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11580 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11584 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11585 ( cat <<\_ASBOX
11586 ## ------------------------------------ ##
11587 ## Report this to wine-devel@winehq.org ##
11588 ## ------------------------------------ ##
11589 _ASBOX
11590 ) | sed "s/^/$as_me: WARNING: /" >&2
11592 esac
11593 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11595 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 else
11598 eval "$as_ac_Header=\$ac_header_preproc"
11600 ac_res=`eval echo '${'$as_ac_Header'}'`
11601 { echo "$as_me:$LINENO: result: $ac_res" >&5
11602 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 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11615 then
11616 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11617 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11618 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621 ac_check_lib_save_LIBS=$LIBS
11622 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11623 cat >conftest.$ac_ext <<_ACEOF
11624 /* confdefs.h. */
11625 _ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char dbus_connection_close ();
11638 main ()
11640 return dbus_connection_close ();
11642 return 0;
11644 _ACEOF
11645 rm -f conftest.$ac_objext conftest$ac_exeext
11646 if { (ac_try="$ac_link"
11647 case "(($ac_try" in
11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11649 *) ac_try_echo=$ac_try;;
11650 esac
11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11652 (eval "$ac_link") 2>conftest.er1
11653 ac_status=$?
11654 grep -v '^ *+' conftest.er1 >conftest.err
11655 rm -f conftest.er1
11656 cat conftest.err >&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } && {
11659 test -z "$ac_c_werror_flag" ||
11660 test ! -s conftest.err
11661 } && test -s conftest$ac_exeext &&
11662 $as_test_x conftest$ac_exeext; then
11663 ac_cv_lib_dbus_1_dbus_connection_close=yes
11664 else
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11668 ac_cv_lib_dbus_1_dbus_connection_close=no
11671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11672 conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_lib_save_LIBS
11675 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11676 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11677 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11678 { echo "$as_me:$LINENO: checking for -lhal" >&5
11679 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11680 if test "${ac_cv_lib_soname_hal+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 else
11683 ac_check_soname_save_LIBS=$LIBS
11684 LIBS="-lhal $ac_hal_libs $LIBS"
11685 cat >conftest.$ac_ext <<_ACEOF
11686 /* confdefs.h. */
11687 _ACEOF
11688 cat confdefs.h >>conftest.$ac_ext
11689 cat >>conftest.$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11695 #ifdef __cplusplus
11696 extern "C"
11697 #endif
11698 char libhal_ctx_new ();
11700 main ()
11702 return libhal_ctx_new ();
11704 return 0;
11706 _ACEOF
11707 rm -f conftest.$ac_objext conftest$ac_exeext
11708 if { (ac_try="$ac_link"
11709 case "(($ac_try" in
11710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11711 *) ac_try_echo=$ac_try;;
11712 esac
11713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11714 (eval "$ac_link") 2>conftest.er1
11715 ac_status=$?
11716 grep -v '^ *+' conftest.er1 >conftest.err
11717 rm -f conftest.er1
11718 cat conftest.err >&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } && {
11721 test -z "$ac_c_werror_flag" ||
11722 test ! -s conftest.err
11723 } && test -s conftest$ac_exeext &&
11724 $as_test_x conftest$ac_exeext; then
11725 case "$LIBEXT" in
11726 dll) ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11729 esac
11730 else
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if test "x$ac_cv_lib_soname_hal" = "x"; then
11742 { echo "$as_me:$LINENO: result: not found" >&5
11743 echo "${ECHO_T}not found" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11747 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11751 _ACEOF
11753 HALINCL="$ac_hal_cflags"
11759 CPPFLAGS="$ac_save_CPPFLAGS"
11761 if test "x$ac_cv_lib_soname_hal" = "x"; then
11762 wine_notices="$wine_notices|libhal development files not found.
11763 Wine will be built without dynamic device support. (explorer.exe)"
11767 CURSESLIBS=""
11768 if test "$ac_cv_header_ncurses_h" = "yes"
11769 then
11770 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11771 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11772 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else
11775 ac_check_soname_save_LIBS=$LIBS
11776 LIBS="-lncurses $LIBS"
11777 cat >conftest.$ac_ext <<_ACEOF
11778 /* confdefs.h. */
11779 _ACEOF
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char waddch ();
11792 main ()
11794 return waddch ();
11796 return 0;
11798 _ACEOF
11799 rm -f conftest.$ac_objext conftest$ac_exeext
11800 if { (ac_try="$ac_link"
11801 case "(($ac_try" in
11802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11803 *) ac_try_echo=$ac_try;;
11804 esac
11805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806 (eval "$ac_link") 2>conftest.er1
11807 ac_status=$?
11808 grep -v '^ *+' conftest.er1 >conftest.err
11809 rm -f conftest.er1
11810 cat conftest.err >&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } && {
11813 test -z "$ac_c_werror_flag" ||
11814 test ! -s conftest.err
11815 } && test -s conftest$ac_exeext &&
11816 $as_test_x conftest$ac_exeext; then
11817 case "$LIBEXT" in
11818 dll) ;;
11819 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'` ;;
11820 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11821 esac
11822 else
11823 echo "$as_me: failed program was:" >&5
11824 sed 's/^/| /' conftest.$ac_ext >&5
11829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11830 conftest$ac_exeext conftest.$ac_ext
11831 LIBS=$ac_check_soname_save_LIBS
11833 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11834 { echo "$as_me:$LINENO: result: not found" >&5
11835 echo "${ECHO_T}not found" >&6; }
11837 else
11838 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11839 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11843 _ACEOF
11845 CURSESLIBS="-lncurses"
11848 elif test "$ac_cv_header_curses_h" = "yes"
11849 then
11850 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11851 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11852 if test "${ac_cv_lib_soname_curses+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11854 else
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-lcurses $LIBS"
11857 cat >conftest.$ac_ext <<_ACEOF
11858 /* confdefs.h. */
11859 _ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11867 #ifdef __cplusplus
11868 extern "C"
11869 #endif
11870 char waddch ();
11872 main ()
11874 return waddch ();
11876 return 0;
11878 _ACEOF
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (ac_try="$ac_link"
11881 case "(($ac_try" in
11882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11883 *) ac_try_echo=$ac_try;;
11884 esac
11885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11886 (eval "$ac_link") 2>conftest.er1
11887 ac_status=$?
11888 grep -v '^ *+' conftest.er1 >conftest.err
11889 rm -f conftest.er1
11890 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } && {
11893 test -z "$ac_c_werror_flag" ||
11894 test ! -s conftest.err
11895 } && test -s conftest$ac_exeext &&
11896 $as_test_x conftest$ac_exeext; then
11897 case "$LIBEXT" in
11898 dll) ;;
11899 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'` ;;
11900 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11901 esac
11902 else
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_soname_save_LIBS
11913 if test "x$ac_cv_lib_soname_curses" = "x"; then
11914 { echo "$as_me:$LINENO: result: not found" >&5
11915 echo "${ECHO_T}not found" >&6; }
11917 else
11918 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11919 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11921 cat >>confdefs.h <<_ACEOF
11922 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11923 _ACEOF
11925 CURSESLIBS="-lcurses"
11929 ac_save_LIBS="$LIBS"
11930 LIBS="$LIBS $CURSESLIBS"
11932 for ac_func in mousemask
11934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11938 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 else
11940 cat >conftest.$ac_ext <<_ACEOF
11941 /* confdefs.h. */
11942 _ACEOF
11943 cat confdefs.h >>conftest.$ac_ext
11944 cat >>conftest.$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11948 #define $ac_func innocuous_$ac_func
11950 /* System header to define __stub macros and hopefully few prototypes,
11951 which can conflict with char $ac_func (); below.
11952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11953 <limits.h> exists even on freestanding compilers. */
11955 #ifdef __STDC__
11956 # include <limits.h>
11957 #else
11958 # include <assert.h>
11959 #endif
11961 #undef $ac_func
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11966 #ifdef __cplusplus
11967 extern "C"
11968 #endif
11969 char $ac_func ();
11970 /* The GNU C library defines this for functions which it implements
11971 to always fail with ENOSYS. Some functions are actually named
11972 something starting with __ and the normal name is an alias. */
11973 #if defined __stub_$ac_func || defined __stub___$ac_func
11974 choke me
11975 #endif
11978 main ()
11980 return $ac_func ();
11982 return 0;
11984 _ACEOF
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (ac_try="$ac_link"
11987 case "(($ac_try" in
11988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989 *) ac_try_echo=$ac_try;;
11990 esac
11991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992 (eval "$ac_link") 2>conftest.er1
11993 ac_status=$?
11994 grep -v '^ *+' conftest.er1 >conftest.err
11995 rm -f conftest.er1
11996 cat conftest.err >&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); } && {
11999 test -z "$ac_c_werror_flag" ||
12000 test ! -s conftest.err
12001 } && test -s conftest$ac_exeext &&
12002 $as_test_x conftest$ac_exeext; then
12003 eval "$as_ac_var=yes"
12004 else
12005 echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12008 eval "$as_ac_var=no"
12011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12012 conftest$ac_exeext conftest.$ac_ext
12014 ac_res=`eval echo '${'$as_ac_var'}'`
12015 { echo "$as_me:$LINENO: result: $ac_res" >&5
12016 echo "${ECHO_T}$ac_res" >&6; }
12017 if test `eval echo '${'$as_ac_var'}'` = yes; then
12018 cat >>confdefs.h <<_ACEOF
12019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12020 _ACEOF
12023 done
12025 LIBS="$ac_save_LIBS"
12026 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12027 wine_notices="$wine_notices|lib(n)curses development files not found.
12028 Wine will be built without (n)curses support. (wineconsole.exe)"
12032 # Extract the first word of "sane-config", so it can be a program name with args.
12033 set dummy sane-config; ac_word=$2
12034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12036 if test "${ac_cv_prog_sane_devel+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 else
12039 if test -n "$sane_devel"; then
12040 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12041 else
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $PATH
12045 IFS=$as_save_IFS
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12049 ac_cv_prog_sane_devel="sane-config"
12050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12051 break 2
12053 done
12054 done
12055 IFS=$as_save_IFS
12057 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12060 sane_devel=$ac_cv_prog_sane_devel
12061 if test -n "$sane_devel"; then
12062 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12063 echo "${ECHO_T}$sane_devel" >&6; }
12064 else
12065 { echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6; }
12070 if test "$sane_devel" != "no"
12071 then
12072 ac_sane_incl="`$sane_devel --cflags`"
12073 ac_save_CPPFLAGS="$CPPFLAGS"
12074 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12075 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12076 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12077 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12078 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12082 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12083 else
12084 # Is the header compilable?
12085 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12086 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
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. */
12093 $ac_includes_default
12094 #include <sane/sane.h>
12095 _ACEOF
12096 rm -f conftest.$ac_objext
12097 if { (ac_try="$ac_compile"
12098 case "(($ac_try" in
12099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12100 *) ac_try_echo=$ac_try;;
12101 esac
12102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12103 (eval "$ac_compile") 2>conftest.er1
12104 ac_status=$?
12105 grep -v '^ *+' conftest.er1 >conftest.err
12106 rm -f conftest.er1
12107 cat conftest.err >&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } && {
12110 test -z "$ac_c_werror_flag" ||
12111 test ! -s conftest.err
12112 } && test -s conftest.$ac_objext; then
12113 ac_header_compiler=yes
12114 else
12115 echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12118 ac_header_compiler=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12123 echo "${ECHO_T}$ac_header_compiler" >&6; }
12125 # Is the header present?
12126 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12127 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12128 cat >conftest.$ac_ext <<_ACEOF
12129 /* confdefs.h. */
12130 _ACEOF
12131 cat confdefs.h >>conftest.$ac_ext
12132 cat >>conftest.$ac_ext <<_ACEOF
12133 /* end confdefs.h. */
12134 #include <sane/sane.h>
12135 _ACEOF
12136 if { (ac_try="$ac_cpp conftest.$ac_ext"
12137 case "(($ac_try" in
12138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12139 *) ac_try_echo=$ac_try;;
12140 esac
12141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12143 ac_status=$?
12144 grep -v '^ *+' conftest.er1 >conftest.err
12145 rm -f conftest.er1
12146 cat conftest.err >&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); } >/dev/null && {
12149 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12150 test ! -s conftest.err
12151 }; then
12152 ac_header_preproc=yes
12153 else
12154 echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.$ac_ext >&5
12157 ac_header_preproc=no
12160 rm -f conftest.err conftest.$ac_ext
12161 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12162 echo "${ECHO_T}$ac_header_preproc" >&6; }
12164 # So? What about this header?
12165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12166 yes:no: )
12167 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12168 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12169 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12170 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12171 ac_header_preproc=yes
12173 no:yes:* )
12174 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12175 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12177 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12178 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12179 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12180 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12181 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12183 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12185 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12186 ( cat <<\_ASBOX
12187 ## ------------------------------------ ##
12188 ## Report this to wine-devel@winehq.org ##
12189 ## ------------------------------------ ##
12190 _ASBOX
12191 ) | sed "s/^/$as_me: WARNING: /" >&2
12193 esac
12194 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12195 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12196 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 else
12199 ac_cv_header_sane_sane_h=$ac_header_preproc
12201 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12202 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12205 if test $ac_cv_header_sane_sane_h = yes; then
12206 { echo "$as_me:$LINENO: checking for -lsane" >&5
12207 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12208 if test "${ac_cv_lib_soname_sane+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211 ac_check_soname_save_LIBS=$LIBS
12212 LIBS="-lsane $LIBS"
12213 cat >conftest.$ac_ext <<_ACEOF
12214 /* confdefs.h. */
12215 _ACEOF
12216 cat confdefs.h >>conftest.$ac_ext
12217 cat >>conftest.$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char sane_init ();
12228 main ()
12230 return sane_init ();
12232 return 0;
12234 _ACEOF
12235 rm -f conftest.$ac_objext conftest$ac_exeext
12236 if { (ac_try="$ac_link"
12237 case "(($ac_try" in
12238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12240 esac
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_link") 2>conftest.er1
12243 ac_status=$?
12244 grep -v '^ *+' conftest.er1 >conftest.err
12245 rm -f conftest.er1
12246 cat conftest.err >&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_c_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest$ac_exeext &&
12252 $as_test_x conftest$ac_exeext; then
12253 case "$LIBEXT" in
12254 dll) ;;
12255 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'` ;;
12256 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12257 esac
12258 else
12259 echo "$as_me: failed program was:" >&5
12260 sed 's/^/| /' conftest.$ac_ext >&5
12265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12266 conftest$ac_exeext conftest.$ac_ext
12267 LIBS=$ac_check_soname_save_LIBS
12269 if test "x$ac_cv_lib_soname_sane" = "x"; then
12270 { echo "$as_me:$LINENO: result: not found" >&5
12271 echo "${ECHO_T}not found" >&6; }
12273 else
12274 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12275 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12277 cat >>confdefs.h <<_ACEOF
12278 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12279 _ACEOF
12281 SANEINCL="$ac_sane_incl"
12288 CPPFLAGS="$ac_save_CPPFLAGS"
12290 if test "x$ac_cv_lib_soname_sane" = "x"; then
12291 wine_notices="$wine_notices|libsane development files not found.
12292 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12296 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12297 set dummy gphoto2-config; ac_word=$2
12298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12300 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12301 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 else
12303 if test -n "$gphoto2_devel"; then
12304 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12305 else
12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12307 for as_dir in $PATH
12309 IFS=$as_save_IFS
12310 test -z "$as_dir" && as_dir=.
12311 for ac_exec_ext in '' $ac_executable_extensions; do
12312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313 ac_cv_prog_gphoto2_devel="gphoto2-config"
12314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 break 2
12317 done
12318 done
12319 IFS=$as_save_IFS
12321 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12324 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12325 if test -n "$gphoto2_devel"; then
12326 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12327 echo "${ECHO_T}$gphoto2_devel" >&6; }
12328 else
12329 { echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6; }
12334 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12335 set dummy gphoto2-port-config; ac_word=$2
12336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12338 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 else
12341 if test -n "$gphoto2port_devel"; then
12342 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12343 else
12344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12345 for as_dir in $PATH
12347 IFS=$as_save_IFS
12348 test -z "$as_dir" && as_dir=.
12349 for ac_exec_ext in '' $ac_executable_extensions; do
12350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12351 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12353 break 2
12355 done
12356 done
12357 IFS=$as_save_IFS
12359 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12362 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12363 if test -n "$gphoto2port_devel"; then
12364 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12365 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12366 else
12367 { echo "$as_me:$LINENO: result: no" >&5
12368 echo "${ECHO_T}no" >&6; }
12372 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12373 then
12374 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12375 ac_gphoto2_libs=""
12376 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12378 case "$i" in
12379 -L/usr/lib|-L/usr/lib64) ;;
12380 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12381 esac
12382 done
12383 ac_save_CPPFLAGS="$CPPFLAGS"
12384 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12385 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12386 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12387 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12388 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12392 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12393 else
12394 # Is the header compilable?
12395 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12396 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12397 cat >conftest.$ac_ext <<_ACEOF
12398 /* confdefs.h. */
12399 _ACEOF
12400 cat confdefs.h >>conftest.$ac_ext
12401 cat >>conftest.$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12403 $ac_includes_default
12404 #include <gphoto2-camera.h>
12405 _ACEOF
12406 rm -f conftest.$ac_objext
12407 if { (ac_try="$ac_compile"
12408 case "(($ac_try" in
12409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12410 *) ac_try_echo=$ac_try;;
12411 esac
12412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12413 (eval "$ac_compile") 2>conftest.er1
12414 ac_status=$?
12415 grep -v '^ *+' conftest.er1 >conftest.err
12416 rm -f conftest.er1
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } && {
12420 test -z "$ac_c_werror_flag" ||
12421 test ! -s conftest.err
12422 } && test -s conftest.$ac_objext; then
12423 ac_header_compiler=yes
12424 else
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.$ac_ext >&5
12428 ac_header_compiler=no
12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12432 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12433 echo "${ECHO_T}$ac_header_compiler" >&6; }
12435 # Is the header present?
12436 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12437 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12438 cat >conftest.$ac_ext <<_ACEOF
12439 /* confdefs.h. */
12440 _ACEOF
12441 cat confdefs.h >>conftest.$ac_ext
12442 cat >>conftest.$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 #include <gphoto2-camera.h>
12445 _ACEOF
12446 if { (ac_try="$ac_cpp conftest.$ac_ext"
12447 case "(($ac_try" in
12448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12449 *) ac_try_echo=$ac_try;;
12450 esac
12451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12453 ac_status=$?
12454 grep -v '^ *+' conftest.er1 >conftest.err
12455 rm -f conftest.er1
12456 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } >/dev/null && {
12459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12460 test ! -s conftest.err
12461 }; then
12462 ac_header_preproc=yes
12463 else
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.$ac_ext >&5
12467 ac_header_preproc=no
12470 rm -f conftest.err conftest.$ac_ext
12471 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12472 echo "${ECHO_T}$ac_header_preproc" >&6; }
12474 # So? What about this header?
12475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12476 yes:no: )
12477 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12478 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12479 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12480 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12481 ac_header_preproc=yes
12483 no:yes:* )
12484 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12485 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12486 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12487 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12488 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12489 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12490 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12491 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12492 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12493 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12494 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12495 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12496 ( cat <<\_ASBOX
12497 ## ------------------------------------ ##
12498 ## Report this to wine-devel@winehq.org ##
12499 ## ------------------------------------ ##
12500 _ASBOX
12501 ) | sed "s/^/$as_me: WARNING: /" >&2
12503 esac
12504 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12505 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12506 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 else
12509 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12511 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12512 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12515 if test $ac_cv_header_gphoto2_camera_h = yes; then
12516 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12517 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12518 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 else
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12523 cat >conftest.$ac_ext <<_ACEOF
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char gp_camera_new ();
12538 main ()
12540 return gp_camera_new ();
12542 return 0;
12544 _ACEOF
12545 rm -f conftest.$ac_objext conftest$ac_exeext
12546 if { (ac_try="$ac_link"
12547 case "(($ac_try" in
12548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12550 esac
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_link") 2>conftest.er1
12553 ac_status=$?
12554 grep -v '^ *+' conftest.er1 >conftest.err
12555 rm -f conftest.er1
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } && {
12559 test -z "$ac_c_werror_flag" ||
12560 test ! -s conftest.err
12561 } && test -s conftest$ac_exeext &&
12562 $as_test_x conftest$ac_exeext; then
12563 ac_cv_lib_gphoto2_gp_camera_new=yes
12564 else
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12568 ac_cv_lib_gphoto2_gp_camera_new=no
12571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12572 conftest$ac_exeext conftest.$ac_ext
12573 LIBS=$ac_check_lib_save_LIBS
12575 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12576 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12577 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12579 cat >>confdefs.h <<\_ACEOF
12580 #define HAVE_GPHOTO2 1
12581 _ACEOF
12583 GPHOTO2LIBS="$ac_gphoto2_libs"
12585 GPHOTO2INCL="$ac_gphoto2_incl"
12592 CPPFLAGS="$ac_save_CPPFLAGS"
12594 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12595 wine_notices="$wine_notices|libgphoto2 development files not found.
12596 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12601 RESOLVLIBS=""
12603 if test "$ac_cv_header_resolv_h" = "yes"
12604 then
12605 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12606 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12607 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610 ac_check_lib_save_LIBS=$LIBS
12611 LIBS="-lresolv $LIBS"
12612 cat >conftest.$ac_ext <<_ACEOF
12613 /* confdefs.h. */
12614 _ACEOF
12615 cat confdefs.h >>conftest.$ac_ext
12616 cat >>conftest.$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char res_query ();
12627 main ()
12629 return res_query ();
12631 return 0;
12633 _ACEOF
12634 rm -f conftest.$ac_objext conftest$ac_exeext
12635 if { (ac_try="$ac_link"
12636 case "(($ac_try" in
12637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12638 *) ac_try_echo=$ac_try;;
12639 esac
12640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12641 (eval "$ac_link") 2>conftest.er1
12642 ac_status=$?
12643 grep -v '^ *+' conftest.er1 >conftest.err
12644 rm -f conftest.er1
12645 cat conftest.err >&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } && {
12648 test -z "$ac_c_werror_flag" ||
12649 test ! -s conftest.err
12650 } && test -s conftest$ac_exeext &&
12651 $as_test_x conftest$ac_exeext; then
12652 ac_cv_lib_resolv_res_query=yes
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12657 ac_cv_lib_resolv_res_query=no
12660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_lib_save_LIBS
12664 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12665 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12666 if test $ac_cv_lib_resolv_res_query = yes; then
12668 cat >>confdefs.h <<\_ACEOF
12669 #define HAVE_RESOLV 1
12670 _ACEOF
12672 RESOLVLIBS="-lresolv"
12677 LCMSLIBS=""
12679 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12680 then
12681 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12682 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12683 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 else
12686 ac_check_lib_save_LIBS=$LIBS
12687 LIBS="-llcms $LIBS"
12688 cat >conftest.$ac_ext <<_ACEOF
12689 /* confdefs.h. */
12690 _ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12695 /* Override any GCC internal prototype to avoid an error.
12696 Use char because int might match the return type of a GCC
12697 builtin and then its argument prototype would still apply. */
12698 #ifdef __cplusplus
12699 extern "C"
12700 #endif
12701 char cmsOpenProfileFromFile ();
12703 main ()
12705 return cmsOpenProfileFromFile ();
12707 return 0;
12709 _ACEOF
12710 rm -f conftest.$ac_objext conftest$ac_exeext
12711 if { (ac_try="$ac_link"
12712 case "(($ac_try" in
12713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12714 *) ac_try_echo=$ac_try;;
12715 esac
12716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 (eval "$ac_link") 2>conftest.er1
12718 ac_status=$?
12719 grep -v '^ *+' conftest.er1 >conftest.err
12720 rm -f conftest.er1
12721 cat conftest.err >&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } && {
12724 test -z "$ac_c_werror_flag" ||
12725 test ! -s conftest.err
12726 } && test -s conftest$ac_exeext &&
12727 $as_test_x conftest$ac_exeext; then
12728 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12729 else
12730 echo "$as_me: failed program was:" >&5
12731 sed 's/^/| /' conftest.$ac_ext >&5
12733 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12737 conftest$ac_exeext conftest.$ac_ext
12738 LIBS=$ac_check_lib_save_LIBS
12740 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12741 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12742 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12744 cat >>confdefs.h <<\_ACEOF
12745 #define HAVE_LCMS 1
12746 _ACEOF
12748 LCMSLIBS="-llcms"
12752 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12753 wine_notices="$wine_notices|liblcms development files not found.
12754 Wine will be built without Color Management support. (mscms.dll)"
12758 LDAPLIBS=""
12760 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12761 then
12762 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12763 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12764 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 ac_check_lib_save_LIBS=$LIBS
12768 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12769 cat >conftest.$ac_ext <<_ACEOF
12770 /* confdefs.h. */
12771 _ACEOF
12772 cat confdefs.h >>conftest.$ac_ext
12773 cat >>conftest.$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12776 /* Override any GCC internal prototype to avoid an error.
12777 Use char because int might match the return type of a GCC
12778 builtin and then its argument prototype would still apply. */
12779 #ifdef __cplusplus
12780 extern "C"
12781 #endif
12782 char ldap_initialize ();
12784 main ()
12786 return ldap_initialize ();
12788 return 0;
12790 _ACEOF
12791 rm -f conftest.$ac_objext conftest$ac_exeext
12792 if { (ac_try="$ac_link"
12793 case "(($ac_try" in
12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12795 *) ac_try_echo=$ac_try;;
12796 esac
12797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12798 (eval "$ac_link") 2>conftest.er1
12799 ac_status=$?
12800 grep -v '^ *+' conftest.er1 >conftest.err
12801 rm -f conftest.er1
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } && {
12805 test -z "$ac_c_werror_flag" ||
12806 test ! -s conftest.err
12807 } && test -s conftest$ac_exeext &&
12808 $as_test_x conftest$ac_exeext; then
12809 ac_cv_lib_ldap_r_ldap_initialize=yes
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 ac_cv_lib_ldap_r_ldap_initialize=no
12817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12818 conftest$ac_exeext conftest.$ac_ext
12819 LIBS=$ac_check_lib_save_LIBS
12821 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12822 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12823 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12824 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12825 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12826 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 else
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-llber $LIBPTHREAD $LIBS"
12831 cat >conftest.$ac_ext <<_ACEOF
12832 /* confdefs.h. */
12833 _ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12838 /* Override any GCC internal prototype to avoid an error.
12839 Use char because int might match the return type of a GCC
12840 builtin and then its argument prototype would still apply. */
12841 #ifdef __cplusplus
12842 extern "C"
12843 #endif
12844 char ber_init ();
12846 main ()
12848 return ber_init ();
12850 return 0;
12852 _ACEOF
12853 rm -f conftest.$ac_objext conftest$ac_exeext
12854 if { (ac_try="$ac_link"
12855 case "(($ac_try" in
12856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12857 *) ac_try_echo=$ac_try;;
12858 esac
12859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12860 (eval "$ac_link") 2>conftest.er1
12861 ac_status=$?
12862 grep -v '^ *+' conftest.er1 >conftest.err
12863 rm -f conftest.er1
12864 cat conftest.err >&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); } && {
12867 test -z "$ac_c_werror_flag" ||
12868 test ! -s conftest.err
12869 } && test -s conftest$ac_exeext &&
12870 $as_test_x conftest$ac_exeext; then
12871 ac_cv_lib_lber_ber_init=yes
12872 else
12873 echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.$ac_ext >&5
12876 ac_cv_lib_lber_ber_init=no
12879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12884 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12885 if test $ac_cv_lib_lber_ber_init = yes; then
12887 cat >>confdefs.h <<\_ACEOF
12888 #define HAVE_LDAP 1
12889 _ACEOF
12891 LDAPLIBS="-lldap_r -llber"
12896 ac_wine_check_funcs_save_LIBS="$LIBS"
12897 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12902 for ac_func in \
12903 ldap_count_references \
12904 ldap_first_reference \
12905 ldap_next_reference \
12906 ldap_parse_reference
12908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12912 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 else
12914 cat >conftest.$ac_ext <<_ACEOF
12915 /* confdefs.h. */
12916 _ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12922 #define $ac_func innocuous_$ac_func
12924 /* System header to define __stub macros and hopefully few prototypes,
12925 which can conflict with char $ac_func (); below.
12926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12927 <limits.h> exists even on freestanding compilers. */
12929 #ifdef __STDC__
12930 # include <limits.h>
12931 #else
12932 # include <assert.h>
12933 #endif
12935 #undef $ac_func
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char $ac_func ();
12944 /* The GNU C library defines this for functions which it implements
12945 to always fail with ENOSYS. Some functions are actually named
12946 something starting with __ and the normal name is an alias. */
12947 #if defined __stub_$ac_func || defined __stub___$ac_func
12948 choke me
12949 #endif
12952 main ()
12954 return $ac_func ();
12956 return 0;
12958 _ACEOF
12959 rm -f conftest.$ac_objext conftest$ac_exeext
12960 if { (ac_try="$ac_link"
12961 case "(($ac_try" in
12962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12963 *) ac_try_echo=$ac_try;;
12964 esac
12965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12966 (eval "$ac_link") 2>conftest.er1
12967 ac_status=$?
12968 grep -v '^ *+' conftest.er1 >conftest.err
12969 rm -f conftest.er1
12970 cat conftest.err >&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } && {
12973 test -z "$ac_c_werror_flag" ||
12974 test ! -s conftest.err
12975 } && test -s conftest$ac_exeext &&
12976 $as_test_x conftest$ac_exeext; then
12977 eval "$as_ac_var=yes"
12978 else
12979 echo "$as_me: failed program was:" >&5
12980 sed 's/^/| /' conftest.$ac_ext >&5
12982 eval "$as_ac_var=no"
12985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12986 conftest$ac_exeext conftest.$ac_ext
12988 ac_res=`eval echo '${'$as_ac_var'}'`
12989 { echo "$as_me:$LINENO: result: $ac_res" >&5
12990 echo "${ECHO_T}$ac_res" >&6; }
12991 if test `eval echo '${'$as_ac_var'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12994 _ACEOF
12997 done
12999 LIBS="$ac_wine_check_funcs_save_LIBS"
13001 if test "x$LDAPLIBS" = "x"; then
13002 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13003 Wine will be built without LDAP support. (wldap32.dll)"
13007 for ac_prog in freetype-config freetype2-config
13009 # Extract the first word of "$ac_prog", so it can be a program name with args.
13010 set dummy $ac_prog; ac_word=$2
13011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13013 if test "${ac_cv_prog_ft_devel+set}" = set; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13015 else
13016 if test -n "$ft_devel"; then
13017 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13018 else
13019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13020 for as_dir in $PATH
13022 IFS=$as_save_IFS
13023 test -z "$as_dir" && as_dir=.
13024 for ac_exec_ext in '' $ac_executable_extensions; do
13025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13026 ac_cv_prog_ft_devel="$ac_prog"
13027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13028 break 2
13030 done
13031 done
13032 IFS=$as_save_IFS
13036 ft_devel=$ac_cv_prog_ft_devel
13037 if test -n "$ft_devel"; then
13038 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13039 echo "${ECHO_T}$ft_devel" >&6; }
13040 else
13041 { echo "$as_me:$LINENO: result: no" >&5
13042 echo "${ECHO_T}no" >&6; }
13046 test -n "$ft_devel" && break
13047 done
13048 test -n "$ft_devel" || ft_devel="false"
13050 if test "$ft_devel" != "false"
13051 then
13052 ac_freetype_libs=`$ft_devel --libs`
13053 ac_freetype_incl=`$ft_devel --cflags`
13054 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13055 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13056 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 else
13059 ac_check_soname_save_LIBS=$LIBS
13060 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13061 cat >conftest.$ac_ext <<_ACEOF
13062 /* confdefs.h. */
13063 _ACEOF
13064 cat confdefs.h >>conftest.$ac_ext
13065 cat >>conftest.$ac_ext <<_ACEOF
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char FT_Init_FreeType ();
13076 main ()
13078 return FT_Init_FreeType ();
13080 return 0;
13082 _ACEOF
13083 rm -f conftest.$ac_objext conftest$ac_exeext
13084 if { (ac_try="$ac_link"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13088 esac
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_link") 2>conftest.er1
13091 ac_status=$?
13092 grep -v '^ *+' conftest.er1 >conftest.err
13093 rm -f conftest.er1
13094 cat conftest.err >&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } && {
13097 test -z "$ac_c_werror_flag" ||
13098 test ! -s conftest.err
13099 } && test -s conftest$ac_exeext &&
13100 $as_test_x conftest$ac_exeext; then
13101 case "$LIBEXT" in
13102 dll) ;;
13103 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'` ;;
13104 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13105 esac
13106 else
13107 echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.$ac_ext >&5
13113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13114 conftest$ac_exeext conftest.$ac_ext
13115 LIBS=$ac_check_soname_save_LIBS
13117 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13118 { echo "$as_me:$LINENO: result: not found" >&5
13119 echo "${ECHO_T}not found" >&6; }
13120 ft_lib=no
13121 else
13122 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13123 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13125 cat >>confdefs.h <<_ACEOF
13126 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13127 _ACEOF
13129 ft_lib=yes
13132 if test "$ft_lib" = "yes"
13133 then
13134 ac_save_CPPFLAGS="$CPPFLAGS"
13135 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13148 for ac_header in ft2build.h \
13149 freetype/freetype.h \
13150 freetype/ftglyph.h \
13151 freetype/fttypes.h \
13152 freetype/tttables.h \
13153 freetype/ftnames.h \
13154 freetype/ftsnames.h \
13155 freetype/ttnameid.h \
13156 freetype/ftoutln.h \
13157 freetype/ftwinfnt.h \
13158 freetype/ftmodapi.h \
13159 freetype/internal/sfnt.h
13161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 else
13167 cat >conftest.$ac_ext <<_ACEOF
13168 /* confdefs.h. */
13169 _ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #if HAVE_FT2BUILD_H
13174 #include <ft2build.h>
13175 #endif
13177 #include <$ac_header>
13178 _ACEOF
13179 rm -f conftest.$ac_objext
13180 if { (ac_try="$ac_compile"
13181 case "(($ac_try" in
13182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13183 *) ac_try_echo=$ac_try;;
13184 esac
13185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13186 (eval "$ac_compile") 2>conftest.er1
13187 ac_status=$?
13188 grep -v '^ *+' conftest.er1 >conftest.err
13189 rm -f conftest.er1
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } && {
13193 test -z "$ac_c_werror_flag" ||
13194 test ! -s conftest.err
13195 } && test -s conftest.$ac_objext; then
13196 eval "$as_ac_Header=yes"
13197 else
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_Header=no"
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 ac_res=`eval echo '${'$as_ac_Header'}'`
13207 { echo "$as_me:$LINENO: result: $ac_res" >&5
13208 echo "${ECHO_T}$ac_res" >&6; }
13209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13210 cat >>confdefs.h <<_ACEOF
13211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13212 _ACEOF
13216 done
13218 cat >conftest.$ac_ext <<_ACEOF
13219 /* confdefs.h. */
13220 _ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <ft2build.h>
13225 #include <freetype/fttrigon.h>
13226 _ACEOF
13227 if { (ac_try="$ac_cpp conftest.$ac_ext"
13228 case "(($ac_try" in
13229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13230 *) ac_try_echo=$ac_try;;
13231 esac
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13234 ac_status=$?
13235 grep -v '^ *+' conftest.er1 >conftest.err
13236 rm -f conftest.er1
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } >/dev/null && {
13240 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13241 test ! -s conftest.err
13242 }; then
13244 cat >>confdefs.h <<\_ACEOF
13245 #define HAVE_FREETYPE_FTTRIGON_H 1
13246 _ACEOF
13248 wine_cv_fttrigon=yes
13249 else
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13253 wine_cv_fttrigon=no
13256 rm -f conftest.err conftest.$ac_ext
13257 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13258 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13259 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 else
13262 cat >conftest.$ac_ext <<_ACEOF
13263 /* confdefs.h. */
13264 _ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 #include <freetype/ftmodapi.h>
13270 typedef FT_TrueTypeEngineType ac__type_new_;
13272 main ()
13274 if ((ac__type_new_ *) 0)
13275 return 0;
13276 if (sizeof (ac__type_new_))
13277 return 0;
13279 return 0;
13281 _ACEOF
13282 rm -f conftest.$ac_objext
13283 if { (ac_try="$ac_compile"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13287 esac
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_compile") 2>conftest.er1
13290 ac_status=$?
13291 grep -v '^ *+' conftest.er1 >conftest.err
13292 rm -f conftest.er1
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest.$ac_objext; then
13299 ac_cv_type_FT_TrueTypeEngineType=yes
13300 else
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13304 ac_cv_type_FT_TrueTypeEngineType=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13310 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13311 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13313 cat >>confdefs.h <<_ACEOF
13314 #define HAVE_FT_TRUETYPEENGINETYPE 1
13315 _ACEOF
13320 ac_save_CFLAGS="$CFLAGS"
13321 CFLAGS="$CFLAGS $ac_freetype_libs"
13323 for ac_func in FT_Load_Sfnt_Table
13325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 else
13331 cat >conftest.$ac_ext <<_ACEOF
13332 /* confdefs.h. */
13333 _ACEOF
13334 cat confdefs.h >>conftest.$ac_ext
13335 cat >>conftest.$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13339 #define $ac_func innocuous_$ac_func
13341 /* System header to define __stub macros and hopefully few prototypes,
13342 which can conflict with char $ac_func (); below.
13343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344 <limits.h> exists even on freestanding compilers. */
13346 #ifdef __STDC__
13347 # include <limits.h>
13348 #else
13349 # include <assert.h>
13350 #endif
13352 #undef $ac_func
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char $ac_func ();
13361 /* The GNU C library defines this for functions which it implements
13362 to always fail with ENOSYS. Some functions are actually named
13363 something starting with __ and the normal name is an alias. */
13364 #if defined __stub_$ac_func || defined __stub___$ac_func
13365 choke me
13366 #endif
13369 main ()
13371 return $ac_func ();
13373 return 0;
13375 _ACEOF
13376 rm -f conftest.$ac_objext conftest$ac_exeext
13377 if { (ac_try="$ac_link"
13378 case "(($ac_try" in
13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380 *) ac_try_echo=$ac_try;;
13381 esac
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_link") 2>conftest.er1
13384 ac_status=$?
13385 grep -v '^ *+' conftest.er1 >conftest.err
13386 rm -f conftest.er1
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest$ac_exeext &&
13393 $as_test_x conftest$ac_exeext; then
13394 eval "$as_ac_var=yes"
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 eval "$as_ac_var=no"
13402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13403 conftest$ac_exeext conftest.$ac_ext
13405 ac_res=`eval echo '${'$as_ac_var'}'`
13406 { echo "$as_me:$LINENO: result: $ac_res" >&5
13407 echo "${ECHO_T}$ac_res" >&6; }
13408 if test `eval echo '${'$as_ac_var'}'` = yes; then
13409 cat >>confdefs.h <<_ACEOF
13410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13411 _ACEOF
13414 done
13416 CFLAGS="$ac_save_CFLAGS"
13417 CPPFLAGS="$ac_save_CPPFLAGS"
13418 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13419 then
13421 cat >>confdefs.h <<\_ACEOF
13422 #define HAVE_FREETYPE 1
13423 _ACEOF
13425 FREETYPELIBS="$ac_freetype_libs"
13427 FREETYPEINCL="$ac_freetype_incl"
13433 if test "$FONTFORGE" = "false"
13434 then
13435 wine_warnings="$wine_warnings|FontForge is missing.
13436 Fonts will not be built. Dialog text may be invisible or unaligned."
13437 elif test "x$FREETYPELIBS" = "x"
13438 then
13439 wine_warnings="$wine_warnings|FreeType development files not found.
13440 Fonts will not be built. Dialog text may be invisible or unaligned."
13441 else
13442 FONTSSUBDIRS="fonts"
13446 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13447 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13448 if test "${ac_cv_c_ppdev+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451 cat >conftest.$ac_ext <<_ACEOF
13452 /* confdefs.h. */
13453 _ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457 #include <linux/ppdev.h>
13459 main ()
13461 ioctl (1,PPCLAIM,0)
13463 return 0;
13465 _ACEOF
13466 rm -f conftest.$ac_objext
13467 if { (ac_try="$ac_compile"
13468 case "(($ac_try" in
13469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13470 *) ac_try_echo=$ac_try;;
13471 esac
13472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13473 (eval "$ac_compile") 2>conftest.er1
13474 ac_status=$?
13475 grep -v '^ *+' conftest.er1 >conftest.err
13476 rm -f conftest.er1
13477 cat conftest.err >&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } && {
13480 test -z "$ac_c_werror_flag" ||
13481 test ! -s conftest.err
13482 } && test -s conftest.$ac_objext; then
13483 ac_cv_c_ppdev="yes"
13484 else
13485 echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13488 ac_cv_c_ppdev="no"
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13494 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13495 if test "$ac_cv_c_ppdev" = "yes"
13496 then
13498 cat >>confdefs.h <<\_ACEOF
13499 #define HAVE_PPDEV 1
13500 _ACEOF
13504 { echo "$as_me:$LINENO: checking for va_copy" >&5
13505 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13506 if test "${ac_cv_c_va_copy+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515 #include <stdarg.h>
13517 main ()
13519 va_list ap1, ap2; va_copy(ap1,ap2);
13521 return 0;
13523 _ACEOF
13524 rm -f conftest.$ac_objext conftest$ac_exeext
13525 if { (ac_try="$ac_link"
13526 case "(($ac_try" in
13527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13528 *) ac_try_echo=$ac_try;;
13529 esac
13530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 (eval "$ac_link") 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } && {
13538 test -z "$ac_c_werror_flag" ||
13539 test ! -s conftest.err
13540 } && test -s conftest$ac_exeext &&
13541 $as_test_x conftest$ac_exeext; then
13542 ac_cv_c_va_copy="yes"
13543 else
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_c_va_copy="no"
13550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13551 conftest$ac_exeext conftest.$ac_ext
13554 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13555 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13556 if test "$ac_cv_c_va_copy" = "yes"
13557 then
13559 cat >>confdefs.h <<\_ACEOF
13560 #define HAVE_VA_COPY 1
13561 _ACEOF
13564 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13565 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13566 if test "${ac_cv_c___va_copy+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 else
13569 cat >conftest.$ac_ext <<_ACEOF
13570 /* confdefs.h. */
13571 _ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <stdarg.h>
13577 main ()
13579 va_list ap1, ap2; __va_copy(ap1,ap2);
13581 return 0;
13583 _ACEOF
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (ac_try="$ac_link"
13586 case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13589 esac
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_link") 2>conftest.er1
13592 ac_status=$?
13593 grep -v '^ *+' conftest.er1 >conftest.err
13594 rm -f conftest.er1
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } && {
13598 test -z "$ac_c_werror_flag" ||
13599 test ! -s conftest.err
13600 } && test -s conftest$ac_exeext &&
13601 $as_test_x conftest$ac_exeext; then
13602 ac_cv_c___va_copy="yes"
13603 else
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.$ac_ext >&5
13607 ac_cv_c___va_copy="no"
13610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13611 conftest$ac_exeext conftest.$ac_ext
13614 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13615 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13616 if test "$ac_cv_c___va_copy" = "yes"
13617 then
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE___VA_COPY 1
13621 _ACEOF
13625 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13626 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13627 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 else
13630 cat >conftest.$ac_ext <<_ACEOF
13631 /* confdefs.h. */
13632 _ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <setjmp.h>
13638 main ()
13640 sigjmp_buf buf;
13641 sigsetjmp( buf, 1 );
13642 siglongjmp( buf, 1 );
13644 return 0;
13646 _ACEOF
13647 rm -f conftest.$ac_objext conftest$ac_exeext
13648 if { (ac_try="$ac_link"
13649 case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13652 esac
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_link") 2>conftest.er1
13655 ac_status=$?
13656 grep -v '^ *+' conftest.er1 >conftest.err
13657 rm -f conftest.er1
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && {
13661 test -z "$ac_c_werror_flag" ||
13662 test ! -s conftest.err
13663 } && test -s conftest$ac_exeext &&
13664 $as_test_x conftest$ac_exeext; then
13665 ac_cv_c_sigsetjmp="yes"
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 ac_cv_c_sigsetjmp="no"
13673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13674 conftest$ac_exeext conftest.$ac_ext
13677 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13678 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13679 if test "$ac_cv_c_sigsetjmp" = "yes"
13680 then
13682 cat >>confdefs.h <<\_ACEOF
13683 #define HAVE_SIGSETJMP 1
13684 _ACEOF
13688 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13689 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13690 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 else
13693 cat >conftest.$ac_ext <<_ACEOF
13694 /* confdefs.h. */
13695 _ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 #define _GNU_SOURCE
13700 #include <pthread.h>
13702 typedef pthread_rwlock_t ac__type_new_;
13704 main ()
13706 if ((ac__type_new_ *) 0)
13707 return 0;
13708 if (sizeof (ac__type_new_))
13709 return 0;
13711 return 0;
13713 _ACEOF
13714 rm -f conftest.$ac_objext
13715 if { (ac_try="$ac_compile"
13716 case "(($ac_try" in
13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13718 *) ac_try_echo=$ac_try;;
13719 esac
13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13721 (eval "$ac_compile") 2>conftest.er1
13722 ac_status=$?
13723 grep -v '^ *+' conftest.er1 >conftest.err
13724 rm -f conftest.er1
13725 cat conftest.err >&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } && {
13728 test -z "$ac_c_werror_flag" ||
13729 test ! -s conftest.err
13730 } && test -s conftest.$ac_objext; then
13731 ac_cv_type_pthread_rwlock_t=yes
13732 else
13733 echo "$as_me: failed program was:" >&5
13734 sed 's/^/| /' conftest.$ac_ext >&5
13736 ac_cv_type_pthread_rwlock_t=no
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13741 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13742 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13743 if test $ac_cv_type_pthread_rwlock_t = yes; then
13745 cat >>confdefs.h <<_ACEOF
13746 #define HAVE_PTHREAD_RWLOCK_T 1
13747 _ACEOF
13751 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13752 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13753 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13755 else
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 #define _GNU_SOURCE
13763 #include <pthread.h>
13765 typedef pthread_rwlockattr_t ac__type_new_;
13767 main ()
13769 if ((ac__type_new_ *) 0)
13770 return 0;
13771 if (sizeof (ac__type_new_))
13772 return 0;
13774 return 0;
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (ac_try="$ac_compile"
13779 case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13782 esac
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compile") 2>conftest.er1
13785 ac_status=$?
13786 grep -v '^ *+' conftest.er1 >conftest.err
13787 rm -f conftest.er1
13788 cat conftest.err >&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest.$ac_objext; then
13794 ac_cv_type_pthread_rwlockattr_t=yes
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_type_pthread_rwlockattr_t=no
13802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13804 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13805 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13806 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13810 _ACEOF
13816 ac_wine_check_funcs_save_LIBS="$LIBS"
13817 LIBS="$LIBS $LIBPTHREAD"
13822 for ac_func in \
13823 pthread_attr_get_np \
13824 pthread_getattr_np \
13825 pthread_get_stackaddr_np \
13826 pthread_get_stacksize_np
13828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
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. */
13840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13842 #define $ac_func innocuous_$ac_func
13844 /* System header to define __stub macros and hopefully few prototypes,
13845 which can conflict with char $ac_func (); below.
13846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13847 <limits.h> exists even on freestanding compilers. */
13849 #ifdef __STDC__
13850 # include <limits.h>
13851 #else
13852 # include <assert.h>
13853 #endif
13855 #undef $ac_func
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13860 #ifdef __cplusplus
13861 extern "C"
13862 #endif
13863 char $ac_func ();
13864 /* The GNU C library defines this for functions which it implements
13865 to always fail with ENOSYS. Some functions are actually named
13866 something starting with __ and the normal name is an alias. */
13867 #if defined __stub_$ac_func || defined __stub___$ac_func
13868 choke me
13869 #endif
13872 main ()
13874 return $ac_func ();
13876 return 0;
13878 _ACEOF
13879 rm -f conftest.$ac_objext conftest$ac_exeext
13880 if { (ac_try="$ac_link"
13881 case "(($ac_try" in
13882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13883 *) ac_try_echo=$ac_try;;
13884 esac
13885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13886 (eval "$ac_link") 2>conftest.er1
13887 ac_status=$?
13888 grep -v '^ *+' conftest.er1 >conftest.err
13889 rm -f conftest.er1
13890 cat conftest.err >&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } && {
13893 test -z "$ac_c_werror_flag" ||
13894 test ! -s conftest.err
13895 } && test -s conftest$ac_exeext &&
13896 $as_test_x conftest$ac_exeext; then
13897 eval "$as_ac_var=yes"
13898 else
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13902 eval "$as_ac_var=no"
13905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13906 conftest$ac_exeext conftest.$ac_ext
13908 ac_res=`eval echo '${'$as_ac_var'}'`
13909 { echo "$as_me:$LINENO: result: $ac_res" >&5
13910 echo "${ECHO_T}$ac_res" >&6; }
13911 if test `eval echo '${'$as_ac_var'}'` = yes; then
13912 cat >>confdefs.h <<_ACEOF
13913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13914 _ACEOF
13917 done
13919 LIBS="$ac_wine_check_funcs_save_LIBS"
13921 # Extract the first word of "esd-config", so it can be a program name with args.
13922 set dummy esd-config; ac_word=$2
13923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13925 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13927 else
13928 case $ESDCONFIG in
13929 [\\/]* | ?:[\\/]*)
13930 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13934 for as_dir in $PATH
13936 IFS=$as_save_IFS
13937 test -z "$as_dir" && as_dir=.
13938 for ac_exec_ext in '' $ac_executable_extensions; do
13939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13940 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13942 break 2
13944 done
13945 done
13946 IFS=$as_save_IFS
13949 esac
13951 ESDCONFIG=$ac_cv_path_ESDCONFIG
13952 if test -n "$ESDCONFIG"; then
13953 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13954 echo "${ECHO_T}$ESDCONFIG" >&6; }
13955 else
13956 { echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6; }
13961 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13962 then
13963 ESD_CFLAGS=""
13964 for i in `$ESDCONFIG --cflags`
13966 case "$i" in
13967 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13968 esac
13969 done
13970 ESD_LIBS=`$ESDCONFIG --libs`
13971 save_CFLAGS="$CFLAGS"
13972 CFLAGS="$CFLAGS $ESD_CFLAGS"
13973 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13974 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13975 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 else
13978 ac_check_lib_save_LIBS=$LIBS
13979 LIBS="-lesd $LIBS"
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13990 #ifdef __cplusplus
13991 extern "C"
13992 #endif
13993 char esd_open_sound ();
13995 main ()
13997 return esd_open_sound ();
13999 return 0;
14001 _ACEOF
14002 rm -f conftest.$ac_objext conftest$ac_exeext
14003 if { (ac_try="$ac_link"
14004 case "(($ac_try" in
14005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006 *) ac_try_echo=$ac_try;;
14007 esac
14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009 (eval "$ac_link") 2>conftest.er1
14010 ac_status=$?
14011 grep -v '^ *+' conftest.er1 >conftest.err
14012 rm -f conftest.er1
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && {
14016 test -z "$ac_c_werror_flag" ||
14017 test ! -s conftest.err
14018 } && test -s conftest$ac_exeext &&
14019 $as_test_x conftest$ac_exeext; then
14020 ac_cv_lib_esd_esd_open_sound=yes
14021 else
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.$ac_ext >&5
14025 ac_cv_lib_esd_esd_open_sound=no
14028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14033 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14034 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14035 ESDLIBS=$ESD_LIBS
14037 ESDINCL=$ESD_CFLAGS
14040 cat >>confdefs.h <<\_ACEOF
14041 #define HAVE_ESD 1
14042 _ACEOF
14046 CFLAGS="$save_CFLAGS"
14049 ALSALIBS=""
14051 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14052 then
14053 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14054 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14055 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lasound $LIBS"
14060 cat >conftest.$ac_ext <<_ACEOF
14061 /* confdefs.h. */
14062 _ACEOF
14063 cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14070 #ifdef __cplusplus
14071 extern "C"
14072 #endif
14073 char snd_pcm_hw_params_get_access ();
14075 main ()
14077 return snd_pcm_hw_params_get_access ();
14079 return 0;
14081 _ACEOF
14082 rm -f conftest.$ac_objext conftest$ac_exeext
14083 if { (ac_try="$ac_link"
14084 case "(($ac_try" in
14085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14086 *) ac_try_echo=$ac_try;;
14087 esac
14088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14089 (eval "$ac_link") 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } && {
14096 test -z "$ac_c_werror_flag" ||
14097 test ! -s conftest.err
14098 } && test -s conftest$ac_exeext &&
14099 $as_test_x conftest$ac_exeext; then
14100 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14101 else
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.$ac_ext >&5
14105 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14109 conftest$ac_exeext conftest.$ac_ext
14110 LIBS=$ac_check_lib_save_LIBS
14112 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14113 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14114 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14115 cat >conftest.$ac_ext <<_ACEOF
14116 /* confdefs.h. */
14117 _ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #ifdef HAVE_ALSA_ASOUNDLIB_H
14122 #include <alsa/asoundlib.h>
14123 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14124 #include <sys/asoundlib.h>
14125 #endif
14127 main ()
14129 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14131 return 0;
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (ac_try="$ac_compile"
14136 case "(($ac_try" in
14137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14139 esac
14140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14141 (eval "$ac_compile") 2>conftest.er1
14142 ac_status=$?
14143 grep -v '^ *+' conftest.er1 >conftest.err
14144 rm -f conftest.er1
14145 cat conftest.err >&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } && {
14148 test -z "$ac_c_werror_flag" ||
14149 test ! -s conftest.err
14150 } && test -s conftest.$ac_objext; then
14152 cat >>confdefs.h <<\_ACEOF
14153 #define HAVE_ALSA 1
14154 _ACEOF
14156 ALSALIBS="-lasound"
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14169 AUDIOIOLIBS=""
14171 if test "$ac_cv_header_libaudioio_h" = "yes"
14172 then
14173 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14174 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14175 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-laudioio $LIBS"
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 #ifdef __cplusplus
14191 extern "C"
14192 #endif
14193 char AudioIOGetVersion ();
14195 main ()
14197 return AudioIOGetVersion ();
14199 return 0;
14201 _ACEOF
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14207 esac
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 ac_cv_lib_audioio_AudioIOGetVersion=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_cv_lib_audioio_AudioIOGetVersion=no
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14233 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14234 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14235 AUDIOIOLIBS="-laudioio"
14237 cat >>confdefs.h <<\_ACEOF
14238 #define HAVE_LIBAUDIOIO 1
14239 _ACEOF
14246 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14247 then
14248 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14249 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14250 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 else
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lcapi20 $LIBS"
14255 cat >conftest.$ac_ext <<_ACEOF
14256 /* confdefs.h. */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char capi20_register ();
14270 main ()
14272 return capi20_register ();
14274 return 0;
14276 _ACEOF
14277 rm -f conftest.$ac_objext conftest$ac_exeext
14278 if { (ac_try="$ac_link"
14279 case "(($ac_try" in
14280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14281 *) ac_try_echo=$ac_try;;
14282 esac
14283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14284 (eval "$ac_link") 2>conftest.er1
14285 ac_status=$?
14286 grep -v '^ *+' conftest.er1 >conftest.err
14287 rm -f conftest.er1
14288 cat conftest.err >&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } && {
14291 test -z "$ac_c_werror_flag" ||
14292 test ! -s conftest.err
14293 } && test -s conftest$ac_exeext &&
14294 $as_test_x conftest$ac_exeext; then
14295 case "$LIBEXT" in
14296 dll) ;;
14297 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'` ;;
14298 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14299 esac
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_soname_save_LIBS
14311 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14312 { echo "$as_me:$LINENO: result: not found" >&5
14313 echo "${ECHO_T}not found" >&6; }
14315 else
14316 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14317 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14321 _ACEOF
14327 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14328 wine_notices="$wine_notices|libcapi20 development files not found.
14329 Wine will be built without ISDN support. (capi2032.dll)"
14333 if test "$ac_cv_header_cups_cups_h" = "yes"
14334 then
14335 { echo "$as_me:$LINENO: checking for -lcups" >&5
14336 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14337 if test "${ac_cv_lib_soname_cups+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 else
14340 ac_check_soname_save_LIBS=$LIBS
14341 LIBS="-lcups $LIBS"
14342 cat >conftest.$ac_ext <<_ACEOF
14343 /* confdefs.h. */
14344 _ACEOF
14345 cat confdefs.h >>conftest.$ac_ext
14346 cat >>conftest.$ac_ext <<_ACEOF
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 #ifdef __cplusplus
14353 extern "C"
14354 #endif
14355 char cupsGetDefault ();
14357 main ()
14359 return cupsGetDefault ();
14361 return 0;
14363 _ACEOF
14364 rm -f conftest.$ac_objext conftest$ac_exeext
14365 if { (ac_try="$ac_link"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14369 esac
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link") 2>conftest.er1
14372 ac_status=$?
14373 grep -v '^ *+' conftest.er1 >conftest.err
14374 rm -f conftest.er1
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } && {
14378 test -z "$ac_c_werror_flag" ||
14379 test ! -s conftest.err
14380 } && test -s conftest$ac_exeext &&
14381 $as_test_x conftest$ac_exeext; then
14382 case "$LIBEXT" in
14383 dll) ;;
14384 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'` ;;
14385 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14386 esac
14387 else
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.$ac_ext >&5
14394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14395 conftest$ac_exeext conftest.$ac_ext
14396 LIBS=$ac_check_soname_save_LIBS
14398 if test "x$ac_cv_lib_soname_cups" = "x"; then
14399 { echo "$as_me:$LINENO: result: not found" >&5
14400 echo "${ECHO_T}not found" >&6; }
14402 else
14403 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14404 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14406 cat >>confdefs.h <<_ACEOF
14407 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14408 _ACEOF
14414 if test "x$ac_cv_lib_soname_cups" = "x"; then
14415 wine_notices="$wine_notices|libcups development files not found.
14416 Wine will be built without CUPS support."
14420 if test "$ac_cv_header_jack_jack_h" = "yes"
14421 then
14422 { echo "$as_me:$LINENO: checking for -ljack" >&5
14423 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14424 if test "${ac_cv_lib_soname_jack+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 else
14427 ac_check_soname_save_LIBS=$LIBS
14428 LIBS="-ljack $LIBS"
14429 cat >conftest.$ac_ext <<_ACEOF
14430 /* confdefs.h. */
14431 _ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14439 #ifdef __cplusplus
14440 extern "C"
14441 #endif
14442 char jack_client_new ();
14444 main ()
14446 return jack_client_new ();
14448 return 0;
14450 _ACEOF
14451 rm -f conftest.$ac_objext conftest$ac_exeext
14452 if { (ac_try="$ac_link"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14456 esac
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_link") 2>conftest.er1
14459 ac_status=$?
14460 grep -v '^ *+' conftest.er1 >conftest.err
14461 rm -f conftest.er1
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest$ac_exeext &&
14468 $as_test_x conftest$ac_exeext; then
14469 case "$LIBEXT" in
14470 dll) ;;
14471 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'` ;;
14472 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14473 esac
14474 else
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_soname_save_LIBS
14485 if test "x$ac_cv_lib_soname_jack" = "x"; then
14486 { echo "$as_me:$LINENO: result: not found" >&5
14487 echo "${ECHO_T}not found" >&6; }
14489 else
14490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14491 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14493 cat >>confdefs.h <<_ACEOF
14494 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14495 _ACEOF
14502 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14503 then
14504 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14505 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14506 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 else
14509 ac_check_soname_save_LIBS=$LIBS
14510 LIBS="-lfontconfig $LIBS"
14511 cat >conftest.$ac_ext <<_ACEOF
14512 /* confdefs.h. */
14513 _ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14521 #ifdef __cplusplus
14522 extern "C"
14523 #endif
14524 char FcInit ();
14526 main ()
14528 return FcInit ();
14530 return 0;
14532 _ACEOF
14533 rm -f conftest.$ac_objext conftest$ac_exeext
14534 if { (ac_try="$ac_link"
14535 case "(($ac_try" in
14536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14537 *) ac_try_echo=$ac_try;;
14538 esac
14539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14540 (eval "$ac_link") 2>conftest.er1
14541 ac_status=$?
14542 grep -v '^ *+' conftest.er1 >conftest.err
14543 rm -f conftest.er1
14544 cat conftest.err >&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } && {
14547 test -z "$ac_c_werror_flag" ||
14548 test ! -s conftest.err
14549 } && test -s conftest$ac_exeext &&
14550 $as_test_x conftest$ac_exeext; then
14551 case "$LIBEXT" in
14552 dll) ;;
14553 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'` ;;
14554 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14555 esac
14556 else
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_soname_save_LIBS
14567 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14568 { echo "$as_me:$LINENO: result: not found" >&5
14569 echo "${ECHO_T}not found" >&6; }
14571 else
14572 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14573 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14575 cat >>confdefs.h <<_ACEOF
14576 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14577 _ACEOF
14582 elif test -n "$X_CFLAGS"
14583 then
14584 ac_save_CPPFLAGS="$CPPFLAGS"
14585 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14586 $as_unset ac_cv_header_fontconfig_fontconfig_h
14588 for ac_header in fontconfig/fontconfig.h
14590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14595 echo $ECHO_N "(cached) $ECHO_C" >&6
14597 ac_res=`eval echo '${'$as_ac_Header'}'`
14598 { echo "$as_me:$LINENO: result: $ac_res" >&5
14599 echo "${ECHO_T}$ac_res" >&6; }
14600 else
14601 # Is the header compilable?
14602 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14604 cat >conftest.$ac_ext <<_ACEOF
14605 /* confdefs.h. */
14606 _ACEOF
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 $ac_includes_default
14611 #include <$ac_header>
14612 _ACEOF
14613 rm -f conftest.$ac_objext
14614 if { (ac_try="$ac_compile"
14615 case "(($ac_try" in
14616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14617 *) ac_try_echo=$ac_try;;
14618 esac
14619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14620 (eval "$ac_compile") 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } && {
14627 test -z "$ac_c_werror_flag" ||
14628 test ! -s conftest.err
14629 } && test -s conftest.$ac_objext; then
14630 ac_header_compiler=yes
14631 else
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14635 ac_header_compiler=no
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14639 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14640 echo "${ECHO_T}$ac_header_compiler" >&6; }
14642 # Is the header present?
14643 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14645 cat >conftest.$ac_ext <<_ACEOF
14646 /* confdefs.h. */
14647 _ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651 #include <$ac_header>
14652 _ACEOF
14653 if { (ac_try="$ac_cpp conftest.$ac_ext"
14654 case "(($ac_try" in
14655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14656 *) ac_try_echo=$ac_try;;
14657 esac
14658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14660 ac_status=$?
14661 grep -v '^ *+' conftest.er1 >conftest.err
14662 rm -f conftest.er1
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } >/dev/null && {
14666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14667 test ! -s conftest.err
14668 }; then
14669 ac_header_preproc=yes
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14674 ac_header_preproc=no
14677 rm -f conftest.err conftest.$ac_ext
14678 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14679 echo "${ECHO_T}$ac_header_preproc" >&6; }
14681 # So? What about this header?
14682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14683 yes:no: )
14684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14688 ac_header_preproc=yes
14690 no:yes:* )
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14703 ( cat <<\_ASBOX
14704 ## ------------------------------------ ##
14705 ## Report this to wine-devel@winehq.org ##
14706 ## ------------------------------------ ##
14707 _ASBOX
14708 ) | sed "s/^/$as_me: WARNING: /" >&2
14710 esac
14711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716 eval "$as_ac_Header=\$ac_header_preproc"
14718 ac_res=`eval echo '${'$as_ac_Header'}'`
14719 { echo "$as_me:$LINENO: result: $ac_res" >&5
14720 echo "${ECHO_T}$ac_res" >&6; }
14723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14724 cat >>confdefs.h <<_ACEOF
14725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14726 _ACEOF
14730 done
14732 CPPFLAGS="$ac_save_CPPFLAGS"
14733 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14734 then
14735 FONTCONFIGINCL="$X_CFLAGS"
14737 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14738 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14739 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 ac_check_soname_save_LIBS=$LIBS
14743 LIBS="-lfontconfig $X_LIBS $LIBS"
14744 cat >conftest.$ac_ext <<_ACEOF
14745 /* confdefs.h. */
14746 _ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 #ifdef __cplusplus
14755 extern "C"
14756 #endif
14757 char FcInit ();
14759 main ()
14761 return FcInit ();
14763 return 0;
14765 _ACEOF
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (ac_try="$ac_link"
14768 case "(($ac_try" in
14769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14770 *) ac_try_echo=$ac_try;;
14771 esac
14772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14773 (eval "$ac_link") 2>conftest.er1
14774 ac_status=$?
14775 grep -v '^ *+' conftest.er1 >conftest.err
14776 rm -f conftest.er1
14777 cat conftest.err >&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); } && {
14780 test -z "$ac_c_werror_flag" ||
14781 test ! -s conftest.err
14782 } && test -s conftest$ac_exeext &&
14783 $as_test_x conftest$ac_exeext; then
14784 case "$LIBEXT" in
14785 dll) ;;
14786 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'` ;;
14787 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14788 esac
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14797 conftest$ac_exeext conftest.$ac_ext
14798 LIBS=$ac_check_soname_save_LIBS
14800 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14801 { echo "$as_me:$LINENO: result: not found" >&5
14802 echo "${ECHO_T}not found" >&6; }
14804 else
14805 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14806 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14808 cat >>confdefs.h <<_ACEOF
14809 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14810 _ACEOF
14817 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14818 wine_notices="$wine_notices|fontconfig development files not found.
14819 Wine will be built without fontconfig support."
14823 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14824 then
14825 { echo "$as_me:$LINENO: checking for -lssl" >&5
14826 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14827 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 else
14830 ac_check_soname_save_LIBS=$LIBS
14831 LIBS="-lssl $LIBS"
14832 cat >conftest.$ac_ext <<_ACEOF
14833 /* confdefs.h. */
14834 _ACEOF
14835 cat confdefs.h >>conftest.$ac_ext
14836 cat >>conftest.$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14839 /* Override any GCC internal prototype to avoid an error.
14840 Use char because int might match the return type of a GCC
14841 builtin and then its argument prototype would still apply. */
14842 #ifdef __cplusplus
14843 extern "C"
14844 #endif
14845 char SSL_library_init ();
14847 main ()
14849 return SSL_library_init ();
14851 return 0;
14853 _ACEOF
14854 rm -f conftest.$ac_objext conftest$ac_exeext
14855 if { (ac_try="$ac_link"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_link") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } && {
14868 test -z "$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 } && test -s conftest$ac_exeext &&
14871 $as_test_x conftest$ac_exeext; then
14872 case "$LIBEXT" in
14873 dll) ;;
14874 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'` ;;
14875 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14876 esac
14877 else
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.$ac_ext >&5
14884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14885 conftest$ac_exeext conftest.$ac_ext
14886 LIBS=$ac_check_soname_save_LIBS
14888 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14889 { echo "$as_me:$LINENO: result: not found" >&5
14890 echo "${ECHO_T}not found" >&6; }
14892 else
14893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14894 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14896 cat >>confdefs.h <<_ACEOF
14897 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14898 _ACEOF
14903 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14904 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14905 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 ac_check_soname_save_LIBS=$LIBS
14909 LIBS="-lcrypto $LIBS"
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14917 /* Override any GCC internal prototype to avoid an error.
14918 Use char because int might match the return type of a GCC
14919 builtin and then its argument prototype would still apply. */
14920 #ifdef __cplusplus
14921 extern "C"
14922 #endif
14923 char BIO_new_socket ();
14925 main ()
14927 return BIO_new_socket ();
14929 return 0;
14931 _ACEOF
14932 rm -f conftest.$ac_objext conftest$ac_exeext
14933 if { (ac_try="$ac_link"
14934 case "(($ac_try" in
14935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14936 *) ac_try_echo=$ac_try;;
14937 esac
14938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14939 (eval "$ac_link") 2>conftest.er1
14940 ac_status=$?
14941 grep -v '^ *+' conftest.er1 >conftest.err
14942 rm -f conftest.er1
14943 cat conftest.err >&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } && {
14946 test -z "$ac_c_werror_flag" ||
14947 test ! -s conftest.err
14948 } && test -s conftest$ac_exeext &&
14949 $as_test_x conftest$ac_exeext; then
14950 case "$LIBEXT" in
14951 dll) ;;
14952 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'` ;;
14953 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14954 esac
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14963 conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_soname_save_LIBS
14966 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14967 { echo "$as_me:$LINENO: result: not found" >&5
14968 echo "${ECHO_T}not found" >&6; }
14970 else
14971 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14972 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14974 cat >>confdefs.h <<_ACEOF
14975 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14976 _ACEOF
14982 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14983 wine_notices="$wine_notices|OpenSSL development files not found.
14984 Wine will be built without SSL support. (wininet.dll)"
14988 if test "$ac_cv_header_jpeglib_h" = "yes"
14989 then
14990 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14991 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14992 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14995 ac_check_soname_save_LIBS=$LIBS
14996 LIBS="-ljpeg $LIBS"
14997 cat >conftest.$ac_ext <<_ACEOF
14998 /* confdefs.h. */
14999 _ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 #ifdef __cplusplus
15008 extern "C"
15009 #endif
15010 char jpeg_start_decompress ();
15012 main ()
15014 return jpeg_start_decompress ();
15016 return 0;
15018 _ACEOF
15019 rm -f conftest.$ac_objext conftest$ac_exeext
15020 if { (ac_try="$ac_link"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15024 esac
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_link") 2>conftest.er1
15027 ac_status=$?
15028 grep -v '^ *+' conftest.er1 >conftest.err
15029 rm -f conftest.er1
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest$ac_exeext &&
15036 $as_test_x conftest$ac_exeext; then
15037 case "$LIBEXT" in
15038 dll) ;;
15039 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'` ;;
15040 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15041 esac
15042 else
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_soname_save_LIBS
15053 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15054 { echo "$as_me:$LINENO: result: not found" >&5
15055 echo "${ECHO_T}not found" >&6; }
15057 else
15058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15059 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15061 cat >>confdefs.h <<_ACEOF
15062 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15063 _ACEOF
15069 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15070 wine_notices="$wine_notices|libjpeg development files not found.
15071 Wine will be built without JPEG support. (oleaut32.dll)"
15075 if test "$ac_cv_header_png_h" = "yes"
15076 then
15077 { echo "$as_me:$LINENO: checking for -lpng" >&5
15078 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15079 if test "${ac_cv_lib_soname_png+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 ac_check_soname_save_LIBS=$LIBS
15083 LIBS="-lpng $LIBS"
15084 cat >conftest.$ac_ext <<_ACEOF
15085 /* confdefs.h. */
15086 _ACEOF
15087 cat confdefs.h >>conftest.$ac_ext
15088 cat >>conftest.$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15091 /* Override any GCC internal prototype to avoid an error.
15092 Use char because int might match the return type of a GCC
15093 builtin and then its argument prototype would still apply. */
15094 #ifdef __cplusplus
15095 extern "C"
15096 #endif
15097 char png_create_read_struct ();
15099 main ()
15101 return png_create_read_struct ();
15103 return 0;
15105 _ACEOF
15106 rm -f conftest.$ac_objext conftest$ac_exeext
15107 if { (ac_try="$ac_link"
15108 case "(($ac_try" in
15109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15111 esac
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_link") 2>conftest.er1
15114 ac_status=$?
15115 grep -v '^ *+' conftest.er1 >conftest.err
15116 rm -f conftest.er1
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } && {
15120 test -z "$ac_c_werror_flag" ||
15121 test ! -s conftest.err
15122 } && test -s conftest$ac_exeext &&
15123 $as_test_x conftest$ac_exeext; then
15124 case "$LIBEXT" in
15125 dll) ;;
15126 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'` ;;
15127 *) 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'` ;;
15128 esac
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_soname_save_LIBS
15140 if test "x$ac_cv_lib_soname_png" = "x"; then
15141 { echo "$as_me:$LINENO: result: not found" >&5
15142 echo "${ECHO_T}not found" >&6; }
15144 else
15145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15146 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15148 cat >>confdefs.h <<_ACEOF
15149 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15150 _ACEOF
15156 if test "x$ac_cv_lib_soname_png" = "x"; then
15157 wine_notices="$wine_notices|libpng development files not found.
15158 Wine will be built without PNG support. (oleaut32.dll)"
15162 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15163 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15164 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15165 "$ac_cv_header_soundcard_h" != "yes"; then
15166 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15171 EXTRACFLAGS=""
15173 if test "x${GCC}" = "xyes"
15174 then
15175 EXTRACFLAGS="-Wall -pipe"
15177 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15178 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15179 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 else
15182 if test "$cross_compiling" = yes; then
15183 ac_cv_c_gcc_strength_bug="yes"
15184 else
15185 cat >conftest.$ac_ext <<_ACEOF
15186 /* confdefs.h. */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 int L[4] = {0,1,2,3};
15193 main ()
15195 static int Array[3];
15196 unsigned int B = 3;
15197 int i;
15198 for(i=0; i<B; i++) Array[i] = i - 3;
15199 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15200 L[i] = 4;
15201 exit( Array[1] != -2 || L[2] != 3)
15203 return 0;
15205 _ACEOF
15206 rm -f conftest$ac_exeext
15207 if { (ac_try="$ac_link"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15211 esac
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_link") 2>&5
15214 ac_status=$?
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15217 { (case "(($ac_try" in
15218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15219 *) ac_try_echo=$ac_try;;
15220 esac
15221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15222 (eval "$ac_try") 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_cv_c_gcc_strength_bug="no"
15227 else
15228 echo "$as_me: program exited with status $ac_status" >&5
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15232 ( exit $ac_status )
15233 ac_cv_c_gcc_strength_bug="yes"
15235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15240 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15241 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15242 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15243 then
15244 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15248 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15249 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15250 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253 ac_wine_try_cflags_saved=$CFLAGS
15254 CFLAGS="$CFLAGS -fshort-wchar"
15255 cat >conftest.$ac_ext <<_ACEOF
15256 /* confdefs.h. */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15263 main ()
15267 return 0;
15269 _ACEOF
15270 rm -f conftest.$ac_objext conftest$ac_exeext
15271 if { (ac_try="$ac_link"
15272 case "(($ac_try" in
15273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15274 *) ac_try_echo=$ac_try;;
15275 esac
15276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15277 (eval "$ac_link") 2>conftest.er1
15278 ac_status=$?
15279 grep -v '^ *+' conftest.er1 >conftest.err
15280 rm -f conftest.er1
15281 cat conftest.err >&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } && {
15284 test -z "$ac_c_werror_flag" ||
15285 test ! -s conftest.err
15286 } && test -s conftest$ac_exeext &&
15287 $as_test_x conftest$ac_exeext; then
15288 ac_cv_cflags__fshort_wchar=yes
15289 else
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15293 ac_cv_cflags__fshort_wchar=no
15296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15297 conftest$ac_exeext conftest.$ac_ext
15298 CFLAGS=$ac_wine_try_cflags_saved
15300 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15301 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15302 if test $ac_cv_cflags__fshort_wchar = yes; then
15304 cat >>confdefs.h <<\_ACEOF
15305 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15306 _ACEOF
15310 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15311 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15312 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15313 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 else
15315 ac_wine_try_cflags_saved=$CFLAGS
15316 CFLAGS="$CFLAGS -fno-strict-aliasing"
15317 cat >conftest.$ac_ext <<_ACEOF
15318 /* confdefs.h. */
15319 _ACEOF
15320 cat confdefs.h >>conftest.$ac_ext
15321 cat >>conftest.$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15325 main ()
15329 return 0;
15331 _ACEOF
15332 rm -f conftest.$ac_objext conftest$ac_exeext
15333 if { (ac_try="$ac_link"
15334 case "(($ac_try" in
15335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336 *) ac_try_echo=$ac_try;;
15337 esac
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339 (eval "$ac_link") 2>conftest.er1
15340 ac_status=$?
15341 grep -v '^ *+' conftest.er1 >conftest.err
15342 rm -f conftest.er1
15343 cat conftest.err >&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest$ac_exeext &&
15349 $as_test_x conftest$ac_exeext; then
15350 ac_cv_cflags__fno_strict_aliasing=yes
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15355 ac_cv_cflags__fno_strict_aliasing=no
15358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15359 conftest$ac_exeext conftest.$ac_ext
15360 CFLAGS=$ac_wine_try_cflags_saved
15362 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15363 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15364 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15365 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15368 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15369 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15370 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 else
15373 ac_wine_try_cflags_saved=$CFLAGS
15374 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15383 main ()
15387 return 0;
15389 _ACEOF
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>conftest.er1
15398 ac_status=$?
15399 grep -v '^ *+' conftest.er1 >conftest.err
15400 rm -f conftest.er1
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } && {
15404 test -z "$ac_c_werror_flag" ||
15405 test ! -s conftest.err
15406 } && test -s conftest$ac_exeext &&
15407 $as_test_x conftest$ac_exeext; then
15408 ac_cv_cflags__Wdeclaration_after_statement=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15413 ac_cv_cflags__Wdeclaration_after_statement=no
15416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15417 conftest$ac_exeext conftest.$ac_ext
15418 CFLAGS=$ac_wine_try_cflags_saved
15420 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15421 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15422 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15423 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15426 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15427 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15428 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15429 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 else
15431 ac_wine_try_cflags_saved=$CFLAGS
15432 CFLAGS="$CFLAGS -Wwrite-strings"
15433 cat >conftest.$ac_ext <<_ACEOF
15434 /* confdefs.h. */
15435 _ACEOF
15436 cat confdefs.h >>conftest.$ac_ext
15437 cat >>conftest.$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15441 main ()
15445 return 0;
15447 _ACEOF
15448 rm -f conftest.$ac_objext conftest$ac_exeext
15449 if { (ac_try="$ac_link"
15450 case "(($ac_try" in
15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15453 esac
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15456 ac_status=$?
15457 grep -v '^ *+' conftest.er1 >conftest.err
15458 rm -f conftest.er1
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15466 ac_cv_cflags__Wwrite_strings=yes
15467 else
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15471 ac_cv_cflags__Wwrite_strings=no
15474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15475 conftest$ac_exeext conftest.$ac_ext
15476 CFLAGS=$ac_wine_try_cflags_saved
15478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15479 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15480 if test $ac_cv_cflags__Wwrite_strings = yes; then
15481 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15485 saved_CFLAGS="$CFLAGS"
15486 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15487 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15488 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15489 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h. */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498 #include <string.h>
15500 main ()
15504 return 0;
15506 _ACEOF
15507 rm -f conftest.$ac_objext
15508 if { (ac_try="$ac_compile"
15509 case "(($ac_try" in
15510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15511 *) ac_try_echo=$ac_try;;
15512 esac
15513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15514 (eval "$ac_compile") 2>conftest.er1
15515 ac_status=$?
15516 grep -v '^ *+' conftest.er1 >conftest.err
15517 rm -f conftest.er1
15518 cat conftest.err >&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); } && {
15521 test -z "$ac_c_werror_flag" ||
15522 test ! -s conftest.err
15523 } && test -s conftest.$ac_objext; then
15524 ac_cv_c_string_h_warnings=no
15525 else
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15529 ac_cv_c_string_h_warnings=yes
15532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15534 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15535 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15536 CFLAGS="$saved_CFLAGS"
15537 if test "$ac_cv_c_string_h_warnings" = "no"
15538 then
15539 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15542 BUILTINFLAG=""
15544 saved_CFLAGS="$CFLAGS"
15545 CFLAGS="$CFLAGS -Werror"
15546 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15547 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15548 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15559 main ()
15561 int iswlower(unsigned short);
15563 return 0;
15565 _ACEOF
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_c_builtin_wchar_ctype=no
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15588 ac_cv_c_builtin_wchar_ctype=yes
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15593 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15594 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15595 CFLAGS="$saved_CFLAGS"
15596 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15597 then
15598 BUILTINFLAG="-fno-builtin"
15603 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15604 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15605 if test "${ac_cv_asm_func_def+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 else
15608 cat >conftest.$ac_ext <<_ACEOF
15609 /* confdefs.h. */
15610 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext
15612 cat >>conftest.$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15616 main ()
15618 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15620 return 0;
15622 _ACEOF
15623 rm -f conftest.$ac_objext conftest$ac_exeext
15624 if { (ac_try="$ac_link"
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_link") 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); } && {
15637 test -z "$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 } && test -s conftest$ac_exeext &&
15640 $as_test_x conftest$ac_exeext; then
15641 ac_cv_asm_func_def=".def"
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 cat >conftest.$ac_ext <<_ACEOF
15647 /* confdefs.h. */
15648 _ACEOF
15649 cat confdefs.h >>conftest.$ac_ext
15650 cat >>conftest.$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15654 main ()
15656 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15658 return 0;
15660 _ACEOF
15661 rm -f conftest.$ac_objext conftest$ac_exeext
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15666 esac
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>conftest.er1
15669 ac_status=$?
15670 grep -v '^ *+' conftest.er1 >conftest.err
15671 rm -f conftest.er1
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } && {
15675 test -z "$ac_c_werror_flag" ||
15676 test ! -s conftest.err
15677 } && test -s conftest$ac_exeext &&
15678 $as_test_x conftest$ac_exeext; then
15679 ac_cv_asm_func_def=".type @function"
15680 else
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15692 main ()
15694 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15696 return 0;
15698 _ACEOF
15699 rm -f conftest.$ac_objext conftest$ac_exeext
15700 if { (ac_try="$ac_link"
15701 case "(($ac_try" in
15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15703 *) ac_try_echo=$ac_try;;
15704 esac
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15706 (eval "$ac_link") 2>conftest.er1
15707 ac_status=$?
15708 grep -v '^ *+' conftest.er1 >conftest.err
15709 rm -f conftest.er1
15710 cat conftest.err >&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } && {
15713 test -z "$ac_c_werror_flag" ||
15714 test ! -s conftest.err
15715 } && test -s conftest$ac_exeext &&
15716 $as_test_x conftest$ac_exeext; then
15717 ac_cv_asm_func_def=".type 2"
15718 else
15719 echo "$as_me: failed program was:" >&5
15720 sed 's/^/| /' conftest.$ac_ext >&5
15722 ac_cv_asm_func_def="unknown"
15725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15726 conftest$ac_exeext conftest.$ac_ext
15729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15730 conftest$ac_exeext conftest.$ac_ext
15733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15734 conftest$ac_exeext conftest.$ac_ext
15736 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15737 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15741 case "$ac_cv_asm_func_def" in
15742 ".def")
15743 cat >>confdefs.h <<\_ACEOF
15744 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15745 _ACEOF
15747 ".type @function")
15748 cat >>confdefs.h <<\_ACEOF
15749 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15750 _ACEOF
15752 ".type 2")
15753 cat >>confdefs.h <<\_ACEOF
15754 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15755 _ACEOF
15758 cat >>confdefs.h <<\_ACEOF
15759 #define __ASM_FUNC(name) ""
15760 _ACEOF
15762 esac
15765 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15766 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15767 if test "${ac_cv_c_extern_prefix+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 else
15770 cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h. */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15776 extern int ac_test;
15778 main ()
15780 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15782 return 0;
15784 _ACEOF
15785 rm -f conftest.$ac_objext conftest$ac_exeext
15786 if { (ac_try="$ac_link"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15790 esac
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_link") 2>conftest.er1
15793 ac_status=$?
15794 grep -v '^ *+' conftest.er1 >conftest.err
15795 rm -f conftest.er1
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_c_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest$ac_exeext &&
15802 $as_test_x conftest$ac_exeext; then
15803 ac_cv_c_extern_prefix="yes"
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15808 ac_cv_c_extern_prefix="no"
15811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15812 conftest$ac_exeext conftest.$ac_ext
15814 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15815 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15819 if test "$ac_cv_c_extern_prefix" = "yes"
15820 then
15821 cat >>confdefs.h <<\_ACEOF
15822 #define __ASM_NAME(name) "_" name
15823 _ACEOF
15825 else
15826 cat >>confdefs.h <<\_ACEOF
15827 #define __ASM_NAME(name) name
15828 _ACEOF
15833 LDPATH=""
15835 case $build_os in
15836 cygwin*|mingw32*)
15837 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15839 darwin*|macosx*)
15841 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15842 then
15843 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15847 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15849 esac
15851 case $host_os in
15852 mingw32*)
15853 CRTLIBS="-lmsvcrt"
15855 SOCKETLIBS="-lws2_32"
15858 esac
15860 MAIN_BINARY="wine-pthread"
15861 case $host_cpu in
15862 *i[3456789]86*)
15863 case $host_os in
15864 linux* | k*bsd*-gnu)
15865 MAIN_BINARY="wine-glibc"
15867 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15869 freebsd*)
15870 MAIN_BINARY="wine-freebsd"
15872 EXTRA_BINARIES="wine-pthread"
15874 esac
15876 esac
15943 for ac_func in \
15944 _pclose \
15945 _popen \
15946 _snprintf \
15947 _spawnvp \
15948 _strdup \
15949 _stricmp \
15950 _strnicmp \
15951 _vsnprintf \
15952 asctime_r \
15953 chsize \
15954 clone \
15955 dlopen \
15956 epoll_create \
15957 ffs \
15958 finite \
15959 fork \
15960 fpclass \
15961 fstatfs \
15962 fstatvfs \
15963 ftruncate \
15964 futimes \
15965 futimesat \
15966 getdirentries \
15967 getopt_long \
15968 getpagesize \
15969 getpwuid \
15970 gettid \
15971 gettimeofday \
15972 getuid \
15973 inet_pton \
15974 kqueue \
15975 lstat \
15976 memmove \
15977 mmap \
15978 pclose \
15979 poll \
15980 popen \
15981 prctl \
15982 pread \
15983 pwrite \
15984 readlink \
15985 rfork \
15986 sched_yield \
15987 select \
15988 setrlimit \
15989 settimeofday \
15990 sigaltstack \
15991 sigprocmask \
15992 snprintf \
15993 spawnvp \
15994 statfs \
15995 statvfs \
15996 strcasecmp \
15997 strdup \
15998 strerror \
15999 strncasecmp \
16000 strtold \
16001 tcgetattr \
16002 thr_kill2 \
16003 timegm \
16004 usleep \
16005 vsnprintf \
16006 wait4 \
16007 waitpid \
16010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 cat >conftest.$ac_ext <<_ACEOF
16017 /* confdefs.h. */
16018 _ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16024 #define $ac_func innocuous_$ac_func
16026 /* System header to define __stub macros and hopefully few prototypes,
16027 which can conflict with char $ac_func (); below.
16028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16029 <limits.h> exists even on freestanding compilers. */
16031 #ifdef __STDC__
16032 # include <limits.h>
16033 #else
16034 # include <assert.h>
16035 #endif
16037 #undef $ac_func
16039 /* Override any GCC internal prototype to avoid an error.
16040 Use char because int might match the return type of a GCC
16041 builtin and then its argument prototype would still apply. */
16042 #ifdef __cplusplus
16043 extern "C"
16044 #endif
16045 char $ac_func ();
16046 /* The GNU C library defines this for functions which it implements
16047 to always fail with ENOSYS. Some functions are actually named
16048 something starting with __ and the normal name is an alias. */
16049 #if defined __stub_$ac_func || defined __stub___$ac_func
16050 choke me
16051 #endif
16054 main ()
16056 return $ac_func ();
16058 return 0;
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (ac_try="$ac_link"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16066 esac
16067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16068 (eval "$ac_link") 2>conftest.er1
16069 ac_status=$?
16070 grep -v '^ *+' conftest.er1 >conftest.err
16071 rm -f conftest.er1
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } && {
16075 test -z "$ac_c_werror_flag" ||
16076 test ! -s conftest.err
16077 } && test -s conftest$ac_exeext &&
16078 $as_test_x conftest$ac_exeext; then
16079 eval "$as_ac_var=yes"
16080 else
16081 echo "$as_me: failed program was:" >&5
16082 sed 's/^/| /' conftest.$ac_ext >&5
16084 eval "$as_ac_var=no"
16087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16088 conftest$ac_exeext conftest.$ac_ext
16090 ac_res=`eval echo '${'$as_ac_var'}'`
16091 { echo "$as_me:$LINENO: result: $ac_res" >&5
16092 echo "${ECHO_T}$ac_res" >&6; }
16093 if test `eval echo '${'$as_ac_var'}'` = yes; then
16094 cat >>confdefs.h <<_ACEOF
16095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16096 _ACEOF
16099 done
16102 if test "$ac_cv_func_dlopen" = no
16103 then
16104 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16105 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 ac_check_lib_save_LIBS=$LIBS
16110 LIBS="-ldl $LIBS"
16111 cat >conftest.$ac_ext <<_ACEOF
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16118 /* Override any GCC internal prototype to avoid an error.
16119 Use char because int might match the return type of a GCC
16120 builtin and then its argument prototype would still apply. */
16121 #ifdef __cplusplus
16122 extern "C"
16123 #endif
16124 char dlopen ();
16126 main ()
16128 return dlopen ();
16130 return 0;
16132 _ACEOF
16133 rm -f conftest.$ac_objext conftest$ac_exeext
16134 if { (ac_try="$ac_link"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_link") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest$ac_exeext &&
16150 $as_test_x conftest$ac_exeext; then
16151 ac_cv_lib_dl_dlopen=yes
16152 else
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16156 ac_cv_lib_dl_dlopen=no
16159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16160 conftest$ac_exeext conftest.$ac_ext
16161 LIBS=$ac_check_lib_save_LIBS
16163 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16164 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16165 if test $ac_cv_lib_dl_dlopen = yes; then
16166 cat >>confdefs.h <<\_ACEOF
16167 #define HAVE_DLOPEN 1
16168 _ACEOF
16169 LIBDL="-ldl"
16174 ac_wine_check_funcs_save_LIBS="$LIBS"
16175 LIBS="$LIBS $LIBDL"
16177 for ac_func in dladdr
16179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 else
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h. */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16193 #define $ac_func innocuous_$ac_func
16195 /* System header to define __stub macros and hopefully few prototypes,
16196 which can conflict with char $ac_func (); below.
16197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16198 <limits.h> exists even on freestanding compilers. */
16200 #ifdef __STDC__
16201 # include <limits.h>
16202 #else
16203 # include <assert.h>
16204 #endif
16206 #undef $ac_func
16208 /* Override any GCC internal prototype to avoid an error.
16209 Use char because int might match the return type of a GCC
16210 builtin and then its argument prototype would still apply. */
16211 #ifdef __cplusplus
16212 extern "C"
16213 #endif
16214 char $ac_func ();
16215 /* The GNU C library defines this for functions which it implements
16216 to always fail with ENOSYS. Some functions are actually named
16217 something starting with __ and the normal name is an alias. */
16218 #if defined __stub_$ac_func || defined __stub___$ac_func
16219 choke me
16220 #endif
16223 main ()
16225 return $ac_func ();
16227 return 0;
16229 _ACEOF
16230 rm -f conftest.$ac_objext conftest$ac_exeext
16231 if { (ac_try="$ac_link"
16232 case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16235 esac
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_link") 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest$ac_exeext &&
16247 $as_test_x conftest$ac_exeext; then
16248 eval "$as_ac_var=yes"
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 eval "$as_ac_var=no"
16256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16257 conftest$ac_exeext conftest.$ac_ext
16259 ac_res=`eval echo '${'$as_ac_var'}'`
16260 { echo "$as_me:$LINENO: result: $ac_res" >&5
16261 echo "${ECHO_T}$ac_res" >&6; }
16262 if test `eval echo '${'$as_ac_var'}'` = yes; then
16263 cat >>confdefs.h <<_ACEOF
16264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16265 _ACEOF
16268 done
16270 LIBS="$ac_wine_check_funcs_save_LIBS"
16272 if test "$ac_cv_func_poll" = no
16273 then
16274 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16275 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16276 if test "${ac_cv_lib_poll_poll+set}" = set; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 else
16279 ac_check_lib_save_LIBS=$LIBS
16280 LIBS="-lpoll $LIBS"
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 #ifdef __cplusplus
16292 extern "C"
16293 #endif
16294 char poll ();
16296 main ()
16298 return poll ();
16300 return 0;
16302 _ACEOF
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (ac_try="$ac_link"
16305 case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16308 esac
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16311 ac_status=$?
16312 grep -v '^ *+' conftest.er1 >conftest.err
16313 rm -f conftest.er1
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_lib_poll_poll=yes
16322 else
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16326 ac_cv_lib_poll_poll=no
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16330 conftest$ac_exeext conftest.$ac_ext
16331 LIBS=$ac_check_lib_save_LIBS
16333 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16334 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16335 if test $ac_cv_lib_poll_poll = yes; then
16336 cat >>confdefs.h <<\_ACEOF
16337 #define HAVE_POLL 1
16338 _ACEOF
16339 LIBPOLL="-lpoll"
16345 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16346 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16347 if test "${ac_cv_search_gethostbyname+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 ac_func_search_save_LIBS=$LIBS
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 #ifdef __cplusplus
16362 extern "C"
16363 #endif
16364 char gethostbyname ();
16366 main ()
16368 return gethostbyname ();
16370 return 0;
16372 _ACEOF
16373 for ac_lib in '' nsl; do
16374 if test -z "$ac_lib"; then
16375 ac_res="none required"
16376 else
16377 ac_res=-l$ac_lib
16378 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (ac_try="$ac_link"
16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16385 esac
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_link") 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest$ac_exeext &&
16397 $as_test_x conftest$ac_exeext; then
16398 ac_cv_search_gethostbyname=$ac_res
16399 else
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16407 conftest$ac_exeext
16408 if test "${ac_cv_search_gethostbyname+set}" = set; then
16409 break
16411 done
16412 if test "${ac_cv_search_gethostbyname+set}" = set; then
16414 else
16415 ac_cv_search_gethostbyname=no
16417 rm conftest.$ac_ext
16418 LIBS=$ac_func_search_save_LIBS
16420 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16421 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16422 ac_res=$ac_cv_search_gethostbyname
16423 if test "$ac_res" != no; then
16424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16429 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16430 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16431 if test "${ac_cv_search_connect+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434 ac_func_search_save_LIBS=$LIBS
16435 cat >conftest.$ac_ext <<_ACEOF
16436 /* confdefs.h. */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16445 #ifdef __cplusplus
16446 extern "C"
16447 #endif
16448 char connect ();
16450 main ()
16452 return connect ();
16454 return 0;
16456 _ACEOF
16457 for ac_lib in '' socket; do
16458 if test -z "$ac_lib"; then
16459 ac_res="none required"
16460 else
16461 ac_res=-l$ac_lib
16462 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16464 rm -f conftest.$ac_objext conftest$ac_exeext
16465 if { (ac_try="$ac_link"
16466 case "(($ac_try" in
16467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16469 esac
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_link") 2>conftest.er1
16472 ac_status=$?
16473 grep -v '^ *+' conftest.er1 >conftest.err
16474 rm -f conftest.er1
16475 cat conftest.err >&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } && {
16478 test -z "$ac_c_werror_flag" ||
16479 test ! -s conftest.err
16480 } && test -s conftest$ac_exeext &&
16481 $as_test_x conftest$ac_exeext; then
16482 ac_cv_search_connect=$ac_res
16483 else
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.$ac_ext >&5
16490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16491 conftest$ac_exeext
16492 if test "${ac_cv_search_connect+set}" = set; then
16493 break
16495 done
16496 if test "${ac_cv_search_connect+set}" = set; then
16498 else
16499 ac_cv_search_connect=no
16501 rm conftest.$ac_ext
16502 LIBS=$ac_func_search_save_LIBS
16504 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16505 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16506 ac_res=$ac_cv_search_connect
16507 if test "$ac_res" != no; then
16508 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16513 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16514 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16515 if test "${ac_cv_search_inet_aton+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 else
16518 ac_func_search_save_LIBS=$LIBS
16519 cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16529 #ifdef __cplusplus
16530 extern "C"
16531 #endif
16532 char inet_aton ();
16534 main ()
16536 return inet_aton ();
16538 return 0;
16540 _ACEOF
16541 for ac_lib in '' resolv; do
16542 if test -z "$ac_lib"; then
16543 ac_res="none required"
16544 else
16545 ac_res=-l$ac_lib
16546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16548 rm -f conftest.$ac_objext conftest$ac_exeext
16549 if { (ac_try="$ac_link"
16550 case "(($ac_try" in
16551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16552 *) ac_try_echo=$ac_try;;
16553 esac
16554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16555 (eval "$ac_link") 2>conftest.er1
16556 ac_status=$?
16557 grep -v '^ *+' conftest.er1 >conftest.err
16558 rm -f conftest.er1
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } && {
16562 test -z "$ac_c_werror_flag" ||
16563 test ! -s conftest.err
16564 } && test -s conftest$ac_exeext &&
16565 $as_test_x conftest$ac_exeext; then
16566 ac_cv_search_inet_aton=$ac_res
16567 else
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16575 conftest$ac_exeext
16576 if test "${ac_cv_search_inet_aton+set}" = set; then
16577 break
16579 done
16580 if test "${ac_cv_search_inet_aton+set}" = set; then
16582 else
16583 ac_cv_search_inet_aton=no
16585 rm conftest.$ac_ext
16586 LIBS=$ac_func_search_save_LIBS
16588 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16589 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16590 ac_res=$ac_cv_search_inet_aton
16591 if test "$ac_res" != no; then
16592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16605 for ac_func in \
16606 getaddrinfo \
16607 getnameinfo \
16608 getnetbyname \
16609 getprotobyname \
16610 getprotobynumber \
16611 getservbyport \
16612 inet_network \
16613 sendmsg \
16616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 else
16622 cat >conftest.$ac_ext <<_ACEOF
16623 /* confdefs.h. */
16624 _ACEOF
16625 cat confdefs.h >>conftest.$ac_ext
16626 cat >>conftest.$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16630 #define $ac_func innocuous_$ac_func
16632 /* System header to define __stub macros and hopefully few prototypes,
16633 which can conflict with char $ac_func (); below.
16634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16635 <limits.h> exists even on freestanding compilers. */
16637 #ifdef __STDC__
16638 # include <limits.h>
16639 #else
16640 # include <assert.h>
16641 #endif
16643 #undef $ac_func
16645 /* Override any GCC internal prototype to avoid an error.
16646 Use char because int might match the return type of a GCC
16647 builtin and then its argument prototype would still apply. */
16648 #ifdef __cplusplus
16649 extern "C"
16650 #endif
16651 char $ac_func ();
16652 /* The GNU C library defines this for functions which it implements
16653 to always fail with ENOSYS. Some functions are actually named
16654 something starting with __ and the normal name is an alias. */
16655 #if defined __stub_$ac_func || defined __stub___$ac_func
16656 choke me
16657 #endif
16660 main ()
16662 return $ac_func ();
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest$ac_exeext &&
16684 $as_test_x conftest$ac_exeext; then
16685 eval "$as_ac_var=yes"
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16690 eval "$as_ac_var=no"
16693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16694 conftest$ac_exeext conftest.$ac_ext
16696 ac_res=`eval echo '${'$as_ac_var'}'`
16697 { echo "$as_me:$LINENO: result: $ac_res" >&5
16698 echo "${ECHO_T}$ac_res" >&6; }
16699 if test `eval echo '${'$as_ac_var'}'` = yes; then
16700 cat >>confdefs.h <<_ACEOF
16701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16702 _ACEOF
16705 done
16709 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16711 if test "${ac_cv_c_const+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h. */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16722 main ()
16724 /* FIXME: Include the comments suggested by Paul. */
16725 #ifndef __cplusplus
16726 /* Ultrix mips cc rejects this. */
16727 typedef int charset[2];
16728 const charset cs;
16729 /* SunOS 4.1.1 cc rejects this. */
16730 char const *const *pcpcc;
16731 char **ppc;
16732 /* NEC SVR4.0.2 mips cc rejects this. */
16733 struct point {int x, y;};
16734 static struct point const zero = {0,0};
16735 /* AIX XL C 1.02.0.0 rejects this.
16736 It does not let you subtract one const X* pointer from another in
16737 an arm of an if-expression whose if-part is not a constant
16738 expression */
16739 const char *g = "string";
16740 pcpcc = &g + (g ? g-g : 0);
16741 /* HPUX 7.0 cc rejects these. */
16742 ++pcpcc;
16743 ppc = (char**) pcpcc;
16744 pcpcc = (char const *const *) ppc;
16745 { /* SCO 3.2v4 cc rejects this. */
16746 char *t;
16747 char const *s = 0 ? (char *) 0 : (char const *) 0;
16749 *t++ = 0;
16750 if (s) return 0;
16752 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16753 int x[] = {25, 17};
16754 const int *foo = &x[0];
16755 ++foo;
16757 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16758 typedef const int *iptr;
16759 iptr p = 0;
16760 ++p;
16762 { /* AIX XL C 1.02.0.0 rejects this saying
16763 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16764 struct s { int j; const int *ap[3]; };
16765 struct s *b; b->j = 5;
16767 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16768 const int foo = 10;
16769 if (!foo) return 0;
16771 return !cs[0] && !zero.x;
16772 #endif
16775 return 0;
16777 _ACEOF
16778 rm -f conftest.$ac_objext
16779 if { (ac_try="$ac_compile"
16780 case "(($ac_try" in
16781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782 *) ac_try_echo=$ac_try;;
16783 esac
16784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16785 (eval "$ac_compile") 2>conftest.er1
16786 ac_status=$?
16787 grep -v '^ *+' conftest.er1 >conftest.err
16788 rm -f conftest.er1
16789 cat conftest.err >&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } && {
16792 test -z "$ac_c_werror_flag" ||
16793 test ! -s conftest.err
16794 } && test -s conftest.$ac_objext; then
16795 ac_cv_c_const=yes
16796 else
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16800 ac_cv_c_const=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16806 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16807 if test $ac_cv_c_const = no; then
16809 cat >>confdefs.h <<\_ACEOF
16810 #define const
16811 _ACEOF
16815 { echo "$as_me:$LINENO: checking for inline" >&5
16816 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16817 if test "${ac_cv_c_inline+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 else
16820 ac_cv_c_inline=no
16821 for ac_kw in inline __inline__ __inline; do
16822 cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h. */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 #ifndef __cplusplus
16829 typedef int foo_t;
16830 static $ac_kw foo_t static_foo () {return 0; }
16831 $ac_kw foo_t foo () {return 0; }
16832 #endif
16834 _ACEOF
16835 rm -f conftest.$ac_objext
16836 if { (ac_try="$ac_compile"
16837 case "(($ac_try" in
16838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16839 *) ac_try_echo=$ac_try;;
16840 esac
16841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16842 (eval "$ac_compile") 2>conftest.er1
16843 ac_status=$?
16844 grep -v '^ *+' conftest.er1 >conftest.err
16845 rm -f conftest.er1
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } && {
16849 test -z "$ac_c_werror_flag" ||
16850 test ! -s conftest.err
16851 } && test -s conftest.$ac_objext; then
16852 ac_cv_c_inline=$ac_kw
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16861 test "$ac_cv_c_inline" != no && break
16862 done
16865 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16866 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16869 case $ac_cv_c_inline in
16870 inline | yes) ;;
16872 case $ac_cv_c_inline in
16873 no) ac_val=;;
16874 *) ac_val=$ac_cv_c_inline;;
16875 esac
16876 cat >>confdefs.h <<_ACEOF
16877 #ifndef __cplusplus
16878 #define inline $ac_val
16879 #endif
16880 _ACEOF
16882 esac
16884 { echo "$as_me:$LINENO: checking for mode_t" >&5
16885 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16886 if test "${ac_cv_type_mode_t+set}" = set; then
16887 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 else
16889 cat >conftest.$ac_ext <<_ACEOF
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 typedef mode_t ac__type_new_;
16898 main ()
16900 if ((ac__type_new_ *) 0)
16901 return 0;
16902 if (sizeof (ac__type_new_))
16903 return 0;
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext
16909 if { (ac_try="$ac_compile"
16910 case "(($ac_try" in
16911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16912 *) ac_try_echo=$ac_try;;
16913 esac
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_compile") 2>conftest.er1
16916 ac_status=$?
16917 grep -v '^ *+' conftest.er1 >conftest.err
16918 rm -f conftest.er1
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } && {
16922 test -z "$ac_c_werror_flag" ||
16923 test ! -s conftest.err
16924 } && test -s conftest.$ac_objext; then
16925 ac_cv_type_mode_t=yes
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 ac_cv_type_mode_t=no
16933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16936 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16937 if test $ac_cv_type_mode_t = yes; then
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_MODE_T 1
16941 _ACEOF
16945 { echo "$as_me:$LINENO: checking for off_t" >&5
16946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16947 if test "${ac_cv_type_off_t+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 else
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 $ac_includes_default
16957 typedef off_t ac__type_new_;
16959 main ()
16961 if ((ac__type_new_ *) 0)
16962 return 0;
16963 if (sizeof (ac__type_new_))
16964 return 0;
16966 return 0;
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (ac_try="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 ac_cv_type_off_t=yes
16987 else
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16991 ac_cv_type_off_t=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16997 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16998 if test $ac_cv_type_off_t = yes; then
17000 cat >>confdefs.h <<_ACEOF
17001 #define HAVE_OFF_T 1
17002 _ACEOF
17006 { echo "$as_me:$LINENO: checking for pid_t" >&5
17007 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17008 if test "${ac_cv_type_pid_t+set}" = set; then
17009 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17018 typedef pid_t ac__type_new_;
17020 main ()
17022 if ((ac__type_new_ *) 0)
17023 return 0;
17024 if (sizeof (ac__type_new_))
17025 return 0;
17027 return 0;
17029 _ACEOF
17030 rm -f conftest.$ac_objext
17031 if { (ac_try="$ac_compile"
17032 case "(($ac_try" in
17033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17034 *) ac_try_echo=$ac_try;;
17035 esac
17036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17037 (eval "$ac_compile") 2>conftest.er1
17038 ac_status=$?
17039 grep -v '^ *+' conftest.er1 >conftest.err
17040 rm -f conftest.er1
17041 cat conftest.err >&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } && {
17044 test -z "$ac_c_werror_flag" ||
17045 test ! -s conftest.err
17046 } && test -s conftest.$ac_objext; then
17047 ac_cv_type_pid_t=yes
17048 else
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.$ac_ext >&5
17052 ac_cv_type_pid_t=no
17055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17058 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17059 if test $ac_cv_type_pid_t = yes; then
17061 cat >>confdefs.h <<_ACEOF
17062 #define HAVE_PID_T 1
17063 _ACEOF
17067 { echo "$as_me:$LINENO: checking for size_t" >&5
17068 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17069 if test "${ac_cv_type_size_t+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 else
17072 cat >conftest.$ac_ext <<_ACEOF
17073 /* confdefs.h. */
17074 _ACEOF
17075 cat confdefs.h >>conftest.$ac_ext
17076 cat >>conftest.$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17078 $ac_includes_default
17079 typedef size_t ac__type_new_;
17081 main ()
17083 if ((ac__type_new_ *) 0)
17084 return 0;
17085 if (sizeof (ac__type_new_))
17086 return 0;
17088 return 0;
17090 _ACEOF
17091 rm -f conftest.$ac_objext
17092 if { (ac_try="$ac_compile"
17093 case "(($ac_try" in
17094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17095 *) ac_try_echo=$ac_try;;
17096 esac
17097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098 (eval "$ac_compile") 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } && {
17105 test -z "$ac_c_werror_flag" ||
17106 test ! -s conftest.err
17107 } && test -s conftest.$ac_objext; then
17108 ac_cv_type_size_t=yes
17109 else
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17113 ac_cv_type_size_t=no
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17118 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17119 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17120 if test $ac_cv_type_size_t = yes; then
17122 cat >>confdefs.h <<_ACEOF
17123 #define HAVE_SIZE_T 1
17124 _ACEOF
17128 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17129 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17130 if test "${ac_cv_type_ssize_t+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 cat >conftest.$ac_ext <<_ACEOF
17134 /* confdefs.h. */
17135 _ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139 $ac_includes_default
17140 typedef ssize_t ac__type_new_;
17142 main ()
17144 if ((ac__type_new_ *) 0)
17145 return 0;
17146 if (sizeof (ac__type_new_))
17147 return 0;
17149 return 0;
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17169 ac_cv_type_ssize_t=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_type_ssize_t=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17180 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17181 if test $ac_cv_type_ssize_t = yes; then
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_SSIZE_T 1
17185 _ACEOF
17189 { echo "$as_me:$LINENO: checking for long long" >&5
17190 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17191 if test "${ac_cv_type_long_long+set}" = set; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 else
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 $ac_includes_default
17201 typedef long long ac__type_new_;
17203 main ()
17205 if ((ac__type_new_ *) 0)
17206 return 0;
17207 if (sizeof (ac__type_new_))
17208 return 0;
17210 return 0;
17212 _ACEOF
17213 rm -f conftest.$ac_objext
17214 if { (ac_try="$ac_compile"
17215 case "(($ac_try" in
17216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17217 *) ac_try_echo=$ac_try;;
17218 esac
17219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17220 (eval "$ac_compile") 2>conftest.er1
17221 ac_status=$?
17222 grep -v '^ *+' conftest.er1 >conftest.err
17223 rm -f conftest.er1
17224 cat conftest.err >&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } && {
17227 test -z "$ac_c_werror_flag" ||
17228 test ! -s conftest.err
17229 } && test -s conftest.$ac_objext; then
17230 ac_cv_type_long_long=yes
17231 else
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.$ac_ext >&5
17235 ac_cv_type_long_long=no
17238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17240 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17241 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17242 if test $ac_cv_type_long_long = yes; then
17244 cat >>confdefs.h <<_ACEOF
17245 #define HAVE_LONG_LONG 1
17246 _ACEOF
17250 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17251 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17252 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 else
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17262 typedef fsblkcnt_t ac__type_new_;
17264 main ()
17266 if ((ac__type_new_ *) 0)
17267 return 0;
17268 if (sizeof (ac__type_new_))
17269 return 0;
17271 return 0;
17273 _ACEOF
17274 rm -f conftest.$ac_objext
17275 if { (ac_try="$ac_compile"
17276 case "(($ac_try" in
17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278 *) ac_try_echo=$ac_try;;
17279 esac
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281 (eval "$ac_compile") 2>conftest.er1
17282 ac_status=$?
17283 grep -v '^ *+' conftest.er1 >conftest.err
17284 rm -f conftest.er1
17285 cat conftest.err >&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } && {
17288 test -z "$ac_c_werror_flag" ||
17289 test ! -s conftest.err
17290 } && test -s conftest.$ac_objext; then
17291 ac_cv_type_fsblkcnt_t=yes
17292 else
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.$ac_ext >&5
17296 ac_cv_type_fsblkcnt_t=no
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17301 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17302 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17303 if test $ac_cv_type_fsblkcnt_t = yes; then
17305 cat >>confdefs.h <<_ACEOF
17306 #define HAVE_FSBLKCNT_T 1
17307 _ACEOF
17311 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17312 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17313 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17315 else
17316 cat >conftest.$ac_ext <<_ACEOF
17317 /* confdefs.h. */
17318 _ACEOF
17319 cat confdefs.h >>conftest.$ac_ext
17320 cat >>conftest.$ac_ext <<_ACEOF
17321 /* end confdefs.h. */
17322 $ac_includes_default
17323 typedef fsfilcnt_t ac__type_new_;
17325 main ()
17327 if ((ac__type_new_ *) 0)
17328 return 0;
17329 if (sizeof (ac__type_new_))
17330 return 0;
17332 return 0;
17334 _ACEOF
17335 rm -f conftest.$ac_objext
17336 if { (ac_try="$ac_compile"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17340 esac
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_compile") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest.$ac_objext; then
17352 ac_cv_type_fsfilcnt_t=yes
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 ac_cv_type_fsfilcnt_t=no
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17363 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17364 if test $ac_cv_type_fsfilcnt_t = yes; then
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_FSFILCNT_T 1
17368 _ACEOF
17373 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17374 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17375 if test "${ac_cv_type_sigset_t+set}" = set; then
17376 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 else
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 #include <signal.h>
17386 typedef sigset_t ac__type_new_;
17388 main ()
17390 if ((ac__type_new_ *) 0)
17391 return 0;
17392 if (sizeof (ac__type_new_))
17393 return 0;
17395 return 0;
17397 _ACEOF
17398 rm -f conftest.$ac_objext
17399 if { (ac_try="$ac_compile"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17403 esac
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_compile") 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_c_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest.$ac_objext; then
17415 ac_cv_type_sigset_t=yes
17416 else
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.$ac_ext >&5
17420 ac_cv_type_sigset_t=no
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17425 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17426 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17427 if test $ac_cv_type_sigset_t = yes; then
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_SIGSET_T 1
17431 _ACEOF
17436 { echo "$as_me:$LINENO: checking for request_sense" >&5
17437 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17438 if test "${ac_cv_type_request_sense+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 else
17441 cat >conftest.$ac_ext <<_ACEOF
17442 /* confdefs.h. */
17443 _ACEOF
17444 cat confdefs.h >>conftest.$ac_ext
17445 cat >>conftest.$ac_ext <<_ACEOF
17446 /* end confdefs.h. */
17447 #include <linux/cdrom.h>
17449 typedef request_sense ac__type_new_;
17451 main ()
17453 if ((ac__type_new_ *) 0)
17454 return 0;
17455 if (sizeof (ac__type_new_))
17456 return 0;
17458 return 0;
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (ac_try="$ac_compile"
17463 case "(($ac_try" in
17464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17465 *) ac_try_echo=$ac_try;;
17466 esac
17467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17468 (eval "$ac_compile") 2>conftest.er1
17469 ac_status=$?
17470 grep -v '^ *+' conftest.er1 >conftest.err
17471 rm -f conftest.er1
17472 cat conftest.err >&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } && {
17475 test -z "$ac_c_werror_flag" ||
17476 test ! -s conftest.err
17477 } && test -s conftest.$ac_objext; then
17478 ac_cv_type_request_sense=yes
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 ac_cv_type_request_sense=no
17486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17488 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17489 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17490 if test $ac_cv_type_request_sense = yes; then
17492 cat >>confdefs.h <<_ACEOF
17493 #define HAVE_REQUEST_SENSE 1
17494 _ACEOF
17500 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17501 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17502 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511 #ifdef HAVE_LINUX_INPUT_H
17512 #include <linux/input.h>
17513 #endif
17516 main ()
17518 static struct ff_effect ac_aggr;
17519 if (ac_aggr.direction)
17520 return 0;
17522 return 0;
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (ac_try="$ac_compile"
17527 case "(($ac_try" in
17528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17529 *) ac_try_echo=$ac_try;;
17530 esac
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_compile") 2>conftest.er1
17533 ac_status=$?
17534 grep -v '^ *+' conftest.er1 >conftest.err
17535 rm -f conftest.er1
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } && {
17539 test -z "$ac_c_werror_flag" ||
17540 test ! -s conftest.err
17541 } && test -s conftest.$ac_objext; then
17542 ac_cv_member_struct_ff_effect_direction=yes
17543 else
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.$ac_ext >&5
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 #ifdef HAVE_LINUX_INPUT_H
17554 #include <linux/input.h>
17555 #endif
17558 main ()
17560 static struct ff_effect ac_aggr;
17561 if (sizeof ac_aggr.direction)
17562 return 0;
17564 return 0;
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17572 esac
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17575 ac_status=$?
17576 grep -v '^ *+' conftest.er1 >conftest.err
17577 rm -f conftest.er1
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_c_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 ac_cv_member_struct_ff_effect_direction=yes
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 ac_cv_member_struct_ff_effect_direction=no
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17598 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17599 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17601 cat >>confdefs.h <<_ACEOF
17602 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17603 _ACEOF
17609 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17610 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17611 if test "${wine_cv_have_sigaddset+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 else
17614 cat >conftest.$ac_ext <<_ACEOF
17615 /* confdefs.h. */
17616 _ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 #include <signal.h>
17622 main ()
17624 sigset_t set; sigaddset(&set,SIGTERM);
17626 return 0;
17628 _ACEOF
17629 rm -f conftest.$ac_objext conftest$ac_exeext
17630 if { (ac_try="$ac_link"
17631 case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17634 esac
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_link") 2>conftest.er1
17637 ac_status=$?
17638 grep -v '^ *+' conftest.er1 >conftest.err
17639 rm -f conftest.er1
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && {
17643 test -z "$ac_c_werror_flag" ||
17644 test ! -s conftest.err
17645 } && test -s conftest$ac_exeext &&
17646 $as_test_x conftest$ac_exeext; then
17647 wine_cv_have_sigaddset=yes
17648 else
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17652 wine_cv_have_sigaddset=no
17655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17656 conftest$ac_exeext conftest.$ac_ext
17658 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17659 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17660 if test "$wine_cv_have_sigaddset" = "yes"
17661 then
17663 cat >>confdefs.h <<\_ACEOF
17664 #define HAVE_SIGADDSET 1
17665 _ACEOF
17670 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17671 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17672 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17673 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 else
17675 cat >conftest.$ac_ext <<_ACEOF
17676 /* confdefs.h. */
17677 _ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 #include <netdb.h>
17683 main ()
17686 char *name=NULL;
17687 struct hostent he;
17688 struct hostent *result;
17689 char *buf=NULL;
17690 int bufsize=0;
17691 int res,errnr;
17692 char *addr=NULL;
17693 int addrlen=0;
17694 int addrtype=0;
17695 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17696 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17699 return 0;
17701 _ACEOF
17702 rm -f conftest.$ac_objext conftest$ac_exeext
17703 if { (ac_try="$ac_link"
17704 case "(($ac_try" in
17705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17706 *) ac_try_echo=$ac_try;;
17707 esac
17708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17709 (eval "$ac_link") 2>conftest.er1
17710 ac_status=$?
17711 grep -v '^ *+' conftest.er1 >conftest.err
17712 rm -f conftest.er1
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } && {
17716 test -z "$ac_c_werror_flag" ||
17717 test ! -s conftest.err
17718 } && test -s conftest$ac_exeext &&
17719 $as_test_x conftest$ac_exeext; then
17720 wine_cv_linux_gethostbyname_r_6=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 wine_cv_linux_gethostbyname_r_6=no
17729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17730 conftest$ac_exeext conftest.$ac_ext
17733 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17734 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17735 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17736 then
17738 cat >>confdefs.h <<\_ACEOF
17739 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17740 _ACEOF
17744 if test "$ac_cv_header_linux_joystick_h" = "yes"
17745 then
17746 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17747 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17748 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17749 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 else
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h. */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17758 #include <sys/ioctl.h>
17759 #include <sys/types.h>
17760 #include <linux/joystick.h>
17762 struct js_event blub;
17763 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17764 #error "no 2.2 header"
17765 #endif
17768 main ()
17770 /*empty*/
17772 return 0;
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 wine_cv_linux_joystick_22_api=yes
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17797 wine_cv_linux_joystick_22_api=no
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17804 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17805 if test "$wine_cv_linux_joystick_22_api" = "yes"
17806 then
17808 cat >>confdefs.h <<\_ACEOF
17809 #define HAVE_LINUX_22_JOYSTICK_API 1
17810 _ACEOF
17816 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17817 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17818 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17819 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 else
17821 cat >conftest.$ac_ext <<_ACEOF
17822 /* confdefs.h. */
17823 _ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 #include <sys/types.h>
17828 #ifdef HAVE_SYS_PARAM_H
17829 # include <sys/param.h>
17830 #endif
17831 #ifdef HAVE_SYS_MOUNT_H
17832 # include <sys/mount.h>
17833 #endif
17834 #ifdef HAVE_SYS_VFS_H
17835 # include <sys/vfs.h>
17836 #endif
17837 #ifdef HAVE_SYS_STATFS_H
17838 # include <sys/statfs.h>
17839 #endif
17842 main ()
17844 static struct statfs ac_aggr;
17845 if (ac_aggr.f_bfree)
17846 return 0;
17848 return 0;
17850 _ACEOF
17851 rm -f conftest.$ac_objext
17852 if { (ac_try="$ac_compile"
17853 case "(($ac_try" in
17854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17855 *) ac_try_echo=$ac_try;;
17856 esac
17857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_compile") 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } && {
17865 test -z "$ac_c_werror_flag" ||
17866 test ! -s conftest.err
17867 } && test -s conftest.$ac_objext; then
17868 ac_cv_member_struct_statfs_f_bfree=yes
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 cat >conftest.$ac_ext <<_ACEOF
17874 /* confdefs.h. */
17875 _ACEOF
17876 cat confdefs.h >>conftest.$ac_ext
17877 cat >>conftest.$ac_ext <<_ACEOF
17878 /* end confdefs.h. */
17879 #include <sys/types.h>
17880 #ifdef HAVE_SYS_PARAM_H
17881 # include <sys/param.h>
17882 #endif
17883 #ifdef HAVE_SYS_MOUNT_H
17884 # include <sys/mount.h>
17885 #endif
17886 #ifdef HAVE_SYS_VFS_H
17887 # include <sys/vfs.h>
17888 #endif
17889 #ifdef HAVE_SYS_STATFS_H
17890 # include <sys/statfs.h>
17891 #endif
17894 main ()
17896 static struct statfs ac_aggr;
17897 if (sizeof ac_aggr.f_bfree)
17898 return 0;
17900 return 0;
17902 _ACEOF
17903 rm -f conftest.$ac_objext
17904 if { (ac_try="$ac_compile"
17905 case "(($ac_try" in
17906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17907 *) ac_try_echo=$ac_try;;
17908 esac
17909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17910 (eval "$ac_compile") 2>conftest.er1
17911 ac_status=$?
17912 grep -v '^ *+' conftest.er1 >conftest.err
17913 rm -f conftest.er1
17914 cat conftest.err >&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); } && {
17917 test -z "$ac_c_werror_flag" ||
17918 test ! -s conftest.err
17919 } && test -s conftest.$ac_objext; then
17920 ac_cv_member_struct_statfs_f_bfree=yes
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17925 ac_cv_member_struct_statfs_f_bfree=no
17928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17934 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17935 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17937 cat >>confdefs.h <<_ACEOF
17938 #define HAVE_STRUCT_STATFS_F_BFREE 1
17939 _ACEOF
17943 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17944 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17945 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 else
17948 cat >conftest.$ac_ext <<_ACEOF
17949 /* confdefs.h. */
17950 _ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954 #include <sys/types.h>
17955 #ifdef HAVE_SYS_PARAM_H
17956 # include <sys/param.h>
17957 #endif
17958 #ifdef HAVE_SYS_MOUNT_H
17959 # include <sys/mount.h>
17960 #endif
17961 #ifdef HAVE_SYS_VFS_H
17962 # include <sys/vfs.h>
17963 #endif
17964 #ifdef HAVE_SYS_STATFS_H
17965 # include <sys/statfs.h>
17966 #endif
17969 main ()
17971 static struct statfs ac_aggr;
17972 if (ac_aggr.f_bavail)
17973 return 0;
17975 return 0;
17977 _ACEOF
17978 rm -f conftest.$ac_objext
17979 if { (ac_try="$ac_compile"
17980 case "(($ac_try" in
17981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17982 *) ac_try_echo=$ac_try;;
17983 esac
17984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17985 (eval "$ac_compile") 2>conftest.er1
17986 ac_status=$?
17987 grep -v '^ *+' conftest.er1 >conftest.err
17988 rm -f conftest.er1
17989 cat conftest.err >&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); } && {
17992 test -z "$ac_c_werror_flag" ||
17993 test ! -s conftest.err
17994 } && test -s conftest.$ac_objext; then
17995 ac_cv_member_struct_statfs_f_bavail=yes
17996 else
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 #include <sys/types.h>
18007 #ifdef HAVE_SYS_PARAM_H
18008 # include <sys/param.h>
18009 #endif
18010 #ifdef HAVE_SYS_MOUNT_H
18011 # include <sys/mount.h>
18012 #endif
18013 #ifdef HAVE_SYS_VFS_H
18014 # include <sys/vfs.h>
18015 #endif
18016 #ifdef HAVE_SYS_STATFS_H
18017 # include <sys/statfs.h>
18018 #endif
18021 main ()
18023 static struct statfs ac_aggr;
18024 if (sizeof ac_aggr.f_bavail)
18025 return 0;
18027 return 0;
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (ac_try="$ac_compile"
18032 case "(($ac_try" in
18033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18034 *) ac_try_echo=$ac_try;;
18035 esac
18036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18037 (eval "$ac_compile") 2>conftest.er1
18038 ac_status=$?
18039 grep -v '^ *+' conftest.er1 >conftest.err
18040 rm -f conftest.er1
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } && {
18044 test -z "$ac_c_werror_flag" ||
18045 test ! -s conftest.err
18046 } && test -s conftest.$ac_objext; then
18047 ac_cv_member_struct_statfs_f_bavail=yes
18048 else
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 ac_cv_member_struct_statfs_f_bavail=no
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18061 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18062 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18066 _ACEOF
18070 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18071 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18072 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18073 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 else
18075 cat >conftest.$ac_ext <<_ACEOF
18076 /* confdefs.h. */
18077 _ACEOF
18078 cat confdefs.h >>conftest.$ac_ext
18079 cat >>conftest.$ac_ext <<_ACEOF
18080 /* end confdefs.h. */
18081 #include <sys/types.h>
18082 #ifdef HAVE_SYS_PARAM_H
18083 # include <sys/param.h>
18084 #endif
18085 #ifdef HAVE_SYS_MOUNT_H
18086 # include <sys/mount.h>
18087 #endif
18088 #ifdef HAVE_SYS_VFS_H
18089 # include <sys/vfs.h>
18090 #endif
18091 #ifdef HAVE_SYS_STATFS_H
18092 # include <sys/statfs.h>
18093 #endif
18096 main ()
18098 static struct statfs ac_aggr;
18099 if (ac_aggr.f_frsize)
18100 return 0;
18102 return 0;
18104 _ACEOF
18105 rm -f conftest.$ac_objext
18106 if { (ac_try="$ac_compile"
18107 case "(($ac_try" in
18108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18109 *) ac_try_echo=$ac_try;;
18110 esac
18111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18112 (eval "$ac_compile") 2>conftest.er1
18113 ac_status=$?
18114 grep -v '^ *+' conftest.er1 >conftest.err
18115 rm -f conftest.er1
18116 cat conftest.err >&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } && {
18119 test -z "$ac_c_werror_flag" ||
18120 test ! -s conftest.err
18121 } && test -s conftest.$ac_objext; then
18122 ac_cv_member_struct_statfs_f_frsize=yes
18123 else
18124 echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.$ac_ext >&5
18127 cat >conftest.$ac_ext <<_ACEOF
18128 /* confdefs.h. */
18129 _ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18133 #include <sys/types.h>
18134 #ifdef HAVE_SYS_PARAM_H
18135 # include <sys/param.h>
18136 #endif
18137 #ifdef HAVE_SYS_MOUNT_H
18138 # include <sys/mount.h>
18139 #endif
18140 #ifdef HAVE_SYS_VFS_H
18141 # include <sys/vfs.h>
18142 #endif
18143 #ifdef HAVE_SYS_STATFS_H
18144 # include <sys/statfs.h>
18145 #endif
18148 main ()
18150 static struct statfs ac_aggr;
18151 if (sizeof ac_aggr.f_frsize)
18152 return 0;
18154 return 0;
18156 _ACEOF
18157 rm -f conftest.$ac_objext
18158 if { (ac_try="$ac_compile"
18159 case "(($ac_try" in
18160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18161 *) ac_try_echo=$ac_try;;
18162 esac
18163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18164 (eval "$ac_compile") 2>conftest.er1
18165 ac_status=$?
18166 grep -v '^ *+' conftest.er1 >conftest.err
18167 rm -f conftest.er1
18168 cat conftest.err >&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } && {
18171 test -z "$ac_c_werror_flag" ||
18172 test ! -s conftest.err
18173 } && test -s conftest.$ac_objext; then
18174 ac_cv_member_struct_statfs_f_frsize=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18179 ac_cv_member_struct_statfs_f_frsize=no
18182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18188 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18189 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18191 cat >>confdefs.h <<_ACEOF
18192 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18193 _ACEOF
18197 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18198 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18199 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18201 else
18202 cat >conftest.$ac_ext <<_ACEOF
18203 /* confdefs.h. */
18204 _ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 #include <sys/types.h>
18209 #ifdef HAVE_SYS_PARAM_H
18210 # include <sys/param.h>
18211 #endif
18212 #ifdef HAVE_SYS_MOUNT_H
18213 # include <sys/mount.h>
18214 #endif
18215 #ifdef HAVE_SYS_VFS_H
18216 # include <sys/vfs.h>
18217 #endif
18218 #ifdef HAVE_SYS_STATFS_H
18219 # include <sys/statfs.h>
18220 #endif
18223 main ()
18225 static struct statfs ac_aggr;
18226 if (ac_aggr.f_ffree)
18227 return 0;
18229 return 0;
18231 _ACEOF
18232 rm -f conftest.$ac_objext
18233 if { (ac_try="$ac_compile"
18234 case "(($ac_try" in
18235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236 *) ac_try_echo=$ac_try;;
18237 esac
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_compile") 2>conftest.er1
18240 ac_status=$?
18241 grep -v '^ *+' conftest.er1 >conftest.err
18242 rm -f conftest.er1
18243 cat conftest.err >&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } && {
18246 test -z "$ac_c_werror_flag" ||
18247 test ! -s conftest.err
18248 } && test -s conftest.$ac_objext; then
18249 ac_cv_member_struct_statfs_f_ffree=yes
18250 else
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 #include <sys/types.h>
18261 #ifdef HAVE_SYS_PARAM_H
18262 # include <sys/param.h>
18263 #endif
18264 #ifdef HAVE_SYS_MOUNT_H
18265 # include <sys/mount.h>
18266 #endif
18267 #ifdef HAVE_SYS_VFS_H
18268 # include <sys/vfs.h>
18269 #endif
18270 #ifdef HAVE_SYS_STATFS_H
18271 # include <sys/statfs.h>
18272 #endif
18275 main ()
18277 static struct statfs ac_aggr;
18278 if (sizeof ac_aggr.f_ffree)
18279 return 0;
18281 return 0;
18283 _ACEOF
18284 rm -f conftest.$ac_objext
18285 if { (ac_try="$ac_compile"
18286 case "(($ac_try" in
18287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18289 esac
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_compile") 2>conftest.er1
18292 ac_status=$?
18293 grep -v '^ *+' conftest.er1 >conftest.err
18294 rm -f conftest.er1
18295 cat conftest.err >&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); } && {
18298 test -z "$ac_c_werror_flag" ||
18299 test ! -s conftest.err
18300 } && test -s conftest.$ac_objext; then
18301 ac_cv_member_struct_statfs_f_ffree=yes
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18306 ac_cv_member_struct_statfs_f_ffree=no
18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18314 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18315 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18316 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18318 cat >>confdefs.h <<_ACEOF
18319 #define HAVE_STRUCT_STATFS_F_FFREE 1
18320 _ACEOF
18324 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18325 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18326 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 else
18329 cat >conftest.$ac_ext <<_ACEOF
18330 /* confdefs.h. */
18331 _ACEOF
18332 cat confdefs.h >>conftest.$ac_ext
18333 cat >>conftest.$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 #include <sys/types.h>
18336 #ifdef HAVE_SYS_PARAM_H
18337 # include <sys/param.h>
18338 #endif
18339 #ifdef HAVE_SYS_MOUNT_H
18340 # include <sys/mount.h>
18341 #endif
18342 #ifdef HAVE_SYS_VFS_H
18343 # include <sys/vfs.h>
18344 #endif
18345 #ifdef HAVE_SYS_STATFS_H
18346 # include <sys/statfs.h>
18347 #endif
18350 main ()
18352 static struct statfs ac_aggr;
18353 if (ac_aggr.f_favail)
18354 return 0;
18356 return 0;
18358 _ACEOF
18359 rm -f conftest.$ac_objext
18360 if { (ac_try="$ac_compile"
18361 case "(($ac_try" in
18362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18363 *) ac_try_echo=$ac_try;;
18364 esac
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_compile") 2>conftest.er1
18367 ac_status=$?
18368 grep -v '^ *+' conftest.er1 >conftest.err
18369 rm -f conftest.er1
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && {
18373 test -z "$ac_c_werror_flag" ||
18374 test ! -s conftest.err
18375 } && test -s conftest.$ac_objext; then
18376 ac_cv_member_struct_statfs_f_favail=yes
18377 else
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18381 cat >conftest.$ac_ext <<_ACEOF
18382 /* confdefs.h. */
18383 _ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387 #include <sys/types.h>
18388 #ifdef HAVE_SYS_PARAM_H
18389 # include <sys/param.h>
18390 #endif
18391 #ifdef HAVE_SYS_MOUNT_H
18392 # include <sys/mount.h>
18393 #endif
18394 #ifdef HAVE_SYS_VFS_H
18395 # include <sys/vfs.h>
18396 #endif
18397 #ifdef HAVE_SYS_STATFS_H
18398 # include <sys/statfs.h>
18399 #endif
18402 main ()
18404 static struct statfs ac_aggr;
18405 if (sizeof ac_aggr.f_favail)
18406 return 0;
18408 return 0;
18410 _ACEOF
18411 rm -f conftest.$ac_objext
18412 if { (ac_try="$ac_compile"
18413 case "(($ac_try" in
18414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18415 *) ac_try_echo=$ac_try;;
18416 esac
18417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18418 (eval "$ac_compile") 2>conftest.er1
18419 ac_status=$?
18420 grep -v '^ *+' conftest.er1 >conftest.err
18421 rm -f conftest.er1
18422 cat conftest.err >&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } && {
18425 test -z "$ac_c_werror_flag" ||
18426 test ! -s conftest.err
18427 } && test -s conftest.$ac_objext; then
18428 ac_cv_member_struct_statfs_f_favail=yes
18429 else
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 ac_cv_member_struct_statfs_f_favail=no
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18441 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18442 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18443 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18445 cat >>confdefs.h <<_ACEOF
18446 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18447 _ACEOF
18451 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18452 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18453 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456 cat >conftest.$ac_ext <<_ACEOF
18457 /* confdefs.h. */
18458 _ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <sys/types.h>
18463 #ifdef HAVE_SYS_PARAM_H
18464 # include <sys/param.h>
18465 #endif
18466 #ifdef HAVE_SYS_MOUNT_H
18467 # include <sys/mount.h>
18468 #endif
18469 #ifdef HAVE_SYS_VFS_H
18470 # include <sys/vfs.h>
18471 #endif
18472 #ifdef HAVE_SYS_STATFS_H
18473 # include <sys/statfs.h>
18474 #endif
18477 main ()
18479 static struct statfs ac_aggr;
18480 if (ac_aggr.f_namelen)
18481 return 0;
18483 return 0;
18485 _ACEOF
18486 rm -f conftest.$ac_objext
18487 if { (ac_try="$ac_compile"
18488 case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491 esac
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_compile") 2>conftest.er1
18494 ac_status=$?
18495 grep -v '^ *+' conftest.er1 >conftest.err
18496 rm -f conftest.er1
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } && {
18500 test -z "$ac_c_werror_flag" ||
18501 test ! -s conftest.err
18502 } && test -s conftest.$ac_objext; then
18503 ac_cv_member_struct_statfs_f_namelen=yes
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 #include <sys/types.h>
18515 #ifdef HAVE_SYS_PARAM_H
18516 # include <sys/param.h>
18517 #endif
18518 #ifdef HAVE_SYS_MOUNT_H
18519 # include <sys/mount.h>
18520 #endif
18521 #ifdef HAVE_SYS_VFS_H
18522 # include <sys/vfs.h>
18523 #endif
18524 #ifdef HAVE_SYS_STATFS_H
18525 # include <sys/statfs.h>
18526 #endif
18529 main ()
18531 static struct statfs ac_aggr;
18532 if (sizeof ac_aggr.f_namelen)
18533 return 0;
18535 return 0;
18537 _ACEOF
18538 rm -f conftest.$ac_objext
18539 if { (ac_try="$ac_compile"
18540 case "(($ac_try" in
18541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18542 *) ac_try_echo=$ac_try;;
18543 esac
18544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18545 (eval "$ac_compile") 2>conftest.er1
18546 ac_status=$?
18547 grep -v '^ *+' conftest.er1 >conftest.err
18548 rm -f conftest.er1
18549 cat conftest.err >&5
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } && {
18552 test -z "$ac_c_werror_flag" ||
18553 test ! -s conftest.err
18554 } && test -s conftest.$ac_objext; then
18555 ac_cv_member_struct_statfs_f_namelen=yes
18556 else
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.$ac_ext >&5
18560 ac_cv_member_struct_statfs_f_namelen=no
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18569 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18570 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18572 cat >>confdefs.h <<_ACEOF
18573 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18574 _ACEOF
18580 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18581 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18582 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 else
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #ifdef HAVE_SYS_STATVFS_H
18592 #include <sys/statvfs.h>
18593 #endif
18596 main ()
18598 static struct statvfs ac_aggr;
18599 if (ac_aggr.f_blocks)
18600 return 0;
18602 return 0;
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18610 esac
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 ac_cv_member_struct_statvfs_f_blocks=yes
18623 else
18624 echo "$as_me: failed program was:" >&5
18625 sed 's/^/| /' conftest.$ac_ext >&5
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 #ifdef HAVE_SYS_STATVFS_H
18634 #include <sys/statvfs.h>
18635 #endif
18638 main ()
18640 static struct statvfs ac_aggr;
18641 if (sizeof ac_aggr.f_blocks)
18642 return 0;
18644 return 0;
18646 _ACEOF
18647 rm -f conftest.$ac_objext
18648 if { (ac_try="$ac_compile"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18652 esac
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_compile") 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest.$ac_objext; then
18664 ac_cv_member_struct_statvfs_f_blocks=yes
18665 else
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18669 ac_cv_member_struct_statvfs_f_blocks=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18677 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18678 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18679 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18681 cat >>confdefs.h <<_ACEOF
18682 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18683 _ACEOF
18689 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18690 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18691 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18692 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 else
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 #include <sys/types.h>
18701 #ifdef HAVE_SYS_SOCKET_H
18702 # include <sys/socket.h>
18703 #endif
18704 #ifdef HAVE_SYS_UN_H
18705 # include <sys/un.h>
18706 #endif
18709 main ()
18711 static struct msghdr ac_aggr;
18712 if (ac_aggr.msg_accrights)
18713 return 0;
18715 return 0;
18717 _ACEOF
18718 rm -f conftest.$ac_objext
18719 if { (ac_try="$ac_compile"
18720 case "(($ac_try" in
18721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18722 *) ac_try_echo=$ac_try;;
18723 esac
18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18725 (eval "$ac_compile") 2>conftest.er1
18726 ac_status=$?
18727 grep -v '^ *+' conftest.er1 >conftest.err
18728 rm -f conftest.er1
18729 cat conftest.err >&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } && {
18732 test -z "$ac_c_werror_flag" ||
18733 test ! -s conftest.err
18734 } && test -s conftest.$ac_objext; then
18735 ac_cv_member_struct_msghdr_msg_accrights=yes
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 #include <sys/types.h>
18747 #ifdef HAVE_SYS_SOCKET_H
18748 # include <sys/socket.h>
18749 #endif
18750 #ifdef HAVE_SYS_UN_H
18751 # include <sys/un.h>
18752 #endif
18755 main ()
18757 static struct msghdr ac_aggr;
18758 if (sizeof ac_aggr.msg_accrights)
18759 return 0;
18761 return 0;
18763 _ACEOF
18764 rm -f conftest.$ac_objext
18765 if { (ac_try="$ac_compile"
18766 case "(($ac_try" in
18767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18768 *) ac_try_echo=$ac_try;;
18769 esac
18770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18771 (eval "$ac_compile") 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && {
18778 test -z "$ac_c_werror_flag" ||
18779 test ! -s conftest.err
18780 } && test -s conftest.$ac_objext; then
18781 ac_cv_member_struct_msghdr_msg_accrights=yes
18782 else
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18786 ac_cv_member_struct_msghdr_msg_accrights=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18795 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18796 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18800 _ACEOF
18804 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18805 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18806 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 else
18809 cat >conftest.$ac_ext <<_ACEOF
18810 /* confdefs.h. */
18811 _ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 #include <sys/types.h>
18816 #ifdef HAVE_SYS_SOCKET_H
18817 # include <sys/socket.h>
18818 #endif
18819 #ifdef HAVE_SYS_UN_H
18820 # include <sys/un.h>
18821 #endif
18824 main ()
18826 static struct sockaddr ac_aggr;
18827 if (ac_aggr.sa_len)
18828 return 0;
18830 return 0;
18832 _ACEOF
18833 rm -f conftest.$ac_objext
18834 if { (ac_try="$ac_compile"
18835 case "(($ac_try" in
18836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18837 *) ac_try_echo=$ac_try;;
18838 esac
18839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18840 (eval "$ac_compile") 2>conftest.er1
18841 ac_status=$?
18842 grep -v '^ *+' conftest.er1 >conftest.err
18843 rm -f conftest.er1
18844 cat conftest.err >&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } && {
18847 test -z "$ac_c_werror_flag" ||
18848 test ! -s conftest.err
18849 } && test -s conftest.$ac_objext; then
18850 ac_cv_member_struct_sockaddr_sa_len=yes
18851 else
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.$ac_ext >&5
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h. */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <sys/types.h>
18862 #ifdef HAVE_SYS_SOCKET_H
18863 # include <sys/socket.h>
18864 #endif
18865 #ifdef HAVE_SYS_UN_H
18866 # include <sys/un.h>
18867 #endif
18870 main ()
18872 static struct sockaddr ac_aggr;
18873 if (sizeof ac_aggr.sa_len)
18874 return 0;
18876 return 0;
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (ac_try="$ac_compile"
18881 case "(($ac_try" in
18882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18883 *) ac_try_echo=$ac_try;;
18884 esac
18885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18886 (eval "$ac_compile") 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } && {
18893 test -z "$ac_c_werror_flag" ||
18894 test ! -s conftest.err
18895 } && test -s conftest.$ac_objext; then
18896 ac_cv_member_struct_sockaddr_sa_len=yes
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18901 ac_cv_member_struct_sockaddr_sa_len=no
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18910 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18911 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18915 _ACEOF
18919 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18920 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18921 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 else
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 #include <sys/types.h>
18931 #ifdef HAVE_SYS_SOCKET_H
18932 # include <sys/socket.h>
18933 #endif
18934 #ifdef HAVE_SYS_UN_H
18935 # include <sys/un.h>
18936 #endif
18939 main ()
18941 static struct sockaddr_un ac_aggr;
18942 if (ac_aggr.sun_len)
18943 return 0;
18945 return 0;
18947 _ACEOF
18948 rm -f conftest.$ac_objext
18949 if { (ac_try="$ac_compile"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18953 esac
18954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_compile") 2>conftest.er1
18956 ac_status=$?
18957 grep -v '^ *+' conftest.er1 >conftest.err
18958 rm -f conftest.er1
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest.$ac_objext; then
18965 ac_cv_member_struct_sockaddr_un_sun_len=yes
18966 else
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.$ac_ext >&5
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <sys/types.h>
18977 #ifdef HAVE_SYS_SOCKET_H
18978 # include <sys/socket.h>
18979 #endif
18980 #ifdef HAVE_SYS_UN_H
18981 # include <sys/un.h>
18982 #endif
18985 main ()
18987 static struct sockaddr_un ac_aggr;
18988 if (sizeof ac_aggr.sun_len)
18989 return 0;
18991 return 0;
18993 _ACEOF
18994 rm -f conftest.$ac_objext
18995 if { (ac_try="$ac_compile"
18996 case "(($ac_try" in
18997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 *) ac_try_echo=$ac_try;;
18999 esac
19000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19001 (eval "$ac_compile") 2>conftest.er1
19002 ac_status=$?
19003 grep -v '^ *+' conftest.er1 >conftest.err
19004 rm -f conftest.er1
19005 cat conftest.err >&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } && {
19008 test -z "$ac_c_werror_flag" ||
19009 test ! -s conftest.err
19010 } && test -s conftest.$ac_objext; then
19011 ac_cv_member_struct_sockaddr_un_sun_len=yes
19012 else
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.$ac_ext >&5
19016 ac_cv_member_struct_sockaddr_un_sun_len=no
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19025 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19026 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19030 _ACEOF
19036 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19037 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19038 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19039 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 else
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 #include <sys/types.h>
19048 #ifdef HAVE_SCSI_SG_H
19049 #include <scsi/sg.h>
19050 #endif
19053 main ()
19055 static scsireq_t ac_aggr;
19056 if (ac_aggr.cmd)
19057 return 0;
19059 return 0;
19061 _ACEOF
19062 rm -f conftest.$ac_objext
19063 if { (ac_try="$ac_compile"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19067 esac
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_compile") 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest.$ac_objext; then
19079 ac_cv_member_scsireq_t_cmd=yes
19080 else
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19084 cat >conftest.$ac_ext <<_ACEOF
19085 /* confdefs.h. */
19086 _ACEOF
19087 cat confdefs.h >>conftest.$ac_ext
19088 cat >>conftest.$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 #include <sys/types.h>
19091 #ifdef HAVE_SCSI_SG_H
19092 #include <scsi/sg.h>
19093 #endif
19096 main ()
19098 static scsireq_t ac_aggr;
19099 if (sizeof ac_aggr.cmd)
19100 return 0;
19102 return 0;
19104 _ACEOF
19105 rm -f conftest.$ac_objext
19106 if { (ac_try="$ac_compile"
19107 case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19110 esac
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_compile") 2>conftest.er1
19113 ac_status=$?
19114 grep -v '^ *+' conftest.er1 >conftest.err
19115 rm -f conftest.er1
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && {
19119 test -z "$ac_c_werror_flag" ||
19120 test ! -s conftest.err
19121 } && test -s conftest.$ac_objext; then
19122 ac_cv_member_scsireq_t_cmd=yes
19123 else
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 ac_cv_member_scsireq_t_cmd=no
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19136 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19137 if test $ac_cv_member_scsireq_t_cmd = yes; then
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_SCSIREQ_T_CMD 1
19141 _ACEOF
19145 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19146 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19147 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19148 echo $ECHO_N "(cached) $ECHO_C" >&6
19149 else
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_SCSI_SG_H
19158 #include <scsi/sg.h>
19159 #endif
19162 main ()
19164 static sg_io_hdr_t ac_aggr;
19165 if (ac_aggr.interface_id)
19166 return 0;
19168 return 0;
19170 _ACEOF
19171 rm -f conftest.$ac_objext
19172 if { (ac_try="$ac_compile"
19173 case "(($ac_try" in
19174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19175 *) ac_try_echo=$ac_try;;
19176 esac
19177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19178 (eval "$ac_compile") 2>conftest.er1
19179 ac_status=$?
19180 grep -v '^ *+' conftest.er1 >conftest.err
19181 rm -f conftest.er1
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } && {
19185 test -z "$ac_c_werror_flag" ||
19186 test ! -s conftest.err
19187 } && test -s conftest.$ac_objext; then
19188 ac_cv_member_sg_io_hdr_t_interface_id=yes
19189 else
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 #include <sys/types.h>
19200 #ifdef HAVE_SCSI_SG_H
19201 #include <scsi/sg.h>
19202 #endif
19205 main ()
19207 static sg_io_hdr_t ac_aggr;
19208 if (sizeof ac_aggr.interface_id)
19209 return 0;
19211 return 0;
19213 _ACEOF
19214 rm -f conftest.$ac_objext
19215 if { (ac_try="$ac_compile"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19219 esac
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_compile") 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_c_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest.$ac_objext; then
19231 ac_cv_member_sg_io_hdr_t_interface_id=yes
19232 else
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ac_cv_member_sg_io_hdr_t_interface_id=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19245 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19246 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19248 cat >>confdefs.h <<_ACEOF
19249 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19250 _ACEOF
19256 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19257 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19258 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19260 else
19261 cat >conftest.$ac_ext <<_ACEOF
19262 /* confdefs.h. */
19263 _ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267 #include <signal.h>
19270 main ()
19272 static siginfo_t ac_aggr;
19273 if (ac_aggr.si_fd)
19274 return 0;
19276 return 0;
19278 _ACEOF
19279 rm -f conftest.$ac_objext
19280 if { (ac_try="$ac_compile"
19281 case "(($ac_try" in
19282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19284 esac
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_compile") 2>conftest.er1
19287 ac_status=$?
19288 grep -v '^ *+' conftest.er1 >conftest.err
19289 rm -f conftest.er1
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && {
19293 test -z "$ac_c_werror_flag" ||
19294 test ! -s conftest.err
19295 } && test -s conftest.$ac_objext; then
19296 ac_cv_member_siginfo_t_si_fd=yes
19297 else
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <signal.h>
19310 main ()
19312 static siginfo_t ac_aggr;
19313 if (sizeof ac_aggr.si_fd)
19314 return 0;
19316 return 0;
19318 _ACEOF
19319 rm -f conftest.$ac_objext
19320 if { (ac_try="$ac_compile"
19321 case "(($ac_try" in
19322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19323 *) ac_try_echo=$ac_try;;
19324 esac
19325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19326 (eval "$ac_compile") 2>conftest.er1
19327 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } && {
19333 test -z "$ac_c_werror_flag" ||
19334 test ! -s conftest.err
19335 } && test -s conftest.$ac_objext; then
19336 ac_cv_member_siginfo_t_si_fd=yes
19337 else
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19341 ac_cv_member_siginfo_t_si_fd=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19350 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19351 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19353 cat >>confdefs.h <<_ACEOF
19354 #define HAVE_SIGINFO_T_SI_FD 1
19355 _ACEOF
19361 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19362 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19363 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19365 else
19366 cat >conftest.$ac_ext <<_ACEOF
19367 /* confdefs.h. */
19368 _ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_MTIO_H
19374 #include <sys/mtio.h>
19375 #endif
19378 main ()
19380 static struct mtget ac_aggr;
19381 if (ac_aggr.mt_blksiz)
19382 return 0;
19384 return 0;
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (ac_try="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19392 esac
19393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval "$ac_compile") 2>conftest.er1
19395 ac_status=$?
19396 grep -v '^ *+' conftest.er1 >conftest.err
19397 rm -f conftest.er1
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && {
19401 test -z "$ac_c_werror_flag" ||
19402 test ! -s conftest.err
19403 } && test -s conftest.$ac_objext; then
19404 ac_cv_member_struct_mtget_mt_blksiz=yes
19405 else
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 cat >conftest.$ac_ext <<_ACEOF
19410 /* confdefs.h. */
19411 _ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <sys/types.h>
19416 #ifdef HAVE_SYS_MTIO_H
19417 #include <sys/mtio.h>
19418 #endif
19421 main ()
19423 static struct mtget ac_aggr;
19424 if (sizeof ac_aggr.mt_blksiz)
19425 return 0;
19427 return 0;
19429 _ACEOF
19430 rm -f conftest.$ac_objext
19431 if { (ac_try="$ac_compile"
19432 case "(($ac_try" in
19433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19434 *) ac_try_echo=$ac_try;;
19435 esac
19436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19437 (eval "$ac_compile") 2>conftest.er1
19438 ac_status=$?
19439 grep -v '^ *+' conftest.er1 >conftest.err
19440 rm -f conftest.er1
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } && {
19444 test -z "$ac_c_werror_flag" ||
19445 test ! -s conftest.err
19446 } && test -s conftest.$ac_objext; then
19447 ac_cv_member_struct_mtget_mt_blksiz=yes
19448 else
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19452 ac_cv_member_struct_mtget_mt_blksiz=no
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19461 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19462 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19466 _ACEOF
19470 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19471 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19472 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 else
19475 cat >conftest.$ac_ext <<_ACEOF
19476 /* confdefs.h. */
19477 _ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 #include <sys/types.h>
19482 #ifdef HAVE_SYS_MTIO_H
19483 #include <sys/mtio.h>
19484 #endif
19487 main ()
19489 static struct mtget ac_aggr;
19490 if (ac_aggr.mt_gstat)
19491 return 0;
19493 return 0;
19495 _ACEOF
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19501 esac
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_mtget_mt_gstat=yes
19514 else
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 #include <sys/types.h>
19525 #ifdef HAVE_SYS_MTIO_H
19526 #include <sys/mtio.h>
19527 #endif
19530 main ()
19532 static struct mtget ac_aggr;
19533 if (sizeof ac_aggr.mt_gstat)
19534 return 0;
19536 return 0;
19538 _ACEOF
19539 rm -f conftest.$ac_objext
19540 if { (ac_try="$ac_compile"
19541 case "(($ac_try" in
19542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19543 *) ac_try_echo=$ac_try;;
19544 esac
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_compile") 2>conftest.er1
19547 ac_status=$?
19548 grep -v '^ *+' conftest.er1 >conftest.err
19549 rm -f conftest.er1
19550 cat conftest.err >&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } && {
19553 test -z "$ac_c_werror_flag" ||
19554 test ! -s conftest.err
19555 } && test -s conftest.$ac_objext; then
19556 ac_cv_member_struct_mtget_mt_gstat=yes
19557 else
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 ac_cv_member_struct_mtget_mt_gstat=no
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19570 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19571 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19573 cat >>confdefs.h <<_ACEOF
19574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19575 _ACEOF
19579 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19580 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19581 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 else
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590 #include <sys/types.h>
19591 #ifdef HAVE_SYS_MTIO_H
19592 #include <sys/mtio.h>
19593 #endif
19596 main ()
19598 static struct mtget ac_aggr;
19599 if (ac_aggr.mt_blkno)
19600 return 0;
19602 return 0;
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_member_struct_mtget_mt_blkno=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <sys/types.h>
19634 #ifdef HAVE_SYS_MTIO_H
19635 #include <sys/mtio.h>
19636 #endif
19639 main ()
19641 static struct mtget ac_aggr;
19642 if (sizeof ac_aggr.mt_blkno)
19643 return 0;
19645 return 0;
19647 _ACEOF
19648 rm -f conftest.$ac_objext
19649 if { (ac_try="$ac_compile"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest.$ac_objext; then
19665 ac_cv_member_struct_mtget_mt_blkno=yes
19666 else
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 ac_cv_member_struct_mtget_mt_blkno=no
19673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19679 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19680 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19684 _ACEOF
19690 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19691 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19692 if test "${ac_cv_member_struct_option_name+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 else
19695 cat >conftest.$ac_ext <<_ACEOF
19696 /* confdefs.h. */
19697 _ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #ifdef HAVE_GETOPT_H
19702 #include <getopt.h>
19703 #endif
19706 main ()
19708 static struct option ac_aggr;
19709 if (ac_aggr.name)
19710 return 0;
19712 return 0;
19714 _ACEOF
19715 rm -f conftest.$ac_objext
19716 if { (ac_try="$ac_compile"
19717 case "(($ac_try" in
19718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19719 *) ac_try_echo=$ac_try;;
19720 esac
19721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19722 (eval "$ac_compile") 2>conftest.er1
19723 ac_status=$?
19724 grep -v '^ *+' conftest.er1 >conftest.err
19725 rm -f conftest.er1
19726 cat conftest.err >&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); } && {
19729 test -z "$ac_c_werror_flag" ||
19730 test ! -s conftest.err
19731 } && test -s conftest.$ac_objext; then
19732 ac_cv_member_struct_option_name=yes
19733 else
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19737 cat >conftest.$ac_ext <<_ACEOF
19738 /* confdefs.h. */
19739 _ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 #ifdef HAVE_GETOPT_H
19744 #include <getopt.h>
19745 #endif
19748 main ()
19750 static struct option ac_aggr;
19751 if (sizeof ac_aggr.name)
19752 return 0;
19754 return 0;
19756 _ACEOF
19757 rm -f conftest.$ac_objext
19758 if { (ac_try="$ac_compile"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19762 esac
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_compile") 2>conftest.er1
19765 ac_status=$?
19766 grep -v '^ *+' conftest.er1 >conftest.err
19767 rm -f conftest.er1
19768 cat conftest.err >&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } && {
19771 test -z "$ac_c_werror_flag" ||
19772 test ! -s conftest.err
19773 } && test -s conftest.$ac_objext; then
19774 ac_cv_member_struct_option_name=yes
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 ac_cv_member_struct_option_name=no
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19788 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19789 if test $ac_cv_member_struct_option_name = yes; then
19791 cat >>confdefs.h <<_ACEOF
19792 #define HAVE_STRUCT_OPTION_NAME 1
19793 _ACEOF
19799 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19800 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19801 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19812 main ()
19814 static struct stat ac_aggr;
19815 if (ac_aggr.st_blocks)
19816 return 0;
19818 return 0;
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (ac_try="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19826 esac
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19829 ac_status=$?
19830 grep -v '^ *+' conftest.er1 >conftest.err
19831 rm -f conftest.er1
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } && {
19835 test -z "$ac_c_werror_flag" ||
19836 test ! -s conftest.err
19837 } && test -s conftest.$ac_objext; then
19838 ac_cv_member_struct_stat_st_blocks=yes
19839 else
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 $ac_includes_default
19851 main ()
19853 static struct stat ac_aggr;
19854 if (sizeof ac_aggr.st_blocks)
19855 return 0;
19857 return 0;
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_compile") 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest.$ac_objext; then
19877 ac_cv_member_struct_stat_st_blocks=yes
19878 else
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.$ac_ext >&5
19882 ac_cv_member_struct_stat_st_blocks=no
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19891 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19892 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19894 cat >>confdefs.h <<_ACEOF
19895 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19896 _ACEOF
19902 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19903 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19904 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19905 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 else
19907 cat >conftest.$ac_ext <<_ACEOF
19908 /* confdefs.h. */
19909 _ACEOF
19910 cat confdefs.h >>conftest.$ac_ext
19911 cat >>conftest.$ac_ext <<_ACEOF
19912 /* end confdefs.h. */
19913 #ifdef HAVE_SYS_TYPES_H
19914 #include <sys/types.h>
19915 #endif
19916 #ifdef HAVE_NETINET_IN_H
19917 #include <netinet/in.h>
19918 #endif
19921 main ()
19923 static struct sockaddr_in6 ac_aggr;
19924 if (ac_aggr.sin6_scope_id)
19925 return 0;
19927 return 0;
19929 _ACEOF
19930 rm -f conftest.$ac_objext
19931 if { (ac_try="$ac_compile"
19932 case "(($ac_try" in
19933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19934 *) ac_try_echo=$ac_try;;
19935 esac
19936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19937 (eval "$ac_compile") 2>conftest.er1
19938 ac_status=$?
19939 grep -v '^ *+' conftest.er1 >conftest.err
19940 rm -f conftest.er1
19941 cat conftest.err >&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && {
19944 test -z "$ac_c_werror_flag" ||
19945 test ! -s conftest.err
19946 } && test -s conftest.$ac_objext; then
19947 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19948 else
19949 echo "$as_me: failed program was:" >&5
19950 sed 's/^/| /' conftest.$ac_ext >&5
19952 cat >conftest.$ac_ext <<_ACEOF
19953 /* confdefs.h. */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 #ifdef HAVE_SYS_TYPES_H
19959 #include <sys/types.h>
19960 #endif
19961 #ifdef HAVE_NETINET_IN_H
19962 #include <netinet/in.h>
19963 #endif
19966 main ()
19968 static struct sockaddr_in6 ac_aggr;
19969 if (sizeof ac_aggr.sin6_scope_id)
19970 return 0;
19972 return 0;
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (ac_try="$ac_compile"
19977 case "(($ac_try" in
19978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19979 *) ac_try_echo=$ac_try;;
19980 esac
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_compile") 2>conftest.er1
19983 ac_status=$?
19984 grep -v '^ *+' conftest.er1 >conftest.err
19985 rm -f conftest.er1
19986 cat conftest.err >&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } && {
19989 test -z "$ac_c_werror_flag" ||
19990 test ! -s conftest.err
19991 } && test -s conftest.$ac_objext; then
19992 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19997 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20006 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20007 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20011 _ACEOF
20017 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20018 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20019 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #ifdef HAVE_SYS_TYPES_H
20029 #include <sys/types.h>
20030 #endif
20031 #ifdef HAVE_NETINET_IN_H
20032 # include <netinet/in.h>
20033 #endif
20034 #ifdef HAVE_ARPA_NAMESER_H
20035 # include <arpa/nameser.h>
20036 #endif
20039 main ()
20041 static ns_msg ac_aggr;
20042 if (ac_aggr._msg_ptr)
20043 return 0;
20045 return 0;
20047 _ACEOF
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20056 ac_status=$?
20057 grep -v '^ *+' conftest.er1 >conftest.err
20058 rm -f conftest.er1
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_cv_member_ns_msg__msg_ptr=yes
20066 else
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 #ifdef HAVE_SYS_TYPES_H
20077 #include <sys/types.h>
20078 #endif
20079 #ifdef HAVE_NETINET_IN_H
20080 # include <netinet/in.h>
20081 #endif
20082 #ifdef HAVE_ARPA_NAMESER_H
20083 # include <arpa/nameser.h>
20084 #endif
20087 main ()
20089 static ns_msg ac_aggr;
20090 if (sizeof ac_aggr._msg_ptr)
20091 return 0;
20093 return 0;
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 ac_cv_member_ns_msg__msg_ptr=yes
20114 else
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20118 ac_cv_member_ns_msg__msg_ptr=no
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20127 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20128 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20130 cat >>confdefs.h <<_ACEOF
20131 #define HAVE_NS_MSG__MSG_PTR 1
20132 _ACEOF
20138 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20139 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20140 if test "${ac_cv_have_timezone+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 cat >conftest.$ac_ext <<_ACEOF
20144 /* confdefs.h. */
20145 _ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20149 #include <time.h>
20151 main ()
20153 timezone = 1
20155 return 0;
20157 _ACEOF
20158 rm -f conftest.$ac_objext conftest$ac_exeext
20159 if { (ac_try="$ac_link"
20160 case "(($ac_try" in
20161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20163 esac
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_link") 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && {
20172 test -z "$ac_c_werror_flag" ||
20173 test ! -s conftest.err
20174 } && test -s conftest$ac_exeext &&
20175 $as_test_x conftest$ac_exeext; then
20176 ac_cv_have_timezone="yes"
20177 else
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20181 ac_cv_have_timezone="no"
20184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20185 conftest$ac_exeext conftest.$ac_ext
20187 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20188 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20189 if test "$ac_cv_have_timezone" = "yes"
20190 then
20192 cat >>confdefs.h <<\_ACEOF
20193 #define HAVE_TIMEZONE 1
20194 _ACEOF
20197 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20198 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20199 if test "${ac_cv_have_daylight+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 else
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <time.h>
20210 main ()
20212 daylight = 1
20214 return 0;
20216 _ACEOF
20217 rm -f conftest.$ac_objext conftest$ac_exeext
20218 if { (ac_try="$ac_link"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20222 esac
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_link") 2>conftest.er1
20225 ac_status=$?
20226 grep -v '^ *+' conftest.er1 >conftest.err
20227 rm -f conftest.er1
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest$ac_exeext &&
20234 $as_test_x conftest$ac_exeext; then
20235 ac_cv_have_daylight="yes"
20236 else
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_cv_have_daylight="no"
20243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20244 conftest$ac_exeext conftest.$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20247 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20248 if test "$ac_cv_have_daylight" = "yes"
20249 then
20251 cat >>confdefs.h <<\_ACEOF
20252 #define HAVE_DAYLIGHT 1
20253 _ACEOF
20258 case $host_cpu in
20259 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20260 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20261 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20262 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 else
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 #ifndef __i386__
20272 #endif
20273 _ACEOF
20274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20275 $EGREP "yes" >/dev/null 2>&1; then
20276 ac_cv_cpp_def___i386__=yes
20277 else
20278 ac_cv_cpp_def___i386__=no
20280 rm -f conftest*
20283 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20284 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20285 if test $ac_cv_cpp_def___i386__ = yes; then
20286 CFLAGS="$CFLAGS -D__i386__"
20287 LINTFLAGS="$LINTFLAGS -D__i386__"
20290 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20291 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20292 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 else
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 #ifndef __x86_64__
20303 #endif
20304 _ACEOF
20305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20306 $EGREP "yes" >/dev/null 2>&1; then
20307 ac_cv_cpp_def___x86_64__=yes
20308 else
20309 ac_cv_cpp_def___x86_64__=no
20311 rm -f conftest*
20314 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20315 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20316 if test $ac_cv_cpp_def___x86_64__ = yes; then
20317 CFLAGS="$CFLAGS -D__x86_64__"
20318 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20321 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20322 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20323 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20324 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 else
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #ifndef __ALPHA__
20334 #endif
20335 _ACEOF
20336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20337 $EGREP "yes" >/dev/null 2>&1; then
20338 ac_cv_cpp_def___ALPHA__=yes
20339 else
20340 ac_cv_cpp_def___ALPHA__=no
20342 rm -f conftest*
20345 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20346 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20347 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20348 CFLAGS="$CFLAGS -D__ALPHA__"
20349 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20352 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20353 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20354 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 else
20357 cat >conftest.$ac_ext <<_ACEOF
20358 /* confdefs.h. */
20359 _ACEOF
20360 cat confdefs.h >>conftest.$ac_ext
20361 cat >>conftest.$ac_ext <<_ACEOF
20362 /* end confdefs.h. */
20363 #ifndef __sparc__
20365 #endif
20366 _ACEOF
20367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20368 $EGREP "yes" >/dev/null 2>&1; then
20369 ac_cv_cpp_def___sparc__=yes
20370 else
20371 ac_cv_cpp_def___sparc__=no
20373 rm -f conftest*
20376 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20377 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20378 if test $ac_cv_cpp_def___sparc__ = yes; then
20379 CFLAGS="$CFLAGS -D__sparc__"
20380 LINTFLAGS="$LINTFLAGS -D__sparc__"
20383 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20384 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20385 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20386 echo $ECHO_N "(cached) $ECHO_C" >&6
20387 else
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 #ifndef __powerpc__
20396 #endif
20397 _ACEOF
20398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20399 $EGREP "yes" >/dev/null 2>&1; then
20400 ac_cv_cpp_def___powerpc__=yes
20401 else
20402 ac_cv_cpp_def___powerpc__=no
20404 rm -f conftest*
20407 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20408 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20409 if test $ac_cv_cpp_def___powerpc__ = yes; then
20410 CFLAGS="$CFLAGS -D__powerpc__"
20411 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20414 esac
20416 case $host_vendor in
20417 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20418 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20419 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20421 else
20422 cat >conftest.$ac_ext <<_ACEOF
20423 /* confdefs.h. */
20424 _ACEOF
20425 cat confdefs.h >>conftest.$ac_ext
20426 cat >>conftest.$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 #ifndef __sun__
20430 #endif
20431 _ACEOF
20432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20433 $EGREP "yes" >/dev/null 2>&1; then
20434 ac_cv_cpp_def___sun__=yes
20435 else
20436 ac_cv_cpp_def___sun__=no
20438 rm -f conftest*
20441 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20442 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20443 if test $ac_cv_cpp_def___sun__ = yes; then
20444 CFLAGS="$CFLAGS -D__sun__"
20445 LINTFLAGS="$LINTFLAGS -D__sun__"
20448 esac
20451 DEPENDENCIES="### Dependencies:
20453 .INIT: Makefile
20454 .BEGIN: Makefile
20455 Makefile: dummy
20456 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20458 \$(OBJS): \$(IDL_GEN_HEADERS)
20459 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20460 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20461 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20467 ac_config_commands="$ac_config_commands include/stamp-h"
20470 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20472 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20474 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20476 ac_config_commands="$ac_config_commands dlls/user32/resources"
20478 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20480 ac_config_commands="$ac_config_commands include/wine"
20483 MAKE_RULES=Make.rules
20486 MAKE_DLL_RULES=dlls/Makedll.rules
20489 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20492 MAKE_TEST_RULES=dlls/Maketest.rules
20495 MAKE_PROG_RULES=programs/Makeprog.rules
20498 ac_config_files="$ac_config_files Make.rules"
20500 ac_config_files="$ac_config_files dlls/Makedll.rules"
20502 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20504 ac_config_files="$ac_config_files dlls/Maketest.rules"
20506 ac_config_files="$ac_config_files programs/Makeprog.rules"
20508 ac_config_files="$ac_config_files Makefile"
20510 ac_config_files="$ac_config_files dlls/Makefile"
20512 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20514 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20516 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20518 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20522 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20526 ac_config_files="$ac_config_files dlls/atl/Makefile"
20528 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20530 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20532 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20534 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20536 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20538 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20540 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20542 ac_config_files="$ac_config_files dlls/cards/Makefile"
20544 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20546 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20548 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20550 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20554 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20558 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20562 ac_config_files="$ac_config_files dlls/credui/Makefile"
20564 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20566 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20568 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20572 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20574 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20578 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20580 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20582 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20586 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20590 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20592 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20594 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20596 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20600 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20602 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20604 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20606 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20610 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20612 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20614 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20618 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20620 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20622 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20624 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20626 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20628 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20630 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20632 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20634 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20636 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20638 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20640 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20642 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20644 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20646 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20648 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20650 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20652 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20654 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20656 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20660 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20662 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20664 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20666 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20668 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20670 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20672 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20674 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20678 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20682 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20684 ac_config_files="$ac_config_files dlls/hal/Makefile"
20686 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20688 ac_config_files="$ac_config_files dlls/hid/Makefile"
20690 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20692 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20696 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20698 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20700 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20702 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20704 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20706 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20708 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20710 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20714 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20716 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20718 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20720 ac_config_files="$ac_config_files dlls/itss/Makefile"
20722 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20724 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20726 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20728 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20730 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20732 ac_config_files="$ac_config_files dlls/localui/Makefile"
20734 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20736 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20738 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20740 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20742 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20744 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20746 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20748 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20750 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20752 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20754 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20756 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20760 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20762 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20764 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20766 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20768 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20770 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20774 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20776 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20780 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20782 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20784 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20786 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20788 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20790 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20792 ac_config_files="$ac_config_files dlls/msi/Makefile"
20794 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20796 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20798 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20800 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20802 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20804 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20806 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20808 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20810 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20812 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20814 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20816 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20818 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20822 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20824 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20826 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20828 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20830 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20832 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20834 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20836 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20838 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20840 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20842 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20844 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20846 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20848 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20850 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20852 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20854 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20856 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20858 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20860 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20864 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20866 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20868 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20870 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20872 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20874 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20876 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20878 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20880 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20882 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20884 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20886 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20888 ac_config_files="$ac_config_files dlls/printui/Makefile"
20890 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20892 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20894 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20896 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20898 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20900 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20902 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20904 ac_config_files="$ac_config_files dlls/query/Makefile"
20906 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20908 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20910 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20912 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20914 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20916 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20918 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20920 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20922 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20924 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20926 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20930 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20932 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20934 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20936 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20938 ac_config_files="$ac_config_files dlls/security/Makefile"
20940 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20942 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20944 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20948 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20950 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20952 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20954 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20956 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20958 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20962 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20966 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20968 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20970 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20972 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20974 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20976 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
20978 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20980 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20982 ac_config_files="$ac_config_files dlls/sti/Makefile"
20984 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20986 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20988 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20990 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20992 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20994 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20996 ac_config_files="$ac_config_files dlls/url/Makefile"
20998 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21000 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21002 ac_config_files="$ac_config_files dlls/user32/Makefile"
21004 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21006 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21008 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21010 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21012 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21014 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21016 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21018 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21020 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21022 ac_config_files="$ac_config_files dlls/version/Makefile"
21024 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21026 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21028 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21030 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21032 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21034 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21036 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21038 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21040 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21042 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21044 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21046 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21048 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21050 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21052 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21054 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21056 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21058 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21060 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21062 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21064 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21066 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21068 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21070 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21072 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21074 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21076 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21078 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21080 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21082 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21084 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21088 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21090 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21092 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21094 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21096 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21098 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21100 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21102 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21104 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21106 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21108 ac_config_files="$ac_config_files documentation/Makefile"
21110 ac_config_files="$ac_config_files fonts/Makefile"
21112 ac_config_files="$ac_config_files include/Makefile"
21114 ac_config_files="$ac_config_files libs/Makefile"
21116 ac_config_files="$ac_config_files libs/port/Makefile"
21118 ac_config_files="$ac_config_files libs/wine/Makefile"
21120 ac_config_files="$ac_config_files libs/wpp/Makefile"
21122 ac_config_files="$ac_config_files loader/Makefile"
21124 ac_config_files="$ac_config_files programs/Makefile"
21126 ac_config_files="$ac_config_files programs/clock/Makefile"
21128 ac_config_files="$ac_config_files programs/cmd/Makefile"
21130 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21132 ac_config_files="$ac_config_files programs/control/Makefile"
21134 ac_config_files="$ac_config_files programs/eject/Makefile"
21136 ac_config_files="$ac_config_files programs/expand/Makefile"
21138 ac_config_files="$ac_config_files programs/explorer/Makefile"
21140 ac_config_files="$ac_config_files programs/hh/Makefile"
21142 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21144 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21146 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21148 ac_config_files="$ac_config_files programs/net/Makefile"
21150 ac_config_files="$ac_config_files programs/notepad/Makefile"
21152 ac_config_files="$ac_config_files programs/oleview/Makefile"
21154 ac_config_files="$ac_config_files programs/progman/Makefile"
21156 ac_config_files="$ac_config_files programs/regedit/Makefile"
21158 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21160 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21162 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21164 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21166 ac_config_files="$ac_config_files programs/start/Makefile"
21168 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21170 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21172 ac_config_files="$ac_config_files programs/view/Makefile"
21174 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21176 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21178 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21180 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21182 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21184 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21186 ac_config_files="$ac_config_files programs/winefile/Makefile"
21188 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21190 ac_config_files="$ac_config_files programs/winemine/Makefile"
21192 ac_config_files="$ac_config_files programs/winepath/Makefile"
21194 ac_config_files="$ac_config_files programs/winetest/Makefile"
21196 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21198 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21200 ac_config_files="$ac_config_files programs/winver/Makefile"
21202 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21204 ac_config_files="$ac_config_files programs/write/Makefile"
21206 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21208 ac_config_files="$ac_config_files server/Makefile"
21210 ac_config_files="$ac_config_files tools/Makefile"
21212 ac_config_files="$ac_config_files tools/widl/Makefile"
21214 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21216 ac_config_files="$ac_config_files tools/winedump/Makefile"
21218 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21220 ac_config_files="$ac_config_files tools/wmc/Makefile"
21222 ac_config_files="$ac_config_files tools/wrc/Makefile"
21225 cat >confcache <<\_ACEOF
21226 # This file is a shell script that caches the results of configure
21227 # tests run on this system so they can be shared between configure
21228 # scripts and configure runs, see configure's option --config-cache.
21229 # It is not useful on other systems. If it contains results you don't
21230 # want to keep, you may remove or edit it.
21232 # config.status only pays attention to the cache file if you give it
21233 # the --recheck option to rerun configure.
21235 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21236 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21237 # following values.
21239 _ACEOF
21241 # The following way of writing the cache mishandles newlines in values,
21242 # but we know of no workaround that is simple, portable, and efficient.
21243 # So, we kill variables containing newlines.
21244 # Ultrix sh set writes to stderr and can't be redirected directly,
21245 # and sets the high bit in the cache file unless we assign to the vars.
21247 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21248 eval ac_val=\$$ac_var
21249 case $ac_val in #(
21250 *${as_nl}*)
21251 case $ac_var in #(
21252 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21253 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21254 esac
21255 case $ac_var in #(
21256 _ | IFS | as_nl) ;; #(
21257 *) $as_unset $ac_var ;;
21258 esac ;;
21259 esac
21260 done
21262 (set) 2>&1 |
21263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21264 *${as_nl}ac_space=\ *)
21265 # `set' does not quote correctly, so add quotes (double-quote
21266 # substitution turns \\\\ into \\, and sed turns \\ into \).
21267 sed -n \
21268 "s/'/'\\\\''/g;
21269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21270 ;; #(
21272 # `set' quotes correctly as required by POSIX, so do not add quotes.
21273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21275 esac |
21276 sort
21278 sed '
21279 /^ac_cv_env_/b end
21280 t clear
21281 :clear
21282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21283 t end
21284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21285 :end' >>confcache
21286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21287 if test -w "$cache_file"; then
21288 test "x$cache_file" != "x/dev/null" &&
21289 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21290 echo "$as_me: updating cache $cache_file" >&6;}
21291 cat confcache >$cache_file
21292 else
21293 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21294 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21297 rm -f confcache
21299 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21300 # Let make expand exec_prefix.
21301 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21303 DEFS=-DHAVE_CONFIG_H
21305 ac_libobjs=
21306 ac_ltlibobjs=
21307 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21308 # 1. Remove the extension, and $U if already installed.
21309 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21310 ac_i=`echo "$ac_i" | sed "$ac_script"`
21311 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21312 # will be set to the directory where LIBOBJS objects are built.
21313 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21314 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21315 done
21316 LIBOBJS=$ac_libobjs
21318 LTLIBOBJS=$ac_ltlibobjs
21322 : ${CONFIG_STATUS=./config.status}
21323 ac_clean_files_save=$ac_clean_files
21324 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21325 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21326 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21327 cat >$CONFIG_STATUS <<_ACEOF
21328 #! $SHELL
21329 # Generated by $as_me.
21330 # Run this file to recreate the current configuration.
21331 # Compiler output produced by configure, useful for debugging
21332 # configure, is in config.log if it exists.
21334 debug=false
21335 ac_cs_recheck=false
21336 ac_cs_silent=false
21337 SHELL=\${CONFIG_SHELL-$SHELL}
21338 _ACEOF
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 ## --------------------- ##
21342 ## M4sh Initialization. ##
21343 ## --------------------- ##
21345 # Be more Bourne compatible
21346 DUALCASE=1; export DUALCASE # for MKS sh
21347 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21348 emulate sh
21349 NULLCMD=:
21350 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21351 # is contrary to our usage. Disable this feature.
21352 alias -g '${1+"$@"}'='"$@"'
21353 setopt NO_GLOB_SUBST
21354 else
21355 case `(set -o) 2>/dev/null` in
21356 *posix*) set -o posix ;;
21357 esac
21364 # PATH needs CR
21365 # Avoid depending upon Character Ranges.
21366 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21367 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21368 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21369 as_cr_digits='0123456789'
21370 as_cr_alnum=$as_cr_Letters$as_cr_digits
21372 # The user is always right.
21373 if test "${PATH_SEPARATOR+set}" != set; then
21374 echo "#! /bin/sh" >conf$$.sh
21375 echo "exit 0" >>conf$$.sh
21376 chmod +x conf$$.sh
21377 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21378 PATH_SEPARATOR=';'
21379 else
21380 PATH_SEPARATOR=:
21382 rm -f conf$$.sh
21385 # Support unset when possible.
21386 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21387 as_unset=unset
21388 else
21389 as_unset=false
21393 # IFS
21394 # We need space, tab and new line, in precisely that order. Quoting is
21395 # there to prevent editors from complaining about space-tab.
21396 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21397 # splitting by setting IFS to empty value.)
21398 as_nl='
21400 IFS=" "" $as_nl"
21402 # Find who we are. Look in the path if we contain no directory separator.
21403 case $0 in
21404 *[\\/]* ) as_myself=$0 ;;
21405 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21406 for as_dir in $PATH
21408 IFS=$as_save_IFS
21409 test -z "$as_dir" && as_dir=.
21410 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21411 done
21412 IFS=$as_save_IFS
21415 esac
21416 # We did not find ourselves, most probably we were run as `sh COMMAND'
21417 # in which case we are not to be found in the path.
21418 if test "x$as_myself" = x; then
21419 as_myself=$0
21421 if test ! -f "$as_myself"; then
21422 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21423 { (exit 1); exit 1; }
21426 # Work around bugs in pre-3.0 UWIN ksh.
21427 for as_var in ENV MAIL MAILPATH
21428 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21429 done
21430 PS1='$ '
21431 PS2='> '
21432 PS4='+ '
21434 # NLS nuisances.
21435 for as_var in \
21436 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21437 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21438 LC_TELEPHONE LC_TIME
21440 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21441 eval $as_var=C; export $as_var
21442 else
21443 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21445 done
21447 # Required to use basename.
21448 if expr a : '\(a\)' >/dev/null 2>&1 &&
21449 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21450 as_expr=expr
21451 else
21452 as_expr=false
21455 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21456 as_basename=basename
21457 else
21458 as_basename=false
21462 # Name of the executable.
21463 as_me=`$as_basename -- "$0" ||
21464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21465 X"$0" : 'X\(//\)$' \| \
21466 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21467 echo X/"$0" |
21468 sed '/^.*\/\([^/][^/]*\)\/*$/{
21469 s//\1/
21472 /^X\/\(\/\/\)$/{
21473 s//\1/
21476 /^X\/\(\/\).*/{
21477 s//\1/
21480 s/.*/./; q'`
21482 # CDPATH.
21483 $as_unset CDPATH
21487 as_lineno_1=$LINENO
21488 as_lineno_2=$LINENO
21489 test "x$as_lineno_1" != "x$as_lineno_2" &&
21490 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21492 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21493 # uniformly replaced by the line number. The first 'sed' inserts a
21494 # line-number line after each line using $LINENO; the second 'sed'
21495 # does the real work. The second script uses 'N' to pair each
21496 # line-number line with the line containing $LINENO, and appends
21497 # trailing '-' during substitution so that $LINENO is not a special
21498 # case at line end.
21499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21500 # scripts with optimization help from Paolo Bonzini. Blame Lee
21501 # E. McMahon (1931-1989) for sed's syntax. :-)
21502 sed -n '
21504 /[$]LINENO/=
21505 ' <$as_myself |
21506 sed '
21507 s/[$]LINENO.*/&-/
21508 t lineno
21510 :lineno
21512 :loop
21513 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21514 t loop
21515 s/-\n.*//
21516 ' >$as_me.lineno &&
21517 chmod +x "$as_me.lineno" ||
21518 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21519 { (exit 1); exit 1; }; }
21521 # Don't try to exec as it changes $[0], causing all sort of problems
21522 # (the dirname of $[0] is not the place where we might find the
21523 # original and so on. Autoconf is especially sensitive to this).
21524 . "./$as_me.lineno"
21525 # Exit status is that of the last command.
21526 exit
21530 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21531 as_dirname=dirname
21532 else
21533 as_dirname=false
21536 ECHO_C= ECHO_N= ECHO_T=
21537 case `echo -n x` in
21538 -n*)
21539 case `echo 'x\c'` in
21540 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21541 *) ECHO_C='\c';;
21542 esac;;
21544 ECHO_N='-n';;
21545 esac
21547 if expr a : '\(a\)' >/dev/null 2>&1 &&
21548 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21549 as_expr=expr
21550 else
21551 as_expr=false
21554 rm -f conf$$ conf$$.exe conf$$.file
21555 if test -d conf$$.dir; then
21556 rm -f conf$$.dir/conf$$.file
21557 else
21558 rm -f conf$$.dir
21559 mkdir conf$$.dir
21561 echo >conf$$.file
21562 if ln -s conf$$.file conf$$ 2>/dev/null; then
21563 as_ln_s='ln -s'
21564 # ... but there are two gotchas:
21565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21567 # In both cases, we have to default to `cp -p'.
21568 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21569 as_ln_s='cp -p'
21570 elif ln conf$$.file conf$$ 2>/dev/null; then
21571 as_ln_s=ln
21572 else
21573 as_ln_s='cp -p'
21575 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21576 rmdir conf$$.dir 2>/dev/null
21578 if mkdir -p . 2>/dev/null; then
21579 as_mkdir_p=:
21580 else
21581 test -d ./-p && rmdir ./-p
21582 as_mkdir_p=false
21585 if test -x / >/dev/null 2>&1; then
21586 as_test_x='test -x'
21587 else
21588 if ls -dL / >/dev/null 2>&1; then
21589 as_ls_L_option=L
21590 else
21591 as_ls_L_option=
21593 as_test_x='
21594 eval sh -c '\''
21595 if test -d "$1"; then
21596 test -d "$1/.";
21597 else
21598 case $1 in
21599 -*)set "./$1";;
21600 esac;
21601 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21602 ???[sx]*):;;*)false;;esac;fi
21603 '\'' sh
21606 as_executable_p=$as_test_x
21608 # Sed expression to map a string onto a valid CPP name.
21609 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21611 # Sed expression to map a string onto a valid variable name.
21612 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21615 exec 6>&1
21617 # Save the log message, to keep $[0] and so on meaningful, and to
21618 # report actual input values of CONFIG_FILES etc. instead of their
21619 # values after options handling.
21620 ac_log="
21621 This file was extended by Wine $as_me 0.9.47, which was
21622 generated by GNU Autoconf 2.61. Invocation command line was
21624 CONFIG_FILES = $CONFIG_FILES
21625 CONFIG_HEADERS = $CONFIG_HEADERS
21626 CONFIG_LINKS = $CONFIG_LINKS
21627 CONFIG_COMMANDS = $CONFIG_COMMANDS
21628 $ $0 $@
21630 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21633 _ACEOF
21635 cat >>$CONFIG_STATUS <<_ACEOF
21636 # Files that config.status was made for.
21637 config_files="$ac_config_files"
21638 config_headers="$ac_config_headers"
21639 config_commands="$ac_config_commands"
21641 _ACEOF
21643 cat >>$CONFIG_STATUS <<\_ACEOF
21644 ac_cs_usage="\
21645 \`$as_me' instantiates files from templates according to the
21646 current configuration.
21648 Usage: $0 [OPTIONS] [FILE]...
21650 -h, --help print this help, then exit
21651 -V, --version print version number and configuration settings, then exit
21652 -q, --quiet do not print progress messages
21653 -d, --debug don't remove temporary files
21654 --recheck update $as_me by reconfiguring in the same conditions
21655 --file=FILE[:TEMPLATE]
21656 instantiate the configuration file FILE
21657 --header=FILE[:TEMPLATE]
21658 instantiate the configuration header FILE
21660 Configuration files:
21661 $config_files
21663 Configuration headers:
21664 $config_headers
21666 Configuration commands:
21667 $config_commands
21669 Report bugs to <bug-autoconf@gnu.org>."
21671 _ACEOF
21672 cat >>$CONFIG_STATUS <<_ACEOF
21673 ac_cs_version="\\
21674 Wine config.status 0.9.47
21675 configured by $0, generated by GNU Autoconf 2.61,
21676 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21678 Copyright (C) 2006 Free Software Foundation, Inc.
21679 This config.status script is free software; the Free Software Foundation
21680 gives unlimited permission to copy, distribute and modify it."
21682 ac_pwd='$ac_pwd'
21683 srcdir='$srcdir'
21684 INSTALL='$INSTALL'
21685 _ACEOF
21687 cat >>$CONFIG_STATUS <<\_ACEOF
21688 # If no file are specified by the user, then we need to provide default
21689 # value. By we need to know if files were specified by the user.
21690 ac_need_defaults=:
21691 while test $# != 0
21693 case $1 in
21694 --*=*)
21695 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21696 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21697 ac_shift=:
21700 ac_option=$1
21701 ac_optarg=$2
21702 ac_shift=shift
21704 esac
21706 case $ac_option in
21707 # Handling of the options.
21708 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21709 ac_cs_recheck=: ;;
21710 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21711 echo "$ac_cs_version"; exit ;;
21712 --debug | --debu | --deb | --de | --d | -d )
21713 debug=: ;;
21714 --file | --fil | --fi | --f )
21715 $ac_shift
21716 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21717 ac_need_defaults=false;;
21718 --header | --heade | --head | --hea )
21719 $ac_shift
21720 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21721 ac_need_defaults=false;;
21722 --he | --h)
21723 # Conflict between --help and --header
21724 { echo "$as_me: error: ambiguous option: $1
21725 Try \`$0 --help' for more information." >&2
21726 { (exit 1); exit 1; }; };;
21727 --help | --hel | -h )
21728 echo "$ac_cs_usage"; exit ;;
21729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21730 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21731 ac_cs_silent=: ;;
21733 # This is an error.
21734 -*) { echo "$as_me: error: unrecognized option: $1
21735 Try \`$0 --help' for more information." >&2
21736 { (exit 1); exit 1; }; } ;;
21738 *) ac_config_targets="$ac_config_targets $1"
21739 ac_need_defaults=false ;;
21741 esac
21742 shift
21743 done
21745 ac_configure_extra_args=
21747 if $ac_cs_silent; then
21748 exec 6>/dev/null
21749 ac_configure_extra_args="$ac_configure_extra_args --silent"
21752 _ACEOF
21753 cat >>$CONFIG_STATUS <<_ACEOF
21754 if \$ac_cs_recheck; then
21755 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21756 CONFIG_SHELL=$SHELL
21757 export CONFIG_SHELL
21758 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21761 _ACEOF
21762 cat >>$CONFIG_STATUS <<\_ACEOF
21763 exec 5>>config.log
21765 echo
21766 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21767 ## Running $as_me. ##
21768 _ASBOX
21769 echo "$ac_log"
21770 } >&5
21772 _ACEOF
21773 cat >>$CONFIG_STATUS <<_ACEOF
21774 _ACEOF
21776 cat >>$CONFIG_STATUS <<\_ACEOF
21778 # Handling of arguments.
21779 for ac_config_target in $ac_config_targets
21781 case $ac_config_target in
21782 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21783 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21784 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21785 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21786 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21787 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21788 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21789 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21790 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21791 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21792 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21793 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21794 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21796 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21797 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21798 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21799 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21800 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21801 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21802 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21803 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21804 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21805 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21806 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21807 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21808 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21809 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21810 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21811 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21812 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21813 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21814 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21815 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21816 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21817 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21818 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21819 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21820 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21821 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21822 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21823 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21824 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21825 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21826 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21827 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21828 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21829 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21830 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21831 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21832 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21833 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21834 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21835 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21836 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21837 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21838 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21839 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21840 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21841 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21842 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21843 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21844 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21845 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21846 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21847 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21848 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21849 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21850 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21851 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21852 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21853 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21854 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21855 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21856 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21857 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21858 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21859 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21860 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21861 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21862 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21863 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21864 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21865 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21866 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21867 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21868 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21869 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21870 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21871 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21872 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21873 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21874 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21875 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21876 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21877 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21878 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21879 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21880 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21881 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21882 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21883 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21884 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21885 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21886 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21887 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21888 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21889 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21890 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21891 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21892 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21893 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21894 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21895 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21896 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21897 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21898 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21899 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21900 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21901 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21902 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21903 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21904 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21905 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21906 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21907 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21908 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21909 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21910 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21911 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21912 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21913 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21914 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21915 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21916 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21917 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21918 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21919 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21920 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21921 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21922 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21923 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21924 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21925 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21926 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21927 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21928 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21929 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21930 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21931 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21932 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21933 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21934 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21935 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21936 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21937 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21938 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21939 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21940 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21941 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21942 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21943 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21944 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21945 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21946 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21947 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21948 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21949 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21950 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21951 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21952 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21953 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21954 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21955 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21956 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21957 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21958 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21959 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21960 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21961 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21962 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21963 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21964 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21965 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21966 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21967 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21968 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21969 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21970 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21971 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21972 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21973 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21974 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21975 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21976 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21977 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21978 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21979 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21980 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21981 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21982 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21983 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21984 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21985 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21986 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21987 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21988 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21989 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21990 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
21991 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21992 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21993 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21994 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21995 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21996 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21997 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21998 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21999 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22000 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22001 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22002 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22003 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22004 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22005 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22006 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22007 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22008 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22009 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22010 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22011 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22012 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22013 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22014 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22015 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22016 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22017 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22018 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22019 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22020 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22021 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22022 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22023 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22024 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22025 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22026 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22027 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22028 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22029 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22030 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22031 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22032 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22033 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22034 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22035 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22036 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22037 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22038 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22039 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22040 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22041 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22042 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22043 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22044 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22045 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22046 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22047 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22048 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22049 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22050 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22051 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22052 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22053 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22054 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22055 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22056 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22057 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22058 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22059 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22060 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22061 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22062 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22063 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22064 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22065 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22066 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22067 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22068 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22069 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22070 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22071 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22072 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22073 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22074 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22075 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22076 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22077 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22078 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22079 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22080 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22081 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22082 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22083 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22084 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22085 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22086 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22087 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22088 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22089 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22090 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22091 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22092 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22093 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22094 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22095 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22096 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22097 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22098 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22099 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22100 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22101 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22102 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22103 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22104 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22105 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22106 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22107 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22108 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22109 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22110 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22111 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22112 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22113 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22114 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22115 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22116 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22117 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22118 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22119 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22120 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22121 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22122 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22123 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22124 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22125 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22126 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22127 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22128 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22129 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22130 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22131 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22132 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22133 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22134 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22135 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22136 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22137 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22138 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22139 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22140 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22141 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22142 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22143 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22144 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22145 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22146 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22147 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22148 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22149 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22150 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22151 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22152 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22154 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22155 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22156 { (exit 1); exit 1; }; };;
22157 esac
22158 done
22161 # If the user did not use the arguments to specify the items to instantiate,
22162 # then the envvar interface is used. Set only those that are not.
22163 # We use the long form for the default assignment because of an extremely
22164 # bizarre bug on SunOS 4.1.3.
22165 if $ac_need_defaults; then
22166 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22167 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22168 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22171 # Have a temporary directory for convenience. Make it in the build tree
22172 # simply because there is no reason against having it here, and in addition,
22173 # creating and moving files from /tmp can sometimes cause problems.
22174 # Hook for its removal unless debugging.
22175 # Note that there is a small window in which the directory will not be cleaned:
22176 # after its creation but before its name has been assigned to `$tmp'.
22177 $debug ||
22179 tmp=
22180 trap 'exit_status=$?
22181 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22183 trap '{ (exit 1); exit 1; }' 1 2 13 15
22185 # Create a (secure) tmp directory for tmp files.
22188 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22189 test -n "$tmp" && test -d "$tmp"
22190 } ||
22192 tmp=./conf$$-$RANDOM
22193 (umask 077 && mkdir "$tmp")
22194 } ||
22196 echo "$me: cannot create a temporary directory in ." >&2
22197 { (exit 1); exit 1; }
22201 # Set up the sed scripts for CONFIG_FILES section.
22204 # No need to generate the scripts if there are no CONFIG_FILES.
22205 # This happens for instance when ./config.status config.h
22206 if test -n "$CONFIG_FILES"; then
22208 _ACEOF
22210 # Create sed commands to just substitute file output variables.
22212 # Remaining file output variables are in a fragment that also has non-file
22213 # output varibles.
22217 ac_delim='%!_!# '
22218 for ac_last_try in false false false false false :; do
22219 cat >conf$$subs.sed <<_ACEOF
22220 SHELL!$SHELL$ac_delim
22221 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22222 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22223 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22224 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22225 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22226 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22227 exec_prefix!$exec_prefix$ac_delim
22228 prefix!$prefix$ac_delim
22229 program_transform_name!$program_transform_name$ac_delim
22230 bindir!$bindir$ac_delim
22231 sbindir!$sbindir$ac_delim
22232 libexecdir!$libexecdir$ac_delim
22233 datarootdir!$datarootdir$ac_delim
22234 datadir!$datadir$ac_delim
22235 sysconfdir!$sysconfdir$ac_delim
22236 sharedstatedir!$sharedstatedir$ac_delim
22237 localstatedir!$localstatedir$ac_delim
22238 includedir!$includedir$ac_delim
22239 oldincludedir!$oldincludedir$ac_delim
22240 docdir!$docdir$ac_delim
22241 infodir!$infodir$ac_delim
22242 htmldir!$htmldir$ac_delim
22243 dvidir!$dvidir$ac_delim
22244 pdfdir!$pdfdir$ac_delim
22245 psdir!$psdir$ac_delim
22246 libdir!$libdir$ac_delim
22247 localedir!$localedir$ac_delim
22248 mandir!$mandir$ac_delim
22249 DEFS!$DEFS$ac_delim
22250 ECHO_C!$ECHO_C$ac_delim
22251 ECHO_N!$ECHO_N$ac_delim
22252 ECHO_T!$ECHO_T$ac_delim
22253 LIBS!$LIBS$ac_delim
22254 build_alias!$build_alias$ac_delim
22255 host_alias!$host_alias$ac_delim
22256 target_alias!$target_alias$ac_delim
22257 build!$build$ac_delim
22258 build_cpu!$build_cpu$ac_delim
22259 build_vendor!$build_vendor$ac_delim
22260 build_os!$build_os$ac_delim
22261 host!$host$ac_delim
22262 host_cpu!$host_cpu$ac_delim
22263 host_vendor!$host_vendor$ac_delim
22264 host_os!$host_os$ac_delim
22265 WIN16_FILES!$WIN16_FILES$ac_delim
22266 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22267 SET_MAKE!$SET_MAKE$ac_delim
22268 CC!$CC$ac_delim
22269 CFLAGS!$CFLAGS$ac_delim
22270 LDFLAGS!$LDFLAGS$ac_delim
22271 CPPFLAGS!$CPPFLAGS$ac_delim
22272 ac_ct_CC!$ac_ct_CC$ac_delim
22273 EXEEXT!$EXEEXT$ac_delim
22274 OBJEXT!$OBJEXT$ac_delim
22275 CXX!$CXX$ac_delim
22276 CXXFLAGS!$CXXFLAGS$ac_delim
22277 ac_ct_CXX!$ac_ct_CXX$ac_delim
22278 CPPBIN!$CPPBIN$ac_delim
22279 TOOLSDIR!$TOOLSDIR$ac_delim
22280 XMKMF!$XMKMF$ac_delim
22281 CPP!$CPP$ac_delim
22282 X_CFLAGS!$X_CFLAGS$ac_delim
22283 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22284 X_LIBS!$X_LIBS$ac_delim
22285 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22286 FLEX!$FLEX$ac_delim
22287 BISON!$BISON$ac_delim
22288 AS!$AS$ac_delim
22289 ac_ct_AS!$ac_ct_AS$ac_delim
22290 LD!$LD$ac_delim
22291 AR!$AR$ac_delim
22292 RANLIB!$RANLIB$ac_delim
22293 STRIP!$STRIP$ac_delim
22294 WINDRES!$WINDRES$ac_delim
22295 LN_S!$LN_S$ac_delim
22296 LN!$LN$ac_delim
22297 GREP!$GREP$ac_delim
22298 EGREP!$EGREP$ac_delim
22299 LDCONFIG!$LDCONFIG$ac_delim
22300 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22301 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22302 _ACEOF
22304 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22305 break
22306 elif $ac_last_try; then
22307 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22308 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22309 { (exit 1); exit 1; }; }
22310 else
22311 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22313 done
22315 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22316 if test -n "$ac_eof"; then
22317 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22318 ac_eof=`expr $ac_eof + 1`
22321 cat >>$CONFIG_STATUS <<_ACEOF
22322 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22324 /^[ ]*@MAKE_RULES@[ ]*$/{
22325 r $MAKE_RULES
22328 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22329 r $MAKE_DLL_RULES
22332 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22333 r $MAKE_IMPLIB_RULES
22336 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22337 r $MAKE_TEST_RULES
22340 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22341 r $MAKE_PROG_RULES
22344 _ACEOF
22345 sed '
22346 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22347 s/^/s,@/; s/!/@,|#_!!_#|/
22350 s/'"$ac_delim"'$/,g/; t
22351 s/$/\\/; p
22352 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22353 ' >>$CONFIG_STATUS <conf$$subs.sed
22354 rm -f conf$$subs.sed
22355 cat >>$CONFIG_STATUS <<_ACEOF
22356 CEOF$ac_eof
22357 _ACEOF
22360 ac_delim='%!_!# '
22361 for ac_last_try in false false false false false :; do
22362 cat >conf$$subs.sed <<_ACEOF
22363 INSTALL_DATA!$INSTALL_DATA$ac_delim
22364 LINT!$LINT$ac_delim
22365 LINTFLAGS!$LINTFLAGS$ac_delim
22366 FONTFORGE!$FONTFORGE$ac_delim
22367 PKG_CONFIG!$PKG_CONFIG$ac_delim
22368 PRELINK!$PRELINK$ac_delim
22369 LIBPTHREAD!$LIBPTHREAD$ac_delim
22370 XLIB!$XLIB$ac_delim
22371 XFILES!$XFILES$ac_delim
22372 OPENGLFILES!$OPENGLFILES$ac_delim
22373 GLU32FILES!$GLU32FILES$ac_delim
22374 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22375 QUARTZFILES!$QUARTZFILES$ac_delim
22376 DLLEXT!$DLLEXT$ac_delim
22377 DLLFLAGS!$DLLFLAGS$ac_delim
22378 LDSHARED!$LDSHARED$ac_delim
22379 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22380 LIBEXT!$LIBEXT$ac_delim
22381 IMPLIBEXT!$IMPLIBEXT$ac_delim
22382 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22383 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22384 LDD!$LDD$ac_delim
22385 DLLTOOL!$DLLTOOL$ac_delim
22386 DLLWRAP!$DLLWRAP$ac_delim
22387 MINGWAR!$MINGWAR$ac_delim
22388 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22389 IOKITLIB!$IOKITLIB$ac_delim
22390 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22391 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22392 COREAUDIO!$COREAUDIO$ac_delim
22393 CARBONLIB!$CARBONLIB$ac_delim
22394 CROSSTEST!$CROSSTEST$ac_delim
22395 CROSSCC!$CROSSCC$ac_delim
22396 CROSSWINDRES!$CROSSWINDRES$ac_delim
22397 NASLIBS!$NASLIBS$ac_delim
22398 XML2LIBS!$XML2LIBS$ac_delim
22399 XML2INCL!$XML2INCL$ac_delim
22400 XSLTLIBS!$XSLTLIBS$ac_delim
22401 XSLTINCL!$XSLTINCL$ac_delim
22402 HALINCL!$HALINCL$ac_delim
22403 sane_devel!$sane_devel$ac_delim
22404 SANEINCL!$SANEINCL$ac_delim
22405 gphoto2_devel!$gphoto2_devel$ac_delim
22406 gphoto2port_devel!$gphoto2port_devel$ac_delim
22407 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22408 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22409 RESOLVLIBS!$RESOLVLIBS$ac_delim
22410 LCMSLIBS!$LCMSLIBS$ac_delim
22411 LDAPLIBS!$LDAPLIBS$ac_delim
22412 ft_devel!$ft_devel$ac_delim
22413 FREETYPELIBS!$FREETYPELIBS$ac_delim
22414 FREETYPEINCL!$FREETYPEINCL$ac_delim
22415 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22416 ESDCONFIG!$ESDCONFIG$ac_delim
22417 ESDLIBS!$ESDLIBS$ac_delim
22418 ESDINCL!$ESDINCL$ac_delim
22419 ALSALIBS!$ALSALIBS$ac_delim
22420 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22421 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22422 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22423 BUILTINFLAG!$BUILTINFLAG$ac_delim
22424 LDPATH!$LDPATH$ac_delim
22425 CRTLIBS!$CRTLIBS$ac_delim
22426 SOCKETLIBS!$SOCKETLIBS$ac_delim
22427 MAIN_BINARY!$MAIN_BINARY$ac_delim
22428 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22429 LIBDL!$LIBDL$ac_delim
22430 LIBPOLL!$LIBPOLL$ac_delim
22431 DEPENDENCIES!$DEPENDENCIES$ac_delim
22432 LIBOBJS!$LIBOBJS$ac_delim
22433 LTLIBOBJS!$LTLIBOBJS$ac_delim
22434 _ACEOF
22436 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22437 break
22438 elif $ac_last_try; then
22439 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22440 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22441 { (exit 1); exit 1; }; }
22442 else
22443 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22445 done
22447 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22448 if test -n "$ac_eof"; then
22449 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22450 ac_eof=`expr $ac_eof + 1`
22453 cat >>$CONFIG_STATUS <<_ACEOF
22454 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22455 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22456 _ACEOF
22457 sed '
22458 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22459 s/^/s,@/; s/!/@,|#_!!_#|/
22462 s/'"$ac_delim"'$/,g/; t
22463 s/$/\\/; p
22464 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22465 ' >>$CONFIG_STATUS <conf$$subs.sed
22466 rm -f conf$$subs.sed
22467 cat >>$CONFIG_STATUS <<_ACEOF
22468 :end
22469 s/|#_!!_#|//g
22470 CEOF$ac_eof
22471 _ACEOF
22474 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22475 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22476 # trailing colons and then remove the whole line if VPATH becomes empty
22477 # (actually we leave an empty line to preserve line numbers).
22478 if test "x$srcdir" = x.; then
22479 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22480 s/:*\$(srcdir):*/:/
22481 s/:*\${srcdir}:*/:/
22482 s/:*@srcdir@:*/:/
22483 s/^\([^=]*=[ ]*\):*/\1/
22484 s/:*$//
22485 s/^[^=]*=[ ]*$//
22489 cat >>$CONFIG_STATUS <<\_ACEOF
22490 fi # test -n "$CONFIG_FILES"
22493 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22495 case $ac_tag in
22496 :[FHLC]) ac_mode=$ac_tag; continue;;
22497 esac
22498 case $ac_mode$ac_tag in
22499 :[FHL]*:*);;
22500 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22501 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22502 { (exit 1); exit 1; }; };;
22503 :[FH]-) ac_tag=-:-;;
22504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22505 esac
22506 ac_save_IFS=$IFS
22507 IFS=:
22508 set x $ac_tag
22509 IFS=$ac_save_IFS
22510 shift
22511 ac_file=$1
22512 shift
22514 case $ac_mode in
22515 :L) ac_source=$1;;
22516 :[FH])
22517 ac_file_inputs=
22518 for ac_f
22520 case $ac_f in
22521 -) ac_f="$tmp/stdin";;
22522 *) # Look for the file first in the build tree, then in the source tree
22523 # (if the path is not absolute). The absolute path cannot be DOS-style,
22524 # because $ac_f cannot contain `:'.
22525 test -f "$ac_f" ||
22526 case $ac_f in
22527 [\\/$]*) false;;
22528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22529 esac ||
22530 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22531 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22532 { (exit 1); exit 1; }; };;
22533 esac
22534 ac_file_inputs="$ac_file_inputs $ac_f"
22535 done
22537 # Let's still pretend it is `configure' which instantiates (i.e., don't
22538 # use $as_me), people would be surprised to read:
22539 # /* config.h. Generated by config.status. */
22540 configure_input="Generated from "`IFS=:
22541 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22542 if test x"$ac_file" != x-; then
22543 configure_input="$ac_file. $configure_input"
22544 { echo "$as_me:$LINENO: creating $ac_file" >&5
22545 echo "$as_me: creating $ac_file" >&6;}
22548 case $ac_tag in
22549 *:-:* | *:-) cat >"$tmp/stdin";;
22550 esac
22552 esac
22554 ac_dir=`$as_dirname -- "$ac_file" ||
22555 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22556 X"$ac_file" : 'X\(//\)[^/]' \| \
22557 X"$ac_file" : 'X\(//\)$' \| \
22558 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22559 echo X"$ac_file" |
22560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22561 s//\1/
22564 /^X\(\/\/\)[^/].*/{
22565 s//\1/
22568 /^X\(\/\/\)$/{
22569 s//\1/
22572 /^X\(\/\).*/{
22573 s//\1/
22576 s/.*/./; q'`
22577 { as_dir="$ac_dir"
22578 case $as_dir in #(
22579 -*) as_dir=./$as_dir;;
22580 esac
22581 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22582 as_dirs=
22583 while :; do
22584 case $as_dir in #(
22585 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22586 *) as_qdir=$as_dir;;
22587 esac
22588 as_dirs="'$as_qdir' $as_dirs"
22589 as_dir=`$as_dirname -- "$as_dir" ||
22590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22591 X"$as_dir" : 'X\(//\)[^/]' \| \
22592 X"$as_dir" : 'X\(//\)$' \| \
22593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22594 echo X"$as_dir" |
22595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22596 s//\1/
22599 /^X\(\/\/\)[^/].*/{
22600 s//\1/
22603 /^X\(\/\/\)$/{
22604 s//\1/
22607 /^X\(\/\).*/{
22608 s//\1/
22611 s/.*/./; q'`
22612 test -d "$as_dir" && break
22613 done
22614 test -z "$as_dirs" || eval "mkdir $as_dirs"
22615 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22616 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22617 { (exit 1); exit 1; }; }; }
22618 ac_builddir=.
22620 case "$ac_dir" in
22621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22624 # A ".." for each directory in $ac_dir_suffix.
22625 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22626 case $ac_top_builddir_sub in
22627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22629 esac ;;
22630 esac
22631 ac_abs_top_builddir=$ac_pwd
22632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22633 # for backward compatibility:
22634 ac_top_builddir=$ac_top_build_prefix
22636 case $srcdir in
22637 .) # We are building in place.
22638 ac_srcdir=.
22639 ac_top_srcdir=$ac_top_builddir_sub
22640 ac_abs_top_srcdir=$ac_pwd ;;
22641 [\\/]* | ?:[\\/]* ) # Absolute name.
22642 ac_srcdir=$srcdir$ac_dir_suffix;
22643 ac_top_srcdir=$srcdir
22644 ac_abs_top_srcdir=$srcdir ;;
22645 *) # Relative name.
22646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22647 ac_top_srcdir=$ac_top_build_prefix$srcdir
22648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22649 esac
22650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22653 case $ac_mode in
22656 # CONFIG_FILE
22659 case $INSTALL in
22660 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22661 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22662 esac
22663 _ACEOF
22665 cat >>$CONFIG_STATUS <<\_ACEOF
22666 # If the template does not know about datarootdir, expand it.
22667 # FIXME: This hack should be removed a few years after 2.60.
22668 ac_datarootdir_hack=; ac_datarootdir_seen=
22670 case `sed -n '/datarootdir/ {
22674 /@datadir@/p
22675 /@docdir@/p
22676 /@infodir@/p
22677 /@localedir@/p
22678 /@mandir@/p
22679 ' $ac_file_inputs` in
22680 *datarootdir*) ac_datarootdir_seen=yes;;
22681 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22682 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22683 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22684 _ACEOF
22685 cat >>$CONFIG_STATUS <<_ACEOF
22686 ac_datarootdir_hack='
22687 s&@datadir@&$datadir&g
22688 s&@docdir@&$docdir&g
22689 s&@infodir@&$infodir&g
22690 s&@localedir@&$localedir&g
22691 s&@mandir@&$mandir&g
22692 s&\\\${datarootdir}&$datarootdir&g' ;;
22693 esac
22694 _ACEOF
22696 # Neutralize VPATH when `$srcdir' = `.'.
22697 # Shell code in configure.ac might set extrasub.
22698 # FIXME: do we really want to maintain this feature?
22699 cat >>$CONFIG_STATUS <<_ACEOF
22700 sed "$ac_vpsub
22701 $extrasub
22702 _ACEOF
22703 cat >>$CONFIG_STATUS <<\_ACEOF
22705 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22706 s&@configure_input@&$configure_input&;t t
22707 s&@top_builddir@&$ac_top_builddir_sub&;t t
22708 s&@srcdir@&$ac_srcdir&;t t
22709 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22710 s&@top_srcdir@&$ac_top_srcdir&;t t
22711 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22712 s&@builddir@&$ac_builddir&;t t
22713 s&@abs_builddir@&$ac_abs_builddir&;t t
22714 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22715 s&@INSTALL@&$ac_INSTALL&;t t
22716 $ac_datarootdir_hack
22717 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22719 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22720 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22721 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22722 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22723 which seems to be undefined. Please make sure it is defined." >&5
22724 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22725 which seems to be undefined. Please make sure it is defined." >&2;}
22727 rm -f "$tmp/stdin"
22728 case $ac_file in
22729 -) cat "$tmp/out"; rm -f "$tmp/out";;
22730 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22731 esac
22735 # CONFIG_HEADER
22737 _ACEOF
22739 # Transform confdefs.h into a sed script `conftest.defines', that
22740 # substitutes the proper values into config.h.in to produce config.h.
22741 rm -f conftest.defines conftest.tail
22742 # First, append a space to every undef/define line, to ease matching.
22743 echo 's/$/ /' >conftest.defines
22744 # Then, protect against being on the right side of a sed subst, or in
22745 # an unquoted here document, in config.status. If some macros were
22746 # called several times there might be several #defines for the same
22747 # symbol, which is useless. But do not sort them, since the last
22748 # AC_DEFINE must be honored.
22749 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22750 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22751 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22752 # PARAMS is the parameter list in the macro definition--in most cases, it's
22753 # just an empty string.
22754 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22755 ac_dB='\\)[ (].*,\\1define\\2'
22756 ac_dC=' '
22757 ac_dD=' ,'
22759 uniq confdefs.h |
22760 sed -n '
22761 t rset
22762 :rset
22763 s/^[ ]*#[ ]*define[ ][ ]*//
22764 t ok
22767 s/[\\&,]/\\&/g
22768 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22769 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22770 ' >>conftest.defines
22772 # Remove the space that was appended to ease matching.
22773 # Then replace #undef with comments. This is necessary, for
22774 # example, in the case of _POSIX_SOURCE, which is predefined and required
22775 # on some systems where configure will not decide to define it.
22776 # (The regexp can be short, since the line contains either #define or #undef.)
22777 echo 's/ $//
22778 s,^[ #]*u.*,/* & */,' >>conftest.defines
22780 # Break up conftest.defines:
22781 ac_max_sed_lines=50
22783 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22784 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22785 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22786 # et cetera.
22787 ac_in='$ac_file_inputs'
22788 ac_out='"$tmp/out1"'
22789 ac_nxt='"$tmp/out2"'
22791 while :
22793 # Write a here document:
22794 cat >>$CONFIG_STATUS <<_ACEOF
22795 # First, check the format of the line:
22796 cat >"\$tmp/defines.sed" <<\\CEOF
22797 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22798 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22800 :def
22801 _ACEOF
22802 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22803 echo 'CEOF
22804 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22805 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22806 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22807 grep . conftest.tail >/dev/null || break
22808 rm -f conftest.defines
22809 mv conftest.tail conftest.defines
22810 done
22811 rm -f conftest.defines conftest.tail
22813 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22814 cat >>$CONFIG_STATUS <<\_ACEOF
22815 if test x"$ac_file" != x-; then
22816 echo "/* $configure_input */" >"$tmp/config.h"
22817 cat "$ac_result" >>"$tmp/config.h"
22818 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22819 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22820 echo "$as_me: $ac_file is unchanged" >&6;}
22821 else
22822 rm -f $ac_file
22823 mv "$tmp/config.h" $ac_file
22825 else
22826 echo "/* $configure_input */"
22827 cat "$ac_result"
22829 rm -f "$tmp/out12"
22832 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22833 echo "$as_me: executing $ac_file commands" >&6;}
22835 esac
22838 case $ac_file$ac_mode in
22839 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22840 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22841 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22842 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22843 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22844 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22845 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22846 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22847 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22848 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22849 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22850 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22851 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22853 esac
22854 done # for ac_tag
22857 { (exit 0); exit 0; }
22858 _ACEOF
22859 chmod +x $CONFIG_STATUS
22860 ac_clean_files=$ac_clean_files_save
22863 # configure is writing to config.log, and then calls config.status.
22864 # config.status does its own redirection, appending to config.log.
22865 # Unfortunately, on DOS this fails, as config.log is still kept open
22866 # by configure, so config.status won't be able to write to it; its
22867 # output is simply discarded. So we exec the FD to /dev/null,
22868 # effectively closing config.log, so it can be properly (re)opened and
22869 # appended to by config.status. When coming back to configure, we
22870 # need to make the FD available again.
22871 if test "$no_create" != yes; then
22872 ac_cs_success=:
22873 ac_config_status_args=
22874 test "$silent" = yes &&
22875 ac_config_status_args="$ac_config_status_args --quiet"
22876 exec 5>/dev/null
22877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22878 exec 5>>config.log
22879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22880 # would make configure fail if this is the last instruction.
22881 $ac_cs_success || { (exit 1); exit 1; }
22885 if test "$no_create" = "yes"
22886 then
22887 exit 0
22890 ac_save_IFS="$IFS"
22891 IFS="|"
22892 if test "$verbose" = "yes"; then
22893 for msg in $wine_notices; do
22894 if test -n "$msg"; then
22895 echo >&2
22896 { echo "$as_me:$LINENO: $msg" >&5
22897 echo "$as_me: $msg" >&6;}
22899 done
22901 for msg in $wine_warnings; do
22902 if test -n "$msg"; then
22903 echo >&2
22904 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22905 echo "$as_me: WARNING: $msg" >&2;}
22907 done
22908 IFS="$ac_save_IFS"
22910 echo
22911 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22912 echo