configure: Make the libXi soname check depend on the header check.
[wine/dibdrv.git] / configure
blob12b263401c9ab4b048238ad8c91c4aa92dccc2fe
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.40'
578 PACKAGE_STRING='Wine 0.9.40'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 ICULIBS
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 FREETYPELIBS
751 FREETYPEINCL
752 ft_devel
753 ft_devel2
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.40
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.40, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -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"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4 $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6342 main ()
6344 return _xpg4_setrunelocale ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6386 LIBS="-lxpg4 $LIBS"
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6412 main ()
6414 return pthread_create ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6457 XLIB=""
6459 XFILES=""
6461 OPENGLFILES=""
6463 GLU32FILES=""
6465 OPENGL_LIBS=""
6467 QUARTZFILES=""
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6488 main ()
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6568 else
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6621 else
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6692 else
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6824 for ac_header in \
6825 AudioUnit/AudioUnit.h \
6826 Carbon/Carbon.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6829 IOKit/IOKitLib.h \
6830 alsa/asoundlib.h \
6831 arpa/inet.h \
6832 arpa/nameser.h \
6833 asm/types.h \
6834 capi20.h \
6835 cups/cups.h \
6836 curses.h \
6837 direct.h \
6838 dlfcn.h \
6839 elf.h \
6840 float.h \
6841 fontconfig/fontconfig.h \
6842 getopt.h \
6843 ieeefp.h \
6844 io.h \
6845 jack/jack.h \
6846 jpeglib.h \
6847 lber.h \
6848 lcms.h \
6849 lcms/lcms.h \
6850 ldap.h \
6851 libaudioio.h \
6852 link.h \
6853 linux/cdrom.h \
6854 linux/compiler.h \
6855 linux/hdreg.h \
6856 linux/input.h \
6857 linux/ioctl.h \
6858 linux/joystick.h \
6859 linux/major.h \
6860 linux/param.h \
6861 linux/serial.h \
6862 linux/ucdrom.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/soundcard.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 openssl/err.h \
6876 openssl/ssl.h \
6877 png.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/sockio.h \
6918 sys/soundcard.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysctl.h \
6923 sys/time.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/un.h \
6927 sys/vm86.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unicode/ubidi.h \
6932 unistd.h \
6933 utime.h \
6934 valgrind/memcheck.h
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 else
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h. */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6978 else
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
6999 _ACEOF
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7001 case "(($ac_try" in
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7004 esac
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 }; then
7016 ac_header_preproc=yes
7017 else
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7030 yes:no: )
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7037 no:yes:* )
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7050 ( cat <<\_ASBOX
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7054 _ASBOX
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7057 esac
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 else
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #endif
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #endif
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 #endif
7109 _ACEOF
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7112 case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115 esac
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7143 _ACEOF
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7220 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7239 #include <$ac_header>
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7243 case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7249 ac_status=$?
7250 grep -v '^ *+' conftest.er1 >conftest.err
7251 rm -f conftest.er1
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7259 else
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290 cat >conftest.$ac_ext <<_ACEOF
7291 /* confdefs.h. */
7292 _ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7299 #endif
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7302 #endif
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7367 #endif
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7370 #endif
7372 #include <$ac_header>
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <signal.h>
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7470 done
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h. */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7490 #endif
7492 #include <$ac_header>
7493 _ACEOF
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7496 case "(($ac_try" in
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7499 esac
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 else
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7551 #endif
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7555 #endif
7557 #include <$ac_header>
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7564 esac
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7592 _ACEOF
7596 done
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #define __user
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 DLLEXT=""
7661 DLLFLAGS="-D_REENTRANT"
7663 LDSHARED=""
7665 LDDLLFLAGS=""
7667 LIBEXT="so"
7669 IMPLIBEXT="def"
7671 LDRPATH_INSTALL=""
7673 LDRPATH_LOCAL=""
7675 # Extract the first word of "ldd", so it can be a program name with args.
7676 set dummy ldd; ac_word=$2
7677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7679 if test "${ac_cv_path_LDD+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 else
7682 case $LDD in
7683 [\\/]* | ?:[\\/]*)
7684 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 as_dummy="/sbin:/usr/sbin:$PATH"
7689 for as_dir in $as_dummy
7691 IFS=$as_save_IFS
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7697 break 2
7699 done
7700 done
7701 IFS=$as_save_IFS
7703 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7705 esac
7707 LDD=$ac_cv_path_LDD
7708 if test -n "$LDD"; then
7709 { echo "$as_me:$LINENO: result: $LDD" >&5
7710 echo "${ECHO_T}$LDD" >&6; }
7711 else
7712 { echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6; }
7718 case $host_os in
7719 cygwin*|mingw32*)
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7727 else
7728 if test -n "$DLLTOOL"; then
7729 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7742 done
7743 done
7744 IFS=$as_save_IFS
7748 DLLTOOL=$ac_cv_prog_DLLTOOL
7749 if test -n "$DLLTOOL"; then
7750 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7751 echo "${ECHO_T}$DLLTOOL" >&6; }
7752 else
7753 { echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6; }
7759 if test -z "$ac_cv_prog_DLLTOOL"; then
7760 ac_ct_DLLTOOL=$DLLTOOL
7761 # Extract the first word of "dlltool", so it can be a program name with args.
7762 set dummy dlltool; ac_word=$2
7763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 else
7768 if test -n "$ac_ct_DLLTOOL"; then
7769 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7782 done
7783 done
7784 IFS=$as_save_IFS
7788 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7789 if test -n "$ac_ct_DLLTOOL"; then
7790 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7791 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7792 else
7793 { echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6; }
7797 if test "x$ac_ct_DLLTOOL" = x; then
7798 DLLTOOL="false"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803 whose name does not start with the host triplet. If you think this
7804 configuration is useful to you, please write to autoconf@gnu.org." >&5
7805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806 whose name does not start with the host triplet. If you think this
7807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808 ac_tool_warned=yes ;;
7809 esac
7810 DLLTOOL=$ac_ct_DLLTOOL
7812 else
7813 DLLTOOL="$ac_cv_prog_DLLTOOL"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 else
7824 if test -n "$DLLWRAP"; then
7825 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7826 else
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 for as_dir in $PATH
7830 IFS=$as_save_IFS
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 break 2
7838 done
7839 done
7840 IFS=$as_save_IFS
7844 DLLWRAP=$ac_cv_prog_DLLWRAP
7845 if test -n "$DLLWRAP"; then
7846 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7847 echo "${ECHO_T}$DLLWRAP" >&6; }
7848 else
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7855 if test -z "$ac_cv_prog_DLLWRAP"; then
7856 ac_ct_DLLWRAP=$DLLWRAP
7857 # Extract the first word of "dllwrap", so it can be a program name with args.
7858 set dummy dllwrap; ac_word=$2
7859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 else
7864 if test -n "$ac_ct_DLLWRAP"; then
7865 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7870 IFS=$as_save_IFS
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 break 2
7878 done
7879 done
7880 IFS=$as_save_IFS
7884 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7885 if test -n "$ac_ct_DLLWRAP"; then
7886 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7887 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7888 else
7889 { echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6; }
7893 if test "x$ac_ct_DLLWRAP" = x; then
7894 DLLWRAP="false"
7895 else
7896 case $cross_compiling:$ac_tool_warned in
7897 yes:)
7898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899 whose name does not start with the host triplet. If you think this
7900 configuration is useful to you, please write to autoconf@gnu.org." >&5
7901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906 DLLWRAP=$ac_ct_DLLWRAP
7908 else
7909 DLLWRAP="$ac_cv_prog_DLLWRAP"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}ar; ac_word=$2
7915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7917 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 else
7920 if test -n "$MINGWAR"; then
7921 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 MINGWAR=$ac_cv_prog_MINGWAR
7941 if test -n "$MINGWAR"; then
7942 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7943 echo "${ECHO_T}$MINGWAR" >&6; }
7944 else
7945 { echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6; }
7951 if test -z "$ac_cv_prog_MINGWAR"; then
7952 ac_ct_MINGWAR=$MINGWAR
7953 # Extract the first word of "ar", so it can be a program name with args.
7954 set dummy ar; ac_word=$2
7955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7957 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 else
7960 if test -n "$ac_ct_MINGWAR"; then
7961 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_MINGWAR="ar"
7971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7980 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7981 if test -n "$ac_ct_MINGWAR"; then
7982 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7983 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7984 else
7985 { echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6; }
7989 if test "x$ac_ct_MINGWAR" = x; then
7990 MINGWAR="false"
7991 else
7992 case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7995 whose name does not start with the host triplet. If you think this
7996 configuration is useful to you, please write to autoconf@gnu.org." >&5
7997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 MINGWAR=$ac_ct_MINGWAR
8004 else
8005 MINGWAR="$ac_cv_prog_MINGWAR"
8008 if test "$DLLWRAP" = "false"; then
8009 LIBEXT="a"
8010 else
8011 LIBEXT="dll"
8013 IMPLIBEXT="a"
8014 WIN16_FILES=""
8015 WIN16_INSTALL=""
8017 darwin*|macosx*)
8018 DLLEXT=".so"
8019 LIBEXT="dylib"
8020 DLLFLAGS="$DLLFLAGS -fPIC"
8021 LDDLLFLAGS="-bundle -multiply_defined suppress"
8022 LIBWINE_LDFLAGS="-multiply_defined suppress"
8023 LDSHARED="\$(CC) -dynamiclib"
8024 STRIP="$STRIP -x"
8025 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8026 COREFOUNDATIONLIB="-framework CoreFoundation"
8028 IOKITLIB="-framework IOKit -framework CoreFoundation"
8030 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8032 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8033 then
8034 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8038 then
8039 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8042 case $host_cpu in
8043 *powerpc*)
8044 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8045 esac
8046 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8047 then
8048 CARBONLIB="-framework Carbon"
8050 QUARTZFILES='$(QUARTZFILES)'
8054 DLLFLAGS="$DLLFLAGS -fPIC"
8055 DLLEXT=".so"
8056 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8057 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8058 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 else
8061 ac_wine_try_cflags_saved=$CFLAGS
8062 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8063 cat >conftest.$ac_ext <<_ACEOF
8064 void myfunc() {}
8065 _ACEOF
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8068 case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8071 esac
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8074 ac_status=$?
8075 grep -v '^ *+' conftest.er1 >conftest.err
8076 rm -f conftest.er1
8077 cat conftest.err >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && {
8080 test -z "$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8082 } && test -s conftest$ac_exeext &&
8083 $as_test_x conftest$ac_exeext; then
8084 ac_cv_c_dll_gnuelf="yes"
8085 else
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_cv_c_dll_gnuelf="no"
8092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093 conftest$ac_exeext conftest.$ac_ext
8094 CFLAGS=$ac_wine_try_cflags_saved
8096 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8097 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8098 if test "$ac_cv_c_dll_gnuelf" = "yes"
8099 then
8100 LDSHARED="\$(CC) -shared"
8101 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8102 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8103 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8104 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 else
8107 ac_wine_try_cflags_saved=$CFLAGS
8108 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8109 cat >conftest.$ac_ext <<_ACEOF
8110 /* confdefs.h. */
8111 _ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8117 main ()
8121 return 0;
8123 _ACEOF
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8126 case "(($ac_try" in
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8129 esac
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8132 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest$ac_exeext &&
8141 $as_test_x conftest$ac_exeext; then
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8143 else
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.$ac_ext >&5
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151 conftest$ac_exeext conftest.$ac_ext
8152 CFLAGS=$ac_wine_try_cflags_saved
8154 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8155 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8156 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8157 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8158 else
8159 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8160 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8161 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 else
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8174 main ()
8178 return 0;
8180 _ACEOF
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8183 case "(($ac_try" in
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8186 esac
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_link") 2>conftest.er1
8189 ac_status=$?
8190 grep -v '^ *+' conftest.er1 >conftest.err
8191 rm -f conftest.er1
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest$ac_exeext &&
8198 $as_test_x conftest$ac_exeext; then
8199 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8200 else
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8212 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8213 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8214 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8220 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8221 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8222 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8227 cat >conftest.$ac_ext <<_ACEOF
8228 /* confdefs.h. */
8229 _ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8235 main ()
8239 return 0;
8241 _ACEOF
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (ac_try="$ac_link"
8244 case "(($ac_try" in
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8247 esac
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_link") 2>conftest.er1
8250 ac_status=$?
8251 grep -v '^ *+' conftest.er1 >conftest.err
8252 rm -f conftest.er1
8253 cat conftest.err >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest$ac_exeext &&
8259 $as_test_x conftest$ac_exeext; then
8260 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8261 else
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8273 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8274 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8275 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8279 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8280 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8281 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8294 main ()
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_link") 2>conftest.er1
8309 ac_status=$?
8310 grep -v '^ *+' conftest.er1 >conftest.err
8311 rm -f conftest.er1
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest$ac_exeext &&
8318 $as_test_x conftest$ac_exeext; then
8319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8332 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8333 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8334 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8338 echo '{ global: *; };' >conftest.map
8339 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8340 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8341 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 else
8344 ac_wine_try_cflags_saved=$CFLAGS
8345 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8346 cat >conftest.$ac_ext <<_ACEOF
8347 /* confdefs.h. */
8348 _ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8354 main ()
8358 return 0;
8360 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (ac_try="$ac_link"
8363 case "(($ac_try" in
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8366 esac
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8368 (eval "$ac_link") 2>conftest.er1
8369 ac_status=$?
8370 grep -v '^ *+' conftest.er1 >conftest.err
8371 rm -f conftest.er1
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } && {
8375 test -z "$ac_c_werror_flag" ||
8376 test ! -s conftest.err
8377 } && test -s conftest$ac_exeext &&
8378 $as_test_x conftest$ac_exeext; then
8379 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8380 else
8381 echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8392 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8393 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8394 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8397 rm -f conftest.map
8399 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8400 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8401 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8406 cat >conftest.$ac_ext <<_ACEOF
8407 /* confdefs.h. */
8408 _ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 rm -f conftest.$ac_objext conftest$ac_exeext
8422 if { (ac_try="$ac_link"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_link") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest$ac_exeext &&
8438 $as_test_x conftest$ac_exeext; then
8439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8440 else
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8452 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8453 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8454 LDEXECFLAGS="-Wl,--export-dynamic"
8459 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8460 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8461 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8467 cat >conftest.$ac_ext <<_ACEOF
8468 /* confdefs.h. */
8469 _ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8475 main ()
8479 return 0;
8481 _ACEOF
8482 rm -f conftest.$ac_objext conftest$ac_exeext
8483 if { (ac_try="$ac_link"
8484 case "(($ac_try" in
8485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8486 *) ac_try_echo=$ac_try;;
8487 esac
8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8489 (eval "$ac_link") 2>conftest.er1
8490 ac_status=$?
8491 grep -v '^ *+' conftest.er1 >conftest.err
8492 rm -f conftest.er1
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } && {
8496 test -z "$ac_c_werror_flag" ||
8497 test ! -s conftest.err
8498 } && test -s conftest$ac_exeext &&
8499 $as_test_x conftest$ac_exeext; then
8500 eval "$as_ac_var=yes"
8501 else
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 eval "$as_ac_var=no"
8508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 ac_res=`eval echo '${'$as_ac_var'}'`
8513 { echo "$as_me:$LINENO: result: $ac_res" >&5
8514 echo "${ECHO_T}$ac_res" >&6; }
8515 if test `eval echo '${'$as_ac_var'}'` = yes; then
8516 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8517 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8518 else
8519 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8521 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8527 cat >conftest.$ac_ext <<_ACEOF
8528 /* confdefs.h. */
8529 _ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8535 main ()
8539 return 0;
8541 _ACEOF
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (ac_try="$ac_link"
8544 case "(($ac_try" in
8545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546 *) ac_try_echo=$ac_try;;
8547 esac
8548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8549 (eval "$ac_link") 2>conftest.er1
8550 ac_status=$?
8551 grep -v '^ *+' conftest.er1 >conftest.err
8552 rm -f conftest.er1
8553 cat conftest.err >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && {
8556 test -z "$ac_c_werror_flag" ||
8557 test ! -s conftest.err
8558 } && test -s conftest$ac_exeext &&
8559 $as_test_x conftest$ac_exeext; then
8560 eval "$as_ac_var=yes"
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 ac_res=`eval echo '${'$as_ac_var'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_var'}'` = yes; then
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8583 case $host_cpu in
8584 *i[3456789]86* | x86_64)
8585 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8586 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8587 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8592 cat >conftest.$ac_ext <<_ACEOF
8593 /* confdefs.h. */
8594 _ACEOF
8595 cat confdefs.h >>conftest.$ac_ext
8596 cat >>conftest.$ac_ext <<_ACEOF
8597 /* end confdefs.h. */
8600 main ()
8604 return 0;
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (ac_try="$ac_link"
8609 case "(($ac_try" in
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8612 esac
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_link") 2>conftest.er1
8615 ac_status=$?
8616 grep -v '^ *+' conftest.er1 >conftest.err
8617 rm -f conftest.er1
8618 cat conftest.err >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } && {
8621 test -z "$ac_c_werror_flag" ||
8622 test ! -s conftest.err
8623 } && test -s conftest$ac_exeext &&
8624 $as_test_x conftest$ac_exeext; then
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8626 else
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8638 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8639 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8640 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8644 esac
8646 else
8647 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8648 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8649 if test "${ac_cv_c_dll_unixware+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8654 cat >conftest.$ac_ext <<_ACEOF
8655 void myfunc() {}
8656 _ACEOF
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8659 case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_link") 2>conftest.er1
8665 ac_status=$?
8666 grep -v '^ *+' conftest.er1 >conftest.err
8667 rm -f conftest.er1
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } && {
8671 test -z "$ac_c_werror_flag" ||
8672 test ! -s conftest.err
8673 } && test -s conftest$ac_exeext &&
8674 $as_test_x conftest$ac_exeext; then
8675 ac_cv_c_dll_unixware="yes"
8676 else
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 ac_cv_c_dll_unixware="no"
8683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8684 conftest$ac_exeext conftest.$ac_ext
8685 CFLAGS=$ac_wine_try_cflags_saved
8687 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8688 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8689 if test "$ac_cv_c_dll_unixware" = "yes"
8690 then
8691 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8692 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8694 else
8695 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8696 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8697 if test "${ac_cv_c_dll_hpux+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -shared"
8702 cat >conftest.$ac_ext <<_ACEOF
8703 void myfunc() {}
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_c_dll_hpux="yes"
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_c_dll_hpux="no"
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8736 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8737 if test "$ac_cv_c_dll_hpux" = "yes"
8738 then
8739 LIBEXT="sl"
8740 DLLEXT=".sl"
8741 LDDLLFLAGS="-shared -fPIC"
8742 LDSHARED="\$(CC) -shared"
8747 CROSSTEST=""
8749 if test "$cross_compiling" = "no"
8750 then
8751 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8753 # Extract the first word of "$ac_prog", so it can be a program name with args.
8754 set dummy $ac_prog; ac_word=$2
8755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8757 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 else
8760 if test -n "$CROSSCC"; then
8761 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8762 else
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 for as_dir in $PATH
8766 IFS=$as_save_IFS
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_CROSSCC="$ac_prog"
8771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 break 2
8774 done
8775 done
8776 IFS=$as_save_IFS
8780 CROSSCC=$ac_cv_prog_CROSSCC
8781 if test -n "$CROSSCC"; then
8782 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8783 echo "${ECHO_T}$CROSSCC" >&6; }
8784 else
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8790 test -n "$CROSSCC" && break
8791 done
8792 test -n "$CROSSCC" || CROSSCC="false"
8794 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8796 # Extract the first word of "$ac_prog", so it can be a program name with args.
8797 set dummy $ac_prog; ac_word=$2
8798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 else
8803 if test -n "$DLLTOOL"; then
8804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8805 else
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 for as_dir in $PATH
8809 IFS=$as_save_IFS
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_prog_DLLTOOL="$ac_prog"
8814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 break 2
8817 done
8818 done
8819 IFS=$as_save_IFS
8823 DLLTOOL=$ac_cv_prog_DLLTOOL
8824 if test -n "$DLLTOOL"; then
8825 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8826 echo "${ECHO_T}$DLLTOOL" >&6; }
8827 else
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8833 test -n "$DLLTOOL" && break
8834 done
8835 test -n "$DLLTOOL" || DLLTOOL="false"
8837 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8839 # Extract the first word of "$ac_prog", so it can be a program name with args.
8840 set dummy $ac_prog; ac_word=$2
8841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8843 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 if test -n "$CROSSWINDRES"; then
8847 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8848 else
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 for as_dir in $PATH
8852 IFS=$as_save_IFS
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_CROSSWINDRES="$ac_prog"
8857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8858 break 2
8860 done
8861 done
8862 IFS=$as_save_IFS
8866 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8867 if test -n "$CROSSWINDRES"; then
8868 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8869 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8870 else
8871 { echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6; }
8876 test -n "$CROSSWINDRES" && break
8877 done
8878 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8880 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8882 # Extract the first word of "$ac_prog", so it can be a program name with args.
8883 set dummy $ac_prog; ac_word=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 else
8889 if test -n "$MINGWAR"; then
8890 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8891 else
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 for as_dir in $PATH
8895 IFS=$as_save_IFS
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_MINGWAR="$ac_prog"
8900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 break 2
8903 done
8904 done
8905 IFS=$as_save_IFS
8909 MINGWAR=$ac_cv_prog_MINGWAR
8910 if test -n "$MINGWAR"; then
8911 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8912 echo "${ECHO_T}$MINGWAR" >&6; }
8913 else
8914 { echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6; }
8919 test -n "$MINGWAR" && break
8920 done
8921 test -n "$MINGWAR" || MINGWAR="false"
8923 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8926 esac
8928 if test "$LIBEXT" = "a"; then
8929 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8930 It is currently not possible to build Wine without shared library
8931 (.so) support to allow transparent switch between .so and .dll files.
8932 If you are using Linux, you will need a newer binutils.
8933 " >&5
8934 echo "$as_me: error: could not find a way to build shared libraries.
8935 It is currently not possible to build Wine without shared library
8936 (.so) support to allow transparent switch between .so and .dll files.
8937 If you are using Linux, you will need a newer binutils.
8938 " >&2;}
8939 { (exit 1); exit 1; }; }
8943 if test "$have_x" = "yes"
8944 then
8945 XLIB="-lXext -lX11"
8946 ac_save_CPPFLAGS="$CPPFLAGS"
8947 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8960 for ac_header in X11/Xlib.h \
8961 X11/XKBlib.h \
8962 X11/Xutil.h \
8963 X11/Xcursor/Xcursor.h \
8964 X11/extensions/shape.h \
8965 X11/extensions/XInput.h \
8966 X11/extensions/XShm.h \
8967 X11/extensions/Xinerama.h \
8968 X11/extensions/Xrandr.h \
8969 X11/extensions/Xrender.h \
8970 X11/extensions/xf86vmode.h
8972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #ifdef HAVE_X11_XLIB_H
8985 # include <X11/Xlib.h>
8986 #endif
8987 #ifdef HAVE_X11_XUTIL_H
8988 # include <X11/Xutil.h>
8989 #endif
8991 #include <$ac_header>
8992 _ACEOF
8993 rm -f conftest.$ac_objext
8994 if { (ac_try="$ac_compile"
8995 case "(($ac_try" in
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8998 esac
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_compile") 2>conftest.er1
9001 ac_status=$?
9002 grep -v '^ *+' conftest.er1 >conftest.err
9003 rm -f conftest.er1
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest.$ac_objext; then
9010 eval "$as_ac_Header=yes"
9011 else
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 eval "$as_ac_Header=no"
9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9020 ac_res=`eval echo '${'$as_ac_Header'}'`
9021 { echo "$as_me:$LINENO: result: $ac_res" >&5
9022 echo "${ECHO_T}$ac_res" >&6; }
9023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9026 _ACEOF
9030 done
9033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9034 then
9035 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9036 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 else
9040 ac_check_lib_save_LIBS=$LIBS
9041 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9042 cat >conftest.$ac_ext <<_ACEOF
9043 /* confdefs.h. */
9044 _ACEOF
9045 cat confdefs.h >>conftest.$ac_ext
9046 cat >>conftest.$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char XkbQueryExtension ();
9057 main ()
9059 return XkbQueryExtension ();
9061 return 0;
9063 _ACEOF
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (ac_try="$ac_link"
9066 case "(($ac_try" in
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9069 esac
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_link") 2>conftest.er1
9072 ac_status=$?
9073 grep -v '^ *+' conftest.er1 >conftest.err
9074 rm -f conftest.er1
9075 cat conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext &&
9081 $as_test_x conftest$ac_exeext; then
9082 ac_cv_lib_X11_XkbQueryExtension=yes
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_X11_XkbQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9096 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_XKB 1
9100 _ACEOF
9106 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9107 then
9108 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9109 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9110 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 else
9113 ac_check_soname_save_LIBS=$LIBS
9114 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9115 cat >conftest.$ac_ext <<_ACEOF
9116 /* confdefs.h. */
9117 _ACEOF
9118 cat confdefs.h >>conftest.$ac_ext
9119 cat >>conftest.$ac_ext <<_ACEOF
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char XcursorImageLoadCursor ();
9130 main ()
9132 return XcursorImageLoadCursor ();
9134 return 0;
9136 _ACEOF
9137 rm -f conftest.$ac_objext conftest$ac_exeext
9138 if { (ac_try="$ac_link"
9139 case "(($ac_try" in
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9142 esac
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_link") 2>conftest.er1
9145 ac_status=$?
9146 grep -v '^ *+' conftest.er1 >conftest.err
9147 rm -f conftest.er1
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } && {
9151 test -z "$ac_c_werror_flag" ||
9152 test ! -s conftest.err
9153 } && test -s conftest$ac_exeext &&
9154 $as_test_x conftest$ac_exeext; then
9155 case "$LIBEXT" in
9156 dll) ;;
9157 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'` ;;
9158 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9159 esac
9160 else
9161 echo "$as_me: failed program was:" >&5
9162 sed 's/^/| /' conftest.$ac_ext >&5
9167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LIBS=$ac_check_soname_save_LIBS
9171 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9172 { echo "$as_me:$LINENO: result: not found" >&5
9173 echo "${ECHO_T}not found" >&6; }
9175 else
9176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9177 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9179 cat >>confdefs.h <<_ACEOF
9180 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9181 _ACEOF
9188 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9189 then
9190 { echo "$as_me:$LINENO: checking for -lXi" >&5
9191 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9192 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9193 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 else
9195 ac_check_soname_save_LIBS=$LIBS
9196 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9197 cat >conftest.$ac_ext <<_ACEOF
9198 /* confdefs.h. */
9199 _ACEOF
9200 cat confdefs.h >>conftest.$ac_ext
9201 cat >>conftest.$ac_ext <<_ACEOF
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char XOpenDevice ();
9212 main ()
9214 return XOpenDevice ();
9216 return 0;
9218 _ACEOF
9219 rm -f conftest.$ac_objext conftest$ac_exeext
9220 if { (ac_try="$ac_link"
9221 case "(($ac_try" in
9222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9223 *) ac_try_echo=$ac_try;;
9224 esac
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_link") 2>conftest.er1
9227 ac_status=$?
9228 grep -v '^ *+' conftest.er1 >conftest.err
9229 rm -f conftest.er1
9230 cat conftest.err >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } && {
9233 test -z "$ac_c_werror_flag" ||
9234 test ! -s conftest.err
9235 } && test -s conftest$ac_exeext &&
9236 $as_test_x conftest$ac_exeext; then
9237 case "$LIBEXT" in
9238 dll) ;;
9239 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'` ;;
9240 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9241 esac
9242 else
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.$ac_ext >&5
9249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_soname_save_LIBS
9253 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9254 { echo "$as_me:$LINENO: result: not found" >&5
9255 echo "${ECHO_T}not found" >&6; }
9257 else
9258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9259 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9261 cat >>confdefs.h <<_ACEOF
9262 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9263 _ACEOF
9270 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9271 then
9272 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9273 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9274 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 else
9277 ac_check_lib_save_LIBS=$LIBS
9278 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9279 cat >conftest.$ac_ext <<_ACEOF
9280 /* confdefs.h. */
9281 _ACEOF
9282 cat confdefs.h >>conftest.$ac_ext
9283 cat >>conftest.$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char XShmQueryExtension ();
9294 main ()
9296 return XShmQueryExtension ();
9298 return 0;
9300 _ACEOF
9301 rm -f conftest.$ac_objext conftest$ac_exeext
9302 if { (ac_try="$ac_link"
9303 case "(($ac_try" in
9304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9306 esac
9307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9308 (eval "$ac_link") 2>conftest.er1
9309 ac_status=$?
9310 grep -v '^ *+' conftest.er1 >conftest.err
9311 rm -f conftest.er1
9312 cat conftest.err >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } && {
9315 test -z "$ac_c_werror_flag" ||
9316 test ! -s conftest.err
9317 } && test -s conftest$ac_exeext &&
9318 $as_test_x conftest$ac_exeext; then
9319 ac_cv_lib_Xext_XShmQueryExtension=yes
9320 else
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 ac_cv_lib_Xext_XShmQueryExtension=no
9327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9331 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9332 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9333 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9335 cat >>confdefs.h <<\_ACEOF
9336 #define HAVE_LIBXXSHM 1
9337 _ACEOF
9343 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9344 then
9345 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9346 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9347 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 else
9350 ac_check_lib_save_LIBS=$LIBS
9351 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9352 cat >conftest.$ac_ext <<_ACEOF
9353 /* confdefs.h. */
9354 _ACEOF
9355 cat confdefs.h >>conftest.$ac_ext
9356 cat >>conftest.$ac_ext <<_ACEOF
9357 /* end confdefs.h. */
9359 /* Override any GCC internal prototype to avoid an error.
9360 Use char because int might match the return type of a GCC
9361 builtin and then its argument prototype would still apply. */
9362 #ifdef __cplusplus
9363 extern "C"
9364 #endif
9365 char XShapeQueryExtension ();
9367 main ()
9369 return XShapeQueryExtension ();
9371 return 0;
9373 _ACEOF
9374 rm -f conftest.$ac_objext conftest$ac_exeext
9375 if { (ac_try="$ac_link"
9376 case "(($ac_try" in
9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9378 *) ac_try_echo=$ac_try;;
9379 esac
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_link") 2>conftest.er1
9382 ac_status=$?
9383 grep -v '^ *+' conftest.er1 >conftest.err
9384 rm -f conftest.er1
9385 cat conftest.err >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } && {
9388 test -z "$ac_c_werror_flag" ||
9389 test ! -s conftest.err
9390 } && test -s conftest$ac_exeext &&
9391 $as_test_x conftest$ac_exeext; then
9392 ac_cv_lib_Xext_XShapeQueryExtension=yes
9393 else
9394 echo "$as_me: failed program was:" >&5
9395 sed 's/^/| /' conftest.$ac_ext >&5
9397 ac_cv_lib_Xext_XShapeQueryExtension=no
9400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS=$ac_check_lib_save_LIBS
9404 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9405 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9406 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9408 cat >>confdefs.h <<\_ACEOF
9409 #define HAVE_LIBXSHAPE 1
9410 _ACEOF
9416 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9417 then
9418 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9419 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9420 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9425 cat >conftest.$ac_ext <<_ACEOF
9426 /* confdefs.h. */
9427 _ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9435 #ifdef __cplusplus
9436 extern "C"
9437 #endif
9438 char XF86VidModeQueryExtension ();
9440 main ()
9442 return XF86VidModeQueryExtension ();
9444 return 0;
9446 _ACEOF
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (ac_try="$ac_link"
9449 case "(($ac_try" in
9450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9451 *) ac_try_echo=$ac_try;;
9452 esac
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_link") 2>conftest.er1
9455 ac_status=$?
9456 grep -v '^ *+' conftest.er1 >conftest.err
9457 rm -f conftest.er1
9458 cat conftest.err >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } && {
9461 test -z "$ac_c_werror_flag" ||
9462 test ! -s conftest.err
9463 } && test -s conftest$ac_exeext &&
9464 $as_test_x conftest$ac_exeext; then
9465 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9466 else
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.$ac_ext >&5
9470 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_lib_save_LIBS
9477 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9478 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9479 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9481 cat >>confdefs.h <<\_ACEOF
9482 #define HAVE_LIBXXF86VM 1
9483 _ACEOF
9485 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9491 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9492 then
9493 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9494 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 ac_check_soname_save_LIBS=$LIBS
9499 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char XRenderQueryExtension ();
9515 main ()
9517 return XRenderQueryExtension ();
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9524 case "(($ac_try" in
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9527 esac
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9540 case "$LIBEXT" in
9541 dll) ;;
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9544 esac
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9560 else
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9566 _ACEOF
9568 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9569 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9570 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9572 else
9573 ac_check_lib_save_LIBS=$LIBS
9574 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9575 cat >conftest.$ac_ext <<_ACEOF
9576 /* confdefs.h. */
9577 _ACEOF
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9585 #ifdef __cplusplus
9586 extern "C"
9587 #endif
9588 char XRenderSetPictureTransform ();
9590 main ()
9592 return XRenderSetPictureTransform ();
9594 return 0;
9596 _ACEOF
9597 rm -f conftest.$ac_objext conftest$ac_exeext
9598 if { (ac_try="$ac_link"
9599 case "(($ac_try" in
9600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9601 *) ac_try_echo=$ac_try;;
9602 esac
9603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9604 (eval "$ac_link") 2>conftest.er1
9605 ac_status=$?
9606 grep -v '^ *+' conftest.er1 >conftest.err
9607 rm -f conftest.er1
9608 cat conftest.err >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } && {
9611 test -z "$ac_c_werror_flag" ||
9612 test ! -s conftest.err
9613 } && test -s conftest$ac_exeext &&
9614 $as_test_x conftest$ac_exeext; then
9615 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9616 else
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.$ac_ext >&5
9620 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9628 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9629 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9631 cat >>confdefs.h <<\_ACEOF
9632 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9633 _ACEOF
9642 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9643 then
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9650 #include <X11/Xlib.h>
9651 #include <X11/extensions/Xrandr.h>
9653 main ()
9655 static typeof(XRRSetScreenConfigAndRate) * func;
9657 return 0;
9659 _ACEOF
9660 rm -f conftest.$ac_objext
9661 if { (ac_try="$ac_compile"
9662 case "(($ac_try" in
9663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9665 esac
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_compile") 2>conftest.er1
9668 ac_status=$?
9669 grep -v '^ *+' conftest.er1 >conftest.err
9670 rm -f conftest.er1
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest.$ac_objext; then
9677 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9678 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9679 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9680 echo $ECHO_N "(cached) $ECHO_C" >&6
9681 else
9682 ac_check_soname_save_LIBS=$LIBS
9683 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9684 cat >conftest.$ac_ext <<_ACEOF
9685 /* confdefs.h. */
9686 _ACEOF
9687 cat confdefs.h >>conftest.$ac_ext
9688 cat >>conftest.$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9694 #ifdef __cplusplus
9695 extern "C"
9696 #endif
9697 char XRRQueryExtension ();
9699 main ()
9701 return XRRQueryExtension ();
9703 return 0;
9705 _ACEOF
9706 rm -f conftest.$ac_objext conftest$ac_exeext
9707 if { (ac_try="$ac_link"
9708 case "(($ac_try" in
9709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9710 *) ac_try_echo=$ac_try;;
9711 esac
9712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9713 (eval "$ac_link") 2>conftest.er1
9714 ac_status=$?
9715 grep -v '^ *+' conftest.er1 >conftest.err
9716 rm -f conftest.er1
9717 cat conftest.err >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); } && {
9720 test -z "$ac_c_werror_flag" ||
9721 test ! -s conftest.err
9722 } && test -s conftest$ac_exeext &&
9723 $as_test_x conftest$ac_exeext; then
9724 case "$LIBEXT" in
9725 dll) ;;
9726 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'` ;;
9727 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9728 esac
9729 else
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_soname_save_LIBS
9740 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9741 { echo "$as_me:$LINENO: result: not found" >&5
9742 echo "${ECHO_T}not found" >&6; }
9744 else
9745 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
9746 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
9748 cat >>confdefs.h <<_ACEOF
9749 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9750 _ACEOF
9755 else
9756 echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.$ac_ext >&5
9762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9765 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9766 then
9767 cat >conftest.$ac_ext <<_ACEOF
9768 /* confdefs.h. */
9769 _ACEOF
9770 cat confdefs.h >>conftest.$ac_ext
9771 cat >>conftest.$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9773 #include <X11/Xlib.h>
9774 #include <X11/extensions/Xinerama.h>
9776 main ()
9778 static typeof(XineramaQueryScreens) * func;
9780 return 0;
9782 _ACEOF
9783 rm -f conftest.$ac_objext
9784 if { (ac_try="$ac_compile"
9785 case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788 esac
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_compile") 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest.$ac_objext; then
9800 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
9801 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
9802 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 else
9805 ac_check_soname_save_LIBS=$LIBS
9806 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9807 cat >conftest.$ac_ext <<_ACEOF
9808 /* confdefs.h. */
9809 _ACEOF
9810 cat confdefs.h >>conftest.$ac_ext
9811 cat >>conftest.$ac_ext <<_ACEOF
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9817 #ifdef __cplusplus
9818 extern "C"
9819 #endif
9820 char XineramaQueryScreens ();
9822 main ()
9824 return XineramaQueryScreens ();
9826 return 0;
9828 _ACEOF
9829 rm -f conftest.$ac_objext conftest$ac_exeext
9830 if { (ac_try="$ac_link"
9831 case "(($ac_try" in
9832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9833 *) ac_try_echo=$ac_try;;
9834 esac
9835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9836 (eval "$ac_link") 2>conftest.er1
9837 ac_status=$?
9838 grep -v '^ *+' conftest.er1 >conftest.err
9839 rm -f conftest.er1
9840 cat conftest.err >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); } && {
9843 test -z "$ac_c_werror_flag" ||
9844 test ! -s conftest.err
9845 } && test -s conftest$ac_exeext &&
9846 $as_test_x conftest$ac_exeext; then
9847 case "$LIBEXT" in
9848 dll) ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9851 esac
9852 else
9853 echo "$as_me: failed program was:" >&5
9854 sed 's/^/| /' conftest.$ac_ext >&5
9859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_soname_save_LIBS
9863 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
9864 { echo "$as_me:$LINENO: result: not found" >&5
9865 echo "${ECHO_T}not found" >&6; }
9867 else
9868 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
9869 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
9871 cat >>confdefs.h <<_ACEOF
9872 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9873 _ACEOF
9878 else
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9889 if test "x$with_opengl" != "xno"
9890 then
9895 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9898 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 else
9903 cat >conftest.$ac_ext <<_ACEOF
9904 /* confdefs.h. */
9905 _ACEOF
9906 cat confdefs.h >>conftest.$ac_ext
9907 cat >>conftest.$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9909 #ifdef HAVE_GL_GLX_H
9910 # include <GL/glx.h>
9911 #endif
9913 #include <$ac_header>
9914 _ACEOF
9915 rm -f conftest.$ac_objext
9916 if { (ac_try="$ac_compile"
9917 case "(($ac_try" in
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9920 esac
9921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_compile") 2>conftest.er1
9923 ac_status=$?
9924 grep -v '^ *+' conftest.er1 >conftest.err
9925 rm -f conftest.er1
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } && {
9929 test -z "$ac_c_werror_flag" ||
9930 test ! -s conftest.err
9931 } && test -s conftest.$ac_objext; then
9932 eval "$as_ac_Header=yes"
9933 else
9934 echo "$as_me: failed program was:" >&5
9935 sed 's/^/| /' conftest.$ac_ext >&5
9937 eval "$as_ac_Header=no"
9940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9942 ac_res=`eval echo '${'$as_ac_Header'}'`
9943 { echo "$as_me:$LINENO: result: $ac_res" >&5
9944 echo "${ECHO_T}$ac_res" >&6; }
9945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9946 cat >>confdefs.h <<_ACEOF
9947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9948 _ACEOF
9952 done
9954 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9955 then
9956 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9957 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9958 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9960 else
9961 cat >conftest.$ac_ext <<_ACEOF
9962 /* confdefs.h. */
9963 _ACEOF
9964 cat confdefs.h >>conftest.$ac_ext
9965 cat >>conftest.$ac_ext <<_ACEOF
9966 /* end confdefs.h. */
9967 #include <GL/gl.h>
9969 main ()
9971 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9973 return 0;
9975 _ACEOF
9976 rm -f conftest.$ac_objext
9977 if { (ac_try="$ac_compile"
9978 case "(($ac_try" in
9979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9980 *) ac_try_echo=$ac_try;;
9981 esac
9982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9983 (eval "$ac_compile") 2>conftest.er1
9984 ac_status=$?
9985 grep -v '^ *+' conftest.er1 >conftest.err
9986 rm -f conftest.er1
9987 cat conftest.err >&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); } && {
9990 test -z "$ac_c_werror_flag" ||
9991 test ! -s conftest.err
9992 } && test -s conftest.$ac_objext; then
9993 wine_cv_opengl_header_version_OK="yes"
9994 else
9995 echo "$as_me: failed program was:" >&5
9996 sed 's/^/| /' conftest.$ac_ext >&5
9998 wine_cv_opengl_header_version_OK="no"
10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10003 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10004 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10006 if test "$wine_cv_opengl_header_version_OK" = "yes"
10007 then
10008 { echo "$as_me:$LINENO: checking for -lGL" >&5
10009 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10010 if test "${ac_cv_lib_soname_GL+set}" = set; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6
10012 else
10013 ac_check_soname_save_LIBS=$LIBS
10014 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10015 cat >conftest.$ac_ext <<_ACEOF
10016 /* confdefs.h. */
10017 _ACEOF
10018 cat confdefs.h >>conftest.$ac_ext
10019 cat >>conftest.$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10022 /* Override any GCC internal prototype to avoid an error.
10023 Use char because int might match the return type of a GCC
10024 builtin and then its argument prototype would still apply. */
10025 #ifdef __cplusplus
10026 extern "C"
10027 #endif
10028 char glXCreateContext ();
10030 main ()
10032 return glXCreateContext ();
10034 return 0;
10036 _ACEOF
10037 rm -f conftest.$ac_objext conftest$ac_exeext
10038 if { (ac_try="$ac_link"
10039 case "(($ac_try" in
10040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10041 *) ac_try_echo=$ac_try;;
10042 esac
10043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10044 (eval "$ac_link") 2>conftest.er1
10045 ac_status=$?
10046 grep -v '^ *+' conftest.er1 >conftest.err
10047 rm -f conftest.er1
10048 cat conftest.err >&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } && {
10051 test -z "$ac_c_werror_flag" ||
10052 test ! -s conftest.err
10053 } && test -s conftest$ac_exeext &&
10054 $as_test_x conftest$ac_exeext; then
10055 case "$LIBEXT" in
10056 dll) ;;
10057 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'` ;;
10058 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10059 esac
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_ipa8_conftest.oo \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_soname_save_LIBS
10071 if test "x$ac_cv_lib_soname_GL" = "x"; then
10072 { echo "$as_me:$LINENO: result: not found" >&5
10073 echo "${ECHO_T}not found" >&6; }
10075 else
10076 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10077 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10079 cat >>confdefs.h <<_ACEOF
10080 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10081 _ACEOF
10083 OPENGL_LIBS="-lGL"
10084 OPENGLFILES='$(OPENGLFILES)'
10086 cat >>confdefs.h <<\_ACEOF
10087 #define HAVE_OPENGL 1
10088 _ACEOF
10094 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10095 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10096 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 else
10099 ac_check_lib_save_LIBS=$LIBS
10100 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10101 $LIBS"
10102 cat >conftest.$ac_ext <<_ACEOF
10103 /* confdefs.h. */
10104 _ACEOF
10105 cat confdefs.h >>conftest.$ac_ext
10106 cat >>conftest.$ac_ext <<_ACEOF
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char gluLookAt ();
10117 main ()
10119 return gluLookAt ();
10121 return 0;
10123 _ACEOF
10124 rm -f conftest.$ac_objext conftest$ac_exeext
10125 if { (ac_try="$ac_link"
10126 case "(($ac_try" in
10127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10128 *) ac_try_echo=$ac_try;;
10129 esac
10130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10131 (eval "$ac_link") 2>conftest.er1
10132 ac_status=$?
10133 grep -v '^ *+' conftest.er1 >conftest.err
10134 rm -f conftest.er1
10135 cat conftest.err >&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); } && {
10138 test -z "$ac_c_werror_flag" ||
10139 test ! -s conftest.err
10140 } && test -s conftest$ac_exeext &&
10141 $as_test_x conftest$ac_exeext; then
10142 ac_cv_lib_GLU_gluLookAt=yes
10143 else
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10147 ac_cv_lib_GLU_gluLookAt=no
10150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10151 conftest$ac_exeext conftest.$ac_ext
10152 LIBS=$ac_check_lib_save_LIBS
10154 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10155 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10156 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10157 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10158 GLU32FILES='$(GLU32FILES)'
10163 else
10164 wine_cv_opengl_headers_found="no"
10167 NASLIBS=""
10170 for ac_header in audio/audiolib.h
10172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 ac_res=`eval echo '${'$as_ac_Header'}'`
10180 { echo "$as_me:$LINENO: result: $ac_res" >&5
10181 echo "${ECHO_T}$ac_res" >&6; }
10182 else
10183 # Is the header compilable?
10184 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 $ac_includes_default
10193 #include <$ac_header>
10194 _ACEOF
10195 rm -f conftest.$ac_objext
10196 if { (ac_try="$ac_compile"
10197 case "(($ac_try" in
10198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10199 *) ac_try_echo=$ac_try;;
10200 esac
10201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10202 (eval "$ac_compile") 2>conftest.er1
10203 ac_status=$?
10204 grep -v '^ *+' conftest.er1 >conftest.err
10205 rm -f conftest.er1
10206 cat conftest.err >&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); } && {
10209 test -z "$ac_c_werror_flag" ||
10210 test ! -s conftest.err
10211 } && test -s conftest.$ac_objext; then
10212 ac_header_compiler=yes
10213 else
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.$ac_ext >&5
10217 ac_header_compiler=no
10220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10221 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10222 echo "${ECHO_T}$ac_header_compiler" >&6; }
10224 # Is the header present?
10225 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10233 #include <$ac_header>
10234 _ACEOF
10235 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
10248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10249 test ! -s conftest.err
10250 }; then
10251 ac_header_preproc=yes
10252 else
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10256 ac_header_preproc=no
10259 rm -f conftest.err conftest.$ac_ext
10260 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10261 echo "${ECHO_T}$ac_header_preproc" >&6; }
10263 # So? What about this header?
10264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10265 yes:no: )
10266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10270 ac_header_preproc=yes
10272 no:yes:* )
10273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10285 ( cat <<\_ASBOX
10286 ## ------------------------------------ ##
10287 ## Report this to wine-devel@winehq.org ##
10288 ## ------------------------------------ ##
10289 _ASBOX
10290 ) | sed "s/^/$as_me: WARNING: /" >&2
10292 esac
10293 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 else
10298 eval "$as_ac_Header=\$ac_header_preproc"
10300 ac_res=`eval echo '${'$as_ac_Header'}'`
10301 { echo "$as_me:$LINENO: result: $ac_res" >&5
10302 echo "${ECHO_T}$ac_res" >&6; }
10305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10306 cat >>confdefs.h <<_ACEOF
10307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10308 _ACEOF
10310 for ac_header in audio/soundlib.h
10312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10313 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 else
10318 cat >conftest.$ac_ext <<_ACEOF
10319 /* confdefs.h. */
10320 _ACEOF
10321 cat confdefs.h >>conftest.$ac_ext
10322 cat >>conftest.$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10324 #include <audio/audiolib.h>
10326 #include <$ac_header>
10327 _ACEOF
10328 rm -f conftest.$ac_objext
10329 if { (ac_try="$ac_compile"
10330 case "(($ac_try" in
10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10332 *) ac_try_echo=$ac_try;;
10333 esac
10334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_compile") 2>conftest.er1
10336 ac_status=$?
10337 grep -v '^ *+' conftest.er1 >conftest.err
10338 rm -f conftest.er1
10339 cat conftest.err >&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); } && {
10342 test -z "$ac_c_werror_flag" ||
10343 test ! -s conftest.err
10344 } && test -s conftest.$ac_objext; then
10345 eval "$as_ac_Header=yes"
10346 else
10347 echo "$as_me: failed program was:" >&5
10348 sed 's/^/| /' conftest.$ac_ext >&5
10350 eval "$as_ac_Header=no"
10353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10355 ac_res=`eval echo '${'$as_ac_Header'}'`
10356 { echo "$as_me:$LINENO: result: $ac_res" >&5
10357 echo "${ECHO_T}$ac_res" >&6; }
10358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10359 cat >>confdefs.h <<_ACEOF
10360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10361 _ACEOF
10365 done
10367 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10368 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10369 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 ac_check_lib_save_LIBS=$LIBS
10373 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10374 cat >conftest.$ac_ext <<_ACEOF
10375 /* confdefs.h. */
10376 _ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10381 /* Override any GCC internal prototype to avoid an error.
10382 Use char because int might match the return type of a GCC
10383 builtin and then its argument prototype would still apply. */
10384 #ifdef __cplusplus
10385 extern "C"
10386 #endif
10387 char AuCreateFlow ();
10389 main ()
10391 return AuCreateFlow ();
10393 return 0;
10395 _ACEOF
10396 rm -f conftest.$ac_objext conftest$ac_exeext
10397 if { (ac_try="$ac_link"
10398 case "(($ac_try" in
10399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10400 *) ac_try_echo=$ac_try;;
10401 esac
10402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10403 (eval "$ac_link") 2>conftest.er1
10404 ac_status=$?
10405 grep -v '^ *+' conftest.er1 >conftest.err
10406 rm -f conftest.er1
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } && {
10410 test -z "$ac_c_werror_flag" ||
10411 test ! -s conftest.err
10412 } && test -s conftest$ac_exeext &&
10413 $as_test_x conftest$ac_exeext; then
10414 ac_cv_lib_audio_AuCreateFlow=yes
10415 else
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.$ac_ext >&5
10419 ac_cv_lib_audio_AuCreateFlow=no
10422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10423 conftest$ac_exeext conftest.$ac_ext
10424 LIBS=$ac_check_lib_save_LIBS
10426 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10427 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10428 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10430 cat >>confdefs.h <<\_ACEOF
10431 #define HAVE_NAS 1
10432 _ACEOF
10434 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10435 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10436 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10439 ac_check_lib_save_LIBS=$LIBS
10440 LIBS="-lXau $X_LIBS $LIBS"
10441 cat >conftest.$ac_ext <<_ACEOF
10442 /* confdefs.h. */
10443 _ACEOF
10444 cat confdefs.h >>conftest.$ac_ext
10445 cat >>conftest.$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char XauGetBestAuthByAddr ();
10456 main ()
10458 return XauGetBestAuthByAddr ();
10460 return 0;
10462 _ACEOF
10463 rm -f conftest.$ac_objext conftest$ac_exeext
10464 if { (ac_try="$ac_link"
10465 case "(($ac_try" in
10466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10467 *) ac_try_echo=$ac_try;;
10468 esac
10469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10470 (eval "$ac_link") 2>conftest.er1
10471 ac_status=$?
10472 grep -v '^ *+' conftest.er1 >conftest.err
10473 rm -f conftest.er1
10474 cat conftest.err >&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } && {
10477 test -z "$ac_c_werror_flag" ||
10478 test ! -s conftest.err
10479 } && test -s conftest$ac_exeext &&
10480 $as_test_x conftest$ac_exeext; then
10481 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10482 else
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10486 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10490 conftest$ac_exeext conftest.$ac_ext
10491 LIBS=$ac_check_lib_save_LIBS
10493 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10494 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10495 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10496 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10497 else
10498 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10506 done
10509 CPPFLAGS="$ac_save_CPPFLAGS"
10510 XFILES='$(XFILES)'
10511 else
10512 XLIB=""
10513 X_CFLAGS=""
10514 X_LIBS=""
10518 XML2LIBS=""
10520 XML2INCL=""
10522 XSLTLIBS=""
10524 XSLTINCL=""
10526 ac_save_CPPFLAGS="$CPPFLAGS"
10527 if test "$PKG_CONFIG" != "false"
10528 then
10529 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10530 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10531 else
10532 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10533 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10535 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10537 for ac_header in libxml/parser.h
10539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 ac_res=`eval echo '${'$as_ac_Header'}'`
10547 { echo "$as_me:$LINENO: result: $ac_res" >&5
10548 echo "${ECHO_T}$ac_res" >&6; }
10549 else
10550 # Is the header compilable?
10551 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10553 cat >conftest.$ac_ext <<_ACEOF
10554 /* confdefs.h. */
10555 _ACEOF
10556 cat confdefs.h >>conftest.$ac_ext
10557 cat >>conftest.$ac_ext <<_ACEOF
10558 /* end confdefs.h. */
10559 $ac_includes_default
10560 #include <$ac_header>
10561 _ACEOF
10562 rm -f conftest.$ac_objext
10563 if { (ac_try="$ac_compile"
10564 case "(($ac_try" in
10565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10566 *) ac_try_echo=$ac_try;;
10567 esac
10568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10569 (eval "$ac_compile") 2>conftest.er1
10570 ac_status=$?
10571 grep -v '^ *+' conftest.er1 >conftest.err
10572 rm -f conftest.er1
10573 cat conftest.err >&5
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); } && {
10576 test -z "$ac_c_werror_flag" ||
10577 test ! -s conftest.err
10578 } && test -s conftest.$ac_objext; then
10579 ac_header_compiler=yes
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10584 ac_header_compiler=no
10587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10588 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10589 echo "${ECHO_T}$ac_header_compiler" >&6; }
10591 # Is the header present?
10592 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10594 cat >conftest.$ac_ext <<_ACEOF
10595 /* confdefs.h. */
10596 _ACEOF
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600 #include <$ac_header>
10601 _ACEOF
10602 if { (ac_try="$ac_cpp conftest.$ac_ext"
10603 case "(($ac_try" in
10604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605 *) ac_try_echo=$ac_try;;
10606 esac
10607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10609 ac_status=$?
10610 grep -v '^ *+' conftest.er1 >conftest.err
10611 rm -f conftest.er1
10612 cat conftest.err >&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); } >/dev/null && {
10615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10616 test ! -s conftest.err
10617 }; then
10618 ac_header_preproc=yes
10619 else
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.$ac_ext >&5
10623 ac_header_preproc=no
10626 rm -f conftest.err conftest.$ac_ext
10627 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10628 echo "${ECHO_T}$ac_header_preproc" >&6; }
10630 # So? What about this header?
10631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10632 yes:no: )
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10637 ac_header_preproc=yes
10639 no:yes:* )
10640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10652 ( cat <<\_ASBOX
10653 ## ------------------------------------ ##
10654 ## Report this to wine-devel@winehq.org ##
10655 ## ------------------------------------ ##
10656 _ASBOX
10657 ) | sed "s/^/$as_me: WARNING: /" >&2
10659 esac
10660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10665 eval "$as_ac_Header=\$ac_header_preproc"
10667 ac_res=`eval echo '${'$as_ac_Header'}'`
10668 { echo "$as_me:$LINENO: result: $ac_res" >&5
10669 echo "${ECHO_T}$ac_res" >&6; }
10672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10673 cat >>confdefs.h <<_ACEOF
10674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10675 _ACEOF
10676 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10677 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10678 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 else
10681 ac_check_lib_save_LIBS=$LIBS
10682 LIBS="-lxml2 $ac_xml_libs $LIBS"
10683 cat >conftest.$ac_ext <<_ACEOF
10684 /* confdefs.h. */
10685 _ACEOF
10686 cat confdefs.h >>conftest.$ac_ext
10687 cat >>conftest.$ac_ext <<_ACEOF
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10693 #ifdef __cplusplus
10694 extern "C"
10695 #endif
10696 char xmlParseMemory ();
10698 main ()
10700 return xmlParseMemory ();
10702 return 0;
10704 _ACEOF
10705 rm -f conftest.$ac_objext conftest$ac_exeext
10706 if { (ac_try="$ac_link"
10707 case "(($ac_try" in
10708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10709 *) ac_try_echo=$ac_try;;
10710 esac
10711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10712 (eval "$ac_link") 2>conftest.er1
10713 ac_status=$?
10714 grep -v '^ *+' conftest.er1 >conftest.err
10715 rm -f conftest.er1
10716 cat conftest.err >&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } && {
10719 test -z "$ac_c_werror_flag" ||
10720 test ! -s conftest.err
10721 } && test -s conftest$ac_exeext &&
10722 $as_test_x conftest$ac_exeext; then
10723 ac_cv_lib_xml2_xmlParseMemory=yes
10724 else
10725 echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ac_cv_lib_xml2_xmlParseMemory=no
10731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10736 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10737 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10739 cat >>confdefs.h <<\_ACEOF
10740 #define HAVE_LIBXML2 1
10741 _ACEOF
10743 XML2LIBS="$ac_xml_libs"
10744 XML2INCL="$ac_xml_cflags"
10747 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10748 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10749 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 ac_check_lib_save_LIBS=$LIBS
10753 LIBS="-lxml2 $ac_xml_libs $LIBS"
10754 cat >conftest.$ac_ext <<_ACEOF
10755 /* confdefs.h. */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10764 #ifdef __cplusplus
10765 extern "C"
10766 #endif
10767 char xmlReadMemory ();
10769 main ()
10771 return xmlReadMemory ();
10773 return 0;
10775 _ACEOF
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (ac_try="$ac_link"
10778 case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10781 esac
10782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_link") 2>conftest.er1
10784 ac_status=$?
10785 grep -v '^ *+' conftest.er1 >conftest.err
10786 rm -f conftest.er1
10787 cat conftest.err >&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } && {
10790 test -z "$ac_c_werror_flag" ||
10791 test ! -s conftest.err
10792 } && test -s conftest$ac_exeext &&
10793 $as_test_x conftest$ac_exeext; then
10794 ac_cv_lib_xml2_xmlReadMemory=yes
10795 else
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_lib_xml2_xmlReadMemory=no
10802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10807 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10808 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10810 cat >>confdefs.h <<\_ACEOF
10811 #define HAVE_XMLREADMEMORY 1
10812 _ACEOF
10816 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10817 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10818 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 else
10821 ac_check_lib_save_LIBS=$LIBS
10822 LIBS="-lxml2 $ac_xml_libs $LIBS"
10823 cat >conftest.$ac_ext <<_ACEOF
10824 /* confdefs.h. */
10825 _ACEOF
10826 cat confdefs.h >>conftest.$ac_ext
10827 cat >>conftest.$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 char xmlNewDocPI ();
10838 main ()
10840 return xmlNewDocPI ();
10842 return 0;
10844 _ACEOF
10845 rm -f conftest.$ac_objext conftest$ac_exeext
10846 if { (ac_try="$ac_link"
10847 case "(($ac_try" in
10848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10849 *) ac_try_echo=$ac_try;;
10850 esac
10851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10852 (eval "$ac_link") 2>conftest.er1
10853 ac_status=$?
10854 grep -v '^ *+' conftest.er1 >conftest.err
10855 rm -f conftest.er1
10856 cat conftest.err >&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); } && {
10859 test -z "$ac_c_werror_flag" ||
10860 test ! -s conftest.err
10861 } && test -s conftest$ac_exeext &&
10862 $as_test_x conftest$ac_exeext; then
10863 ac_cv_lib_xml2_xmlNewDocPI=yes
10864 else
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.$ac_ext >&5
10868 ac_cv_lib_xml2_xmlNewDocPI=no
10871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LIBS=$ac_check_lib_save_LIBS
10875 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10876 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10877 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10879 cat >>confdefs.h <<\_ACEOF
10880 #define HAVE_XMLNEWDOCPI 1
10881 _ACEOF
10888 done
10890 CPPFLAGS="$ac_save_CPPFLAGS"
10891 if test "$PKG_CONFIG" != "false"
10892 then
10893 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10894 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10895 else
10896 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
10897 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
10899 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10902 for ac_header in libxslt/pattern.h libxslt/transform.h
10904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 else
10910 cat >conftest.$ac_ext <<_ACEOF
10911 /* confdefs.h. */
10912 _ACEOF
10913 cat confdefs.h >>conftest.$ac_ext
10914 cat >>conftest.$ac_ext <<_ACEOF
10915 /* end confdefs.h. */
10916 #ifdef HAVE_LIBXSLT_PATTERN_H
10917 # include <libxslt/pattern.h>
10918 #endif
10920 #include <$ac_header>
10921 _ACEOF
10922 rm -f conftest.$ac_objext
10923 if { (ac_try="$ac_compile"
10924 case "(($ac_try" in
10925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10926 *) ac_try_echo=$ac_try;;
10927 esac
10928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10929 (eval "$ac_compile") 2>conftest.er1
10930 ac_status=$?
10931 grep -v '^ *+' conftest.er1 >conftest.err
10932 rm -f conftest.er1
10933 cat conftest.err >&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } && {
10936 test -z "$ac_c_werror_flag" ||
10937 test ! -s conftest.err
10938 } && test -s conftest.$ac_objext; then
10939 eval "$as_ac_Header=yes"
10940 else
10941 echo "$as_me: failed program was:" >&5
10942 sed 's/^/| /' conftest.$ac_ext >&5
10944 eval "$as_ac_Header=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10949 ac_res=`eval echo '${'$as_ac_Header'}'`
10950 { echo "$as_me:$LINENO: result: $ac_res" >&5
10951 echo "${ECHO_T}$ac_res" >&6; }
10952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10953 cat >>confdefs.h <<_ACEOF
10954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10955 _ACEOF
10956 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10957 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10958 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lxslt $ac_xslt_libs $LIBS"
10963 cat >conftest.$ac_ext <<_ACEOF
10964 /* confdefs.h. */
10965 _ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char xsltCompilePattern ();
10978 main ()
10980 return xsltCompilePattern ();
10982 return 0;
10984 _ACEOF
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (ac_try="$ac_link"
10987 case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10990 esac
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10993 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_c_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest$ac_exeext &&
11002 $as_test_x conftest$ac_exeext; then
11003 ac_cv_lib_xslt_xsltCompilePattern=yes
11004 else
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.$ac_ext >&5
11008 ac_cv_lib_xslt_xsltCompilePattern=no
11011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11016 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11017 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11019 cat >>confdefs.h <<\_ACEOF
11020 #define HAVE_LIBXSLT 1
11021 _ACEOF
11023 XSLTLIBS="$ac_xslt_libs"
11024 XSLTINCL="$ac_xslt_cflags"
11030 done
11032 CPPFLAGS="$ac_save_CPPFLAGS"
11034 HALINCL=""
11036 if test "$PKG_CONFIG" != "false"
11037 then
11038 ac_save_CPPFLAGS="$CPPFLAGS"
11039 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11040 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11041 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11044 for ac_header in dbus/dbus.h hal/libhal.h
11046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 ac_res=`eval echo '${'$as_ac_Header'}'`
11054 { echo "$as_me:$LINENO: result: $ac_res" >&5
11055 echo "${ECHO_T}$ac_res" >&6; }
11056 else
11057 # Is the header compilable?
11058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11060 cat >conftest.$ac_ext <<_ACEOF
11061 /* confdefs.h. */
11062 _ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 $ac_includes_default
11067 #include <$ac_header>
11068 _ACEOF
11069 rm -f conftest.$ac_objext
11070 if { (ac_try="$ac_compile"
11071 case "(($ac_try" in
11072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11073 *) ac_try_echo=$ac_try;;
11074 esac
11075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11076 (eval "$ac_compile") 2>conftest.er1
11077 ac_status=$?
11078 grep -v '^ *+' conftest.er1 >conftest.err
11079 rm -f conftest.er1
11080 cat conftest.err >&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } && {
11083 test -z "$ac_c_werror_flag" ||
11084 test ! -s conftest.err
11085 } && test -s conftest.$ac_objext; then
11086 ac_header_compiler=yes
11087 else
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11091 ac_header_compiler=no
11094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11096 echo "${ECHO_T}$ac_header_compiler" >&6; }
11098 # Is the header present?
11099 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11101 cat >conftest.$ac_ext <<_ACEOF
11102 /* confdefs.h. */
11103 _ACEOF
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11107 #include <$ac_header>
11108 _ACEOF
11109 if { (ac_try="$ac_cpp conftest.$ac_ext"
11110 case "(($ac_try" in
11111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11112 *) ac_try_echo=$ac_try;;
11113 esac
11114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11116 ac_status=$?
11117 grep -v '^ *+' conftest.er1 >conftest.err
11118 rm -f conftest.er1
11119 cat conftest.err >&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } >/dev/null && {
11122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11123 test ! -s conftest.err
11124 }; then
11125 ac_header_preproc=yes
11126 else
11127 echo "$as_me: failed program was:" >&5
11128 sed 's/^/| /' conftest.$ac_ext >&5
11130 ac_header_preproc=no
11133 rm -f conftest.err conftest.$ac_ext
11134 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11135 echo "${ECHO_T}$ac_header_preproc" >&6; }
11137 # So? What about this header?
11138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11139 yes:no: )
11140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11144 ac_header_preproc=yes
11146 no:yes:* )
11147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11159 ( cat <<\_ASBOX
11160 ## ------------------------------------ ##
11161 ## Report this to wine-devel@winehq.org ##
11162 ## ------------------------------------ ##
11163 _ASBOX
11164 ) | sed "s/^/$as_me: WARNING: /" >&2
11166 esac
11167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 else
11172 eval "$as_ac_Header=\$ac_header_preproc"
11174 ac_res=`eval echo '${'$as_ac_Header'}'`
11175 { echo "$as_me:$LINENO: result: $ac_res" >&5
11176 echo "${ECHO_T}$ac_res" >&6; }
11179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11180 cat >>confdefs.h <<_ACEOF
11181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11182 _ACEOF
11186 done
11188 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11189 then
11190 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11191 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11192 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11197 cat >conftest.$ac_ext <<_ACEOF
11198 /* confdefs.h. */
11199 _ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char dbus_connection_close ();
11212 main ()
11214 return dbus_connection_close ();
11216 return 0;
11218 _ACEOF
11219 rm -f conftest.$ac_objext conftest$ac_exeext
11220 if { (ac_try="$ac_link"
11221 case "(($ac_try" in
11222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11223 *) ac_try_echo=$ac_try;;
11224 esac
11225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11226 (eval "$ac_link") 2>conftest.er1
11227 ac_status=$?
11228 grep -v '^ *+' conftest.er1 >conftest.err
11229 rm -f conftest.er1
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } && {
11233 test -z "$ac_c_werror_flag" ||
11234 test ! -s conftest.err
11235 } && test -s conftest$ac_exeext &&
11236 $as_test_x conftest$ac_exeext; then
11237 ac_cv_lib_dbus_1_dbus_connection_close=yes
11238 else
11239 echo "$as_me: failed program was:" >&5
11240 sed 's/^/| /' conftest.$ac_ext >&5
11242 ac_cv_lib_dbus_1_dbus_connection_close=no
11245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11250 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11251 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11252 { echo "$as_me:$LINENO: checking for -lhal" >&5
11253 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11254 if test "${ac_cv_lib_soname_hal+set}" = set; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 else
11257 ac_check_soname_save_LIBS=$LIBS
11258 LIBS="-lhal $ac_hal_libs $LIBS"
11259 cat >conftest.$ac_ext <<_ACEOF
11260 /* confdefs.h. */
11261 _ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11269 #ifdef __cplusplus
11270 extern "C"
11271 #endif
11272 char libhal_ctx_new ();
11274 main ()
11276 return libhal_ctx_new ();
11278 return 0;
11280 _ACEOF
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (ac_try="$ac_link"
11283 case "(($ac_try" in
11284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11285 *) ac_try_echo=$ac_try;;
11286 esac
11287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11288 (eval "$ac_link") 2>conftest.er1
11289 ac_status=$?
11290 grep -v '^ *+' conftest.er1 >conftest.err
11291 rm -f conftest.er1
11292 cat conftest.err >&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } && {
11295 test -z "$ac_c_werror_flag" ||
11296 test ! -s conftest.err
11297 } && test -s conftest$ac_exeext &&
11298 $as_test_x conftest$ac_exeext; then
11299 case "$LIBEXT" in
11300 dll) ;;
11301 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'` ;;
11302 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11303 esac
11304 else
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11312 conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_soname_save_LIBS
11315 if test "x$ac_cv_lib_soname_hal" = "x"; then
11316 { echo "$as_me:$LINENO: result: not found" >&5
11317 echo "${ECHO_T}not found" >&6; }
11319 else
11320 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11321 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11323 cat >>confdefs.h <<_ACEOF
11324 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11325 _ACEOF
11327 HALINCL="$ac_hal_cflags"
11333 CPPFLAGS="$ac_save_CPPFLAGS"
11336 CURSESLIBS=""
11337 if test "$ac_cv_header_ncurses_h" = "yes"
11338 then
11339 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11340 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11341 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 else
11344 ac_check_soname_save_LIBS=$LIBS
11345 LIBS="-lncurses $LIBS"
11346 cat >conftest.$ac_ext <<_ACEOF
11347 /* confdefs.h. */
11348 _ACEOF
11349 cat confdefs.h >>conftest.$ac_ext
11350 cat >>conftest.$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char waddch ();
11361 main ()
11363 return waddch ();
11365 return 0;
11367 _ACEOF
11368 rm -f conftest.$ac_objext conftest$ac_exeext
11369 if { (ac_try="$ac_link"
11370 case "(($ac_try" in
11371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11372 *) ac_try_echo=$ac_try;;
11373 esac
11374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11375 (eval "$ac_link") 2>conftest.er1
11376 ac_status=$?
11377 grep -v '^ *+' conftest.er1 >conftest.err
11378 rm -f conftest.er1
11379 cat conftest.err >&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } && {
11382 test -z "$ac_c_werror_flag" ||
11383 test ! -s conftest.err
11384 } && test -s conftest$ac_exeext &&
11385 $as_test_x conftest$ac_exeext; then
11386 case "$LIBEXT" in
11387 dll) ;;
11388 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'` ;;
11389 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11390 esac
11391 else
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.$ac_ext >&5
11398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_soname_save_LIBS
11402 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11403 { echo "$as_me:$LINENO: result: not found" >&5
11404 echo "${ECHO_T}not found" >&6; }
11406 else
11407 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11408 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11410 cat >>confdefs.h <<_ACEOF
11411 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11412 _ACEOF
11414 CURSESLIBS="-lncurses"
11417 elif test "$ac_cv_header_curses_h" = "yes"
11418 then
11419 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11420 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11421 if test "${ac_cv_lib_soname_curses+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424 ac_check_soname_save_LIBS=$LIBS
11425 LIBS="-lcurses $LIBS"
11426 cat >conftest.$ac_ext <<_ACEOF
11427 /* confdefs.h. */
11428 _ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char waddch ();
11441 main ()
11443 return waddch ();
11445 return 0;
11447 _ACEOF
11448 rm -f conftest.$ac_objext conftest$ac_exeext
11449 if { (ac_try="$ac_link"
11450 case "(($ac_try" in
11451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11453 esac
11454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11455 (eval "$ac_link") 2>conftest.er1
11456 ac_status=$?
11457 grep -v '^ *+' conftest.er1 >conftest.err
11458 rm -f conftest.er1
11459 cat conftest.err >&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } && {
11462 test -z "$ac_c_werror_flag" ||
11463 test ! -s conftest.err
11464 } && test -s conftest$ac_exeext &&
11465 $as_test_x conftest$ac_exeext; then
11466 case "$LIBEXT" in
11467 dll) ;;
11468 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'` ;;
11469 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11470 esac
11471 else
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_soname_save_LIBS
11482 if test "x$ac_cv_lib_soname_curses" = "x"; then
11483 { echo "$as_me:$LINENO: result: not found" >&5
11484 echo "${ECHO_T}not found" >&6; }
11486 else
11487 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11488 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11490 cat >>confdefs.h <<_ACEOF
11491 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11492 _ACEOF
11494 CURSESLIBS="-lcurses"
11498 ac_save_LIBS="$LIBS"
11499 LIBS="$LIBS $CURSESLIBS"
11501 for ac_func in mousemask
11503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 else
11509 cat >conftest.$ac_ext <<_ACEOF
11510 /* confdefs.h. */
11511 _ACEOF
11512 cat confdefs.h >>conftest.$ac_ext
11513 cat >>conftest.$ac_ext <<_ACEOF
11514 /* end confdefs.h. */
11515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11517 #define $ac_func innocuous_$ac_func
11519 /* System header to define __stub macros and hopefully few prototypes,
11520 which can conflict with char $ac_func (); below.
11521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11522 <limits.h> exists even on freestanding compilers. */
11524 #ifdef __STDC__
11525 # include <limits.h>
11526 #else
11527 # include <assert.h>
11528 #endif
11530 #undef $ac_func
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char $ac_func ();
11539 /* The GNU C library defines this for functions which it implements
11540 to always fail with ENOSYS. Some functions are actually named
11541 something starting with __ and the normal name is an alias. */
11542 #if defined __stub_$ac_func || defined __stub___$ac_func
11543 choke me
11544 #endif
11547 main ()
11549 return $ac_func ();
11551 return 0;
11553 _ACEOF
11554 rm -f conftest.$ac_objext conftest$ac_exeext
11555 if { (ac_try="$ac_link"
11556 case "(($ac_try" in
11557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11558 *) ac_try_echo=$ac_try;;
11559 esac
11560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11561 (eval "$ac_link") 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } && {
11568 test -z "$ac_c_werror_flag" ||
11569 test ! -s conftest.err
11570 } && test -s conftest$ac_exeext &&
11571 $as_test_x conftest$ac_exeext; then
11572 eval "$as_ac_var=yes"
11573 else
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 eval "$as_ac_var=no"
11580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11581 conftest$ac_exeext conftest.$ac_ext
11583 ac_res=`eval echo '${'$as_ac_var'}'`
11584 { echo "$as_me:$LINENO: result: $ac_res" >&5
11585 echo "${ECHO_T}$ac_res" >&6; }
11586 if test `eval echo '${'$as_ac_var'}'` = yes; then
11587 cat >>confdefs.h <<_ACEOF
11588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11589 _ACEOF
11592 done
11594 LIBS="$ac_save_LIBS"
11596 # Extract the first word of "sane-config", so it can be a program name with args.
11597 set dummy sane-config; ac_word=$2
11598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11600 if test "${ac_cv_prog_sane_devel+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 else
11603 if test -n "$sane_devel"; then
11604 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11605 else
11606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11607 for as_dir in $PATH
11609 IFS=$as_save_IFS
11610 test -z "$as_dir" && as_dir=.
11611 for ac_exec_ext in '' $ac_executable_extensions; do
11612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11613 ac_cv_prog_sane_devel="sane-config"
11614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11615 break 2
11617 done
11618 done
11619 IFS=$as_save_IFS
11621 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11624 sane_devel=$ac_cv_prog_sane_devel
11625 if test -n "$sane_devel"; then
11626 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11627 echo "${ECHO_T}$sane_devel" >&6; }
11628 else
11629 { echo "$as_me:$LINENO: result: no" >&5
11630 echo "${ECHO_T}no" >&6; }
11634 if test "$sane_devel" != "no"
11635 then
11636 ac_sane_incl="`$sane_devel --cflags`"
11637 ac_save_CPPFLAGS="$CPPFLAGS"
11638 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11639 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11640 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11641 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11642 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11646 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11647 else
11648 # Is the header compilable?
11649 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11650 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11651 cat >conftest.$ac_ext <<_ACEOF
11652 /* confdefs.h. */
11653 _ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11657 $ac_includes_default
11658 #include <sane/sane.h>
11659 _ACEOF
11660 rm -f conftest.$ac_objext
11661 if { (ac_try="$ac_compile"
11662 case "(($ac_try" in
11663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11664 *) ac_try_echo=$ac_try;;
11665 esac
11666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11667 (eval "$ac_compile") 2>conftest.er1
11668 ac_status=$?
11669 grep -v '^ *+' conftest.er1 >conftest.err
11670 rm -f conftest.er1
11671 cat conftest.err >&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); } && {
11674 test -z "$ac_c_werror_flag" ||
11675 test ! -s conftest.err
11676 } && test -s conftest.$ac_objext; then
11677 ac_header_compiler=yes
11678 else
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.$ac_ext >&5
11682 ac_header_compiler=no
11685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11686 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11687 echo "${ECHO_T}$ac_header_compiler" >&6; }
11689 # Is the header present?
11690 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11691 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11692 cat >conftest.$ac_ext <<_ACEOF
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698 #include <sane/sane.h>
11699 _ACEOF
11700 if { (ac_try="$ac_cpp conftest.$ac_ext"
11701 case "(($ac_try" in
11702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11703 *) ac_try_echo=$ac_try;;
11704 esac
11705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11707 ac_status=$?
11708 grep -v '^ *+' conftest.er1 >conftest.err
11709 rm -f conftest.er1
11710 cat conftest.err >&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } >/dev/null && {
11713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11714 test ! -s conftest.err
11715 }; then
11716 ac_header_preproc=yes
11717 else
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.$ac_ext >&5
11721 ac_header_preproc=no
11724 rm -f conftest.err conftest.$ac_ext
11725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11726 echo "${ECHO_T}$ac_header_preproc" >&6; }
11728 # So? What about this header?
11729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11730 yes:no: )
11731 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11732 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11734 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11735 ac_header_preproc=yes
11737 no:yes:* )
11738 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11739 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11741 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11743 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11745 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11747 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11748 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11749 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11750 ( cat <<\_ASBOX
11751 ## ------------------------------------ ##
11752 ## Report this to wine-devel@winehq.org ##
11753 ## ------------------------------------ ##
11754 _ASBOX
11755 ) | sed "s/^/$as_me: WARNING: /" >&2
11757 esac
11758 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11759 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11760 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 else
11763 ac_cv_header_sane_sane_h=$ac_header_preproc
11765 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11766 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11769 if test $ac_cv_header_sane_sane_h = yes; then
11770 { echo "$as_me:$LINENO: checking for -lsane" >&5
11771 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11772 if test "${ac_cv_lib_soname_sane+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else
11775 ac_check_soname_save_LIBS=$LIBS
11776 LIBS="-lsane $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 sane_init ();
11792 main ()
11794 return sane_init ();
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_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'` ;;
11820 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$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_sane" = "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_sane" >&5
11839 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11841 cat >>confdefs.h <<_ACEOF
11842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11843 _ACEOF
11845 SANEINCL="$ac_sane_incl"
11852 CPPFLAGS="$ac_save_CPPFLAGS"
11855 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11856 set dummy gphoto2-config; ac_word=$2
11857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11859 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862 if test -n "$gphoto2_devel"; then
11863 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11864 else
11865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11866 for as_dir in $PATH
11868 IFS=$as_save_IFS
11869 test -z "$as_dir" && as_dir=.
11870 for ac_exec_ext in '' $ac_executable_extensions; do
11871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11872 ac_cv_prog_gphoto2_devel="gphoto2-config"
11873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11874 break 2
11876 done
11877 done
11878 IFS=$as_save_IFS
11880 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11883 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11884 if test -n "$gphoto2_devel"; then
11885 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11886 echo "${ECHO_T}$gphoto2_devel" >&6; }
11887 else
11888 { echo "$as_me:$LINENO: result: no" >&5
11889 echo "${ECHO_T}no" >&6; }
11893 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11894 set dummy gphoto2-port-config; ac_word=$2
11895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11897 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 else
11900 if test -n "$gphoto2port_devel"; then
11901 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11902 else
11903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11904 for as_dir in $PATH
11906 IFS=$as_save_IFS
11907 test -z "$as_dir" && as_dir=.
11908 for ac_exec_ext in '' $ac_executable_extensions; do
11909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11910 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11912 break 2
11914 done
11915 done
11916 IFS=$as_save_IFS
11918 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11921 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11922 if test -n "$gphoto2port_devel"; then
11923 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11924 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11925 else
11926 { echo "$as_me:$LINENO: result: no" >&5
11927 echo "${ECHO_T}no" >&6; }
11931 GPHOTO2LIBS=""
11933 GPHOTO2INCL=""
11935 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11936 then
11937 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11938 GPHOTO2LIBS=""
11939 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11941 case "$i" in
11942 -L/usr/lib|-L/usr/lib64) ;;
11943 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11944 esac
11945 done
11946 ac_save_CPPFLAGS="$CPPFLAGS"
11947 ac_save_LIBS="$LIBS"
11948 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11949 LIBS="$LIBS $GPHOTO2LIBS"
11950 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11951 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11952 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11953 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11957 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11958 else
11959 # Is the header compilable?
11960 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11961 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11962 cat >conftest.$ac_ext <<_ACEOF
11963 /* confdefs.h. */
11964 _ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 $ac_includes_default
11969 #include <gphoto2-camera.h>
11970 _ACEOF
11971 rm -f conftest.$ac_objext
11972 if { (ac_try="$ac_compile"
11973 case "(($ac_try" in
11974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11975 *) ac_try_echo=$ac_try;;
11976 esac
11977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_compile") 2>conftest.er1
11979 ac_status=$?
11980 grep -v '^ *+' conftest.er1 >conftest.err
11981 rm -f conftest.er1
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } && {
11985 test -z "$ac_c_werror_flag" ||
11986 test ! -s conftest.err
11987 } && test -s conftest.$ac_objext; then
11988 ac_header_compiler=yes
11989 else
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11993 ac_header_compiler=no
11996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11998 echo "${ECHO_T}$ac_header_compiler" >&6; }
12000 # Is the header present?
12001 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12002 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12003 cat >conftest.$ac_ext <<_ACEOF
12004 /* confdefs.h. */
12005 _ACEOF
12006 cat confdefs.h >>conftest.$ac_ext
12007 cat >>conftest.$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12009 #include <gphoto2-camera.h>
12010 _ACEOF
12011 if { (ac_try="$ac_cpp conftest.$ac_ext"
12012 case "(($ac_try" in
12013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12014 *) ac_try_echo=$ac_try;;
12015 esac
12016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12018 ac_status=$?
12019 grep -v '^ *+' conftest.er1 >conftest.err
12020 rm -f conftest.er1
12021 cat conftest.err >&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); } >/dev/null && {
12024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12025 test ! -s conftest.err
12026 }; then
12027 ac_header_preproc=yes
12028 else
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 ac_header_preproc=no
12035 rm -f conftest.err conftest.$ac_ext
12036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12037 echo "${ECHO_T}$ac_header_preproc" >&6; }
12039 # So? What about this header?
12040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12041 yes:no: )
12042 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12043 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12045 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12046 ac_header_preproc=yes
12048 no:yes:* )
12049 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12050 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12051 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12052 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12053 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12054 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12056 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12057 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12058 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12059 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12060 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12061 ( cat <<\_ASBOX
12062 ## ------------------------------------ ##
12063 ## Report this to wine-devel@winehq.org ##
12064 ## ------------------------------------ ##
12065 _ASBOX
12066 ) | sed "s/^/$as_me: WARNING: /" >&2
12068 esac
12069 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12070 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12071 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12076 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12077 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12080 if test $ac_cv_header_gphoto2_camera_h = yes; then
12081 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12082 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12083 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lgphoto2 $LIBS"
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char gp_camera_new ();
12103 main ()
12105 return gp_camera_new ();
12107 return 0;
12109 _ACEOF
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (ac_try="$ac_link"
12112 case "(($ac_try" in
12113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12114 *) ac_try_echo=$ac_try;;
12115 esac
12116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12117 (eval "$ac_link") 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } && {
12124 test -z "$ac_c_werror_flag" ||
12125 test ! -s conftest.err
12126 } && test -s conftest$ac_exeext &&
12127 $as_test_x conftest$ac_exeext; then
12128 ac_cv_lib_gphoto2_gp_camera_new=yes
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12133 ac_cv_lib_gphoto2_gp_camera_new=no
12136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12141 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12142 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12144 cat >>confdefs.h <<\_ACEOF
12145 #define HAVE_GPHOTO2 1
12146 _ACEOF
12148 else
12149 GPHOTO2LIBS=""
12150 GPHOTO2INCL=""
12153 else
12154 GPHOTO2LIBS=""
12155 GPHOTO2INCL=""
12159 LIBS="$ac_save_LIBS"
12160 CPPFLAGS="$ac_save_CPPFLAGS"
12163 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12164 then
12165 saved_libs="$LIBS"
12166 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12167 if test -n "$ICU_LIB_DIR"
12168 then
12169 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12171 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12172 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12173 LIBS="$saved_libs $icu_libs"
12174 if test "$cross_compiling" = yes; then
12175 { echo "$as_me:$LINENO: result: no" >&5
12176 echo "${ECHO_T}no" >&6; }
12177 else
12178 cat >conftest.$ac_ext <<_ACEOF
12179 /* confdefs.h. */
12180 _ACEOF
12181 cat confdefs.h >>conftest.$ac_ext
12182 cat >>conftest.$ac_ext <<_ACEOF
12183 /* end confdefs.h. */
12184 #include <unicode/ubidi.h>
12186 main ()
12188 ubidi_open()
12190 return 0;
12192 _ACEOF
12193 rm -f conftest$ac_exeext
12194 if { (ac_try="$ac_link"
12195 case "(($ac_try" in
12196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12197 *) ac_try_echo=$ac_try;;
12198 esac
12199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_link") 2>&5
12201 ac_status=$?
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12204 { (case "(($ac_try" in
12205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12206 *) ac_try_echo=$ac_try;;
12207 esac
12208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12209 (eval "$ac_try") 2>&5
12210 ac_status=$?
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; }; then
12214 cat >>confdefs.h <<\_ACEOF
12215 #define HAVE_ICU 1
12216 _ACEOF
12218 ICULIBS="$icu_libs"
12220 { echo "$as_me:$LINENO: result: yes" >&5
12221 echo "${ECHO_T}yes" >&6; }
12222 else
12223 echo "$as_me: program exited with status $ac_status" >&5
12224 echo "$as_me: failed program was:" >&5
12225 sed 's/^/| /' conftest.$ac_ext >&5
12227 ( exit $ac_status )
12228 { echo "$as_me:$LINENO: result: no" >&5
12229 echo "${ECHO_T}no" >&6; }
12231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12235 LIBS="$saved_libs"
12238 RESOLVLIBS=""
12240 if test "$ac_cv_header_resolv_h" = "yes"
12241 then
12242 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12243 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12244 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 else
12247 ac_check_lib_save_LIBS=$LIBS
12248 LIBS="-lresolv $LIBS"
12249 cat >conftest.$ac_ext <<_ACEOF
12250 /* confdefs.h. */
12251 _ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12256 /* Override any GCC internal prototype to avoid an error.
12257 Use char because int might match the return type of a GCC
12258 builtin and then its argument prototype would still apply. */
12259 #ifdef __cplusplus
12260 extern "C"
12261 #endif
12262 char res_query ();
12264 main ()
12266 return res_query ();
12268 return 0;
12270 _ACEOF
12271 rm -f conftest.$ac_objext conftest$ac_exeext
12272 if { (ac_try="$ac_link"
12273 case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12276 esac
12277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12278 (eval "$ac_link") 2>conftest.er1
12279 ac_status=$?
12280 grep -v '^ *+' conftest.er1 >conftest.err
12281 rm -f conftest.er1
12282 cat conftest.err >&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } && {
12285 test -z "$ac_c_werror_flag" ||
12286 test ! -s conftest.err
12287 } && test -s conftest$ac_exeext &&
12288 $as_test_x conftest$ac_exeext; then
12289 ac_cv_lib_resolv_res_query=yes
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12294 ac_cv_lib_resolv_res_query=no
12297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12298 conftest$ac_exeext conftest.$ac_ext
12299 LIBS=$ac_check_lib_save_LIBS
12301 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12302 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12303 if test $ac_cv_lib_resolv_res_query = yes; then
12305 cat >>confdefs.h <<\_ACEOF
12306 #define HAVE_RESOLV 1
12307 _ACEOF
12309 RESOLVLIBS="-lresolv"
12314 LCMSLIBS=""
12316 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12317 then
12318 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12319 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12320 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 else
12323 ac_check_lib_save_LIBS=$LIBS
12324 LIBS="-llcms $LIBS"
12325 cat >conftest.$ac_ext <<_ACEOF
12326 /* confdefs.h. */
12327 _ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char cmsOpenProfileFromFile ();
12340 main ()
12342 return cmsOpenProfileFromFile ();
12344 return 0;
12346 _ACEOF
12347 rm -f conftest.$ac_objext conftest$ac_exeext
12348 if { (ac_try="$ac_link"
12349 case "(($ac_try" in
12350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12351 *) ac_try_echo=$ac_try;;
12352 esac
12353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12354 (eval "$ac_link") 2>conftest.er1
12355 ac_status=$?
12356 grep -v '^ *+' conftest.er1 >conftest.err
12357 rm -f conftest.er1
12358 cat conftest.err >&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } && {
12361 test -z "$ac_c_werror_flag" ||
12362 test ! -s conftest.err
12363 } && test -s conftest$ac_exeext &&
12364 $as_test_x conftest$ac_exeext; then
12365 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12366 else
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12370 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12374 conftest$ac_exeext conftest.$ac_ext
12375 LIBS=$ac_check_lib_save_LIBS
12377 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12378 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12379 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12381 cat >>confdefs.h <<\_ACEOF
12382 #define HAVE_LCMS 1
12383 _ACEOF
12385 LCMSLIBS="-llcms"
12390 LDAPLIBS=""
12392 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12393 then
12394 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12395 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12396 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 ac_check_lib_save_LIBS=$LIBS
12400 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char ldap_initialize ();
12416 main ()
12418 return ldap_initialize ();
12420 return 0;
12422 _ACEOF
12423 rm -f conftest.$ac_objext conftest$ac_exeext
12424 if { (ac_try="$ac_link"
12425 case "(($ac_try" in
12426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12427 *) ac_try_echo=$ac_try;;
12428 esac
12429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12430 (eval "$ac_link") 2>conftest.er1
12431 ac_status=$?
12432 grep -v '^ *+' conftest.er1 >conftest.err
12433 rm -f conftest.er1
12434 cat conftest.err >&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } && {
12437 test -z "$ac_c_werror_flag" ||
12438 test ! -s conftest.err
12439 } && test -s conftest$ac_exeext &&
12440 $as_test_x conftest$ac_exeext; then
12441 ac_cv_lib_ldap_r_ldap_initialize=yes
12442 else
12443 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.$ac_ext >&5
12446 ac_cv_lib_ldap_r_ldap_initialize=no
12449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_lib_save_LIBS
12453 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12454 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12455 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12456 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12457 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12458 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12459 echo $ECHO_N "(cached) $ECHO_C" >&6
12460 else
12461 ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-llber $LIBPTHREAD $LIBS"
12463 cat >conftest.$ac_ext <<_ACEOF
12464 /* confdefs.h. */
12465 _ACEOF
12466 cat confdefs.h >>conftest.$ac_ext
12467 cat >>conftest.$ac_ext <<_ACEOF
12468 /* end confdefs.h. */
12470 /* Override any GCC internal prototype to avoid an error.
12471 Use char because int might match the return type of a GCC
12472 builtin and then its argument prototype would still apply. */
12473 #ifdef __cplusplus
12474 extern "C"
12475 #endif
12476 char ber_init ();
12478 main ()
12480 return ber_init ();
12482 return 0;
12484 _ACEOF
12485 rm -f conftest.$ac_objext conftest$ac_exeext
12486 if { (ac_try="$ac_link"
12487 case "(($ac_try" in
12488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 *) ac_try_echo=$ac_try;;
12490 esac
12491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12492 (eval "$ac_link") 2>conftest.er1
12493 ac_status=$?
12494 grep -v '^ *+' conftest.er1 >conftest.err
12495 rm -f conftest.er1
12496 cat conftest.err >&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); } && {
12499 test -z "$ac_c_werror_flag" ||
12500 test ! -s conftest.err
12501 } && test -s conftest$ac_exeext &&
12502 $as_test_x conftest$ac_exeext; then
12503 ac_cv_lib_lber_ber_init=yes
12504 else
12505 echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.$ac_ext >&5
12508 ac_cv_lib_lber_ber_init=no
12511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_lib_save_LIBS
12515 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12516 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12517 if test $ac_cv_lib_lber_ber_init = yes; then
12519 cat >>confdefs.h <<\_ACEOF
12520 #define HAVE_LDAP 1
12521 _ACEOF
12523 LDAPLIBS="-lldap_r -llber"
12528 ac_wine_check_funcs_save_LIBS="$LIBS"
12529 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12534 for ac_func in \
12535 ldap_count_references \
12536 ldap_first_reference \
12537 ldap_next_reference \
12538 ldap_parse_reference
12540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 else
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12554 #define $ac_func innocuous_$ac_func
12556 /* System header to define __stub macros and hopefully few prototypes,
12557 which can conflict with char $ac_func (); below.
12558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12559 <limits.h> exists even on freestanding compilers. */
12561 #ifdef __STDC__
12562 # include <limits.h>
12563 #else
12564 # include <assert.h>
12565 #endif
12567 #undef $ac_func
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char $ac_func ();
12576 /* The GNU C library defines this for functions which it implements
12577 to always fail with ENOSYS. Some functions are actually named
12578 something starting with __ and the normal name is an alias. */
12579 #if defined __stub_$ac_func || defined __stub___$ac_func
12580 choke me
12581 #endif
12584 main ()
12586 return $ac_func ();
12588 return 0;
12590 _ACEOF
12591 rm -f conftest.$ac_objext conftest$ac_exeext
12592 if { (ac_try="$ac_link"
12593 case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12596 esac
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_link") 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } && {
12605 test -z "$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12607 } && test -s conftest$ac_exeext &&
12608 $as_test_x conftest$ac_exeext; then
12609 eval "$as_ac_var=yes"
12610 else
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 eval "$as_ac_var=no"
12617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12618 conftest$ac_exeext conftest.$ac_ext
12620 ac_res=`eval echo '${'$as_ac_var'}'`
12621 { echo "$as_me:$LINENO: result: $ac_res" >&5
12622 echo "${ECHO_T}$ac_res" >&6; }
12623 if test `eval echo '${'$as_ac_var'}'` = yes; then
12624 cat >>confdefs.h <<_ACEOF
12625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12626 _ACEOF
12629 done
12631 LIBS="$ac_wine_check_funcs_save_LIBS"
12634 FREETYPELIBS=""
12636 FREETYPEINCL=""
12638 # Extract the first word of "freetype-config", so it can be a program name with args.
12639 set dummy freetype-config; ac_word=$2
12640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12642 if test "${ac_cv_prog_ft_devel+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12644 else
12645 if test -n "$ft_devel"; then
12646 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12647 else
12648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12649 for as_dir in $PATH
12651 IFS=$as_save_IFS
12652 test -z "$as_dir" && as_dir=.
12653 for ac_exec_ext in '' $ac_executable_extensions; do
12654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12655 ac_cv_prog_ft_devel="freetype-config"
12656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12657 break 2
12659 done
12660 done
12661 IFS=$as_save_IFS
12663 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12666 ft_devel=$ac_cv_prog_ft_devel
12667 if test -n "$ft_devel"; then
12668 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12669 echo "${ECHO_T}$ft_devel" >&6; }
12670 else
12671 { echo "$as_me:$LINENO: result: no" >&5
12672 echo "${ECHO_T}no" >&6; }
12676 if test "$ft_devel" = "no"
12677 then
12678 # Extract the first word of "freetype2-config", so it can be a program name with args.
12679 set dummy freetype2-config; ac_word=$2
12680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12682 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12684 else
12685 if test -n "$ft_devel2"; then
12686 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12687 else
12688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12689 for as_dir in $PATH
12691 IFS=$as_save_IFS
12692 test -z "$as_dir" && as_dir=.
12693 for ac_exec_ext in '' $ac_executable_extensions; do
12694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12695 ac_cv_prog_ft_devel2="freetype2-config"
12696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12697 break 2
12699 done
12700 done
12701 IFS=$as_save_IFS
12703 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12706 ft_devel2=$ac_cv_prog_ft_devel2
12707 if test -n "$ft_devel2"; then
12708 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12709 echo "${ECHO_T}$ft_devel2" >&6; }
12710 else
12711 { echo "$as_me:$LINENO: result: no" >&5
12712 echo "${ECHO_T}no" >&6; }
12716 if test "$ft_devel2" = "freetype2-config"
12717 then
12718 ft_devel=$ft_devel2
12722 if test "$ft_devel" = "no"
12723 then
12724 wine_cv_msg_freetype=yes
12725 else
12726 FREETYPELIBS=`$ft_devel --libs`
12727 FREETYPEINCL=`$ft_devel --cflags`
12728 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12729 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12730 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 else
12733 ac_check_lib_save_LIBS=$LIBS
12734 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12735 cat >conftest.$ac_ext <<_ACEOF
12736 /* confdefs.h. */
12737 _ACEOF
12738 cat confdefs.h >>conftest.$ac_ext
12739 cat >>conftest.$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12745 #ifdef __cplusplus
12746 extern "C"
12747 #endif
12748 char FT_Init_FreeType ();
12750 main ()
12752 return FT_Init_FreeType ();
12754 return 0;
12756 _ACEOF
12757 rm -f conftest.$ac_objext conftest$ac_exeext
12758 if { (ac_try="$ac_link"
12759 case "(($ac_try" in
12760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12761 *) ac_try_echo=$ac_try;;
12762 esac
12763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12764 (eval "$ac_link") 2>conftest.er1
12765 ac_status=$?
12766 grep -v '^ *+' conftest.er1 >conftest.err
12767 rm -f conftest.er1
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } && {
12771 test -z "$ac_c_werror_flag" ||
12772 test ! -s conftest.err
12773 } && test -s conftest$ac_exeext &&
12774 $as_test_x conftest$ac_exeext; then
12775 ac_cv_lib_freetype_FT_Init_FreeType=yes
12776 else
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.$ac_ext >&5
12780 ac_cv_lib_freetype_FT_Init_FreeType=no
12783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12784 conftest$ac_exeext conftest.$ac_ext
12785 LIBS=$ac_check_lib_save_LIBS
12787 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12788 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12789 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12790 ft_lib=yes
12791 else
12792 ft_lib=no
12795 if test "$ft_lib" = "no"
12796 then
12797 wine_cv_msg_freetype=yes
12798 FREETYPELIBS=""
12799 FREETYPEINCL=""
12800 else
12801 ac_save_CPPFLAGS="$CPPFLAGS"
12802 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12814 for ac_header in ft2build.h \
12815 freetype/freetype.h \
12816 freetype/ftglyph.h \
12817 freetype/tttables.h \
12818 freetype/ftnames.h \
12819 freetype/ftsnames.h \
12820 freetype/ttnameid.h \
12821 freetype/ftoutln.h \
12822 freetype/ftwinfnt.h \
12823 freetype/ftmodapi.h \
12824 freetype/internal/sfnt.h
12826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 else
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838 #if HAVE_FT2BUILD_H
12839 #include <ft2build.h>
12840 #endif
12842 #include <$ac_header>
12843 _ACEOF
12844 rm -f conftest.$ac_objext
12845 if { (ac_try="$ac_compile"
12846 case "(($ac_try" in
12847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12848 *) ac_try_echo=$ac_try;;
12849 esac
12850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12851 (eval "$ac_compile") 2>conftest.er1
12852 ac_status=$?
12853 grep -v '^ *+' conftest.er1 >conftest.err
12854 rm -f conftest.er1
12855 cat conftest.err >&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); } && {
12858 test -z "$ac_c_werror_flag" ||
12859 test ! -s conftest.err
12860 } && test -s conftest.$ac_objext; then
12861 eval "$as_ac_Header=yes"
12862 else
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 eval "$as_ac_Header=no"
12869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12871 ac_res=`eval echo '${'$as_ac_Header'}'`
12872 { echo "$as_me:$LINENO: result: $ac_res" >&5
12873 echo "${ECHO_T}$ac_res" >&6; }
12874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12875 cat >>confdefs.h <<_ACEOF
12876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12877 _ACEOF
12881 done
12883 cat >conftest.$ac_ext <<_ACEOF
12884 /* confdefs.h. */
12885 _ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 #include <ft2build.h>
12890 #include <freetype/fttrigon.h>
12891 _ACEOF
12892 if { (ac_try="$ac_cpp conftest.$ac_ext"
12893 case "(($ac_try" in
12894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12895 *) ac_try_echo=$ac_try;;
12896 esac
12897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12899 ac_status=$?
12900 grep -v '^ *+' conftest.er1 >conftest.err
12901 rm -f conftest.er1
12902 cat conftest.err >&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } >/dev/null && {
12905 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12906 test ! -s conftest.err
12907 }; then
12909 cat >>confdefs.h <<\_ACEOF
12910 #define HAVE_FREETYPE_FTTRIGON_H 1
12911 _ACEOF
12913 wine_cv_fttrigon=yes
12914 else
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.$ac_ext >&5
12918 wine_cv_fttrigon=no
12921 rm -f conftest.err conftest.$ac_ext
12922 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12923 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12924 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12926 else
12927 cat >conftest.$ac_ext <<_ACEOF
12928 /* confdefs.h. */
12929 _ACEOF
12930 cat confdefs.h >>conftest.$ac_ext
12931 cat >>conftest.$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12933 #include <freetype/ftmodapi.h>
12935 typedef FT_TrueTypeEngineType ac__type_new_;
12937 main ()
12939 if ((ac__type_new_ *) 0)
12940 return 0;
12941 if (sizeof (ac__type_new_))
12942 return 0;
12944 return 0;
12946 _ACEOF
12947 rm -f conftest.$ac_objext
12948 if { (ac_try="$ac_compile"
12949 case "(($ac_try" in
12950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12951 *) ac_try_echo=$ac_try;;
12952 esac
12953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12954 (eval "$ac_compile") 2>conftest.er1
12955 ac_status=$?
12956 grep -v '^ *+' conftest.er1 >conftest.err
12957 rm -f conftest.er1
12958 cat conftest.err >&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } && {
12961 test -z "$ac_c_werror_flag" ||
12962 test ! -s conftest.err
12963 } && test -s conftest.$ac_objext; then
12964 ac_cv_type_FT_TrueTypeEngineType=yes
12965 else
12966 echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.$ac_ext >&5
12969 ac_cv_type_FT_TrueTypeEngineType=no
12972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12974 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12975 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12976 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12978 cat >>confdefs.h <<_ACEOF
12979 #define HAVE_FT_TRUETYPEENGINETYPE 1
12980 _ACEOF
12985 ac_save_CFLAGS="$CFLAGS"
12986 CFLAGS="$CFLAGS $FREETYPELIBS"
12988 for ac_func in FT_Load_Sfnt_Table
12990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 else
12996 cat >conftest.$ac_ext <<_ACEOF
12997 /* confdefs.h. */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13004 #define $ac_func innocuous_$ac_func
13006 /* System header to define __stub macros and hopefully few prototypes,
13007 which can conflict with char $ac_func (); below.
13008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13009 <limits.h> exists even on freestanding compilers. */
13011 #ifdef __STDC__
13012 # include <limits.h>
13013 #else
13014 # include <assert.h>
13015 #endif
13017 #undef $ac_func
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char $ac_func ();
13026 /* The GNU C library defines this for functions which it implements
13027 to always fail with ENOSYS. Some functions are actually named
13028 something starting with __ and the normal name is an alias. */
13029 #if defined __stub_$ac_func || defined __stub___$ac_func
13030 choke me
13031 #endif
13034 main ()
13036 return $ac_func ();
13038 return 0;
13040 _ACEOF
13041 rm -f conftest.$ac_objext conftest$ac_exeext
13042 if { (ac_try="$ac_link"
13043 case "(($ac_try" in
13044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13045 *) ac_try_echo=$ac_try;;
13046 esac
13047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13048 (eval "$ac_link") 2>conftest.er1
13049 ac_status=$?
13050 grep -v '^ *+' conftest.er1 >conftest.err
13051 rm -f conftest.er1
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } && {
13055 test -z "$ac_c_werror_flag" ||
13056 test ! -s conftest.err
13057 } && test -s conftest$ac_exeext &&
13058 $as_test_x conftest$ac_exeext; then
13059 eval "$as_ac_var=yes"
13060 else
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.$ac_ext >&5
13064 eval "$as_ac_var=no"
13067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13068 conftest$ac_exeext conftest.$ac_ext
13070 ac_res=`eval echo '${'$as_ac_var'}'`
13071 { echo "$as_me:$LINENO: result: $ac_res" >&5
13072 echo "${ECHO_T}$ac_res" >&6; }
13073 if test `eval echo '${'$as_ac_var'}'` = yes; then
13074 cat >>confdefs.h <<_ACEOF
13075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13076 _ACEOF
13079 done
13081 CFLAGS="$ac_save_CFLAGS"
13082 CPPFLAGS="$ac_save_CPPFLAGS"
13083 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13084 then
13086 cat >>confdefs.h <<\_ACEOF
13087 #define HAVE_FREETYPE 1
13088 _ACEOF
13090 wine_cv_msg_freetype=no
13091 else
13092 FREETYPELIBS=""
13093 FREETYPEINCL=""
13094 wine_cv_msg_freetype=yes
13099 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13100 then
13101 FONTSSUBDIRS="fonts"
13105 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13106 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13107 if test "${ac_cv_c_ppdev+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 else
13110 cat >conftest.$ac_ext <<_ACEOF
13111 /* confdefs.h. */
13112 _ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 #include <linux/ppdev.h>
13118 main ()
13120 ioctl (1,PPCLAIM,0)
13122 return 0;
13124 _ACEOF
13125 rm -f conftest.$ac_objext
13126 if { (ac_try="$ac_compile"
13127 case "(($ac_try" in
13128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13130 esac
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_compile") 2>conftest.er1
13133 ac_status=$?
13134 grep -v '^ *+' conftest.er1 >conftest.err
13135 rm -f conftest.er1
13136 cat conftest.err >&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); } && {
13139 test -z "$ac_c_werror_flag" ||
13140 test ! -s conftest.err
13141 } && test -s conftest.$ac_objext; then
13142 ac_cv_c_ppdev="yes"
13143 else
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.$ac_ext >&5
13147 ac_cv_c_ppdev="no"
13150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13152 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13153 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13154 if test "$ac_cv_c_ppdev" = "yes"
13155 then
13157 cat >>confdefs.h <<\_ACEOF
13158 #define HAVE_PPDEV 1
13159 _ACEOF
13163 { echo "$as_me:$LINENO: checking for va_copy" >&5
13164 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13165 if test "${ac_cv_c_va_copy+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 else
13168 cat >conftest.$ac_ext <<_ACEOF
13169 /* confdefs.h. */
13170 _ACEOF
13171 cat confdefs.h >>conftest.$ac_ext
13172 cat >>conftest.$ac_ext <<_ACEOF
13173 /* end confdefs.h. */
13174 #include <stdarg.h>
13176 main ()
13178 va_list ap1, ap2; va_copy(ap1,ap2);
13180 return 0;
13182 _ACEOF
13183 rm -f conftest.$ac_objext conftest$ac_exeext
13184 if { (ac_try="$ac_link"
13185 case "(($ac_try" in
13186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13188 esac
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_link") 2>conftest.er1
13191 ac_status=$?
13192 grep -v '^ *+' conftest.er1 >conftest.err
13193 rm -f conftest.er1
13194 cat conftest.err >&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } && {
13197 test -z "$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13199 } && test -s conftest$ac_exeext &&
13200 $as_test_x conftest$ac_exeext; then
13201 ac_cv_c_va_copy="yes"
13202 else
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.$ac_ext >&5
13206 ac_cv_c_va_copy="no"
13209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13210 conftest$ac_exeext conftest.$ac_ext
13213 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13214 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13215 if test "$ac_cv_c_va_copy" = "yes"
13216 then
13218 cat >>confdefs.h <<\_ACEOF
13219 #define HAVE_VA_COPY 1
13220 _ACEOF
13223 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13224 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13225 if test "${ac_cv_c___va_copy+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13227 else
13228 cat >conftest.$ac_ext <<_ACEOF
13229 /* confdefs.h. */
13230 _ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13234 #include <stdarg.h>
13236 main ()
13238 va_list ap1, ap2; __va_copy(ap1,ap2);
13240 return 0;
13242 _ACEOF
13243 rm -f conftest.$ac_objext conftest$ac_exeext
13244 if { (ac_try="$ac_link"
13245 case "(($ac_try" in
13246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13248 esac
13249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_link") 2>conftest.er1
13251 ac_status=$?
13252 grep -v '^ *+' conftest.er1 >conftest.err
13253 rm -f conftest.er1
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } && {
13257 test -z "$ac_c_werror_flag" ||
13258 test ! -s conftest.err
13259 } && test -s conftest$ac_exeext &&
13260 $as_test_x conftest$ac_exeext; then
13261 ac_cv_c___va_copy="yes"
13262 else
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13266 ac_cv_c___va_copy="no"
13269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13270 conftest$ac_exeext conftest.$ac_ext
13273 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13274 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13275 if test "$ac_cv_c___va_copy" = "yes"
13276 then
13278 cat >>confdefs.h <<\_ACEOF
13279 #define HAVE___VA_COPY 1
13280 _ACEOF
13284 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13285 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13286 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 else
13289 cat >conftest.$ac_ext <<_ACEOF
13290 /* confdefs.h. */
13291 _ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <setjmp.h>
13297 main ()
13299 sigjmp_buf buf;
13300 sigsetjmp( buf, 1 );
13301 siglongjmp( buf, 1 );
13303 return 0;
13305 _ACEOF
13306 rm -f conftest.$ac_objext conftest$ac_exeext
13307 if { (ac_try="$ac_link"
13308 case "(($ac_try" in
13309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13311 esac
13312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13313 (eval "$ac_link") 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } && {
13320 test -z "$ac_c_werror_flag" ||
13321 test ! -s conftest.err
13322 } && test -s conftest$ac_exeext &&
13323 $as_test_x conftest$ac_exeext; then
13324 ac_cv_c_sigsetjmp="yes"
13325 else
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.$ac_ext >&5
13329 ac_cv_c_sigsetjmp="no"
13332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13333 conftest$ac_exeext conftest.$ac_ext
13336 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13337 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13338 if test "$ac_cv_c_sigsetjmp" = "yes"
13339 then
13341 cat >>confdefs.h <<\_ACEOF
13342 #define HAVE_SIGSETJMP 1
13343 _ACEOF
13347 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13348 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13349 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 else
13352 cat >conftest.$ac_ext <<_ACEOF
13353 /* confdefs.h. */
13354 _ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 #define _GNU_SOURCE
13359 #include <pthread.h>
13361 typedef pthread_rwlock_t ac__type_new_;
13363 main ()
13365 if ((ac__type_new_ *) 0)
13366 return 0;
13367 if (sizeof (ac__type_new_))
13368 return 0;
13370 return 0;
13372 _ACEOF
13373 rm -f conftest.$ac_objext
13374 if { (ac_try="$ac_compile"
13375 case "(($ac_try" in
13376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13377 *) ac_try_echo=$ac_try;;
13378 esac
13379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13380 (eval "$ac_compile") 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } && {
13387 test -z "$ac_c_werror_flag" ||
13388 test ! -s conftest.err
13389 } && test -s conftest.$ac_objext; then
13390 ac_cv_type_pthread_rwlock_t=yes
13391 else
13392 echo "$as_me: failed program was:" >&5
13393 sed 's/^/| /' conftest.$ac_ext >&5
13395 ac_cv_type_pthread_rwlock_t=no
13398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13401 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13402 if test $ac_cv_type_pthread_rwlock_t = yes; then
13404 cat >>confdefs.h <<_ACEOF
13405 #define HAVE_PTHREAD_RWLOCK_T 1
13406 _ACEOF
13410 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13411 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13412 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 else
13415 cat >conftest.$ac_ext <<_ACEOF
13416 /* confdefs.h. */
13417 _ACEOF
13418 cat confdefs.h >>conftest.$ac_ext
13419 cat >>conftest.$ac_ext <<_ACEOF
13420 /* end confdefs.h. */
13421 #define _GNU_SOURCE
13422 #include <pthread.h>
13424 typedef pthread_rwlockattr_t ac__type_new_;
13426 main ()
13428 if ((ac__type_new_ *) 0)
13429 return 0;
13430 if (sizeof (ac__type_new_))
13431 return 0;
13433 return 0;
13435 _ACEOF
13436 rm -f conftest.$ac_objext
13437 if { (ac_try="$ac_compile"
13438 case "(($ac_try" in
13439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13441 esac
13442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13443 (eval "$ac_compile") 2>conftest.er1
13444 ac_status=$?
13445 grep -v '^ *+' conftest.er1 >conftest.err
13446 rm -f conftest.er1
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } && {
13450 test -z "$ac_c_werror_flag" ||
13451 test ! -s conftest.err
13452 } && test -s conftest.$ac_objext; then
13453 ac_cv_type_pthread_rwlockattr_t=yes
13454 else
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13458 ac_cv_type_pthread_rwlockattr_t=no
13461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13463 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13464 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13465 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13467 cat >>confdefs.h <<_ACEOF
13468 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13469 _ACEOF
13475 ac_wine_check_funcs_save_LIBS="$LIBS"
13476 LIBS="$LIBS $LIBPTHREAD"
13481 for ac_func in \
13482 pthread_attr_get_np \
13483 pthread_getattr_np \
13484 pthread_get_stackaddr_np \
13485 pthread_get_stacksize_np
13487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13491 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 else
13493 cat >conftest.$ac_ext <<_ACEOF
13494 /* confdefs.h. */
13495 _ACEOF
13496 cat confdefs.h >>conftest.$ac_ext
13497 cat >>conftest.$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13501 #define $ac_func innocuous_$ac_func
13503 /* System header to define __stub macros and hopefully few prototypes,
13504 which can conflict with char $ac_func (); below.
13505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13506 <limits.h> exists even on freestanding compilers. */
13508 #ifdef __STDC__
13509 # include <limits.h>
13510 #else
13511 # include <assert.h>
13512 #endif
13514 #undef $ac_func
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char $ac_func ();
13523 /* The GNU C library defines this for functions which it implements
13524 to always fail with ENOSYS. Some functions are actually named
13525 something starting with __ and the normal name is an alias. */
13526 #if defined __stub_$ac_func || defined __stub___$ac_func
13527 choke me
13528 #endif
13531 main ()
13533 return $ac_func ();
13535 return 0;
13537 _ACEOF
13538 rm -f conftest.$ac_objext conftest$ac_exeext
13539 if { (ac_try="$ac_link"
13540 case "(($ac_try" in
13541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13542 *) ac_try_echo=$ac_try;;
13543 esac
13544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13545 (eval "$ac_link") 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } && {
13552 test -z "$ac_c_werror_flag" ||
13553 test ! -s conftest.err
13554 } && test -s conftest$ac_exeext &&
13555 $as_test_x conftest$ac_exeext; then
13556 eval "$as_ac_var=yes"
13557 else
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.$ac_ext >&5
13561 eval "$as_ac_var=no"
13564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13565 conftest$ac_exeext conftest.$ac_ext
13567 ac_res=`eval echo '${'$as_ac_var'}'`
13568 { echo "$as_me:$LINENO: result: $ac_res" >&5
13569 echo "${ECHO_T}$ac_res" >&6; }
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571 cat >>confdefs.h <<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13573 _ACEOF
13576 done
13578 LIBS="$ac_wine_check_funcs_save_LIBS"
13580 # Extract the first word of "esd-config", so it can be a program name with args.
13581 set dummy esd-config; ac_word=$2
13582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13584 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 case $ESDCONFIG in
13588 [\\/]* | ?:[\\/]*)
13589 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13593 for as_dir in $PATH
13595 IFS=$as_save_IFS
13596 test -z "$as_dir" && as_dir=.
13597 for ac_exec_ext in '' $ac_executable_extensions; do
13598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13599 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13601 break 2
13603 done
13604 done
13605 IFS=$as_save_IFS
13608 esac
13610 ESDCONFIG=$ac_cv_path_ESDCONFIG
13611 if test -n "$ESDCONFIG"; then
13612 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13613 echo "${ECHO_T}$ESDCONFIG" >&6; }
13614 else
13615 { echo "$as_me:$LINENO: result: no" >&5
13616 echo "${ECHO_T}no" >&6; }
13620 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13621 then
13622 ESD_CFLAGS=""
13623 for i in `$ESDCONFIG --cflags`
13625 case "$i" in
13626 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13627 esac
13628 done
13629 ESD_LIBS=`$ESDCONFIG --libs`
13630 save_CFLAGS="$CFLAGS"
13631 CFLAGS="$CFLAGS $ESD_CFLAGS"
13632 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13633 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13634 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else
13637 ac_check_lib_save_LIBS=$LIBS
13638 LIBS="-lesd $LIBS"
13639 cat >conftest.$ac_ext <<_ACEOF
13640 /* confdefs.h. */
13641 _ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13649 #ifdef __cplusplus
13650 extern "C"
13651 #endif
13652 char esd_open_sound ();
13654 main ()
13656 return esd_open_sound ();
13658 return 0;
13660 _ACEOF
13661 rm -f conftest.$ac_objext conftest$ac_exeext
13662 if { (ac_try="$ac_link"
13663 case "(($ac_try" in
13664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13665 *) ac_try_echo=$ac_try;;
13666 esac
13667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13668 (eval "$ac_link") 2>conftest.er1
13669 ac_status=$?
13670 grep -v '^ *+' conftest.er1 >conftest.err
13671 rm -f conftest.er1
13672 cat conftest.err >&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } && {
13675 test -z "$ac_c_werror_flag" ||
13676 test ! -s conftest.err
13677 } && test -s conftest$ac_exeext &&
13678 $as_test_x conftest$ac_exeext; then
13679 ac_cv_lib_esd_esd_open_sound=yes
13680 else
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.$ac_ext >&5
13684 ac_cv_lib_esd_esd_open_sound=no
13687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13688 conftest$ac_exeext conftest.$ac_ext
13689 LIBS=$ac_check_lib_save_LIBS
13691 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13692 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13693 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13694 ESDLIBS=$ESD_LIBS
13696 ESDINCL=$ESD_CFLAGS
13699 cat >>confdefs.h <<\_ACEOF
13700 #define HAVE_ESD 1
13701 _ACEOF
13705 CFLAGS="$save_CFLAGS"
13708 ALSALIBS=""
13710 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13711 then
13712 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13713 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13714 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717 ac_check_lib_save_LIBS=$LIBS
13718 LIBS="-lasound $LIBS"
13719 cat >conftest.$ac_ext <<_ACEOF
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13726 /* Override any GCC internal prototype to avoid an error.
13727 Use char because int might match the return type of a GCC
13728 builtin and then its argument prototype would still apply. */
13729 #ifdef __cplusplus
13730 extern "C"
13731 #endif
13732 char snd_pcm_hw_params_get_access ();
13734 main ()
13736 return snd_pcm_hw_params_get_access ();
13738 return 0;
13740 _ACEOF
13741 rm -f conftest.$ac_objext conftest$ac_exeext
13742 if { (ac_try="$ac_link"
13743 case "(($ac_try" in
13744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13745 *) ac_try_echo=$ac_try;;
13746 esac
13747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13748 (eval "$ac_link") 2>conftest.er1
13749 ac_status=$?
13750 grep -v '^ *+' conftest.er1 >conftest.err
13751 rm -f conftest.er1
13752 cat conftest.err >&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } && {
13755 test -z "$ac_c_werror_flag" ||
13756 test ! -s conftest.err
13757 } && test -s conftest$ac_exeext &&
13758 $as_test_x conftest$ac_exeext; then
13759 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13768 conftest$ac_exeext conftest.$ac_ext
13769 LIBS=$ac_check_lib_save_LIBS
13771 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13772 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13773 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h. */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 #ifdef HAVE_ALSA_ASOUNDLIB_H
13781 #include <alsa/asoundlib.h>
13782 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13783 #include <sys/asoundlib.h>
13784 #endif
13786 main ()
13788 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13790 return 0;
13792 _ACEOF
13793 rm -f conftest.$ac_objext
13794 if { (ac_try="$ac_compile"
13795 case "(($ac_try" in
13796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13797 *) ac_try_echo=$ac_try;;
13798 esac
13799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13800 (eval "$ac_compile") 2>conftest.er1
13801 ac_status=$?
13802 grep -v '^ *+' conftest.er1 >conftest.err
13803 rm -f conftest.er1
13804 cat conftest.err >&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } && {
13807 test -z "$ac_c_werror_flag" ||
13808 test ! -s conftest.err
13809 } && test -s conftest.$ac_objext; then
13811 cat >>confdefs.h <<\_ACEOF
13812 #define HAVE_ALSA 1
13813 _ACEOF
13815 ALSALIBS="-lasound"
13816 else
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13829 AUDIOIOLIBS=""
13831 if test "$ac_cv_header_libaudioio_h" = "yes"
13832 then
13833 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13834 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13835 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13837 else
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-laudioio $LIBS"
13840 cat >conftest.$ac_ext <<_ACEOF
13841 /* confdefs.h. */
13842 _ACEOF
13843 cat confdefs.h >>conftest.$ac_ext
13844 cat >>conftest.$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char AudioIOGetVersion ();
13855 main ()
13857 return AudioIOGetVersion ();
13859 return 0;
13861 _ACEOF
13862 rm -f conftest.$ac_objext conftest$ac_exeext
13863 if { (ac_try="$ac_link"
13864 case "(($ac_try" in
13865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13866 *) ac_try_echo=$ac_try;;
13867 esac
13868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13869 (eval "$ac_link") 2>conftest.er1
13870 ac_status=$?
13871 grep -v '^ *+' conftest.er1 >conftest.err
13872 rm -f conftest.er1
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } && {
13876 test -z "$ac_c_werror_flag" ||
13877 test ! -s conftest.err
13878 } && test -s conftest$ac_exeext &&
13879 $as_test_x conftest$ac_exeext; then
13880 ac_cv_lib_audioio_AudioIOGetVersion=yes
13881 else
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.$ac_ext >&5
13885 ac_cv_lib_audioio_AudioIOGetVersion=no
13888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13889 conftest$ac_exeext conftest.$ac_ext
13890 LIBS=$ac_check_lib_save_LIBS
13892 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13893 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13894 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13895 AUDIOIOLIBS="-laudioio"
13897 cat >>confdefs.h <<\_ACEOF
13898 #define HAVE_LIBAUDIOIO 1
13899 _ACEOF
13906 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13907 then
13908 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13909 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13910 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6
13912 else
13913 ac_check_soname_save_LIBS=$LIBS
13914 LIBS="-lcapi20 $LIBS"
13915 cat >conftest.$ac_ext <<_ACEOF
13916 /* confdefs.h. */
13917 _ACEOF
13918 cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13922 /* Override any GCC internal prototype to avoid an error.
13923 Use char because int might match the return type of a GCC
13924 builtin and then its argument prototype would still apply. */
13925 #ifdef __cplusplus
13926 extern "C"
13927 #endif
13928 char capi20_register ();
13930 main ()
13932 return capi20_register ();
13934 return 0;
13936 _ACEOF
13937 rm -f conftest.$ac_objext conftest$ac_exeext
13938 if { (ac_try="$ac_link"
13939 case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13942 esac
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_link") 2>conftest.er1
13945 ac_status=$?
13946 grep -v '^ *+' conftest.er1 >conftest.err
13947 rm -f conftest.er1
13948 cat conftest.err >&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } && {
13951 test -z "$ac_c_werror_flag" ||
13952 test ! -s conftest.err
13953 } && test -s conftest$ac_exeext &&
13954 $as_test_x conftest$ac_exeext; then
13955 case "$LIBEXT" in
13956 dll) ;;
13957 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'` ;;
13958 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13959 esac
13960 else
13961 echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.$ac_ext >&5
13967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_soname_save_LIBS
13971 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13972 { echo "$as_me:$LINENO: result: not found" >&5
13973 echo "${ECHO_T}not found" >&6; }
13975 else
13976 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13977 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13979 cat >>confdefs.h <<_ACEOF
13980 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13981 _ACEOF
13988 if test "$ac_cv_header_cups_cups_h" = "yes"
13989 then
13990 { echo "$as_me:$LINENO: checking for -lcups" >&5
13991 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
13992 if test "${ac_cv_lib_soname_cups+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995 ac_check_soname_save_LIBS=$LIBS
13996 LIBS="-lcups $LIBS"
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14004 /* Override any GCC internal prototype to avoid an error.
14005 Use char because int might match the return type of a GCC
14006 builtin and then its argument prototype would still apply. */
14007 #ifdef __cplusplus
14008 extern "C"
14009 #endif
14010 char cupsGetDefault ();
14012 main ()
14014 return cupsGetDefault ();
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext conftest$ac_exeext
14020 if { (ac_try="$ac_link"
14021 case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14024 esac
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_link") 2>conftest.er1
14027 ac_status=$?
14028 grep -v '^ *+' conftest.er1 >conftest.err
14029 rm -f conftest.er1
14030 cat conftest.err >&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } && {
14033 test -z "$ac_c_werror_flag" ||
14034 test ! -s conftest.err
14035 } && test -s conftest$ac_exeext &&
14036 $as_test_x conftest$ac_exeext; then
14037 case "$LIBEXT" in
14038 dll) ;;
14039 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'` ;;
14040 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14041 esac
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_soname_save_LIBS
14053 if test "x$ac_cv_lib_soname_cups" = "x"; then
14054 { echo "$as_me:$LINENO: result: not found" >&5
14055 echo "${ECHO_T}not found" >&6; }
14057 else
14058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14059 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14061 cat >>confdefs.h <<_ACEOF
14062 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14063 _ACEOF
14070 if test "$ac_cv_header_jack_jack_h" = "yes"
14071 then
14072 { echo "$as_me:$LINENO: checking for -ljack" >&5
14073 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14074 if test "${ac_cv_lib_soname_jack+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 ac_check_soname_save_LIBS=$LIBS
14078 LIBS="-ljack $LIBS"
14079 cat >conftest.$ac_ext <<_ACEOF
14080 /* confdefs.h. */
14081 _ACEOF
14082 cat confdefs.h >>conftest.$ac_ext
14083 cat >>conftest.$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 #ifdef __cplusplus
14090 extern "C"
14091 #endif
14092 char jack_client_new ();
14094 main ()
14096 return jack_client_new ();
14098 return 0;
14100 _ACEOF
14101 rm -f conftest.$ac_objext conftest$ac_exeext
14102 if { (ac_try="$ac_link"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_link") 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest$ac_exeext &&
14118 $as_test_x conftest$ac_exeext; then
14119 case "$LIBEXT" in
14120 dll) ;;
14121 dylib) ac_cv_lib_soname_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'` ;;
14122 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14123 esac
14124 else
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.$ac_ext >&5
14131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14132 conftest$ac_exeext conftest.$ac_ext
14133 LIBS=$ac_check_soname_save_LIBS
14135 if test "x$ac_cv_lib_soname_jack" = "x"; then
14136 { echo "$as_me:$LINENO: result: not found" >&5
14137 echo "${ECHO_T}not found" >&6; }
14139 else
14140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14141 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14143 cat >>confdefs.h <<_ACEOF
14144 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14145 _ACEOF
14152 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14153 then
14154 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14155 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14156 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 else
14159 ac_check_soname_save_LIBS=$LIBS
14160 LIBS="-lfontconfig $LIBS"
14161 cat >conftest.$ac_ext <<_ACEOF
14162 /* confdefs.h. */
14163 _ACEOF
14164 cat confdefs.h >>conftest.$ac_ext
14165 cat >>conftest.$ac_ext <<_ACEOF
14166 /* end confdefs.h. */
14168 /* Override any GCC internal prototype to avoid an error.
14169 Use char because int might match the return type of a GCC
14170 builtin and then its argument prototype would still apply. */
14171 #ifdef __cplusplus
14172 extern "C"
14173 #endif
14174 char FcInit ();
14176 main ()
14178 return FcInit ();
14180 return 0;
14182 _ACEOF
14183 rm -f conftest.$ac_objext conftest$ac_exeext
14184 if { (ac_try="$ac_link"
14185 case "(($ac_try" in
14186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14187 *) ac_try_echo=$ac_try;;
14188 esac
14189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14190 (eval "$ac_link") 2>conftest.er1
14191 ac_status=$?
14192 grep -v '^ *+' conftest.er1 >conftest.err
14193 rm -f conftest.er1
14194 cat conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } && {
14197 test -z "$ac_c_werror_flag" ||
14198 test ! -s conftest.err
14199 } && test -s conftest$ac_exeext &&
14200 $as_test_x conftest$ac_exeext; then
14201 case "$LIBEXT" in
14202 dll) ;;
14203 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'` ;;
14204 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14205 esac
14206 else
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.$ac_ext >&5
14213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_soname_save_LIBS
14217 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14218 { echo "$as_me:$LINENO: result: not found" >&5
14219 echo "${ECHO_T}not found" >&6; }
14221 else
14222 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14223 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14225 cat >>confdefs.h <<_ACEOF
14226 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14227 _ACEOF
14234 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14235 then
14236 { echo "$as_me:$LINENO: checking for -lssl" >&5
14237 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14238 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 else
14241 ac_check_soname_save_LIBS=$LIBS
14242 LIBS="-lssl $LIBS"
14243 cat >conftest.$ac_ext <<_ACEOF
14244 /* confdefs.h. */
14245 _ACEOF
14246 cat confdefs.h >>conftest.$ac_ext
14247 cat >>conftest.$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14250 /* Override any GCC internal prototype to avoid an error.
14251 Use char because int might match the return type of a GCC
14252 builtin and then its argument prototype would still apply. */
14253 #ifdef __cplusplus
14254 extern "C"
14255 #endif
14256 char SSL_library_init ();
14258 main ()
14260 return SSL_library_init ();
14262 return 0;
14264 _ACEOF
14265 rm -f conftest.$ac_objext conftest$ac_exeext
14266 if { (ac_try="$ac_link"
14267 case "(($ac_try" in
14268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14269 *) ac_try_echo=$ac_try;;
14270 esac
14271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14272 (eval "$ac_link") 2>conftest.er1
14273 ac_status=$?
14274 grep -v '^ *+' conftest.er1 >conftest.err
14275 rm -f conftest.er1
14276 cat conftest.err >&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } && {
14279 test -z "$ac_c_werror_flag" ||
14280 test ! -s conftest.err
14281 } && test -s conftest$ac_exeext &&
14282 $as_test_x conftest$ac_exeext; then
14283 case "$LIBEXT" in
14284 dll) ;;
14285 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'` ;;
14286 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14287 esac
14288 else
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_soname_save_LIBS
14299 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14300 { echo "$as_me:$LINENO: result: not found" >&5
14301 echo "${ECHO_T}not found" >&6; }
14303 else
14304 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14305 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14307 cat >>confdefs.h <<_ACEOF
14308 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14309 _ACEOF
14314 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14315 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14316 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 else
14319 ac_check_soname_save_LIBS=$LIBS
14320 LIBS="-lcrypto $LIBS"
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14328 /* Override any GCC internal prototype to avoid an error.
14329 Use char because int might match the return type of a GCC
14330 builtin and then its argument prototype would still apply. */
14331 #ifdef __cplusplus
14332 extern "C"
14333 #endif
14334 char BIO_new_socket ();
14336 main ()
14338 return BIO_new_socket ();
14340 return 0;
14342 _ACEOF
14343 rm -f conftest.$ac_objext conftest$ac_exeext
14344 if { (ac_try="$ac_link"
14345 case "(($ac_try" in
14346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14347 *) ac_try_echo=$ac_try;;
14348 esac
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350 (eval "$ac_link") 2>conftest.er1
14351 ac_status=$?
14352 grep -v '^ *+' conftest.er1 >conftest.err
14353 rm -f conftest.er1
14354 cat conftest.err >&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } && {
14357 test -z "$ac_c_werror_flag" ||
14358 test ! -s conftest.err
14359 } && test -s conftest$ac_exeext &&
14360 $as_test_x conftest$ac_exeext; then
14361 case "$LIBEXT" in
14362 dll) ;;
14363 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'` ;;
14364 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14365 esac
14366 else
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_soname_save_LIBS
14377 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14378 { echo "$as_me:$LINENO: result: not found" >&5
14379 echo "${ECHO_T}not found" >&6; }
14381 else
14382 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14383 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14385 cat >>confdefs.h <<_ACEOF
14386 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14387 _ACEOF
14394 if test "$ac_cv_header_jpeglib_h" = "yes"
14395 then
14396 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14397 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14398 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 else
14401 ac_check_soname_save_LIBS=$LIBS
14402 LIBS="-ljpeg $LIBS"
14403 cat >conftest.$ac_ext <<_ACEOF
14404 /* confdefs.h. */
14405 _ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14413 #ifdef __cplusplus
14414 extern "C"
14415 #endif
14416 char jpeg_start_decompress ();
14418 main ()
14420 return jpeg_start_decompress ();
14422 return 0;
14424 _ACEOF
14425 rm -f conftest.$ac_objext conftest$ac_exeext
14426 if { (ac_try="$ac_link"
14427 case "(($ac_try" in
14428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14429 *) ac_try_echo=$ac_try;;
14430 esac
14431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14432 (eval "$ac_link") 2>conftest.er1
14433 ac_status=$?
14434 grep -v '^ *+' conftest.er1 >conftest.err
14435 rm -f conftest.er1
14436 cat conftest.err >&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } && {
14439 test -z "$ac_c_werror_flag" ||
14440 test ! -s conftest.err
14441 } && test -s conftest$ac_exeext &&
14442 $as_test_x conftest$ac_exeext; then
14443 case "$LIBEXT" in
14444 dll) ;;
14445 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'` ;;
14446 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14447 esac
14448 else
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14456 conftest$ac_exeext conftest.$ac_ext
14457 LIBS=$ac_check_soname_save_LIBS
14459 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14460 { echo "$as_me:$LINENO: result: not found" >&5
14461 echo "${ECHO_T}not found" >&6; }
14463 else
14464 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14465 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14467 cat >>confdefs.h <<_ACEOF
14468 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14469 _ACEOF
14476 if test "$ac_cv_header_png_h" = "yes"
14477 then
14478 { echo "$as_me:$LINENO: checking for -lpng" >&5
14479 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14480 if test "${ac_cv_lib_soname_png+set}" = set; then
14481 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 else
14483 ac_check_soname_save_LIBS=$LIBS
14484 LIBS="-lpng $LIBS"
14485 cat >conftest.$ac_ext <<_ACEOF
14486 /* confdefs.h. */
14487 _ACEOF
14488 cat confdefs.h >>conftest.$ac_ext
14489 cat >>conftest.$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14495 #ifdef __cplusplus
14496 extern "C"
14497 #endif
14498 char png_create_read_struct ();
14500 main ()
14502 return png_create_read_struct ();
14504 return 0;
14506 _ACEOF
14507 rm -f conftest.$ac_objext conftest$ac_exeext
14508 if { (ac_try="$ac_link"
14509 case "(($ac_try" in
14510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14511 *) ac_try_echo=$ac_try;;
14512 esac
14513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14514 (eval "$ac_link") 2>conftest.er1
14515 ac_status=$?
14516 grep -v '^ *+' conftest.er1 >conftest.err
14517 rm -f conftest.er1
14518 cat conftest.err >&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } && {
14521 test -z "$ac_c_werror_flag" ||
14522 test ! -s conftest.err
14523 } && test -s conftest$ac_exeext &&
14524 $as_test_x conftest$ac_exeext; then
14525 case "$LIBEXT" in
14526 dll) ;;
14527 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'` ;;
14528 *) 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'` ;;
14529 esac
14530 else
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.$ac_ext >&5
14537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LIBS=$ac_check_soname_save_LIBS
14541 if test "x$ac_cv_lib_soname_png" = "x"; then
14542 { echo "$as_me:$LINENO: result: not found" >&5
14543 echo "${ECHO_T}not found" >&6; }
14545 else
14546 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14547 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14549 cat >>confdefs.h <<_ACEOF
14550 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14551 _ACEOF
14559 EXTRACFLAGS=""
14561 if test "x${GCC}" = "xyes"
14562 then
14563 EXTRACFLAGS="-Wall -pipe"
14565 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14566 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14567 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 else
14570 if test "$cross_compiling" = yes; then
14571 ac_cv_c_gcc_strength_bug="yes"
14572 else
14573 cat >conftest.$ac_ext <<_ACEOF
14574 /* confdefs.h. */
14575 _ACEOF
14576 cat confdefs.h >>conftest.$ac_ext
14577 cat >>conftest.$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 int L[4] = {0,1,2,3};
14581 main ()
14583 static int Array[3];
14584 unsigned int B = 3;
14585 int i;
14586 for(i=0; i<B; i++) Array[i] = i - 3;
14587 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14588 L[i] = 4;
14589 exit( Array[1] != -2 || L[2] != 3)
14591 return 0;
14593 _ACEOF
14594 rm -f conftest$ac_exeext
14595 if { (ac_try="$ac_link"
14596 case "(($ac_try" in
14597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14598 *) ac_try_echo=$ac_try;;
14599 esac
14600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14601 (eval "$ac_link") 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14605 { (case "(($ac_try" in
14606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14608 esac
14609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_try") 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; }; then
14614 ac_cv_c_gcc_strength_bug="no"
14615 else
14616 echo "$as_me: program exited with status $ac_status" >&5
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.$ac_ext >&5
14620 ( exit $ac_status )
14621 ac_cv_c_gcc_strength_bug="yes"
14623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14628 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14629 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14630 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14631 then
14632 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14636 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14637 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14638 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -fshort-wchar"
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14651 main ()
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext conftest$ac_exeext
14659 if { (ac_try="$ac_link"
14660 case "(($ac_try" in
14661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14662 *) ac_try_echo=$ac_try;;
14663 esac
14664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14665 (eval "$ac_link") 2>conftest.er1
14666 ac_status=$?
14667 grep -v '^ *+' conftest.er1 >conftest.err
14668 rm -f conftest.er1
14669 cat conftest.err >&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && {
14672 test -z "$ac_c_werror_flag" ||
14673 test ! -s conftest.err
14674 } && test -s conftest$ac_exeext &&
14675 $as_test_x conftest$ac_exeext; then
14676 ac_cv_cflags__fshort_wchar=yes
14677 else
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14681 ac_cv_cflags__fshort_wchar=no
14684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14685 conftest$ac_exeext conftest.$ac_ext
14686 CFLAGS=$ac_wine_try_cflags_saved
14688 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14689 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14690 if test $ac_cv_cflags__fshort_wchar = yes; then
14692 cat >>confdefs.h <<\_ACEOF
14693 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14694 _ACEOF
14698 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14699 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14700 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 else
14703 ac_wine_try_cflags_saved=$CFLAGS
14704 CFLAGS="$CFLAGS -fno-strict-aliasing"
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14713 main ()
14717 return 0;
14719 _ACEOF
14720 rm -f conftest.$ac_objext conftest$ac_exeext
14721 if { (ac_try="$ac_link"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14725 esac
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_link") 2>conftest.er1
14728 ac_status=$?
14729 grep -v '^ *+' conftest.er1 >conftest.err
14730 rm -f conftest.er1
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } && {
14734 test -z "$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14736 } && test -s conftest$ac_exeext &&
14737 $as_test_x conftest$ac_exeext; then
14738 ac_cv_cflags__fno_strict_aliasing=yes
14739 else
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5
14743 ac_cv_cflags__fno_strict_aliasing=no
14746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14747 conftest$ac_exeext conftest.$ac_ext
14748 CFLAGS=$ac_wine_try_cflags_saved
14750 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14751 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14752 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14753 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14756 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14757 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14758 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 else
14761 ac_wine_try_cflags_saved=$CFLAGS
14762 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14763 cat >conftest.$ac_ext <<_ACEOF
14764 /* confdefs.h. */
14765 _ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14771 main ()
14775 return 0;
14777 _ACEOF
14778 rm -f conftest.$ac_objext conftest$ac_exeext
14779 if { (ac_try="$ac_link"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_link") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest$ac_exeext &&
14795 $as_test_x conftest$ac_exeext; then
14796 ac_cv_cflags__Wdeclaration_after_statement=yes
14797 else
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14801 ac_cv_cflags__Wdeclaration_after_statement=no
14804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14805 conftest$ac_exeext conftest.$ac_ext
14806 CFLAGS=$ac_wine_try_cflags_saved
14808 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14809 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14810 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14811 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14814 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14815 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14816 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 else
14819 ac_wine_try_cflags_saved=$CFLAGS
14820 CFLAGS="$CFLAGS -Wwrite-strings"
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14829 main ()
14833 return 0;
14835 _ACEOF
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (ac_try="$ac_link"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14841 esac
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_link") 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } && {
14850 test -z "$ac_c_werror_flag" ||
14851 test ! -s conftest.err
14852 } && test -s conftest$ac_exeext &&
14853 $as_test_x conftest$ac_exeext; then
14854 ac_cv_cflags__Wwrite_strings=yes
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_cv_cflags__Wwrite_strings=no
14862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14863 conftest$ac_exeext conftest.$ac_ext
14864 CFLAGS=$ac_wine_try_cflags_saved
14866 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14867 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14868 if test $ac_cv_cflags__Wwrite_strings = yes; then
14869 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14873 saved_CFLAGS="$CFLAGS"
14874 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14875 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14876 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14877 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 else
14880 cat >conftest.$ac_ext <<_ACEOF
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 #include <string.h>
14888 main ()
14892 return 0;
14894 _ACEOF
14895 rm -f conftest.$ac_objext
14896 if { (ac_try="$ac_compile"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14900 esac
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_compile") 2>conftest.er1
14903 ac_status=$?
14904 grep -v '^ *+' conftest.er1 >conftest.err
14905 rm -f conftest.er1
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } && {
14909 test -z "$ac_c_werror_flag" ||
14910 test ! -s conftest.err
14911 } && test -s conftest.$ac_objext; then
14912 ac_cv_c_string_h_warnings=no
14913 else
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14917 ac_cv_c_string_h_warnings=yes
14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14922 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14923 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14924 CFLAGS="$saved_CFLAGS"
14925 if test "$ac_cv_c_string_h_warnings" = "no"
14926 then
14927 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14930 BUILTINFLAG=""
14932 saved_CFLAGS="$CFLAGS"
14933 CFLAGS="$CFLAGS -Werror"
14934 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14935 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14936 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14947 main ()
14949 int iswlower(unsigned short);
14951 return 0;
14953 _ACEOF
14954 rm -f conftest.$ac_objext
14955 if { (ac_try="$ac_compile"
14956 case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14959 esac
14960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_compile") 2>conftest.er1
14962 ac_status=$?
14963 grep -v '^ *+' conftest.er1 >conftest.err
14964 rm -f conftest.er1
14965 cat conftest.err >&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } && {
14968 test -z "$ac_c_werror_flag" ||
14969 test ! -s conftest.err
14970 } && test -s conftest.$ac_objext; then
14971 ac_cv_c_builtin_wchar_ctype=no
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ac_cv_c_builtin_wchar_ctype=yes
14979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14981 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14982 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14983 CFLAGS="$saved_CFLAGS"
14984 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14985 then
14986 BUILTINFLAG="-fno-builtin"
14991 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14992 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14993 if test "${ac_cv_asm_func_def+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 cat >conftest.$ac_ext <<_ACEOF
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15004 main ()
15006 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15008 return 0;
15010 _ACEOF
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (ac_try="$ac_link"
15013 case "(($ac_try" in
15014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15015 *) ac_try_echo=$ac_try;;
15016 esac
15017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15018 (eval "$ac_link") 2>conftest.er1
15019 ac_status=$?
15020 grep -v '^ *+' conftest.er1 >conftest.err
15021 rm -f conftest.er1
15022 cat conftest.err >&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); } && {
15025 test -z "$ac_c_werror_flag" ||
15026 test ! -s conftest.err
15027 } && test -s conftest$ac_exeext &&
15028 $as_test_x conftest$ac_exeext; then
15029 ac_cv_asm_func_def=".def"
15030 else
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h. */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15042 main ()
15044 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15046 return 0;
15048 _ACEOF
15049 rm -f conftest.$ac_objext conftest$ac_exeext
15050 if { (ac_try="$ac_link"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15054 esac
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_link") 2>conftest.er1
15057 ac_status=$?
15058 grep -v '^ *+' conftest.er1 >conftest.err
15059 rm -f conftest.er1
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest$ac_exeext &&
15066 $as_test_x conftest$ac_exeext; then
15067 ac_cv_asm_func_def=".type @function"
15068 else
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5
15072 cat >conftest.$ac_ext <<_ACEOF
15073 /* confdefs.h. */
15074 _ACEOF
15075 cat confdefs.h >>conftest.$ac_ext
15076 cat >>conftest.$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15080 main ()
15082 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15084 return 0;
15086 _ACEOF
15087 rm -f conftest.$ac_objext conftest$ac_exeext
15088 if { (ac_try="$ac_link"
15089 case "(($ac_try" in
15090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15091 *) ac_try_echo=$ac_try;;
15092 esac
15093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15094 (eval "$ac_link") 2>conftest.er1
15095 ac_status=$?
15096 grep -v '^ *+' conftest.er1 >conftest.err
15097 rm -f conftest.er1
15098 cat conftest.err >&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } && {
15101 test -z "$ac_c_werror_flag" ||
15102 test ! -s conftest.err
15103 } && test -s conftest$ac_exeext &&
15104 $as_test_x conftest$ac_exeext; then
15105 ac_cv_asm_func_def=".type 2"
15106 else
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15110 ac_cv_asm_func_def="unknown"
15113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15114 conftest$ac_exeext conftest.$ac_ext
15117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15118 conftest$ac_exeext conftest.$ac_ext
15121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15122 conftest$ac_exeext conftest.$ac_ext
15124 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15125 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15129 case "$ac_cv_asm_func_def" in
15130 ".def")
15131 cat >>confdefs.h <<\_ACEOF
15132 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15133 _ACEOF
15135 ".type @function")
15136 cat >>confdefs.h <<\_ACEOF
15137 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15138 _ACEOF
15140 ".type 2")
15141 cat >>confdefs.h <<\_ACEOF
15142 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15143 _ACEOF
15146 cat >>confdefs.h <<\_ACEOF
15147 #define __ASM_FUNC(name) ""
15148 _ACEOF
15150 esac
15153 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15154 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15155 if test "${ac_cv_c_extern_prefix+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 else
15158 cat >conftest.$ac_ext <<_ACEOF
15159 /* confdefs.h. */
15160 _ACEOF
15161 cat confdefs.h >>conftest.$ac_ext
15162 cat >>conftest.$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15164 extern int ac_test;
15166 main ()
15168 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15170 return 0;
15172 _ACEOF
15173 rm -f conftest.$ac_objext conftest$ac_exeext
15174 if { (ac_try="$ac_link"
15175 case "(($ac_try" in
15176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15177 *) ac_try_echo=$ac_try;;
15178 esac
15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15180 (eval "$ac_link") 2>conftest.er1
15181 ac_status=$?
15182 grep -v '^ *+' conftest.er1 >conftest.err
15183 rm -f conftest.er1
15184 cat conftest.err >&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } && {
15187 test -z "$ac_c_werror_flag" ||
15188 test ! -s conftest.err
15189 } && test -s conftest$ac_exeext &&
15190 $as_test_x conftest$ac_exeext; then
15191 ac_cv_c_extern_prefix="yes"
15192 else
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.$ac_ext >&5
15196 ac_cv_c_extern_prefix="no"
15199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15200 conftest$ac_exeext conftest.$ac_ext
15202 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15203 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15207 if test "$ac_cv_c_extern_prefix" = "yes"
15208 then
15209 cat >>confdefs.h <<\_ACEOF
15210 #define __ASM_NAME(name) "_" name
15211 _ACEOF
15213 else
15214 cat >>confdefs.h <<\_ACEOF
15215 #define __ASM_NAME(name) name
15216 _ACEOF
15221 LDPATH=""
15223 case $build_os in
15224 cygwin*|mingw32*)
15225 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15227 darwin*|macosx*)
15229 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15230 then
15231 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15235 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15237 esac
15239 case $host_os in
15240 mingw32*)
15241 CRTLIBS="-lmsvcrt"
15243 SOCKETLIBS="-lws2_32"
15246 esac
15248 MAIN_BINARY="wine-pthread"
15249 case $host_cpu in
15250 *i[3456789]86*)
15251 case $host_os in
15252 linux* | k*bsd*-gnu)
15253 MAIN_BINARY="wine-glibc"
15255 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15257 esac
15259 esac
15263 cat >>confdefs.h <<_ACEOF
15264 #define SONAME_EXT ".$LIBEXT"
15265 _ACEOF
15268 { echo "$as_me:$LINENO: checking for -lX11" >&5
15269 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
15270 if test "${ac_cv_lib_soname_X11+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 ac_check_soname_save_LIBS=$LIBS
15274 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 #ifdef __cplusplus
15286 extern "C"
15287 #endif
15288 char XCreateWindow ();
15290 main ()
15292 return XCreateWindow ();
15294 return 0;
15296 _ACEOF
15297 rm -f conftest.$ac_objext conftest$ac_exeext
15298 if { (ac_try="$ac_link"
15299 case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15302 esac
15303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_link") 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext &&
15314 $as_test_x conftest$ac_exeext; then
15315 case "$LIBEXT" in
15316 dll) ;;
15317 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'` ;;
15318 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15319 esac
15320 else
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if test "x$ac_cv_lib_soname_X11" = "x"; then
15332 { echo "$as_me:$LINENO: result: not found" >&5
15333 echo "${ECHO_T}not found" >&6; }
15335 else
15336 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
15337 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
15341 _ACEOF
15346 { echo "$as_me:$LINENO: checking for -lXext" >&5
15347 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
15348 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 else
15351 ac_check_soname_save_LIBS=$LIBS
15352 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15353 cat >conftest.$ac_ext <<_ACEOF
15354 /* confdefs.h. */
15355 _ACEOF
15356 cat confdefs.h >>conftest.$ac_ext
15357 cat >>conftest.$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15360 /* Override any GCC internal prototype to avoid an error.
15361 Use char because int might match the return type of a GCC
15362 builtin and then its argument prototype would still apply. */
15363 #ifdef __cplusplus
15364 extern "C"
15365 #endif
15366 char XextCreateExtension ();
15368 main ()
15370 return XextCreateExtension ();
15372 return 0;
15374 _ACEOF
15375 rm -f conftest.$ac_objext conftest$ac_exeext
15376 if { (ac_try="$ac_link"
15377 case "(($ac_try" in
15378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15379 *) ac_try_echo=$ac_try;;
15380 esac
15381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15382 (eval "$ac_link") 2>conftest.er1
15383 ac_status=$?
15384 grep -v '^ *+' conftest.er1 >conftest.err
15385 rm -f conftest.er1
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } && {
15389 test -z "$ac_c_werror_flag" ||
15390 test ! -s conftest.err
15391 } && test -s conftest$ac_exeext &&
15392 $as_test_x conftest$ac_exeext; then
15393 case "$LIBEXT" in
15394 dll) ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15397 esac
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_soname_save_LIBS
15409 if test "x$ac_cv_lib_soname_Xext" = "x"; then
15410 { echo "$as_me:$LINENO: result: not found" >&5
15411 echo "${ECHO_T}not found" >&6; }
15413 else
15414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15415 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15417 cat >>confdefs.h <<_ACEOF
15418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15419 _ACEOF
15424 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
15425 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
15426 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15427 echo $ECHO_N "(cached) $ECHO_C" >&6
15428 else
15429 ac_check_soname_save_LIBS=$LIBS
15430 LIBS="-lfreetype $X_LIBS $LIBS"
15431 cat >conftest.$ac_ext <<_ACEOF
15432 /* confdefs.h. */
15433 _ACEOF
15434 cat confdefs.h >>conftest.$ac_ext
15435 cat >>conftest.$ac_ext <<_ACEOF
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 #ifdef __cplusplus
15442 extern "C"
15443 #endif
15444 char FT_Init_FreeType ();
15446 main ()
15448 return FT_Init_FreeType ();
15450 return 0;
15452 _ACEOF
15453 rm -f conftest.$ac_objext conftest$ac_exeext
15454 if { (ac_try="$ac_link"
15455 case "(($ac_try" in
15456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15457 *) ac_try_echo=$ac_try;;
15458 esac
15459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15460 (eval "$ac_link") 2>conftest.er1
15461 ac_status=$?
15462 grep -v '^ *+' conftest.er1 >conftest.err
15463 rm -f conftest.er1
15464 cat conftest.err >&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } && {
15467 test -z "$ac_c_werror_flag" ||
15468 test ! -s conftest.err
15469 } && test -s conftest$ac_exeext &&
15470 $as_test_x conftest$ac_exeext; then
15471 case "$LIBEXT" in
15472 dll) ;;
15473 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'` ;;
15474 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15475 esac
15476 else
15477 echo "$as_me: failed program was:" >&5
15478 sed 's/^/| /' conftest.$ac_ext >&5
15483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_soname_save_LIBS
15487 if test "x$ac_cv_lib_soname_freetype" = "x"; then
15488 { echo "$as_me:$LINENO: result: not found" >&5
15489 echo "${ECHO_T}not found" >&6; }
15491 else
15492 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15493 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15495 cat >>confdefs.h <<_ACEOF
15496 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15497 _ACEOF
15566 for ac_func in \
15567 _pclose \
15568 _popen \
15569 _snprintf \
15570 _spawnvp \
15571 _stricmp \
15572 _strnicmp \
15573 _vsnprintf \
15574 asctime_r \
15575 chsize \
15576 clone \
15577 dlopen \
15578 epoll_create \
15579 ffs \
15580 finite \
15581 fork \
15582 fpclass \
15583 fstatfs \
15584 fstatvfs \
15585 ftruncate \
15586 futimes \
15587 futimesat \
15588 getdirentries \
15589 getopt_long \
15590 getpagesize \
15591 getpwuid \
15592 gettid \
15593 gettimeofday \
15594 getuid \
15595 inet_pton \
15596 kqueue \
15597 lstat \
15598 memmove \
15599 mmap \
15600 pclose \
15601 poll \
15602 popen \
15603 prctl \
15604 pread \
15605 pwrite \
15606 readlink \
15607 rfork \
15608 sched_yield \
15609 select \
15610 setrlimit \
15611 settimeofday \
15612 sigaltstack \
15613 sigprocmask \
15614 snprintf \
15615 spawnvp \
15616 statfs \
15617 statvfs \
15618 strcasecmp \
15619 strerror \
15620 strncasecmp \
15621 strtold \
15622 tcgetattr \
15623 timegm \
15624 usleep \
15625 vsnprintf \
15626 wait4 \
15627 waitpid \
15630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636 cat >conftest.$ac_ext <<_ACEOF
15637 /* confdefs.h. */
15638 _ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15644 #define $ac_func innocuous_$ac_func
15646 /* System header to define __stub macros and hopefully few prototypes,
15647 which can conflict with char $ac_func (); below.
15648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15649 <limits.h> exists even on freestanding compilers. */
15651 #ifdef __STDC__
15652 # include <limits.h>
15653 #else
15654 # include <assert.h>
15655 #endif
15657 #undef $ac_func
15659 /* Override any GCC internal prototype to avoid an error.
15660 Use char because int might match the return type of a GCC
15661 builtin and then its argument prototype would still apply. */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 char $ac_func ();
15666 /* The GNU C library defines this for functions which it implements
15667 to always fail with ENOSYS. Some functions are actually named
15668 something starting with __ and the normal name is an alias. */
15669 #if defined __stub_$ac_func || defined __stub___$ac_func
15670 choke me
15671 #endif
15674 main ()
15676 return $ac_func ();
15678 return 0;
15680 _ACEOF
15681 rm -f conftest.$ac_objext conftest$ac_exeext
15682 if { (ac_try="$ac_link"
15683 case "(($ac_try" in
15684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15685 *) ac_try_echo=$ac_try;;
15686 esac
15687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15688 (eval "$ac_link") 2>conftest.er1
15689 ac_status=$?
15690 grep -v '^ *+' conftest.er1 >conftest.err
15691 rm -f conftest.er1
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } && {
15695 test -z "$ac_c_werror_flag" ||
15696 test ! -s conftest.err
15697 } && test -s conftest$ac_exeext &&
15698 $as_test_x conftest$ac_exeext; then
15699 eval "$as_ac_var=yes"
15700 else
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15704 eval "$as_ac_var=no"
15707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15708 conftest$ac_exeext conftest.$ac_ext
15710 ac_res=`eval echo '${'$as_ac_var'}'`
15711 { echo "$as_me:$LINENO: result: $ac_res" >&5
15712 echo "${ECHO_T}$ac_res" >&6; }
15713 if test `eval echo '${'$as_ac_var'}'` = yes; then
15714 cat >>confdefs.h <<_ACEOF
15715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15716 _ACEOF
15719 done
15722 if test "$ac_cv_func_dlopen" = no
15723 then
15724 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15725 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15726 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 ac_check_lib_save_LIBS=$LIBS
15730 LIBS="-ldl $LIBS"
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15738 /* Override any GCC internal prototype to avoid an error.
15739 Use char because int might match the return type of a GCC
15740 builtin and then its argument prototype would still apply. */
15741 #ifdef __cplusplus
15742 extern "C"
15743 #endif
15744 char dlopen ();
15746 main ()
15748 return dlopen ();
15750 return 0;
15752 _ACEOF
15753 rm -f conftest.$ac_objext conftest$ac_exeext
15754 if { (ac_try="$ac_link"
15755 case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15757 *) ac_try_echo=$ac_try;;
15758 esac
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_link") 2>conftest.er1
15761 ac_status=$?
15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } && {
15767 test -z "$ac_c_werror_flag" ||
15768 test ! -s conftest.err
15769 } && test -s conftest$ac_exeext &&
15770 $as_test_x conftest$ac_exeext; then
15771 ac_cv_lib_dl_dlopen=yes
15772 else
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15776 ac_cv_lib_dl_dlopen=no
15779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_check_lib_save_LIBS
15783 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15784 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15785 if test $ac_cv_lib_dl_dlopen = yes; then
15786 cat >>confdefs.h <<\_ACEOF
15787 #define HAVE_DLOPEN 1
15788 _ACEOF
15789 LIBDL="-ldl"
15794 ac_wine_check_funcs_save_LIBS="$LIBS"
15795 LIBS="$LIBS $LIBDL"
15797 for ac_func in dladdr
15799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 else
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15813 #define $ac_func innocuous_$ac_func
15815 /* System header to define __stub macros and hopefully few prototypes,
15816 which can conflict with char $ac_func (); below.
15817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15818 <limits.h> exists even on freestanding compilers. */
15820 #ifdef __STDC__
15821 # include <limits.h>
15822 #else
15823 # include <assert.h>
15824 #endif
15826 #undef $ac_func
15828 /* Override any GCC internal prototype to avoid an error.
15829 Use char because int might match the return type of a GCC
15830 builtin and then its argument prototype would still apply. */
15831 #ifdef __cplusplus
15832 extern "C"
15833 #endif
15834 char $ac_func ();
15835 /* The GNU C library defines this for functions which it implements
15836 to always fail with ENOSYS. Some functions are actually named
15837 something starting with __ and the normal name is an alias. */
15838 #if defined __stub_$ac_func || defined __stub___$ac_func
15839 choke me
15840 #endif
15843 main ()
15845 return $ac_func ();
15847 return 0;
15849 _ACEOF
15850 rm -f conftest.$ac_objext conftest$ac_exeext
15851 if { (ac_try="$ac_link"
15852 case "(($ac_try" in
15853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15854 *) ac_try_echo=$ac_try;;
15855 esac
15856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15857 (eval "$ac_link") 2>conftest.er1
15858 ac_status=$?
15859 grep -v '^ *+' conftest.er1 >conftest.err
15860 rm -f conftest.er1
15861 cat conftest.err >&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } && {
15864 test -z "$ac_c_werror_flag" ||
15865 test ! -s conftest.err
15866 } && test -s conftest$ac_exeext &&
15867 $as_test_x conftest$ac_exeext; then
15868 eval "$as_ac_var=yes"
15869 else
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.$ac_ext >&5
15873 eval "$as_ac_var=no"
15876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15877 conftest$ac_exeext conftest.$ac_ext
15879 ac_res=`eval echo '${'$as_ac_var'}'`
15880 { echo "$as_me:$LINENO: result: $ac_res" >&5
15881 echo "${ECHO_T}$ac_res" >&6; }
15882 if test `eval echo '${'$as_ac_var'}'` = yes; then
15883 cat >>confdefs.h <<_ACEOF
15884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15885 _ACEOF
15888 done
15890 LIBS="$ac_wine_check_funcs_save_LIBS"
15892 if test "$ac_cv_func_poll" = no
15893 then
15894 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15895 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15896 if test "${ac_cv_lib_poll_poll+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 else
15899 ac_check_lib_save_LIBS=$LIBS
15900 LIBS="-lpoll $LIBS"
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char poll ();
15916 main ()
15918 return poll ();
15920 return 0;
15922 _ACEOF
15923 rm -f conftest.$ac_objext conftest$ac_exeext
15924 if { (ac_try="$ac_link"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15928 esac
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_link") 2>conftest.er1
15931 ac_status=$?
15932 grep -v '^ *+' conftest.er1 >conftest.err
15933 rm -f conftest.er1
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } && {
15937 test -z "$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15939 } && test -s conftest$ac_exeext &&
15940 $as_test_x conftest$ac_exeext; then
15941 ac_cv_lib_poll_poll=yes
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 ac_cv_lib_poll_poll=no
15949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15950 conftest$ac_exeext conftest.$ac_ext
15951 LIBS=$ac_check_lib_save_LIBS
15953 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
15954 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
15955 if test $ac_cv_lib_poll_poll = yes; then
15956 cat >>confdefs.h <<\_ACEOF
15957 #define HAVE_POLL 1
15958 _ACEOF
15959 LIBPOLL="-lpoll"
15965 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
15966 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
15967 if test "${ac_cv_search_gethostbyname+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 else
15970 ac_func_search_save_LIBS=$LIBS
15971 cat >conftest.$ac_ext <<_ACEOF
15972 /* confdefs.h. */
15973 _ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15978 /* Override any GCC internal prototype to avoid an error.
15979 Use char because int might match the return type of a GCC
15980 builtin and then its argument prototype would still apply. */
15981 #ifdef __cplusplus
15982 extern "C"
15983 #endif
15984 char gethostbyname ();
15986 main ()
15988 return gethostbyname ();
15990 return 0;
15992 _ACEOF
15993 for ac_lib in '' nsl; do
15994 if test -z "$ac_lib"; then
15995 ac_res="none required"
15996 else
15997 ac_res=-l$ac_lib
15998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16000 rm -f conftest.$ac_objext conftest$ac_exeext
16001 if { (ac_try="$ac_link"
16002 case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16005 esac
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_link") 2>conftest.er1
16008 ac_status=$?
16009 grep -v '^ *+' conftest.er1 >conftest.err
16010 rm -f conftest.er1
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } && {
16014 test -z "$ac_c_werror_flag" ||
16015 test ! -s conftest.err
16016 } && test -s conftest$ac_exeext &&
16017 $as_test_x conftest$ac_exeext; then
16018 ac_cv_search_gethostbyname=$ac_res
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16027 conftest$ac_exeext
16028 if test "${ac_cv_search_gethostbyname+set}" = set; then
16029 break
16031 done
16032 if test "${ac_cv_search_gethostbyname+set}" = set; then
16034 else
16035 ac_cv_search_gethostbyname=no
16037 rm conftest.$ac_ext
16038 LIBS=$ac_func_search_save_LIBS
16040 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16041 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16042 ac_res=$ac_cv_search_gethostbyname
16043 if test "$ac_res" != no; then
16044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16049 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16050 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16051 if test "${ac_cv_search_connect+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16054 ac_func_search_save_LIBS=$LIBS
16055 cat >conftest.$ac_ext <<_ACEOF
16056 /* confdefs.h. */
16057 _ACEOF
16058 cat confdefs.h >>conftest.$ac_ext
16059 cat >>conftest.$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16062 /* Override any GCC internal prototype to avoid an error.
16063 Use char because int might match the return type of a GCC
16064 builtin and then its argument prototype would still apply. */
16065 #ifdef __cplusplus
16066 extern "C"
16067 #endif
16068 char connect ();
16070 main ()
16072 return connect ();
16074 return 0;
16076 _ACEOF
16077 for ac_lib in '' socket; do
16078 if test -z "$ac_lib"; then
16079 ac_res="none required"
16080 else
16081 ac_res=-l$ac_lib
16082 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16084 rm -f conftest.$ac_objext conftest$ac_exeext
16085 if { (ac_try="$ac_link"
16086 case "(($ac_try" in
16087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16088 *) ac_try_echo=$ac_try;;
16089 esac
16090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16091 (eval "$ac_link") 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } && {
16098 test -z "$ac_c_werror_flag" ||
16099 test ! -s conftest.err
16100 } && test -s conftest$ac_exeext &&
16101 $as_test_x conftest$ac_exeext; then
16102 ac_cv_search_connect=$ac_res
16103 else
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.$ac_ext >&5
16110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16111 conftest$ac_exeext
16112 if test "${ac_cv_search_connect+set}" = set; then
16113 break
16115 done
16116 if test "${ac_cv_search_connect+set}" = set; then
16118 else
16119 ac_cv_search_connect=no
16121 rm conftest.$ac_ext
16122 LIBS=$ac_func_search_save_LIBS
16124 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16125 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16126 ac_res=$ac_cv_search_connect
16127 if test "$ac_res" != no; then
16128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16133 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16134 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16135 if test "${ac_cv_search_inet_aton+set}" = set; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 else
16138 ac_func_search_save_LIBS=$LIBS
16139 cat >conftest.$ac_ext <<_ACEOF
16140 /* confdefs.h. */
16141 _ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char inet_aton ();
16154 main ()
16156 return inet_aton ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' resolv; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 rm -f conftest.$ac_objext conftest$ac_exeext
16169 if { (ac_try="$ac_link"
16170 case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16173 esac
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_link") 2>conftest.er1
16176 ac_status=$?
16177 grep -v '^ *+' conftest.er1 >conftest.err
16178 rm -f conftest.er1
16179 cat conftest.err >&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } && {
16182 test -z "$ac_c_werror_flag" ||
16183 test ! -s conftest.err
16184 } && test -s conftest$ac_exeext &&
16185 $as_test_x conftest$ac_exeext; then
16186 ac_cv_search_inet_aton=$ac_res
16187 else
16188 echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.$ac_ext >&5
16194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16195 conftest$ac_exeext
16196 if test "${ac_cv_search_inet_aton+set}" = set; then
16197 break
16199 done
16200 if test "${ac_cv_search_inet_aton+set}" = set; then
16202 else
16203 ac_cv_search_inet_aton=no
16205 rm conftest.$ac_ext
16206 LIBS=$ac_func_search_save_LIBS
16208 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16209 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16210 ac_res=$ac_cv_search_inet_aton
16211 if test "$ac_res" != no; then
16212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16225 for ac_func in \
16226 getaddrinfo \
16227 getnameinfo \
16228 getnetbyname \
16229 getprotobyname \
16230 getprotobynumber \
16231 getservbyport \
16232 inet_network \
16233 sendmsg \
16236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16237 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16239 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16240 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 else
16242 cat >conftest.$ac_ext <<_ACEOF
16243 /* confdefs.h. */
16244 _ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16250 #define $ac_func innocuous_$ac_func
16252 /* System header to define __stub macros and hopefully few prototypes,
16253 which can conflict with char $ac_func (); below.
16254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16255 <limits.h> exists even on freestanding compilers. */
16257 #ifdef __STDC__
16258 # include <limits.h>
16259 #else
16260 # include <assert.h>
16261 #endif
16263 #undef $ac_func
16265 /* Override any GCC internal prototype to avoid an error.
16266 Use char because int might match the return type of a GCC
16267 builtin and then its argument prototype would still apply. */
16268 #ifdef __cplusplus
16269 extern "C"
16270 #endif
16271 char $ac_func ();
16272 /* The GNU C library defines this for functions which it implements
16273 to always fail with ENOSYS. Some functions are actually named
16274 something starting with __ and the normal name is an alias. */
16275 #if defined __stub_$ac_func || defined __stub___$ac_func
16276 choke me
16277 #endif
16280 main ()
16282 return $ac_func ();
16284 return 0;
16286 _ACEOF
16287 rm -f conftest.$ac_objext conftest$ac_exeext
16288 if { (ac_try="$ac_link"
16289 case "(($ac_try" in
16290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16291 *) ac_try_echo=$ac_try;;
16292 esac
16293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16294 (eval "$ac_link") 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } && {
16301 test -z "$ac_c_werror_flag" ||
16302 test ! -s conftest.err
16303 } && test -s conftest$ac_exeext &&
16304 $as_test_x conftest$ac_exeext; then
16305 eval "$as_ac_var=yes"
16306 else
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16310 eval "$as_ac_var=no"
16313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16314 conftest$ac_exeext conftest.$ac_ext
16316 ac_res=`eval echo '${'$as_ac_var'}'`
16317 { echo "$as_me:$LINENO: result: $ac_res" >&5
16318 echo "${ECHO_T}$ac_res" >&6; }
16319 if test `eval echo '${'$as_ac_var'}'` = yes; then
16320 cat >>confdefs.h <<_ACEOF
16321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16322 _ACEOF
16325 done
16329 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16330 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16331 if test "${ac_cv_c_const+set}" = set; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 else
16334 cat >conftest.$ac_ext <<_ACEOF
16335 /* confdefs.h. */
16336 _ACEOF
16337 cat confdefs.h >>conftest.$ac_ext
16338 cat >>conftest.$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16342 main ()
16344 /* FIXME: Include the comments suggested by Paul. */
16345 #ifndef __cplusplus
16346 /* Ultrix mips cc rejects this. */
16347 typedef int charset[2];
16348 const charset cs;
16349 /* SunOS 4.1.1 cc rejects this. */
16350 char const *const *pcpcc;
16351 char **ppc;
16352 /* NEC SVR4.0.2 mips cc rejects this. */
16353 struct point {int x, y;};
16354 static struct point const zero = {0,0};
16355 /* AIX XL C 1.02.0.0 rejects this.
16356 It does not let you subtract one const X* pointer from another in
16357 an arm of an if-expression whose if-part is not a constant
16358 expression */
16359 const char *g = "string";
16360 pcpcc = &g + (g ? g-g : 0);
16361 /* HPUX 7.0 cc rejects these. */
16362 ++pcpcc;
16363 ppc = (char**) pcpcc;
16364 pcpcc = (char const *const *) ppc;
16365 { /* SCO 3.2v4 cc rejects this. */
16366 char *t;
16367 char const *s = 0 ? (char *) 0 : (char const *) 0;
16369 *t++ = 0;
16370 if (s) return 0;
16372 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16373 int x[] = {25, 17};
16374 const int *foo = &x[0];
16375 ++foo;
16377 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16378 typedef const int *iptr;
16379 iptr p = 0;
16380 ++p;
16382 { /* AIX XL C 1.02.0.0 rejects this saying
16383 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16384 struct s { int j; const int *ap[3]; };
16385 struct s *b; b->j = 5;
16387 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16388 const int foo = 10;
16389 if (!foo) return 0;
16391 return !cs[0] && !zero.x;
16392 #endif
16395 return 0;
16397 _ACEOF
16398 rm -f conftest.$ac_objext
16399 if { (ac_try="$ac_compile"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16403 esac
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_compile") 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && {
16412 test -z "$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16414 } && test -s conftest.$ac_objext; then
16415 ac_cv_c_const=yes
16416 else
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.$ac_ext >&5
16420 ac_cv_c_const=no
16423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16425 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16426 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16427 if test $ac_cv_c_const = no; then
16429 cat >>confdefs.h <<\_ACEOF
16430 #define const
16431 _ACEOF
16435 { echo "$as_me:$LINENO: checking for inline" >&5
16436 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16437 if test "${ac_cv_c_inline+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 else
16440 ac_cv_c_inline=no
16441 for ac_kw in inline __inline__ __inline; do
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h. */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #ifndef __cplusplus
16449 typedef int foo_t;
16450 static $ac_kw foo_t static_foo () {return 0; }
16451 $ac_kw foo_t foo () {return 0; }
16452 #endif
16454 _ACEOF
16455 rm -f conftest.$ac_objext
16456 if { (ac_try="$ac_compile"
16457 case "(($ac_try" in
16458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16459 *) ac_try_echo=$ac_try;;
16460 esac
16461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16462 (eval "$ac_compile") 2>conftest.er1
16463 ac_status=$?
16464 grep -v '^ *+' conftest.er1 >conftest.err
16465 rm -f conftest.er1
16466 cat conftest.err >&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } && {
16469 test -z "$ac_c_werror_flag" ||
16470 test ! -s conftest.err
16471 } && test -s conftest.$ac_objext; then
16472 ac_cv_c_inline=$ac_kw
16473 else
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16481 test "$ac_cv_c_inline" != no && break
16482 done
16485 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16486 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16489 case $ac_cv_c_inline in
16490 inline | yes) ;;
16492 case $ac_cv_c_inline in
16493 no) ac_val=;;
16494 *) ac_val=$ac_cv_c_inline;;
16495 esac
16496 cat >>confdefs.h <<_ACEOF
16497 #ifndef __cplusplus
16498 #define inline $ac_val
16499 #endif
16500 _ACEOF
16502 esac
16504 { echo "$as_me:$LINENO: checking for mode_t" >&5
16505 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16506 if test "${ac_cv_type_mode_t+set}" = set; then
16507 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 else
16509 cat >conftest.$ac_ext <<_ACEOF
16510 /* confdefs.h. */
16511 _ACEOF
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 $ac_includes_default
16516 typedef mode_t ac__type_new_;
16518 main ()
16520 if ((ac__type_new_ *) 0)
16521 return 0;
16522 if (sizeof (ac__type_new_))
16523 return 0;
16525 return 0;
16527 _ACEOF
16528 rm -f conftest.$ac_objext
16529 if { (ac_try="$ac_compile"
16530 case "(($ac_try" in
16531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;;
16533 esac
16534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16535 (eval "$ac_compile") 2>conftest.er1
16536 ac_status=$?
16537 grep -v '^ *+' conftest.er1 >conftest.err
16538 rm -f conftest.er1
16539 cat conftest.err >&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } && {
16542 test -z "$ac_c_werror_flag" ||
16543 test ! -s conftest.err
16544 } && test -s conftest.$ac_objext; then
16545 ac_cv_type_mode_t=yes
16546 else
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.$ac_ext >&5
16550 ac_cv_type_mode_t=no
16553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16555 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16556 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16557 if test $ac_cv_type_mode_t = yes; then
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_MODE_T 1
16561 _ACEOF
16565 { echo "$as_me:$LINENO: checking for off_t" >&5
16566 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16567 if test "${ac_cv_type_off_t+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16569 else
16570 cat >conftest.$ac_ext <<_ACEOF
16571 /* confdefs.h. */
16572 _ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16577 typedef off_t ac__type_new_;
16579 main ()
16581 if ((ac__type_new_ *) 0)
16582 return 0;
16583 if (sizeof (ac__type_new_))
16584 return 0;
16586 return 0;
16588 _ACEOF
16589 rm -f conftest.$ac_objext
16590 if { (ac_try="$ac_compile"
16591 case "(($ac_try" in
16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16593 *) ac_try_echo=$ac_try;;
16594 esac
16595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16596 (eval "$ac_compile") 2>conftest.er1
16597 ac_status=$?
16598 grep -v '^ *+' conftest.er1 >conftest.err
16599 rm -f conftest.er1
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } && {
16603 test -z "$ac_c_werror_flag" ||
16604 test ! -s conftest.err
16605 } && test -s conftest.$ac_objext; then
16606 ac_cv_type_off_t=yes
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16611 ac_cv_type_off_t=no
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16616 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16617 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16618 if test $ac_cv_type_off_t = yes; then
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_OFF_T 1
16622 _ACEOF
16626 { echo "$as_me:$LINENO: checking for pid_t" >&5
16627 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16628 if test "${ac_cv_type_pid_t+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 else
16631 cat >conftest.$ac_ext <<_ACEOF
16632 /* confdefs.h. */
16633 _ACEOF
16634 cat confdefs.h >>conftest.$ac_ext
16635 cat >>conftest.$ac_ext <<_ACEOF
16636 /* end confdefs.h. */
16637 $ac_includes_default
16638 typedef pid_t ac__type_new_;
16640 main ()
16642 if ((ac__type_new_ *) 0)
16643 return 0;
16644 if (sizeof (ac__type_new_))
16645 return 0;
16647 return 0;
16649 _ACEOF
16650 rm -f conftest.$ac_objext
16651 if { (ac_try="$ac_compile"
16652 case "(($ac_try" in
16653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654 *) ac_try_echo=$ac_try;;
16655 esac
16656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16657 (eval "$ac_compile") 2>conftest.er1
16658 ac_status=$?
16659 grep -v '^ *+' conftest.er1 >conftest.err
16660 rm -f conftest.er1
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && {
16664 test -z "$ac_c_werror_flag" ||
16665 test ! -s conftest.err
16666 } && test -s conftest.$ac_objext; then
16667 ac_cv_type_pid_t=yes
16668 else
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_cv_type_pid_t=no
16675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16677 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16678 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16679 if test $ac_cv_type_pid_t = yes; then
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_PID_T 1
16683 _ACEOF
16687 { echo "$as_me:$LINENO: checking for size_t" >&5
16688 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16689 if test "${ac_cv_type_size_t+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 else
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 $ac_includes_default
16699 typedef size_t ac__type_new_;
16701 main ()
16703 if ((ac__type_new_ *) 0)
16704 return 0;
16705 if (sizeof (ac__type_new_))
16706 return 0;
16708 return 0;
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715 *) ac_try_echo=$ac_try;;
16716 esac
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16719 ac_status=$?
16720 grep -v '^ *+' conftest.er1 >conftest.err
16721 rm -f conftest.er1
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_c_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.$ac_objext; then
16728 ac_cv_type_size_t=yes
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16733 ac_cv_type_size_t=no
16736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16738 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16739 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16740 if test $ac_cv_type_size_t = yes; then
16742 cat >>confdefs.h <<_ACEOF
16743 #define HAVE_SIZE_T 1
16744 _ACEOF
16748 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16749 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16750 if test "${ac_cv_type_ssize_t+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 typedef ssize_t ac__type_new_;
16762 main ()
16764 if ((ac__type_new_ *) 0)
16765 return 0;
16766 if (sizeof (ac__type_new_))
16767 return 0;
16769 return 0;
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (ac_try="$ac_compile"
16774 case "(($ac_try" in
16775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16776 *) ac_try_echo=$ac_try;;
16777 esac
16778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16779 (eval "$ac_compile") 2>conftest.er1
16780 ac_status=$?
16781 grep -v '^ *+' conftest.er1 >conftest.err
16782 rm -f conftest.er1
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && {
16786 test -z "$ac_c_werror_flag" ||
16787 test ! -s conftest.err
16788 } && test -s conftest.$ac_objext; then
16789 ac_cv_type_ssize_t=yes
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16794 ac_cv_type_ssize_t=no
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16799 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16800 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16801 if test $ac_cv_type_ssize_t = yes; then
16803 cat >>confdefs.h <<_ACEOF
16804 #define HAVE_SSIZE_T 1
16805 _ACEOF
16809 { echo "$as_me:$LINENO: checking for long long" >&5
16810 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16811 if test "${ac_cv_type_long_long+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814 cat >conftest.$ac_ext <<_ACEOF
16815 /* confdefs.h. */
16816 _ACEOF
16817 cat confdefs.h >>conftest.$ac_ext
16818 cat >>conftest.$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 $ac_includes_default
16821 typedef long long ac__type_new_;
16823 main ()
16825 if ((ac__type_new_ *) 0)
16826 return 0;
16827 if (sizeof (ac__type_new_))
16828 return 0;
16830 return 0;
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 ac_cv_type_long_long=yes
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_cv_type_long_long=no
16858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16860 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16861 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16862 if test $ac_cv_type_long_long = yes; then
16864 cat >>confdefs.h <<_ACEOF
16865 #define HAVE_LONG_LONG 1
16866 _ACEOF
16870 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16871 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16872 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 $ac_includes_default
16882 typedef fsblkcnt_t ac__type_new_;
16884 main ()
16886 if ((ac__type_new_ *) 0)
16887 return 0;
16888 if (sizeof (ac__type_new_))
16889 return 0;
16891 return 0;
16893 _ACEOF
16894 rm -f conftest.$ac_objext
16895 if { (ac_try="$ac_compile"
16896 case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16899 esac
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_compile") 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } && {
16908 test -z "$ac_c_werror_flag" ||
16909 test ! -s conftest.err
16910 } && test -s conftest.$ac_objext; then
16911 ac_cv_type_fsblkcnt_t=yes
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16916 ac_cv_type_fsblkcnt_t=no
16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16921 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16922 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16923 if test $ac_cv_type_fsblkcnt_t = yes; then
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_FSBLKCNT_T 1
16927 _ACEOF
16931 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16932 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16933 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 cat >conftest.$ac_ext <<_ACEOF
16937 /* confdefs.h. */
16938 _ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 $ac_includes_default
16943 typedef fsfilcnt_t ac__type_new_;
16945 main ()
16947 if ((ac__type_new_ *) 0)
16948 return 0;
16949 if (sizeof (ac__type_new_))
16950 return 0;
16952 return 0;
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (ac_try="$ac_compile"
16957 case "(($ac_try" in
16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16959 *) ac_try_echo=$ac_try;;
16960 esac
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_compile") 2>conftest.er1
16963 ac_status=$?
16964 grep -v '^ *+' conftest.er1 >conftest.err
16965 rm -f conftest.er1
16966 cat conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } && {
16969 test -z "$ac_c_werror_flag" ||
16970 test ! -s conftest.err
16971 } && test -s conftest.$ac_objext; then
16972 ac_cv_type_fsfilcnt_t=yes
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16977 ac_cv_type_fsfilcnt_t=no
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16983 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
16984 if test $ac_cv_type_fsfilcnt_t = yes; then
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_FSFILCNT_T 1
16988 _ACEOF
16993 { echo "$as_me:$LINENO: checking for sigset_t" >&5
16994 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
16995 if test "${ac_cv_type_sigset_t+set}" = set; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 else
16998 cat >conftest.$ac_ext <<_ACEOF
16999 /* confdefs.h. */
17000 _ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <signal.h>
17006 typedef sigset_t ac__type_new_;
17008 main ()
17010 if ((ac__type_new_ *) 0)
17011 return 0;
17012 if (sizeof (ac__type_new_))
17013 return 0;
17015 return 0;
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17023 esac
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_c_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 ac_cv_type_sigset_t=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17040 ac_cv_type_sigset_t=no
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17046 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17047 if test $ac_cv_type_sigset_t = yes; then
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_SIGSET_T 1
17051 _ACEOF
17056 { echo "$as_me:$LINENO: checking for request_sense" >&5
17057 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17058 if test "${ac_cv_type_request_sense+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 else
17061 cat >conftest.$ac_ext <<_ACEOF
17062 /* confdefs.h. */
17063 _ACEOF
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067 #include <linux/cdrom.h>
17069 typedef request_sense ac__type_new_;
17071 main ()
17073 if ((ac__type_new_ *) 0)
17074 return 0;
17075 if (sizeof (ac__type_new_))
17076 return 0;
17078 return 0;
17080 _ACEOF
17081 rm -f conftest.$ac_objext
17082 if { (ac_try="$ac_compile"
17083 case "(($ac_try" in
17084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17085 *) ac_try_echo=$ac_try;;
17086 esac
17087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17088 (eval "$ac_compile") 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } && {
17095 test -z "$ac_c_werror_flag" ||
17096 test ! -s conftest.err
17097 } && test -s conftest.$ac_objext; then
17098 ac_cv_type_request_sense=yes
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17103 ac_cv_type_request_sense=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17109 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17110 if test $ac_cv_type_request_sense = yes; then
17112 cat >>confdefs.h <<_ACEOF
17113 #define HAVE_REQUEST_SENSE 1
17114 _ACEOF
17120 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17121 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17122 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 else
17125 cat >conftest.$ac_ext <<_ACEOF
17126 /* confdefs.h. */
17127 _ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 #ifdef HAVE_LINUX_INPUT_H
17132 #include <linux/input.h>
17133 #endif
17136 main ()
17138 static struct ff_effect ac_aggr;
17139 if (ac_aggr.direction)
17140 return 0;
17142 return 0;
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (ac_try="$ac_compile"
17147 case "(($ac_try" in
17148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17149 *) ac_try_echo=$ac_try;;
17150 esac
17151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17152 (eval "$ac_compile") 2>conftest.er1
17153 ac_status=$?
17154 grep -v '^ *+' conftest.er1 >conftest.err
17155 rm -f conftest.er1
17156 cat conftest.err >&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && {
17159 test -z "$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 } && test -s conftest.$ac_objext; then
17162 ac_cv_member_struct_ff_effect_direction=yes
17163 else
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 cat >conftest.$ac_ext <<_ACEOF
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 #ifdef HAVE_LINUX_INPUT_H
17174 #include <linux/input.h>
17175 #endif
17178 main ()
17180 static struct ff_effect ac_aggr;
17181 if (sizeof ac_aggr.direction)
17182 return 0;
17184 return 0;
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 ac_cv_member_struct_ff_effect_direction=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17209 ac_cv_member_struct_ff_effect_direction=no
17212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17218 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17219 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17223 _ACEOF
17229 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17230 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17231 if test "${wine_cv_have_sigaddset+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 else
17234 cat >conftest.$ac_ext <<_ACEOF
17235 /* confdefs.h. */
17236 _ACEOF
17237 cat confdefs.h >>conftest.$ac_ext
17238 cat >>conftest.$ac_ext <<_ACEOF
17239 /* end confdefs.h. */
17240 #include <signal.h>
17242 main ()
17244 sigset_t set; sigaddset(&set,SIGTERM);
17246 return 0;
17248 _ACEOF
17249 rm -f conftest.$ac_objext conftest$ac_exeext
17250 if { (ac_try="$ac_link"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17254 esac
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_link") 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest$ac_exeext &&
17266 $as_test_x conftest$ac_exeext; then
17267 wine_cv_have_sigaddset=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17272 wine_cv_have_sigaddset=no
17275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17276 conftest$ac_exeext conftest.$ac_ext
17278 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17279 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17280 if test "$wine_cv_have_sigaddset" = "yes"
17281 then
17283 cat >>confdefs.h <<\_ACEOF
17284 #define HAVE_SIGADDSET 1
17285 _ACEOF
17290 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17291 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17292 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17293 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 else
17295 cat >conftest.$ac_ext <<_ACEOF
17296 /* confdefs.h. */
17297 _ACEOF
17298 cat confdefs.h >>conftest.$ac_ext
17299 cat >>conftest.$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301 #include <netdb.h>
17303 main ()
17306 char *name=NULL;
17307 struct hostent he;
17308 struct hostent *result;
17309 char *buf=NULL;
17310 int bufsize=0;
17311 int res,errnr;
17312 char *addr=NULL;
17313 int addrlen=0;
17314 int addrtype=0;
17315 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17316 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17319 return 0;
17321 _ACEOF
17322 rm -f conftest.$ac_objext conftest$ac_exeext
17323 if { (ac_try="$ac_link"
17324 case "(($ac_try" in
17325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17327 esac
17328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17329 (eval "$ac_link") 2>conftest.er1
17330 ac_status=$?
17331 grep -v '^ *+' conftest.er1 >conftest.err
17332 rm -f conftest.er1
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } && {
17336 test -z "$ac_c_werror_flag" ||
17337 test ! -s conftest.err
17338 } && test -s conftest$ac_exeext &&
17339 $as_test_x conftest$ac_exeext; then
17340 wine_cv_linux_gethostbyname_r_6=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17345 wine_cv_linux_gethostbyname_r_6=no
17349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17350 conftest$ac_exeext conftest.$ac_ext
17353 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17354 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17355 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17356 then
17358 cat >>confdefs.h <<\_ACEOF
17359 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17360 _ACEOF
17364 if test "$ac_cv_header_linux_joystick_h" = "yes"
17365 then
17366 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17367 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17368 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 else
17371 cat >conftest.$ac_ext <<_ACEOF
17372 /* confdefs.h. */
17373 _ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17378 #include <sys/ioctl.h>
17379 #include <sys/types.h>
17380 #include <linux/joystick.h>
17382 struct js_event blub;
17383 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17384 #error "no 2.2 header"
17385 #endif
17388 main ()
17390 /*empty*/
17392 return 0;
17394 _ACEOF
17395 rm -f conftest.$ac_objext
17396 if { (ac_try="$ac_compile"
17397 case "(($ac_try" in
17398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17399 *) ac_try_echo=$ac_try;;
17400 esac
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_compile") 2>conftest.er1
17403 ac_status=$?
17404 grep -v '^ *+' conftest.er1 >conftest.err
17405 rm -f conftest.er1
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } && {
17409 test -z "$ac_c_werror_flag" ||
17410 test ! -s conftest.err
17411 } && test -s conftest.$ac_objext; then
17412 wine_cv_linux_joystick_22_api=yes
17413 else
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17417 wine_cv_linux_joystick_22_api=no
17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17423 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17424 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17425 if test "$wine_cv_linux_joystick_22_api" = "yes"
17426 then
17428 cat >>confdefs.h <<\_ACEOF
17429 #define HAVE_LINUX_22_JOYSTICK_API 1
17430 _ACEOF
17436 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17437 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17438 if test "${ac_cv_member_struct_statfs_f_bfree+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 <sys/types.h>
17448 #ifdef HAVE_SYS_PARAM_H
17449 # include <sys/param.h>
17450 #endif
17451 #ifdef HAVE_SYS_MOUNT_H
17452 # include <sys/mount.h>
17453 #endif
17454 #ifdef HAVE_SYS_VFS_H
17455 # include <sys/vfs.h>
17456 #endif
17457 #ifdef HAVE_SYS_STATFS_H
17458 # include <sys/statfs.h>
17459 #endif
17462 main ()
17464 static struct statfs ac_aggr;
17465 if (ac_aggr.f_bfree)
17466 return 0;
17468 return 0;
17470 _ACEOF
17471 rm -f conftest.$ac_objext
17472 if { (ac_try="$ac_compile"
17473 case "(($ac_try" in
17474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17475 *) ac_try_echo=$ac_try;;
17476 esac
17477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17478 (eval "$ac_compile") 2>conftest.er1
17479 ac_status=$?
17480 grep -v '^ *+' conftest.er1 >conftest.err
17481 rm -f conftest.er1
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } && {
17485 test -z "$ac_c_werror_flag" ||
17486 test ! -s conftest.err
17487 } && test -s conftest.$ac_objext; then
17488 ac_cv_member_struct_statfs_f_bfree=yes
17489 else
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17493 cat >conftest.$ac_ext <<_ACEOF
17494 /* confdefs.h. */
17495 _ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 #include <sys/types.h>
17500 #ifdef HAVE_SYS_PARAM_H
17501 # include <sys/param.h>
17502 #endif
17503 #ifdef HAVE_SYS_MOUNT_H
17504 # include <sys/mount.h>
17505 #endif
17506 #ifdef HAVE_SYS_VFS_H
17507 # include <sys/vfs.h>
17508 #endif
17509 #ifdef HAVE_SYS_STATFS_H
17510 # include <sys/statfs.h>
17511 #endif
17514 main ()
17516 static struct statfs ac_aggr;
17517 if (sizeof ac_aggr.f_bfree)
17518 return 0;
17520 return 0;
17522 _ACEOF
17523 rm -f conftest.$ac_objext
17524 if { (ac_try="$ac_compile"
17525 case "(($ac_try" in
17526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17528 esac
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_compile") 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } && {
17537 test -z "$ac_c_werror_flag" ||
17538 test ! -s conftest.err
17539 } && test -s conftest.$ac_objext; then
17540 ac_cv_member_struct_statfs_f_bfree=yes
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17545 ac_cv_member_struct_statfs_f_bfree=no
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17554 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17555 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17557 cat >>confdefs.h <<_ACEOF
17558 #define HAVE_STRUCT_STATFS_F_BFREE 1
17559 _ACEOF
17563 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17564 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17565 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 else
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 #include <sys/types.h>
17575 #ifdef HAVE_SYS_PARAM_H
17576 # include <sys/param.h>
17577 #endif
17578 #ifdef HAVE_SYS_MOUNT_H
17579 # include <sys/mount.h>
17580 #endif
17581 #ifdef HAVE_SYS_VFS_H
17582 # include <sys/vfs.h>
17583 #endif
17584 #ifdef HAVE_SYS_STATFS_H
17585 # include <sys/statfs.h>
17586 #endif
17589 main ()
17591 static struct statfs ac_aggr;
17592 if (ac_aggr.f_bavail)
17593 return 0;
17595 return 0;
17597 _ACEOF
17598 rm -f conftest.$ac_objext
17599 if { (ac_try="$ac_compile"
17600 case "(($ac_try" in
17601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17602 *) ac_try_echo=$ac_try;;
17603 esac
17604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17605 (eval "$ac_compile") 2>conftest.er1
17606 ac_status=$?
17607 grep -v '^ *+' conftest.er1 >conftest.err
17608 rm -f conftest.er1
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } && {
17612 test -z "$ac_c_werror_flag" ||
17613 test ! -s conftest.err
17614 } && test -s conftest.$ac_objext; then
17615 ac_cv_member_struct_statfs_f_bavail=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 #include <sys/types.h>
17627 #ifdef HAVE_SYS_PARAM_H
17628 # include <sys/param.h>
17629 #endif
17630 #ifdef HAVE_SYS_MOUNT_H
17631 # include <sys/mount.h>
17632 #endif
17633 #ifdef HAVE_SYS_VFS_H
17634 # include <sys/vfs.h>
17635 #endif
17636 #ifdef HAVE_SYS_STATFS_H
17637 # include <sys/statfs.h>
17638 #endif
17641 main ()
17643 static struct statfs ac_aggr;
17644 if (sizeof ac_aggr.f_bavail)
17645 return 0;
17647 return 0;
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (ac_try="$ac_compile"
17652 case "(($ac_try" in
17653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17655 esac
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_compile") 2>conftest.er1
17658 ac_status=$?
17659 grep -v '^ *+' conftest.er1 >conftest.err
17660 rm -f conftest.er1
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } && {
17664 test -z "$ac_c_werror_flag" ||
17665 test ! -s conftest.err
17666 } && test -s conftest.$ac_objext; then
17667 ac_cv_member_struct_statfs_f_bavail=yes
17668 else
17669 echo "$as_me: failed program was:" >&5
17670 sed 's/^/| /' conftest.$ac_ext >&5
17672 ac_cv_member_struct_statfs_f_bavail=no
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17681 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17682 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17684 cat >>confdefs.h <<_ACEOF
17685 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17686 _ACEOF
17690 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17691 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17692 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <sys/types.h>
17702 #ifdef HAVE_SYS_PARAM_H
17703 # include <sys/param.h>
17704 #endif
17705 #ifdef HAVE_SYS_MOUNT_H
17706 # include <sys/mount.h>
17707 #endif
17708 #ifdef HAVE_SYS_VFS_H
17709 # include <sys/vfs.h>
17710 #endif
17711 #ifdef HAVE_SYS_STATFS_H
17712 # include <sys/statfs.h>
17713 #endif
17716 main ()
17718 static struct statfs ac_aggr;
17719 if (ac_aggr.f_frsize)
17720 return 0;
17722 return 0;
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_c_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.$ac_objext; then
17742 ac_cv_member_struct_statfs_f_frsize=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753 #include <sys/types.h>
17754 #ifdef HAVE_SYS_PARAM_H
17755 # include <sys/param.h>
17756 #endif
17757 #ifdef HAVE_SYS_MOUNT_H
17758 # include <sys/mount.h>
17759 #endif
17760 #ifdef HAVE_SYS_VFS_H
17761 # include <sys/vfs.h>
17762 #endif
17763 #ifdef HAVE_SYS_STATFS_H
17764 # include <sys/statfs.h>
17765 #endif
17768 main ()
17770 static struct statfs ac_aggr;
17771 if (sizeof ac_aggr.f_frsize)
17772 return 0;
17774 return 0;
17776 _ACEOF
17777 rm -f conftest.$ac_objext
17778 if { (ac_try="$ac_compile"
17779 case "(($ac_try" in
17780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17781 *) ac_try_echo=$ac_try;;
17782 esac
17783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17784 (eval "$ac_compile") 2>conftest.er1
17785 ac_status=$?
17786 grep -v '^ *+' conftest.er1 >conftest.err
17787 rm -f conftest.er1
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } && {
17791 test -z "$ac_c_werror_flag" ||
17792 test ! -s conftest.err
17793 } && test -s conftest.$ac_objext; then
17794 ac_cv_member_struct_statfs_f_frsize=yes
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 ac_cv_member_struct_statfs_f_frsize=no
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17808 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17809 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17811 cat >>confdefs.h <<_ACEOF
17812 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17813 _ACEOF
17817 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17818 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17819 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17820 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 else
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <sys/types.h>
17829 #ifdef HAVE_SYS_PARAM_H
17830 # include <sys/param.h>
17831 #endif
17832 #ifdef HAVE_SYS_MOUNT_H
17833 # include <sys/mount.h>
17834 #endif
17835 #ifdef HAVE_SYS_VFS_H
17836 # include <sys/vfs.h>
17837 #endif
17838 #ifdef HAVE_SYS_STATFS_H
17839 # include <sys/statfs.h>
17840 #endif
17843 main ()
17845 static struct statfs ac_aggr;
17846 if (ac_aggr.f_ffree)
17847 return 0;
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_member_struct_statfs_f_ffree=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17874 cat >conftest.$ac_ext <<_ACEOF
17875 /* confdefs.h. */
17876 _ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 #include <sys/types.h>
17881 #ifdef HAVE_SYS_PARAM_H
17882 # include <sys/param.h>
17883 #endif
17884 #ifdef HAVE_SYS_MOUNT_H
17885 # include <sys/mount.h>
17886 #endif
17887 #ifdef HAVE_SYS_VFS_H
17888 # include <sys/vfs.h>
17889 #endif
17890 #ifdef HAVE_SYS_STATFS_H
17891 # include <sys/statfs.h>
17892 #endif
17895 main ()
17897 static struct statfs ac_aggr;
17898 if (sizeof ac_aggr.f_ffree)
17899 return 0;
17901 return 0;
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_c_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 ac_cv_member_struct_statfs_f_ffree=yes
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 ac_cv_member_struct_statfs_f_ffree=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17935 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17936 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17938 cat >>confdefs.h <<_ACEOF
17939 #define HAVE_STRUCT_STATFS_F_FFREE 1
17940 _ACEOF
17944 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17945 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17946 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 #include <sys/types.h>
17956 #ifdef HAVE_SYS_PARAM_H
17957 # include <sys/param.h>
17958 #endif
17959 #ifdef HAVE_SYS_MOUNT_H
17960 # include <sys/mount.h>
17961 #endif
17962 #ifdef HAVE_SYS_VFS_H
17963 # include <sys/vfs.h>
17964 #endif
17965 #ifdef HAVE_SYS_STATFS_H
17966 # include <sys/statfs.h>
17967 #endif
17970 main ()
17972 static struct statfs ac_aggr;
17973 if (ac_aggr.f_favail)
17974 return 0;
17976 return 0;
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 ac_cv_member_struct_statfs_f_favail=yes
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 #include <sys/types.h>
18008 #ifdef HAVE_SYS_PARAM_H
18009 # include <sys/param.h>
18010 #endif
18011 #ifdef HAVE_SYS_MOUNT_H
18012 # include <sys/mount.h>
18013 #endif
18014 #ifdef HAVE_SYS_VFS_H
18015 # include <sys/vfs.h>
18016 #endif
18017 #ifdef HAVE_SYS_STATFS_H
18018 # include <sys/statfs.h>
18019 #endif
18022 main ()
18024 static struct statfs ac_aggr;
18025 if (sizeof ac_aggr.f_favail)
18026 return 0;
18028 return 0;
18030 _ACEOF
18031 rm -f conftest.$ac_objext
18032 if { (ac_try="$ac_compile"
18033 case "(($ac_try" in
18034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18035 *) ac_try_echo=$ac_try;;
18036 esac
18037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18038 (eval "$ac_compile") 2>conftest.er1
18039 ac_status=$?
18040 grep -v '^ *+' conftest.er1 >conftest.err
18041 rm -f conftest.er1
18042 cat conftest.err >&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } && {
18045 test -z "$ac_c_werror_flag" ||
18046 test ! -s conftest.err
18047 } && test -s conftest.$ac_objext; then
18048 ac_cv_member_struct_statfs_f_favail=yes
18049 else
18050 echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.$ac_ext >&5
18053 ac_cv_member_struct_statfs_f_favail=no
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18062 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18063 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18067 _ACEOF
18071 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18072 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18073 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18074 echo $ECHO_N "(cached) $ECHO_C" >&6
18075 else
18076 cat >conftest.$ac_ext <<_ACEOF
18077 /* confdefs.h. */
18078 _ACEOF
18079 cat confdefs.h >>conftest.$ac_ext
18080 cat >>conftest.$ac_ext <<_ACEOF
18081 /* end confdefs.h. */
18082 #include <sys/types.h>
18083 #ifdef HAVE_SYS_PARAM_H
18084 # include <sys/param.h>
18085 #endif
18086 #ifdef HAVE_SYS_MOUNT_H
18087 # include <sys/mount.h>
18088 #endif
18089 #ifdef HAVE_SYS_VFS_H
18090 # include <sys/vfs.h>
18091 #endif
18092 #ifdef HAVE_SYS_STATFS_H
18093 # include <sys/statfs.h>
18094 #endif
18097 main ()
18099 static struct statfs ac_aggr;
18100 if (ac_aggr.f_namelen)
18101 return 0;
18103 return 0;
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18123 ac_cv_member_struct_statfs_f_namelen=yes
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18128 cat >conftest.$ac_ext <<_ACEOF
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134 #include <sys/types.h>
18135 #ifdef HAVE_SYS_PARAM_H
18136 # include <sys/param.h>
18137 #endif
18138 #ifdef HAVE_SYS_MOUNT_H
18139 # include <sys/mount.h>
18140 #endif
18141 #ifdef HAVE_SYS_VFS_H
18142 # include <sys/vfs.h>
18143 #endif
18144 #ifdef HAVE_SYS_STATFS_H
18145 # include <sys/statfs.h>
18146 #endif
18149 main ()
18151 static struct statfs ac_aggr;
18152 if (sizeof ac_aggr.f_namelen)
18153 return 0;
18155 return 0;
18157 _ACEOF
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162 *) ac_try_echo=$ac_try;;
18163 esac
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18166 ac_status=$?
18167 grep -v '^ *+' conftest.er1 >conftest.err
18168 rm -f conftest.er1
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_c_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.$ac_objext; then
18175 ac_cv_member_struct_statfs_f_namelen=yes
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 ac_cv_member_struct_statfs_f_namelen=no
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18189 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18190 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18192 cat >>confdefs.h <<_ACEOF
18193 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18194 _ACEOF
18200 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18201 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18202 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18203 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 else
18205 cat >conftest.$ac_ext <<_ACEOF
18206 /* confdefs.h. */
18207 _ACEOF
18208 cat confdefs.h >>conftest.$ac_ext
18209 cat >>conftest.$ac_ext <<_ACEOF
18210 /* end confdefs.h. */
18211 #ifdef HAVE_SYS_STATVFS_H
18212 #include <sys/statvfs.h>
18213 #endif
18216 main ()
18218 static struct statvfs ac_aggr;
18219 if (ac_aggr.f_blocks)
18220 return 0;
18222 return 0;
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_c_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 ac_cv_member_struct_statvfs_f_blocks=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 #ifdef HAVE_SYS_STATVFS_H
18254 #include <sys/statvfs.h>
18255 #endif
18258 main ()
18260 static struct statvfs ac_aggr;
18261 if (sizeof ac_aggr.f_blocks)
18262 return 0;
18264 return 0;
18266 _ACEOF
18267 rm -f conftest.$ac_objext
18268 if { (ac_try="$ac_compile"
18269 case "(($ac_try" in
18270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 *) ac_try_echo=$ac_try;;
18272 esac
18273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18274 (eval "$ac_compile") 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } && {
18281 test -z "$ac_c_werror_flag" ||
18282 test ! -s conftest.err
18283 } && test -s conftest.$ac_objext; then
18284 ac_cv_member_struct_statvfs_f_blocks=yes
18285 else
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18289 ac_cv_member_struct_statvfs_f_blocks=no
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18298 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18299 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18301 cat >>confdefs.h <<_ACEOF
18302 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18303 _ACEOF
18309 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18310 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18311 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18312 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 else
18314 cat >conftest.$ac_ext <<_ACEOF
18315 /* confdefs.h. */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18320 #include <sys/types.h>
18321 #ifdef HAVE_SYS_SOCKET_H
18322 # include <sys/socket.h>
18323 #endif
18324 #ifdef HAVE_SYS_UN_H
18325 # include <sys/un.h>
18326 #endif
18329 main ()
18331 static struct msghdr ac_aggr;
18332 if (ac_aggr.msg_accrights)
18333 return 0;
18335 return 0;
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (ac_try="$ac_compile"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18343 esac
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compile") 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && {
18352 test -z "$ac_c_werror_flag" ||
18353 test ! -s conftest.err
18354 } && test -s conftest.$ac_objext; then
18355 ac_cv_member_struct_msghdr_msg_accrights=yes
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 cat >conftest.$ac_ext <<_ACEOF
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 #include <sys/types.h>
18367 #ifdef HAVE_SYS_SOCKET_H
18368 # include <sys/socket.h>
18369 #endif
18370 #ifdef HAVE_SYS_UN_H
18371 # include <sys/un.h>
18372 #endif
18375 main ()
18377 static struct msghdr ac_aggr;
18378 if (sizeof ac_aggr.msg_accrights)
18379 return 0;
18381 return 0;
18383 _ACEOF
18384 rm -f conftest.$ac_objext
18385 if { (ac_try="$ac_compile"
18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18389 esac
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_compile") 2>conftest.er1
18392 ac_status=$?
18393 grep -v '^ *+' conftest.er1 >conftest.err
18394 rm -f conftest.er1
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && {
18398 test -z "$ac_c_werror_flag" ||
18399 test ! -s conftest.err
18400 } && test -s conftest.$ac_objext; then
18401 ac_cv_member_struct_msghdr_msg_accrights=yes
18402 else
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.$ac_ext >&5
18406 ac_cv_member_struct_msghdr_msg_accrights=no
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18415 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18416 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18418 cat >>confdefs.h <<_ACEOF
18419 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18420 _ACEOF
18424 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18425 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18426 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 else
18429 cat >conftest.$ac_ext <<_ACEOF
18430 /* confdefs.h. */
18431 _ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435 #include <sys/types.h>
18436 #ifdef HAVE_SYS_SOCKET_H
18437 # include <sys/socket.h>
18438 #endif
18439 #ifdef HAVE_SYS_UN_H
18440 # include <sys/un.h>
18441 #endif
18444 main ()
18446 static struct sockaddr ac_aggr;
18447 if (ac_aggr.sa_len)
18448 return 0;
18450 return 0;
18452 _ACEOF
18453 rm -f conftest.$ac_objext
18454 if { (ac_try="$ac_compile"
18455 case "(($ac_try" in
18456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18457 *) ac_try_echo=$ac_try;;
18458 esac
18459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_compile") 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest.$ac_objext; then
18470 ac_cv_member_struct_sockaddr_sa_len=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 cat >conftest.$ac_ext <<_ACEOF
18476 /* confdefs.h. */
18477 _ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 #include <sys/types.h>
18482 #ifdef HAVE_SYS_SOCKET_H
18483 # include <sys/socket.h>
18484 #endif
18485 #ifdef HAVE_SYS_UN_H
18486 # include <sys/un.h>
18487 #endif
18490 main ()
18492 static struct sockaddr ac_aggr;
18493 if (sizeof ac_aggr.sa_len)
18494 return 0;
18496 return 0;
18498 _ACEOF
18499 rm -f conftest.$ac_objext
18500 if { (ac_try="$ac_compile"
18501 case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18504 esac
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_compile") 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } && {
18513 test -z "$ac_c_werror_flag" ||
18514 test ! -s conftest.err
18515 } && test -s conftest.$ac_objext; then
18516 ac_cv_member_struct_sockaddr_sa_len=yes
18517 else
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.$ac_ext >&5
18521 ac_cv_member_struct_sockaddr_sa_len=no
18524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18530 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18531 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18533 cat >>confdefs.h <<_ACEOF
18534 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18535 _ACEOF
18539 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18540 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18541 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 else
18544 cat >conftest.$ac_ext <<_ACEOF
18545 /* confdefs.h. */
18546 _ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18550 #include <sys/types.h>
18551 #ifdef HAVE_SYS_SOCKET_H
18552 # include <sys/socket.h>
18553 #endif
18554 #ifdef HAVE_SYS_UN_H
18555 # include <sys/un.h>
18556 #endif
18559 main ()
18561 static struct sockaddr_un ac_aggr;
18562 if (ac_aggr.sun_len)
18563 return 0;
18565 return 0;
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 ac_cv_member_struct_sockaddr_un_sun_len=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 #include <sys/types.h>
18597 #ifdef HAVE_SYS_SOCKET_H
18598 # include <sys/socket.h>
18599 #endif
18600 #ifdef HAVE_SYS_UN_H
18601 # include <sys/un.h>
18602 #endif
18605 main ()
18607 static struct sockaddr_un ac_aggr;
18608 if (sizeof ac_aggr.sun_len)
18609 return 0;
18611 return 0;
18613 _ACEOF
18614 rm -f conftest.$ac_objext
18615 if { (ac_try="$ac_compile"
18616 case "(($ac_try" in
18617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18618 *) ac_try_echo=$ac_try;;
18619 esac
18620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18621 (eval "$ac_compile") 2>conftest.er1
18622 ac_status=$?
18623 grep -v '^ *+' conftest.er1 >conftest.err
18624 rm -f conftest.er1
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } && {
18628 test -z "$ac_c_werror_flag" ||
18629 test ! -s conftest.err
18630 } && test -s conftest.$ac_objext; then
18631 ac_cv_member_struct_sockaddr_un_sun_len=yes
18632 else
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_cv_member_struct_sockaddr_un_sun_len=no
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18645 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18646 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18648 cat >>confdefs.h <<_ACEOF
18649 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18650 _ACEOF
18656 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18657 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18658 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <sys/types.h>
18668 #ifdef HAVE_SCSI_SG_H
18669 #include <scsi/sg.h>
18670 #endif
18673 main ()
18675 static scsireq_t ac_aggr;
18676 if (ac_aggr.cmd)
18677 return 0;
18679 return 0;
18681 _ACEOF
18682 rm -f conftest.$ac_objext
18683 if { (ac_try="$ac_compile"
18684 case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18687 esac
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_compile") 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } && {
18696 test -z "$ac_c_werror_flag" ||
18697 test ! -s conftest.err
18698 } && test -s conftest.$ac_objext; then
18699 ac_cv_member_scsireq_t_cmd=yes
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 #include <sys/types.h>
18711 #ifdef HAVE_SCSI_SG_H
18712 #include <scsi/sg.h>
18713 #endif
18716 main ()
18718 static scsireq_t ac_aggr;
18719 if (sizeof ac_aggr.cmd)
18720 return 0;
18722 return 0;
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18730 esac
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } && {
18739 test -z "$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18741 } && test -s conftest.$ac_objext; then
18742 ac_cv_member_scsireq_t_cmd=yes
18743 else
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 ac_cv_member_scsireq_t_cmd=no
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18756 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18757 if test $ac_cv_member_scsireq_t_cmd = yes; then
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_SCSIREQ_T_CMD 1
18761 _ACEOF
18765 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18766 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18767 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 else
18770 cat >conftest.$ac_ext <<_ACEOF
18771 /* confdefs.h. */
18772 _ACEOF
18773 cat confdefs.h >>conftest.$ac_ext
18774 cat >>conftest.$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776 #include <sys/types.h>
18777 #ifdef HAVE_SCSI_SG_H
18778 #include <scsi/sg.h>
18779 #endif
18782 main ()
18784 static sg_io_hdr_t ac_aggr;
18785 if (ac_aggr.interface_id)
18786 return 0;
18788 return 0;
18790 _ACEOF
18791 rm -f conftest.$ac_objext
18792 if { (ac_try="$ac_compile"
18793 case "(($ac_try" in
18794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18795 *) ac_try_echo=$ac_try;;
18796 esac
18797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18798 (eval "$ac_compile") 2>conftest.er1
18799 ac_status=$?
18800 grep -v '^ *+' conftest.er1 >conftest.err
18801 rm -f conftest.er1
18802 cat conftest.err >&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } && {
18805 test -z "$ac_c_werror_flag" ||
18806 test ! -s conftest.err
18807 } && test -s conftest.$ac_objext; then
18808 ac_cv_member_sg_io_hdr_t_interface_id=yes
18809 else
18810 echo "$as_me: failed program was:" >&5
18811 sed 's/^/| /' conftest.$ac_ext >&5
18813 cat >conftest.$ac_ext <<_ACEOF
18814 /* confdefs.h. */
18815 _ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 #include <sys/types.h>
18820 #ifdef HAVE_SCSI_SG_H
18821 #include <scsi/sg.h>
18822 #endif
18825 main ()
18827 static sg_io_hdr_t ac_aggr;
18828 if (sizeof ac_aggr.interface_id)
18829 return 0;
18831 return 0;
18833 _ACEOF
18834 rm -f conftest.$ac_objext
18835 if { (ac_try="$ac_compile"
18836 case "(($ac_try" in
18837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18838 *) ac_try_echo=$ac_try;;
18839 esac
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_compile") 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } && {
18848 test -z "$ac_c_werror_flag" ||
18849 test ! -s conftest.err
18850 } && test -s conftest.$ac_objext; then
18851 ac_cv_member_sg_io_hdr_t_interface_id=yes
18852 else
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18856 ac_cv_member_sg_io_hdr_t_interface_id=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18864 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18865 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18866 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18868 cat >>confdefs.h <<_ACEOF
18869 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18870 _ACEOF
18876 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18877 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18878 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 #include <signal.h>
18890 main ()
18892 static siginfo_t ac_aggr;
18893 if (ac_aggr.si_fd)
18894 return 0;
18896 return 0;
18898 _ACEOF
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18904 esac
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18907 ac_status=$?
18908 grep -v '^ *+' conftest.er1 >conftest.err
18909 rm -f conftest.er1
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_cv_member_siginfo_t_si_fd=yes
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <signal.h>
18930 main ()
18932 static siginfo_t ac_aggr;
18933 if (sizeof ac_aggr.si_fd)
18934 return 0;
18936 return 0;
18938 _ACEOF
18939 rm -f conftest.$ac_objext
18940 if { (ac_try="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.$ac_objext; then
18956 ac_cv_member_siginfo_t_si_fd=yes
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18961 ac_cv_member_siginfo_t_si_fd=no
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18970 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
18971 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_SIGINFO_T_SI_FD 1
18975 _ACEOF
18981 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
18982 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
18983 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 else
18986 cat >conftest.$ac_ext <<_ACEOF
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <sys/types.h>
18993 #ifdef HAVE_SYS_MTIO_H
18994 #include <sys/mtio.h>
18995 #endif
18998 main ()
19000 static struct mtget ac_aggr;
19001 if (ac_aggr.mt_blksiz)
19002 return 0;
19004 return 0;
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (ac_try="$ac_compile"
19009 case "(($ac_try" in
19010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19011 *) ac_try_echo=$ac_try;;
19012 esac
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_compile") 2>conftest.er1
19015 ac_status=$?
19016 grep -v '^ *+' conftest.er1 >conftest.err
19017 rm -f conftest.er1
19018 cat conftest.err >&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } && {
19021 test -z "$ac_c_werror_flag" ||
19022 test ! -s conftest.err
19023 } && test -s conftest.$ac_objext; then
19024 ac_cv_member_struct_mtget_mt_blksiz=yes
19025 else
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.$ac_ext >&5
19029 cat >conftest.$ac_ext <<_ACEOF
19030 /* confdefs.h. */
19031 _ACEOF
19032 cat confdefs.h >>conftest.$ac_ext
19033 cat >>conftest.$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19035 #include <sys/types.h>
19036 #ifdef HAVE_SYS_MTIO_H
19037 #include <sys/mtio.h>
19038 #endif
19041 main ()
19043 static struct mtget ac_aggr;
19044 if (sizeof ac_aggr.mt_blksiz)
19045 return 0;
19047 return 0;
19049 _ACEOF
19050 rm -f conftest.$ac_objext
19051 if { (ac_try="$ac_compile"
19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19055 esac
19056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_compile") 2>conftest.er1
19058 ac_status=$?
19059 grep -v '^ *+' conftest.er1 >conftest.err
19060 rm -f conftest.er1
19061 cat conftest.err >&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } && {
19064 test -z "$ac_c_werror_flag" ||
19065 test ! -s conftest.err
19066 } && test -s conftest.$ac_objext; then
19067 ac_cv_member_struct_mtget_mt_blksiz=yes
19068 else
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19072 ac_cv_member_struct_mtget_mt_blksiz=no
19075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19081 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19082 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19086 _ACEOF
19090 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19091 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19092 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 else
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #include <sys/types.h>
19102 #ifdef HAVE_SYS_MTIO_H
19103 #include <sys/mtio.h>
19104 #endif
19107 main ()
19109 static struct mtget ac_aggr;
19110 if (ac_aggr.mt_gstat)
19111 return 0;
19113 return 0;
19115 _ACEOF
19116 rm -f conftest.$ac_objext
19117 if { (ac_try="$ac_compile"
19118 case "(($ac_try" in
19119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19120 *) ac_try_echo=$ac_try;;
19121 esac
19122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19123 (eval "$ac_compile") 2>conftest.er1
19124 ac_status=$?
19125 grep -v '^ *+' conftest.er1 >conftest.err
19126 rm -f conftest.er1
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } && {
19130 test -z "$ac_c_werror_flag" ||
19131 test ! -s conftest.err
19132 } && test -s conftest.$ac_objext; then
19133 ac_cv_member_struct_mtget_mt_gstat=yes
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 cat >conftest.$ac_ext <<_ACEOF
19139 /* confdefs.h. */
19140 _ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SYS_MTIO_H
19146 #include <sys/mtio.h>
19147 #endif
19150 main ()
19152 static struct mtget ac_aggr;
19153 if (sizeof ac_aggr.mt_gstat)
19154 return 0;
19156 return 0;
19158 _ACEOF
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19164 esac
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19167 ac_status=$?
19168 grep -v '^ *+' conftest.er1 >conftest.err
19169 rm -f conftest.er1
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 ac_cv_member_struct_mtget_mt_gstat=yes
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19181 ac_cv_member_struct_mtget_mt_gstat=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19190 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19191 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19195 _ACEOF
19199 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19200 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19201 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19202 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 else
19204 cat >conftest.$ac_ext <<_ACEOF
19205 /* confdefs.h. */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h. */
19210 #include <sys/types.h>
19211 #ifdef HAVE_SYS_MTIO_H
19212 #include <sys/mtio.h>
19213 #endif
19216 main ()
19218 static struct mtget ac_aggr;
19219 if (ac_aggr.mt_blkno)
19220 return 0;
19222 return 0;
19224 _ACEOF
19225 rm -f conftest.$ac_objext
19226 if { (ac_try="$ac_compile"
19227 case "(($ac_try" in
19228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19229 *) ac_try_echo=$ac_try;;
19230 esac
19231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19232 (eval "$ac_compile") 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } && {
19239 test -z "$ac_c_werror_flag" ||
19240 test ! -s conftest.err
19241 } && test -s conftest.$ac_objext; then
19242 ac_cv_member_struct_mtget_mt_blkno=yes
19243 else
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19247 cat >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h. */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 #include <sys/types.h>
19254 #ifdef HAVE_SYS_MTIO_H
19255 #include <sys/mtio.h>
19256 #endif
19259 main ()
19261 static struct mtget ac_aggr;
19262 if (sizeof ac_aggr.mt_blkno)
19263 return 0;
19265 return 0;
19267 _ACEOF
19268 rm -f conftest.$ac_objext
19269 if { (ac_try="$ac_compile"
19270 case "(($ac_try" in
19271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19272 *) ac_try_echo=$ac_try;;
19273 esac
19274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19275 (eval "$ac_compile") 2>conftest.er1
19276 ac_status=$?
19277 grep -v '^ *+' conftest.er1 >conftest.err
19278 rm -f conftest.er1
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } && {
19282 test -z "$ac_c_werror_flag" ||
19283 test ! -s conftest.err
19284 } && test -s conftest.$ac_objext; then
19285 ac_cv_member_struct_mtget_mt_blkno=yes
19286 else
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 ac_cv_member_struct_mtget_mt_blkno=no
19293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19298 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19299 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19300 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19302 cat >>confdefs.h <<_ACEOF
19303 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19304 _ACEOF
19310 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19311 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19312 if test "${ac_cv_member_struct_option_name+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #ifdef HAVE_GETOPT_H
19322 #include <getopt.h>
19323 #endif
19326 main ()
19328 static struct option ac_aggr;
19329 if (ac_aggr.name)
19330 return 0;
19332 return 0;
19334 _ACEOF
19335 rm -f conftest.$ac_objext
19336 if { (ac_try="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_compile") 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.$ac_objext; then
19352 ac_cv_member_struct_option_name=yes
19353 else
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19357 cat >conftest.$ac_ext <<_ACEOF
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #ifdef HAVE_GETOPT_H
19364 #include <getopt.h>
19365 #endif
19368 main ()
19370 static struct option ac_aggr;
19371 if (sizeof ac_aggr.name)
19372 return 0;
19374 return 0;
19376 _ACEOF
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 ac_cv_member_struct_option_name=yes
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 ac_cv_member_struct_option_name=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19407 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19408 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19409 if test $ac_cv_member_struct_option_name = yes; then
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT_OPTION_NAME 1
19413 _ACEOF
19419 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19420 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19421 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19422 echo $ECHO_N "(cached) $ECHO_C" >&6
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19432 main ()
19434 static struct stat ac_aggr;
19435 if (ac_aggr.st_blocks)
19436 return 0;
19438 return 0;
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_stat_st_blocks=yes
19459 else
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 $ac_includes_default
19471 main ()
19473 static struct stat ac_aggr;
19474 if (sizeof ac_aggr.st_blocks)
19475 return 0;
19477 return 0;
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19485 esac
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_compile") 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } && {
19494 test -z "$ac_c_werror_flag" ||
19495 test ! -s conftest.err
19496 } && test -s conftest.$ac_objext; then
19497 ac_cv_member_struct_stat_st_blocks=yes
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19502 ac_cv_member_struct_stat_st_blocks=no
19505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19511 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19512 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19514 cat >>confdefs.h <<_ACEOF
19515 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19516 _ACEOF
19522 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19523 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19524 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19525 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 else
19527 cat >conftest.$ac_ext <<_ACEOF
19528 /* confdefs.h. */
19529 _ACEOF
19530 cat confdefs.h >>conftest.$ac_ext
19531 cat >>conftest.$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533 #ifdef HAVE_SYS_TYPES_H
19534 #include <sys/types.h>
19535 #endif
19536 #ifdef HAVE_NETINET_IN_H
19537 #include <netinet/in.h>
19538 #endif
19541 main ()
19543 static struct sockaddr_in6 ac_aggr;
19544 if (ac_aggr.sin6_scope_id)
19545 return 0;
19547 return 0;
19549 _ACEOF
19550 rm -f conftest.$ac_objext
19551 if { (ac_try="$ac_compile"
19552 case "(($ac_try" in
19553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19554 *) ac_try_echo=$ac_try;;
19555 esac
19556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19557 (eval "$ac_compile") 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } && {
19564 test -z "$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 } && test -s conftest.$ac_objext; then
19567 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19568 else
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h. */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #ifdef HAVE_SYS_TYPES_H
19579 #include <sys/types.h>
19580 #endif
19581 #ifdef HAVE_NETINET_IN_H
19582 #include <netinet/in.h>
19583 #endif
19586 main ()
19588 static struct sockaddr_in6 ac_aggr;
19589 if (sizeof ac_aggr.sin6_scope_id)
19590 return 0;
19592 return 0;
19594 _ACEOF
19595 rm -f conftest.$ac_objext
19596 if { (ac_try="$ac_compile"
19597 case "(($ac_try" in
19598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19599 *) ac_try_echo=$ac_try;;
19600 esac
19601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19602 (eval "$ac_compile") 2>conftest.er1
19603 ac_status=$?
19604 grep -v '^ *+' conftest.er1 >conftest.err
19605 rm -f conftest.er1
19606 cat conftest.err >&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } && {
19609 test -z "$ac_c_werror_flag" ||
19610 test ! -s conftest.err
19611 } && test -s conftest.$ac_objext; then
19612 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19613 else
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.$ac_ext >&5
19617 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19626 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19627 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19631 _ACEOF
19637 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19638 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19639 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 #ifdef HAVE_SYS_TYPES_H
19649 #include <sys/types.h>
19650 #endif
19651 #ifdef HAVE_NETINET_IN_H
19652 # include <netinet/in.h>
19653 #endif
19654 #ifdef HAVE_ARPA_NAMESER_H
19655 # include <arpa/nameser.h>
19656 #endif
19659 main ()
19661 static ns_msg ac_aggr;
19662 if (ac_aggr._msg_ptr)
19663 return 0;
19665 return 0;
19667 _ACEOF
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19673 esac
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } && {
19682 test -z "$ac_c_werror_flag" ||
19683 test ! -s conftest.err
19684 } && test -s conftest.$ac_objext; then
19685 ac_cv_member_ns_msg__msg_ptr=yes
19686 else
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 cat >conftest.$ac_ext <<_ACEOF
19691 /* confdefs.h. */
19692 _ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 #ifdef HAVE_SYS_TYPES_H
19697 #include <sys/types.h>
19698 #endif
19699 #ifdef HAVE_NETINET_IN_H
19700 # include <netinet/in.h>
19701 #endif
19702 #ifdef HAVE_ARPA_NAMESER_H
19703 # include <arpa/nameser.h>
19704 #endif
19707 main ()
19709 static ns_msg ac_aggr;
19710 if (sizeof ac_aggr._msg_ptr)
19711 return 0;
19713 return 0;
19715 _ACEOF
19716 rm -f conftest.$ac_objext
19717 if { (ac_try="$ac_compile"
19718 case "(($ac_try" in
19719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19720 *) ac_try_echo=$ac_try;;
19721 esac
19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19723 (eval "$ac_compile") 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && {
19730 test -z "$ac_c_werror_flag" ||
19731 test ! -s conftest.err
19732 } && test -s conftest.$ac_objext; then
19733 ac_cv_member_ns_msg__msg_ptr=yes
19734 else
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 ac_cv_member_ns_msg__msg_ptr=no
19741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19746 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19747 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19748 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19750 cat >>confdefs.h <<_ACEOF
19751 #define HAVE_NS_MSG__MSG_PTR 1
19752 _ACEOF
19758 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19759 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19760 if test "${ac_cv_have_timezone+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 else
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 #include <time.h>
19771 main ()
19773 timezone = 1
19775 return 0;
19777 _ACEOF
19778 rm -f conftest.$ac_objext conftest$ac_exeext
19779 if { (ac_try="$ac_link"
19780 case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19783 esac
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_link") 2>conftest.er1
19786 ac_status=$?
19787 grep -v '^ *+' conftest.er1 >conftest.err
19788 rm -f conftest.er1
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } && {
19792 test -z "$ac_c_werror_flag" ||
19793 test ! -s conftest.err
19794 } && test -s conftest$ac_exeext &&
19795 $as_test_x conftest$ac_exeext; then
19796 ac_cv_have_timezone="yes"
19797 else
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19801 ac_cv_have_timezone="no"
19804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19805 conftest$ac_exeext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19808 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19809 if test "$ac_cv_have_timezone" = "yes"
19810 then
19812 cat >>confdefs.h <<\_ACEOF
19813 #define HAVE_TIMEZONE 1
19814 _ACEOF
19817 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19818 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19819 if test "${ac_cv_have_daylight+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 else
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 #include <time.h>
19830 main ()
19832 daylight = 1
19834 return 0;
19836 _ACEOF
19837 rm -f conftest.$ac_objext conftest$ac_exeext
19838 if { (ac_try="$ac_link"
19839 case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19842 esac
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_link") 2>conftest.er1
19845 ac_status=$?
19846 grep -v '^ *+' conftest.er1 >conftest.err
19847 rm -f conftest.er1
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } && {
19851 test -z "$ac_c_werror_flag" ||
19852 test ! -s conftest.err
19853 } && test -s conftest$ac_exeext &&
19854 $as_test_x conftest$ac_exeext; then
19855 ac_cv_have_daylight="yes"
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 ac_cv_have_daylight="no"
19863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19864 conftest$ac_exeext conftest.$ac_ext
19866 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19867 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19868 if test "$ac_cv_have_daylight" = "yes"
19869 then
19871 cat >>confdefs.h <<\_ACEOF
19872 #define HAVE_DAYLIGHT 1
19873 _ACEOF
19878 case $host_cpu in
19879 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19880 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19881 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #ifndef __i386__
19892 #endif
19893 _ACEOF
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "yes" >/dev/null 2>&1; then
19896 ac_cv_cpp_def___i386__=yes
19897 else
19898 ac_cv_cpp_def___i386__=no
19900 rm -f conftest*
19903 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19904 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19905 if test $ac_cv_cpp_def___i386__ = yes; then
19906 CFLAGS="$CFLAGS -D__i386__"
19907 LINTFLAGS="$LINTFLAGS -D__i386__"
19910 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19911 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19912 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 else
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #ifndef __x86_64__
19923 #endif
19924 _ACEOF
19925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19926 $EGREP "yes" >/dev/null 2>&1; then
19927 ac_cv_cpp_def___x86_64__=yes
19928 else
19929 ac_cv_cpp_def___x86_64__=no
19931 rm -f conftest*
19934 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19935 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19936 if test $ac_cv_cpp_def___x86_64__ = yes; then
19937 CFLAGS="$CFLAGS -D__x86_64__"
19938 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19941 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19942 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19943 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 else
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 #ifndef __ALPHA__
19954 #endif
19955 _ACEOF
19956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19957 $EGREP "yes" >/dev/null 2>&1; then
19958 ac_cv_cpp_def___ALPHA__=yes
19959 else
19960 ac_cv_cpp_def___ALPHA__=no
19962 rm -f conftest*
19965 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19966 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
19967 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19968 CFLAGS="$CFLAGS -D__ALPHA__"
19969 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19972 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19973 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
19974 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19976 else
19977 cat >conftest.$ac_ext <<_ACEOF
19978 /* confdefs.h. */
19979 _ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 #ifndef __sparc__
19985 #endif
19986 _ACEOF
19987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19988 $EGREP "yes" >/dev/null 2>&1; then
19989 ac_cv_cpp_def___sparc__=yes
19990 else
19991 ac_cv_cpp_def___sparc__=no
19993 rm -f conftest*
19996 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19997 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
19998 if test $ac_cv_cpp_def___sparc__ = yes; then
19999 CFLAGS="$CFLAGS -D__sparc__"
20000 LINTFLAGS="$LINTFLAGS -D__sparc__"
20003 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20004 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20005 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #ifndef __powerpc__
20016 #endif
20017 _ACEOF
20018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20019 $EGREP "yes" >/dev/null 2>&1; then
20020 ac_cv_cpp_def___powerpc__=yes
20021 else
20022 ac_cv_cpp_def___powerpc__=no
20024 rm -f conftest*
20027 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20028 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20029 if test $ac_cv_cpp_def___powerpc__ = yes; then
20030 CFLAGS="$CFLAGS -D__powerpc__"
20031 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20034 esac
20036 case $host_vendor in
20037 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20038 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20039 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 else
20042 cat >conftest.$ac_ext <<_ACEOF
20043 /* confdefs.h. */
20044 _ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #ifndef __sun__
20050 #endif
20051 _ACEOF
20052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20053 $EGREP "yes" >/dev/null 2>&1; then
20054 ac_cv_cpp_def___sun__=yes
20055 else
20056 ac_cv_cpp_def___sun__=no
20058 rm -f conftest*
20061 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20062 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20063 if test $ac_cv_cpp_def___sun__ = yes; then
20064 CFLAGS="$CFLAGS -D__sun__"
20065 LINTFLAGS="$LINTFLAGS -D__sun__"
20068 esac
20071 DEPENDENCIES="### Dependencies:
20073 .INIT: Makefile
20074 .BEGIN: Makefile
20075 Makefile: dummy
20076 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20078 \$(OBJS): \$(IDL_GEN_HEADERS)
20079 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20080 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20081 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20087 ac_config_commands="$ac_config_commands include/stamp-h"
20090 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20092 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20094 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20096 ac_config_commands="$ac_config_commands dlls/user32/resources"
20098 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20100 ac_config_commands="$ac_config_commands include/wine"
20103 MAKE_RULES=Make.rules
20106 MAKE_DLL_RULES=dlls/Makedll.rules
20109 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20112 MAKE_TEST_RULES=dlls/Maketest.rules
20115 MAKE_PROG_RULES=programs/Makeprog.rules
20118 ac_config_files="$ac_config_files Make.rules"
20120 ac_config_files="$ac_config_files dlls/Makedll.rules"
20122 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20124 ac_config_files="$ac_config_files dlls/Maketest.rules"
20126 ac_config_files="$ac_config_files programs/Makeprog.rules"
20128 ac_config_files="$ac_config_files Makefile"
20130 ac_config_files="$ac_config_files dlls/Makefile"
20132 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20134 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20136 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20138 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20140 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20142 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20144 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20146 ac_config_files="$ac_config_files dlls/atl/Makefile"
20148 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20150 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20152 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20154 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20156 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20158 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20160 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20162 ac_config_files="$ac_config_files dlls/cards/Makefile"
20164 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20166 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20168 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20170 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20172 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20174 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20176 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20178 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20180 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20182 ac_config_files="$ac_config_files dlls/credui/Makefile"
20184 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20186 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20188 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20190 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20192 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20194 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20196 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20198 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20200 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20202 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20204 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20206 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20208 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20210 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20212 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20214 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20216 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20218 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20220 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20222 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20224 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20226 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20228 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20230 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20232 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20234 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20236 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20238 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20240 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20242 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20244 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20246 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20248 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20250 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20252 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20254 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20256 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20258 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20260 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20262 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20264 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20266 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20268 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20270 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20272 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20274 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20276 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20278 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20280 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20282 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20284 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20286 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20288 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20290 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20292 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20294 ac_config_files="$ac_config_files dlls/hal/Makefile"
20296 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20298 ac_config_files="$ac_config_files dlls/hid/Makefile"
20300 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20302 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20304 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20306 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20308 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20310 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20312 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20314 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20316 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20318 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20320 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20322 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20324 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20326 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20328 ac_config_files="$ac_config_files dlls/itss/Makefile"
20330 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20332 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20334 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20336 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20338 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20340 ac_config_files="$ac_config_files dlls/localui/Makefile"
20342 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20344 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20346 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20348 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20350 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20352 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20354 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20356 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20358 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20360 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20362 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20364 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20366 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20368 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20370 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20372 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20374 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20376 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20378 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20380 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20382 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20384 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20386 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20388 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20390 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20392 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20394 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20396 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/msi/Makefile"
20400 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20402 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20404 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20406 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20408 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20410 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20412 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20414 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20416 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20418 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20420 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20422 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20424 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20426 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20428 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20430 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20432 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20434 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20436 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20438 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20440 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20442 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20446 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20448 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20450 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20452 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20454 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20456 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20458 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20460 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20462 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20464 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20466 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20468 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20470 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20472 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20474 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20476 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20478 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20480 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20482 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20484 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20486 ac_config_files="$ac_config_files dlls/printui/Makefile"
20488 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20490 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20492 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20494 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20496 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20498 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20500 ac_config_files="$ac_config_files dlls/query/Makefile"
20502 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20504 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20506 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20508 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20510 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20512 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20514 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20516 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20518 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20522 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20526 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20528 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20530 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20532 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20534 ac_config_files="$ac_config_files dlls/security/Makefile"
20536 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20538 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20540 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20542 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20544 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20548 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20550 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20552 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20554 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20558 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20562 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20564 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20566 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20568 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20572 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20574 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20576 ac_config_files="$ac_config_files dlls/sti/Makefile"
20578 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20580 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20582 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20584 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20586 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20588 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20590 ac_config_files="$ac_config_files dlls/url/Makefile"
20592 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20594 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/user32/Makefile"
20598 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20600 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20602 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20604 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20608 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20610 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20614 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20616 ac_config_files="$ac_config_files dlls/version/Makefile"
20618 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20622 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20624 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20626 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20628 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20630 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20632 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20634 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20636 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20638 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20640 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20642 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20644 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20646 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20648 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20650 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20652 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20654 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20656 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20658 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20660 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20662 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20664 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20666 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20670 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20672 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20674 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20676 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20678 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20682 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20684 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20686 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20688 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20690 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20692 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20694 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20696 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20698 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20700 ac_config_files="$ac_config_files documentation/Makefile"
20702 ac_config_files="$ac_config_files fonts/Makefile"
20704 ac_config_files="$ac_config_files include/Makefile"
20706 ac_config_files="$ac_config_files libs/Makefile"
20708 ac_config_files="$ac_config_files libs/port/Makefile"
20710 ac_config_files="$ac_config_files libs/wine/Makefile"
20712 ac_config_files="$ac_config_files libs/wpp/Makefile"
20714 ac_config_files="$ac_config_files loader/Makefile"
20716 ac_config_files="$ac_config_files programs/Makefile"
20718 ac_config_files="$ac_config_files programs/clock/Makefile"
20720 ac_config_files="$ac_config_files programs/cmd/Makefile"
20722 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20724 ac_config_files="$ac_config_files programs/control/Makefile"
20726 ac_config_files="$ac_config_files programs/eject/Makefile"
20728 ac_config_files="$ac_config_files programs/expand/Makefile"
20730 ac_config_files="$ac_config_files programs/explorer/Makefile"
20732 ac_config_files="$ac_config_files programs/hh/Makefile"
20734 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20736 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20738 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20740 ac_config_files="$ac_config_files programs/net/Makefile"
20742 ac_config_files="$ac_config_files programs/notepad/Makefile"
20744 ac_config_files="$ac_config_files programs/oleview/Makefile"
20746 ac_config_files="$ac_config_files programs/progman/Makefile"
20748 ac_config_files="$ac_config_files programs/regedit/Makefile"
20750 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20752 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20754 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20756 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20758 ac_config_files="$ac_config_files programs/start/Makefile"
20760 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20762 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20764 ac_config_files="$ac_config_files programs/view/Makefile"
20766 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20768 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20770 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20772 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20774 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20776 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20778 ac_config_files="$ac_config_files programs/winefile/Makefile"
20780 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20782 ac_config_files="$ac_config_files programs/winemine/Makefile"
20784 ac_config_files="$ac_config_files programs/winepath/Makefile"
20786 ac_config_files="$ac_config_files programs/winetest/Makefile"
20788 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20790 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20792 ac_config_files="$ac_config_files programs/winver/Makefile"
20794 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20796 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20798 ac_config_files="$ac_config_files server/Makefile"
20800 ac_config_files="$ac_config_files tools/Makefile"
20802 ac_config_files="$ac_config_files tools/widl/Makefile"
20804 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20806 ac_config_files="$ac_config_files tools/winedump/Makefile"
20808 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20810 ac_config_files="$ac_config_files tools/wmc/Makefile"
20812 ac_config_files="$ac_config_files tools/wrc/Makefile"
20815 cat >confcache <<\_ACEOF
20816 # This file is a shell script that caches the results of configure
20817 # tests run on this system so they can be shared between configure
20818 # scripts and configure runs, see configure's option --config-cache.
20819 # It is not useful on other systems. If it contains results you don't
20820 # want to keep, you may remove or edit it.
20822 # config.status only pays attention to the cache file if you give it
20823 # the --recheck option to rerun configure.
20825 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20826 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20827 # following values.
20829 _ACEOF
20831 # The following way of writing the cache mishandles newlines in values,
20832 # but we know of no workaround that is simple, portable, and efficient.
20833 # So, we kill variables containing newlines.
20834 # Ultrix sh set writes to stderr and can't be redirected directly,
20835 # and sets the high bit in the cache file unless we assign to the vars.
20837 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20838 eval ac_val=\$$ac_var
20839 case $ac_val in #(
20840 *${as_nl}*)
20841 case $ac_var in #(
20842 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20843 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20844 esac
20845 case $ac_var in #(
20846 _ | IFS | as_nl) ;; #(
20847 *) $as_unset $ac_var ;;
20848 esac ;;
20849 esac
20850 done
20852 (set) 2>&1 |
20853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20854 *${as_nl}ac_space=\ *)
20855 # `set' does not quote correctly, so add quotes (double-quote
20856 # substitution turns \\\\ into \\, and sed turns \\ into \).
20857 sed -n \
20858 "s/'/'\\\\''/g;
20859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20860 ;; #(
20862 # `set' quotes correctly as required by POSIX, so do not add quotes.
20863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20865 esac |
20866 sort
20868 sed '
20869 /^ac_cv_env_/b end
20870 t clear
20871 :clear
20872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20873 t end
20874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20875 :end' >>confcache
20876 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20877 if test -w "$cache_file"; then
20878 test "x$cache_file" != "x/dev/null" &&
20879 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20880 echo "$as_me: updating cache $cache_file" >&6;}
20881 cat confcache >$cache_file
20882 else
20883 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20884 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20887 rm -f confcache
20889 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20890 # Let make expand exec_prefix.
20891 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20893 DEFS=-DHAVE_CONFIG_H
20895 ac_libobjs=
20896 ac_ltlibobjs=
20897 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20898 # 1. Remove the extension, and $U if already installed.
20899 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20900 ac_i=`echo "$ac_i" | sed "$ac_script"`
20901 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20902 # will be set to the directory where LIBOBJS objects are built.
20903 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20904 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20905 done
20906 LIBOBJS=$ac_libobjs
20908 LTLIBOBJS=$ac_ltlibobjs
20912 : ${CONFIG_STATUS=./config.status}
20913 ac_clean_files_save=$ac_clean_files
20914 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20915 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20916 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20917 cat >$CONFIG_STATUS <<_ACEOF
20918 #! $SHELL
20919 # Generated by $as_me.
20920 # Run this file to recreate the current configuration.
20921 # Compiler output produced by configure, useful for debugging
20922 # configure, is in config.log if it exists.
20924 debug=false
20925 ac_cs_recheck=false
20926 ac_cs_silent=false
20927 SHELL=\${CONFIG_SHELL-$SHELL}
20928 _ACEOF
20930 cat >>$CONFIG_STATUS <<\_ACEOF
20931 ## --------------------- ##
20932 ## M4sh Initialization. ##
20933 ## --------------------- ##
20935 # Be more Bourne compatible
20936 DUALCASE=1; export DUALCASE # for MKS sh
20937 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20938 emulate sh
20939 NULLCMD=:
20940 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20941 # is contrary to our usage. Disable this feature.
20942 alias -g '${1+"$@"}'='"$@"'
20943 setopt NO_GLOB_SUBST
20944 else
20945 case `(set -o) 2>/dev/null` in
20946 *posix*) set -o posix ;;
20947 esac
20954 # PATH needs CR
20955 # Avoid depending upon Character Ranges.
20956 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20957 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20958 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20959 as_cr_digits='0123456789'
20960 as_cr_alnum=$as_cr_Letters$as_cr_digits
20962 # The user is always right.
20963 if test "${PATH_SEPARATOR+set}" != set; then
20964 echo "#! /bin/sh" >conf$$.sh
20965 echo "exit 0" >>conf$$.sh
20966 chmod +x conf$$.sh
20967 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20968 PATH_SEPARATOR=';'
20969 else
20970 PATH_SEPARATOR=:
20972 rm -f conf$$.sh
20975 # Support unset when possible.
20976 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20977 as_unset=unset
20978 else
20979 as_unset=false
20983 # IFS
20984 # We need space, tab and new line, in precisely that order. Quoting is
20985 # there to prevent editors from complaining about space-tab.
20986 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20987 # splitting by setting IFS to empty value.)
20988 as_nl='
20990 IFS=" "" $as_nl"
20992 # Find who we are. Look in the path if we contain no directory separator.
20993 case $0 in
20994 *[\\/]* ) as_myself=$0 ;;
20995 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20996 for as_dir in $PATH
20998 IFS=$as_save_IFS
20999 test -z "$as_dir" && as_dir=.
21000 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21001 done
21002 IFS=$as_save_IFS
21005 esac
21006 # We did not find ourselves, most probably we were run as `sh COMMAND'
21007 # in which case we are not to be found in the path.
21008 if test "x$as_myself" = x; then
21009 as_myself=$0
21011 if test ! -f "$as_myself"; then
21012 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21013 { (exit 1); exit 1; }
21016 # Work around bugs in pre-3.0 UWIN ksh.
21017 for as_var in ENV MAIL MAILPATH
21018 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21019 done
21020 PS1='$ '
21021 PS2='> '
21022 PS4='+ '
21024 # NLS nuisances.
21025 for as_var in \
21026 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21027 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21028 LC_TELEPHONE LC_TIME
21030 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21031 eval $as_var=C; export $as_var
21032 else
21033 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21035 done
21037 # Required to use basename.
21038 if expr a : '\(a\)' >/dev/null 2>&1 &&
21039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21040 as_expr=expr
21041 else
21042 as_expr=false
21045 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21046 as_basename=basename
21047 else
21048 as_basename=false
21052 # Name of the executable.
21053 as_me=`$as_basename -- "$0" ||
21054 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21055 X"$0" : 'X\(//\)$' \| \
21056 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21057 echo X/"$0" |
21058 sed '/^.*\/\([^/][^/]*\)\/*$/{
21059 s//\1/
21062 /^X\/\(\/\/\)$/{
21063 s//\1/
21066 /^X\/\(\/\).*/{
21067 s//\1/
21070 s/.*/./; q'`
21072 # CDPATH.
21073 $as_unset CDPATH
21077 as_lineno_1=$LINENO
21078 as_lineno_2=$LINENO
21079 test "x$as_lineno_1" != "x$as_lineno_2" &&
21080 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21082 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21083 # uniformly replaced by the line number. The first 'sed' inserts a
21084 # line-number line after each line using $LINENO; the second 'sed'
21085 # does the real work. The second script uses 'N' to pair each
21086 # line-number line with the line containing $LINENO, and appends
21087 # trailing '-' during substitution so that $LINENO is not a special
21088 # case at line end.
21089 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21090 # scripts with optimization help from Paolo Bonzini. Blame Lee
21091 # E. McMahon (1931-1989) for sed's syntax. :-)
21092 sed -n '
21094 /[$]LINENO/=
21095 ' <$as_myself |
21096 sed '
21097 s/[$]LINENO.*/&-/
21098 t lineno
21100 :lineno
21102 :loop
21103 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21104 t loop
21105 s/-\n.*//
21106 ' >$as_me.lineno &&
21107 chmod +x "$as_me.lineno" ||
21108 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21109 { (exit 1); exit 1; }; }
21111 # Don't try to exec as it changes $[0], causing all sort of problems
21112 # (the dirname of $[0] is not the place where we might find the
21113 # original and so on. Autoconf is especially sensitive to this).
21114 . "./$as_me.lineno"
21115 # Exit status is that of the last command.
21116 exit
21120 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21121 as_dirname=dirname
21122 else
21123 as_dirname=false
21126 ECHO_C= ECHO_N= ECHO_T=
21127 case `echo -n x` in
21128 -n*)
21129 case `echo 'x\c'` in
21130 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21131 *) ECHO_C='\c';;
21132 esac;;
21134 ECHO_N='-n';;
21135 esac
21137 if expr a : '\(a\)' >/dev/null 2>&1 &&
21138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21139 as_expr=expr
21140 else
21141 as_expr=false
21144 rm -f conf$$ conf$$.exe conf$$.file
21145 if test -d conf$$.dir; then
21146 rm -f conf$$.dir/conf$$.file
21147 else
21148 rm -f conf$$.dir
21149 mkdir conf$$.dir
21151 echo >conf$$.file
21152 if ln -s conf$$.file conf$$ 2>/dev/null; then
21153 as_ln_s='ln -s'
21154 # ... but there are two gotchas:
21155 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21156 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21157 # In both cases, we have to default to `cp -p'.
21158 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21159 as_ln_s='cp -p'
21160 elif ln conf$$.file conf$$ 2>/dev/null; then
21161 as_ln_s=ln
21162 else
21163 as_ln_s='cp -p'
21165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21166 rmdir conf$$.dir 2>/dev/null
21168 if mkdir -p . 2>/dev/null; then
21169 as_mkdir_p=:
21170 else
21171 test -d ./-p && rmdir ./-p
21172 as_mkdir_p=false
21175 if test -x / >/dev/null 2>&1; then
21176 as_test_x='test -x'
21177 else
21178 if ls -dL / >/dev/null 2>&1; then
21179 as_ls_L_option=L
21180 else
21181 as_ls_L_option=
21183 as_test_x='
21184 eval sh -c '\''
21185 if test -d "$1"; then
21186 test -d "$1/.";
21187 else
21188 case $1 in
21189 -*)set "./$1";;
21190 esac;
21191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21192 ???[sx]*):;;*)false;;esac;fi
21193 '\'' sh
21196 as_executable_p=$as_test_x
21198 # Sed expression to map a string onto a valid CPP name.
21199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21201 # Sed expression to map a string onto a valid variable name.
21202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21205 exec 6>&1
21207 # Save the log message, to keep $[0] and so on meaningful, and to
21208 # report actual input values of CONFIG_FILES etc. instead of their
21209 # values after options handling.
21210 ac_log="
21211 This file was extended by Wine $as_me 0.9.40, which was
21212 generated by GNU Autoconf 2.61. Invocation command line was
21214 CONFIG_FILES = $CONFIG_FILES
21215 CONFIG_HEADERS = $CONFIG_HEADERS
21216 CONFIG_LINKS = $CONFIG_LINKS
21217 CONFIG_COMMANDS = $CONFIG_COMMANDS
21218 $ $0 $@
21220 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21223 _ACEOF
21225 cat >>$CONFIG_STATUS <<_ACEOF
21226 # Files that config.status was made for.
21227 config_files="$ac_config_files"
21228 config_headers="$ac_config_headers"
21229 config_commands="$ac_config_commands"
21231 _ACEOF
21233 cat >>$CONFIG_STATUS <<\_ACEOF
21234 ac_cs_usage="\
21235 \`$as_me' instantiates files from templates according to the
21236 current configuration.
21238 Usage: $0 [OPTIONS] [FILE]...
21240 -h, --help print this help, then exit
21241 -V, --version print version number and configuration settings, then exit
21242 -q, --quiet do not print progress messages
21243 -d, --debug don't remove temporary files
21244 --recheck update $as_me by reconfiguring in the same conditions
21245 --file=FILE[:TEMPLATE]
21246 instantiate the configuration file FILE
21247 --header=FILE[:TEMPLATE]
21248 instantiate the configuration header FILE
21250 Configuration files:
21251 $config_files
21253 Configuration headers:
21254 $config_headers
21256 Configuration commands:
21257 $config_commands
21259 Report bugs to <bug-autoconf@gnu.org>."
21261 _ACEOF
21262 cat >>$CONFIG_STATUS <<_ACEOF
21263 ac_cs_version="\\
21264 Wine config.status 0.9.40
21265 configured by $0, generated by GNU Autoconf 2.61,
21266 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21268 Copyright (C) 2006 Free Software Foundation, Inc.
21269 This config.status script is free software; the Free Software Foundation
21270 gives unlimited permission to copy, distribute and modify it."
21272 ac_pwd='$ac_pwd'
21273 srcdir='$srcdir'
21274 INSTALL='$INSTALL'
21275 _ACEOF
21277 cat >>$CONFIG_STATUS <<\_ACEOF
21278 # If no file are specified by the user, then we need to provide default
21279 # value. By we need to know if files were specified by the user.
21280 ac_need_defaults=:
21281 while test $# != 0
21283 case $1 in
21284 --*=*)
21285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21286 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21287 ac_shift=:
21290 ac_option=$1
21291 ac_optarg=$2
21292 ac_shift=shift
21294 esac
21296 case $ac_option in
21297 # Handling of the options.
21298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21299 ac_cs_recheck=: ;;
21300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21301 echo "$ac_cs_version"; exit ;;
21302 --debug | --debu | --deb | --de | --d | -d )
21303 debug=: ;;
21304 --file | --fil | --fi | --f )
21305 $ac_shift
21306 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21307 ac_need_defaults=false;;
21308 --header | --heade | --head | --hea )
21309 $ac_shift
21310 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21311 ac_need_defaults=false;;
21312 --he | --h)
21313 # Conflict between --help and --header
21314 { echo "$as_me: error: ambiguous option: $1
21315 Try \`$0 --help' for more information." >&2
21316 { (exit 1); exit 1; }; };;
21317 --help | --hel | -h )
21318 echo "$ac_cs_usage"; exit ;;
21319 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21320 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21321 ac_cs_silent=: ;;
21323 # This is an error.
21324 -*) { echo "$as_me: error: unrecognized option: $1
21325 Try \`$0 --help' for more information." >&2
21326 { (exit 1); exit 1; }; } ;;
21328 *) ac_config_targets="$ac_config_targets $1"
21329 ac_need_defaults=false ;;
21331 esac
21332 shift
21333 done
21335 ac_configure_extra_args=
21337 if $ac_cs_silent; then
21338 exec 6>/dev/null
21339 ac_configure_extra_args="$ac_configure_extra_args --silent"
21342 _ACEOF
21343 cat >>$CONFIG_STATUS <<_ACEOF
21344 if \$ac_cs_recheck; then
21345 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21346 CONFIG_SHELL=$SHELL
21347 export CONFIG_SHELL
21348 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21351 _ACEOF
21352 cat >>$CONFIG_STATUS <<\_ACEOF
21353 exec 5>>config.log
21355 echo
21356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21357 ## Running $as_me. ##
21358 _ASBOX
21359 echo "$ac_log"
21360 } >&5
21362 _ACEOF
21363 cat >>$CONFIG_STATUS <<_ACEOF
21364 _ACEOF
21366 cat >>$CONFIG_STATUS <<\_ACEOF
21368 # Handling of arguments.
21369 for ac_config_target in $ac_config_targets
21371 case $ac_config_target in
21372 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21373 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21374 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21375 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21376 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21377 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21378 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21379 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21380 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21381 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21382 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21383 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21384 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21385 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21386 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21387 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21388 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21389 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21390 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21391 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21392 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21393 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21394 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21395 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21396 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21397 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21398 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21399 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21400 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21401 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21402 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21403 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21404 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21405 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21406 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21407 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21408 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21409 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21410 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21411 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21412 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21413 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21414 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21415 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21416 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21417 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21418 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21419 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21420 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21421 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21422 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21423 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21424 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21425 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21426 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21427 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21428 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21429 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21430 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21431 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21432 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21433 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21434 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21435 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21436 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21437 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21438 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21439 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21440 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21441 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21442 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21443 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21444 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21445 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21446 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21447 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21448 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21449 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21450 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21451 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21452 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21453 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21454 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21455 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21456 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21457 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21458 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21459 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21460 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21461 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21462 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21463 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21464 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21465 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21466 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21467 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21468 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21469 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21470 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21471 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21472 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21473 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21474 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21475 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21476 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21477 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21478 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21479 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21480 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21481 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21482 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21483 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21484 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21485 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21486 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21487 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21488 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21489 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21490 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21491 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21492 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21493 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21494 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21495 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21496 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21497 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21498 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21499 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21500 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21501 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21502 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21503 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21504 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21505 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21506 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21507 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21508 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21509 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21510 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21511 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21512 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21513 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21514 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21515 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21516 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21517 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21518 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21519 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21520 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21521 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21522 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21523 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21524 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21525 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21526 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21527 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21528 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21529 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21530 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21531 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21532 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21533 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21534 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21535 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21536 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21537 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21538 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21539 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21540 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21541 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21542 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21543 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21544 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21545 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21546 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21547 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21548 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21549 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21550 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21551 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21552 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21553 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21554 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21555 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21556 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21557 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21558 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21559 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21560 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21561 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21562 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21563 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21564 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21565 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21566 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21567 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21568 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21569 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21570 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21571 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21572 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21573 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21574 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21575 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21576 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21577 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21578 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21579 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21580 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21581 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21582 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21583 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21584 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21585 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21586 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21587 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21588 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21589 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21590 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21591 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21592 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21593 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21594 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21595 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21596 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21597 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21598 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21599 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21600 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21601 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21602 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21603 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21604 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21605 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21606 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21607 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21608 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21609 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21610 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21611 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21612 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21613 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21614 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21615 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21616 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21617 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21618 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21619 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21620 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21621 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21622 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21623 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21624 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21625 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21626 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21627 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21628 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21629 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21630 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21631 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21632 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21633 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21634 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21635 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21636 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21637 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21638 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21639 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21640 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21641 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21642 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21643 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21644 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21645 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21646 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21647 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21648 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21649 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21650 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21651 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21652 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21653 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21654 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21655 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21656 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21657 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21658 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21659 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21660 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21661 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21662 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21663 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21664 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21665 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21666 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21667 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21668 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21669 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21670 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21671 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21672 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21673 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21674 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21675 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21676 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21677 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21678 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21679 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21680 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21681 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21682 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21683 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21684 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21685 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21686 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21687 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21688 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21689 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21690 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21691 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21692 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21693 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21694 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21695 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21696 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21697 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21698 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21699 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21700 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21701 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21702 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21703 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21704 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21705 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21706 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21707 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21708 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21709 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21710 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21711 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21712 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21713 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21714 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21715 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21716 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21717 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21718 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21719 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21720 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21721 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21722 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21723 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21724 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21725 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21726 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21727 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21729 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21730 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21731 { (exit 1); exit 1; }; };;
21732 esac
21733 done
21736 # If the user did not use the arguments to specify the items to instantiate,
21737 # then the envvar interface is used. Set only those that are not.
21738 # We use the long form for the default assignment because of an extremely
21739 # bizarre bug on SunOS 4.1.3.
21740 if $ac_need_defaults; then
21741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21746 # Have a temporary directory for convenience. Make it in the build tree
21747 # simply because there is no reason against having it here, and in addition,
21748 # creating and moving files from /tmp can sometimes cause problems.
21749 # Hook for its removal unless debugging.
21750 # Note that there is a small window in which the directory will not be cleaned:
21751 # after its creation but before its name has been assigned to `$tmp'.
21752 $debug ||
21754 tmp=
21755 trap 'exit_status=$?
21756 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21758 trap '{ (exit 1); exit 1; }' 1 2 13 15
21760 # Create a (secure) tmp directory for tmp files.
21763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21764 test -n "$tmp" && test -d "$tmp"
21765 } ||
21767 tmp=./conf$$-$RANDOM
21768 (umask 077 && mkdir "$tmp")
21769 } ||
21771 echo "$me: cannot create a temporary directory in ." >&2
21772 { (exit 1); exit 1; }
21776 # Set up the sed scripts for CONFIG_FILES section.
21779 # No need to generate the scripts if there are no CONFIG_FILES.
21780 # This happens for instance when ./config.status config.h
21781 if test -n "$CONFIG_FILES"; then
21783 _ACEOF
21785 # Create sed commands to just substitute file output variables.
21787 # Remaining file output variables are in a fragment that also has non-file
21788 # output varibles.
21792 ac_delim='%!_!# '
21793 for ac_last_try in false false false false false :; do
21794 cat >conf$$subs.sed <<_ACEOF
21795 SHELL!$SHELL$ac_delim
21796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21802 exec_prefix!$exec_prefix$ac_delim
21803 prefix!$prefix$ac_delim
21804 program_transform_name!$program_transform_name$ac_delim
21805 bindir!$bindir$ac_delim
21806 sbindir!$sbindir$ac_delim
21807 libexecdir!$libexecdir$ac_delim
21808 datarootdir!$datarootdir$ac_delim
21809 datadir!$datadir$ac_delim
21810 sysconfdir!$sysconfdir$ac_delim
21811 sharedstatedir!$sharedstatedir$ac_delim
21812 localstatedir!$localstatedir$ac_delim
21813 includedir!$includedir$ac_delim
21814 oldincludedir!$oldincludedir$ac_delim
21815 docdir!$docdir$ac_delim
21816 infodir!$infodir$ac_delim
21817 htmldir!$htmldir$ac_delim
21818 dvidir!$dvidir$ac_delim
21819 pdfdir!$pdfdir$ac_delim
21820 psdir!$psdir$ac_delim
21821 libdir!$libdir$ac_delim
21822 localedir!$localedir$ac_delim
21823 mandir!$mandir$ac_delim
21824 DEFS!$DEFS$ac_delim
21825 ECHO_C!$ECHO_C$ac_delim
21826 ECHO_N!$ECHO_N$ac_delim
21827 ECHO_T!$ECHO_T$ac_delim
21828 LIBS!$LIBS$ac_delim
21829 build_alias!$build_alias$ac_delim
21830 host_alias!$host_alias$ac_delim
21831 target_alias!$target_alias$ac_delim
21832 build!$build$ac_delim
21833 build_cpu!$build_cpu$ac_delim
21834 build_vendor!$build_vendor$ac_delim
21835 build_os!$build_os$ac_delim
21836 host!$host$ac_delim
21837 host_cpu!$host_cpu$ac_delim
21838 host_vendor!$host_vendor$ac_delim
21839 host_os!$host_os$ac_delim
21840 WIN16_FILES!$WIN16_FILES$ac_delim
21841 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21842 SET_MAKE!$SET_MAKE$ac_delim
21843 CC!$CC$ac_delim
21844 CFLAGS!$CFLAGS$ac_delim
21845 LDFLAGS!$LDFLAGS$ac_delim
21846 CPPFLAGS!$CPPFLAGS$ac_delim
21847 ac_ct_CC!$ac_ct_CC$ac_delim
21848 EXEEXT!$EXEEXT$ac_delim
21849 OBJEXT!$OBJEXT$ac_delim
21850 CXX!$CXX$ac_delim
21851 CXXFLAGS!$CXXFLAGS$ac_delim
21852 ac_ct_CXX!$ac_ct_CXX$ac_delim
21853 CPPBIN!$CPPBIN$ac_delim
21854 TOOLSDIR!$TOOLSDIR$ac_delim
21855 XMKMF!$XMKMF$ac_delim
21856 CPP!$CPP$ac_delim
21857 X_CFLAGS!$X_CFLAGS$ac_delim
21858 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21859 X_LIBS!$X_LIBS$ac_delim
21860 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21861 FLEX!$FLEX$ac_delim
21862 BISON!$BISON$ac_delim
21863 AS!$AS$ac_delim
21864 ac_ct_AS!$ac_ct_AS$ac_delim
21865 LD!$LD$ac_delim
21866 AR!$AR$ac_delim
21867 RANLIB!$RANLIB$ac_delim
21868 STRIP!$STRIP$ac_delim
21869 WINDRES!$WINDRES$ac_delim
21870 LN_S!$LN_S$ac_delim
21871 LN!$LN$ac_delim
21872 GREP!$GREP$ac_delim
21873 EGREP!$EGREP$ac_delim
21874 LDCONFIG!$LDCONFIG$ac_delim
21875 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21876 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21877 _ACEOF
21879 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21880 break
21881 elif $ac_last_try; then
21882 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21883 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21884 { (exit 1); exit 1; }; }
21885 else
21886 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21888 done
21890 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21891 if test -n "$ac_eof"; then
21892 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21893 ac_eof=`expr $ac_eof + 1`
21896 cat >>$CONFIG_STATUS <<_ACEOF
21897 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21899 /^[ ]*@MAKE_RULES@[ ]*$/{
21900 r $MAKE_RULES
21903 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21904 r $MAKE_DLL_RULES
21907 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21908 r $MAKE_IMPLIB_RULES
21911 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21912 r $MAKE_TEST_RULES
21915 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21916 r $MAKE_PROG_RULES
21919 _ACEOF
21920 sed '
21921 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21922 s/^/s,@/; s/!/@,|#_!!_#|/
21925 s/'"$ac_delim"'$/,g/; t
21926 s/$/\\/; p
21927 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21928 ' >>$CONFIG_STATUS <conf$$subs.sed
21929 rm -f conf$$subs.sed
21930 cat >>$CONFIG_STATUS <<_ACEOF
21931 CEOF$ac_eof
21932 _ACEOF
21935 ac_delim='%!_!# '
21936 for ac_last_try in false false false false false :; do
21937 cat >conf$$subs.sed <<_ACEOF
21938 INSTALL_DATA!$INSTALL_DATA$ac_delim
21939 LINT!$LINT$ac_delim
21940 LINTFLAGS!$LINTFLAGS$ac_delim
21941 FONTFORGE!$FONTFORGE$ac_delim
21942 PKG_CONFIG!$PKG_CONFIG$ac_delim
21943 PRELINK!$PRELINK$ac_delim
21944 LIBPTHREAD!$LIBPTHREAD$ac_delim
21945 XLIB!$XLIB$ac_delim
21946 XFILES!$XFILES$ac_delim
21947 OPENGLFILES!$OPENGLFILES$ac_delim
21948 GLU32FILES!$GLU32FILES$ac_delim
21949 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21950 QUARTZFILES!$QUARTZFILES$ac_delim
21951 DLLEXT!$DLLEXT$ac_delim
21952 DLLFLAGS!$DLLFLAGS$ac_delim
21953 LDSHARED!$LDSHARED$ac_delim
21954 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21955 LIBEXT!$LIBEXT$ac_delim
21956 IMPLIBEXT!$IMPLIBEXT$ac_delim
21957 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
21958 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
21959 LDD!$LDD$ac_delim
21960 DLLTOOL!$DLLTOOL$ac_delim
21961 DLLWRAP!$DLLWRAP$ac_delim
21962 MINGWAR!$MINGWAR$ac_delim
21963 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21964 IOKITLIB!$IOKITLIB$ac_delim
21965 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21966 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21967 COREAUDIO!$COREAUDIO$ac_delim
21968 CARBONLIB!$CARBONLIB$ac_delim
21969 CROSSTEST!$CROSSTEST$ac_delim
21970 CROSSCC!$CROSSCC$ac_delim
21971 CROSSWINDRES!$CROSSWINDRES$ac_delim
21972 NASLIBS!$NASLIBS$ac_delim
21973 XML2LIBS!$XML2LIBS$ac_delim
21974 XML2INCL!$XML2INCL$ac_delim
21975 XSLTLIBS!$XSLTLIBS$ac_delim
21976 XSLTINCL!$XSLTINCL$ac_delim
21977 HALINCL!$HALINCL$ac_delim
21978 sane_devel!$sane_devel$ac_delim
21979 SANEINCL!$SANEINCL$ac_delim
21980 gphoto2_devel!$gphoto2_devel$ac_delim
21981 gphoto2port_devel!$gphoto2port_devel$ac_delim
21982 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21983 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21984 ICULIBS!$ICULIBS$ac_delim
21985 RESOLVLIBS!$RESOLVLIBS$ac_delim
21986 LCMSLIBS!$LCMSLIBS$ac_delim
21987 LDAPLIBS!$LDAPLIBS$ac_delim
21988 FREETYPELIBS!$FREETYPELIBS$ac_delim
21989 FREETYPEINCL!$FREETYPEINCL$ac_delim
21990 ft_devel!$ft_devel$ac_delim
21991 ft_devel2!$ft_devel2$ac_delim
21992 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21993 ESDCONFIG!$ESDCONFIG$ac_delim
21994 ESDLIBS!$ESDLIBS$ac_delim
21995 ESDINCL!$ESDINCL$ac_delim
21996 ALSALIBS!$ALSALIBS$ac_delim
21997 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21998 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21999 BUILTINFLAG!$BUILTINFLAG$ac_delim
22000 LDPATH!$LDPATH$ac_delim
22001 CRTLIBS!$CRTLIBS$ac_delim
22002 SOCKETLIBS!$SOCKETLIBS$ac_delim
22003 MAIN_BINARY!$MAIN_BINARY$ac_delim
22004 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22005 LIBDL!$LIBDL$ac_delim
22006 LIBPOLL!$LIBPOLL$ac_delim
22007 DEPENDENCIES!$DEPENDENCIES$ac_delim
22008 LIBOBJS!$LIBOBJS$ac_delim
22009 LTLIBOBJS!$LTLIBOBJS$ac_delim
22010 _ACEOF
22012 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22013 break
22014 elif $ac_last_try; then
22015 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22016 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22017 { (exit 1); exit 1; }; }
22018 else
22019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22021 done
22023 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22024 if test -n "$ac_eof"; then
22025 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22026 ac_eof=`expr $ac_eof + 1`
22029 cat >>$CONFIG_STATUS <<_ACEOF
22030 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22032 _ACEOF
22033 sed '
22034 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22035 s/^/s,@/; s/!/@,|#_!!_#|/
22038 s/'"$ac_delim"'$/,g/; t
22039 s/$/\\/; p
22040 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22041 ' >>$CONFIG_STATUS <conf$$subs.sed
22042 rm -f conf$$subs.sed
22043 cat >>$CONFIG_STATUS <<_ACEOF
22044 :end
22045 s/|#_!!_#|//g
22046 CEOF$ac_eof
22047 _ACEOF
22050 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22051 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22052 # trailing colons and then remove the whole line if VPATH becomes empty
22053 # (actually we leave an empty line to preserve line numbers).
22054 if test "x$srcdir" = x.; then
22055 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22056 s/:*\$(srcdir):*/:/
22057 s/:*\${srcdir}:*/:/
22058 s/:*@srcdir@:*/:/
22059 s/^\([^=]*=[ ]*\):*/\1/
22060 s/:*$//
22061 s/^[^=]*=[ ]*$//
22065 cat >>$CONFIG_STATUS <<\_ACEOF
22066 fi # test -n "$CONFIG_FILES"
22069 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22071 case $ac_tag in
22072 :[FHLC]) ac_mode=$ac_tag; continue;;
22073 esac
22074 case $ac_mode$ac_tag in
22075 :[FHL]*:*);;
22076 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22077 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22078 { (exit 1); exit 1; }; };;
22079 :[FH]-) ac_tag=-:-;;
22080 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22081 esac
22082 ac_save_IFS=$IFS
22083 IFS=:
22084 set x $ac_tag
22085 IFS=$ac_save_IFS
22086 shift
22087 ac_file=$1
22088 shift
22090 case $ac_mode in
22091 :L) ac_source=$1;;
22092 :[FH])
22093 ac_file_inputs=
22094 for ac_f
22096 case $ac_f in
22097 -) ac_f="$tmp/stdin";;
22098 *) # Look for the file first in the build tree, then in the source tree
22099 # (if the path is not absolute). The absolute path cannot be DOS-style,
22100 # because $ac_f cannot contain `:'.
22101 test -f "$ac_f" ||
22102 case $ac_f in
22103 [\\/$]*) false;;
22104 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22105 esac ||
22106 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22107 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22108 { (exit 1); exit 1; }; };;
22109 esac
22110 ac_file_inputs="$ac_file_inputs $ac_f"
22111 done
22113 # Let's still pretend it is `configure' which instantiates (i.e., don't
22114 # use $as_me), people would be surprised to read:
22115 # /* config.h. Generated by config.status. */
22116 configure_input="Generated from "`IFS=:
22117 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22118 if test x"$ac_file" != x-; then
22119 configure_input="$ac_file. $configure_input"
22120 { echo "$as_me:$LINENO: creating $ac_file" >&5
22121 echo "$as_me: creating $ac_file" >&6;}
22124 case $ac_tag in
22125 *:-:* | *:-) cat >"$tmp/stdin";;
22126 esac
22128 esac
22130 ac_dir=`$as_dirname -- "$ac_file" ||
22131 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22132 X"$ac_file" : 'X\(//\)[^/]' \| \
22133 X"$ac_file" : 'X\(//\)$' \| \
22134 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22135 echo X"$ac_file" |
22136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22137 s//\1/
22140 /^X\(\/\/\)[^/].*/{
22141 s//\1/
22144 /^X\(\/\/\)$/{
22145 s//\1/
22148 /^X\(\/\).*/{
22149 s//\1/
22152 s/.*/./; q'`
22153 { as_dir="$ac_dir"
22154 case $as_dir in #(
22155 -*) as_dir=./$as_dir;;
22156 esac
22157 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22158 as_dirs=
22159 while :; do
22160 case $as_dir in #(
22161 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22162 *) as_qdir=$as_dir;;
22163 esac
22164 as_dirs="'$as_qdir' $as_dirs"
22165 as_dir=`$as_dirname -- "$as_dir" ||
22166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22167 X"$as_dir" : 'X\(//\)[^/]' \| \
22168 X"$as_dir" : 'X\(//\)$' \| \
22169 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22170 echo X"$as_dir" |
22171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22172 s//\1/
22175 /^X\(\/\/\)[^/].*/{
22176 s//\1/
22179 /^X\(\/\/\)$/{
22180 s//\1/
22183 /^X\(\/\).*/{
22184 s//\1/
22187 s/.*/./; q'`
22188 test -d "$as_dir" && break
22189 done
22190 test -z "$as_dirs" || eval "mkdir $as_dirs"
22191 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22192 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22193 { (exit 1); exit 1; }; }; }
22194 ac_builddir=.
22196 case "$ac_dir" in
22197 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22199 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22200 # A ".." for each directory in $ac_dir_suffix.
22201 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22202 case $ac_top_builddir_sub in
22203 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22204 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22205 esac ;;
22206 esac
22207 ac_abs_top_builddir=$ac_pwd
22208 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22209 # for backward compatibility:
22210 ac_top_builddir=$ac_top_build_prefix
22212 case $srcdir in
22213 .) # We are building in place.
22214 ac_srcdir=.
22215 ac_top_srcdir=$ac_top_builddir_sub
22216 ac_abs_top_srcdir=$ac_pwd ;;
22217 [\\/]* | ?:[\\/]* ) # Absolute name.
22218 ac_srcdir=$srcdir$ac_dir_suffix;
22219 ac_top_srcdir=$srcdir
22220 ac_abs_top_srcdir=$srcdir ;;
22221 *) # Relative name.
22222 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22223 ac_top_srcdir=$ac_top_build_prefix$srcdir
22224 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22225 esac
22226 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22229 case $ac_mode in
22232 # CONFIG_FILE
22235 case $INSTALL in
22236 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22237 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22238 esac
22239 _ACEOF
22241 cat >>$CONFIG_STATUS <<\_ACEOF
22242 # If the template does not know about datarootdir, expand it.
22243 # FIXME: This hack should be removed a few years after 2.60.
22244 ac_datarootdir_hack=; ac_datarootdir_seen=
22246 case `sed -n '/datarootdir/ {
22250 /@datadir@/p
22251 /@docdir@/p
22252 /@infodir@/p
22253 /@localedir@/p
22254 /@mandir@/p
22255 ' $ac_file_inputs` in
22256 *datarootdir*) ac_datarootdir_seen=yes;;
22257 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22258 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22259 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22260 _ACEOF
22261 cat >>$CONFIG_STATUS <<_ACEOF
22262 ac_datarootdir_hack='
22263 s&@datadir@&$datadir&g
22264 s&@docdir@&$docdir&g
22265 s&@infodir@&$infodir&g
22266 s&@localedir@&$localedir&g
22267 s&@mandir@&$mandir&g
22268 s&\\\${datarootdir}&$datarootdir&g' ;;
22269 esac
22270 _ACEOF
22272 # Neutralize VPATH when `$srcdir' = `.'.
22273 # Shell code in configure.ac might set extrasub.
22274 # FIXME: do we really want to maintain this feature?
22275 cat >>$CONFIG_STATUS <<_ACEOF
22276 sed "$ac_vpsub
22277 $extrasub
22278 _ACEOF
22279 cat >>$CONFIG_STATUS <<\_ACEOF
22281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22282 s&@configure_input@&$configure_input&;t t
22283 s&@top_builddir@&$ac_top_builddir_sub&;t t
22284 s&@srcdir@&$ac_srcdir&;t t
22285 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22286 s&@top_srcdir@&$ac_top_srcdir&;t t
22287 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22288 s&@builddir@&$ac_builddir&;t t
22289 s&@abs_builddir@&$ac_abs_builddir&;t t
22290 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22291 s&@INSTALL@&$ac_INSTALL&;t t
22292 $ac_datarootdir_hack
22293 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22296 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22297 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22298 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22299 which seems to be undefined. Please make sure it is defined." >&5
22300 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22301 which seems to be undefined. Please make sure it is defined." >&2;}
22303 rm -f "$tmp/stdin"
22304 case $ac_file in
22305 -) cat "$tmp/out"; rm -f "$tmp/out";;
22306 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22307 esac
22311 # CONFIG_HEADER
22313 _ACEOF
22315 # Transform confdefs.h into a sed script `conftest.defines', that
22316 # substitutes the proper values into config.h.in to produce config.h.
22317 rm -f conftest.defines conftest.tail
22318 # First, append a space to every undef/define line, to ease matching.
22319 echo 's/$/ /' >conftest.defines
22320 # Then, protect against being on the right side of a sed subst, or in
22321 # an unquoted here document, in config.status. If some macros were
22322 # called several times there might be several #defines for the same
22323 # symbol, which is useless. But do not sort them, since the last
22324 # AC_DEFINE must be honored.
22325 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22326 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22327 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22328 # PARAMS is the parameter list in the macro definition--in most cases, it's
22329 # just an empty string.
22330 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22331 ac_dB='\\)[ (].*,\\1define\\2'
22332 ac_dC=' '
22333 ac_dD=' ,'
22335 uniq confdefs.h |
22336 sed -n '
22337 t rset
22338 :rset
22339 s/^[ ]*#[ ]*define[ ][ ]*//
22340 t ok
22343 s/[\\&,]/\\&/g
22344 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22345 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22346 ' >>conftest.defines
22348 # Remove the space that was appended to ease matching.
22349 # Then replace #undef with comments. This is necessary, for
22350 # example, in the case of _POSIX_SOURCE, which is predefined and required
22351 # on some systems where configure will not decide to define it.
22352 # (The regexp can be short, since the line contains either #define or #undef.)
22353 echo 's/ $//
22354 s,^[ #]*u.*,/* & */,' >>conftest.defines
22356 # Break up conftest.defines:
22357 ac_max_sed_lines=50
22359 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22360 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22361 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22362 # et cetera.
22363 ac_in='$ac_file_inputs'
22364 ac_out='"$tmp/out1"'
22365 ac_nxt='"$tmp/out2"'
22367 while :
22369 # Write a here document:
22370 cat >>$CONFIG_STATUS <<_ACEOF
22371 # First, check the format of the line:
22372 cat >"\$tmp/defines.sed" <<\\CEOF
22373 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22374 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22376 :def
22377 _ACEOF
22378 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22379 echo 'CEOF
22380 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22381 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22382 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22383 grep . conftest.tail >/dev/null || break
22384 rm -f conftest.defines
22385 mv conftest.tail conftest.defines
22386 done
22387 rm -f conftest.defines conftest.tail
22389 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22390 cat >>$CONFIG_STATUS <<\_ACEOF
22391 if test x"$ac_file" != x-; then
22392 echo "/* $configure_input */" >"$tmp/config.h"
22393 cat "$ac_result" >>"$tmp/config.h"
22394 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22395 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22396 echo "$as_me: $ac_file is unchanged" >&6;}
22397 else
22398 rm -f $ac_file
22399 mv "$tmp/config.h" $ac_file
22401 else
22402 echo "/* $configure_input */"
22403 cat "$ac_result"
22405 rm -f "$tmp/out12"
22408 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22409 echo "$as_me: executing $ac_file commands" >&6;}
22411 esac
22414 case $ac_file$ac_mode in
22415 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22416 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22417 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22418 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22419 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22420 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22421 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22422 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22423 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22424 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22425 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22426 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22427 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22429 esac
22430 done # for ac_tag
22433 { (exit 0); exit 0; }
22434 _ACEOF
22435 chmod +x $CONFIG_STATUS
22436 ac_clean_files=$ac_clean_files_save
22439 # configure is writing to config.log, and then calls config.status.
22440 # config.status does its own redirection, appending to config.log.
22441 # Unfortunately, on DOS this fails, as config.log is still kept open
22442 # by configure, so config.status won't be able to write to it; its
22443 # output is simply discarded. So we exec the FD to /dev/null,
22444 # effectively closing config.log, so it can be properly (re)opened and
22445 # appended to by config.status. When coming back to configure, we
22446 # need to make the FD available again.
22447 if test "$no_create" != yes; then
22448 ac_cs_success=:
22449 ac_config_status_args=
22450 test "$silent" = yes &&
22451 ac_config_status_args="$ac_config_status_args --quiet"
22452 exec 5>/dev/null
22453 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22454 exec 5>>config.log
22455 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22456 # would make configure fail if this is the last instruction.
22457 $ac_cs_success || { (exit 1); exit 1; }
22462 if test "$no_create" = "yes"
22463 then
22464 exit 0
22467 if test "$verbose" = "yes"
22468 then
22469 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22470 then
22471 echo >&2
22472 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22473 echo "$as_me: libcapi20 development files not found." >&6;}
22474 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22475 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22478 if test "$ac_cv_header_cups_cups_h" != "yes"
22479 then
22480 echo >&2
22481 { echo "$as_me:$LINENO: libcups development files not found." >&5
22482 echo "$as_me: libcups development files not found." >&6;}
22483 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22484 echo "$as_me: Wine will be built without CUPS support." >&6;}
22488 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22489 then
22490 echo >&2
22491 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22492 echo "$as_me: libgphoto2 development files not found." >&6;}
22493 if test "$ac_cv_header_sane_sane_h" = "yes"
22494 then
22495 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22496 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22497 else
22498 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22499 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22503 if test "$ac_cv_header_hal_libhal_h" != "yes"
22504 then
22505 echo >&2
22506 { echo "$as_me:$LINENO: libhal development files not found." >&5
22507 echo "$as_me: libhal development files not found." >&6;}
22508 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22509 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22512 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22513 then
22514 echo >&2
22515 { echo "$as_me:$LINENO: libicu development files not found." >&5
22516 echo "$as_me: libicu development files not found." >&6;}
22517 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22518 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22521 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22522 then
22523 echo >&2
22524 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22525 echo "$as_me: liblcms development files not found." >&6;}
22526 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22527 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22530 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22531 then
22532 echo >&2
22533 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22534 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22535 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22536 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22539 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22540 then
22541 echo >&2
22542 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22543 echo "$as_me: lib(n)curses development files not found." >&6;}
22544 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22545 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22548 if test "$ac_cv_header_sane_sane_h" != "yes"
22549 then
22550 echo >&2
22551 { echo "$as_me:$LINENO: libsane development files not found." >&5
22552 echo "$as_me: libsane development files not found." >&6;}
22553 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22554 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22557 if test "$have_x" = "yes"
22558 then
22559 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22560 then
22561 echo >&2
22562 { echo "$as_me:$LINENO: libxext development files not found." >&5
22563 echo "$as_me: libxext development files not found." >&6;}
22564 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22565 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22568 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22569 then
22570 echo >&2
22571 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22572 echo "$as_me: libXrandr development files not found." >&6;}
22573 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22574 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22577 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22578 then
22579 echo >&2
22580 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22581 echo "$as_me: libXrender development files not found." >&6;}
22582 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22583 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22586 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22587 then
22588 echo >&2
22589 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22590 echo "$as_me: libXxf86vm development files not found." >&6;}
22591 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22592 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22596 if test "$ac_cv_header_libxml_parser_h" != "yes"
22597 then
22598 echo >&2
22599 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22600 echo "$as_me: libxml2 development files not found." >&6;}
22601 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22602 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22605 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22606 then
22607 echo >&2
22608 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22609 echo "$as_me: libxslt development files not found." >&6;}
22610 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22611 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22616 if test "$have_x" = "no"
22617 then
22618 echo >&2
22619 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22620 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22621 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22622 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22623 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22624 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22625 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22626 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22629 if test -z "$OPENGLFILES"
22630 then
22631 echo >&2
22632 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22633 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22634 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22635 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22636 if test "$wine_cv_opengl_headers_found" = "no"
22637 then
22638 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22639 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22641 if test "$wine_cv_opengl_header_version_OK" = "no"
22642 then
22643 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22644 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22645 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22646 then
22647 if test -f /usr/X11R6/lib/libGL.a
22648 then
22649 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22650 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22651 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22653 else
22654 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22655 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22660 if test "$wine_cv_msg_freetype" = "yes"
22661 then
22662 echo >&2
22663 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22664 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22665 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22666 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22667 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22668 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22669 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22670 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22673 if test -z "$FONTSSUBDIRS"
22674 then
22675 echo >&2
22676 if test "$FONTFORGE" = "false"
22677 then
22678 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22679 echo "$as_me: WARNING: FontForge is missing." >&2;}
22680 else
22681 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22682 echo "$as_me: WARNING: FreeType is missing." >&2;}
22684 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22685 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22688 if test -z "$ALSALIBS" -a \
22689 -z "$AUDIOIOLIBS" -a \
22690 -z "$NASLIBS" -a \
22691 -z "$ESD_LIBS" -a \
22692 -z "$ac_cv_lib_soname_jack" -a \
22693 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22694 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22695 "$ac_cv_header_soundcard_h" != "yes"
22696 then
22697 echo >&2
22698 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22699 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22700 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22701 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22702 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22703 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22706 echo
22707 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22708 echo